From owner-freebsd-current@FreeBSD.ORG Mon Mar 3 10:23:06 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D952E17 for ; Mon, 3 Mar 2014 10:23:06 +0000 (UTC) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 73CC335E for ; Mon, 3 Mar 2014 10:23:04 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.97,577,1389744000"; d="scan'208";a="107436392" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 03 Mar 2014 10:22:56 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.2.342.4; Mon, 3 Mar 2014 05:22:55 -0500 Message-ID: <531457FF.3080005@citrix.com> Date: Mon, 3 Mar 2014 11:22:55 +0100 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Yuriy Taraday , Subject: Re: IXP700 AHCI fails to initialize References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-DLP: MIA2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 10:23:06 -0000 On 01/03/14 19:00, Yuriy Taraday wrote: > Hello. > > I currently have FreeBSD 8.3 on my home server and it works fine but it's > time to upgrade at last (new ath and new ipfw especially allure me). I've > decided to go straight to 10.0 and reinstall system from scratch to purge > all legacy unrelated configs and other stuff. > > The problem I faced is as follows. I have a (rather old) motherboard with > integrated SATA controller that presents in the OS as IXP700. In 8.3 it > works fine. I have 2 disks attached to it: one with all my data and another > one destined to be new system disk. I also have one IDE disk installed that > is currently used as system disk. > > When I booted from USB stick with 10.0, I couldn't see any SATA disks in > the system. I dug into dmesg and found this: http://pastebin.com/wv2A0MUE > As it seems AHCI controller or disks are not responding to commands and > timeouts eventually. > > A friend suggested to try CURRENT image. I went > with FreeBSD-11.0-CURRENT-amd64-VT-20140222-r262336-mini-memstick.img and > got almost the same error: http://pastebin.com/0iGaSWUD > The error repeats and never stops (looks like CURRENT images have different > config) but it is essentially the same. > > I've googled the problem but found only notes about how IXP700 is really > bad and pointers that cabling might be the problem. But I have absolutely > no problems with 8.3, so it looks like some regression during further > development (shift to CAM, maybe?). > > Please help me to identify and fix the problem. This is just a shot in the dark, I'm not familiar with the AHCI driver, but since you seem to be loosing interrupts (or I would say so based on the timeout messages), you could try to disable MSI/MSI-X and fallback to PCI intline IRQs. Could you try to boot with hw.pci.enable_msix=0,hw.pci.enable_msi=0? Roger.