OpenWrt Forum Archive

Topic: wl500gp and kamikaze

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

Just upped a self compile kamikaze (r3957) brcm-4MB-jffs2 image to my new wl500gp.

Telnet access works

dmesg shows dozends of

b44: eth1: BUG!  Timeout waiting for bit 80000000 of register 428 to clear.

lines followed by

device eth1 entered promiscuous mode
br0: port 2(eth1) entering learning state
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state

for the strange eth1 interface.

So I changed /etc/config/network (removed eth1)

lan_ifnames="vlan0"

The eth1: BUG lines still apear.

I fixed it by changing S10boot

for iface in $(/sbin/ifconfig -a | awk '{print $1}' | grep eth); do
        MAC=$(/sbin/ifconfig -a $iface | head -1 | awk '{print $5}')
        [ "$MAC" != "40:10:18:00:00:2D" ] && /usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug net
done

Because the interface can be identified by it's strange Mac address and could not yet figure out how to get the boardtype from whithin the script.

Now the eth1: BUG lines disappeared in dmesg

Linux version 2.6.16.7 (root@gentoo) (gcc version 3.4.6 (OpenWrt-2.0)) #1 Fri Jun 16 02:15:29 CEST 2006
CPU revision is: 00029006
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
  DMA zone: 8192 pages, LIFO batch:1
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
Built 1 zonelists
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (19 instructions).
Synthesized TLB load handler fastpath (31 instructions).
Synthesized TLB store handler fastpath (31 instructions).
Synthesized TLB modify handler fastpath (30 instructions).
PID hash table entries: 256 (order: 8, 4096 bytes)
Using 100.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29900k/32768k available (1982k kernel code, 2852k reserved, 257k data, 124k init, 0k highmem)
Calibrating delay loop... 197.63 BogoMIPS (lpj=98816)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  unavailable.
NET: Registered protocol family 16
PCI: fixing up bridge
PCI: Setting latency timer of device 0000:01:00.0 to 64
PCI: Fixing up device 0000:01:00.0
PCI: Failed to allocate I/O resource #4:20@400 for 0000:01:03.0
PCI: Failed to allocate I/O resource #4:20@400 for 0000:01:03.1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 3) is a 16550A
PCI: Enabling device 0000:00:06.0 (0000 -> 0002)
b44.c:v0.97 (Nov 30, 2005)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:17:31:b4:28:55
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:02.0 to 64
eth1: Broadcom 47xx 10/100BaseT Ethernet 40:10:18:00:00:2d
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size flag: 0
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000f0000-0x007f0000 : "rootfs"
0x007f0000-0x00800000 : "nvram"
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
ip_conntrack version 2.4 (256 buckets, 2048 max) - 244 bytes per conntrack
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 124k freed
Algorithmics/MIPS FPU Emulator v1.5
Probing device eth0: found!
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
vlan0: dev_set_allmulti(master, 1)
vlan1: add 01:00:5e:00:00:01 mcast address to master interface

Seems to run only with 200MHZ

cat /proc/cpuinfo
system type             : Broadcom BCM47xx
processor               : 0
cpu model               : Broadcom BCM3302 V0.6
BogoMIPS                : 197.63

Additionaly I could not figure out how to get the wifi kernel module bcm4xx compiled.

(Last edited by achim71000 on 16 Jun 2006, 07:47)

I tried the following to get bcm4xx stuff running.

I copied the following modules from trunk/openwrt/build_mipsel/linux-2.6-brcm/modules to the router

80211.ko
rate_control.ko
bcm43xx-d80211.ko

I insmod em in the same order and get the following warning

