DragonFly BSD
DragonFly bugs List (threaded) for 2006-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: kernel panic when running dhclient on tulip


From: Adrian Michael Nida <nida@xxxxxxxx>
Date: Mon, 06 Feb 2006 13:13:47 -0500

Michal,

I just fixed a similar thing for my atheros driver.  You need to add a

lkwt_serialze_enter(ifp->if_serializer);
lkwt_serialze_exit(ifp->if_serializer);

pair to tulip_rx_intr  (which is probably
in /usr/src/sys/dev/netif/tulip/if_tulip.c)

For the atheros code, I was lucky enough to have a NET_GIANT_[UN]LOCK to
swap out.  However, putting the enter after ifp has been defined in the
function and the exit at the end should get you on the right path.

I'm nowhere near a DF box atm and can't supply a patch; but am 99% sure
that is what needs to be done.

Good luck,

Adrian


On Mon, 2006-02-06 at 18:20 +0100, Michal Purzynski wrote:
> hello,
> 
> i'm getting kernel panic each time i run dhclient on my dragon fly 
> installation. probably the most important thing is that it's a 
> "virtual" pc, under MS virtual pc on Mac OS X.
> emulated network card is some "tulip" model.
> below you have a link to the screenshoot of that crash, all panic 
> visible (it's not long).
> http://img97.imageshack.us/my.php?image=panic9np.png
> 
> 
> looking forward for a patch.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]