Message info
 
To:Dmitry Morozovsky From:Steven Hartland Subject:Re: ahci hangs on Supermicro MicroCloud second channel Date:Sun, 18 Mar 2012 16:52:22 -0000
 


----- Original Message -----
From: "Dmitry Morozovsky" <marck@rinet.ru>
To: <freebsd-stable@FreeBSD.org>
Cc: <mav@FreeBSD.org>
Sent: Sunday, March 18, 2012 4:10 PM
Subject: ahci hangs on Supermicro MicroCloud second channel


> Dear colleagues,
>
> I've start testing SuperMicro MicroCloud[1] to have high-density routers
> cluster, and experiencing strange effects with disk subsystem:
>
> - on stable/8, it does detect AHCI controller, but detects disks as non-ahci
> ad*
> - on stable/9, disks are shown as ada*, but disk on second channel has constant
> read/write hangs, showing 100% load on few hundreds kBps in gstat.
>
> disk controller is Intel C204 PCH:
>
> ahci0: <Intel Cougar Point AHCI SATA controller> port
> 0xf050-0xf057,0xf040-0xf043,0xf030-0xf037,0xf020-0xf023,0xf000-0xf01f mem
> 0xfa901000-0xfa9017ff irq 19 at device 31.2 on pci0
> ahci0: attempting to allocate 1 MSI vectors (1 supported)
> msi: routing MSI IRQ 284 to local APIC 0 vector 81
> ahci0: using IRQ 284 for MSI
> ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
> ahci0: Caps: 64bit NCQ SNTF ALP AL CLO 6Gbps PMD SSC PSC 32cmd EM 6ports
> ahci0: Caps2: APST
> ahci0: EM Caps: ALHD XMT SMB LED
> ahcich0: <AHCI channel> at channel 0 on ahci0
> ahcich0: Caps:
> ahcich1: <AHCI channel> at channel 1 on ahci0
> ahcich1: Caps:
>
> pass0 at ahcich0 bus 0 scbus0 target 0 lun 0
> pass0: <WDC WD5000AAKX-001CA0 15.01H15> ATA-8 SATA 3.x device
> pass0: Serial Number WD-WCAYUFH26175
> pass0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
> pass0: Command Queueing enabled
> pass1 at ahcich1 bus 0 scbus1 target 0 lun 0
> pass1: <WDC WD5000AAKX-001CA0 15.01H15> ATA-8 SATA 3.x device
> pass1: Serial Number WD-WCAYUFH32290
> pass1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
> pass1: Command Queueing enabled
> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
> ada0: <WDC WD5000AAKX-001CA0 15.01H15> ATA-8 SATA 3.x device
> ada0: Serial Number WD-WCAYUFH26175
> ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
> ada0: Command Queueing enabled
> ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
> ada0: Previously was known as ad4
> ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
> GEOM: new disk ada0
> GEOM: new disk ada1
> ada1: <WDC WD5000AAKX-001CA0 15.01H15> ATA-8 SATA 3.x device
> ada1: Serial Number WD-WCAYUFH32290
> ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
> ada1: Command Queueing enabled
> ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
> ada1: Previously was known as ad6
>
> Any hints?
>
>
> [1] http://www.supermicro.nl/products/system/3U/5037/SYS-5037MC-H8TRF.cfm

We have quite a few of these running 8.2-RELEASE-p6 on AHCI with no
problems (kernel compiled with:- device ahci)

ahci0: <Intel Cougar Point AHCI SATA controller> port 0xf050-0xf057,0xf040-0xf043,0xf030-0xf037,0xf020-0xf023,0xf000-0xf01f mem
0xfbc01000-0xfbc017ff irq 19 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]

ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD1003FBYX-01Y7B0 01.01V01> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <Corsair Force 3 SSD 1.3> ATA-8 SATA 3.x device
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 57241MB (117231408 512 byte sectors: 16H 63S/T 16383C)

Given this might be worth seeing if 8.2 on AHCI fixes the
hangs and hence its a regression in 9. If your running
generic you should be able to just add the following to
/boot/loader.conf
ahci_load="YES"

Regards
Steve


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"