Re: ndis panic HP pavilion ze4400 won't boot

2009-01-10 Thread Neal Hogan
On Fri, Jan 9, 2009 at 1:07 PM, Glen Barber glen.j.bar...@gmail.com wrote:

 
  I'm in the process of sync'ing up my system with source . . . but, in the
  meantime I'm wondering about the choice of Broadcom driver. Is it really
 a
  matter of trying different ones?

 It was for me.  It took me 3 tries before I found one that 'worked'.

  I updated the driver this morning to a new
  version. Is that not the driver that I'll use for the ndiswrapper? Should
 an
  older version, perhaps the one that was originally installed?
 

 If I remember correctly, the version I use is 3 versions back from the
 latest update.

  I apologize if these questions are rather simple and naiive.
 

 Not at all.  Broadcom is difficult sometimes.  This is one of those times.

 --
 Glen Barber
 570.328.0318


Well, it took me all day, but I did synch-up the source with the kernel.
However, being new to the ways of fBSD I (accidentally) ended up building
the -CURRENT source and kernel (8.0). I tried ndisgen on the latest driver
and it didn't work . . . I'll tell you why in a second.

I'm a bit uncomfortable dealing with current. I'd rather go back to the
7.1-RELEASE, which claims to have better ndis support. FYI - I've dual
booted fBSD, and am merely experimenting with it. So, while it may seem odd
that I continue to move between versions, I do have access to other machines
that have more familiar environments (oBSD and XP).

Now, the *ndisgen path/to/inf path/to/sys* didn't work because it said that
the .inf file was in a different format than it expected. So, I attempted to
convert it to ascii using *iconv -c -f utf-16 -t ascii path/to/inf 
.inf.ascii* and use the new file as the .inf. Again, it said it was the
wrong format. That's when I bailed. So as not to waste my time with 8.0,
because I wish to pursue expermenting on 7.1. Anyway . . . at this time, I
have one more question regarding the driver that will end up being
successfull (hopefully there is one).

Should I have to manipulate the .inf file? There is the wrong format issue,
mentioned above, and when setting up ndis in the panicky situation,
ndisgen claimed that the last line of the .inf file was bad (I forget the
actual teminology used). So, I deleted that line and it successfully
generated the .ko file. It seems odd to me that I would have to manipulate
the driver information so much and that it may the source of some of my ndis
problems. Another way of asking this question . . . will the successful
driver just work (i.e., not need such manipulations)?

Thanks for you patience.

-- 
www.nealhogan.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-10 Thread Glen Barber

Neal Hogan wrote:


Well, it took me all day, but I did synch-up the source with the kernel. 
However, being new to the ways of fBSD I (accidentally) ended up 
building the -CURRENT source and kernel (8.0). I tried ndisgen on the 
latest driver and it didn't work . . . I'll tell you why in a second.




Lesson learned, I suppose.

I'm a bit uncomfortable dealing with current. I'd rather go back to the 
7.1-RELEASE, which claims to have better ndis support. FYI - I've dual 
booted fBSD, and am merely experimenting with it. So, while it may seem 
odd that I continue to move between versions, I do have access to other 
machines that have more familiar environments (oBSD and XP).




Well, if you are going back to 7.X, I'd start from scratch.  If you 
haven't gotten WiFi working yet, I assume you haven't gotten much else 
configured on the system.  Doing a fresh install will alleviate some 
headaches, in my opinion.


Now, the *ndisgen path/to/inf path/to/sys* didn't work because it said 
that the .inf file was in a different format than it expected. So, I 
attempted to convert it to ascii using *iconv -c -f utf-16 -t ascii 
path/to/inf  .inf.ascii* and use the new file as the .inf. Again, it 
said it was the wrong format. That's when I bailed. So as not to waste 
my time with 8.0, because I wish to pursue expermenting on 7.1. Anyway . 


This could be due to something in -CURRENT.  I'm not sure.

. . at this time, I have one more question regarding the driver that 
will end up being successfull (hopefully there is one).


Should I have to manipulate the .inf file? There is the wrong format 
issue, mentioned above, and when setting up ndis in the panicky 
situation, ndisgen claimed that the last line of the .inf file was bad 
(I forget the actual teminology used). So, I deleted that line and it 


Besides `iconv' if needed, no, you shouldn't have to edit anything in 
the .INF and .SYS files.  If they don't work, something else is wrong.


successfully generated the .ko file. It seems odd to me that I would 
have to manipulate the driver information so much and that it may the 
source of some of my ndis problems. Another way of asking this question 
. . . will the successful driver just work (i.e., not need such 
manipulations)?




Ideally, yes, it should 'just work'.


Thanks for you patience.



--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-09 Thread Neal Hogan
On Thu, Jan 8, 2009 at 4:20 PM, Glen Barber glen.j.bar...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 4:59 PM, Neal Hogan nealho...@gmail.com wrote:
 
 
  On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber glen.j.bar...@gmail.com
 wrote:
 
  On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan nealho...@gmail.com
 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-09 Thread Glen Barber
On Fri, Jan 9, 2009 at 9:18 AM, Neal Hogan nealho...@gmail.com wrote:
 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).


Just use `kldload bcmwl5_sys` without the `.ko' at the end.

 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.


This could be causing a problem if the kernel and userland (ndis
included) are out of sync.

 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.


Try using an older/newer .inf and .sys file.

 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*


