Patch to Natty 2.6.37-virtual breaks non-EC2 users
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Natty |
Invalid
|
Medium
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
High
|
Stefan Bader | ||
Natty |
Fix Released
|
High
|
Stefan Bader |
Bug Description
Binary package hint: linux-image-
This patch:
http://
breaks the kernel for users running on machines other than EC2.
There are two problems: firstly, this does something totally unexpected, i.e. renames a device that anyone using the mainstream kernel will have as /dev/xvdX. This breaks existing boot scripts (including all of ours - Flexiant/
However, the problem particularly manifests itself on Xen version prior to 3.4, which do not support the PCI unplug functionality. These thus still have the emulated devices plugged in, so /dev/xvdX exists. You then get a kernel bug (see attached), and can't use the PV drivers at all, as it tries to allocate /sys/class/sda when that already exists (as the emulated driver is using it). Without this patch, everything would work fine.
dmesg attached.
Please either revert the patch, or make it dependent on a command line option, or make it dependent on the relevant device being unplugged. My view is this should be reverted: it's supporting one particular xen user who is doing something non-standard, and breaking things for everyone else.
I think we can safely drop this now. uec-rootfs . In the future, we possibly use root=UUID=... .
In EC2 for maverick and newer, we're booting with pv-grub, and specifying root=LABEL=