upgrade to pve-kernal-2.6.24

dca

New Member
Aug 16, 2010
12
0
1
im trying to install the 2.6.24 kernal (for ntfs support as i cant get it to work in 2.6.18)
but after install and reboot i get errors

gave up waiting for root device
ALERT! /dev/mapper/pve-root does not exist.dropping to a shell
/bin/sh: can't access tty; job control turned off

can still boot into 2.6.18
fresh install "update, upgrade, install kernal and shutdown only commands ran"

system is a dell poweredge t710
2x 500g drives in raid0

thankful for any help
 
do you have a standard installation?

1.5 iso from proxmox site

What is the output of "pveversion -v"?

pve-manager: 1.5-10 (pve-manager/1.5/4822)
running kernel: 2.6.18-2-pve
proxmox-ve-2.6.24: 1.5-23
pve-kernel-2.6.24-11-pve: 2.6.24-23
pve-kernel-2.6.24-10-pve: 2.6.24-21
pve-kernel-2.6.18-2-pve: 2.6.18-5
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-16
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.4-1

Do you follow the update instruction? http://pve.proxmox.com/wiki/Downloads
yes

Any error message at "apt-get upgrade"?
no


tryed to install some of the older 2.6.24 kernals to see if diffrent output
 
Hi,
2.6.24-11 run at my test-laptop without problems (here is pvetest enabled, but this change IMHO nothing with the 2.6.24-kernel).

Try a
Code:
dpkg-reconfigure pve-kernel-2.6.24-11-pve
are there any error messages?
Output on my test-laptop:
Code:
update-initramfs: Generating /boot/initrd.img-2.6.24-11-pve
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.32-2-pve
Found kernel: /vmlinuz-2.6.24-11-pve
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done
What is the output of
Code:
grep -v "#" /boot/grub/menu.lst | grep -E ^.

Udo
 
dpkg-reconfigure pve-kernel-2.6.24-11-pve
update-initramfs: Generating /boot/initrd.img-2.6.24-11-pve
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.24-11-pve
Found kernel: /vmlinuz-2.6.24-10-pve
Found kernel: /vmlinuz-2.6.24-8-pve
Found kernel: /vmlinuz-2.6.18-2-pve
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

grep -v "#" /boot/grub/menu.lst | grep -E ^.

default 0
timeout 5
color cyan/blue white/blue
title Proxmox Virtual Environment, kernel 2.6.24-11-pve
root (hd0,0)
kernel /vmlinuz-2.6.24-11-pve root=/dev/mapper/pve-root ro
initrd /initrd.img-2.6.24-11-pve
title Proxmox Virtual Environment, kernel 2.6.24-10-pve
root (hd0,0)
kernel /vmlinuz-2.6.24-10-pve root=/dev/mapper/pve-root ro
initrd /initrd.img-2.6.24-10-pve
title Proxmox Virtual Environment, kernel 2.6.24-8-pve
root (hd0,0)
kernel /vmlinuz-2.6.24-8-pve root=/dev/mapper/pve-root ro
initrd /initrd.img-2.6.24-8-pve
title Proxmox Virtual Environment, kernel 2.6.18-2-pve
root (hd0,0)
kernel /vmlinuz-2.6.18-2-pve root=/dev/mapper/pve-root ro
initrd /initrd.img-2.6.18-2-pve
title Proxmox Virtual Environment, kernel memtest86+
root (hd0,0)
kernel /memtest86+.bin
 
Hi,
looks fine for me.
The error occur also after kernel-reconfigure?
The failed root device looks like missing lvm-support in the initramfs.. but this is very strange.
What is output of
Code:
apt-cache policy lvm2
apt-cache policy initramfs-tools
grep MODULES /etc/initramfs-tools/initramfs.conf

Udo
 
The error occur also after kernel-reconfigure?
yes

looking in /dev while in initramfs i did not see any drives/partitions,including /boot.
but i do see some lvm commands that do look to work, if there was a block device.

apt-cache policy lvm2
lvm2:
Installed: 2.02.39-7
Candidate: 2.02.39-7
Version table:
*** 2.02.39-7 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status


apt-cache policy initramfs-tools
initramfs-tools:
Installed: 0.92o
Candidate: 0.92o
Version table:
*** 0.92o 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status

grep MODULES /etc/initramfs-tools/initramfs.conf
# MODULES: [ most | netboot | dep | list ]
MODULES=most
 
Hi,
take a little bit time to boot in initfs...
I see devices in /dev/mapper (pve-root, pve-data...) and dmesg show output about sda "sda1 sda2".

Perhaps your mainboard are too new, so that the driver for the disk are not backported to 2.6.24?
For 2.6.18 are a lot of backports... only a guess.

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!