You are not logged in.

#1 2005-10-17 08:37:30

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 247

[SOLVED] mount /dev/cdrom locks up Asus Pundit

I just bought a new computer with SATA disk seen as hdc and DVD burner seen as hda.

I installed Arch 0.7 from base cd. The system boots ok. Root partition is hdc1. cd/dvd entry in fstab:

/dev/cdrom     /mnt/cd     iso9660     ro,user,noauto,unhide   0 0

I try to mount cd with

mount /mnt/cd

the light on the dvd drive turns on, I hear the sound of cd spinning, no output messages, and then the system hangs. I have to press the reset button to reboot.

I upgraded to latest kernel and udev, still can't mount cds. Tried also udf as fs type in /ets/fstab, no good either.

Any suggestions / solutions appreciated...

Offline

#2 2005-10-17 15:05:44

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

Does

mount /dev/hda /mnt/cd

work?


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2005-10-17 19:31:09

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 247

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

I tried also

mount /dev/hda /mnt/cd

as you suggested, but it doesn't work either.

I didn't say before, but /dev/cdrom, /dev/cdrw, /dev/dvd and /dev/dvdrw are all symlinks to /dev/hda

Therefore, mounting /dev/cdrom or /dev/hda is same thing.

Thanks for suggestion anyway. Any other tips? I'm lost here. It works when I boot Arch install cd, then I can mount any cd, so I think hardware is fine.

Offline

#4 2005-10-17 19:33:53

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

/dev/hdc               /mnt/dvd  udf       ro,user,noauto,unhide   0      0

maybe ?

Depends on what you are trying to mount  roll


Mr Green

Offline

#5 2005-10-18 19:25:16

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 247

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

mount: /dev/hdc already mounted or /mnt/dvd busy

hdc is SATA disk and hdc1 is already mounted as root partition. CD/DVD drive is hda. I don't think the problem is in /etc/fstab, because disk is mounted ok, and the cd/dvd drive is found when I try to mount it (it starts spinning and the LED goes on). I don't know where to look for solution. dmesg also doesn't show anything weird.

Offline

#6 2005-10-18 20:22:35

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

It's sdc, not hdc - SATA drives are given SCSI names. Annoying, I know..

