XEN only supports 3 virtual Net-Devices!
We have to use a newer XEN Kernel with FrontendPCI Support to get the NICs
physically attached in the DomU.

neobiker

bgschaid wrote:
> 
> Hi!
> 
> I set up a EFW 2.1.2 the way it is described by Bill Pye (EFW in XEN on
> CentOS5) using the network-fw script by Neobiker.
> 
> The original setup was for 3 interfaces all of which were bridged to three
> physical interfaces in the machine. This works fine. I then decided that I
> wanted a fourth interface on the firewall and added a
> dummy-network-device. 
> 
> Now my problem is: all 4 bridges (eth0-2 and dummy0) get created, but when
> the EFW-domU is booted with "xm create -c efw" it hangs at this message
> (I'll append the complete boot message at the end, but here I show only
> the last few lines):
> 
> Creating root device
> Mounting root filesystem
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> Switching to new root
> INIT: version 2.85 booting
> Mounting /proc filesystem
> 
> Now, I don't think that the dummy device is the problem, because I can
> boot the EFW with any combination of three bridged devices (But not with
> 4)
> 
> Could anybody enligthen me what might be the problem:
>  - Does EFW-2.1.2-Community only allow 3 network devices?
>  - Is the problem that I did the original configuration with only 3
> devices?
>  - Did I miss something configuring Xen?
> 
> Thanks
> Bernhard
> 
> PS: The full boot message:
> 
> [EMAIL PROTECTED] ~]# xm create -c efw
> Using config file "/etc/xen/efw".
> Started domain efw
> Linux version 2.6.9-55.EL.endian19-xenU ([EMAIL PROTECTED])
> (gcc version 3.4.6 20060404 (Endian 3.4.6-8.endian6)) #1 SMP Mon May 28
> 08:30:11 EDT 2007
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000020000000 (usable)
> 0MB HIGHMEM available.
> 520MB LOWMEM available.
> NX (Execute Disable) protection: active
> IRQ lockup detection disabled
> Built 1 zonelists
> Kernel command line:  root=/dev/sda1 ro
> Initializing CPU#0
> CPU 0 irqstacks, hard=c0348000 soft=c0328000
> PID hash table entries: 4096 (order: 12, 65536 bytes)
> Xen reported: 2100.000 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> vmalloc area: e1000000-f4ffe000, maxmem 2d800000
> Memory: 512596k/532480k available (1485k kernel code, 11576k reserved,
> 576k data, 116k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode...
> Ok.
> Security Scaffold v1.0.0 initialized
> SELinux:  Disabled at boot.
> Capability LSM initialized
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 512K (64 bytes/line)
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> Brought up 1 CPUs
> checking if image is initramfs... it is
> Freeing initrd memory: 1244k freed
> Grant table initialized
> NET: Registered protocol family 16
> Brought up 1 VCPUs
> xen_mem: Initialising balloon driver.
> PCI: System does not support PCI
> PCI: System does not support PCI
> audit: initializing netlink socket (disabled)
> audit(1194893415.920:1): initialized
> Initializing Cryptographic API
> ksign: Installing public key data
> Loading keyring
> - Added public key 8569520B903D1DF3
> - User ID: Endian (Kernel Module GPG key)
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> i8042.c: No controller found.
> RAMDISK driver initialized: 16 RAM disks of 20480K size 1024 blocksize
> Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
> Xen virtual console successfully installed as xvc0
> Linux version 2.6.9-55.EL.endian19-xenU ([EMAIL PROTECTED])
> (gcc version 3.4.6 20060404 (Endian 3.4.6-8.endian6)) #1 SMP Mon May 28
> 08:30:11 EDT 2007
> BIOS-provided physical RAM map:
>  Xen: 0000000000000000 - 0000000020000000 (usable)
> 0MB HIGHMEM available.
> 520MB LOWMEM available.
> NX (Execute Disable) protection: active
> IRQ lockup detection disabled
> Built 1 zonelists
> Kernel command line:  root=/dev/sda1 ro
> Initializing CPU#0
> CPU 0 irqstacks, hard=c0348000 soft=c0328000
> PID hash table entries: 4096 (order: 12, 65536 bytes)
> Xen reported: 2100.000 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> vmalloc area: e1000000-f4ffe000, maxmem 2d800000
> Memory: 512596k/532480k available (1485k kernel code, 11576k reserved,
> 576k data, 116k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode...
> Ok.
> Security Scaffold v1.0.0 initialized
> SELinux:  Disabled at boot.
> Capability LSM initialized
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 512K (64 bytes/line)
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> Brought up 1 CPUs
> checking if image is initramfs... it is
> Freeing initrd memory: 1244k freed
> Grant table initialized
> NET: Registered protocol family 16
> Brought up 1 VCPUs
> xen_mem: Initialising balloon driver.
> PCI: System does not support PCI
> PCI: System does not support PCI
> audit: initializing netlink socket (disabled)
> audit(1194893415.920:1): initialized
> Initializing Cryptographic API
> ksign: Installing public key data
> Loading keyring
> - Added public key 8569520B903D1DF3
> - User ID: Endian (Kernel Module GPG key)
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> i8042.c: No controller found.
> RAMDISK driver initialized: 16 RAM disks of 20480K size 1024 blocksize
> Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
> Xen virtual console successfully installed as xvc0
> Event-channel device installed.
> netfront: Initialising virtual ethernet driver.
> Registering block device major 8
> Using cfq io scheduler
> #### netfront can't alloc rx grant refs
> vif vif-3: 12 creating netdev
> vif vif-3: 12 xenbus_dev_probe on device/vif/3
> mice: PS/2 mouse device common for all mice
> input: PC Speaker
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> NET: Registered protocol family 2
> netfront: device eth0 has flipping receive path.
> netfront: device eth1 has flipping receive path.
> netfront: device eth2 has flipping receive path.
> IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
> TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
> TCP bind hash table entries: 131072 (order: 8, 1048576 bytes)
> TCP: Hash tables configured (established 131072 bind 131072)
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> Bridge firewalling registered
> 802.1Q VLAN Support v1.8 Ben Greear <[EMAIL PROTECTED]>
> All bugs added by David S. Miller <[EMAIL PROTECTED]>
> Using IPI No-Shortcut mode
> XENBUS: Device with no driver: device/vif/3
> Freeing unused kernel memory: 116k freed
> Red Hat nash version 4.2.1.8 starting
> Mounted /proc filesystem
> Mounting sysfs
> Creating /dev
> Starting udev
> Loading scsi_mod.ko module
> SCSI subsystem initialized
> Loading sd_mod.ko module
> register_blkdev: cannot get major 8 for sd
> Loading mptbase.ko module
> Fusion MPT base driver 3.02.73rh
> Copyright (c) 1999-2006 LSI Logic Corporation
> Loading mptscsi.ko module
> Loading mptspi.ko module
> Fusion MPT SPI Host driver 3.02.73rh
> Loading mptsas.ko module
> Fusion MPT SAS Host driver 3.02.73rh
> Loading mptscsih.ko module
> Creating root device
> Mounting root filesystem
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> Switching to new root
> INIT: version 2.85 booting
> Mounting /proc filesystem
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Adding-a-fourth-interface-to-a-Endian-2.1.2-in-Xen-domU-tf4793058.html#a13713468
Sent from the efw-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to