2.6.24-7 does not start as xen domU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: linux-image-
I decided to try to use this package (amd64 arch) for a domU, odo, on a xen server. For fun.
Odo, FYI, is the domU used to test with and play around. The other domU handles all the mail and nfs serving.
The server is debian stable (dom0, quark, is etch with kernel 2.6.18-5 and xen is 3.0.3) all amd64.
Unfortunately it doesn't even start properly. As far as I can tell this is caused by "XENBUS: Device with no driver: device/vbd/2065" just before the initrd scripts start.
The vbd/2065 is configured in the configuration file to show up as sdb1.
On dom0 this vbd is an lvm volume.
Probably you'd like to know that the odo userspace is also debian etch.
There was a hitch when installing this kernel due to module-init-tools (this package wants 3.3-pre11, I believe). I force-depends-
I decided not to install that (yet) because it depends on a newer libc (unfortunately). Better to start small with disrupting the system (-:
I'm not sure what other info to provide. Feel free to ask.
Here's the console from the create:
quark:~# xm create -c odo.cfg
Using config file "/etc/xen/odo.cfg".
Started domain odo
[ 0.000000] Linux version 2.6.24-7-xen (buildd@crested) (gcc version 4.2.3 (Ubuntu 4.2.3-1ubuntu1)) #1 SMP Thu Feb 7 02:53:39 UTC 2008 (Ubuntu 2.6.24-4.6-generic)
[ 0.000000] Command line: root=/dev/sdb1 ro
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 0000000010800000 (usable)
[ 0.000000] end_pfn_map = 67584
[2892231.778961] Zone PFN ranges:
[2892231.778963] DMA 0 -> 4096
[2892231.778965] DMA32 4096 -> 1048576
[2892231.778967] Normal 1048576 -> 1048576
[2892231.778969] Movable zone start PFN for each node
[2892231.778970] early_node_map[1] active PFN ranges
[2892231.778972] 0: 0 -> 67584
[2892231.789869] No mptable found.
[2892231.795008] PERCPU: Allocating 22368 bytes of per cpu data
[2892231.795041] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 66660
[2892231.795046] Kernel command line: root=/dev/sdb1 ro
[2892231.795753] Initializing CPU#0
[2892231.795924] PID hash table entries: 2048 (order: 11, 16384 bytes)
[2892231.795964] Xen reported: 1800.063 MHz processor.
[ 0.031186] console [xvc0] enabled
[ 0.031230] Console: colour dummy device 80x25
[ 0.031608] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.032090] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.032166] Software IO TLB disabled
[ 0.035548] Memory: 233896k/270336k available (2467k kernel code, 27924k reserved, 1313k data, 216k init)
[ 0.119710] Calibrating delay using timer specific routine.. 4511.89 BogoMIPS (lpj=9023785)
[ 0.119777] Security Framework initialized
[ 0.119786] SELinux: Disabled at boot.
[ 0.119795] AppArmor: AppArmor initialized
[ 0.119800] Failure registering capabilities with primary security module.
[ 0.119824] Mount-cache hash table entries: 256
[ 0.119969] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.119973] CPU: L2 Cache: 512K (64 bytes/line)
[ 0.119992] SMP alternatives: switching to UP code
[ 0.120587] Freeing SMP alternatives: 22k freed
[ 0.120758] Early unpacking initramfs... done
[ 0.143866] Brought up 1 CPUs
[ 0.144579] net_namespace: 120 bytes
[ 0.144592] failed to set up cpufreq notifier
[ 0.156712] Time: 165:165:165 Date: 165/165/65
[ 0.156763] NET: Registered protocol family 16
[ 0.157560] Brought up 1 CPUs
[ 0.157579] PCI: Fatal: No config space access function found
[ 0.157587] PCI: setting up Xen PCI frontend stub
[ 0.158149] ACPI: Interpreter disabled.
[ 0.158161] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.158214] pnp: PnP ACPI: disabled
[ 0.158334] xen_mem: Initialising balloon driver.
[ 0.158850] Setting mem allocation to 262144 kiB
[ 0.159188] PCI: System does not support PCI
[ 0.159197] PCI: System does not support PCI
[ 0.166227] NET: Registered protocol family 8
[ 0.166236] NET: Registered protocol family 20
[ 0.166343] AppArmor: AppArmor Filesystem Enabled
[ 0.166801] NET: Registered protocol family 2
[ 0.169620] Time: xen clocksource has been installed.
[ 0.201576] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.201810] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.201994] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.202191] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.202195] TCP reno registered
[ 0.213649] checking if image is initramfs... it is
[ 0.237192] Freeing initrd memory: 17500k freed
[ 0.253805] audit: initializing netlink socket (disabled)
[ 0.253828] audit(120271641
[ 0.254030] VFS: Disk quotas dquot_6.5.1
[ 0.254055] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.254146] io scheduler noop registered
[ 0.254150] io scheduler anticipatory registered
[ 0.254152] io scheduler deadline registered
[ 0.254160] io scheduler cfq registered (default)
[ 0.254392] Xen virtual console successfully installed as xvc0
[ 0.254451] Event-channel device installed.
[ 0.283605] rtc: IRQ 8 is not free.
[ 0.283688] Linux agpgart interface v0.102
[ 0.283732] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 0.284683] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[ 0.284753] input: Macintosh mouse button emulation as /devices/
[ 0.284878] PNP: No PS/2 controller found. Probing ports directly.
[ 0.285895] i8042.c: No controller found.
[ 0.288875] mice: PS/2 mouse device common for all mice
[ 0.288923] cpuidle: using governor ladder
[ 0.289007] NET: Registered protocol family 1
[ 0.289064] registered taskstats version 1
[ 0.289073] XENBUS: Device with no driver: device/vbd/2065
[ 0.289076] XENBUS: Device with no driver: device/vif/0
[ 0.289090] Magic number: 1:252:3141
[ 0.289205] /build/
[ 0.289217] Freeing unused kernel memory: 216k freed
Loading, please wait...
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/
FATAL: Error inserting fan (/lib/modules/
WARNING: Error inserting processor (/lib/modules/
[ 0.569693] thermal: Unknown symbol acpi_processor_
FATAL: Error inserting thermal (/lib/modules/
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
[ 1.977353] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[ 1.977368] ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
[ 4.255472] device-mapper: uevent: version 1.0.3
[ 4.255520] device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: <email address hidden>
Done.
Begin: Waiting for root file system... ...
Done.
Check root= bootarg cat /proc/cmdline
or missing modules, devices: cat /proc/modules ls /dev
ALERT! /dev/sdb1 does not exist. Dropping to a shell!
BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
(initramfs)
When rummaging through sysfs, I noticed this: xen/devices/ vbd-2065/
(initramfs) ls -l /sys/bus/
-r--r--r-- 1 0 0 4096 Feb 12 17:31 devtype
-r--r--r-- 1 0 0 4096 Feb 12 17:31 nodename
drwxr-xr-x 2 0 0 0 Feb 12 17:31 power
lrwxrwxrwx 1 0 0 0 Feb 12 17:31 subsystem -> ../../../bus/xen
-rw-r--r-- 1 0 0 4096 Feb 11 07:53 uevent
while a normal domU has this: xen/devices/ vbd-2053/ ./bus/xen/ drivers/ vbd
suzy2:~# ls -l /sys/bus/
total 0
lrwxrwxrwx 1 root root 0 Feb 12 18:33 block:sda5 -> ../../../block/sda5
lrwxrwxrwx 1 root root 0 Feb 12 18:33 bus -> ../../../bus/xen
-r--r--r-- 1 root root 4096 Feb 12 18:33 devtype
lrwxrwxrwx 1 root root 0 Feb 12 18:33 driver -> ../../.
-r--r--r-- 1 root root 4096 Feb 12 18:33 nodename
drwxr-xr-x 2 root root 0 Jan 8 21:34 power
lrwxrwxrwx 1 root root 0 Feb 12 18:33 subsystem -> ../../../bus/xen
--w------- 1 root root 4096 Feb 12 18:33 uevent
So the driver and block:xxx links are missing.
I noticed that CONFIG_ SYSFS_DEPRECATE D is not set in the config.
Might that have anything to do with this?