Re: /dev/kmem

From: George Anzinger (george@pioneer.net)
Date: Sat May 06 2000 - 11:30:16 EST


Keith Owens wrote:
>
> On Sat, 06 May 2000 03:13:07 -0700,
> George Anzinger <george@pioneer.net> wrote:
> >Tigran Aivazian wrote:
> >> ksymoops -s map < /dev/null
> >...............snip............
> >Ok, the basic idea is to look at the System.map file right?
>
> System.map plus modules.
>
> >Now I am doing a lot of kernel testing and have more than one kernel on
> >a system, using lilo to pick and choose. What is the usual method used
> >to insure that the correct System.map file is avaiable to each system?
>
> Up to you, ksymoops and user space files are under the control of the
> sysadmin, not the kernel. FWIW, my method is to copy .config and
> System.map to /lib/modules/xxx after doing make modules_install for
> kernel xxx. Other people like to store System.map in /boot and name it
> System.map-xxx. Whatever works for you, just pass the name of your map
> to ksymoops with the -m option.

The question is which of the several kernels was booted? Does the boot
code leave this somewhere it can be found? For example, a program can
look at its 0'th parameter to find the file name it is running under.
Can the system do something like this?

George

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:19 EST