I have traced the program that is trying to bring up
ifup eth0 upon reinsertion of my lan card.... to
/etc/hotplug/net.agent. It appears to try to run ifup
eth0, but there is no signs of success on this. The
log does bring uip the message of the attempted invoke
(without error message)

I even played with the idea of calling it twice within
the script, but it didn't work either. However
manually "ifup eth0" works.

I included straces of "service pcmcia restart" and
"/etc/hotplug/net.agent" in case that would be of
help. I also modified the ifup so that it removes any
processes that are running, before the rest of the
script gets started. 

The additions to ifup are (courtesy of Liam Quin with
a minor modification by me):

if test -f /etc/dhcpc/dhcpcd-eth0.pid
then
    if kill -0 `cat /etc/dhcpc/dhcpcd-eth0.pid`
    then
        # still running
        kill `cat /etc/dhcpc/dhcpcd-eth0.pid`
    else
        /bin/rm -f /etc/dhcpc/dhcpcd-eth0.pid
    fi
fi




--- SI Reasoning <[EMAIL PROTECTED]> wrote:
> If I restart pcmcia or remove then reinsert my lan
> pc
> card (it does not matter which one as I tried
> several
> different kinds), The network is not starting (in
> particular no ifup eth0). As you will see below, it
> appears to try to run ifup eth0 but it does not
> succeed. I also noticed that when I shut down pcmcia
> or remove the lan card, certain modules are not
> removed (in particular xircom_cb and xircom_tulip_cb
> for realport2 and 3c59x for 3com 3ccfe575bt)
> 
> Feb 12 02:40:19 sidell cardmgr[12976]: socket 1:
> CardBus hotplug device 
> Feb 12 02:40:19 sidell /etc/hotplug/pci.agent:
> pcimodules is scanning more than ... 
> Feb 12 02:40:19 sidell /etc/hotplug/pci.agent: Setup
> xircom_tulip_cb xircom_cb ohci1394 yenta_socket
> maestro3 usb-uhci uhci i810_rng for PCI slot 07:00.0
> 
> Feb 12 02:40:19 sidell /etc/hotplug/pci.agent:
> missing
> kernel or user mode driver xircom_tulip_cb 
> Feb 12 02:40:19 sidell /etc/hotplug/pci.agent:
> missing
> kernel or user mode driver xircom_cb 
> Feb 12 02:40:19 sidell /etc/hotplug/pci.agent:
> missing
> kernel or user mode driver ohci1394 
> Feb 12 02:40:19 sidell /etc/hotplug/net.agent:
> invoke
> ifup eth0 
> Feb 12 02:40:19 sidell /etc/hotplug/pci.agent:
> missing
> kernel or user mode driver yenta_socket 
> Feb 12 02:40:19 sidell /etc/hotplug/pci.agent:
> missing
> kernel or user mode driver maestro3 
> Feb 12 02:40:19 sidell /etc/hotplug/pci.agent: ...
> blacklisted module: usb-uhci 
> Feb 12 02:40:20 sidell kernel: uhci.c: USB Universal
> Host Controller Interface driver v1.1 
> Feb 12 02:40:20 sidell insmod:
> /lib/modules/2.4.17-16mdk/kernel/drivers/usb/uhci.o:
> init_module: No such device 
> Feb 12 02:40:20 sidell insmod: Hint: insmod errors
> can
> be caused by incorrect module parameters, including
> invalid IO or IRQ parameters 
> Feb 12 02:40:20 sidell modprobe: modprobe: insmod
> /lib/modules/2.4.17-16mdk/kernel/drivers/usb/uhci.o
> failed 
> Feb 12 02:40:20 sidell modprobe: modprobe: insmod
> uhci
> failed 
> Feb 12 02:40:20 sidell /etc/hotplug/pci.agent: ...
> can't load module uhci 
> Feb 12 02:40:20 sidell /etc/hotplug/pci.agent:
> missing
> kernel or user mode driver i810_rng 
> 
> 
> =====
> SI Reasoning
> [EMAIL PROTECTED]
> 
> "To announce that there must be no criticism of the
> president or that we are to stand by the president,
> right or wrong, is not only unpatriotic and servile,
> but is morally treasonable to the American public."
> Theodore Roosevelt
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
> 


=====
SI Reasoning
[EMAIL PROTECTED]

"To announce that there must be no criticism of the president or that we are to stand 
by the president, right or wrong, is not only unpatriotic and servile, but is morally 
treasonable to the American public."
Theodore Roosevelt

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

Attachment: pcmcia_restart.trace
Description: pcmcia_restart.trace

Attachment: net.agent.trace
Description: net.agent.trace

Reply via email to