* Clyne, Paul ([EMAIL PROTECTED]) wrote:
>
> Good listers,
>
> Firstly apologies if this is not the most correct list to send to.
> Secondly please explain things simply..I'm a newbie
>
> I recently recompiled my Kernel (RH 6.0, 2.2.11) and had some
> questions I would like to ask.
>
> When I rebooted I got message(s) similar to the following :
> Starting lpd : Warning: /boot/System.map has an incorrect Kernel
> version.
>
> Q1) exactly what does this mean ?
It means the System.map in /boot is the one from your last kernel. Copy the
one created in /usr/src/linux when you compiled your kernel to /boot.
> Q2) I thought that when I did a make bzImage (or possibly during the
> make modules_install ?) that a copy of the new system/map would
> automatically be put in /boot. I vi'ed the Makefile and noticed that the
> system.map section had a comment like "uncomment this bit if you want to put
> the Sysem.map anywhere other than root". Shouldn't the default directory be
> boot ?. Should I modify the Makefile to always point at /boot ?
This part of the Makefile is only for
$ make install
Which you are not recommended to do. Make bzImage creates the kernel, but
doesn't move *anything* out of that directory and onto the system.
That would be the territory of make install.
Again, don't use make install.
> Q3) I cp'ed the System.map file from /usr/src/linux to the boot
> directory and that fixed the problem (but has raised a few other questions)
> was this a wise think to do ?. If not, what should I have done ?.
Cha-ching! This is the correct thing to do!
> Q4) System.map _was_ a link to System.map-2.2.5-22 (the previous
> kernel) but I also notice that there still is a System.map-2.2.55-22Boot and
> System.map-2.2.55-22smp. I didn't update these files (do I need to ?,
> where do I find the 'correct' files ?).
Don't worry. It is a convention (and a useful one) when compiling a
new kernel to put the new kernel in /boot as vmlinuz_${version}, and
the same System.map, etc, and then link to the one you just made with
ln -s vmlinuz_${version} vmlinuz
This way, if your new kernel is crappy, just change the links to point
back to the previous kernel etc.
> Q5) What does System.map-2.2.55-22Boot and System.map-2.2.55-22smp
> actually do ?. I read the HOWTO several times and there is no mention of
> these two files.
Redhat distro comes with a precompiled kernel, *and* another for SMP
machines (multiple processors), these are not needed once you
recompile a kernel for yourself.
> Q6) is there a HOWTO or other suggested reading that would answer my
> questions ?
Dunno.
> I'm sure that answering these questions will lead to others so
> thanks in advance.
>
> And I apologies if this mail is not in 'text' format. I have tried
> to force Windoze to send it text, but being a M$ product, who knows how it
> will _really_ behave.
Seems ok to me, but then my .procmailrc forces html mail through lynx to
convert it to plain text :-)
> Lastly, please also send any responses to me ([EMAIL PROTECTED]) as
> well as the list.
Tom.
--
.-------------------------------------------------------.
.^. | Tom Gilbert, England | [EMAIL PROTECTED] |
/V\ |----------------------| www.tomgilbert.freeserve.co.uk |
// \\ | Sites I recommend: `--------------------------------|
/( )\ | www.freshmeat.net www.enlightenment.org www.gnome.org |
^^-^^ `-------------------------------------------------------'