The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Daniel J Blueman <daniel.blueman@gmail.com>,
	Chuck Ebbert <cebbert@redhat.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	USB development list <linux-usb-devel@lists.sourceforge.net>
Subject: Re: [linux-usb-devel] [2.6.22-rc7] khubd NULL deref oops...
Date: Thu, 12 Jul 2007 09:30:27 +0200	[thread overview]
Message-ID: <20070712093027.6258d80d@gondolin.boeblingen.de.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0707111734540.2718-100000@iolanthe.rowland.org>

On Wed, 11 Jul 2007 17:41:13 -0400 (EDT),
Alan Stern <stern@rowland.harvard.edu> wrote:

> On Wed, 11 Jul 2007, Daniel J Blueman wrote:
> 
> > > Try disabling CONFIG_USB_SUSPEND.  It makes lots of USB bugs go away
> > 
> > I'll give it a shot. For the record, I wasn't trying to perform a
> > suspend at this time (or since booting).
> 
> I doubt that USB suspend has any connection with this problem.  It's
> clear that the problem occurs in the driver core when the SCSI core
> tries to unregister a device.  It's not directly related to USB at all.

Hm, it seems that the class device's kobject is not set up correctly
(at least, not its name) when make_class_name() is called. Might be
that it is unregistered before it has been added completely (at least,
before kobject_set_name() has been called).

> 
> In fact, it looks like the bug is connected with 
> CONFIG_SYSFS_DEPRECATED.  You can try to see what happens with that 
> switch disabled.

Turning on verbose driver core messages (CONFIG_DEBUG_DRIVER) while
leaving on CONFIG_SYSFS_DEPRECATED may also be worthwile.

  reply	other threads:[~2007-07-12  7:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-08 21:45 [2.6.22-rc7] khubd NULL deref oops Daniel J Blueman
2007-07-08 21:49 ` Michal Piotrowski
2007-07-08 22:07   ` Daniel J Blueman
2007-07-09 15:03   ` [linux-usb-devel] " Alan Stern
2007-07-09  9:55 ` Jiri Kosina
2007-07-11 17:04 ` Chuck Ebbert
2007-07-11 18:51   ` Daniel J Blueman
2007-07-11 21:41     ` [linux-usb-devel] " Alan Stern
2007-07-12  7:30       ` Cornelia Huck [this message]
2007-07-12 18:43     ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070712093027.6258d80d@gondolin.boeblingen.de.ibm.com \
    --to=cornelia.huck@de.ibm.com \
    --cc=cebbert@redhat.com \
    --cc=daniel.blueman@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox