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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen and pciback.hide, doesn't survive domU reboot
From: Peter Sjoberg <peters-opensuse@xxxxxxxxxx>
Date: Sat, 01 Sep 2007 17:45:29 -0400
Delivery-date: Mon, 10 Sep 2007 09:05:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1187500688.6277.29.camel@xxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <1187500688.6277.29.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Is it no one who can even give a hint as to what I can do about the
problem? 

On Sun, 2007-08-19 at 01:18 -0400, Peter Sjoberg wrote:
> 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
> 



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

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