From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 29 Dec 2005 03:46:47 +0000 Subject: Re: Missing remove event Message-Id: <20051229034647.GB23953@vrfy.org> List-Id: References: <20051229000359.GB15058@hank.org> In-Reply-To: <20051229000359.GB15058@hank.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Dec 28, 2005 at 04:03:59PM -0800, Bill Moseley wrote: > I installed Debian Sarge on a Toshiba 2805 laptop with 2.6.8-2-686 and > acpi=off. This card loads the prism54 driver. > > I get "add" pci events for my cardbus Netgear WG511v1 card. But only > sometimes do I also get a "remove" event -- so if I remove the card I > have to reboot to get the card operational again. What does: cat /proc/net/dev and: ls -l /sys/class/net show in that case? > The laptop was running Debian Sid in the past and I was able to remove > and add the wireless card without rebooting. Does it work if you rmmod the network driver? > Another curious thing is I see a remove firmware event right after the > add firmware event. > Why is there a remove firmware event? Firmware loading is implemented as a "fake kernel device". It gets created, sends an uevent, userspace copies the fw to the kernel and the "firmware device" is removed after that, which sends another event. The event is not used for anything, it's just the logic the driver core works. Kay ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel