Lucid kernel works on Rackspace cloud server, Maverick kernel does not
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have a Rackspace cloud server which started its life as Lucid. Recently, Rackspace offered to turn over control of the kernel to users via pv-grub per http://
I basically carried out the instructions in the above link, upgrading my Lucid install to Maverick, but I have not been able to get the Maverick kernel to work. It looks to me like the Maverick kernel is lacking Xen support, since the /dev/xvda1 device is missing.
I now have the server upgraded from Lucid to Maverick, but still running under the Lucid kernel. Whenever I try to edit /boot/grub/menu.lst to replace the paths to the Lucid kernel and initrd with those for the Maverick kernel and initrd, the reboot fails as below.
This is my current working /boot/grub/
default=0
timeout=5
title=DISTRO-NAME "Ubuntu 2.6.32-33-server"
root (hd0)
kernel /boot/vmlinuz-
initrd /boot/initrd.
and what I have been doing is just changing the vmlinuz and initrd file names the the Maverick kernel values.
This is what I see in the console when the reboot fails, apparently because it could not find the root device:
[ 0.170442] device-mapper: uevent: version 1.0.3
[ 0.170588] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: <email address hidden>
[ 0.170828] device-mapper: multipath: version 1.1.1 loaded
[ 0.170836] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 0.171301] cpuidle: using governor ladder
[ 0.171307] cpuidle: using governor menu
[ 0.171667] TCP cubic registered
[ 0.171807] NET: Registered protocol family 10
[ 0.172369] lo: Disabled Privacy Extensions
[ 0.173098] NET: Registered protocol family 17
[ 0.173169] powernow-k8: Found 1 Quad-Core AMD Opteron(tm) Processor 2374 HE (4 cpu cores) (version 2.20.00)
[ 0.173192] [Firmware Bug]: powernow-k8: No compatible ACPI _PSS objects found.
[ 0.173194] [Firmware Bug]: powernow-k8: Try again with latest BIOS.
[ 0.173327] registered taskstats version 1
[ 0.270062] XENBUS: Device with no driver: device/console/0
[ 0.270099] Magic number: 1:252:3141
[ 0.270156] /build/
[ 0.270166] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.270172] EDD information not available.
[ 0.270385] Freeing unused kernel memory: 832k freed
[ 0.270750] Write protecting the kernel read-only data: 10240k
[ 0.274875] Freeing unused kernel memory: 296k freed
[ 0.275500] Freeing unused kernel memory: 1616k freed
Loading, please wait...
[ 0.322505] udev[98]: starting version 163
Begin: Loading essential drivers ... done.
Begin: Running /scripts/
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/xvda1 does not exist. Dropping to a shell!
BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-
Regression: Yes
Reproducible: Yes
ProcVersionSign
Uname: Linux 2.6.32-33-server x86_64
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
Date: Fri Aug 5 13:14:58 2011
Lspci: Error: [Errno 2] No such file or directory
Lsusb: Error: [Errno 2] No such file or directory
PciMultimedia:
ProcCmdLine: ro console=hvc0 root=/dev/xvda1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux
---
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 10.10
Lspci: Error: [Errno 2] No such file or directory
Lsusb: Error: [Errno 2] No such file or directory
Package: linux (not installed)
PciMultimedia:
ProcCmdLine: ro console=hvc0 root=/dev/xvda1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Regression: Yes
Reproducible: Yes
Tags: maverick kernel-config regression-release needs-upstream-
Uname: Linux 2.6.32-33-server x86_64
UserGroups:
Can you confirm that you are running a virtual kernel flavour? This is not immediately visible from the messages here. The difference would be that for -server the xen_blkfront driver is built as a module while -virtual got it built-in. So when booting a -virtual kernel, you will see no module loaded but /proc/devices should show xvd. Does cat /proc/partitions show anything?