Re: Locking fixes for dc(4): please test!

From: Simon L. Nielsen <simon_at_FreeBSD.org>
Date: Fri, 5 Aug 2005 19:27:32 +0200
On 2005.08.05 10:40:03 -0400, John Baldwin wrote:
> On Thursday 04 August 2005 05:27 pm, Simon L. Nielsen wrote:
> > On 2005.08.04 12:55:05 -0400, John Baldwin wrote:
> > > I have some fixes for the locking in the dc(4) driver, please test them
> > > if you have some dc(4) hardware, thanks!
> > >
> > > http://www.FreeBSD.org/~jhb/patches/dc_locking.patch
> >
> > It hasn't blown up yet with:
> >
> > dc0: <Intel 21143 10/100BaseTX> port 0xec00-0xec7f mem
> > 0xeb104000-0xeb1043ff irq 15 at device 20.0 on pci0 dc0: Ethernet address:
> > 00:40:f4:36:4e:e7
> > dc0: if_start running deferred for Giant
> > dc0: [GIANT-LOCKED]
> 
> Ok.  Try changing the IS_MPSAFE at around line 348 flag from 0 to 1 and see if 
> it blows up then. :)  Thanks for testing.

Also works fine, and the two last lines are gone from dmesg.
BTW. this is on i386 UP.

-- 
Simon L. Nielsen

Received on Fri Aug 05 2005 - 15:27:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC