FS#11652 - DVDs can't be mounted with IDE drives and HOOK pata
Attached to Project:
Arch Linux
Opened by Heiko Baums (cyberpatrol) - Friday, 03 October 2008, 21:48 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 01 March 2009, 22:07 GMT
Opened by Heiko Baums (cyberpatrol) - Friday, 03 October 2008, 21:48 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 01 March 2009, 22:07 GMT
|
Details
Description:
DVDs in IDE drives can't be mounted with HOOK pata. I'm not using and I won't use hal and dbus for automounting. With HOOK ide and on any other distributions particularly Gentoo, where I don't have pata compiled into my kernel in favour of ide, I don't have any problems with mounting the same DVDs and the same IDE drives. With HOOK pata the device /dev/dvd0 is linked to /dev/sr0 and the device /dev/dvd1 is linked to /dev/sr1. With HOOK ide the device /dev/dvd0 is linked to /dev/hdc and the device /dev/dvd1 is linked to /dev/hdd. These are the lines in my /etc/fstab: /dev/dvd0 /mnt/dvd auto ro,users,noauto 0 0 /dev/dvd1 /mnt/dvdrw auto ro,users,noauto 0 0 These are the outputs of various mount attempts: # mount /mnt/dvd mount: you must specify the filesystem type # dmesg | tail Buffer I/O error on device sr0, logical block 0 Buffer I/O error on device sr0, logical block 1 Buffer I/O error on device sr0, logical block 2 Buffer I/O error on device sr0, logical block 3 Buffer I/O error on device sr0, logical block 4 Buffer I/O error on device sr0, logical block 5 Buffer I/O error on device sr0, logical block 6 Buffer I/O error on device sr0, logical block 7 Buffer I/O error on device sr0, logical block 8 Buffer I/O error on device sr0, logical block 9 # mount -t udf /dev/sr0 /mnt/dvd mount: block device /dev/sr0 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so # dmesg | tail sr 1:0:0:0: [sr0] Sense Key : 0x4 [current] sr 1:0:0:0: [sr0] ASC=0x8 ASCQ=0x3 end_request: I/O error, dev sr0, sector 128 udf: Block 32 of volume descriptor sequence is corrupted or we could not read it. sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08 sr 1:0:0:0: [sr0] Sense Key : 0x4 [current] sr 1:0:0:0: [sr0] ASC=0x8 ASCQ=0x3 end_request: I/O error, dev sr0, sector 192 udf: Block 48 of volume descriptor sequence is corrupted or we could not read it. UDF-fs: No partition found (1) # mount -t iso9660 /dev/sr0 /mnt/dvd mount: block device /dev/sr0 is write-protected, mounting read-only mount: /dev/sr0: can't read superblock # dmesg | tail end_request: I/O error, dev sr0, sector 192 udf: Block 48 of volume descriptor sequence is corrupted or we could not read it. UDF-fs: No partition found (1) ISO 9660 Extensions: Microsoft Joliet Level 3 sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08 sr 1:0:0:0: [sr0] Sense Key : 0x4 [current] sr 1:0:0:0: [sr0] ASC=0x8 ASCQ=0x3 end_request: I/O error, dev sr0, sector 4012 ISOFS: unable to read i-node block isofs_fill_super: get root inode failed Additional info: * package version(s) kernel26 2.6.26.5-1 |
This task depends upon
- bad DVD disk
- bad DVD reader
- bad cable
- bad IDE controler
- bad driver
I suspect it's the last one. What drivers get loaded for your IDE controler?
I of course know, that Audio CDs can't be mounted, but I've written about mounting DVDs. ;-)
But I guess, that (Data) CDs can't be mounted, too, with the pata HOOK.
So I think the bad driver could probably be the problem. The problem can also be somewhere in the initcpio pata HOOK, in the kernel configuration or in the udev rules.
This is the related part of the lsmod output for pata:
sr_mod 16836 0
cdrom 36128 1 sr_mod
shpchp 31512 0
pci_hotplug 27812 1 shpchp
sg 28596 0
rtc_cmos 11424 0
rtc_core 17436 1 rtc_cmos
rtc_lib 4480 1 rtc_core
ext3 125704 2
jbd 45716 1 ext3
mbcache 8708 1 ext3
sd_mod 25240 4
pata_sis 12036 4
pata_acpi 6016 0
libata 150048 2 pata_sis,pata_acpi
scsi_mod 95692 5 usb_storage,sr_mod,sg,sd_mod,libata
dock 9488 1 libata
This is the related part of the lsmod output for ide:
sg 28596 0
sd_mod 25240 1
scsi_mod 95692 3 sg,sd_mod,usb_storage
ide_cd_mod 33668 0
cdrom 36128 1 ide_cd_mod
shpchp 31512 0
pci_hotplug 27812 1 shpchp
rtc_cmos 11424 0
rtc_core 17436 1 rtc_cmos
rtc_lib 4480 1 rtc_core
ext3 125704 2
jbd 45716 1 ext3
mbcache 8708 1 ext3
ide_disk 14208 4
sis5513 8964 0 [permanent]
ide_pci_generic 5892 0 [permanent]
ide_core 104456 4 ide_cd_mod,ide_disk,sis5513,ide_pci_generic
http://bugzilla.kernel.org/show_bug.cgi?id=11630
Since I've already switched to IDE I wouldn't have a problem, if this bug is being closed. I'm not sure, if you shouldn't wait until the upstream bug is closed. On the other hand this is a pretty old mainboard (more than 5 years).