linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net
Subject: Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes
Date: Mon, 12 Dec 2005 21:55:43 +0100	[thread overview]
Message-ID: <200512122155.43632.rjw@sisk.pl> (raw)
In-Reply-To: <20051212122914.1bd36f32.akpm@osdl.org>

On Monday, 12 December 2005 21:29, Andrew Morton wrote:
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> >
> > On Sunday, 11 December 2005 21:38, Andrew Morton wrote:
> > > "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> > > >
> > > > The ehci_hcd driver causes problems like this:
> > > > 
> > > > ehci_hcd 0000:00:02.2: EHCI Host Controller
> > > > ehci_hcd 0000:00:02.2: debug port 1
> > > > ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 3
> > > > ehci_hcd 0000:00:02.2: irq 5, io mem 0xfebfdc00
> > > > usb 2-2: Product: USB Receiver
> > > > usb 2-2: Manufacturer: Logitech
> > > > usb 2-2: configuration #1 chosen from 1 choice
> > > > ehci_hcd 0000:00:02.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
> > > > Unable to handle kernel NULL pointer dereference at 00000000000002a4 RIP:
> > > > <ffffffff880ad9d0>{:ehci_hcd:ehci_irq+224}
> > > 
> > > Can you poke around in gdb, see which line it's dying at?
> > 
> > It looks like at the line 620.  At least here's what gdb told me:
> > 
> > Line 620 of "ehci-hcd.c" starts at address 0x69c3 <ehci_irq+211>
> >    and ends at 0x69e2 <ehci_irq+242>.
> 
> On my tree that's
> 
> 	if ((status & STS_PCD) && device_may_wakeup(&hcd->self.root_hub->dev)) {

Yes, that's it.

> It's best to actually send a copy of line 620 - kernels vary a lot, and
> many developers won't have that particualr -mm tree handy.
> 
> The way I normally do this is to do `gdb vmlinux' and then `l
> *0xffffffff880ad9d0'.

Does it work for modules too?

> If that lands you in some inline function then poke 
> around, displacing the EIP by +/- amounts until it lands outside the
> inlined function so you can see the callsite.
> 
> Anyway.  Greg's tree seems rather buggy lately..

Well ...

-- 
Beer is proof that God loves us and wants us to be happy - Benjamin Franklin

  reply	other threads:[~2005-12-12 20:54 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-11 12:13 2.6.15-rc5-mm2 Andrew Morton
2005-12-11 12:39 ` 2.6.15-rc5-mm2 Benoit Boissinot
2005-12-11 15:17 ` 2.6.15-rc5-mm2 Benoit Boissinot
2005-12-11 15:47 ` 2.6.15-rc5-mm2 Rafael J. Wysocki
2005-12-11 15:52   ` 2.6.15-rc5-mm2: broken resume from disk on x86-64 Rafael J. Wysocki
2005-12-11 16:02   ` 2.6.15-rc5-mm2: evdev problem Rafael J. Wysocki
2005-12-11 18:22     ` Dmitry Torokhov
2005-12-11 16:06   ` 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes Rafael J. Wysocki
2005-12-11 20:38     ` Andrew Morton
2005-12-12 19:53       ` Rafael J. Wysocki
2005-12-12 20:29         ` Andrew Morton
2005-12-12 20:55           ` Rafael J. Wysocki [this message]
2005-12-12 21:09             ` Andrew Morton
2005-12-12 21:39               ` Rafael J. Wysocki
2005-12-12 21:47                 ` Andrew Morton
2005-12-12 21:56                 ` Ben Pfaff
2005-12-13  6:52           ` [linux-usb-devel] " David Brownell
2005-12-13 22:10             ` Rafael J. Wysocki
2005-12-13 22:22               ` David Brownell
2005-12-13 22:39                 ` Rafael J. Wysocki
2005-12-13 23:31                   ` David Brownell
2005-12-11 16:08 ` 2.6.15-rc5-mm2 Jesper Juhl
2005-12-11 21:13   ` [PATCH] Fix vesafb display panning regression Antonino A. Daplas
2005-12-11 21:30     ` Jesper Juhl
2005-12-11 16:12 ` 2.6.15-rc5-mm2 :-) Maciej Soltysiak
2005-12-13  5:52   ` Con Kolivas
     [not found]     ` <1916802326.20051213121330@dns.toxicfilms.tv>
2005-12-13 12:16       ` Con Kolivas
2005-12-13 23:30         ` Peter Williams
2005-12-11 17:56 ` 2.6.15-rc5-mm2: two cs5535 modules Adrian Bunk
2005-12-12 18:29   ` Ben Gardner
2005-12-12 22:49     ` Alan Cox
2005-12-12  0:53 ` 2.6.15-rc5-mm2 Grant Coady
2005-12-12 14:05 ` 2.6.15-rc5-mm2 Cornelia Huck
2005-12-14  8:54 ` SMP+nosmp=hang [was: Re: 2.6.15-rc5-mm2] J.A. Magallon
     [not found]   ` <20060120192259.4460af42.akpm@osdl.org>
2006-01-21 23:46     ` J.A. Magallon
2006-01-22  0:22       ` Randy.Dunlap
2005-12-15 13:41 ` 2.6.15-rc5-mm2 Reuben Farrelly

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=200512122155.43632.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.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;
as well as URLs for NNTP newsgroup(s).