Locking fixes for dc(4): please test!

John Baldwin jhb at FreeBSD.org
Fri Aug 5 14:49:14 GMT 2005


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.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-alpha mailing list