Mounting sysfs early

From: Will Newton
Date: Fri Jun 19 2009 - 07:15:24 EST


Hi all,

I currently have a problem with a driver that loads firmware from
userland. The boot process happens in this order:

1. Extract initramfs
2. Load drivers
3. Run init

Unfortunately it appears that step 2 is calling the hotplug helper
which tries to load firmware via sysfs, but sysfs is not mounted until
I have run init so the driver fails to initialise. What is the
recommended way to avoid this situation? Do I have to somehow build
the firmware into the kernel or can I get sysfs mounted before drivers
begin loading?

Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/