bcm43xx_d80211 driver
PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:00.0 to 64
bcm43xx_d80211: Chip ID 0x4704, rev 0x8
bcm43xx_d80211: Number of cores: 9
bcm43xx_d80211: Core 0: ID 0x800, rev 0x3, vendor 0x4243, enabled
bcm43xx_d80211: Core 1: ID 0x806, rev 0x6, vendor 0x4243, enabled
bcm43xx_d80211: Core 2: ID 0x806, rev 0x6, vendor 0x4243, enabled
bcm43xx_d80211: Core 3: ID 0x808, rev 0x2, vendor 0x4243, enabled
bcm43xx_d80211: Core 4: ID 0x804, rev 0x8, vendor 0x4243, enabled
bcm43xx_d80211: Core 5: ID 0x816, rev 0x0, vendor 0x4243, enabled
bcm43xx_d80211: Core 6: ID 0x807, rev 0x2, vendor 0x4243, enabled
bcm43xx_d80211: Core 7: ID 0x80b, rev 0x0, vendor 0x4243, disabled
bcm43xx_d80211: Core 8: ID 0x80f, rev 0x0, vendor 0x4243, enabled
bcm43xx_d80211: Error: No 80211 core found!
PCI: Enabling device 0000:01:02.0 (0000 -> 0002)
PCI: Fixing up device 0000:01:02.0
PCI: Setting latency timer of device 0000:01:02.0 to 64
bcm43xx_d80211: Chip ID 0x4318, rev 0x2
bcm43xx_d80211: Number of cores: 4
bcm43xx_d80211: Core 0: ID 0x800, rev 0xd, vendor 0x4243, enabled
bcm43xx_d80211: Core 1: ID 0x812, rev 0x9, vendor 0x4243, disabled
bcm43xx_d80211: Core 2: ID 0x804, rev 0xc, vendor 0x4243, enabled
bcm43xx_d80211: Core 3: ID 0x80d, rev 0x7, vendor 0x4243, enabled
bcm43xx_d80211: PHY connected
bcm43xx_d80211: Detected PHY: Version: 3, Type 2, Revision 7
bcm43xx_d80211: Detected Radio: ID: 8205017f (Manuf: 17f Ver: 2050 Rev: 8)
bcm43xx_d80211: Radio turned off
bcm43xx_d80211: Radio turned off
wmaster0: Selected rate control algorithm 'simple'

Next I tried to start the interface

ifconfig wlan0 up

Got some firmware loading related errors.

Followed the instructions in http://random.blackworlds.org/bcm43xx-how-to.txt to extract the firmware and copied all the firmare files to /lib/firmware on the router

Rebooted the router and tried to up wlan0 again.

dmesg now shows

bcm43xx_d80211: PHY connected
bcm43xx_d80211: Radio turned on
bcm43xx_d80211: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/d80211/bcm43xx/bcm43xx_phy.c:1485:bcm43xx_find_lopair()
bcm43xx_d80211: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/d80211/bcm43xx/bcm43xx_phy.c:1485:bcm43xx_find_lopair()
bcm43xx_d80211: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/d80211/bcm43xx/bcm43xx_phy.c:1485:bcm43xx_find_lopair()
bcm43xx_d80211: Chip initialized
bcm43xx_d80211: DMA initialized
bcm43xx_d80211: 80211 cores initialized
bcm43xx_d80211: Keys cleared
wmaster0: Does not support passive scan, disabled
bcm43xx_d80211: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/d80211/bcm43xx/bcm43xx_phy.c:1485:bcm43xx_find_lopair()
bcm43xx_d80211: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx_d80211: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR
bcm43xx_d80211: ASSERTION FAILED (radio_attenuation < 10) at: drivers/net/wireless/d80211/bcm43xx/bcm43xx_phy.c:1485:bcm43xx_find_lopair()
bcm43xx_d80211: FATAL ERROR: BCM43xx_IRQ_XMIT_ERROR

Anyway, Air LED is on and

iwlist wlan0 scanning

shows my local wifi network smile

(Last edited by achim71000 on 16 Jun 2006, 17:06)

Checked

http://forum.openwrt.org/viewtopic.php?id=5585

Applied the patches from http://www.ndl.kiev.ua/openwrt/bcm43xx-ap-old.tar.bz2 to the kernel and hostapd

Started checkout wireless-dev.git for missing header

cg-clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-dev.git

Added

CONFIG_DRIVER_DEVICESCAPE=y

Also added

-I${PATH_TO}/wireless-dev/include -I${PATH_TO}/wireless-dev/net/d80211

to the CFLAGS+= line

to trunk/openwrt/packages/hostapd/files/hostapd.conf

hostapd builds fine now.

Changed PKG_VERSION to 0.5.3 and commented out PKG_MD5SUM.

Version 0.5.3 builds fine.

Installed it to the router

Using the following config for hostapd

interface=wmaster0
driver=devicescape
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=4
dump_file=/tmp/hostapd.dump
ssid=wpa-test

hostapd starts without errors.

(Last edited by achim71000 on 16 Jun 2006, 21:45)

Changed wmaster0 to wlan0 in hostap config

iwconfig wlan0 mode 3
hostapd -B /etc/hostapd.conf

works.

Tried

brctrl addif br0 wlan0

But I can not connect, can that be realated to the BCM43xx_IRQ_XMIT_ERROR messages?

