Re: cdrom driver thinks Toshiba DVD-RAM door is open

From: Jens Axboe (axboe@suse.de)
Date: Fri Sep 29 2000 - 10:18:45 EST


On Fri, Sep 29 2000, David M. Rector wrote:
> I have some more information on the Toshiba DVD-RAM problem:
> I get a 'no medium' error when I try to format a DVD-RAM. A regular CDROM
> in the same drive works fine.
>
> Setting debug in /proc/sys/dev/cdrom/debug issues the following error
> when I try to format a blank DVD-RAM disk.
>
> Sep 29 07:53:14 gonzo4 kernel: cdrom: open failed.
> Sep 29 07:54:14 gonzo4 kernel: cdrom: entering cdrom_open
> Sep 29 07:54:14 gonzo4 kernel: cdrom: entering open_for_data
> Sep 29 07:54:14 gonzo4 kernel: cdrom: drive_status=2
> Sep 29 07:54:14 gonzo4 kernel: cdrom: the tray is open...
> Sep 29 07:54:14 gonzo4 kernel: cdrom: trying to close the tray.
> Sep 29 07:54:14 gonzo4 kernel: cdrom: bummer. the tray is still not
> closed.
> Sep 29 07:54:14 gonzo4 kernel: cdrom: tray might not contain a medium.
> Sep 29 07:54:14 gonzo4 kernel: cdrom: open failed.
> Sep 29 07:54:14 gonzo4 kernel: cdrom: door unlocked.
> Sep 29 07:54:14 gonzo4 kernel: cdrom: Use count for "/dev/sr0" now 0

The sr drive status keeps returning CDS_TRAY_OPEN here, because a
TEST_UNIT_READY is not suceeding. Interesting. I have the exact same
DVD-RAM drive, I'll try and provoke the same behaviour here.

> and is recognized by cdrecord:

[snip]

I don't know what you'd want to use cdrecord for 8)

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:24 EST