From owner-freebsd-current@FreeBSD.ORG Sun Jun 1 16:17:42 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 427B7106564A; Sun, 1 Jun 2008 16:17:42 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id BA1118FC18; Sun, 1 Jun 2008 16:17:41 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by postfix2-g20.free.fr (Postfix) with ESMTP id 72DA826C61E2; Sun, 1 Jun 2008 15:46:01 +0200 (CEST) Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id 847F23EA103; Sun, 1 Jun 2008 17:46:23 +0200 (CEST) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g19.free.fr (Postfix) with ESMTP id 478CF3EA0F4; Sun, 1 Jun 2008 17:46:23 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by mail.herbelot.nom (8.14.1/8.14.1) with ESMTP id m51FQpvr007882; Sun, 1 Jun 2008 17:28:22 +0200 (CEST) From: Thierry Herbelot To: John Baldwin Date: Sun, 1 Jun 2008 17:26:35 +0200 User-Agent: KMail/1.9.7 References: <200805291503.15787.jhb@freebsd.org> In-Reply-To: <200805291503.15787.jhb@freebsd.org> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200806011726.36771.thierry@herbelot.com> Cc: current@freebsd.org Subject: Re: ie(4) MPSAFE patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 16:17:42 -0000 Le Thursday 29 May 2008, John Baldwin a écrit : > I have a patch to make ie(4) MPSAFE. I have no hardware to test it > however. Note that this patch is relative to HEAD, so for testing on > RELENG_[67] you would first need to MFC the most recent commits to if_ie.c > and if_ievar.h (removing the 'unit' field from the softc) and then apply > this patch. > > http://www.FreeBSD.org/~jhb/patches/ie.patch Hello, thanks for the patch ; here is the startup, for a -current kernel : ie1: at port 0x360-0x36f iomem 0xd0000-0xd7fff irq 5 on isa0 ie1: hardware type EtherExpress 16, revision 1 ie1: bpf attached ie1: Ethernet address: 00:aa:00:26:ea:c4 ie1: [MPSAFE] ie1: [ITHREAD] it seems to be working fine (including firewalling with pf) : ie1: flags=8843 metric 0 mtu 1500 ether 00:aa:00:26:ea:c4 inet6 fe80::2aa:ff:fe26:eac4%ie1 prefixlen 64 scopeid 0x5 inet 192.168.4.3 netmask 0xffffff00 broadcast 192.168.4.255 # ping 192.168.4.8 PING 192.168.4.8 (192.168.4.8): 56 data bytes 64 bytes from 192.168.4.8: icmp_seq=0 ttl=255 time=4.130 ms 64 bytes from 192.168.4.8: icmp_seq=1 ttl=255 time=1.720 ms 64 bytes from 192.168.4.8: icmp_seq=2 ttl=255 time=1.601 ms TfH PS : there is also this kind of harmless messages at boot : # ifconfig ie1 up module_register: module isa/ie_SL already exists! Module isa/ie_SL failed to register: 17 module_register: module isa/ie_EE16 already exists! Module isa/ie_EE16 failed to register: 17 module_register: module isa/ie_3C507 already exists! Module isa/ie_3C507 failed to register: 17