On Wed, Sep 08, 2010 at 03:19:51PM +0200, Andi Kleen wrote: > From: Andi Kleen > > I have some systems which need legacy sysfs due to old udev versions, > and it's a big hazzle to compile separate kernels for them. > > This patch turns CONFIG_SYSFS_DEPRECATED into a run time option > that can be switched on/off the kernel command line. This way > the same binary can be used in both cases with just a option > on the command line. Nice idea. It will make testing easier for lots of people. But, Kay and I just changed the logic in the kernel in this area, getting rid of the CONFIG_SYSFS_DEPRECATED_V2 option entirely, to try to make the code path smaller, only offering the "old" mode for block devices, to keep kernels booting on userspace instances like what you have. So, could you respin this patch against the linux-next tree which has Kay's patch in it? Or, if it's easier, I've attached the patch below. thanks, greg k-h