From owner-freebsd-drivers@FreeBSD.ORG Thu Sep 1 07:35:01 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 E8F9A16A41F for ; Thu, 1 Sep 2005 07:35:01 +0000 (GMT) (envelope-from heiko@wecos.de) Received: from mail.terminmarktwelt.de (mail.terminmarktwelt.de [217.6.66.203]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F6FC43D4C for ; Thu, 1 Sep 2005 07:35:00 +0000 (GMT) (envelope-from heiko@wecos.de) Received: (qmail 65712 invoked by uid 98); 1 Sep 2005 07:34:59 -0000 Received: from 192.168.168.242 by mail.terminmarktwelt.de (envelope-from , uid 82) with qmail-scanner-1.25 ( Clear:RC:1(192.168.168.242):. Processed in 0.346705 secs); 01 Sep 2005 07:34:59 -0000 X-Qmail-Scanner-Mail-From: heiko@wecos.de via mail.terminmarktwelt.de X-Qmail-Scanner: 1.25 (Clear:RC:1(192.168.168.242):. Processed in 0.346705 secs) Received: from unknown (HELO ?192.168.168.242?) (192.168.168.242) by 192.168.168.203 with SMTP; 1 Sep 2005 07:34:58 -0000 From: Heiko Weber Organization: Wecos To: freebsd-drivers@freebsd.org Date: Thu, 1 Sep 2005 09:36:12 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509010936.12902.heiko@wecos.de> Subject: 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 07:35:02 -0000 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? Heiko -- Heiko Weber : heiko(-at-)wecos.de