WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] problem booting debian 4 as xen domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] problem booting debian 4 as xen domU
From: "shashank rachamalla" <shashank.rachamalla@xxxxxxxxx>
Date: Fri, 4 Jan 2008 20:51:30 +0530
Delivery-date: Fri, 04 Jan 2008 07:22:05 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=FYhQv4BhCoZxRL9CQF7QVafmgd8wEErA8DzknGfzy80=; b=RCLX+NnGqSEoViuz5254knlV8NeI8ilhxsa3AvYQq6E+aRt6ntNL8XeSi8DYZ+wXcfXts4ynhJles83giPI8TTz5YJHbVg9MPC6DLUrvyDnExlsmwDW/6KyXCvRs2QQjD08CEnzNQ6sgVs2byaF1OIqH/4RQ5+a/+H0BuWIhUxg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=X5UhrfcZQ8cGv+y53nAYWOJ7z9dpF9zh6sw2ztcmyRwb2h4sPv+nJ8RGdlAROzTfDsNz/ZQAhLFe6zoYqiPe7TizQtIx+qJtzhED7d40TNt7ROTpgcKMBkcVXwQ+MlOqpyi/sjMcZ/r0bnlR5OYQ77S4nucwxyMOcmVm1+O0eFk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
After installing xen 3.0.3 on fedora core 6 and successfully running Dom0, I downloaded debian.4-0.20071031.img from jailtime.org and modified the conf file as follows

kernel = "/boot/vmlinuz- 2.6.18-1.2798.fc6xen"
ramdisk = "/boot/initrd-debian-4.img"
memory = "128"
name = "debian.4-0"
vif = ['']
dhcp = "dhcp"
disk = ['file:/xen/debian/debian.4- 0.img,sda1,w', 'file:/xen/debian/debian.swap,sda2,w']
root = "/dev/sda1 ro"

I used
mkinitrd -f --with=ext3 --preload=ext3  --preload=xenblk --fstab=/mnt/etc/fstab --omit-raid-modules --omit-lvm-modules /boot/initrd- debian-4.img 2.6.18-1.2798.fc6xen
to construct the ramdisk file.


Terminal output after running xm create
:

