Upgrading to kernel 2.6.35

naturlight

Member
Jan 2, 2011
65
0
6
Hello, i did this to try the new kernel with KSM support

aptitude update
aptitude safe-upgrade
aptitude install proxmox-ve-2.6.35

And i reboot.

After reboot : i already have 2.6.32-4-pve #1 SMP Tue Mar 29 09:08:37 CEST 2011 x86_64 GNU/Linux

So i tried to find /boot/grub/menu.lst to check if the new kernel is ok but i don't file this file ..

root@vd0:~# find / -name menu.lst
Return nothing ..

root@vd0:/boot/grub# dir
acorn.mod _chain.mod font.mod jpeg.mod ntfscomp.mod stage1
affs.mod chain.mod fshelp.mod kernel.img ntfs.mod stage2
afs.mod cmp.mod fs.lst _linux.mod partmap.lst sun.mod
amiga.mod command.lst fs_uuid.mod linux.mod pci.mod terminal.mod
aout.mod configfile.mod gfxterm.mod lnxboot.img pc.mod terminfo.mod
apple.mod core.img gpt.mod loadenv.mod play.mod test.mod
ascii.pff cpio.mod grub.cfg loopback.mod png.mod tga.mod
ata.mod cpuid.mod gzio.mod ls.mod pxeboot.img udf.mod
biosdisk.mod default halt.mod lspci.mod raid.mod ufs.mod
bitmap.mod device.map hello.mod lvm.mod read.mod vbeinfo.mod
blocklist.mod diskboot.img help.mod memdisk.mod reboot.mod vbe.mod
boot.img e2fs_stage1_5 hexdump.mod minix.mod reiserfs.mod vbetest.mod
boot.mod echo.mod hfs.mod minix_stage1_5 reiserfs_stage1_5 vga.mod
_bsd.mod elf.mod hfsplus.mod moddep.lst search.mod video.mod
bsd.mod ext2.mod iso9660.mod _multiboot.mod serial.mod videotest.mod
cat.mod fat.mod jfs.mod multiboot.mod sfs.mod xfs.mod
cdboot.img fat_stage1_5 jfs_stage1_5 normal.mod sleep.mod xfs_stage1_5

root@vd0:/boot# dir
config-2.6.32-4-pve initrd.img-2.6.32-4-pve System.map-2.6.32-4-pve vmlinuz-2.6.35-1-pve
config-2.6.35-1-pve initrd.img-2.6.32-4-pve.bak System.map-2.6.35-1-pve
grub initrd.img-2.6.35-1-pve vmlinuz-2.6.32-4-pve

I see (i thing) a little bug :
root@vd0:/boot# pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.35: 1.8-10
pve-kernel-2.6.32-4-pve: 2.6.32-32
pve-kernel-2.6.35-1-pve: 2.6.35-10

qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1dso1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5

Any idea to solve this ?
Regards
 
Hello, i did this to try the new kernel with KSM support



And i reboot.

After reboot : i already have 2.6.32-4-pve #1 SMP Tue Mar 29 09:08:37 CEST 2011 x86_64 GNU/Linux

So i tried to find /boot/grub/menu.lst to check if the new kernel is ok but i don't file this file ..

root@vd0:~# find / -name menu.lst
Return nothing ..





I see (i thing) a little bug :


Any idea to solve this ?
Regards
Hi,
you don't have an standard installation. So the install failed to switch to the right kernel...

edit /boot/grub/grub.cfg - there should be the entry which you are looking for.

Udo
 
Ok thanks, i will try it and feedback in minute

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
insmod raid
set root=(md1)
search --fs-uuid --set 00527bb5-1d99-478f-8e20-3c47df4d634a
if font /usr/share/grub/ascii.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.32-4-pve" {
insmod raid
set root=(md1)
search --fs-uuid --set 00527bb5-1d99-478f-8e20-3c47df4d634a
linux /boot/vmlinuz-2.6.35-1-pve root=/dev/md1 ro
initrd /boot/initrd.img-2.6.35-1-pve
}
menuentry "Debian GNU/Linux, linux 2.6.32-4-pve (single-user mode)" {
insmod raid
set root=(md1)
search --fs-uuid --set 00527bb5-1d99-478f-8e20-3c47df4d634a
linux /boot/vmlinuz-2.6.35-1-pve root=/dev/md1 ro single
initrd /boot/initrd.img-2.6.35-1-pve
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
 
working
Linux 2.6.35-1-pve #1 SMP Tue Mar 1 13:18:55 CET 2011

But i ever see

root@vd0:~# pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.8-10
pve-kernel-2.6.32-4-pve: 2.6.32-32
pve-kernel-2.6.35-1-pve: 2.6.35-10

qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1dso1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5
 
working
Linux 2.6.35-1-pve #1 SMP Tue Mar 1 13:18:55 CET 2011

But i ever see

root@vd0:~# pveversion -v
pve-manager: 1.8-15 (pve-manager/1.8/5754)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.8-10
pve-kernel-2.6.32-4-pve: 2.6.32-32
pve-kernel-2.6.35-1-pve: 2.6.35-10

qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-11
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1dso1
pve-qemu-kvm: 0.14.0-2
ksm-control-daemon: 1.0-5
Hi,
that's ok - pveversion shows all installed pve-kernels and the active one. If you don't want to switch back, you can remove the other kernels.

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!