(The system locking up is weird though. Are you able to stop whatever's going on, or is a hard reboot required? A hard crash is a bloody serious matter.)

Offline

#7 2005-10-18 21:07:12

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

Check the symlinks on /mnt/cd - I cannot recall exactly, but I'm not sure if the udev rules for creating the symlinks recognized SATA CD drives... they probably do, but might as well check for broken symlinks.... also, check the permissions - is the user in the 'optical' group?

Offline

#8 2005-10-18 21:26:49

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 247

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

@Gullible Jones:
It is hdc, not sdc. My SATA hard disk is hdc, really. The computer is Asus Pundit-R, it has only one IDE channel, so hdc and hdd could not be normal IDE anyway. I guess that is why SATA is hdc. The only sd* nodes are created when I plug in my USB camera, and those are sda and sda1

And yes, it's a hard crash, I can only press the reset button to reboot.

@phrakture:
only hard disk is SATA. DVD drive is normal IDE (/dev/hda). Symlinks are ok, they all point to /dev/hda.
It crashes also when I mount as root, so it is not a permission issue.

Offline

#9 2005-10-26 06:42:51

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 247

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

I did it! I compiled the kernel with some different options and it worked! Before I submit a bug report: which option is most likely the one that needed to be changed? There are 10 of them and I wouldn't like to test each (it takes really long to compile).

output of diff -u

--- /var/abs/kernels/kernel26/config    2005-10-25 17:02:45.000000000 +0200
+++ /var/abs/local/kernel26/config    2005-10-25 20:45:17.000000000 +0200
@@ -775,8 +775,8 @@
 CONFIG_BLK_DEV_IDECD=y
 CONFIG_BLK_DEV_IDETAPE=m
 CONFIG_BLK_DEV_IDEFLOPPY=m
-CONFIG_BLK_DEV_IDESCSI=m
-# CONFIG_IDE_TASK_IOCTL is not set
+# CONFIG_BLK_DEV_IDESCSI is not set
+CONFIG_IDE_TASK_IOCTL=y
 
 #
 # IDE chipset support/bugfixes
@@ -784,16 +784,16 @@
 CONFIG_IDE_GENERIC=y
 CONFIG_BLK_DEV_CMD640=y
 CONFIG_BLK_DEV_CMD640_ENHANCED=y
-# CONFIG_BLK_DEV_IDEPNP is not set
+CONFIG_BLK_DEV_IDEPNP=y
 CONFIG_BLK_DEV_IDEPCI=y
 CONFIG_IDEPCI_SHARE_IRQ=y
 # CONFIG_BLK_DEV_OFFBOARD is not set
 CONFIG_BLK_DEV_GENERIC=y
-# CONFIG_BLK_DEV_OPTI621 is not set
+CONFIG_BLK_DEV_OPTI621=y
 CONFIG_BLK_DEV_RZ1000=y
 CONFIG_BLK_DEV_IDEDMA_PCI=y
 # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
-CONFIG_IDEDMA_PCI_AUTO=y
+# CONFIG_IDEDMA_PCI_AUTO is not set
 # CONFIG_IDEDMA_ONLYDISK is not set
 CONFIG_BLK_DEV_AEC62XX=y
 CONFIG_BLK_DEV_ALI15X3=y
@@ -803,7 +803,7 @@
 CONFIG_BLK_DEV_CMD64X=y
 CONFIG_BLK_DEV_TRIFLEX=y
 CONFIG_BLK_DEV_CY82C693=y
-# CONFIG_BLK_DEV_CS5520 is not set
+CONFIG_BLK_DEV_CS5520=y
 CONFIG_BLK_DEV_CS5530=y
 CONFIG_BLK_DEV_HPT34X=y
 # CONFIG_HPT34X_AUTODMA is not set
@@ -813,7 +813,7 @@
 # CONFIG_BLK_DEV_IT821X is not set
 CONFIG_BLK_DEV_NS87415=y
 CONFIG_BLK_DEV_PDC202XX_OLD=y
-CONFIG_PDC202XX_BURST=y
+# CONFIG_PDC202XX_BURST is not set
 CONFIG_BLK_DEV_PDC202XX_NEW=y
 CONFIG_PDC202XX_FORCE=y
 CONFIG_BLK_DEV_SVWKS=y
@@ -825,8 +825,8 @@
 # CONFIG_IDE_ARM is not set
 # CONFIG_IDE_CHIPSETS is not set
 CONFIG_BLK_DEV_IDEDMA=y
-# CONFIG_IDEDMA_IVB is not set
-CONFIG_IDEDMA_AUTO=y
+CONFIG_IDEDMA_IVB=y
+# CONFIG_IDEDMA_AUTO is not set
 # CONFIG_BLK_DEV_HD is not set
 
 #
@@ -841,7 +841,7 @@
 CONFIG_BLK_DEV_SD=y
 CONFIG_CHR_DEV_ST=m
 CONFIG_CHR_DEV_OSST=m
-CONFIG_BLK_DEV_SR=m
+CONFIG_BLK_DEV_SR=y
 CONFIG_BLK_DEV_SR_VENDOR=y
 CONFIG_CHR_DEV_SG=m
 # CONFIG_CHR_DEV_SCH is not set

Offline

#10 2005-10-31 13:21:28

mico
Member
From: Slovenia
Registered: 2004-02-08
Posts: 247

Re: [SOLVED] mount /dev/cdrom locks up Asus Pundit

Well, it is NOT kernel's fault after all. I found the solution on a gentoo page. The cause is faulty IDE or some other hardware on all Asus Pundit-R boards. A work-around:
dvd drive: set jumper to slave mode
motherboard: plug the IDE cable to the other (blue) connector, not the white one.

Funny that I've already tried both those things before, just not both at once roll

It took me quite some effort to solve this one, so I changed the original title so it would be easily found if someone else needs this.

Offline

Board footer

Powered by FluxBB