On Sat, 2007-08-18 at 02:00 -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.Done a complete reinstall on a different system with different hardware, only os, config and problem is the same. The other system is a AMD server and the NICs are two dualport e100 where I did a fresh install of OpenSuSE 10.2 (this time x86_64, otherone was 32bit) and a new install of domU. After configuring the pciback and testing reboot I got the same as before, no extra ports after reboot of domU I did compare dmesg after reboto vs after cold boot and found two lines to be interesting [EMAIL PROTECTED]:~$ diff -u dmesg_after_cold-boot dmesg_after_reboot-boot --- dmesg_after_cold-boot 2007-09-11 11:51:05.000000000 -0400 +++ dmesg_after_reboot-boot 2007-09-11 11:57:27.000000000 -0400 ... @@ -37,15 +37,13 @@ PCI: System does not support PCI PCI: System does not support PCI NET: Registered protocol family 2 -pcifront pci-0: Installing PCI frontend -pcifront pci-0: Creating PCI Frontend Bus 0000:00 IP route cache hash table entries: 4096 (order: 3, 32768 bytes) TCP established hash table entries: 16384 (order: 6, 262144 bytes) TCP bind hash table entries: 8192 (order: 5, 131072 bytes) ... Why doesn't "pcifront" gets loaded after reboot ??? What loads/initialize pcifront ? /ps > > 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 > > [EMAIL PROTECTED] 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 > > > [EMAIL PROTECTED] 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. > > [EMAIL PROTECTED]:~# 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-opensuse AT techwiz.ca http://www.techwiz.ca/~peters > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
