On Wed, Jan 19, 2000 at 04:26:19PM -0600, Mengmeng Zhang wrote:
> > make config
> > make dep
> > make bzImage
> > make modules
> > make modules_install
> > cp System.map /boot
> >
> > i then edited lilo.conf to look like this:
> >
> > boot=/dev/sda
> > map=/boot/System.map
> > install=/boot/boot.b
> > prompt
> > timeout=50
> > image=/boot/bzImage
> > label=linux
> > root=/dev/sda1
> > read-only
>
>
>
> > when i run top or ps as root, i get "Warning: /boot/System.map not parseable as a
>System.map". i thought the problem might have been an old buggy procps, so i
>installed the latest one and it does the same thing.
>
> Is this after you reboot? If so, it would make sense, since nowhere did
> you copy the new kernel into /boot/bzImage. 'make bzImage' only creates a
> new kernel and places it in /usr/src/linux/arch/i386/boot/bzImage (or
> equivalent if you're not on Intel). You still need to copy that into /boot
>
> I'm guess that 'make install' installs the new kernel into /boot, but I'm
> not sure, since I always copy the new kernel myself. That way, I can keep
> backups of the old kernels in case the new one doesn't work. My /boot
> directory looks something like:
>
> System.map -> System.map-2.2.14
> System.map-2.2.13
> System.map-2.2.14
> vmlinuz -> vmlinuz-2.2.14
> vmlinuz.old -> vmlinuz-2.2.13
> vmlinuz-2.2.13
> vmlinuz-2.2.14
>
> and the other stuff is there too, of course, but I never touch it. My
> lilo.conf has one entry for linux, one for linuxold, and all I do every
> time is redo the symlinks and rerun lilo. Works like a charm.
>
> HTH,
> MZhang
eeek. i did copy /usr/src/linux/arch/i386/boot/bzImage to /boot, but forgot to
include that in my description of the steps i took. sorry about that.
when i did 'make install' the problem went away immediately, without even rebooting.
it created two new map files in /boot however. System.map-2.2.14 is the same as
/usr/src/linux/System.map (judging by size). the second new file was System.map,
which wasn't a symbolic link, but a regular file. System.map-2.2.14 is 190k and
System.map is 35k.
does anyone know what this smaller System.map is?
--
Jacob Martinson
You can never entirely stop being what you once were. That's why it's important to be
the right person today, and not put it off until tomorrow.
Larry Wall, Creator of Perl
C makes it easy to shoot yourself in the foot.
C++ makes it harder, but when you do it blows your whole leg off.
Bjarne Stroustrup, Inventor of C++
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]