From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 14:18:34 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 D05761065695 for ; Fri, 9 Jan 2009 14:18:34 +0000 (UTC) (envelope-from nealhogan@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 6954D8FC08 for ; Fri, 9 Jan 2009 14:18:34 +0000 (UTC) (envelope-from nealhogan@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so3970766ywe.13 for ; Fri, 09 Jan 2009 06:18:33 -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:references; bh=xpwaGm4loHvNY3C/dX5mbtj1iHwmvPN9VCWQdBGenDM=; b=vmzx3f4R9wbHx6AWImvJku0HaLNUd8T0FwRAz6vB2oowHsStGghJr61gAFn8t69ypV XlZcgOBIPKYlsL2RONm+Q1ojwBetbGbMlufko8yqB1epZjt6o+DQrvJR6CLfWjJee3d/ JYO/7BFryDmBlwCxJ1z99LF1QRoVmoH8y/hzI= 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:references; b=GTq1fcuzdnYyUtvNCh2FBmErzKz66GK4B1F/UrER/dlT0OfW36GGvUovXuZgeCKeSA aNusU1p2M1NuRzlS3gksTL2Rn0Z2sFMc3sfwX/WDUU8Wf8GNdTcyG398DM0qhSsb5IWD 0vX/AAgscQrvPedmulRiooN1aZz5M2rp3KhEM= Received: by 10.150.92.13 with SMTP id p13mr4186166ybb.236.1231510713464; Fri, 09 Jan 2009 06:18:33 -0800 (PST) Received: by 10.150.182.2 with HTTP; Fri, 9 Jan 2009 06:18:33 -0800 (PST) Message-ID: Date: Fri, 9 Jan 2009 08:18:33 -0600 From: "Neal Hogan" To: "Glen Barber" In-Reply-To: <4ad871310901081420s3f02fa2drc0571373ec1a1b2f@mail.gmail.com> MIME-Version: 1.0 References: <4ad871310901081337h23a2d22fldfee1dbabc9044a2@mail.gmail.com> <4ad871310901081420s3f02fa2drc0571373ec1a1b2f@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Fri, 09 Jan 2009 14:18:35 -0000 On Thu, Jan 8, 2009 at 4:20 PM, Glen Barber wrote: > 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 > Glen, Well, I never loaded into /boot/modules and at this point I've removed the *bcmwl5-stuff* to begin again. Note that *kldload bcmwl5_sys.ko* output that there was no such file. Below is some info as to what lead to the panic (it's info I gave in response to another generous fellow on the list). I have not formally sync'd the system and source. But what I did prior to the panicking was freshly install 7.0-RELEASE from disc, did not add any packages, before upgrading to 7.1-RELEASE, using *freebsd-update -r 7.1-RELEASE upgrade && freebsd-update -r 7.1-RELEASE install* I then installed downloded the ports tree via ftp and added a few packages. The bcmwl5_sys.ko was generated using *ndisgen /mnt/flash/bcmwl5.inf /mnt/flash/bcmwl5.sys* When it came time to make the .ko file, it reported a syntax error on the last line of the .inf file. I removed that line and the .ko file was generated. As far as using the correct driver is concerned . . . my Broadcom card is a BCM94309, version 4.10.40, in Windows XP Home. I got the driver, with those specs, from the HP website. The only difference was that my hardware specs under XP dates the card version as 11/2/2005 and the driver, on the HP site, is dated 2/17/2006. Panic info . . . there was not much time to get all of the info before it reboot and, at this point, I've uninstalled the driver stuff to avoid panic. I do remember it saying something about a *fatal trap 12* I hope this was info. you were looking for. Again, thanks for your consideration. -Neal -- www.nealhogan.net