Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 1999 09:26:10 +0200 (MET DST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        Eric Jacoboni <jaco@titine.fr.eu.org>
Cc:        FreeBSD-mobile@FreeBSD.ORG
Subject:   Re: Configuring PCMCIA NIC after it's loaded
Message-ID:  <Pine.GS4.4.10.9909060925490.5512-100000@elect8>
In-Reply-To: <87r9kdnd5l.fsf@titine.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help



The lines are in the wrong order:

 > >    config <stuff goes here>
 > >    insert /etc/pccard_ether ep0
 > >    insert kldload /lkm/setmac.ko
 > >    insert /usr/local/sbin/setmac ep0 <blah>


 > "Chris D. Faulhaber" <jedgar@fxp.org> writes:
 > 
 > > Try putting the commands in /etc/pccard.conf in an 'insert' line:
 > > 
 > > card "<MANUFACTURER>" "<CARD VERSION>"
 > > 	config <stuff goes here>
 > > 	insert kldload /lkm/setmac.ko
 > > 	insert /usr/local/sbin/setmac ep0 <blah>
 > > 	insert /etc/pccard_ether ep0
 > 
 > Oh no ! If i try this, my laptop resets at boot times after having
 > loaded pccard and without unmount / :(
 > 
 > The pb seems that these lines are called _before_ ep0 is up.
 > 
 > I can get the same pb if i forget to make a 'ifconfig ep0 down' before 
 > the 'setmac ep0 blah'... or even if ep0 is not yet configured.
 > 
 > It's _very_ important that 'setmac ep0 blah' is called _after_ ep0 is
 > down, and ep0 can be down only _after_ pccard has done is job (as long
 > i've understood this process).
 > 
 > With your solution, it seems that, when setmac is called, ep0 is not
 > yet configured (/var/log/messages says 'ep0: no such device').
 > 
 > Anyway, thanks for your help, i'm still searching...
 > 

-- 
ISIS/STA, T.P.270, Joint Research Centre, 21020 Ispra, Italy



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GS4.4.10.9909060925490.5512-100000>