Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2010 15:15:35 +1000
From:      "Phil" <phil@amdg.etowns.org>
To:        <freebsd-stable@freebsd.org>
Subject:   AHCI timeouts - 8.1-PRERELEASE
Message-ID:  <0A94FF873D6B4D83BF778BC13B347065@HS>

next in thread | raw e-mail | index | archive | help
Is it expected behaviour that ahci performs a time-out during boot, even
though camcontrol indicates success?  This is on 8.1-PRERELEASE csup'ed
today.

I've enclosed  dmesg, camcontrol and pciconf information.  The timeout is 
approximately 12 to 14 seconds for each connected disk-drive.  If I 
run with only usb devices, there are no timeouts.  The following 
dmesg is when I connect two HDD's on a VIA SN18000 motherboard, and 
the BIOS has ahci selected, i.e. not IDE nor RAID. 

These machines are personal servers and are permanently running.

# dmesg | egrep -i "ahci|ada"
ahci0: <VIA VT8251 AHCI SATA controller> port
0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem
0xfcfffc00-0xfcffffff irq 21 at device 15.0 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.00 with 4 3Gbps ports, Port Multiplier supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [ITHREAD]
ahcich0: Poll timeout on slot 0
ahcich0: is 00800000 cs 00000001 ss 00000000 rs 00000001 tfd 1d0 serr
00000000
ahcich1: Poll timeout on slot 0
ahcich1: is 00800000 cs 00000001 ss 00000000 rs 00000001 tfd 1d0 serr
00000000
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0da1 at umass-sim1 bus 1 scbus5
target 0 lun 0
ada0: <WDC WD5000AAKS-00V1A0 05.01D05> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
...and ada1 is similar to ada0 above.

# camcontrol devlist
<WDC WD5000AAKS-00V1A0 05.01D05>   at scbus0 target 0 lun 0 (ada0,pass0)
<WDC WD5000AAKS-00V1A0 05.01D05>   at scbus1 target 0 lun 0 (ada1,pass1)
<Kingston DT HyperX HMAP>          at scbus4 target 0 lun 0 (da0,pass2)
<Kingston DT Mini Slim 1.00>       at scbus5 target 0 lun 0 (da1,pass3)

# pciconf -lv | grep -A 4 ahci
ahci0@pci0:0:15:0:      class=0x010601 card=0x62871106 chip=0x62871106
rev=0x20 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT8251 AHCI Controller'
    class      = mass storage
    subclass   = SATA

If there's anything that I can provide to help, please advise.
Regards, Phil.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0A94FF873D6B4D83BF778BC13B347065>