SRCDS Steam group


Ubuntu kernel optimization
#1
Hi All,

I've followed fragaholics wiki on optimizing the kernel everything seems to of well but when I've rebooted the server its still loading the previous kernel?

I also tried the ramdisk method aswell, does anybody have any ideas?

Thanks.
Reply
#2
can you post us the content of the file /boot/grub/menu.lst please? (please use some paste bin if it is long)
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
#3
hi,

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

fallback 1
title X Wire Networks, kernel 2.6.26.8-rt16
kernel /boot/vmlinuz-2.6.26.8-rt16 root=/dev/mapper/server1-root ro quiet splash
initrd /initrd.img-2.6.26.8-rt16
uuid 7a6ac343-6407-449b-82ff-5ce5ed9c5587

title Ubuntu 9.04, kernel 2.6.28-19-server
uuid 7a6ac343-6407-449b-82ff-5ce5ed9c5587
kernel /vmlinuz-2.6.28-19-server root=/dev/mapper/server1-root ro quiet splash
initrd /initrd.img-2.6.28-19-server
quiet

title Ubuntu 9.04, kernel 2.6.28-19-server (recovery mode)
uuid 7a6ac343-6407-449b-82ff-5ce5ed9c5587
kernel /vmlinuz-2.6.28-19-server root=/dev/mapper/server1-root ro single
initrd /initrd.img-2.6.28-19-server

title Ubuntu 9.04, kernel 2.6.28-18-server
uuid 7a6ac343-6407-449b-82ff-5ce5ed9c5587
kernel /vmlinuz-2.6.28-18-server root=/dev/mapper/server1-root ro quiet splash
initrd /initrd.img-2.6.28-18-server
quiet

title Ubuntu 9.04, kernel 2.6.28-18-server (recovery mode)
uuid 7a6ac343-6407-449b-82ff-5ce5ed9c5587
kernel /vmlinuz-2.6.28-18-server root=/dev/mapper/server1-root ro single
initrd /initrd.img-2.6.28-18-server

title Ubuntu 9.04, kernel 2.6.28-17-server
uuid 7a6ac343-6407-449b-82ff-5ce5ed9c5587
kernel /vmlinuz-2.6.28-17-server root=/dev/mapper/server1-root ro quiet splash
initrd /initrd.img-2.6.28-17-server
quiet

title Ubuntu 9.04, kernel 2.6.28-17-server (recovery mode)

Thanks for your help
Reply
#4
you are missing a line
Code:
default 0
at the beginning.

if it still boots 2.6.28-19-server then, you might want to check if /boot/vmlinuz-2.6.26.8-rt16 and /initrd.img-2.6.26.8-rt16 are really in place.
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
#5
Hi BE,

Thanks for your reply.. sorry default 0 and timeout 3 are right at the top of the menu.lst file copy & paste error on my part there Smile

Here is what is in /boot/
Quote:abi-2.6.28-11-server config-2.6.28-16-server initrd.img-2.6.28-18-server System.map-2.6.28-18-server vmlinuz-2.6.28-11-server
abi-2.6.28-13-server config-2.6.28-17-server initrd.img-2.6.28-19-server System.map-2.6.28-19-server vmlinuz-2.6.28-13-server
abi-2.6.28-14-server config-2.6.28-18-server initrd.img-2.6.28-3-rt System.map-2.6.28-3-rt vmlinuz-2.6.28-14-server
abi-2.6.28-15-server config-2.6.28-19-server initrd.img-2.6.33.5-r23 System.map-2.6.33.5-rt23 vmlinuz-2.6.28-15-server
abi-2.6.28-16-server config-2.6.28-3-rt initrd.img-2.6.33.5-rt23 vmcoreinfo-2.6.28-11-server vmlinuz-2.6.28-16-server
abi-2.6.28-17-server config-2.6.33.5-rt23 lost+found vmcoreinfo-2.6.28-13-server vmlinuz-2.6.28-17-server
abi-2.6.28-18-server grub memtest86+.bin vmcoreinfo-2.6.28-14-server vmlinuz-2.6.28-18-server
abi-2.6.28-19-server initrd.img-2.6.26.8-rt16 System.map-2.6.26.8-rt16 vmcoreinfo-2.6.28-15-server vmlinuz-2.6.28-19-server
abi-2.6.28-3-rt initrd.img-2.6.28-11-server System.map-2.6.28-11-server vmcoreinfo-2.6.28-16-server vmlinuz-2.6.28-3-rt
config-2.6.26.8-rt16 initrd.img-2.6.28-13-server System.map-2.6.28-13-server vmcoreinfo-2.6.28-17-server vmlinuz-2.6.33.5-rt23
config-2.6.28-11-server initrd.img-2.6.28-14-server System.map-2.6.28-14-server vmcoreinfo-2.6.28-18-server
config-2.6.28-13-server initrd.img-2.6.28-15-server System.map-2.6.28-15-server vmcoreinfo-2.6.28-19-server
config-2.6.28-14-server initrd.img-2.6.28-16-server System.map-2.6.28-16-server vmcoreinfo-2.6.28-3-rt
config-2.6.28-15-server initrd.img-2.6.28-17-server System.map-2.6.28-17-server vmlinuz-2.6.26.8-rt16
As you can see all the correct files are there? strange

Do you think that it could be that my server is crashing when trying to load the new kernel and falling back to the previous one?

Thanks!
Reply
#6
If you are running Grub2 you have to hold down shift to enter the grub menu. Just saying i got confused on that when grub2 first came out. But have you tried to see if the kernel will actually boot by selecting it from the grub menu? or played with the options in the grub menu before boot to see if you had a grammatical mistake in your menu.lst?
Reply
#7
(07-18-2010, 02:41 AM)sk8r776 Wrote:  If you are running Grub2 you have to hold down shift to enter the grub menu. Just saying i got confused on that when grub2 first came out. But have you tried to see if the kernel will actually boot by selecting it from the grub menu? or played with the options in the grub menu before boot to see if you had a grammatical mistake in your menu.lst?

hmm the only problem I have is the server is in a data centre about 400miles away Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)