Bug 143446 - Disable "Device not ready. Make sure there is a disc in the drive." messages
Summary: Disable "Device not ready. Make sure there is a disc in the drive." messages
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel   
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Doug Ledford
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2004-12-20 23:44 UTC by Ralf Ertzinger
Modified: 2007-11-30 22:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-28 13:07:54 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Kernel patch againg "device not ready" with Yamaha SCSI devs (1.07 KB, patch)
2004-12-23 09:21 UTC, Ville Steudle
no flags Details | Diff

Description Ralf Ertzinger 2004-12-20 23:44:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041216 Firefox/1.0 Fedora/1.0-6

Description of problem:
When accessing a SCSI drive without media (IDE seems unaffected), the
kernel prints "Device not ready.  Make sure there is a disc in the
drive." to the kernel log. This gets quite annoying when running a
normal desktop with hal and whatnot checking on the drives every
second (having multiple SCSI drives does not help, either).

I think these messages ought to be disabled.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. boot desktop system with SCSI CD drives
2. watch syslog

Actual Results:  Multiple "no disk" messages

Expected Results:  Suppression of useless message

Additional info:

Comment 1 Ville Steudle 2004-12-23 09:19:43 UTC
(added this also to #130649 which might be related):

When analyzing why my Yamaha 4260 (older SCSI writer) causes "Device 
not ready" kernel messages in the log with FC3 while my SCSI DVD does 
not, I noticed this detail:

The SCSI command that triggers the NOT_READY answer for the Yamaha 

After applying the kernel patch below, the kernel got quiet.

Note that this cures only a symptom, I did not analyze the root 
cause, i.e. look for the application issueing this command.

Comment 2 Ville Steudle 2004-12-23 09:21:23 UTC
Created attachment 109068 [details]
Kernel patch againg "device not ready" with Yamaha SCSI devs

Suppresses the "Device not ready" kernel message in scsi_ioctl.c not only as
response to TEST_UNIT_READY (as in the original kernel), but also for

Comment 3 Ralf Ertzinger 2004-12-23 12:45:42 UTC
I have the same writer attached to the bus, and indeed, putting a CD
in the drive makes the messages stop (although other SCSI drives and
IDE drives are still empty).
Sorry for the confusion.

Maybe it would be helpful to indicate which drive caused the message :)

Comment 4 Henning Schmiedehausen 2005-02-11 11:50:19 UTC
I wholeheartedly support this request. Getting this message every second in my
logs is really annoying. 

It seems that SCSI DVD drives and SCSI CD Burners are not that popular any more.

Behaviour observed with

Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: TOSHIBA  Model: DVD-ROM SD-M1201 Rev: 1011
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: YAMAHA   Model: CRW8824S         Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02

Comment 5 Ralf Ertzinger 2005-11-28 13:07:54 UTC
These seem to have disappeared within rawhide for some time now.

Note You need to log in before you can comment on or make changes to this bug.