OpenWrt Forum Archive

Topic: WGT634U Panic with latest build, can not revert to original firmware

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

After Installing the latest version of the kernel, I received this error during boot.
It seems to be getting a data bus error.

I have tried to revert back to the original firmware and it gets a panic during init of the jffs file syste.

Any ideas on what to try next?


CFE version 1.0.34 for BCM95365R (32bit,SP,LE)
Build Date: Tue Feb 24 03:21:41 CST 2004 (root@jackylinux)
Copyright (C) 2000,2001,2002 Broadcom Corporation.

Add MAC client version(DNI).
Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller
CPU type 0x29007: 200MHz
Total memory: 0x2000000 bytes (32MB)

Total memory used by CFE:  0x81BB1280 - 0x82000000 (4517248)
Initialized Data:          0x81BB1280 - 0x81BB3E90 (11280)
BSS Area:                  0x81BB3E90 - 0x81BB45D0 (1856)
Local Heap:                0x81BB45D0 - 0x81FB45D0 (4194304)
Stack Area:                0x81FB45D0 - 0x81FB65D0 (8192)
Text (code) segment:       0x81FB65E0 - 0x81FFFFB0 (301520)
Boot area (physical):      0x01B70000 - 0x01BB0000
Relocation Factor:         I:E23B65E0 - D:01BB0280

configure vlans
*****************************************************************
*********************** VLAN Driver initial  ********************
*****************************************************************
Process LAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add LAN port

