FC6 Xen Guest Installation on Core 2 Duo
by Chris Tyler
Greetings!
I'm teaching in the Linux Administration program at Seneca College,
Toronto -- this is a graduate certificate program in Linux system
administration (http://isa.senecac.on.ca). This semester I'm adding a
special emphasis on virtualization using Xen (and possibly KVM) on top
of FC6.
Seneca has generously provided a fantastic cluster for us to experiment
on; each node is a Core 2 Duo with 4 GB of RAM, the nodes are connected
with gig-E, and a fibre channel SAN will be added in a few weeks.
Initially, we only have ssh character-mode access to the cluster; ssh
tunneling is being set up.
My hope is that the student's work on this cluster will result in
several meaningful contributions back to the Xen community (and Fedora
Xen community in particular) in areas such as rapid provisioning tools,
detailed configuration benchmarks, and migration-control tools.
Unfortunately, we're having a rough time getting FC6 guests installed
via virt-install/xenguest-install. When attempting to install the x86_64
version, I get this:
=======================
Starting install...
libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: (22, 'Invalid argument')")
Failed to create domain ct001
=======================
And when I try i386 I get:
=======================
...Installation proceeds, minstage2 starts, Welcome message appears, and
then...
Searching for Fedora Core installations...
------------[ cut here ]------------
kernel BUG at arch/i386/mm/hypervisor.c:197!
invalid opcode: 0000 [#1]
SMP
last sysfs file: /block/ram0/dev
=======================
Any recommendations/pointers/suggestions appreciated!
--
Chris Tyler
School of Computer Studies, Seneca@York
17 years, 3 months
Centos Hangs before login prompt, and udev fails.
by K T Ligesh
Hi,
I finally got xen to work properly by creating initrd by hand, so thanks to all the people who helped me out last time. Now I have another issue. The centos guest is hanging just before the login prompt comes up, and I also notice that udev is failing initially itself. I am using the images from jailtime.org.
I created the mkinitrd by using the command below. Is there anything I should add?
mkinitrd -f --with=xennet --builtin=aic7xxx --builtin=serverworks --preload=xenblk --omit-raid-modules --omit-lvm-modules --fstab=myfstab /boot/lxxen-initrd.img 2.6.19-1.2895.fc6xen"
Thanks.
17 years, 3 months
DomU boot on Fedora 6 fails with 'no root found' error.
by K T Ligesh
I am trying to get Xen running on Fedora 6, which I thought would be easy, but I guess not. I am using the standard image from jailtime.org and my domU configuration file is below. I am using the same kernel of the host itself.
------------
kernel = '/boot/vmlinuz-2.6.19-1.2895.fc6xen'
ramdisk = '/boot/initrd-2.6.19-1.2895.fc6xen.img'
memory = 512
name = 'test.vm'
vif = ['vifname=vif-test0, mac=aa:00:f6:f4:06:1a']
vnc = 0
vncviewer = 0
serial = 'pty'
disk = ['file:/home/test.vm//root.img,sda1,w', 'file:/home/test.vm//vm.swap,sda2,w']
root = '/dev/sda1 ro'
------------------
-------------------
Loading dm-zero.ko module
Loading dm-snapshot.ko module
Making device-mapper control node
Scanning logical volumes
Reading all physical volumes. This may take a while...
No volume groups found
Activating logical volumes
Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
--------------------------
The above is the error I got. It seems the initrd is searching for volGroup00, which is how the '/' of the HOST is mounted, but I have explicitly given 'root =' in the config file. So I am confused. Is there anyone here who has experienced this beforehand?
Thanks in advance.
17 years, 3 months
switching virtual terminals when viewing serial console
by Adam Monsen
Is it possible to switch virtual terminals when viewing a Xen console?
For instance, I'm using virt-manager to install a guest OS of Fedora
rawhide. During the install, it would be helpful if I could see the other
virtual terminals, like when I press ALT-F2 during a bare-metal text-based
install (or CTRL-ALT-F2 during a graphical install).
--
Adam Monsen
17 years, 3 months
migration from fc5 to fc6 fails
by Jason Tower
i have several fc5 dom0 servers booting ubuntu-based domUs with stock
fc5 domU kernel and initrd, works beautifully. however, those same
exact domUs fail to boot under fc6 (kernel panic, can't find /). it's
even the same hardware (dell 2650 server) - a given domU
filesystem/kernel/initrd combo works great under fc5, but fails under
fc6. any thoughts?
17 years, 3 months