I have a problem with running ubuntu inside xen (well, actually debian
didn''t work either).
Dom0:
Linux libre 3.0.4-030004-generic #201108301138 SMP Tue Aug 30 11:42:30 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
##########
cf-node0.cfg:
#
# Configuration file for the Xen instance cf-node0, created
# by xen-tools 4.2.1 on Thu Sep 8 05:11:42 2011.
#
#
# Kernel + memory size
#
kernel=''/boot/vmlinuz-2.6.38-11-server''
ramdisk=''/boot/initrd.img-2.6.38-11-server''
vcpus = ''1''
memory = ''256''
#
# Disk device(s).
#
root = ''/dev/xvda2 ro''
disk = [
''phy:/dev/tank/cf-node0-disk,xvda2,w'',
''phy:/dev/tank/cf-node0-swap,xvda1,w'',
]
#
# Physical volumes
#
#
# Hostname
#
name = ''cf-node0''
#
# Networking
#
vif = [ ''ip=192.168.1.12,mac=00:16:3E:AA:3A:CC'' ]
#
# Behaviour
#
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
##########
console output:
Started domain cf-node0 (id=12)
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.38-11-server (buildd@allspice) (gcc version
4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #48-Ubuntu SMP Fri Jul 29 19:20:32 UTC
2011 (Ubuntu 2.6.38-11.48-server 2.6.38.8)
[ 0.000000] Command line: root=/dev/xvda2 ro
[ 0.000000] ACPI in unprivileged domain disabled
[ 0.000000] released 0 pages of unused memory
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)
[ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)
[ 0.000000] Xen: 0000000000100000 - 0000000010800000 (usable)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0x10800 max_arch_pfn = 0x400000000
[ 0.000000] init_memory_mapping: 0000000000000000-0000000010800000
[ 0.000000] RAMDISK: 01e33000 - 02a37000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000010800000
[ 0.000000] Initmem setup node 0 0000000000000000-0000000010800000
[ 0.000000] NODE_DATA [000000000fffb000 - 000000000fffffff]
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x000000a0
[ 0.000000] 0: 0x00000100 -> 0x00010800
[ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] No local APIC present
[ 0.000000] APIC: disable apic facility
[ 0.000000] APIC: switched to apic NOOP
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 10800000 (gap:
10800000:ef800000)
[ 0.000000] Booting paravirtualized kernel on Xen
[ 0.000000] Xen version: 4.1.1 (preserve-AD)
[ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88000ffa8000 s84416 r8192
d22080 u114688
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total
pages: 66542
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: root=/dev/xvda2 ro
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Memory: 229164k/270336k available (6025k kernel code, 448k
absent, 40724k reserved, 5023k data, 880k init)
[ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1,
Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] NR_IRQS:16640 nr_irqs:256 16
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] console [hvc0] enabled
[ 0.000000] allocated 3932160 bytes of page_cgroup
[ 0.000000] please try ''cgroup_disable=memory'' option if
you don''t want memory cgroups
[ 0.000000] installing Xen timer for CPU 0
[ 0.000000] Detected 2500.064 MHz processor.
[ 0.010000] Calibrating delay loop (skipped), value calculated using timer
frequency.. 5000.12 BogoMIPS (lpj=25000640)
[ 0.010000] pid_max: default: 32768 minimum: 301
[ 0.010000] Security Framework initialized
[ 0.010000] AppArmor: AppArmor initialized
[ 0.010000] Yama: becoming mindful.
[ 0.010000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.010000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.010000] Mount-cache hash table entries: 256
[ 0.010000] Initializing cgroup subsys ns
[ 0.010000] ns_cgroup deprecated: consider using the
''clone_children'' flag without the ns_cgroup.
[ 0.010000] Initializing cgroup subsys cpuacct
[ 0.010000] Initializing cgroup subsys memory
[ 0.010000] Initializing cgroup subsys devices
[ 0.010000] Initializing cgroup subsys freezer
[ 0.010000] Initializing cgroup subsys net_cls
[ 0.010000] Initializing cgroup subsys blkio
[ 0.010000] CPU: Unsupported number of siblings 2
[ 0.010000] SMP alternatives: switching to UP code
[ 0.010035] Freeing SMP alternatives: 20k freed
[ 0.010883] ftrace: allocating 24622 entries in 97 pages
[ 0.020116] cpu 0 spinlock event irq 254
[ 0.020747] Performance Events: unsupported p6 CPU model 23 no PMU driver,
software events only.
[ 0.022528] Brought up 1 CPUs
[ 0.023272] devtmpfs: initialized
[ 0.025556] Grant table initialized
[ 0.025662] print_constraints: dummy:
[ 0.045566] Time: 165:165:165 Date: 165/165/65
[ 0.045675] NET: Registered protocol family 16
[ 0.047224] PCI: setting up Xen PCI frontend stub
[ 0.048452] bio: create slab <bio-0> at 0
[ 0.048615] ACPI: Interpreter disabled.
[ 0.050201] xen_balloon: Initialising balloon driver.
[ 0.050244] last_pfn = 0x10800 max_arch_pfn = 0x400000000
[ 0.050838] vgaarb: loaded
[ 0.051105] SCSI subsystem initialized
[ 0.054024] usbcore: registered new interface driver usbfs
[ 0.054050] usbcore: registered new interface driver hub
[ 0.054135] usbcore: registered new device driver usb
[ 0.054299] PCI: System does not support PCI
[ 0.054310] PCI: System does not support PCI
[ 0.054444] NetLabel: Initializing
[ 0.054452] NetLabel: domain hash size = 128
[ 0.054457] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.054476] NetLabel: unlabeled traffic allowed by default
[ 0.054554] Switching to clocksource xen
[ 0.055516] Switched to NOHz mode on CPU #0
[ 0.059812] AppArmor: AppArmor Filesystem Enabled
[ 0.059866] pnp: PnP ACPI: disabled
[ 0.062060] NET: Registered protocol family 2
[ 0.062165] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.062443] TCP established hash table entries: 16384 (order: 6, 262144
bytes)
[ 0.062624] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.062736] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.062744] TCP reno registered
[ 0.062756] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.062769] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.062886] NET: Registered protocol family 1
[ 0.063003] platform rtc_cmos: registered platform RTC device (no PNP device
found)
[ 0.063253] audit: initializing netlink socket (disabled)
[ 0.063273] type=2000 audit(1315459332.376:1): initialized
[ 0.074796] Trying to unpack rootfs image as initramfs...
[ 0.162339] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.165276] VFS: Disk quotas dquot_6.5.2
[ 0.165397] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.166229] fuse init (API version 7.16)
[ 0.166392] msgmni has been set to 447
[ 0.166788] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
253)
[ 0.166854] io scheduler noop registered
[ 0.166861] io scheduler deadline registered (default)
[ 0.166927] io scheduler cfq registered
[ 0.167032] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.167066] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.167600] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.168954] Linux agpgart interface v0.103
[ 0.170598] brd: module loaded
[ 0.171273] loop: module loaded
[ 0.171447] i2c-core: driver [adp5520] using legacy suspend method
[ 0.171456] i2c-core: driver [adp5520] using legacy resume method
[ 0.172003] Fixed MDIO Bus: probed
[ 0.172061] PPP generic driver version 2.4.2
[ 0.172158] tun: Universal TUN/TAP device driver, 1.6
[ 0.172166] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 0.172303] ehci_hcd: USB 2.0 ''Enhanced'' Host Controller
(EHCI) Driver
[ 0.172332] ohci_hcd: USB 1.1 ''Open'' Host Controller (OHCI)
Driver
[ 0.172348] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.172459] i8042: PNP: No PS/2 controller found. Probing ports directly.
[ 0.173297] i8042: No controller found
[ 0.173476] mousedev: PS/2 mouse device common for all mice
[ 0.173651] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.173719] rtc_cmos: probe of rtc_cmos failed with error -38
[ 0.173876] device-mapper: uevent: version 1.0.3
[ 0.174018] device-mapper: ioctl: 4.19.1-ioctl (2011-01-07) initialised:
dm-devel@redhat.com
[ 0.174186] device-mapper: multipath: version 1.2.0 loaded
[ 0.174199] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 0.174402] cpuidle: using governor ladder
[ 0.174414] cpuidle: using governor menu
[ 0.174738] TCP cubic registered
[ 0.174933] NET: Registered protocol family 10
[ 0.175490] NET: Registered protocol family 17
[ 0.175538] Registering the dns_resolver key type
[ 0.175718] registered taskstats version 1
[ 0.175747] Magic number: 1:252:3141
[ 0.175798] /build/buildd/linux-2.6.38/drivers/rtc/hctosys.c: unable to open
rtc device (rtc0)
[ 0.175807] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.175813] EDD information not available.
[ 0.198578] Freeing initrd memory: 12304k freed
[ 0.207491] Freeing unused kernel memory: 880k freed
[ 0.208000] Write protecting the kernel read-only data: 10240k
[ 0.212686] Freeing unused kernel memory: 100k freed
[ 0.213317] Freeing unused kernel memory: 1416k freed
Loading, please wait...
[ 0.266896] <30>udev[59]: starting version 167
Begin: Loading essential drivers ... [ 0.309154] Bridge firewalling
registered
[ 0.345840] [drm] Initialized drm 1.1.0 20060810
FATAL: Error inserting i915
(/lib/modules/2.6.38-11-server/kernel/drivers/gpu/drm/i915/i915.ko): No such
device
[ 0.436680] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.485161] JFS: nTxBlock = 1905, nTxLock = 15242
[ 0.539172] lp: driver loaded but no devices found
[ 0.574889] NTFS driver 2.1.30 [Flags: R/O MODULE].
[ 0.645777] usbcore: registered new interface driver uas
[ 0.669993] usbcore: registered new interface driver usbhid
[ 0.670012] usbhid: USB HID core driver
[ 0.690645] Initializing USB Mass Storage driver...
[ 0.690699] usbcore: registered new interface driver usb-storage
[ 0.690706] USB Mass Storage support registered.
FATAL: Error inserting video
(/lib/modules/2.6.38-11-server/kernel/drivers/acpi/video.ko): No such device
[ 0.754312] blkfront device/vbd/51714 num-ring-pages 1 nr_ents 32.
[ 0.763736] Initialising Xen virtual ethernet driver.
[ 0.764371] blkfront device/vbd/51713 num-ring-pages 1 nr_ents 32.
[ 0.778114] Event-channel device installed.
[ 0.821458] SGI XFS with ACLs, security attributes, realtime, large
block/inode numbers, no debug enabled
[ 0.826526] SGI XFS Quota Management subsystem
done.
Begin: Running /scripts/init-premount ... done.
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/xvda2 does not exist. Dropping to a shell!
BusyBox v1.17.1 (Ubuntu 1:1.17.1-10ubuntu1) built-in shell (ash)
Enter ''help'' for a list of built-in commands.
(initramfs) ls -l /dev/ |grep xvd
(initramfs) cat /proc/modules
xenfs 18296 0 - Live 0xffffffffa01ba000
xen_evtchn 13114 0 - Live 0xffffffffa0175000
xen_netfront 26568 0 - Live 0xffffffffa01b1000
xen_blkfront 22122 0 - Live 0xffffffffa019f000
xenbus_probe_frontend 13194 2 xen_netfront,xen_blkfront,[permanent], Live
0xffffffffa0189000
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users