Kernel compile
by Abhishek Gaurav
Hi,
I have the kernel-xen-devel 2.6.19-1.2895.fc6-xen-i686 package that I am
trying to compile after inserting couple of parameters, CONFIG_IP_PNP
and CONFIG_ROOT_NFS in the .config file. After 'make oldconfig', make
fails like following:
make[1]: *** No rule to make target `init/main.o', needed by
`init/built-in.o'. Stop.
make: *** [init] Error 2
Also, if I do,
[root@ict720ac 2.6.19-1.2895.fc6-xen-i686]# ls init/
Kconfig Makefile
Can anybody please let me know how to correct this.
Thanks,
Abhishek.
17 years, 2 months
xen and fc6 x86_64
by Henk Altena
Hello everybody,
I have two problems with xen and fc6 on a x86_64 AMD.
The first problem:
When I install on a new HD fc6 x86_64 WITH the program group VM then my
pc is refusing to boot.
The boot process stops with the message: udev and then hangs.
After the above procedure I installed FC6 x86-64 WITHOUT xen. The
machine boots normal. Now I install all the xen packages.
At boot time I can choose now between the xen kernel and the 'normal'
kernel.
BUT when I make the xen kernel the default boot option the machine hangs
again. So I make the 'normal' kernel the default which it was by
default. Now I can boot both kernels without problems.
So when the xen kernel is the default boot option or the only boot
option the machine refuses to boot. Why ?
My second problem is how to create a VM image:
In this list I used the advice from Chris Tyler on booting from a
network source in this case http.
My URL is: http://192.168.0.1/FC_5, which is the ip adres of my FC_6-xen
installation.
The startup works ok untill the following error: "error: failed to
retrieve FC_5/Fedora/base/stage2.img"
I disabled SElinux. I can browse the dvd with Firefox.
When I use nfs as a source as Adrian Revill pointed out I end up with
the error: "That directory could not be mounted from the server" While
the setup starts fine it seems to me the nfs setup is correct so there
must be another problem ?
What am I doing wrong ?
Thanks in advance !
Henk
17 years, 2 months
Xen network bridge questions (using network configuration tools provided by distribution)
by Pasi Kärkkäinen
Hi list!
I'm trying to figure out a way to use network configuration scripts provided
by the distribution to manage network/bridge configuration with xen..
This means I dont't want use xen "network-bridge" (or any other) script at
all, because they are a bit limited in functionality.
I want to setup VLAN interfaces with the scripts/tools provided by the
distribution, and bridge each VLAN separately, so I can flexibly assign
(and manage) specific VLAN's to domU's. This does not work with the default
xen network-bridge script (the black magic it does seems to fail with VLAN
interfaces).
Example configuration:
peth0.X == xenbrX
peth0.Y == xenbrY
peth1.Z == xenbrZ
peth1.W == xenbrW
Default Xen network-bridge script does the following (in addition to other
things):
1. Changes the MAC-address of peth0 to FE:FF:FF:FF:FF:FF. If I have another
physical interface, peth1, can it have the same MAC address, or does it have
to be different?
2. Sets peth0 to NOARP (disables ARP). Why is this? Is it a requirement?
3. Sets xenbr0 to NOARP. Same question goes for this.
I have working setup with FC6 network scripts/tools, but I'd like to make
sure I do the correct things.
Thanks!
-- Pasi
17 years, 2 months
xen and fc6
by Henk Altena
Hello everybody,
I have two problems with xen and fc6 on a x86_64 AMD.
The first problem:
When I install on a new HD fc6 x86_64 WITH the program group VM then my
pc is refusing to boot.
The boot process stops with the message: udev and then hangs.
After the above procedure I installed FC6 x86-64 WITHOUT xen. The
machine boots normal. Now I install all the xen packages.
At boot time I can choose now between the xen kernel and the 'normal'
kernel.
BUT when I make the xen kernel the default boot option the machine hangs
again. So I make the 'normal' kernel the default which it was by
default. Now I can boot both kernels without problems.
So when the xen kernel is the default boot option or the only boot
option the machine refuses to boot. Why ?
My second problem is how to create a VM image:
In this list I used the advice from Chris Tyler on booting from a
network source in this case http.
My URL is: http://192.168.0.1/FC_5, which is the ip adres of my FC_6-xen
installation.
The startup works ok untill the following error: "error: failed to
retrieve FC_5/Fedora/base/stage2.img"
I disabled SElinux. I can browse the dvd with Firefox.
When I use nfs as a source as Adrian Revill pointed out I end up with
the error: "That directory could not be mounted from the server" While
the setup starts fine it seems to me the nfs setup is correct so there
must be another problem ?
What am I doing wrong ?
Thanks in advance !
Henk
17 years, 2 months
xen in fc6
by Henk Altena
Hello everybody,
I have two problems with xen and fc6 on a x86_64 AMD.
The first problem:
When I install on a new HD fc6 x86_64 WITH the program group VM then my
pc is refusing to boot.
The boot process stops with the message: udev and then hangs.
After the above procedure I installed FC6 x86-64 WITHOUT xen. The
machine boots normal. Now I install all the xen packages.
At boot time I can choose now between the xen kernel and the 'normal'
kernel.
BUT when I make the xen kernel the default boot option the machine hangs
again. So I make the 'normal' kernel the default which it was by
default. Now I can boot both kernels without problems.
So when the xen kernel is the default boot option or the only boot
option the machine refuses to boot. Why ?
My second problem is how to create a VM image:
In this list I used the advice from Chris Tyler on booting from a
network source in this case http.
My URL is: http://192.168.0.1/FC_5, which is the ip adres of my FC_6-xen
installation.
The startup works ok untill the following error: "error: failed to
retrieve FC_5/Fedora/base/stage2.img"
I disabled SElinux. I can browse the dvd with Firefox.
When I use nfs as a source as Adrian Revill pointed out I end up with
the error: "That directory could not be mounted from the server" While
the setup starts fine it seems to me the nfs setup is correct so there
must be another problem ?
What am I doing wrong ?
Thanks in advance !
Henk
17 years, 2 months
Windows on FC6 - Installation freeze
by Abri Nation
Hi @all,
i have problems with installing a virtual Windows 2003 on my FC6 with XEN.
the installation freeze during the windows setup in the section of device
installation .
i selected (F5) APCI-Multi-Processor cause i want to use 2 cpus in the
Windows VM.
i think thats one of the problems, cause if install Widnows as a "Standard
PC" there is no problem
during the installation - but there it is not possible to use 2 cpus.
The system i use: 2 Quadcore Xeon and FC6
Do anyone got the same problems? What can i do for using Windows 2003 Server
with more than 1 cpu?
Thank you very much for help!
Greets,
Abri
17 years, 2 months
Re: [Fedora-xen] NFS Booting - Kernel modification
by Paul Wouters
On Mon, 26 Feb 2007, Abhishek Gaurav wrote:
> If I use a ramdisk, the error log changes (its attached to this mail). Not
> sure if I am in the right direction.
Yes you are!
Your logs show:
> Bootdata ok (command line is ip=136.159.8.59:136.159.8.14:136.159.8.14:255.255.255.0::eth0:off root=/dev/nfs nfsroot=136.159.8.14:/home/xen-images/fc4 )
>
> Linux version 2.6.18-1.2798.fc6xen (brewbuilder(a)hs20-bc1-6.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:59:01 EDT 2006
>
> SELinux: Initializing.
>
> checking if image is initramfs... it is
>
> RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
it loads the ramdisk
> Xen virtual console successfully installed as xvc0
>
> XENBUS: Device with no driver: device/vif/0
Looks like a missing xenblk or xennet driver...
> Write protecting the kernel read-only data: 440k
>
> 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 uhci-hcd.ko module
> USB Universal Host Controller Interface driver v3.0
>
> Loading ohci-hcd.ko module
> Loading ehci-hcd.ko module
> Loading jbd.ko module
> Loading ext3.ko module
> Loading scsi_mod.ko module
> SCSI subsystem initialized
>
> Loading sd_mod.ko module
> Loading cciss.ko module
> HP CISS Driver (v 3.6.10)
>
> Loading dm-mod.ko module
> device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel(a)redhat.com
>
> Loading dm-mirror.ko module
> Loading dm-zero.ko module
> Loading dm-snapshot.ko module
> 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!
I am confused that I don't see xenblk being loaded, yet you are
able to get mount the rootfs. Might be a NFS thing.
Try creating a special ramdisk/initrd for this machine on the
dom0 using:
mkinitrd /boot/initrd-2.6.18-1.2798.fc6xenU.img --preload=xenblk --with=xennet 2.6.18-1.2798.fc6xen
and change your config to use the ramdisk /boot/initrd-2.6.18-1.2798.fc6xenU.img instead.
Please let me know if this works.
Paul
17 years, 2 months
Problem creating VM image using virt-manager in FC6
by Ashok Thapliyal
i have fedora core 6 installed with xen support.
im trying to create a VM guest image using virt-manager
what is the url that i can give in the install location as it is asking for
a http,ftp,nfs location. i don't know what url to give ,,,
if i use nfs option then, how can i set up an installation tree on the host
OS ??
i have no clue as to how i can make this image file.
What all steps are needed to create a VM image ,can anyone please tell me?
Warm regards
Ashok thapliyal
17 years, 2 months
Running Xen on low spec single CPU
by Adrian Revill
I know a lot of people just see Xen as a method to use over spec'd boxes
more efficiently, but im interested in using its virtulisation
capabilities on low spec systems.
Has any one had any luck with getting a DomU running on a single CPU.
I seem to get stuck during the install, as far as i can see it seems
that the DomU is not being allocated CPU time.
Using Fedora 6, i can get through the anaconda stage in about 1/2 hr but
when the X window starts the CPU use drops to near 0% and i never get
past a black screen with the X cursor.
17 years, 2 months