OpenWrt Forum Archive

Topic: [WAP54G] Kamikaze 7.07 Crashing at network activity

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

Hello everybody,

some time ago i bricked my WAP54G V3.1 with Whiterussian RC4 running. Now I rescued it by adding a serial port and flashed Kamikaze 7.07 to it. The NVRAM is a bit messed up (stupid thing to play to mutch with these stuff wink), so I choose Kamikaze because of file configuration.

The device crashed all the time after flashing. Situation got better when i changed the network configuration.

root@OpenWrt:/# cat etc/config/network
#### VLAN configuration
config switch eth0
#       option vlan0    "0 1 2 3 5*"
#       option vlan1    "4 5"
        option vlan0    "0 1 2 3 4 5*"


#### Loopback configuration
config interface loopback
        option ifname   "lo"
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0


#### LAN configuration
config interface lan
        option type     bridge
        option ifname   "eth0.0"
#       option ifname   "eth0"
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0


#### WAN configuration
#config interface       wan
#       option ifname   "eth0.1"
#       option proto    dhcp

Now the device is booting and dont chrash while booting.
I can ping the WAP54G. But the device crashs if there is other activity on the network (e.g. Telnet, SSH, etc.) and reboots.
If I ping from the WAP54G ping somettimes works and sometimes crashs with messages like these:

