Re: Burning CDs with a CD-ROM is a bad idea

From: Jens Axboe
Date: Sat May 15 2004 - 05:49:05 EST


On Fri, May 14 2004, gboyce@xxxxxxxxxxxx wrote:
> Hello folks,
>
> Yesterday I made a slight thinko while attempting to burn a CD. Rather
> than specifying dev=/dev/hdd, I add dev=/dev/hdc, which is my CD-ROM
> drive rather than my cd burner. Whoops!
>
> Now, I believe I've done this before, and recieved an error message.
> However, in this particular case with 2.6.6, the system behaved a bit
> different.
>
> bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0
> cdb: 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> hdc: cdrom_pc_intr: The drive appears confused (ireason = 0x02)
> ide-cd: cmd 0x1e timed out
> hdc: lost interrupt

Looks like one of the burning commands confused the drive so much, that
it now refuses to do anything (the above command is a simple medium
removal prevention command, doesn't even need a data transfer).

So I don't think this is a kernel problem. Well maybe we could reset the
device and see if it recovers (do you see any resets in the log?)

--
Jens Axboe

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