Bug 183348 - sata cd access prints unnecessary console messages
Summary: sata cd access prints unnecessary console messages
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-28 15:35 UTC by Peter Jones
Modified: 2015-01-04 22:25 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-03-06 17:56:32 UTC


Attachments (Terms of Use)
Don't print this crap any more (488 bytes, patch)
2006-02-28 16:15 UTC, Peter Jones
no flags Details | Diff

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.



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