BusyBox v1.4.2 (2007-07-23 07:12:28 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (7.07) -----------------------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# ping 192.168.1.10
PING 192.168.1.1Unable to handle kernel paging request at virtual address 55065b
a0, epc == 80006d9c, ra == 80006d20
0 (192.168.1.10)Oops in fault.c::do_page_fault, line 206:
$0 : 00000000 7fff7a20 c0000000 28000000 00000000 7fff7a54 80151094 8014d620
$8 : 1000fc01 1000001f 00000000 00000000 0000000e 00000000 0000000e 01000406
$16: 2ac15598 806e1f30 0000000e 004f0000 7fff7be8 004e0000 004091c0 004e874c
$24: 00000000 2ac015d0                   806e0000 806e1f00 7fff7be8 80006d20
Hi : 00000000
Lo : 00000000
epc   : 80006d9c    Tainted: P
Status: 1000fc03
Cause : 00001008
PrId  : 00029008
Process ping (pid: 284, stackpage=806e0000)
Stack:    00000000 00000000 00000000 00000000 0000029c 00000000 2ac15598
 00000000 7fff7a70 7fff7b00 0000000e 80005988 004eb174 004eb144 004eb154
 004eb174 004ea824 00000010 00000000 7fff7a20 00000000 10000000 0000000e
 7fff7a08 7fff7a28 00000000 00000000 7fff7a40 00000000 00000000 0000000e
 00000000 0000000e 01000406 7fff7a70 7fff7b00 0000000e 004f0000 7fff7be8
 004e0000 ...
Call Trace:   [<80005988>] [<8005b9ec>]

Code: 3c02fc00  02021824  3c02c000 <14620030> 3c02e000  001014c2  3042007c  0051
1021  8c430018
: 56 data bytes
Segmentation fault
root@OpenWrt:/# do_cpu invoked from kernel context! in traps.c::do_cpu, line 681
:
$0 : 00000000 1000fc00 000020d5 f5c312b4 801510c4 80171b78 80151094 8014d620
$8 : 1000fc01 80187268 801b0000 80180000 00000000 00000000 00000000 00000000
$16: 80187268 80171b78 00000000 00000040 80187180 00000000 00002360 801b0000
$24: 80681ce0 80187180                   80170000 80171b28 00000010 84c402c4
Hi : 000020d5
Lo : f5c312b4
epc   : 84c0203c    Tainted: P
Status: 1000fc03
Cause : 9000002c
PrId  : 00029008
Process swapper (pid: 0, stackpage=80170000)
Stack:    00000000 00000040 80187180 00000000 00002360 801b0000 80681ce0
 80187180 80000011 00000004 80170000 80171b78 0000029c 80005988 1000fc03
 f5c312b4 000020d5 80171d48 00000000 80005988 800e0011 80005490 ff01a8c0
 00008a00 0a01a8c0 00008a00 00000000 1000fc00 801ab878 00000000 000010c4
 80171d48 80151094 00000010 801b0003 80187268 801b0000 80180000 00000000
 00000000 ...
Call Trace:   [<80005988>] [<80005988>] [<800e0011>] [<80005490>] [<80151094>]
 [<80005a24>] [<800c808c>] [<800d5e88>] [<80005a24>] [<80108f48>] [<801510c4>]
 [<80151094>] [<8014d620>] [<800e3f5c>] [<800e3f34>] [<801236a8>] [<801311a0>]
 [<80131258>] [<801308cc>] [<80005988>] [<800cd884>] [<8000321c>] [<8001c394>]
 [<800cd884>] [<800cd884>] [<80018360>] [<80017eb4>] [<80002764>] [<80140e94>]
 [<80008a60>] [<80140de8>] [<80030510>] [<800a3590>] [<80003248>] [<8000321c>]

Code: 08004802  0200480a  01201210 <10080121> 00000101  04800410  01010a00  0304
8000  00040201
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing
 <0>Rebooting in 3 seconds..Please stand by while rebooting the system...

somebody any idea what's the problem? I'm not quiet sure if the network configuration is correct. Espacially the switch (is there a switch in the WAP54G?).

Thanks for your help.

btw. Openwrt is great work. Thanks a lot to everbody who is taking part i the project!

PS: Here is the boot protocol:

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Thu Mar 24 16:31:45 CST 2005 (motoplayer@cvs.gemtek.com.tw)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.39.0
CPU type 0x29008: 200MHz
Total memory: 8192 KBytes

Total memory used by CFE:  0x80300000 - 0x80399700 (628480)
Initialized Data:          0x8032F870 - 0x80331F50 (9952)
BSS Area:                  0x80331F50 - 0x80333700 (6064)
Local Heap:                0x80333700 - 0x80397700 (409600)
Stack Area:                0x80397700 - 0x80399700 (8192)
Text (code) segment:       0x80300000 - 0x8032F870 (194672)
Boot area (physical):      0x0039A000 - 0x003DA000
Relocation Factor:         I:00000000 - D:00000000

Device eth0:  hwaddr 00-16-B6-55-21-01, ipaddr 192.168.1.245, mask 255.255.255.0

        gateway not set, nameserver not set
Reading :: Failed.: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3732 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029008
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Linux version 2.4.34 (nbd@ds10) (gcc version 3.4.6 (OpenWrt-2.0)) #13 Thu Jul 26
 17:55:20 CEST 2007
Setting the PFC to its default value
Determined physical RAM map:
 memory: 00800000 @ 00000000 (usable)
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/pre
init noinitrd console=ttyS0,115200
CPU: BCM5352 rev 0 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Memory: 6120k/8192k available (1462k kernel code, 2072k reserved, 100k data, 80k
 init, 0k highmem)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
b44.c:v0.93 (Mar, 2004)
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:16:b6:55:21:01
 SST Query Table vÿ. at 0x0000
number of JEDEC chips: 1
0: offset=0x0,size=0x1000,blocks=512
1: offset=0x200000,size=0x10000,blocks=32
Flash device: 0x200000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x120818
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x001f0000 : "linux"
0x000be400-0x001e0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-o
nly
0x001f0000-0x00200000 : "nvram"
0x001e0000-0x001f0000 : "rootfs_data"
sflash: found no supported devices
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 360 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
mount: mounting none on /sys failed
mount: mounting none on /dev failed
- preinit -
diag: Router model not detected.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Probing device eth0: found!
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
- init -
init started:  BusyBox v1.4.2 (2007-07-23 07:12:28 CEST) multi-call binary

Please press Enter to activate this console. jffs2.bbc: SIZE compression mode ac
tivated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
device eth0.0 entered promiscuous mode
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.80.53.0
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2

öhmp
*push*

no idea?

The discussion might have continued from here.