(Last edited by achim71000 on 16 Jun 2006, 22:11)

Hy,

I installed yesterday the buildroot-ng (r4792)   (X) Broadcom BCM47xx/53xx [2.6] for my Asus WL-500GP Router.
ifconfig -a bring up the following interfaces: eth0, eth1 but  no br0, no vlan0 and no vlan1.
For the wifi part I choose the following as modules in the "make menuconfig" context: Broadcom BCM43xx driver in
Location:                                                                                                                                    ? 
  ?     -> Kernel modules                                                                                                                          ? 
  ?       -> Wireless drivers

and the CONFIG_PACKAGE_kmod-ieee80211softmac in the
Location:                                                                                                                                    ? 
  ?     -> Kernel modules


After the compilation proccess I did not found the kmod_bcm43xx.ipk in the $TOP_DIR/bin/packages Section.

As describe in the buildroot-ng introduction I do this:
>make package/kernel-clean V=99
the result was:
--------------------------------------------------------snip------------------------------------------------------------------------------
make -C package kernel-clean
make[1]: Entering directory `/home/kaj/openwrt/r4792/buildroot-ng/openwrt/package'
make -C kernel clean
make[2]: Entering directory `/home/kaj/openwrt/r4792/buildroot-ng/openwrt/package/kernel'
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-crypto_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ide-core_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ide-pdc202xx_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ieee80211softmac_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-bcm43xx_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipw2100_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipw2200_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-conntrack_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-filter_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-ipopt_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-ipsec_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-nat_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-nathelper_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-imq_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-queue_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-ulog_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipt-extra_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ip6tables_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-arptables_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ebtables_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ipv6_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-gre_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-tun_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-ppp_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-pppoe_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-pppoa_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-mppe_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-natsemi_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-sis900_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-via-rhine_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-8139too_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-e100_*
rm -f /home/kaj/openwrt/r4792/buildroot-ng/openwrt/bin/packages/kmod-3c59x_*
make[3]: Entering directory `/home/kaj/openwrt/r4792/buildroot-ng/openwrt/package/kernel'
make[3]: »clean-targets« ist bereits aktualisiert.
make[3]: Leaving directory `/home/kaj/openwrt/r4792/buildroot-ng/openwrt/package/kernel'
rm -rf /home/kaj/openwrt/r4792/buildroot-ng/openwrt/build_mipsel/linux-2.6-brcm/packages
make[2]: Leaving directory `/home/kaj/openwrt/r4792/buildroot-ng/openwrt/package/kernel'
make[1]: Leaving directory `/home/kaj/openwrt/r4792/buildroot-ng/openwrt/package'
kaj@siebenzwerge:~/openwrt/r4792/buildroot-ng/openwrt> make menuconfig
toolchain/gcc/Config.version:17:warning: defaults for choice values not supported
toolchain/gcc/Config.version:15:warning: defaults for choice values not supported
------------------------------------------------------------------snap------------------------------------------------------------------------------
after this I make the following:

>make package/kernel-install V=99 | grep bcm43
I found no build-activity for the bcm43 part. Is this normal ?

achim71000 wrote:

Seems to run only with 200MHZ

cat /proc/cpuinfo
system type             : Broadcom BCM47xx
processor               : 0
cpu model               : Broadcom BCM3302 V0.6
BogoMIPS                : 197.63

currently there is no detection of  the cpu frequency in ./linux-2.6.17/arch/mips/bcm947xx/time.c.
its set to 200MHz. you have it to set on your own according to the cpu.
in case of the wl500gP set it to 264000000Hz.

Since i dislike the broadcom driver installation i exchanged the miniPCI with an atheros card and installed the madwifi modules. As expected it works perfect, hopefully kamikaze will include the broadcom drivers sooner or later. In the meantime take it as an confirmation that it is indeed possible just to use other cards...

achim71000 wrote:

Hi,

Just upped a self compile kamikaze (r3957) brcm-4MB-jffs2 image to my new wl500gp.

Telnet access works

dmesg shows dozends of

b44: eth1: BUG!  Timeout waiting for bit 80000000 of register 428 to clear.

lines followed by

device eth1 entered promiscuous mode
br0: port 2(eth1) entering learning state
br0: topology change detected, propagating
br0: port 2(eth1) entering forwarding state

for the strange eth1 interface.

So I changed /etc/config/network (removed eth1)

lan_ifnames="vlan0"

The eth1: BUG lines still apear.

