ide cdrom drive doesn't unlock in a special case

From: Joern Heissler (joern@heissler.de)
Date: Sun Jul 08 2001 - 03:23:23 EST


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



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



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:08 EST