Apr 10 14:54:46 sasu8 kernel: ATAPI device hdc:
Apr 10 14:54:46 sasu8 kernel: Error: Not ready -- (Sense key=0x02)
Apr 10 14:54:46 sasu8 kernel: Logical unit not ready - in progress (sic) of becoming ready -- (asc=0x04, ascq=0x01)
Apr 10 14:54:46 sasu8 kernel: The failed "Play Audio MSF" packet command was:
Apr 10 14:54:46 sasu8 kernel: ^I"47 00 00 00 02 00 40 0f 4a 00 00 00 "
Cdrom is Funai 16x (E295X) and gives following output at boot:
Apr 10 15:17:09 sasu8 kernel: hdc: ATAPI 16X CDROM drive, 240kB Cache
To me it seems that drive is just telling that it's spinning up and nothing
more serious is going on. So I made this little patch which supresses that
error message. So is my assumption correct (or even near that)?
Juhani
diff -u --recursive linux-2.1.94-orig/drivers/block/ide-cd.c linux/drivers/block/ide-cd.c
--- linux-2.1.94-orig/drivers/block/ide-cd.c Sun Mar 29 23:16:12 1998
+++ linux/drivers/block/ide-cd.c Fri Apr 10 15:13:14 1998
@@ -264,12 +264,17 @@
return;
}
if (reqbuf->error_code == 0x70 && reqbuf->sense_key == 0x02
- && reqbuf->asc == 0x3a && reqbuf->ascq == 0x00)
+ && ((reqbuf->asc == 0x3a && reqbuf->ascq == 0x00) ||
+ (reqbuf->asc == 0x04 && reqbuf->ascq == 0x01)))
{
/*
* No disc in drive ("Medium not present"),
* so keep the noise level down to a dull roar.
*/
+ /*
+ * Also supress ("in progress of becoming ready")
+ * because drive is just spinning up
+ */
return;
}
-- Juhani Rautiainen jrauti@iki.fi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu