mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: "Dunlap, Randy" <randy.dunlap@intel.com>, josh <skulcap@mammoth.org>
Cc: linux-kernel@vger.kernel.org,
	l-u-d <linux-usb-devel@lists.sourceforge.net>
Subject: Re: usb dc2xx quirk
Date: Wed, 03 Jan 2001 18:11:54 -0800	[thread overview]
Message-ID: <046801c075f3$b6211ce0$6600000a@brownell.org> (raw)
In-Reply-To: <D5E932F578EBD111AC3F00A0C96B1E6F07DBDE9F@orsmsx31.jf.intel.com>

> > The proximate cause of that Oops looked to be in one of the
> > UHCI drivers, but of course it's also possible that it was
> > triggered by driver misbehavior.
> 
> You didn't look hard enough.  8;)

I suspected you had ... :-)


> hub_thread got a disconnect event, called usb_disconnect,
> which tried to call driver->disconnect, which wasn't there
> due to using __devexit without CONFIG_HOTPLUG defined.

Ah, and <linux/init.h> moved the __devexit code into the
"__exit" segment, which got removed because clearly such
devices could never get removed (no hotplugging).


> > Have we identified anything that actually does anything with
> > code labeled __dev{in,ex}it (or data), beyond putting it into
> > a different section?  If so, what's it doing?
> 
> That's a great question.  I'd like to know the answer also.

(Calling it and oopsing ... sorry, wrong answer!  :-)


> Then we can see what the correct fixes should be.
> This patch could just be a short-lived 2.4.0-prerel
> fix-the-oops patch.

Put it into 2.4.0-next, sure.

I suspect the simplest thing is to say that no USB devices
should use those __dev{in,ex}it #defines ... we'd suspected
they were harmless; evidently not.

- Dave


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2001-01-04  2:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-04  1:05 Dunlap, Randy
2001-01-04  2:11 ` David Brownell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-01-03 18:17 josh
2001-01-03 19:23 ` Randy Dunlap
2001-01-04  0:12   ` David Brownell

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='046801c075f3$b6211ce0$6600000a@brownell.org' \
    --to=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=randy.dunlap@intel.com \
    --cc=skulcap@mammoth.org \
    /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

all inboxes | Powered by JetHome®