Re: IDE CDROM locks the system hard on media error

Douglas Gilbert (dougg@torque.net)
Mon, 24 Dec 2001 12:57:35 -0500


> 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
>
> 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/hdc

Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/