Re: new if_sk locking patch...

From: Maxim Maximov <mcsi_at_mcsi.pp.ru>
Date: Tue, 17 Aug 2004 21:24:16 +0400
John-Mark Gurney wrote:
> Ok, I just happen to pick up a Belkin F5D5005 Gige card.  (I couldn't
> resist at $25.)  They were nice enough to include Linux drivers on the
> CD (yeh!) which made it much easier for me to find out what driver it
> was compatible with.  It didn't take much time to get the card working.
> 
> Of course, once I had the card working I was getting soooo many LOR's
> that my serial console was overloaded.  I took Doug White's patch and
> modified it a little.  I left in the recursion since I wanted to get
> it working first.
> 
> So, here it is attached, and availabe at:
> http://people.freebsd.org/~jmg/if_sk.diff
> 
> I don't get any LOR's w/ this patch and debug.mpsafenet=1.  I didn't
> try using it as a module though.  (Hence I don't know if kldload/kldunload
> works.)
> 
> Test it out and let me know how it works for you.
> 

Hello.

	This patch fixes all witness errors and LOR 011 (from 
http://sources.zabbadoz.net/freebsd/lor.html) and kern/69752 can be 
closed after committing. The card itself is working ok.

skc0: <3Com 3C940 Gigabit Ethernet> port 0xa800-0xa8ff mem 
0xfeafc000-0xfeafffff irq 18 at device 0.0 on pci2
skc0: 3Com Gigabit LOM (3C940)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0e:a6:b9:f9:f8
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
1000baseTX-FDX, auto

	Thank you very much, now I can remove 'options 
MSGBUF_SIZE=1048576' from my kernel config :)

-- 
Maxim Maximov
Received on Tue Aug 17 2004 - 15:24:29 UTC

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