Re: Oops in make_class_name in 2.6.22.1 on Fedora

From: Cornelia Huck
Date: Tue Sep 11 2007 - 05:18:19 EST


On Mon, 10 Sep 2007 23:12:26 -0700,
Greg KH <greg@xxxxxxxxx> wrote:

> On Mon, Sep 10, 2007 at 08:26:47PM -0700, Pete Zaitcev wrote:
> > Hi, Greg (and others):
> >
> > I do not seem to be able to find an answer, sorry.
> > Do you happen to remember if this was fixed after 2.6.22.1:
> >
> > localhost kernel: EIP is at make_class_name+0x27/0x7a
> > localhost kernel: [<c05586f1>] class_device_del+0x97/0x119
> > localhost kernel: [<c055877b>] class_device_unregister+0x8/0x10
> > localhost kernel: [<e08735f4>] __scsi_remove_device+0x1d/0x60 [scsi_mod]
> > localhost kernel: [<e08711ae>] scsi_forget_host+0x2d/0x4a [scsi_mod]
> > localhost kernel: [<e086c49c>] scsi_remove_host+0x65/0xd5 [scsi_mod]
> > localhost kernel: [<e0e76775>] storage_disconnect+0xe/0x16 [usb_storage]
> > localhost kernel: [<c056f8b8>] usb_unbind_interface+0x44/0x85
> > localhost kernel: [<c0557df7>] __device_release_driver+0x6e/0x8b
> >
> > Obviously a known bug but all I see is users reporting it. In my case
> > it's this:
> > https://bugzilla.redhat.com/show_bug.cgi?id=253424
> > I saw Alan giving it a try here:
> > http://lkml.org/lkml/2007/7/12/259
>
> I think this was a scsi problem that has been fixed, but don't really
> remember the exact commit.

It may be something like "removing a device before it has been
completely initialized" (class_device_unregister() racing against
class_device_register()). (Perhaps you can see if that is the case by
turning on verbose driver core and kobject debugging messages.)
-
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/