Process WAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add WAN port
SUCCESS: enable ports  success
configure vlans...done
Device eth0:  hwaddr 00-09-5B-F6-3F-F2, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Loader:elf Filesys:raw Dev:flash0.os File: Options:(null)
***************************
****  MAC Client V1.0  ****
***************************
et0macaddr value :flag =0 value=00-09-5b-f6-3f-f2
et1macaddr value :flag =0 value=00-09-5b-f6-3f-f3
MAC exist at least one
system ethernet mac exist and not default....
Skip mac client process.....
Loading: 0x80001000/3740 Entry at 0x80001000
Closing network.
et0: link down
Starting program at 0x80001000
Linux version 2.6.19.2 (build@ubuntu01) (gcc version 4.1.2) #1 Tue Mar 13 02:39:                            21 EDT 2007
CPU revision is: 00029007
early_nvram_init: WGT634U NVRAM found.
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 8128
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/pre                            init noinitrd console=ttyS0,115200
Primary instruction cache 8kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 4kB, 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: 128 (order: 7, 512 bytes)
Using 100.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29936k/32768k available (1981k kernel code, 2832k reserved, 279k data, 1                            28k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  unavailable.
NET: Registered protocol family 16
PCI: fixing up bridge
PCI: Fixing up device 0000:01:00.0
Data bus error, epc == 80007ae0, ra == 80007ad8
Oops[#1]:
Cpu 0
$ 0   : 00000000 10008000 ac040300 a0000000
$ 4   : ac040300 00000004 0c040303 00000004
$ 8   : 00000007 00000000 00000004 0000000a
$12   : 00000002 81061df1 ffffffff 00000000
$16   : 00000004 00000000 81061e98 00000013
$20   : 810baa00 00000000 00000000 00000000
$24   : 00000000 801f5ca4
$28   : 81060000 81061e30 00000000 80007ad8
Hi    : 00000000
Lo    : 00000c00
epc   : 80007ae0     Not tainted
ra    : 80007ad8 Status: 10008002    KERNEL EXL
Cause : 0000001c
PrId  : 00029007
Modules linked in:
Process swapper (pid: 1, threadinfo=81060000, task=8105f858)
Stack : 00000030 81061e58 00000400 810c94f7 00000000 800fdc18 10008000 81061ecc
        00000003 80002380 810c9400 80129218 00000000 8010c538 00000000 81061e98
        00000004 80129440 10008001 8010b100 810c9400 810baa00 810c9400 8010c638
        81061e98 810c9400 00000000 810c94ec 00000013 00000003 8010c734 8010ca6c
        810c7380 00000006 00000000 00000001 00000002 00000002 00000100 00e01033
        ...
Call Trace:[<800fdc18>][<80002380>][<80129218>][<8010c538>][<80129440>][<8010b10                            0>][<8010c638>][<8010c734>][<8010ca6c>][<8010cac4>][<8010d088>][<8010bab8>][<801                            0d150>][<8012f0fc>][<8024d49c>][<8024d2cc>][<8024a1b8>][<80250000>][<800014cc>][                            <800014cc>][<8000ab18>][<8000ab08>]

Code: 24060400  10400008  00402021 <8c430000> 00001021  14400004  001110c0  0800                            1ec2  00433006
Kernel panic - not syncing: Attempted to kill init!

This is the boot messages from the latest kamikaze load.

CFE version 1.0.34 for BCM95365R (32bit,SP,LE)
Build Date: Tue Feb 24 03:21:41 CST 2004 (root@jackylinux)
Copyright (C) 2000,2001,2002 Broadcom Corporation.

Add MAC client version(DNI).
Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller
CPU type 0x29007: 200MHz
Total memory: 0x2000000 bytes (32MB)

Total memory used by CFE:  0x81BB1280 - 0x82000000 (4517248)
Initialized Data:          0x81BB1280 - 0x81BB3E90 (11280)
BSS Area:                  0x81BB3E90 - 0x81BB45D0 (1856)
Local Heap:                0x81BB45D0 - 0x81FB45D0 (4194304)
Stack Area:                0x81FB45D0 - 0x81FB65D0 (8192)
Text (code) segment:       0x81FB65E0 - 0x81FFFFB0 (301520)
Boot area (physical):      0x01B70000 - 0x01BB0000
Relocation Factor:         I:E23B65E0 - D:01BB0280

configure vlans
*****************************************************************
*********************** VLAN Driver initial  ********************
*****************************************************************
Process LAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add LAN port

Process WAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add WAN port
SUCCESS: enable ports  success
configure vlans...done
Device eth0:  hwaddr 00-09-5B-F6-3F-F2, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Loader:elf Filesys:raw Dev:flash0.os File: Options:(null)
***************************
****  MAC Client V1.0  ****
***************************
et0macaddr value :flag =0 value=00-09-5b-f6-3f-f2
et1macaddr value :flag =0 value=00-09-5b-f6-3f-f3
MAC exist at least one
system ethernet mac exist and not default....
Skip mac client process.....
Loading: 0x80500000/1219961 0x80629d79/35015 0x80632640/24 Entry at 0x80500000
Closing network.
et0: link down
Starting program at 0x80500000
Uncompressing Linux..........................................................................done, booting the kernel.
CPU revision is: 00029007
Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Primary data cache 4kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (vincent@itgserver200) (gcc version 3.0 20010422 (prerelease) with bcm4710a0 modifications) #1 Wed Apr 6 15:25:17 CST 2005
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initial ramdisk at: 0x801d5000 (382226 bytes)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS1,115200 root=/dev/ram0 init=/linuxrc rw syst_size=8M
CPU: BCM5365 rev 1 at 200 MHz
Calibrating delay loop... 199.47 BogoMIPS
Memory: 29988k/32768k available (1652k kernel code, 2780k reserved, 492k data, 80k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
NTFS driver 2.1.6a [Flags: R/O].
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 0) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Flash device: 0x800000 at 0x1c000000
Physically mapped flash: Minix filesystem found at block 384
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00060000 : "cfe"
0x00060000-0x00080000 : "config"
0x00080000-0x001c0000 : "linux"
0x001c0000-0x007e0000 : "jffs"
0x007e0000-0x00800000 : "nvram"
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 2048 bind 4096)
ip_conntrack version 2.1 (256 buckets, 2048 max) - 344 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 373k freed
VFS: Mounted root (minix filesystem).
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
LINUXRC: Bering - Initrd - V1.0-rc4
Loading modules...
Using /boot/lib/modules/et.o
Warning: loading et will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about taintet-macaddr=00-09-5b-f6-3f-f2
ed modules
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 1.1.2.0
Using /boot/lib/modules/robo.o
Warning: loading robo will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
robosw_attach_ocp: no Robo device on OCP busTFTPSERVER is
Mounting a 16M TMPFS filesystem...
copy dir /bin
copy dir /boot
copy dir /dev
copy dir /etc
copy dir /lib
copy dir /linuxrc
copy dir /proc
copy dir /sbin
copy dir /usr
copy dir /var
Pivoting...
Generating default dirs...
mkdir: Cannot create directory `/etc': File exists
Generating /tmp & /var/log & /share files ...
Generating /dev...
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0038eed8: 0x3032 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0038eedc: 0x3032 instead
Child dir "dropbear" (ino #6) of dir ino #2 appears to be a hard link
Child dir "config" (ino #3) of dir ino #2 appears to be a hard link
Child dir "modules.d" (ino #17) of dir ino #2 appears to be a hard link
Child dir "lib" (ino #10) of dir ino #9 appears to be a hard link
Child dir "ipkg" (ino #11) of dir ino #10 appears to be a hard link
Child dir "info" (ino #14) of dir ino #11 appears to be a hard link
Child dir "lists" (ino #12) of dir ino #11 appears to be a hard link
Child dir "modules" (ino #20) of dir ino #19 appears to be a hard link
Child dir "2.6.19.2" (ino #21) of dir ino #20 appears to be a hard link

Mounted /dev/mtdblock3 as jffs2
LINUXRC: Installing -
  usbcore: dev: /dev/mtdblock3 mnt: /var/lib/lrpkg/mnt t: jffs2 f: /var/lib/lrpkg/mnt/usbcore.lrp
usbcore(nf!) - Finished.
Generating POSIXness links...
cat: /var/lib/lrpkg/root.pn.links: No such file or directory
Generating tinylogin links...
cat: /var/lib/lrpkg/root.log.links: No such file or directory
chown and chmod /dev...
chown: unknown group name: root
cp: /var/lib/lrpkg/mnt/firmware.version: omitting directory
ready to mount /dev/mtdblock1
mount: Mounting /dev/mtdblock1 on /config_mnt failed: No such file or directory
/dev/mtdblock3 jffs2
exec: /sbin/initKernel panic: Attempted to kill init!
: not found

First post is openwrt's kamikaze branch hitting bug #1312

Second post is some issue with the original firmware.

The discussion might have continued from here.