* 2.6test10: Annoying "CDROM not ready" messages once a second
@ 2003-11-26 13:41 linux-scsi-031126
2003-11-26 22:45 ` Matthias Andree
2003-12-01 23:17 ` Randy.Dunlap
0 siblings, 2 replies; 3+ messages in thread
From: linux-scsi-031126 @ 2003-11-26 13:41 UTC (permalink / raw)
To: linux-scsi
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6test10: Annoying "CDROM not ready" messages once a second
2003-11-26 13:41 2.6test10: Annoying "CDROM not ready" messages once a second linux-scsi-031126
@ 2003-11-26 22:45 ` Matthias Andree
2003-12-01 23:17 ` Randy.Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: Matthias Andree @ 2003-11-26 22:45 UTC (permalink / raw)
To: linux-scsi-031126; +Cc: linux-scsi
linux-scsi-031126@amos.mailshell.com 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].
> Please CC me with replys, I'm not on the list.
done.
--
Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6test10: Annoying "CDROM not ready" messages once a second
2003-11-26 13:41 2.6test10: Annoying "CDROM not ready" messages once a second linux-scsi-031126
2003-11-26 22:45 ` Matthias Andree
@ 2003-12-01 23:17 ` Randy.Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2003-12-01 23:17 UTC (permalink / raw)
To: linux-scsi-031126; +Cc: linux-scsi
On Wed, 26 Nov 2003 15:41:38 +0200 linux-scsi-031126@amos.mailshell.com 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-01 23:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-26 13:41 2.6test10: Annoying "CDROM not ready" messages once a second linux-scsi-031126
2003-11-26 22:45 ` Matthias Andree
2003-12-01 23:17 ` Randy.Dunlap
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.