Forum: ARM programming with GCC/GNU tools Bridge problem (IXP435)

von Michelle P. (mcpoon)

Rate this post
0 useful
not useful

I am need to port an application that uses bridge-utils. I have cross 
compile the modules to the root filesystem and busybox 1.16 to the root 
filesystem. However when I want to setup the bridge, the following error 
# brctl addbr br0
# brctl addif br0 eth0
device eth1 entered promiscuous mode
device eth1 left promiscuous mode
brctl: bridge br0: Invalid argument
May I know what causes the problem and how can I resolve it?
Below are the initialization log

CPU: XScale-IXP43x Family [69054041] revision 1 (ARMv5TE), cr=000039fb
CPU: VIVT data cache, VIVT instruction cache
Machine: Intel KIXRP435 Reference Platform
Memory policy: ECC disabled, Data cache buffered
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 
Kernel command line: console=ttyS0,115200 root=/dev/ram 
initrd=0x01800000,20M ramdisk=20480 mem=128M&0x00000000
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 105348KB available (3528K code, 300K data, 124K init, 0K 
Hierarchical RCU implementation.
Console: colour dummy device 80x30
Calibrating delay loop... 658.63 BogoMIPS (lpj=3293184)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
Switching to clocksource OSTS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 20480K
IXP4xx Queue Manager initialized.
NPE-B: reset: npe_debug_instr(): timeout
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 246
alg: No test for stdrng (krng)
io scheduler noop registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
console [ttyS0] enabled
brd: module loaded
IXP4xx MII Bus: probed
eth%d: MII PHY 1 on NPE-C
eth0: MII PHY 1 on NPE-C
eth%d: MII PHY 5 on NPE-A
eth1: MII PHY 5 on NPE-A
mice: PS/2 mouse device common for all mice
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1968 buckets, 7872 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option 
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
Ebtables v2.0 registered
XScale DSP coprocessor detected.
registered taskstats version 1
RAMDISK: gzip image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 1:0.
Freeing init memory: 124K
Executing /etc/init.d/rcS
mounting file system
mounting sysfs
mount: mounting dev on /dev failed: Invalid argument
HOT pluggin
ixp4xx_eth: Unknown parameter `no_phy_scan'
insmod: can't insert 
'/lib/modules/': unknown 
symbol in module or invalid parameter
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
MSG: Setting the loopback interface
MSG: Setting up IP and default Gateway
net eth0: firmware: requesting NPE-C
NPE-C: firmware functionality 0x0, revision 0x2:1
route: netmask and route address conflict
MSG: Configuring loopback interface
net eth1: firmware: requesting NPE-A
NPE-A: firmware functionality 0x8D, revision 0x2:1
Enabling IPv4 forwarding
net.ipv4.ip_forward = 1
executing the command shell
# eth0: link up, speed 100 Mb/s, full duplex


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.