Bug 143446
Summary: | Disable "Device not ready. Make sure there is a disc in the drive." messages | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ralf Ertzinger <redhat-bugzilla> | ||||
Component: | kernel | Assignee: | Doug Ledford <dledford> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | davej, hps, wtogami | ||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-11-28 13:07:54 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ralf Ertzinger
2004-12-20 23:44:01 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 seems to be ALLOW_MEDIUM_REMOVAL, not TEST_UNIT_READY. 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. 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
ALLOW_MEDIUM_REMOVAL.
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 :) 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 These seem to have disappeared within rawhide for some time now. |