SRCDS Steam group


Fragaholics 1000FPS Howto help
#1
OS: CentOS 5 64 bit
Patch: 2.6.26.8-rt16

I followed all the steps and when I get to:

"make && make install modules_install"

I run into some trouble. The first time I ran the command, it took a while to compile the kernel and it went on for about 30 minutes. After it finished most of it at the end I got:

Quote: CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 1025 modules
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
sh /usr/src/linux-2.6.26.8/arch/x86/boot/install.sh 2.6.26.8-rt16 arch/x86/boot/bzImage System.map "/boot"
WARNING: Couldn't open directory /lib/modules/2.6.26.8-rt16: No such file or directory
FATAL: Could not open /lib/modules/2.6.26.8-rt16/modules.dep.temp for writing: No such file or directory
No modules available for kernel "2.6.26.8-rt16".
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2

Everytime I rerun that command, it will basically just show that part.

Any help to fix this part would be great.
Reply
#2
First off run a make clean to clean up any old files then
Run this for CENTOS
make bzImage modules modules_install install
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#3
Thanks, issue is fixed.
Reply
#4
I just updated the wiki with centos instructions Smile
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#5
I am sorry, I don't know centos, but I want to understand nevertheless:

What is the difference between "make" and "make bzImage"? AFAIK there should be none, especially it should be all the same on every Linux flavor. The kernel sources are downloaded from kernel.org (or where did you get them?), so why should (or is??) there any difference between the Linux flavors with respect to building the kernel?

Or was it simply that you needed to run a "make clean" before?

And how can centos change the boot loader automatically when you compile a kernel? Or does it simply use the symlinks (e.g. vmlinuz -> vmlinuz-2.6.31-rc4-rt1) so that you don't need to update the menu.lst, because make install updates the symlinks?

Thanks for any insight, this will hopefully help to make the howto a little better ;-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#6
I don't really know, thats all my friend told me to do... and it added it automatically to the menu.lst. The make clean cleans up all old runs of the make, so if you ran the make before, it would delete all of the temporary files and restore it to new.
This is before compile
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu

title CentOS (2.6.18-128.4.1.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-128.4.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.18-128.4.1.el5.img
This is after compile
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu

title CentOS (2.6.28)
    root (hd0,0)
    kernel /vmlinuz-2.6.28 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.28.img
title CentOS (2.6.18-128.4.1.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-128.4.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.18-128.4.1.el5.img
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#7
centos seems to be a strange system... ;-)

usualle the kernel does not change the menu.lst, this must be kind of speciality of centos. I wonder how they did this. Sure that you downloaded the kernel sources directly from kernel.org and not via some centos tool some modified package?
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#8
Yes, i really hate this longer message thing
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#9
what longer message thing???
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#10
For the forums, it requires 5 characters minimum
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#11
rofl. I got the same, because I just wanted to reply a "?" instead of my last post, but I still didn't knew what you meant :-D

thanks anyway, I will stick with recommending debian instead of centos Toungue
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#12
I have the same problem after kernel installation :

http://img580.imageshack.us/img580/3221/kernelpanic.png
Reply
#13
Wow, I havent posted in a long time, but yeah you probably chose the wrong cpu type, just go with generic x86_64 and it should work.
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#14
looks more like a problem with the root file system. make sure you have included the correct file system driver and the hard disk controller driver in kernel (*not* as a module).
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)