strange behavior after compiling kernel

I bought Redhat 6.0 a while back.  I installed it, got it working, and haven't done much with it since.

Today, for the first time, I decided to compile the latest kernel (2.2.14) (was 2.2.5-15).

That actually went pretty well.  But I have two questions:

1.  The compressed image file is located in /boot.  Also in that directory is a System.map file.  While the system booted, I got a lot of warnings like "System.map has incorrect kernel version"  This wasn't mentioned in the HOWTO.  How do I fix this?

2.  After that, when I 'startx', the GNOME/Enlightenment stuff comes up, and I get the "Warning, you're logging in as root - you can mess up the filesystem, blablabla" dialog that I always get, but now when I hit OK, the desktop icons appear, immediately disappear, then the dialog comes back.  I can keep doing this over and over, but would rather not.

Any help would be appreciated.
red5Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ReinierConnect With a Mentor Commented:
1. Get the correct System.map in /boot:
cp /usr/src/linux-2.2.14/System.map /boot/System.map-2.2.14
cd /boot
ln -sf System.map-2.2.14 System.map
0
 
red5Author Commented:
Ok, sounds easy enough - I'll try it tonight. (I wonder why the HOWTO didn't mention that)

Also, the second issue seemed to only happen the first time booting with the new kernel.  So it isn't really a problem for me anymore.
0
 
red5Author Commented:
I should have looked harder for the map file.  I had only looked in /arch/i386/boot or whereever the image file was.
0
All Courses

From novice to tech pro — start learning today.