Re: [PATCH 22/54] kset: convert /sys/devices/system to use kset_create

Andrew Morton
2007-11-14T00:02:04Z

On Tue, 13 Nov 2007 15:14:10 -0800 Andrew Morton <akpm@linux-foundation.org> wrote:

> On Mon, 5 Nov 2007 12:03:34 -0800 Greg KH <gregkh@suse.de> wrote:
>
> > > > > <4> [<0000000000142548>] sys_reboot+0x1a4/0x1f4
> > > > > <4> [<0000000000111038>] sysc_noemu+0x10/0x16
> > > > > <4> [<00000200001048e0>] 0x200001048e0
> > > > > <4>
> > > > > <4>
> > > > >
> > > > > Huh? We want to shutdown an unknown device on a bus that wishes to stay
> > > > > anonymous?
> > > > >
> > > > > Any hints would be appreciated...
> > > >
> > > > I'll look into this, I wonder if we are walking off the end of an
> > > > unterminated list...
> > >
> > > Could well be. If I'm using lcrash's walk function correctly (which
> > > always manages to confuse me...), the list of devices_kset seems to be
> > > broken.
> >
> > Alright, I can reproduce something like this at shutdown time myself
> > here, I'll try to figure it out...
>
> <wishes he'd read this thread an hour ago>
>
> The Vaio oopses during `reboot -f' and I bisected it down to this patch.
>
> http://userweb.kernel.org/~akpm/dsc00034.jpg
> http://userweb.kernel.org/~akpm/config-sony.txt
> http://userweb.kernel.org/~akpm/dmesg-sony.txt

The G5 Mac oopses in the same place during `halt -pfn'.