Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2008 17:53:12 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        jhb@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: ex(4) MPSAFE patch
Message-ID:  <20080612.175312.-399267737.imp@bsdimp.com>
In-Reply-To: <20080604.001339.-1350499725.imp@bsdimp.com>
References:  <200805281747.05475.jhb@FreeBSD.org> <20080604.001339.-1350499725.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20080604.001339.-1350499725.imp@bsdimp.com>
            "M. Warner Losh" <imp@bsdimp.com> writes:
: In message: <200805281747.05475.jhb@FreeBSD.org>
:             John Baldwin <jhb@freebsd.org> writes:
: : I have a patch for ex(4) to make it MPSAFE.  I have no hardware to test it, 
: : however.  If you value this driver, test this patch.
: : 
: : http://www.FreeBSD.org/~jhb/patches/ex.patch
: 
: My PC Card based ex device is still detected after these changes.
: However, I foolishly forgot the dongle, so I can't test it for about a
: week.

This message was composed from a machine that was connected to the
Internet with the ex driver:

% ifconfig ex0
ex0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:00:24:81:5e:22
        inet 10.0.0.191 netmask 0xffffff00 broadcast 10.0.0.255
        media: Ethernet 10baseT/UTP
        status: active
% dmesg | tail -3
ex0: <Olicom Ethernet> at port 0x300-0x30f irq 20 function 0 config 1 on pccard0
ex0: Ethernet address: 00:00:24:81:5e:22
ex0: [ITHREAD]
% netstat -in
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  Coll
...
ex0    1500 <Link#2>      00:00:24:81:5e:22      234     0      540    51     0
ex0    1500 255.255.255.1 10.0.0.191             206     -      291     -     -
%

so it looks like it is working.  Not sure why it is getting those
Oerrs, but I'm not seeing anything major wrong with it.

I'd say we're a 'go' for committing this card.  I have some ISA
versions of this card, but no ISA machines to test them on.  Rather
begs the question why I still have the ISA card collection...

Warner

P.S.  I've not tried to eject the card yet....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080612.175312.-399267737.imp>