Re: ie(4) MPSAFE patch

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 2 Jun 2008 15:29:26 -0400
On Sunday 01 June 2008 11:26:35 am Thierry Herbelot wrote:
> 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: <Intel EtherExpress 16> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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

Cool, thanks for testing.

> 	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

Try http://www.FreeBSD.org/~jhb/patches/ie_mod.patch

-- 
John Baldwin
Received on Mon Jun 02 2008 - 18:38:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC