linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Who mounts sysfs?
@ 2009-06-25 10:36 Will Newton
  2009-06-25 15:18 ` Greg KH
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Will Newton @ 2009-06-25 10:36 UTC (permalink / raw)
  To: linux-hotplug

Hi all,

I'm trying to get the libertas driver working on an embedded
development board and I've run into what looks like a sysfs problem.
Although I'm actually using the BusyBox mdev hotplug helper rather
than udev, I hope this is the right list to be asking this question.

What appears to be happening is I get my initramfs extracted, so I
have access to the various necessary files including the hotplug
helper and my firmware files. This step is taken care of by the rootfs
initcall level. Then the driver initcalls are run, including the
libertas setup routines, which call request_firmware. request_firmware
fires off a uevent and calls the hotplug helper. The hotplug helper
looks for the /sys/class/firmware entry for the libertas device, but
it doesn't find one because I don't appear to have a mounted sysfs on
the /sys mountpoint.

So my question is: who should be mounting sysfs here? init will mount
sysfs, but is run much later than the device initcalls.

Any help would be much appreciated,

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-06-26  0:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 10:36 Who mounts sysfs? Will Newton
2009-06-25 15:18 ` Greg KH
2009-06-25 15:53 ` Will Newton
2009-06-25 16:28 ` Greg KH
2009-06-25 16:57 ` Will Newton
2009-06-25 17:13 ` Greg KH
2009-06-25 18:06 ` Will Newton
2009-06-25 18:29 ` Greg KH
2009-06-26  0:12 ` Kay Sievers

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).