Problem Installing Fedora 7 as a Guest on Xen machine
by Samad, Alex
Hi
I have run into a problem installing fedora 7 as a guest on a Xen
machine.
The host machine is a amd64 - Debian lenny install. Running
2.6.20-1-xen-amd64
xm info
host : debxen
release : 2.6.20-1-xen-amd64
version : #1 SMP Tue Apr 24 22:23:22 UTC 2007
machine : x86_64
nr_cpus : 4
nr_nodes : 1
sockets_per_node : 2
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 2800
hw_caps :
178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f
total_memory : 8191
free_memory : 1
xen_major : 3
xen_minor : 0
xen_extra : .3-1
xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p
hvm-3.0-x86_64
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : Tue Oct 17 22:09:52 2006 +0100
cc_compiler : gcc version 4.1.2 20061028 (prerelease) (Debian
4.1.1-19)
cc_compile_by : ultrotter
cc_compile_domain : debian.org
cc_compile_date : Fri Nov 3 00:21:27 CET 2006
xend_config_format : 2
I have downloaded the fedora 7 DVD, I have extracted the xen vmlinuz and
zen initrd.img
This is my fedora7.cfg
#
# Kernel + memory size
#
kernel = '/etc/xen/data/fedora7/vmlinuz'
ramdisk = '/etc/xen/data/fedora7/initrd.img'
memory = '1024'
extra = 'pnpacpi=off sync_console vnc vncpassword=qwerty text
vncconnect=16.144.29.11'
#bootloader = '/usr/lib/xen-3.0.3-1/bin/pygrub'
#
# Disk device(s).
#
disk = [ 'phy:vglocal/fedora7-disk,xvda,w' ]
#
# Hostname
#
name = 'fedora7'
#
# Networking
#
dhcp = 'dhcp'
#vif = [ 'type=ioemu, bridge=xenbr0' ]
vif = [ '' ]
#
# Behaviour
#
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
serial = "pty"
localtime = 0
vcpus = 2
I tried something similar with RHEL5 and it worked, fedora7 is getting
stuck
>From xm console fedora7
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
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface 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
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
Write protecting the kernel read-only data: 938k
I not sure what is mean to come after here for me to guess where it
might be getting stuck. Can any one provide any hints or know what is
going wrong. Maybe there is a mis match of the xen versions ???
Thanks
Alex
16 years, 10 months
read-only acces to a filesystem on a xen guest
by Jordi Prats
Hi,
Which is the best way to acces a the data on a live xen guest to do
backups?
It's safe enought to mount it as read-only? I supose it is not, isn't it?
If it's on a logical volume of LVM I could do a snapshot. Would it be
consistent with the filesystem without being mounted on the dom0? So LVM
is smart enought to tell to the xen guest to flush all cache buffers
before to do the snapshot?
Thanks,
Jordi
--
......................................................................
__
/ / Jordi Prats Català
C E / S / C A Departament de Sistemes
/_/ Centre de Supercomputació de Catalunya
Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
T. 93 205 6464 · F. 93 205 6979 · jprats(a)cesca.es
......................................................................
pgp:0x5D0D1321
......................................................................
16 years, 10 months
building boot/xen/vmlinuz and intrd docs
by Johan De Wit
Hi,
Running FC7, on a non PAE laptop.
Rebuilded the xen kernels, but when installing guests using
virt-install, this doesn't work.
So I'm looking for some docs/howto to rebuild the /boot/xen from the
installation CD without the PAE feature.
I dit copy the kernel-xen vmlinuz to the boot. But then i have to load
some drivers manually.
Thanks a lot
Johan
16 years, 10 months
Debian VM progress
by Brian Lavender
It turns out I was able to get my Debian VM to boot. My Dom0 is actually
a Centos 5. What I did is I created a Debian install using QEMU, then I
placed the Centos kernel into Debian. I created an initrd for the Debian
using the Centos kernel. I also told the kernel that the console was
xvc0. I added xvc0 to the /etc/inittab and securetty.
The system boots, things start, and I get a login for the console.
But.... I don't see an eth0. The only indication I see of an eth0 is
the following.
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has flipping receive path.
But, I don't see any evidence when I type ifconfig. So, what do I need
to do to get this eth0 going?
brian
--
Brian Lavender
http://www.brie.com/brian/
16 years, 10 months
Centos5 Dom0 and Fedora7 DomU
by Brian McDonald
I am having problems getting a fedora7 domu running under my Centos5 Dom0
(this is a centos5 server no graphical interface)
I followed the same steps to created the fedora 7 domu as I have for
creating the cenots5 domu that I have on the same box.
I downloaded the vmlinux and initrd from here
ftp://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/
images/xen/
Xm config:
kernel = "/boot/vmlinuz-f7xeninstall"
ramdisk = "/boot/initrd-f7xeninstall"
extra = "text ks=http://www.mcdees-specialties.com/fed7/minimal-ks.cf"
name = "fed7"
memory = "230"
disk = [ 'tap:aio:/var/lib/xen/images/fed7.img,xvda,w', ]
#vif = [ '', ]
vif = [ 'bridge=xenbr0', ]
ip = "192.168.1.202"
netmask = "255.255.255.0"
gateway = "192.168.1.1"
vcpus=1
on_reboot = 'destroy'
on_crash = 'destroy'
When I run
xm create -c fed7inst
it gets to here and stops
.....................................
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
Freeing unused kernel memory: 180k freed
Write protecting the kernel read-only data: 762k
Any and all ideas are welcome
16 years, 10 months
fedora 7 guest problems under fedora 6 host
by Tom Horsley
I've been trying to install fedora 7 i386 as a guest using a fedora 6
x86_64 host (opteron).
If I do a fully virtual HVM install, I always encounter this bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237895
really early in the install, so it doesn't get very far.
If I try to do a paravirt install from the fedora 7 DVD image
(mounted under apache to be accessible on the network), the
virt-manager app crashes as soon as it is about to start the
install.
Anyone have any tips for a successful f7 i386 install under
an f6 dom0?
16 years, 10 months
RE: [Fedora-xen] Centos5 Dom0 and Fedora7 DomU
by Paul Wouters
On Wed, 6 Jun 2007, Brian McDonald wrote:
> I am using the new fedora 7 image, you mean fedora 7 does not like to be a
> DOMU? This does make any sense.
The Fedora initrd on the Dom0 cannot be used to start xenu's because
the initrd is lacking xenblk and xennet. Basically, you can only use
pygrub with the dom0 and unchanged initrd's, which means that you can
only run FC6 and/or F7 machines. As soon as you need to brung up other
OSes (eg FC3 or RHEL4 or Centos or Debian), you will need a custom made
initrd.
Paul
16 years, 10 months
32bit PV on 64bit Host
by Jim Klein
It's my understanding that 32bit PV vms would run on 64bit hosts with Xen 3.1. However, this doesn't seem to work. Attempting to use virt-install from 64bit using a 32bit source files (over http) dies almost instantly. Creating the 32bit PV vm on a 32-bit system and copying to 64bit also doesn't work (dies at start before even a hint of starting.) Same when migrating a 32bit to a 64 bit (again, dies instantly.) Am I wrong about 32bit on 64bit hosts?
16 years, 10 months
Fedora 7 virtual machine problems
by John Lagrue
I have at least two problems running a virtual machine on F7
1. When I run qemu from the command line I can create a virtual
disk, run a virtual machine and install Windows XP on it. I can do
this because it enables me to define the cdrom on the command line
with "-cdrom /dev/cdrom". But I can't get any further because it keeps
giving me an error saying "A problem is preventing Windows from
accurately checking the license for this computer"
If I run the same virtual machine from the virtual machine manager I
don't get that error. But I don't get the CD ROM either
2. The above was obtained with QEMU. If I try to connect the Virtual
Machine Manager to XEN I get an error that tells me that either I'm
not running a XEN-enabled kernel, or the XEN service isn't running.
Unfortunately, it is running!
Any advice from anyone on either of these? I would love to do away
with dual-booting my laptop and just run Vista in a VM when I need it,
but so far I'm not having a lot of luck.
JDL
16 years, 10 months