2012年4月15日日曜日

ahci driver for FreeBSD

I bought HP ML110 G7 for my home server(FreeBSD-8.2-RELEASE). However I had two problems.
And finally I solved these problems with 8.3-RELEASE.

[PROBLEM1]
- FreeBSD-8.2-RELEASE and ahci driver could not probe Seagate ST3320620NS Barracuda ES SATA 3.0Gb/s 320-GB Hard Drive with ahci driver.

and finally I can use with FreeBSD-8.3-RELEASE.
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: ATA-7 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)

[PROBLEM2]
- FreeBSD-8.2-RELEASE and ahci driver could probe but some time hang-up with SAMSUNG HD154UI 1AG01113.

and finally I can use with FreeBSD-8.3-RELEASE.
ada2 at ahcich3 bus 0 scbus3 target 0 lun 0
ada2: ATA-7 SATA 2.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)

ahci0: port 0x1400-0x1407,0x1408-0x140b,0x1410-0x1417,0x1418-0x141b,0x1420-0x143f mem 0xfaca0000-0xfaca07ff irq 17 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier supported
ahcich0: at channel 0 on ahci0
ahcich0: [ITHREAD]

error message
ahcich3: is 00000000 cs 00000008 ss 00000000 rs 00000008 tfd c0 serr 00000000
ahcich3: Timeout on slot 3
ahcich3: is 00000000 cs 00000fe0 ss 00000ff8 rs 00000ff8 tfd c0 serr 00000000
ahcich3: Timeout on slot 20
ahcich3: is 00000000 cs 3fe00000 ss 3ff00000 rs 3ff00000 tfd c0 serr 00000000
ahcich3: Timeout on slot 6
ahcich3: is 00000000 cs 0000ff00 ss 0000ffc0 rs 0000ffc0 tfd c0 serr 00000000
ahcich3: Timeout on slot 24
ahcich3: is 00000000 cs fc000003 ss ff000003 rs ff000003 tfd c0 serr 00000000