public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SATA ATAPI AHCI error messages?
@ 2006-03-08  1:30 Gaston, Jason D
  2006-03-08  4:13 ` Jeff Garzik
  2006-03-08 13:17 ` Alan Cox
  0 siblings, 2 replies; 7+ messages in thread
From: Gaston, Jason D @ 2006-03-08  1:30 UTC (permalink / raw)
  To: linux-kernel

Hello,

We are seeing the following error messages in dmesg with the 2.6.16-rc5
kernel.  I have also tried to apply the git10 patch and still see the
same errors.  This is seen using a Plextor PX-716SA or PX-712SA SATA
DVDRW drive when in AHCI mode.  I do not see this message when the SATA
controller is set to IDE mode, in the BIOS.  I have reproduced this
using Intel ICH6R, ICH7R and ICH8 SATA controllers.  I have
atapi_enabled=1 set in the libata-core.c file.  These error messages
continue to be repeatedly logged about every 2 seconds.  Can someone
tell me what is going on and if this will be addressed in the next RC
release of the 2.6.16 kernel?
 
ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 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

Thanks,

Jason


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SATA ATAPI AHCI error messages?
  2006-03-08  1:30 SATA ATAPI AHCI error messages? Gaston, Jason D
@ 2006-03-08  4:13 ` Jeff Garzik
  2006-03-08 13:17 ` Alan Cox
  1 sibling, 0 replies; 7+ messages in thread
From: Jeff Garzik @ 2006-03-08  4:13 UTC (permalink / raw)
  To: Gaston, Jason D; +Cc: linux-kernel, linux-ide@vger.kernel.org

Gaston, Jason D wrote:
> Hello,
> 
> We are seeing the following error messages in dmesg with the 2.6.16-rc5
> kernel.  I have also tried to apply the git10 patch and still see the
> same errors.  This is seen using a Plextor PX-716SA or PX-712SA SATA
> DVDRW drive when in AHCI mode.  I do not see this message when the SATA
> controller is set to IDE mode, in the BIOS.  I have reproduced this
> using Intel ICH6R, ICH7R and ICH8 SATA controllers.  I have
> atapi_enabled=1 set in the libata-core.c file.  These error messages
> continue to be repeatedly logged about every 2 seconds.  Can someone
> tell me what is going on and if this will be addressed in the next RC
> release of the 2.6.16 kernel?
>  
> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 0xb/00/00
> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 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

Probably its just too chatty, since ATAPI throws a lot of errors...

	Jeff




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SATA ATAPI AHCI error messages?
  2006-03-08  1:30 SATA ATAPI AHCI error messages? Gaston, Jason D
  2006-03-08  4:13 ` Jeff Garzik
@ 2006-03-08 13:17 ` Alan Cox
  2006-03-08 13:26   ` Mark Lord
  1 sibling, 1 reply; 7+ messages in thread
From: Alan Cox @ 2006-03-08 13:17 UTC (permalink / raw)
  To: Gaston, Jason D; +Cc: linux-kernel

On Maw, 2006-03-07 at 17:30 -0800, Gaston, Jason D wrote:
> atapi_enabled=1 set in the libata-core.c file.  These error messages
> continue to be repeatedly logged about every 2 seconds.  Can someone
> tell me what is going on and if this will be addressed in the next RC
> release of the 2.6.16 kernel?

Does ths still occur if you boot to a command line and don't have all
the gnome/kde crap running and polling your drive ?

> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 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

TUR should not be getting aborted command replies off a CD. Most odd


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SATA ATAPI AHCI error messages?
  2006-03-08 13:17 ` Alan Cox
@ 2006-03-08 13:26   ` Mark Lord
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Lord @ 2006-03-08 13:26 UTC (permalink / raw)
  To: Alan Cox; +Cc: Gaston, Jason D, linux-kernel

Alan Cox wrote:
..
>> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 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
> 
> TUR should not be getting aborted command replies off a CD. Most odd

It's been a while, and my memory of such is fuzzy,
but I think I have commonly seen ATAPI drives (in the past)
that simply fail TUR as above when the drive is open
or media is not present (one of those two, forgot which).

Cheers

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: SATA ATAPI AHCI error messages?
@ 2006-03-08 16:16 Gaston, Jason D
  2006-03-08 16:59 ` Randy.Dunlap
  0 siblings, 1 reply; 7+ messages in thread
From: Gaston, Jason D @ 2006-03-08 16:16 UTC (permalink / raw)
  To: Mark Lord, Alan Cox; +Cc: linux-kernel

