Locking fixes for dc(4): please test!

Simon L. Nielsen simon at FreeBSD.org
Fri Aug 5 17:27:35 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050805/b80c341a/attachment.bin


More information about the freebsd-current mailing list