Re: RFC: ATA to CAM integration patch

From: Lucius Windschuh <lwindschuh_at_googlemail.com>
Date: Mon, 29 Jun 2009 16:36:50 +0200
2009/6/29 Kamigishi Rei <spambox_at_haruhiism.net>:
> P.S. Could you please change "Native Command Queueing Enabled" to "Native
> Command Queueing enabled" ;) just for better looks, as many of FreeBSD's
> kernel messages lack proper capitalization and such. Thanks ;)

"Native Command Queueing enabled\n", perhaps?

I am seeing concatenated messages every now and then, despite using
  options   PRINTF_BUFR_SIZE=256
in my kernel config. This occurs only with you ahci driver:


ada0 at ahcich0 bus 0 target 0 lun 0ahcich1: ahci_ch_intr ERROR is
40000001 cs 00000040 ss 00000000 rs 00000040 tfd 6451 serr 00000000

or:

ada0: <HITACHI HTS723216L9SA60 FC2ZC50A> ATA/ATAPI-8 SATA 1.xahcich1:
ahci_ch_intr ERROR is 40000001 cs 00000040 ss 00000000 rs 00000040 tfd
6451 serr 00000000


The appended error message occurs on every access to the empty cd0 device:
ahcich1: ahci_ch_intr ERROR is 40000001 cs 00000200 ss 00000000 rs
00000200 tfd 2451 serr 00000000

ahcich1 is the port to which my internal DVD burner (cd0) is attached.
The controller itself:

ahci0_at_pci0:0:31:2:	class=0x010601 card=0x20f817aa chip=0x29298086
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB/IR/IH (ICH9 Family) Mobile SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA

Sniplet of dmesg:
(probe0:ahcich0:0:0:0): SIGNATURE: 0000
(probe1:ahcich1:0:0:0): SIGNATURE: eb14
ada0 at ahcich0 bus 0 target 0 lun 0
ada0: <HITACHI HTS723216L9SA60 FC2ZC50A> ATA/ATAPI-8 SATA 1.xahcich1:
ahci_ch_intr ERROR is 40000001 cs 00000040 ss 00000000 rs 00000040 tfd
6451 serr 00000000
(cd0:ahcich1:0:0:0): Retrying Command
GEOM: new disk cd0
GEOM: new disk ada0
 device
ada0: Serial Number 081119FC1223NPG3SRBC(cd0:ahcich1:0:0:0): error 6
(cd0:ahcich1:0:0:0): Unretryable Error
cd0 at ahcich1 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GSA-U20N HX11> Removable CD-ROM SCSI-0 device
cd0: Serial Number M1589HK3233
cd0: 150.000MB/s transfers
cd0: Attempt to query device size failed: UNIT ATTENTION, Power on,
reset, or bus device reset occurred

ada0: 150.000MB/s transfers
ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C)
ada0: Native Command Queueing Enabled
pass0 at ahcich0 bus 0 target 0 lun 0ahcich1: ahci_ch_intr ERROR is
40000001 cs 00000200 ss 00000000 rs 00000200 tfd 2451 serr 00000000
(cd0:ahcich1:0:0:0): Retrying Command

pass0: <HITACHI HTS723216L9SA60 FC2ZC50A> ATA/ATAPI-8 SATA 1.x device
pass0: Serial Number 081119FC1223NPG3SRBC
pass0: 150.000MB/s transfers(cd0:ahcich1:0:0:0): error 6
(cd0:ahcich1:0:0:0): Unretryable Error

pass1 at ahcich1 bus 0 target 0 lun 0
pass1: <HL-DT-ST DVDRAM GSA-U20N HX11> Removable CD-ROM SCSI-0 device
pass1: Serial Number M1589HK3233
pass1: 150.000MB/s transfers
SMP: AP CPU #1 Launched!
     ID: 0x01000000   VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
  lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
  timer: 0x000100ef therm: 0x00010200 err: 0x00010000 pcm: 0x00000400
ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 1 vector 48
ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 1 vector 49
ioapic0: routing intpin 17 (PCI IRQ 17) to lapic 1 vector 50
ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 1 vector 51
ioapic0: routing intpin 21 a(hcich1: PCI IRQ 21ahci_ch_intr ERROR is
40000001 cs 00002000 ss 00000000 rs 00002000 tfd 2451 serr 00000000)
to lapic 1 vector 52

ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 1 vector 53
msi: Assigning MSI IRQ 258 to local APIC 1 vector 54
WARNING: WITNESS option enabled, expect reduced performance.(cd0:
ahcich1:0:0:0): Retrying Command
(cd0:ahcich1:0:0:0): error 6
(cd0:ahcich1:0:0:0): Unretryable Error
ahcich1: ahci_ch_intr ERROR is 40000001 cs 00020000 ss 00000000 rs
00020000 tfd 2451 serr 00000000
(cd0:ahcich1:0:0:0): Retrying Command
(cd0:ahcich1:0:0:0): error 6
(cd0:ahcich1:0:0:0): Unretryable Error
scsi_cd.c::ioctl cmd=4400648b error=25
ahcich1: ahci_ch_intr ERROR is 40000001 cs 00200000 ss 00000000 rs
00200000 tfd 2451 serr 00000000
(cd0:ahcich1:0:0:0): Retrying Command
(cd0:ahcich1:0:0:0): error 6
(cd0:ahcich1:0:0:0): Unretryable Error


Any more hints I can give you?

Lucius
Received on Mon Jun 29 2009 - 13:01:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC