Re: A more accurate System.map, including modules

H. Peter Anvin (hpa@transmeta.com)
22 Sep 1997 04:41:15 GMT


Followup to: <199709212301.JAA06058@vindaloo.atnf.CSIRO.AU>
By author: Richard Gooch <rgooch@atnf.CSIRO.AU>
In newsgroup: linux.dev.kernel
>
> This is a good step forward, but it requires that after you get an
> oops enough of the system is still left running that you can run
> ksymoops. I've had a few cases where syslogd is still logging, but I
> can't run commands. Going back later (after a reboot) and running
> make_System_map.pl doesn't work because the location of modules has
> changed. This is especially the case for people running kerneld.
> What about modifying klogd to do the things ksymoops does?
>

Suggestion: make insmod log the location of each module in the system
log, or have the kernel output that information ("kernel: loaded
module foo at 0xe0801130). Then one could use that information from
the system log to decode the oops, without involving /proc/ksyms.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
Always looking for a few good BOsFH.  **  Linux - the OS of global cooperation
        I am Baha'i -- ask me about it or see http://www.bahai.org/