From owner-freebsd-stable@FreeBSD.ORG Wed Oct 11 14:47:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EDA616A407 for ; Wed, 11 Oct 2006 14:47:07 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D5D343D70 for ; Wed, 11 Oct 2006 14:47:06 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by mail.ambrisko.com with ESMTP; 11 Oct 2006 07:44:06 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.13.1/8.12.11) with ESMTP id k9BEl5EV068046; Wed, 11 Oct 2006 07:47:05 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.13.1/8.13.1/Submit) id k9BEl5Dq068045; Wed, 11 Oct 2006 07:47:05 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200610111447.k9BEl5Dq068045@ambrisko.com> In-Reply-To: <1160576859.10492.5.camel@lanshark.dmv.com> To: Sven Willenberger Date: Wed, 11 Oct 2006 07:47:05 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: Megacli fails to find SAS adapter 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: Wed, 11 Oct 2006 14:47:07 -0000 Sven Willenberger writes: | On Tue, 2006-10-10 at 22:11 -0700, Doug Ambrisko wrote: | > Sven Willenberger writes: | > | FreeBSD 6.2-PRERELEASE #3: Tue Oct 10 13:58:29 EDT 2006 | > | LSi 8480e SAS Raid card | Adding mfi_linux_enable="YES" to /boot/loader.conf did do the trick of | having the device added to the system: | | # cat /compat/linux/sys/class/scsi_host/host*/proc_name | (null) | megaraid_sas | (null) | | # sysctl compat.linux | compat.linux.oss_version: 198144 | compat.linux.osrelease: 2.6.12 | compat.linux.osname: Linux | | Although the MegaCli utility no longer complains about not finding a | controller, it sadly does nothing else either (except dump core on | certain commands): | | # ./MegaCli -AdpAllinfo -a0 I usually start with that. It should work okay. Check your /compat/linux/dev directory for stuff. It might have created null and some other entries look at the dates. Those nodes could be wrong. We have an empty /compat/linux/dev directory. | # ./MegaCli -AdpGetProp SpinupDriveCount -a0 | | Segmentation fault (core dumped) | # ./MegaCli -LDGetNum -a0 | | Failed to get VD count on adapter -9993. | # ./MegaCli -CfgFreeSpaceinfo -a0 | | Failed to initialize RM | | and so on ... I am guessing this is an issue with the MegaCli software | now; needless to say I certainly doubt that this will allow me to flash | the card bios (or even it if *could*, I would be leery of the process). If one doesn't work the reset probably won't. I be cautious to flash the card. It should work but I haven't tried it. If this is your only card then you have a lot to risk! On prior cards, Adaptec and LSI if the flash failed then the card was toast. MegaCli has some issues as well. Doug A.