WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen and pciback.hide, doesn't survive domU reboot
From: Peter Sjoberg <peters-opensuse@xxxxxxxxxx>
Date: Sun, 19 Aug 2007 01:18:08 -0400
Delivery-date: Thu, 30 Aug 2007 02:20:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen and pciback.hide, doesn't survive domU reboot, Peter Sjoberg <=