From owner-freebsd-stable@FreeBSD.ORG Sun Mar 18 17:08:17 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DCE61065670; Sun, 18 Mar 2012 17:08:17 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id E603F8FC1C; Sun, 18 Mar 2012 17:08:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id q2IH8FeJ068080; Sun, 18 Mar 2012 21:08:15 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 18 Mar 2012 21:08:15 +0400 (MSK) From: Dmitry Morozovsky To: Steven Hartland In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (woozle.rinet.ru [0.0.0.0]); Sun, 18 Mar 2012 21:08:15 +0400 (MSK) Cc: mav@freebsd.org, freebsd-stable@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 17:08:17 -0000 Steven, On Sun, 18 Mar 2012, Steven Hartland wrote: [snip] > 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" Yes, I did it, but all I have ... wait a bit... Yes, I missed ahci.ko module on my PXE server in amd64/8 tree :-/ [kernel reinstall] Well, ahci problem solved, but I still have much worse performance (and different on ada0 and ada1!): ada0, MC 50-60 MBps ada1, MC 13-25 MBps ada*, 5017 130+ MBps Could you please post SATA/AHCI BIOS settings from your machines? Thanks a lot! -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------