I fixed it by changing S10boot

for iface in $(/sbin/ifconfig -a | awk '{print $1}' | grep eth); do
        MAC=$(/sbin/ifconfig -a $iface | head -1 | awk '{print $5}')
        [ "$MAC" != "40:10:18:00:00:2D" ] && /usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug net
done

Because the interface can be identified by it's strange Mac address and could not yet figure out how to get the boardtype from whithin the script.

Now the eth1: BUG lines disappeared in dmesg

Linux version 2.6.16.7 (root@gentoo) (gcc version 3.4.6 (OpenWrt-2.0)) #1 Fri Jun 16 02:15:29 CEST 2006
CPU revision is: 00029006
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
  DMA zone: 8192 pages, LIFO batch:1
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
Built 1 zonelists
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (19 instructions).
Synthesized TLB load handler fastpath (31 instructions).
Synthesized TLB store handler fastpath (31 instructions).
Synthesized TLB modify handler fastpath (30 instructions).
PID hash table entries: 256 (order: 8, 4096 bytes)
Using 100.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29900k/32768k available (1982k kernel code, 2852k reserved, 257k data, 124k init, 0k highmem)
Calibrating delay loop... 197.63 BogoMIPS (lpj=98816)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  unavailable.
NET: Registered protocol family 16
PCI: fixing up bridge
PCI: Setting latency timer of device 0000:01:00.0 to 64
PCI: Fixing up device 0000:01:00.0
PCI: Failed to allocate I/O resource #4:20@400 for 0000:01:03.0
PCI: Failed to allocate I/O resource #4:20@400 for 0000:01:03.1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 3) is a 16550A
PCI: Enabling device 0000:00:06.0 (0000 -> 0002)
b44.c:v0.97 (Nov 30, 2005)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:17:31:b4:28:55
PCI: Enabling device 0000:00:02.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:02.0 to 64
eth1: Broadcom 47xx 10/100BaseT Ethernet 40:10:18:00:00:2d
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size flag: 0
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000f0000-0x007f0000 : "rootfs"
0x007f0000-0x00800000 : "nvram"
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
ip_conntrack version 2.4 (256 buckets, 2048 max) - 244 bytes per conntrack
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 124k freed
Algorithmics/MIPS FPU Emulator v1.5
Probing device eth0: found!
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
vlan0: dev_set_allmulti(master, 1)
vlan1: add 01:00:5e:00:00:01 mcast address to master interface

Seems to run only with 200MHZ

cat /proc/cpuinfo
system type             : Broadcom BCM47xx
processor               : 0
cpu model               : Broadcom BCM3302 V0.6
BogoMIPS                : 197.63

Additionaly I could not figure out how to get the wifi kernel module bcm4xx compiled.

Here is another way

On Thu, Jan 13, 2005 at 06:31:47PM -0800, Stephen Hemminger wrote:

> I get this all the time on my laptop (2.6.8 - 2.6.10) even
> when connected to the router
> b44: eth0: BUG!  Timeout waiting for bit 00000001 of register 41c to set.

I get a similar-looking message on my Dell Inspiron 8500 on 2.6.9:

        b44: eth0: BUG!  Timeout waiting for bit 80000000 of register 428 to
clear.

This happens when UP'ing the device, both when at-the-time-of-UP'ing
already connected to some Cisco Catalyst that's configured to do only
10Mbps and no autonegotiation, as well as when not connected to anything
at all.  Not sure whether it also happens on 100Mbps or when using
autonegotiation -- can't check right now.

02:00.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
        Subsystem: Dell: Unknown device 8127
        Flags: bus master, fast devsel, latency 32, IRQ 11
        Memory at faffe000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [40] Power Management version 2

Hope this helps.

the error messages went away when the wan port was pluged on a switch.

Dear achim71000,
Why you solution for b44 bug cannot solve the same issue on WL-500B? Could you please give me some suggestions? Thanks!

how about updating to the lastet release? im on r6766 on a wl500gP and everything works fine......

(Last edited by puchu on 2 Apr 2007, 16:17)

I've compiled and installed kamikaze yesterday from svn and everything works fine. You should try the latests snapshots, they also work.

kenjiru wrote:

I've compiled and installed kamikaze yesterday from svn and everything works fine. You should try the latests snapshots, they also work.

hi, kenjiru, which router do you use? which version snapshots do you use? Thx!
I checked out at 20070402, but still cannot work on my WL-500b. sad

The discussion might have continued from here.