From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Missing remove event
Date: Fri, 30 Dec 2005 22:33:38 +0000 [thread overview]
Message-ID: <20051230223338.GA6758@vrfy.org> (raw)
In-Reply-To: <20051229000359.GB15058@hank.org>
On Fri, Dec 30, 2005 at 02:12:50PM -0800, Bill Moseley wrote:
> On Fri, Dec 30, 2005 at 09:52:42PM +0100, Kay Sievers wrote:
> > On Fri, Dec 30, 2005 at 12:40:58PM -0800, Bill Moseley wrote:
> > > Is there anything else I could provide that might help debug this?
> > >
> > > Does the udev system get hotplug events differently? That is, would
> > > it make any difference if I switch to using udev?
> >
> > That's very unlikely to change anything. It looks more like a driver
> > or bus driver issue.
>
> By driver do you mean prism54?
Yes, that's the first place to ask for already known issues.
> I guess not because it looks more like
> /sbin/hotplug just isn't being run when the card is pulled out in some
> cases.
It's the driver, or the bus driver that causes this event. If hotplug
doesn't run, it's very likey an issue inside the kernel.
> > > >
> > > > Then plugging the card back in nothing happens. Manually running
> > > > modprobe prism54 goes through much of the same logging, but the
> > > > lights never come on on the wireless card:
> >
> > You may ask the driver maintainer if there is a way to work around this,
> > or a known issue. It doesn't look like a hotplug or driver core thing.
>
> Unfortunately, it's a black box to me. I was assuming that since it
> wasn't detecting the card removal that it also wasn't then detecting
> the card insertion and that there was something else missing than just
> reloading the drivers (such as powering up the slot??).
>
> Is there something else to watch besides /sbin/hotplug to see if the
> kernel is detecting the card removal? Something more low-level I can
> check to see what's happening (or not happening) when the card is
> ejected?
No, not from userspace. As /proc and /sys showed, the device remains in the
kernel, even whern it's physically removed. So you very likely need to
look _in_ the kernel for the problem.
> Sorry for the basic questions. The hardware has worked so well in the
> past I haven't had the need to understand how all the parts fit
> together. ;)
Yeah, no wonder, it's pretty complex and today no single person can
understand everything that's going on all over the place on modern
operating systems.
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_id\x16865&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
prev parent reply other threads:[~2005-12-30 22:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-29 0:03 Missing remove event Bill Moseley
2005-12-29 3:46 ` Kay Sievers
2005-12-29 6:50 ` Bill Moseley
2005-12-29 6:59 ` Bill Moseley
2005-12-30 20:40 ` Bill Moseley
2005-12-30 20:52 ` Kay Sievers
2005-12-30 22:12 ` Bill Moseley
2005-12-30 22:33 ` Kay Sievers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051230223338.GA6758@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).