Re: [Fedora-xen] kernel-2.6.38-1.xendom0.fc15.x86_64 & Xen 4.1.0
by Steven Haigh
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
12 years, 1 month
kernel-2.6.38-1.xendom0.fc15.x86_64 & Xen 4.1.0
by Steven Haigh
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
12 years, 1 month
/sys/class/net/xenbr5/bridge: No such file or directory
by Jon R.
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
12 years, 1 month
OProfile and Xen
by W. Michael Petullo
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
12 years, 2 months