xend startup fails if /var/log/xen does not exist
Bug #89133 reported by
Lukas Fittl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen-3.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If the Xen in Feisty is used together with LVM, it fails because LVM starts before xend starts, and assigns 254 as a major device number. Then xend comes along and has a hardcoded major device number of 254 which of course clashes with the one of LVM, which then leads to xend not being able to start.
The problem would be fixed by the following patch which has also been applied xen upstream: http://
Please consider integrating this patch for Feisty as Xen won't work without it.
Reproduceable on an AMD64 machine, not tested on i386.
Changed in xen-3.0: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Ok, I now tried patching the source myself, and failed, because the structure of the code seems different in our Xen, as well as the code already seems to do dynamic device number selection.
Do you have any idea why that could happen?
root@core:~# ls -lisa /dev/xen/blktap0
8559 0 crw-rw---- 1 root root 254, 0 Mar 2 04:41 /dev/xen/blktap0
root@core:~# ls -lisa /dev/mapper/ main-backup main-backup
5128 0 brw-rw---- 1 root disk 254, 0 Mar 2 04:41 /dev/mapper/
---
Mar 2 04:50:56 core BLKTAPCTRL: blktapctrl: v1.0.0
Mar 2 04:50:56 core BLKTAPCTRL: Found driver: [raw image (aio)]
Mar 2 04:50:56 core BLKTAPCTRL: Found driver: [raw image (sync)]
Mar 2 04:50:56 core BLKTAPCTRL: Found driver: [vmware image (vmdk)]
Mar 2 04:50:56 core BLKTAPCTRL: Found driver: [ramdisk image (ram)]
Mar 2 04:50:56 core BLKTAPCTRL: Found driver: [qcow disk (qcow)]
Mar 2 04:50:56 core BLKTAPCTRL: /dev/xen/blktap0 device already exists
Mar 2 04:50:56 core BLKTAPCTRL: blktap0 open failed
Mar 2 04:50:56 core BLKTAPCTRL: Unable to start blktapctrl