Re: [PATCH] driver core: remove CONFIG_SYSFS_DEPRECATED

From: Greg KH
Date: Thu Jul 15 2010 - 00:16:14 EST


On Wed, Jul 14, 2010 at 04:38:52PM -0700, Andrew Morton wrote:
> On Fri, 9 Jul 2010 11:54:50 -0700
> Greg Kroah-Hartman <gregkh@xxxxxxx> wrote:
>
> > This is no longer needed by any userspace tools, so it's safe to
> > remove.
>
> Makes my FC6 test box not boot - can't find /dev/root. Then when I go
> back to plain old mainline (2.6.35-rc5) and run `make oldconfig', the
> .config change sticks:
>
> @@ -106,8 +106,7 @@
> CONFIG_LOG_BUF_SHIFT=17
> CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
> # CONFIG_CGROUPS is not set
> -CONFIG_SYSFS_DEPRECATED=y
> -CONFIG_SYSFS_DEPRECATED_V2=y
> +# CONFIG_SYSFS_DEPRECATED_V2 is not set
> CONFIG_RELAY=y
> CONFIG_NAMESPACES=y
> # CONFIG_UTS_NS is not set
>
> and the box still won't boot.

Ick, that sucks.

What kernel was FC6 based on originally?

Kay, I thought that Fedora had fixed the "can't find root" issue for
this type of sysfs configuation a long time ago. Or was that something
else for PPC that I am thinking of?

thanks,

greg k-h
--
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/