Subject: RE: Cardbus removal and system hang....
To: 'Jonathan Stone ' <jonathan@DSG.Stanford.EDU>
From: Ryan Hurst <ryanh@valicert.com>
List: current-users
Date: 10/19/2000 15:36:40
Johnathan thanks for the help! That almost did the trick, I had to modify
your code slightly (I used "ifp" instead of "sc->sc_ethercom.ec_if). But
that made removal work without hanging the machine! 

But all is not okay,  with this new kernel I can never get a DHCP offer, but
when I boot off of the old one I can; dhclient just sits there, I can type
but I can not ctrl-c out but when I remove the card it comes back but with
no IP address though.

Am I in a catch 22 now? now that my interface does not have an IP address I
can not send anything to request one?? 

Ryan
-----Original Message-----
From: Jonathan Stone
To: Ryan Hurst
Cc: 'current-users@netbsd.org'
Sent: 10/19/00 12:08 PM
Subject: Re: Cardbus removal and system hang....


>Sugestions are appriciated!

Try adding the  line
	
	(sc->sc_ethercom.ec_if->if_flags & IFF_RUNNING) != 0 ||

to sys/dev/ic/etherxl.c at about line 1093 (i.e., in the if() test
that checks for DVF_ACTIVE).  Rebuild you kernel, and reboot.