From owner-freebsd-drivers@FreeBSD.ORG Thu Sep 1 17:05:14 2005 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 365B116A422 for ; Thu, 1 Sep 2005 17:05:14 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9681243D49 for ; Thu, 1 Sep 2005 17:05:13 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 01 Sep 2005 13:20:33 -0400 From: John Baldwin To: freebsd-drivers@freebsd.org Date: Thu, 1 Sep 2005 11:11:10 -0400 User-Agent: KMail/1.8 References: <200509010936.12902.heiko@wecos.de> In-Reply-To: <200509010936.12902.heiko@wecos.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509011111.10814.jhb@FreeBSD.org> Cc: Heiko Weber Subject: Re: amr driver not working in SMP / apic X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2005 17:05:14 -0000 On Thursday 01 September 2005 03:36 am, Heiko Weber wrote: > Hello, > > I have a Fujitsu Siemens TX200 S2 (2x Xeon on board) with a LSI MegaRAID > 320-0X. I configured a RAID 5 disk array - but the problem dont go away if > I configure no raid (only physical drives). > > If I boot GENERIC with "apic" enabled in the kernel the amr driver > responses > > amr0: adapter is busy > > three times, then the system hangs. If I disable "apic" the system boots as > expected, the logical drive could be used for installation. The amr driver > prints two lines about the size of the logical drive instead. > > I installed the system in "safe mode", everything works as expected. But if > I enable "apic", the "busy" comes up. I tried building a new SMP kernel, > same as above: using a "one line" empty loader.conf with disabled apic > makes the system running. I tried some combinations of acpi, apic, ata-dma, > .... (the system only has a ata cdrom). No chance, only disabled apic get > it up. > > I tried FreeBSD 5.4-stable. I also downloaded a (unsupported) driver from > LSI webserver, this prints the size of the logical array, but hangs too. I > then compared the native 5.4 driver with the -current, only one cosmetic > changes. So I expect testing -CURRENT has no effect ? > > Is it worth to spend time on this? Is it a bug? What happens if you disable ACPI but leave APIC enabled, does amr still break? Also, does 4.x work ok on this system with SMP and APIC_IO? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org