2001-07-08 08:23:56

by Joern Heissler

[permalink] [raw]
Subject: ide cdrom drive doesn't unlock in a special case

Hello!
I'm having problems with my cdrom-drive:
When I access the drive ("cat /dev/cdrom > /dev/null"), the tray is locked.

joern:/# cat /dev/cdrom > /dev/zero
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: ATAPI reset complete
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: ATAPI reset complete
end_request: I/O error, dev 16:40 (hdd), sector 42016
cat: /dev/cdrom: Input/output error
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: ATAPI reset complete
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: cdrom_decode_status: status=0x51 { DriveReady SeekComplete Error }
hdd: cdrom_decode_status: error=0x34
hdd: ATAPI reset complete
end_request: I/O error, dev 16:40 (hdd), sector 42020
joern:/#

For some reason, my cdrom drive keeps being locked.
When I press ctrl-c before cat exits, the drive is unlocked.

I can reproduce it with 2.2.19, 2.4.6-ac2 and 2.4.5-ac13.
When using 2.2.0, the tray is unlocked.

My cdrom-drive is (according to system-bootup):
hdd: CD-524EA-B, ATAPI CD/DVD-ROM drive


Attachments:
(No filename) (1.88 kB)
(No filename) (240.00 B)
Download all attachments