[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



> *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.

Looks like the domain is booting fine but it's not running the console 
somewhere you can get at.  Try adding:

extra= "xencons=tty"

to your config file.  Does that help?

By the way, you might like to install a Debian Xen-aware kernel and initrd in 
your image once you can log into it.  You can boot it directly from hte 
guest's filesystem using PyGrub, or for better security you can copy it out 
of the guest and into dom0, then configure it in the config file.

Cheers,
Mark

>
>
> 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..
> *



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.