All of lore.kernel.org
 help / color / mirror / Atom feed
* New module loader makes kernel debugging much harder
@ 2002-11-23  2:20 Keith Owens
  2002-11-23  2:35 ` John Levon
  2002-11-23  4:22 ` Jamie Lokier
  0 siblings, 2 replies; 10+ messages in thread
From: Keith Owens @ 2002-11-23  2:20 UTC (permalink / raw)
  To: linux-kernel

The new module loader makes kernel debugging much harder.

There is no section information available, which means ...

* ksymoops cannot decode oops in modules.  Without section data, there
  is no way to reliably determine where module symbols were loaded.

* kgdb cannot debug modules.  gdb needs to know which modules are
  loaded and where each section of each module starts.

* kdb cannot display the section for a symbol.  Which means the user
  cannot do
    objdump -j <section_name> --adjust-vma=<start_address> module
  to map the code to the original object and source.

The complete lack of kernel and module symbols (no /proc/ksyms) means
that ksymoops is now useless on 2.5 kernels.  If you get an oops in a
kernel built without kksymoops, there is no way to decode the oops.

Big step backwards, Rusty.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-11-25  1:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-23  2:20 New module loader makes kernel debugging much harder Keith Owens
2002-11-23  2:35 ` John Levon
2002-11-23  2:43   ` Keith Owens
2002-11-23 16:23     ` John Levon
2002-11-24  0:49       ` Keith Owens
2002-11-24  1:06         ` John Levon
2002-11-24  1:18           ` Keith Owens
2002-11-24  1:34             ` John Levon
2002-11-25  1:26             ` Rusty Russell
2002-11-23  4:22 ` Jamie Lokier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.