From owner-freebsd-current@FreeBSD.ORG Tue Aug 17 17:24:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 824C716A4CE for ; Tue, 17 Aug 2004 17:24:29 +0000 (GMT) Received: from cpanel.ezone.ru (cpanel.ezone.ru [213.85.31.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A37843D39 for ; Tue, 17 Aug 2004 17:24:28 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from [81.195.2.135] (ppp2-135.pppoe.mtu-net.ru [81.195.2.135]) (authenticated bits=0) by cpanel.ezone.ru (8.13.1/8.12.11) with ESMTP id i7HHOLQN038949; Tue, 17 Aug 2004 21:24:21 +0400 (MSD) (envelope-from mcsi@mcsi.pp.ru) Message-ID: <41223F40.8030702@mcsi.pp.ru> Date: Tue, 17 Aug 2004 21:24:16 +0400 From: Maxim Maximov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040810 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: John-Mark Gurney References: <20040817072438.GA99980@funkthat.com> In-Reply-To: <20040817072438.GA99980@funkthat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on mail3.ezone.ru cc: freebsd-current@freebsd.org Subject: Re: new if_sk locking patch... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 17:24:29 -0000 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: on skc0 sk0: Ethernet address: 00:0e:a6:b9:f9:f8 miibus0: on sk0 e1000phy0: 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