Who mounts sysfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux