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
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...
mount /dev/hda /mnt/cd
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
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.
/dev/hdc /mnt/dvd udf ro,user,noauto,unhide 0 0
Depends on what you are trying to mount
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.
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.)
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?
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.
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.
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
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
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.