Bug 183348

Summary: sata cd access prints unnecessary console messages
Product: [Fedora] Fedora Reporter: Peter Jones <pjones>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-06 17:56:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
Don't print this crap any more none

Description Peter Jones 2006-02-28 15:35:06 UTC
Description of problem:

If you're running haldaemon, then it periodically issues TEST_UNIT_READY (among
other commands) to CD drives to check and see if there's media, etc.  On SATA CD
drives the "error" response that's sent back causes lots of console messages.

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

Today I'm seeing it on 2.6.15-1.1977_FC5, but it's been doing it for a while.

How reproducible:

Always.


Steps to Reproduce:
1. Install
2. Reboot
3. Watch console
  
Actual results:

ata7: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASQ 0xb/00/00
ata7: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASQ 0xb/00/00
ata7: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASQ 0xb/00/00
ata7: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASQ 0xb/00/00
ata7: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASQ 0xb/00/00
ata7: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASQ 0xb/00/00
sr0: CDROM (ioctl) error, command: <6>Test Unit Ready 00 00 00 00 00 00
sr: Current [descriptor]: sense key: Aborted Command
    Additional sense: No additional sense information

Expected results:

No text.

Additional info:

I also suspect "Aborted Command" isn't the response code to which libata should
be translating this.

Comment 1 Peter Jones 2006-02-28 15:50:03 UTC
This pretty much makes the console unusable until you stop haldaemon.

Comment 2 Peter Jones 2006-02-28 16:15:32 UTC
Created attachment 125405 [details]
Don't print this crap any more

This just makes the libata printk go away, but it'll still print the error from
sr0, so a more appropriate fix (such as translating 0x51/24 to something other
than an error) should probably happen.

Comment 3 Dave Jones 2006-03-06 17:56:32 UTC
gone in latest builds.