Panic in tulip_txprobe

Bernd Walter ticso at cicely12.cicely.de
Wed Dec 21 16:08:54 PST 2005


On Wed, Dec 21, 2005 at 01:47:56PM -0500, John Baldwin wrote:
> On Wednesday 21 December 2005 01:07 pm, Bernd Walter wrote:
> > On Wed, Dec 21, 2005 at 10:21:12AM -0500, John Baldwin wrote:
> > > This is more fallout from Ruslan's IF_LLADDR changes.   The simplest fix
> > > would be to change tulip_txprobe() to use sc->tulip_enaddr rather than
> > > IF_LLADDR prior to the call to ether_ifattach().  Hmmm,
> > > tulip_addr_filter() can also be called from tulip_init_locked() via
> > > tulip_linkup() via tulip_media_poll() as well.  *sigh*  I hate to call
> > > ether_ifattach() before the chip is actually known to be in a working
> > > state though which is the other alternative.  You can try this patch
> > > which uses sc->tulip_enaddr early on:
> >
> > It's booting with your patch.
> > If you need a functional test let me know - so far the card is just in,
> > because it's a combo card, network connection is done using an fxp card.
> 
> Booting is good. :)  That's mostly what it changes.  The only other thing to 
> test would be to hook a cable up to it and make sure it works, then change 
> the MAC address via ifconfig and make sure it can figure out its link state 
> ok and still work.

Looks good:
[53]cicely4# ifconfig de0
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.1.1.6 netmask 0xffffff00 broadcast 10.1.1.255
        ether 08:00:2b:e7:a1:d6
        media: Ethernet autoselect (10baseT/UTP)
        status: active
[54]cicely4# ifconfig de0 link 08:00:2b:e7:a1:de
[55]cicely4# ifconfig de0
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.1.1.6 netmask 0xffffff00 broadcast 10.1.1.255
        ether 08:00:2b:e7:a1:de
        media: Ethernet autoselect (10baseT/UTP)
        status: active

Login was ssh using de0, so it's working.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd at bwct.de                                  info at bwct.de



More information about the freebsd-alpha mailing list