Bug 79895

Summary: Empty CDROM drive causes automounter/scsi diagnostics to be posted to log
Product: [Retired] Red Hat Linux Reporter: Need Real Name <allison>
Component: autofsAssignee: Jeff Moyer <jmoyer>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-11 21:23:32 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:

Description Need Real Name 2002-12-17 21:23:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408

Description of problem:
Log file get poluted with messages of the form

Dec 16 19:22:41 varja kernel: Device not ready.  Make sure there is a disc in
the drive.
Dec 16 19:22:42 varja kernel: sym53c875-1-<4,*>: target did not report SYNC.
Dec 16 19:22:43 varja last message repeated 10 times
Dec 16 19:22:43 varja kernel: Device not ready.  Make sure there is a disc in
the drive.

and so forth, on an on.  The device in question is a Yamaha CDR400t
on SCSI bus.  It's unclear whetehr the diagnostic comes from the automounter
probing the device or whether the SCSI subsystem complaining  and logging the
complaint.

I would assert that having nothing in the drive should not be a problem.

The workaround is to always have a cdrom in the drive :-(



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


How reproducible:
Always

Steps to Reproduce:
1. Install RH7.3 on machine with CRROM
2. Remove CDROM from drive
3. Inspect logs (or listen to the disk writing the record ever few seconds)
    

Actual Results:  Disk clatters, logs fill. 

Expected Results:  The probe for a CRDOM should have been silent with no diagnostic.

Additional info:

Comment 1 Jeff Moyer 2004-03-22 15:31:36 UTC
Please try with the latest autofs from Rawhide, and let me know if the
problem persists.

Comment 2 Jeff Moyer 2004-03-22 15:32:04 UTC
If the problem persists, please include your autofs configuration files.