On 16/04/2011 11:00 PM, M A Young wrote:
>
>
> On Sat, 16 Apr 2011, Steven Haigh wrote:
>
>> Hi all,
>>
>> I've rebuilt my xen server to Fedora 15 Beta which has Xen 4.1.0.
>>
>> I've copied the config files from a working Fedora 14 & Xen 4.0.1 xen
>> server, however it seems that the guests refuse to start.
>>
>> My config file is as follows:
>> memory = 512
>> name = "zeus.vm"
>> vcpus = 2
>> disk = [ 'phy:/dev/RAID1/zeus.vm,xvda,w',
>> 'phy:/dev/RAID5/fileshare,xvdb,w' ]
>
> Try file: instead of phy: and xl rather than xm. I think that kernel has
> kernel block back support in theory but I am not sure it works.
I think I managed to track down the problem!
Replacing the kernel & initrd lines in the config file with:
bootloader = '/usr/bin/pygrub'
The domains seem to function without issue now.
I still seem to have problems starting hvm DomUs with Windows as the
guest OS. My guess is that something seems to be wrong with
pv-grub_x86_64.gz and possible hvmloader?
Has anyone managed to overcome, confirm or suggest a workaround for this?
--
Steven Haigh
Email: netwiz(a)crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299
There are no great men, only great challenges that ordinary men are
forced by circumstances to meet. -- Admiral William Halsey
Hi all,
I've rebuilt my xen server to Fedora 15 Beta which has Xen 4.1.0.
I've copied the config files from a working Fedora 14 & Xen 4.0.1 xen
server, however it seems that the guests refuse to start.
My config file is as follows:
memory = 512
name = "zeus.vm"
vcpus = 2
disk = [ 'phy:/dev/RAID1/zeus.vm,xvda,w',
'phy:/dev/RAID5/fileshare,xvdb,w' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
vif = [ "mac=02:16:36:35:35:09,bridge=br203,script=vif-bridge" ]
kernel="/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra="(hd0)/boot/grub/grub.conf"
The only real message I can find says something about the kernel not
being a valid bzImage?
Is Fedora 15 + kernel-2.6.38-1.xendom0.fc15.x86_64.rpm a known working
configuration? Has the config changed between 4.0.1 and 4.1.0?
--
Steven Haigh
Email: netwiz(a)crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299
There are no great men, only great challenges that ordinary men are
forced by circumstances to meet. -- Admiral William Halsey
I followed Pasi's setup at
http://wiki.xensource.com/xenwiki/RHEL6Xen4Tutorial to configure and a
SL6 box. This all worked great and I have a working system. When I look
at my bridge with 'brctl show' I am seeing this as the output:
brctl show
bridge name bridge id STP enabled interfaces
xenbr5 /sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
/sys/class/net/xenbr5/bridge: No such file or directory
8000.001125a5ce44 no bond0.5
The files are in the system as 'ls -l' shows:
ls -l /sys/class/net/xenbr5/bridge/
total 0
-rw-r--r-- 1 root root 4096 Apr 3 11:23 ageing_time
-r--r--r-- 1 root root 4096 Apr 3 11:23 bridge_id
--w------- 1 root root 4096 Apr 3 11:29 flush
-rw-r--r-- 1 root root 4096 Apr 3 11:23 forward_delay
-r--r--r-- 1 root root 4096 Apr 3 11:23 gc_timer
-rw-r--r-- 1 root root 4096 Apr 3 11:29 group_addr
-rw-r--r-- 1 root root 4096 Apr 3 11:23 hello_time
-r--r--r-- 1 root root 4096 Apr 3 11:23 hello_timer
-rw-r--r-- 1 root root 4096 Apr 3 11:23 max_age
-rw-r--r-- 1 root root 4096 Apr 3 11:29 priority
-r--r--r-- 1 root root 4096 Apr 3 11:23 root_id
-r--r--r-- 1 root root 4096 Apr 3 11:23 root_path_cost
-r--r--r-- 1 root root 4096 Apr 3 11:23 root_port
-rw-r--r-- 1 root root 4096 Apr 3 11:23 stp_state
-r--r--r-- 1 root root 4096 Apr 3 11:23 tcn_timer
-r--r--r-- 1 root root 4096 Apr 3 11:23 topology_change
-r--r--r-- 1 root root 4096 Apr 3 11:23 topology_change_detected
-r--r--r-- 1 root root 4096 Apr 3 11:23 topology_change_timer
I am bonding my interface eth0 and eth1 and assinging the bridge to the
bond, here are my ifcfg scripts:
# Intel Corporation 82546GB Gigabit Ethernet Controller
DEVICE=eth0
HWADDR=00:11:25:a5:ce:44
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
ISALIAS=no
MTU=9000
NM_CONTROLLED=no
# Intel Corporation 82546GB Gigabit Ethernet Controller
DEVICE=eth1
HWADDR=00:11:25:a5:ce:45
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
ISALIAS=no
MTU=9000
NM_CONTROLLED=no
DEVICE=bond0
BOOTPROTO=none
BONDING_OPTS="mode=1 miimon=100"
ONBOOT=yes
MTU=9000
NM_CONTROLLED=no
DEVICE=bond0.5
BOOTPROTO=none
ONBOOT=yes
VLAN=yes
BRIDGE=xenbr5
TYPE=Ethernet
MTU=9000
NM_CONTROLLED=no
DEVICE=xenbr5
BOOTPROTO=static
IPADDR=192.168.6.2
NETMASK=255.255.255.0
BROADCAST=192.168.6.255
ONBOOT=yes
TYPE=Bridge
MTU=9000
NM_CONTROLLED=no
I read through this post,
http://permalink.gmane.org/gmane.comp.emulators.xen.devel/98821, and it
never did give an answer to what may be causing this. Is this something
that can be ignored?
Thanks for any help,
Jon
Is anyone using OProfile with Xen? I am especially interested in the
passive profiling of Xen DomU domains.
I've attached a Xen patch against the Fedora oprofile package to a
report in Bugzilla, #693596. But, even with this patch I am getting
mixed results.
See also http://www.xen.org/files/summit_3/xenoprof_tutorial.pdf.
--
Mike
:wq
The Xen Dom0 feature described at
http://fedoraproject.org/wiki/Features/XenPvopsDom0
has been pushed to Fedora 16. I don't think this should come as a
surprise. A lot of people are working hard on the kernel components,
but they did not make the Fedora 15 timeline.
--
Mike
:wq
I have done an experimental kernel, which is a standard F15 2.6.38 kernel
plus the two packages needed to get the xen net backend working. In my
testing on an F15 host I could get a guest to boot from a text boot,
though X crashed. The build is at
http://koji.fedoraproject.org/koji/taskinfo?taskID=2968665 if anyone else
wants to test it.
Michael Young