From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux1394-devel@lists.sourceforge.net,
Greg Kroah-Hartman <gregkh@suse.de>,
linux-kernel@vger.kernel.org,
Dmitry Torokhov <dtor@insightbb.com>
Subject: Re: deadlock in "modprobe -r ohci1394" shortly after "modprobe ohci1394"
Date: Tue, 21 Nov 2006 09:05:48 +0100 [thread overview]
Message-ID: <4562B35C.7090807@s5r6.in-berlin.de> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0611201942270.30952-100000@netrider.rowland.org>
Alan Stern wrote:
> The real issue here is the way ieee1394 sets up children of devices with
> no driver. On the face of it that is quite illogical: If a device has no
> driver, then who can interrogate it to find out about its children?
Perhaps I should turn this dummy driver into an actual representation of
ieee1394 or ieee1394's nodemgr.
> USB faces a similar situation. In a USB device, all the real work is
> actually done by "interfaces". So we set up a device structure for the
> USB device itself, plus device structures for each of its interfaces. The
> parent structure is bound to a (more or less) dummy driver, which insures
> that the child structures are deleted whenever it gets unbound.
I will eventually more thoroughly look at how USB and other subsystems
with device hierarchies do it.
> Still, maybe some compromise can be reached. Perhaps Dmitry's idea, or
> something like it, can be adopted.
Thanks for the input of both of you.
--
Stefan Richter
-=====-=-==- =-== =-=-=
http://arcgraph.de/sr/
next prev parent reply other threads:[~2006-11-21 8:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-19 0:12 Stefan Richter
2006-11-19 14:23 ` Stefan Richter
2006-11-19 19:54 ` Alan Stern
2006-11-19 21:55 ` Stefan Richter
2006-11-20 19:31 ` Alan Stern
2006-11-20 20:45 ` Stefan Richter
2006-11-20 21:28 ` Alan Stern
2006-11-21 0:21 ` Stefan Richter
2006-11-21 0:49 ` Alan Stern
2006-11-21 8:05 ` Stefan Richter [this message]
2006-11-21 21:50 ` [PATCH] ieee1394: nodemgr: fix deadlock in shutdown Stefan Richter
2006-11-22 2:02 ` Alan Stern
2006-11-22 20:09 ` Stefan Richter
2006-11-20 3:41 ` deadlock in "modprobe -r ohci1394" shortly after "modprobe ohci1394" Dmitry Torokhov
2006-11-20 19:18 ` Alan Stern
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=4562B35C.7090807@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=dtor@insightbb.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
--cc=stern@rowland.harvard.edu \
/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
all inboxes | Powered by JetHome®