Re: CD writer is burning with open tray

From: Lennart Sorensen
Date: Tue Oct 04 2005 - 08:53:52 EST


On Tue, Oct 04, 2005 at 02:16:36AM +0300, Jan Knutar wrote:
> Actually that is not quite true under Linux in all circumstances. There seems
> to be no way to interrupt a mount attempt under Linux. I've sent a kill -9 to
> the mount process, went to bed, and it was still attempting to read the disc
> when I woke up 8 hours later. I'm not sure if it was due to bad firmware, or
> due to Linux retrying failed read requests too many times. Somehow I would
> except though, that sending kill -9 to the process in question would also try
> abort the pending request rather than retrying it indefinitely.
> Ejecting the disc with needle in emergency eject hole always made Linux give up
> and mount fail, though, luckily saving me from reboot.

If your drive needs a forced eject to interrupt it's firmware from
trying to read a disc, it has problems.

> It's even worse on IDE where it can block all devices on the same channel, then
> you have some pages on another device on same channel which are needed in
> order to execute kill -9 or advance the cursor in your xterm :) Then you don't even
> have choice of trying a kill -9 first...
> Call me impatient, I usually give it a day or two after ^C and kill -9 before I resort
> to emergency eject on the drive. I had a system once where even that didn't unwedge
> things, I had to unplug the power from the IDE device in question before things unlocked.
> Sure, it resulted in lots of nasty messages in dmesg and in the smartd log on the other
> device on same IDE channel, but no data corruption luckily.

I find that mounting a cdrom will either suceed or fail within a few
minutes on any hardware I have ever bought. My hardware seems to tell
the OS that it can't read the disc. I have seen cheap drives that
seemed to just keep trying forever and were essentially unable to be
interrupted. I don't buy that kind of hardware.

Check if your drive firmware is actually up to date. If not, update it.
Maybe the company making the drive has fixed their mistakes.

Len Sorensen
-
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/