RFC: ATA to CAM integration patch

Ilya Zhuravlev i.a.zhuravlev at cbtnet.ru
Tue Jul 28 08:46:52 UTC 2009


Good day

ahci cannot attach drives
8.0-beta2, laptop asus k50in, nvidia MCP75L-based

ahci0: [THREAD]
ahci0: AHCI v1.20 with 2 3Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [THREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [THREAD]
......
(aprobe0:ahcich0:0:15:0): SIGNATURE: 0000
(aprobe0:ahcich0:0:0:0): SIGNATURE: 0000
(aprobe0:ahcich0:0:0:0): Uncorrected Parity Error
(aprobe0:ahcich0:0:0:0): Retrying Command
(aprobe0:ahcich0:0:0:0): Uncoreccted Parity Error
(aprobe0:ahcich0:0:0:0): error 5
(aprobe0:ahcich0:0:0:0): Retries Exhausted
(aprobe1:ahcich1:0:15:0): SIGNATURE: eb14
(aprobe0:ahcich1:0:0:0): SIGNATURE: eb14
(aprobe0:ahcich1:0:0:0): Uncoreccted Parity Error
(aprobe0:ahcich1:0:0:0): Retrying Command
(aprobe0:ahcich1:0:0:0): Uncoreccted Parity Error
(aprobe0:ahcich1:0:0:0): error 5
(aprobe0:ahcich1:0:0:0): Retries Exhausted

pciconf with ata-driver and ata-compat enabled in bios:
atapci0 at pci0:0:11:0:    class=0x010185 card=0x1cf71043 chip=0x0ab510de 
rev=0xb1 hdr=0x00
     vendor     = 'Nvidia Corp'
     class      = mass storage
     subclass   = ATA
     bar   [10] = type I/O Port, range 32, base 0xc080, size  8, enabled
     bar   [14] = type I/O Port, range 32, base 0xc000, size  4, enabled
     bar   [18] = type I/O Port, range 32, base 0xbc00, size  8, enabled
     bar   [1c] = type I/O Port, range 32, base 0xb880, size  4, enabled
     bar   [20] = type I/O Port, range 32, base 0xb800, size 16, enabled
     bar   [24] = type Memory, range 32, base 0xfae7c000, size 8192, enabled
     cap 01[44] = powerspec 2  supports D0 D3  current D0
     cap 12[8c] = SATA Index-Data Pair
     cap 05[b0] = MSI supports 8 messages, 64 bit

atacontrol for devices on channels attached


-------------- next part --------------

Protocol              SATA revision 1.x
device model          HL-DT-STDVDRAM GT10N
serial number         
firmware revision     1.00
cylinders             0
heads                 0
sectors/track         0
lba supported         
lba48 not supported       
dma supported
overlap not supported

Feature                      Support  Enable    Value           Vendor
write cache                    no	no
read ahead                     no	no
Native Command Queuing (NCQ)   no	 -	0/0x00
Tagged Command Queuing (TCQ)   no	no	0/0x00
SMART                          no	no
microcode download             no	no
security                       no	no
power management               no	no
advanced power management      no	no	0/0x00
automatic acoustic management  no	no	0/0x00	0/0x00
-------------- next part --------------

Protocol              SATA revision 2.x
device model          Hitachi HTS543225L9A300
serial number         090506FB2E00LKEUASGA
firmware revision     FBEOC40C
cylinders             16383
heads                 16
sectors/track         63
lba supported         268435455 sectors
lba48 supported       488397168 sectors
dma supported
overlap not supported

Feature                      Support  Enable    Value           Vendor
write cache                    yes	yes
read ahead                     yes	yes
Native Command Queuing (NCQ)   yes	 -	31/0x1F
Tagged Command Queuing (TCQ)   no	no	31/0x1F
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      yes	yes	16512/0x4080
automatic acoustic management  yes	no	254/0xFE	128/0x80


More information about the freebsd-current mailing list