From owner-freebsd-stable@FreeBSD.ORG Sun Mar 18 16:53:05 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB9D4106566C; Sun, 18 Mar 2012 16:53:05 +0000 (UTC) (envelope-from prvs=142406e4fa=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 19CA28FC0C; Sun, 18 Mar 2012 16:53:04 +0000 (UTC) X-Spam-Processed: mail1.multiplay.co.uk, Sun, 18 Mar 2012 16:52:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50018885182.msg; Sun, 18 Mar 2012 16:52:17 +0000 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=142406e4fa=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: From: "Steven Hartland" To: "Dmitry Morozovsky" , References: Date: Sun, 18 Mar 2012 16:52:22 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: mav@FreeBSD.org Subject: Re: ahci hangs on Supermicro MicroCloud second channel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 16:53:05 -0000 ----- Original Message ----- From: "Dmitry Morozovsky" To: Cc: 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: 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: at channel 0 on ahci0 > ahcich0: Caps: > ahcich1: at channel 1 on ahci0 > ahcich1: Caps: > > pass0 at ahcich0 bus 0 scbus0 target 0 lun 0 > pass0: 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: 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: 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: 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: 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: at channel 0 on ahci0 ahcich0: [ITHREAD] ahcich1: at channel 1 on ahci0 ahcich1: [ITHREAD] ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: 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: 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.