[tulip] the question about hotplug in tulip driver(not buildtin kernel 2.4)
Ming Chuan Huang
huangmc@csie.nctu.edu.tw
Tue Feb 11 21:04:01 2003
----- Original Message -----
From: "Donald Becker" <becker@scyld.com>
To: "Ming Chuan Huang" <huangmc@csie.nctu.edu.tw>
Cc: <tulip@scyld.com>
Sent: Wednesday, February 12, 2003 9:29 AM
Subject: Re: [tulip] the question about hotplug in tulip driver(not buildtin
kernel 2.4)
> On Wed, 12 Feb 2003, Ming Chuan Huang wrote:
>
> > I think I may misconfigure hotplug. I use RH 7.3 with default kernel
> > version 2.4.18-3 and I use ADMtek 985 cardbus. I modify the file located
at
> > /lib/module/2.4.18-3/modules.pcimap and added support to my card.It
works
> > when I insert my card(It loads the tulip dirver I made,I sure) and
driver
> > does not unload (type lsmod to check) when I remove the card. The timer
is
> > alive(I add some debug message). I reinsert the card, but it will never
work
> > until I rmmod driver.
>
> Is there a message from the driver?
> Is the usage count '0' in /proc/modules?
>
No, the count of tulip is 1. This is strange. The driver does not show
anything, and the card service shows
the following message cs: cb_free(bus 2)
Now, I test the driver.
1.insmod pci-scan.o
2.insmod tulip.o
3.remove the cardbus.
The same situlation happens. I type the command "ifconfig -a" eth0 exists
when I remove the card.
> --
> Donald Becker becker@scyld.com
> Scyld Computing Corporation http://www.scyld.com
> 410 Severn Ave. Suite 210 Scyld Beowulf cluster system
> Annapolis MD 21403 410-990-9993
>
-----------------------------------------------------------------
< ¨C¤Ñ³£ Yahoo!©_¼¯ > www.yahoo.com.tw