[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xen and pciback.hide, doesn't survive domU reboot



I'm running OpenSUES 10.2 on a Pentium4 system where I have installed
XEN and some guests.
One of the guests is a (opensuse 10.2) firewall with 5 NICs. Since we
have the limit of max 3 vifs' I'm exporting 2 with help of pciback. This
works fine most of the time but sometimes the guest doesn't find the 2
direct exported ports ("lspci" returns nothing). It seems to never work
if I reboot the guest and if I shutdown/create it works most of the time
but not always.

What can I do to make sure it always works?
Where should I look for the problem ?

Config data: On the host (dom0) I have

root@dom0# cat /etc/modprobe.conf.local
options pciback hide=(0000:03:02.1)(0000:03:03.1)
install sunhme /sbin/modprobe pciback ; /sbin/modprobe --first-time
--ignore-install sunhme


root@dom0# cat /etc/xen/vm/worf
disk = [ 'file:/var/lib/xen/images/worf/hda,hda,w' ]
memory = 256
vcpus = 1
builder = 'linux'
name = 'worf'
#
vif = [ 'mac=00:16:3e:00:0f:fb, bridge=xenbr0', 'mac=00:16:3e:00:ac:fb,
bridge=xenbr1','mac=00:16:3e:c0:a8:fb, bridge=xenbr2' ]
pci=['0000:03:02.1','0000:03:03.1']
localtime = 0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
extra = ' TERM=xterm'
bootloader = '/usr/lib/xen/boot/domUloader.py'
bootentry = 'hda1:/boot/vmlinuz-xen,/boot/initrd-xen'


On the guest I configured the network ports with "yast lan" and after
making the MAC static (it changed after each boot) it works whenever the
bypassed nics are available.

 root@domU:~# cat /etc/modprobe.conf.local
 options sunhme macaddr=0x08,0x00,0x20,0x00,0x00,0x49

Both host and guest runs a fully patched opensuse 10.2 -32bit


-- 
-------------------------------------------------------------------
Techwiz, Peter Sjoberg    PGP key (12F506C8) on keyserver & homepage
Key fingerprint =  3DC2 CEBA 1590 B41A 3780  955A DB42 02BB 12F5 06C8
mailto:peters-xen AT techwiz.ca http://www.techwiz.ca/~peters



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.