Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

Andrew Morton
2005-12-12T21:10:35Z

"Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> > 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?

Ah. There are certainly ways of doing this - see the kgdb documentation.
Or you can work out the module load address, gdb the module and do the
appropriate arithmetic I guess.

Generally I just statically link anything which I want to play with.