Re: partition sysfs OOPS in current GIT

From: David Miller
Date: Wed Feb 06 2008 - 18:36:55 EST


From: Greg KH <gregkh@xxxxxxx>
Date: Wed, 6 Feb 2008 15:31:17 -0800

> On Wed, Feb 06, 2008 at 03:26:39PM -0800, David Miller wrote:
> > I'm pretty sure the following changeset is to blame:
> >
> > commit edfaa7c36574f1bf09c65ad602412db9da5f96bf
> > Author: Kay Sievers <kay.sievers@xxxxxxxx>
> > Date: Mon May 21 22:08:01 2007 +0200
> >
> > Driver core: convert block from raw kobjects to core devices
> >
> > This moves the block devices to /sys/class/block. It will create a
> > flat list of all block devices, with the disks and partitions in one
> > directory. For compatibility /sys/block is created and contains symlinks
> > to the disks.
>
> So I'm guessing if you revert this it works?

Unfortunately that's not so simple to test because afterwards there
are changesets where all the files under block/ got renamed and as
such I can't just revert that single patch from the tip.

> Do you have CONFIG_SYSFS_DEPRECATED=Y or N?

I have SYSFS_DEPRECATED=y
--
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/