Re: 2.6.4 - powerbook 15" - usb oops+backtrace

From: Vojtech Pavlik
Date: Mon Mar 15 2004 - 07:22:25 EST


On Mon, Mar 15, 2004 at 12:13:16PM +0100, Soeren Sonnenburg wrote:

> > > I can probably give more infos as xmon is compiled in the kernel here.
> >
> > Is this reproducible, or does it happen only rarely? I suspect it could
> > be a race somewhere ...
>
> It happens reproducably even when booting without X (and it always the
> very same oops I get). However it seems to only happen in connection
> with pbbuttonsd which has to be reloaded (causing it to rescan for
> changed usb hid devices) via hotplug... The oops happens when I remove a
> device, which in turn causes hotplug to make pbbuttonsd rescan for
> added/removed devices which then somehow triggers this oops.
>
> So could this be pbbuttonsd's fault :? or is it indeed some kernel bug ?

It's a kernel bug, definitely. And it's interesting to know that it
happens on device _removal_, that means HID could be freeing the device
structs earlier than evdev is stopping to use them.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/