Linux version 2.6.18-1.2798.fc6xen ( brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006
 BIOS-provided physical RAM map:
  Xen: 0000000000000000 - 0000000008800000 (usable)
 0MB HIGHMEM available.
 136MB LOWMEM available.
 Using x86 segment limits to approximate NX protection
 ACPI in unprivileged domain disabled
 Built 1 zonelists.  Total pages: 34816
 Kernel command line:  ip=: 1.2.3.4::::eth0:dhcp root=/dev/sda1 ro 2
 Enabling fast FPU save and restore... done.
 Enabling unmasked SIMD FPU exception support... done.
 Initializing CPU#0
 CPU 0 irqstacks, hard=c078a000 soft=c076a000
 PID hash table entries: 1024 (order: 10, 4096 bytes)
 Xen reported: 2800.030 MHz processor.
 Console: colour dummy device 80x25
 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
 Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
 Software IO TLB disabled
 vmalloc area: c9000000-f4ffe000, maxmem 2d7fe000
 Memory: 121940k/139264k available (2097k kernel code, 8972k reserved, 840k data, 180k init, 0k highmem)
 Checking if this processor honours the WP bit even in supervisor mode... Ok.
 Calibrating delay using timer specific routine.. 7014.26 BogoMIPS (lpj=14028526)
 Security Framework v1.0.0 initialized
 SELinux:  Initializing.
 SELinux:  Starting in permissive mode
 selinux_register_security:  Registering secondary module capability
 Capability LSM initialized as secondary
 Mount-cache hash table entries: 512
 CPU: Trace cache: 12K uops, L1 D cache: 8K
 CPU: L2 cache: 512K
 Checking 'hlt' instruction... OK.
 SMP alternatives: switching to UP code
 Freeing SMP alternatives: 12k freed
 Brought up 1 CPUs
 checking if image is initramfs... it is
 Freeing initrd memory: 3039k freed
 Grant table initialized
 NET: Registered protocol family 16
 Brought up 1 CPUs
 PCI: setting up Xen PCI frontend stub
 ACPI: Interpreter disabled.
 Linux Plug and Play Support v0.97 (c) Adam Belay
 pnp: PnP ACPI: disabled
 xen_mem: Initialising balloon driver.
 usbcore: registered new driver usbfs
 usbcore: registered new driver hub
 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
 NET: Registered protocol family 2
 IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
 TCP established hash table entries: 8192 (order: 5, 163840 bytes)
 TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
 TCP: Hash tables configured (established 8192 bind 4096)
 TCP reno registered
 IA-32 Microcode Update Driver: v1.14-xen < tigran@xxxxxxxxxxx>
 audit: initializing netlink socket (disabled)
 audit(1199459711.520:1): initialized
 VFS: Disk quotas dquot_6.5.1
 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
 SELinux:  Registering netfilter hooks
 Initializing Cryptographic API
 ksign: Installing public key data
 Loading keyring
 - Added public key 8BDC589434DBC709
 - User ID: Red Hat, Inc. (Kernel Module GPG key)
 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
 rtc: IRQ 8 is not free.
 Non-volatile memory driver v1.2
 Linux agpgart interface v0.101 (c) Dave Jones
 RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
 Xen virtual console successfully installed as xvc0
 Unable to read console/use_graphics
 Linux version 2.6.18-1.2798.fc6xen (brewbuilder@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 15:11:19 EDT 2006
 BIOS-provided physical RAM map:
  Xen: 0000000000000000 - 0000000008800000 (usable)
 0MB HIGHMEM available.
 136MB LOWMEM available.
 Using x86 segment limits to approximate NX protection
 ACPI in unprivileged domain disabled
 Built 1 zonelists.  Total pages: 34816
 Kernel command line:  ip=:1.2.3.4::::eth0:dhcp root=/dev/sda1 ro 2
 Enabling fast FPU save and restore... done.
 Enabling unmasked SIMD FPU exception support... done.
 Initializing CPU#0
 CPU 0 irqstacks, hard=c078a000 soft=c076a000
 PID hash table entries: 1024 (order: 10, 4096 bytes)
 Xen reported: 2800.030 MHz processor.
 Console: colour dummy device 80x25
 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
 Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
 Software IO TLB disabled
 vmalloc area: c9000000-f4ffe000, maxmem 2d7fe000
 Memory: 121940k/139264k available (2097k kernel code, 8972k reserved, 840k data, 180k init, 0k highmem)
 Checking if this processor honours the WP bit even in supervisor mode... Ok.
 Calibrating delay using timer specific routine.. 7014.26 BogoMIPS (lpj=14028526)
 Security Framework v1.0.0 initialized
 SELinux:  Initializing.
 SELinux:  Starting in permissive mode
 selinux_register_security:  Registering secondary module capability
 Capability LSM initialized as secondary
 Mount-cache hash table entries: 512
 CPU: Trace cache: 12K uops, L1 D cache: 8K
 CPU: L2 cache: 512K
 Checking 'hlt' instruction... OK.
 SMP alternatives: switching to UP code
 Freeing SMP alternatives: 12k freed
 Brought up 1 CPUs
 checking if image is initramfs... it is
 Freeing initrd memory: 3039k freed
 Grant table initialized
 NET: Registered protocol family 16
 Brought up 1 CPUs
 PCI: setting up Xen PCI frontend stub
 ACPI: Interpreter disabled.
 Linux Plug and Play Support v0.97 (c) Adam Belay
 pnp: PnP ACPI: disabled
 xen_mem: Initialising balloon driver.
 usbcore: registered new driver usbfs
 usbcore: registered new driver hub
 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
 NET: Registered protocol family 2
 IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
 TCP established hash table entries: 8192 (order: 5, 163840 bytes)
 TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
 TCP: Hash tables configured (established 8192 bind 4096)
 TCP reno registered
 IA-32 Microcode Update Driver: v1.14-xen <tigran@xxxxxxxxxxx>
 audit: initializing netlink socket (disabled)
 audit(1199459711.520:1): initialized
 VFS: Disk quotas dquot_6.5.1
 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
 SELinux:  Registering netfilter hooks
 Initializing Cryptographic API
 ksign: Installing public key data
 Loading keyring
 - Added public key 8BDC589434DBC709
 - User ID: Red Hat, Inc. (Kernel Module GPG key)
 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
 rtc: IRQ 8 is not free.
 Non-volatile memory driver v1.2
 Linux agpgart interface v0.101 (c) Dave Jones
 RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
 Xen virtual console successfully installed as xvc0
 Unable to read console/use_graphics
 Event-channel device installed.
 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
 ide-floppy driver 0.99.newide
 usbcore: registered new driver libusual
 usbcore: registered new driver hiddev
 usbcore: registered new driver usbhid
 drivers/usb/input/hid-core.c: v2.6:USB HID core driver
 PNP: No PS/2 controller found. Probing ports directly.
 i8042.c: No controller found.
 mice: PS/2 mouse device common for all mice
 md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
 md: bitmap version 4.39
 TCP bic registered
 Initializing IPsec netlink socket
 NET: Registered protocol family 1
 NET: Registered protocol family 17
 Using IPI No-Shortcut mode
 XENBUS: Device with no driver: device/vbd/2049
 XENBUS: Device with no driver: device/vbd/2050
 XENBUS: Device with no driver: device/vif/0
 Freeing unused kernel memory: 180k freed
 Write protecting the kernel read-only data: 356k
 Red Hat nash version 5.1.19 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading jbd.ko module
Loading ext3.ko module
Loading xenblk.ko module
Registering block device major 8
 Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
 Loading ohci-hcd.ko module
Loading ehci-hcd.ko module
Creating root device.
Mounting root filesystem.
kjournald starting.  Commit interval 5 seconds
 EXT3-fs: mounted filesystem with ordered data mode.
 Setting up other filesystems.
Setting up new root fs
no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
 INIT: version 2.86 booting 
Setting hostname to 'debian-pristine'...done.
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap:swapon on /dev/sda2
Adding 65528k swap on /dev/sda2.  Priority:-1 extents:1 across:65528k
 .
Will now check root file system:fsck 1.40-WIP (14-Nov-2006)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda1 
/dev/sda1: clean, 9766/131072 files, 57283/262144 blocks
.
EXT3 FS on sda1, internal journal
 Not setting System Clock.
Cleaning up ifupdown....
Creating device-mapper devices...done.
Loading device-mapper support.
Will now check all file systems.
fsck 1.40-WIP (14-Nov-2006)
Checking all file systems.
Done checking file systems. 
A log is being saved in /var/log/fsck/checkfs if that location is writable.
Setting kernel variables...done.
Will now mount local filesystems:.
Will now activate swapfile swap:done.
Cleaning /tmp...done.
Cleaning /var/run...done.
Cleaning /var/lock...done.
Setting up networking....
Configuring network interfaces...Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
 
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
 
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
exiting.
Failed to bring up eth0.
done.
Loading the saved-state of the serial devices... 
Setting console screen modes and fonts.
Initializing random number generator...done.
 INIT: Entering runlevel: 2 
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Not starting internet superserver: no services enabled.
Starting OpenBSD Secure Shell server: sshd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.
Running local boot scripts (/etc/rc.local).

The terminal hangs here with the cursor blinking. plz help..

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>