>-----Original Message-----
>From: Mark Lord [mailto:lkml@rtr.ca]
>Sent: Wednesday, March 08, 2006 5:27 AM
>To: Alan Cox
>Cc: Gaston, Jason D; linux-kernel@vger.kernel.org
>Subject: Re: SATA ATAPI AHCI error messages?
>
>Alan Cox wrote:
>..
>>> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 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
>>
>> TUR should not be getting aborted command replies off a CD. Most odd
>
>It's been a while, and my memory of such is fuzzy,
>but I think I have commonly seen ATAPI drives (in the past)
>that simply fail TUR as above when the drive is open
>or media is not present (one of those two, forgot which).
>
>Cheers

I have media in the drive and still see the error.  We are seeing the
errors when the system is booting, before gnome or KDE is loaded.

Jason


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: SATA ATAPI AHCI error messages?
  2006-03-08 16:16 Gaston, Jason D
@ 2006-03-08 16:59 ` Randy.Dunlap
  0 siblings, 0 replies; 7+ messages in thread
From: Randy.Dunlap @ 2006-03-08 16:59 UTC (permalink / raw)
  To: Gaston, Jason D; +Cc: lkml, alan, linux-kernel

On Wed, 8 Mar 2006 08:16:27 -0800 Gaston, Jason D wrote:

> >-----Original Message-----
> >From: Mark Lord [mailto:lkml@rtr.ca]
> >Sent: Wednesday, March 08, 2006 5:27 AM
> >To: Alan Cox
> >Cc: Gaston, Jason D; linux-kernel@vger.kernel.org
> >Subject: Re: SATA ATAPI AHCI error messages?
> >
> >Alan Cox wrote:
> >..
> >>> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ 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
> >>
> >> TUR should not be getting aborted command replies off a CD. Most odd
> >
> >It's been a while, and my memory of such is fuzzy,
> >but I think I have commonly seen ATAPI drives (in the past)
> >that simply fail TUR as above when the drive is open
> >or media is not present (one of those two, forgot which).
> >
> >Cheers
> 
> I have media in the drive and still see the error.  We are seeing the
> errors when the system is booting, before gnome or KDE is loaded.

Yes, I have seen that also.  I posted a patch to rate-limit the
printk's but it wasn't accepted since they are mostly there for
debugging anyway.... or so it seems.

---
~Randy

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: SATA ATAPI AHCI error messages?
@ 2006-03-08 18:39 Gaston, Jason D
  0 siblings, 0 replies; 7+ messages in thread
From: Gaston, Jason D @ 2006-03-08 18:39 UTC (permalink / raw)
  To: Randy.Dunlap, lkml; +Cc: alan, linux-kernel

>-----Original Message-----
>From: Randy.Dunlap [mailto:rdunlap@xenotime.net]
>Sent: Wednesday, March 08, 2006 9:00 AM
>To: Gaston, Jason D
>Cc: lkml@rtr.ca; alan@lxorguk.ukuu.org.uk; linux-kernel@vger.kernel.org
>Subject: Re: SATA ATAPI AHCI error messages?
>
>On Wed, 8 Mar 2006 08:16:27 -0800 Gaston, Jason D wrote:
>
>> >-----Original Message-----
>> >From: Mark Lord [mailto:lkml@rtr.ca]
>> >Sent: Wednesday, March 08, 2006 5:27 AM
>> >To: Alan Cox
>> >Cc: Gaston, Jason D; linux-kernel@vger.kernel.org
>> >Subject: Re: SATA ATAPI AHCI error messages?
>> >
>> >Alan Cox wrote:
>> >..
>> >>> ata2: translated ATA stat/err 0x51/24 to SCSI SK/ASC/ASCQ
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
>> >>
>> >> TUR should not be getting aborted command replies off a CD. Most
odd
>> >
>> >It's been a while, and my memory of such is fuzzy,
>> >but I think I have commonly seen ATAPI drives (in the past)
>> >that simply fail TUR as above when the drive is open
>> >or media is not present (one of those two, forgot which).
>> >
>> >Cheers
>>
>> I have media in the drive and still see the error.  We are seeing the
>> errors when the system is booting, before gnome or KDE is loaded.
>
>Yes, I have seen that also.  I posted a patch to rate-limit the
>printk's but it wasn't accepted since they are mostly there for
>debugging anyway.... or so it seems.
>
>---
>~Randy

I double checked and found that the messages do stop when media is
inserted into the drive.  They pick up again as soon as the media is
removed.

Is there any way we can get this fixed?

Thanks,

Jason


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-08 18:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08  1:30 SATA ATAPI AHCI error messages? Gaston, Jason D
2006-03-08  4:13 ` Jeff Garzik
2006-03-08 13:17 ` Alan Cox
2006-03-08 13:26   ` Mark Lord
  -- strict thread matches above, loose matches on Subject: below --
2006-03-08 16:16 Gaston, Jason D
2006-03-08 16:59 ` Randy.Dunlap
2006-03-08 18:39 Gaston, Jason D

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox