IDE CDROM locks the system hard on media error
Quoted 13 lines
I am catalogizing my set of CDs and so I have tortured my CD drive with a bunch of less-than-optimal CDs. I had two hard lockups most probably connected to problematic media.
The last message in log is
kernel: scsi0: ERROR on channel 0, id 0, lun 0,
CDB: Request Sense 00 00 00 40 00
kernel: Current sd0b:00: sense key Medium Error
kernel: Additional sense indicates No seek complete
kernel: I/O error: dev 0b:00, sector 504
kernel: ISOFS: unable to read i-node block
Quoted 6 lines
Shortly (but not immediately, the kernel tried a bit more to get some data from the drive) after that the system froze - not even SysRq worked.
I am using vanilla 2.4.17, hdc=ide-scsi, my drive is Mitsumi CR-4804TE, motherboard is Abit BP6 SMP, Intel PIIX4 IDE controller.
Does turning off or restricting the DMA mode using either one of these help?
hdparm -d0 -c1 /dev/hdc
hdparm -d 1 -X 34 /dev/hdcDoug Gilbert
Hello,
Quoted 6 lines
Quoted 2 lines
I am using vanilla 2.4.17, hdc=ide-scsi, my drive is Mitsumi CR-4804TE, motherboard is Abit BP6 SMP, Intel PIIX4 IDE controller.
Does turning off or restricting the DMA mode using either one of these help?
hdparm -d0 -c1 /dev/hdc
This seems to help - I tried the most problematic CD several times, got the error messages, but it did not froze.
Thanks - I didn't even know that it defaults to DMA on CD-ROMs...
Quoted 1 line
hdparm -d 1 -X 34 /dev/hdc
This drive cannot do more than mdma1 (at least according to hdparm -i).
Regards
Signature · 1 line
Stano
Do you have multiple CD/DVD-R/ROM/R's? This happened today to me when I was installing Myth II and Quake III at the same time.
First CDROM according to "cat /proc/ide/hdc/model" is pretty generic:
ATAPI 48X CDROM
Second CD-RW according to "cat /proc/ide/hdd/model" is a: LITE-ON LTR-16102B
Some stuff ala syslog:
Dec 24 13:26:33 fux0r kernel: cdrom: open failed.
Dec 24 13:26:45 fux0r kernel: cdrom: open failed.
Dec 24 13:29:22 fux0r su(pam_unix)[27872]: session closed for user root
Dec 24 13:31:25 fux0r kernel: scsi : aborting command due to timeout :
pid 34319, scsi1, channel 0, id 0, lun 0 Read (10) 00 00 00 00 42 00 00
01 00
Dec 24 13:31:25 fux0r kernel: hdc: timeout waiting for DMA
Dec 24 13:31:25 fux0r kernel: ide_dmaproc: chipset supported
ide_dma_timeout func only: 14
Dec 24 13:31:25 fux0r kernel: scsi : aborting command due to timeout :
pid 34321, scsi1, channel 0, id 1, lun 0 Read (10) 00 00 00 c2 e7 00 00
01 00
Dec 24 13:31:26 fux0r kernel: hdc: status timeout: status=0xd0 { Busy }
Dec 24 13:31:26 fux0r kernel: hdc: drive not ready for command
Dec 24 13:31:30 fux0r kernel: hdc: ATAPI reset complete
Dec 24 13:31:31 fux0r kernel: hdc: irq timeout: status=0xc0 { Busy }
Dec 24 13:31:31 fux0r kernel: hdc: ATAPI reset completethe next thing we see is syslogd restarting (after rebooting)
Thanks,
Brian
Quoted 27 lines · Stanislav Meduna
Hello,
Quoted 6 lines
Quoted 2 lines
I am using vanilla 2.4.17, hdc=ide-scsi, my drive is Mitsumi CR-4804TE, motherboard is Abit BP6 SMP, Intel PIIX4 IDE controller.
Does turning off or restricting the DMA mode using either one of these help?
hdparm -d0 -c1 /dev/hdcThis seems to help - I tried the most problematic CD several times, got the error messages, but it did not froze.
Thanks - I didn't even know that it defaults to DMA on CD-ROMs...
Quoted 1 line
hdparm -d 1 -X 34 /dev/hdcThis drive cannot do more than mdma1 (at least according to hdparm -i).
Regards
Signature · 7 lines
Stano - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line
Do you have multiple CD/DVD-R/ROM/R's?
No. I have two disks on primary IDE and one CD-R that is alone on the secondary.
Quoted 2 lines
This happened today to me when I was installing Myth II and Quake III at the same time.
:-)))
Regards
Signature · 1 line
Stano