From owner-freebsd-questions@FreeBSD.ORG Thu Jan 8 22:20:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 995D610657B8 for ; Thu, 8 Jan 2009 22:20:36 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1268FC18 for ; Thu, 8 Jan 2009 22:20:35 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by bwz13 with SMTP id 13so1647726bwz.19 for ; Thu, 08 Jan 2009 14:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PJOR7IGVmtQWsHDH2Ea667gms/b90R499/+wI7xbjMk=; b=xqR2as1D8yaa3lLWK87Mv8wFPPGZZiUsOYDcQhWY8y+iOE43+0lfIHynehgw6oklzV lOALtqXRapVV/hcVAgNox+pfAH8GhuTtx2cz4imWwjWZz3pyXpGhCGYQMyjd27lReA0r t+XXAPgf95nKH5Ew/0t6crd2ViCtnTkPfjAWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=rmKkde4fp2gXQZacNK89RXQiIXWSbw1W8l0i/q4yFhx5lvadxr6xZ4GWsAibavFEFy H7iNvYNJ2gnIbCYqyX+RekPLvnDwzlG1BMCoomE3ijDLVVJ3v/e6c0phMFNQjTF1qbD6 Y6v1TZ3Ag0ZtUlCplzRaZM+Y42XrFFGZ6lSd8= Received: by 10.223.106.200 with SMTP id y8mr18043684fao.24.1231453234898; Thu, 08 Jan 2009 14:20:34 -0800 (PST) Received: by 10.223.109.80 with HTTP; Thu, 8 Jan 2009 14:20:34 -0800 (PST) Message-ID: <4ad871310901081420s3f02fa2drc0571373ec1a1b2f@mail.gmail.com> Date: Thu, 8 Jan 2009 17:20:34 -0500 From: "Glen Barber" To: "Neal Hogan" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4ad871310901081337h23a2d22fldfee1dbabc9044a2@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: ndis panic HP pavilion ze4400 won't boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2009 22:20:39 -0000 On Thu, Jan 8, 2009 at 4:59 PM, Neal Hogan wrote: > > > On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber wrote: >> >> On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan wrote: >> > I'm father new to fBSD. I hope this is the appropriate list to send this >> > question to. >> > >> > I just installed 7.1-RELEASE on my HP pavilion and attempted to >> > configure my >> > Broadcom wlan card (BCM94309 version 4.10.40.0) using ndisgen. I cp'd >> > the >> > bcmwl5_sys.ko to /boot/kernel and added *bcmwl5_sys_load="YES"* to my >> > /boot/loader.conf. Now the machine will not boot. It crashes when it >> > reaches >> > the ndis0 line. I've tried booting in all the modes but they all fail to >> > boot. I can escape to prompt, but am unsure what, if anything, I can do >> > in >> > that mode to deal with the situation. >> > >> > With other releases (6.4 and 7.0) the machine would panick when I >> > attempted >> > to ifconfig ndis0. However, I was able to boot in single user mode and >> > temporarily move the rc.conf file so that I cound boot in the default >> > mode. >> > With 7.1, I don't appear to have that option. >> > >> > Is there anything I can do, short of a fresh install, to eliminate this >> > problem? I'm not too worried about getting the wifi up (although, I >> > won't >> > turn down any advice). I just want the machine to boot. >> > >> >> I discovered a wierd hack to resolve this. Remove the line(s) from >> loader.conf, and create an /etc/rc.local file containing the >> following: >> >> /sbin/kldload /boot/modules/bcmwl5_sys.ko >> >> That should survive a reboot. >> >> >> -- >> Glen Barber >> >> "Tell me and I forget. Teach me and I remember. Involve me and I >> learn." - Benjamin Franklin > > Glen, > > I tried your suggestion (which I appreciate) and it did survive rebooting. > However, bcmwl5_sys.ko was not loaded because there was no ndis interface. > So, I change the rc.local to > > /sbin/kldload /boot/kernel/bcmwl5_sys.ko > > Upon reboot, the system panicked when it loaded the rc.local file. > > I don't know . . . > Any additional modules should be placed in /boot/modules, not /boot/kernel. What happens if you manually load the module after the system is running? -- Glen Barber "Tell me and I forget. Teach me and I remember. Involve me and I learn." - Benjamin Franklin