All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

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.