2.6test10: Annoying "CDROM not ready" messages once a second
Hello,
I've just moved to 2.6test10 from test9 and startted getting messages like:
sr0: CDROM not ready. Make sure there is a disc in the drive.
Once a second. From googling around I see that it's a very old problem but I haven't found a solution for it.
It seems to come from drivers/scsi/sr_ioctl.c line 139, where there is:
138 if (!cgc->quiet)
139 printk(KERN_INFO "%s: CDROM not
ready.
139 Make sure there is a disc in the drive.\n", cd->cdi.name);
140 #ifdef DEBUG
141 print_req_sense("sr", SRpnt);
142 #endif
143 err = -ENOMEDIUM;But I don't see where can I set cgc->quiet to be non-zero.
For now I stick some CD in the drive to keep this quite, but I'd rather not do this because if the machine reboots it delays on trying to boot from the CD.
My system is an AMD Athlon, no SCSI devices (I need generic SCSI only for cd burning software and USB access, I'm aware that it's supposed to be gone in 2.6 but the software I use is still not aware of this). Preemption enabled (no problems from that part).
Please CC me with replys, I'm not on the list.
Thanks,
--Amos Shapira
Quoted 4 lines · [email protected] writes:
My system is an AMD Athlon, no SCSI devices (I need generic SCSI only for cd burning software and USB access, I'm aware that it's supposed to be gone in 2.6 but the software I use is still not aware of this). Preemption enabled (no problems from that part).
Updating your CD burning software to a more recent alpha version may rid you of the requirement for a non-working ide-scsi emulation. I'm using cdrecord 2.01a19 without sg stuff. Worksforme[tm].
Quoted 1 line
Please CC me with replys, I'm not on the list.
done.
Signature · 3 lines
Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95
On Wed, 26 Nov 2003 15:41:38 +0200 [email protected] wrote:
| Hello,
|
| I've just moved to 2.6test10 from test9 and startted getting messages
| like:
|
| sr0: CDROM not ready. Make sure there is a disc in the drive.
|
| Once a second. From googling around I see that it's a very old problem
| but I haven't found a solution for it.
|
| It seems to come from drivers/scsi/sr_ioctl.c line 139, where there
| is:
|
| 138 if (!cgc->quiet)
| 139 printk(KERN_INFO "%s: CDROM not
| ready.
| 139 Make sure there is a disc in the drive.\n", cd->cdi.name);
| 140 #ifdef DEBUG
| 141 print_req_sense("sr", SRpnt);
| 142 #endif
| 143 err = -ENOMEDIUM;
|
| But I don't see where can I set cgc->quiet to be non-zero.Most of the calls to sr_do_ioctl() declare a local 'cgc' and set cgc.quiet to 0 or 1 before calling sr_do_ioctl().
| For now I stick some CD in the drive to keep this quite, but I'd rather | not do this because if the machine reboots it delays on trying to boot | from the CD. | | My system is an AMD Athlon, no SCSI devices (I need generic SCSI only | for cd burning software and USB access, I'm aware that it's supposed to | be gone in 2.6 but the software I use is still not aware of this). | Preemption enabled (no problems from that part). | | Please CC me with replys, I'm not on the list.
--
~Randy
MOTD: Always include version info.