Hello,
I am trying to boot a debian lenny guest from a ubuntu 10.04 dom0.
here is my config file:
# cat /etc/xen/dom1
kernel = "/boot/vmlinuz-2.6.32.25"
ramdisk = "/boot/initrd.img-2.6.32.25"
memory = 512
vcpus = 1
name = "dom1"
#vif = [''bridge=br0'']
#vif = ['''']
vif = [ ''type=ioemu, bridge=eth0'' ]
disk
[''file:/xen/domains/dom1/diskimage.img,sda1,w'',''file:/xen/domains/dom1/swapimage.img,sda5,w'']
#disk =
[''phy:/dev/lvm1/lenny,sda1,w'',''phy:/dev/lvm1/lennyswp,sda2,w'']
#netmask = "255.255.0.0"
dhcp = "dhcp"
serial = "/dev/hvc0" #hvc0
root = "/dev/xvde1 ro"
extra = ''4''
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
And here a dump from the booting process. It seems that It is missing some
terminal access or something, It should appear a login dialog(I suppose).
Any help would be appreciated.
Using config file "/etc/xen/dom1".
Started domain dom1 (id=11)
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32.25 (root@xen-hypervisor) (gcc version 4.4.3 (Ubuntu
4.4.3-4ubuntu5) ) #2 SMP Thu Nov 4 10:02:54 BRST 2010
Command line: root=/dev/xvde1 ro ip=:127.0.255.255::::eth0:dhcp 4
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
ACPI in unprivileged domain disabled
released 0 pages of unused memory
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 00000000000a0000 (usable)
Xen: 00000000000a0000 - 0000000000100000 (reserved)
Xen: 0000000000100000 - 0000000020800000 (usable)
DMI not present or invalid.
last_pfn = 0x20800 max_arch_pfn = 0x400000000
init_memory_mapping: 0000000000000000-0000000020800000
RAMDISK: 01b45000 - 0dc1a000
No NUMA configuration found
Faking a node at 0000000000000000-0000000020800000
Bootmem setup node 0 0000000000000000-0000000020800000
NODE_DATA [0000000000008000 - 000000000001dfff]
bootmap [000000000001e000 - 00000000000220ff] pages 5
(9 early reservations) ==> bootmem [0000000000 - 0020800000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 -
0000001000]
#1 [000dd1d000 - 000dd90000] XEN PAGETABLES ==> [000dd1d000 -
000dd90000]
#2 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 -
0000008000]
#3 [0001000000 - 0001a1a148] TEXT DATA BSS ==> [0001000000 -
0001a1a148]
#4 [0001b45000 - 000dc1a000] RAMDISK ==> [0001b45000 -
000dc1a000]
#5 [000dc1a000 - 000dd1d000] XEN START INFO ==> [000dc1a000 -
000dd1d000]
#6 [0020000000 - 0020800000] XEN EXTRA ==> [0020000000 -
0020800000]
#7 [0001a1b000 - 0001a27000] BRK ==> [0001a1b000 -
0001a27000]
#8 [0000100000 - 0000190000] PGTABLE ==> [0000100000 -
0000190000]
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x000000a0
0: 0x00000100 -> 0x00020800
SMP: Allowing 1 CPUs, 0 hotplug CPUs
No local APIC present
APIC: disable apic facility
PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
Allocating PCI resources starting at 20800000 (gap: 20800000:df800000)
Booting paravirtualized kernel on Xen
Xen version: 4.0.1 (preserve-AD)
NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 29 pages/cpu @ffff88000dd9a000 s87192 r8192 d23400 u118784
pcpu-alloc: s87192 r8192 d23400 u118784 alloc=29*4096
pcpu-alloc: [0] 0
Built 1 zonelists in Node order, mobility grouping on. Total pages: 131057
Policy zone: DMA32
Kernel command line: root=/dev/xvde1 ro ip=:127.0.255.255::::eth0:dhcp 4
PID hash table entries: 2048 (order: 2, 16384 bytes)
Initializing CPU#0
Checking aperture...
No AGP bridge found
Memory: 304688k/532480k available (4512k kernel code, 384k absent, 227408k
reserved, 2990k data, 1568k init)
Hierarchical RCU implementation.
NR_IRQS:4352 nr_irqs:512
Console: colour dummy device 80x25
console [tty0] enabled
console [hvc0] enabled
allocated 6553600 bytes of page_cgroup
please try ''cgroup_disable=memory'' option if you
don''t want memory cgroups
installing Xen timer for CPU 0
Detected 2660.110 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency..
5320.22 BogoMIPS (lpj=2660110)
Security Framework initialized
SELinux: Initializing.
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys debug
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 256K
CPU: L3 cache: 4096K
CPU 0/0x0 -> Node 0
CPU: Unsupported number of siblings 16
Performance Events: unsupported p6 CPU model 37 no PMU driver, software
events only.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 35k freed
cpu 0 spinlock event irq 510
Brought up 1 CPUs
Grant table initialized
regulator: core version 0.5
Time: 165:165:165 Date: 165/165/65
NET: Registered protocol family 16
PCI: setting up Xen PCI frontend stub
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
xen_balloon: Initialising balloon driver with page order 0.
last_pfn = 0x20800 max_arch_pfn = 0x400000000
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
Switching to clocksource xen
pnp: PnP ACPI: disabled
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 197460k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink socket (disabled)
type=2000 audit(1288900327.448:1): initialized
HugeTLB registered 2 MB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
msgmni has been set to 980
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
pci-stub: invalid id string ""
Event-channel device installed.
blktap_device_init: blktap device major 253
blktap_ring_init: blktap ring major: 251
registering netback
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
loop: module loaded
blkfront: xvde1: barriers enabled (tag)
input: Macintosh mouse button emulation as /devices/virtual/input/input0
Fixed MDIO Bus: probed
Initialising Xen virtual ethernet driver.
ehci_hcd: USB 2.0 ''Enhanced'' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 ''Open'' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised:
dm-devel@redhat.com
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
IPVS: Registered protocols (TCP, UDP, AH, ESP)
IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
IPVS: ipvs loaded.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
registered taskstats version 1
No TPM chip found, activating TPM-bypass!
vif vif-0: 2 parsing device/vif/0/mac
blkfront: xvde5: barriers enabled (tag)
XENBUS: Device with no driver: device/console/0
Magic number: 1:252:3141
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Initalizing network drop monitor service
Freeing unused kernel memory: 1568k freed
Write protecting the kernel read-only data: 6728k
Loading, please wait...
mount: mounting none on /dev failed: No such device
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Running /scripts/local-premount ...
Done.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
SELinux: Could not open policy file </etc/selinux/targeted/policy/policy.24:
No such file or directory
INIT: version 2.86 booting
Mount point ''/dev/shm'' does not exist. Skipping mount.
(warning).
Setting the system clock.
Unable to set System Clock to: Thu Nov 4 19:52:14 UTC 2010 (warning).
Activating swap...done.
Checking root file system...fsck 1.41.3 (12-Oct-2008)
/lib/init/rw/rootdev: clean, 11069/320000 files, 353811/1280000 blocks
done.
EXT3 FS on xvde1, internal journal
Setting the system clock.
Unable to set System Clock to: Thu Nov 4 19:52:15 UTC 2010 (warning).
Cleaning up ifupdown....
Loading kernel modules...done.
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...Internet Systems Consortium DHCP Client
V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
Listening on LPF/eth0/00:00:00:00:00:00
Sending on LPF/eth0/00:00:00:00:00:00
Sending on Socket/fallback
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
INIT: Entering runlevel: 4
Starting enhanced syslogd: rsyslogd.
Starting periodic command scheduler: crond.
--
David Cemin
mobile: +55 51 93523097
home: +55 51 32763785
email: davidcemin@gmail.com
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users