Fatal trap 12 is kind of a generic error message.  What appears before
that actual trap is the important part.

 I hope this was info. you were looking for. Again, thanks for your
 consideration.


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-09 Thread Neal Hogan
On Fri, Jan 9, 2009 at 8:24 AM, Glen Barber glen.j.bar...@gmail.com wrote:

 On Fri, Jan 9, 2009 at 9:18 AM, Neal Hogan nealho...@gmail.com wrote:
  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).
 

 Just use `kldload bcmwl5_sys` without the `.ko' at the end.

  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.
 

 This could be causing a problem if the kernel and userland (ndis
 included) are out of sync.

  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.
 

 Try using an older/newer .inf and .sys file.


I'm in the process of sync'ing up my system with source . . . but, in the
meantime I'm wondering about the choice of Broadcom driver. Is it really a
matter of trying different ones? I updated the driver this morning to a new
version. Is that not the driver that I'll use for the ndiswrapper? Should an
older version, perhaps the one that was originally installed?

I apologize if these questions are rather simple and naiive.


  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*
 

 Fatal trap 12 is kind of a generic error message.  What appears before
 that actual trap is the important part.

  I hope this was info. you were looking for. Again, thanks for your
  consideration.
 

 --
 Glen Barber




-- 
www.nealhogan.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-09 Thread Glen Barber

 I'm in the process of sync'ing up my system with source . . . but, in the
 meantime I'm wondering about the choice of Broadcom driver. Is it really a
 matter of trying different ones?

It was for me.  It took me 3 tries before I found one that 'worked'.

 I updated the driver this morning to a new
 version. Is that not the driver that I'll use for the ndiswrapper? Should an
 older version, perhaps the one that was originally installed?


If I remember correctly, the version I use is 3 versions back from the
latest update.

 I apologize if these questions are rather simple and naiive.


Not at all.  Broadcom is difficult sometimes.  This is one of those times.

-- 
Glen Barber
570.328.0318
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-08 Thread Paul B. Mahol
On 1/8/09, Neal Hogan nealho...@gmail.com 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.

You can enter loader and from there unload bcmwl5_sys, type: unload bcmwl5_sys.
loader is started one step before kernel.

Before ever changing loader.conf you really should test it via kldload(1)
and report any ndis issues via PR.
From where you fetched drivers and for what windows version?


-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-08 Thread Neal Hogan
On Thu, Jan 8, 2009 at 3:10 PM, Paul B. Mahol one...@gmail.com wrote:

 On 1/8/09, Neal Hogan nealho...@gmail.com 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.

 You can enter loader and from there unload bcmwl5_sys, type: unload
 bcmwl5_sys.
 loader is started one step before kernel.

 Before ever changing loader.conf you really should test it via kldload(1)
 and report any ndis issues via PR.
 From where you fetched drivers and for what windows version?

Paul


Paul,

Thanks for the suggestion! However, it's not working. I've tried *unload
/boot/kernel/bcmwl5_sys.ko* *unload bcmwl5_sys* *unload bcmwl5_sis.ko*
*unload* and they all simply return to the OK prompt (should it tell me
something?).

When I boot/reboot it fails the same as before.

As far as *kldload*ing goes, I tried that and it did find the bcmwl5_sys.ko
(it said that the file didn't exist). So, I manually copied it.

I don't remember where I got the driver. I'm pretty sure it was from HP. The
version of Windows is XP Home Edition.


-- 
www.nealhogan.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-08 Thread Glen Barber
On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan nealho...@gmail.com 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-08 Thread Paul B. Mahol
On 1/8/09, Neal Hogan nealho...@gmail.com wrote:
 On Thu, Jan 8, 2009 at 3:10 PM, Paul B. Mahol one...@gmail.com wrote:

 On 1/8/09, Neal Hogan nealho...@gmail.com 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.

 You can enter loader and from there unload bcmwl5_sys, type: unload
 bcmwl5_sys.
 loader is started one step before kernel.

 Before ever changing loader.conf you really should test it via kldload(1)
 and report any ndis issues via PR.
 From where you fetched drivers and for what windows version?

 Paul


 Paul,

 Thanks for the suggestion! However, it's not working. I've tried *unload
 /boot/kernel/bcmwl5_sys.ko* *unload bcmwl5_sys* *unload bcmwl5_sis.ko*
 *unload* and they all simply return to the OK prompt (should it tell me
 something?).

Ah, sorry, unload removes all modules.
You need after unloading all modules to load kernel and any other
modules you want one by one:

OK unload bcmwl5_sys
OK load kernel
OK boot

should work.

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-08 Thread Neal Hogan
On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber glen.j.bar...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan nealho...@gmail.com 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 . . .


-- 
www.nealhogan.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-08 Thread Glen Barber
On Thu, Jan 8, 2009 at 4:59 PM, Neal Hogan nealho...@gmail.com wrote:


 On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber glen.j.bar...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan nealho...@gmail.com 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ndis panic HP pavilion ze4400 won't boot

2009-01-08 Thread Glen Barber
On Thu, Jan 8, 2009 at 5:20 PM, Glen Barber glen.j.bar...@gmail.com wrote:
 On Thu, Jan 8, 2009 at 4:59 PM, Neal Hogan nealho...@gmail.com wrote:


 On Thu, Jan 8, 2009 at 3:37 PM, Glen Barber glen.j.bar...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 11:37 AM, Neal Hogan nealho...@gmail.com 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,

  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?



After rethinking my last statement, with the module in /boot/kernel
*and* an entry in loader.conf you are loading the module twice.  Move
the module to /boot/modules where it should be.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org