From: Andrew Morton <akpm@osdl.org>
To: miles.lane@gmail.com, petkan@users.sourceforge.net,
linux-kernel@vger.kernel.org, david-b@pacbell.net,
linux-usb-devel@lists.sourceforge.net
Subject: Re: 2.6.17-mm5 -- netconsole failed to send full trace
Date: Wed, 5 Jul 2006 19:53:30 -0700 [thread overview]
Message-ID: <20060705195330.6c58b43a.akpm@osdl.org> (raw)
In-Reply-To: <20060705194614.ae2be901.akpm@osdl.org>
On Wed, 5 Jul 2006 19:46:14 -0700
Andrew Morton <akpm@osdl.org> wrote:
> On Wed, 5 Jul 2006 19:42:29 -0700
> Andrew Morton <akpm@osdl.org> wrote:
>
> > On Wed, 5 Jul 2006 19:34:52 -0700
> > "Miles Lane" <miles.lane@gmail.com> wrote:
> >
> > > On 7/5/06, Miles Lane <miles.lane@gmail.com> wrote:
> > > > Hi Petko,
> > > >
> > > > David Brownell pointed out that you are the author of this driver (rtl8150).
> > > > My laptop is crashing every time I remove the Linksys EtherFast 10/100
> > > > Compact Network Adapter (model USB100M) from the USB port.
> > > >
> > > > Here's a link to the discussion thus far:
> > > > http://groups.google.com/group/linux.kernel/tree/browse_frm/thread/8c93e310c7b71242/a8a1e3edb1601906?rnum=1&q=miles+lane&_done=%2Fgroup%2Flinux.kernel%2Fbrowse_frm%2Fthread%2F8c93e310c7b71242%2Fc8a8ba47c49c39fc%3Ftvc%3D1%26q%3Dmiles+lane%26#doc_a8a1e3edb1601906
> > > >
> > > > Here's the stacktrace:
> > > > http://www.zip.com.au/~akpm/linux/patches/stuff/00003.jpg
> > > >
> > > > I have reproduced the bug with vanilla 2.6.17. I am currently working my
> > > > back through kernel versions to try to isolate the responsible patches.
> > >
> > > 2.6.15 is the first kernel earliest kernel that seems to work with Ubuntu 6.06's
> > > implementation of hal / udev / dbus. It does set up the adapter successfully.
> > >
> > > I was able to reproduce the crash with 2.6.15. I have attached a screenshot
> > > of the stacktrace. It may help, since it differs quite a bit from the one for
> > > 2.6.17-mm5.
> >
> > The attachment will be too large to make it onto most mailing lists. I put
> > a copy here: http://www.zip.com.au/~akpm/linux/patches/stuff/00005.jpg
> >
> > > BTW, should I join linux-usb-devel and CC that list? Also, should I take
> > > this discussion off of LKML?
> >
> > Nah, spread it around. Who knows, somoene might actually fix the bug ;)
>
> I don't suppose it's this easy?
>
> --- a/drivers/usb/net/rtl8150.c~a
> +++ a/drivers/usb/net/rtl8150.c
> @@ -909,6 +909,7 @@ static void rtl8150_disconnect(struct us
> usb_set_intfdata(intf, NULL);
> if (dev) {
> set_bit(RTL8150_UNPLUG, &dev->flags);
> + tasklet_kill(&dev->tl);
> tasklet_disable(&dev->tl);
> unregister_netdev(dev->netdev);
> unlink_all_urbs(dev);
> _
>
Better:
--- a/drivers/usb/net/rtl8150.c~a
+++ a/drivers/usb/net/rtl8150.c
@@ -910,6 +910,7 @@ static void rtl8150_disconnect(struct us
if (dev) {
set_bit(RTL8150_UNPLUG, &dev->flags);
tasklet_disable(&dev->tl);
+ tasklet_kill(&dev->tl);
unregister_netdev(dev->netdev);
unlink_all_urbs(dev);
free_all_urbs(dev);
_
But I suspect it won't help.
prev parent reply other threads:[~2006-07-06 2:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-03 8:31 Miles Lane
2006-07-03 8:40 ` Andrew Morton
[not found] ` <a44ae5cd0607030704q63f1f64x5e46688cef6fa44c@mail.gmail.com>
2006-07-03 19:17 ` Andrew Morton
[not found] ` <a44ae5cd0607042222w6a370b70ka2d75fab926a28be@mail.gmail.com>
2006-07-05 6:49 ` David Brownell
2006-07-05 6:54 ` Miles Lane
2006-07-05 16:39 ` Miles Lane
2006-07-05 18:04 ` David Brownell
2006-07-05 18:44 ` Miles Lane
[not found] ` <a44ae5cd0607051934o2656a40bs88393dc0d6591249@mail.gmail.com>
2006-07-06 2:42 ` Andrew Morton
2006-07-06 2:46 ` Andrew Morton
2006-07-06 2:53 ` Andrew Morton [this message]
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=20060705195330.6c58b43a.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=miles.lane@gmail.com \
--cc=petkan@users.sourceforge.net \
/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
Powered by JetHome