From owner-freebsd-drivers@FreeBSD.ORG Mon Aug 29 06:52:47 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 DF6ED16A41F for ; Mon, 29 Aug 2005 06:52:47 +0000 (GMT) (envelope-from noorih@yahoo.com) Received: from smtp104.mail.sc5.yahoo.com (smtp104.mail.sc5.yahoo.com [66.163.169.223]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C9C543D5F for ; Mon, 29 Aug 2005 06:52:46 +0000 (GMT) (envelope-from noorih@yahoo.com) Received: (qmail 25961 invoked from network); 29 Aug 2005 06:52:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Message-ID:From:To:Subject:Date:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=er8SlDZ4FnxebATfNnb3+VYXe1I9P1zBJ6y34F26xYy/v3xNHOzN0jRbH/jYivP/MWvxlbJR7Qir8tzmVV+ieCuS9P61iiKSBAlqg8YEgfVXC/vSPmo30UBKbwcHTmthpOtARfPMzYlElm89O6YKRV/UBiBaEAVxv63Ll+Cfyzw= ; Received: from unknown (HELO 2410S303) (noorih@81.12.13.40 with login) by smtp104.mail.sc5.yahoo.com with SMTP; 29 Aug 2005 06:52:44 -0000 Message-ID: <000e01c5ac66$4279d710$280d0c51@2410S303> From: "Hossein Noori" To: Date: Mon, 29 Aug 2005 11:22:36 +0430 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: xircom CBEM56G-100 Driver for FreeBSD 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: Mon, 29 Aug 2005 06:52:48 -0000 Does everybody know if there is device driver for "xircom CARDBUS = CBEM56G-100 Ethernet+56K modem"? Best Regards, Hossein Noori From owner-freebsd-drivers@FreeBSD.ORG Mon Aug 29 06:54:07 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 8639816A41F for ; Mon, 29 Aug 2005 06:54:07 +0000 (GMT) (envelope-from noori.hossein@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11CF443D48 for ; Mon, 29 Aug 2005 06:54:06 +0000 (GMT) (envelope-from noori.hossein@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so655733wra for ; Sun, 28 Aug 2005 23:54:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=d6UTW7FIWuG/Qp3UJZ2arwq19NdNGjWvw/ciWDf4vA6xRoow4JLhLPmMmW1hBvhcXvVvKkDlYNFY+YgZu8eIdqTjK69OtvBkEk2B1aCMS2/OP1NdjiD+O5fXzmrszxdvrz2yKoLc0LODcM8Qm0NNuoabS9Sc24SelzrTkrRBYMc= Received: by 10.54.153.10 with SMTP id a10mr5965657wre; Sun, 28 Aug 2005 23:54:06 -0700 (PDT) Received: from 2410S303 ( [81.12.13.40]) by mx.gmail.com with ESMTP id 45sm6423040wri.2005.08.28.23.54.02; Sun, 28 Aug 2005 23:54:06 -0700 (PDT) Message-ID: <000601c5ac66$722fbce0$280d0c51@2410S303> From: "Hossein Noori" To: Date: Mon, 29 Aug 2005 11:23:56 +0430 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: xircom CARDBUS CBEM56G-100 driver 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: Mon, 29 Aug 2005 06:54:07 -0000 Does everybody know if there is device driver for "xircom CARDBUS = CBEM56G-100 Ethernet+56K modem"? Best Regards, Hossein Noori From owner-freebsd-drivers@FreeBSD.ORG Mon Aug 29 12:41:23 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 1172A16A43D for ; Mon, 29 Aug 2005 12:41:23 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941D943D5A for ; Mon, 29 Aug 2005 12:41:22 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j7TCchv5043576; Mon, 29 Aug 2005 06:38:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 29 Aug 2005 06:39:02 -0600 (MDT) Message-Id: <20050829.063902.78732595.imp@bsdimp.com> To: noorih@yahoo.com From: "M. Warner Losh" In-Reply-To: <000e01c5ac66$4279d710$280d0c51@2410S303> References: <000e01c5ac66$4279d710$280d0c51@2410S303> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.village.org [127.0.0.1]); Mon, 29 Aug 2005 06:38:43 -0600 (MDT) Cc: freebsd-drivers@freebsd.org Subject: Re: xircom CBEM56G-100 Driver for FreeBSD 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: Mon, 29 Aug 2005 12:41:23 -0000 In message: <000e01c5ac66$4279d710$280d0c51@2410S303> "Hossein Noori" writes: : Does everybody know if there is device driver for "xircom CARDBUS : CBEM56G-100 Ethernet+56K modem"? Yes and Yes. The Ethernet uses the DC driver and the modem uses sio. Both work last time I tried them. Warner 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 From owner-freebsd-drivers@FreeBSD.ORG Thu Sep 1 14:57:33 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 5B55816A41F for ; Thu, 1 Sep 2005 14:57:33 +0000 (GMT) (envelope-from edgarm1978@yahoo.com) Received: from web34108.mail.mud.yahoo.com (web34108.mail.mud.yahoo.com [66.163.178.106]) by mx1.FreeBSD.org (Postfix) with SMTP id DCB8E43D45 for ; Thu, 1 Sep 2005 14:57:30 +0000 (GMT) (envelope-from edgarm1978@yahoo.com) Received: (qmail 21195 invoked by uid 60001); 1 Sep 2005 14:57:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=E5RBeKVk9YwKa9gamXUJD8IWBUft0KMz5n9kAUw1NIMk/jTV5l/X/wTBJZGJz/LTy8CFMVK2nWfqyLkuYhQT0GQViRc3mD03WHSAClmSJ3ZbbxjMs6CH9QvV3Tbi1ZjyNC/1cRv29Feem4/d/6+20aIFWtEe+ZR9Opzv8YBhXp0= ; Message-ID: <20050901145730.21193.qmail@web34108.mail.mud.yahoo.com> Received: from [200.75.231.230] by web34108.mail.mud.yahoo.com via HTTP; Thu, 01 Sep 2005 07:57:30 PDT Date: Thu, 1 Sep 2005 07:57:30 -0700 (PDT) From: Edgar Mendieta To: freebsd-drivers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD 5.4 on eServer xserier 346 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 14:57:33 -0000 Hi; I'm trying to install FreeBSD-5.4 on one IBM server 346, when i have to do the partition map the OS view all enable space, but when i trying format these partition the instalation give me a error and say that not found disk. All help is welcome for me. --------------------------------- Do you Yahoo!? Yahoo! Mail - You care about security. So do we. 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 From owner-freebsd-drivers@FreeBSD.ORG Thu Sep 1 21:16:28 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 3276116A420 for ; Thu, 1 Sep 2005 21:16:28 +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 0899943D48 for ; Thu, 1 Sep 2005 21:16:26 +0000 (GMT) (envelope-from heiko@wecos.de) Received: (qmail 85965 invoked by uid 98); 1 Sep 2005 21:16:25 -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.057231 secs); 01 Sep 2005 21:16:25 -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.057231 secs) Received: from unknown (HELO ?192.168.168.242?) (192.168.168.242) by 192.168.168.203 with SMTP; 1 Sep 2005 21:16:25 -0000 From: Heiko Weber Organization: Wecos To: John Baldwin Date: Thu, 1 Sep 2005 23:17:40 +0200 User-Agent: KMail/1.8 References: <200509010936.12902.heiko@wecos.de> <200509011111.10814.jhb@FreeBSD.org> In-Reply-To: <200509011111.10814.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509012317.40551.heiko@wecos.de> Cc: freebsd-drivers@freebsd.org 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 21:16:28 -0000 Am Donnerstag, 1. September 2005 17:11 schrieb John Baldwin: > 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? Hi John ! FreeBSD 5.4 will not boot if APIC is enabled, no matter if ACPI is on or off. Hey, the tipp with 4.x was great, I downloaded a 4.11-mini-inst.iso, boot was ok, installed a minimal system, added option SMP with APIC to the kernel-config, build kernel, and SUPER: 4.11 booted with SMP from logical RAID 5 array. Then I downloaded the boot-only image from 6-CURRENT (BETA3), and tried to boot: SUPER, it looks like the kernel is allready a SMP kernel, it detects bot Xeons, started 4 (virtual) CPUs as in 4.11. At the setup-screen I viewed into partitions, sounds ok ... Hmm, reviewing the boot-log (with scroll-lock) of 6-CURRENT I "missed" something, which I've seen each boot with 5.4, so I restarted the machine with the 5.4 cdrom. Just before the mystery "amr0: adapter is busy" there are 3 lines with ata1-master - I thought it is there because there is only a cdrom installed (harddisk are scsi), but maybe ... : md0: Preloaded image 4423680 bytes at 0xc09dde24 ata1-master: FAILURE - ATAPI_IDENTIFY timed out ata1-master: FAILURE - ATAPI_IDENTIFY timed out ata1-master: FAILURE - ATAPI_IDENTIFY timed out amr0: adapter is busy amr0: adapter is busy amr0: adapter is busy Well, now, what to do next ? Go into production (apache webserver with perl & mysql database) on an "older" 4.11 or an really new 6-BETA3 ? Heiko -- Heiko Weber : heiko(-at-)wecos.de From owner-freebsd-drivers@FreeBSD.ORG Fri Sep 2 18:51:12 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 9B20B16A420 for ; Fri, 2 Sep 2005 18:51:12 +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 3A5C643D48 for ; Fri, 2 Sep 2005 18:51:12 +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 ; Fri, 02 Sep 2005 15:06:34 -0400 From: John Baldwin To: Heiko Weber Date: Fri, 2 Sep 2005 14:44:47 -0400 User-Agent: KMail/1.8 References: <200509010936.12902.heiko@wecos.de> <200509011111.10814.jhb@FreeBSD.org> <200509012317.40551.heiko@wecos.de> In-Reply-To: <200509012317.40551.heiko@wecos.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509021444.48219.jhb@FreeBSD.org> Cc: freebsd-drivers@freebsd.org 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: Fri, 02 Sep 2005 18:51:12 -0000 On Thursday 01 September 2005 05:17 pm, Heiko Weber wrote: > Am Donnerstag, 1. September 2005 17:11 schrieb John Baldwin: > > 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? > > Hi John ! > > FreeBSD 5.4 will not boot if APIC is enabled, no matter if ACPI is on or > off. Hey, the tipp with 4.x was great, I downloaded a 4.11-mini-inst.iso, > boot was ok, installed a minimal system, added option SMP with APIC to the > kernel-config, build kernel, and SUPER: 4.11 booted with SMP from logical > RAID 5 array. > Then I downloaded the boot-only image from 6-CURRENT (BETA3), and tried to > boot: SUPER, it looks like the kernel is allready a SMP kernel, it detects > bot Xeons, started 4 (virtual) CPUs as in 4.11. At the setup-screen I > viewed into partitions, sounds ok ... > Hmm, reviewing the boot-log (with scroll-lock) of 6-CURRENT I "missed" > something, which I've seen each boot with 5.4, so I restarted the machine > with the 5.4 cdrom. Just before the mystery "amr0: adapter is busy" there > are 3 lines with ata1-master - I thought it is there because there is only > a cdrom installed (harddisk are scsi), but maybe ... : > > md0: Preloaded image 4423680 bytes at 0xc09dde24 > ata1-master: FAILURE - ATAPI_IDENTIFY timed out > ata1-master: FAILURE - ATAPI_IDENTIFY timed out > ata1-master: FAILURE - ATAPI_IDENTIFY timed out > amr0: adapter is busy > amr0: adapter is busy > amr0: adapter is busy > > Well, now, what to do next ? Go into production (apache webserver with perl > & mysql database) on an "older" 4.11 or an really new 6-BETA3 ? Well, 6.0 will probably be out this month, so that is probably your best bet going forward. There are several things changed in 6.0 versus 5.4 and I'm not sure which ones would fix your box on 5.4. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org