WL-500gP-v1 hangs after "Mounted devfs on /dev"

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
brumela
DD-WRT Novice


Joined: 17 Jun 2008
Posts: 3

PostPosted: Fri Jun 05, 2020 13:47    Post subject: WL-500gP-v1 hangs after "Mounted devfs on /dev" Reply with quote
Hi,

my problem is that after uploading dd-wrt.v24_mini_asus.trx (ver 08-06-2019-r40559) to my WL-500gP-v1, booting hangs after "Mounted devfs on /dev".
Here is whole log from serial console.
Quote:

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: ▒T 12▒▒ 14 15:54:18 CST 2005 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
rndis0: Broadcom USB RNDIS Network Adapter (P-t-P)
CPU type 0x29006: 264MHz
Total memory: 16777216 KBytes

Total memory used by CFE: 0x80800000 - 0x8089B590 (636304)
Initialized Data: 0x80831700 - 0x80833DE0 (9952)
BSS Area: 0x80833DE0 - 0x80835590 (6064)
Local Heap: 0x80835590 - 0x80899590 (409600)
Stack Area: 0x80899590 - 0x8089B590 (8192)
Text (code) segment: 0x80800000 - 0x80831700 (202496)
Boot area (physical): 0x0089C000 - 0x008DC000
Relocation Factor: I:00000000 - D:00000000

Device eth0: hwaddr 00-17-31-E7-59-7A, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Null Rescue Flag.
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3916 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU ProcId is: 0x00029006, options: 0x0000004d
Linux version 2.4.37 (root@linux) (gcc version 3.4.6 (OpenWrt-2.0)) #54995 Tue Aug 6 04:54:05 +04 2019
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 263.78 BogoMIPS
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0Cool with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:02.0 to 64
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
PPPoL2TP kernel driver, V0.13
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x21edd8
partition size = 2277352
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x00124018-0x00350000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00350000-0x007f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux 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


So after reading UML hangs on boot after mounting devfs I double checked my router version and firmware version. I used correct versions.

For flashing firmware I followed this instructions and also Asus_TFTP_Flash.

What else I tried?
    clean up NVRAM with nvram erase and wl500g-clear-nvram.trx and wl500g-recover.trx

    I flash with tftp and "Asus recovery tool" and got same error. No matter which method same result.

    I also tried to flash with original firmware (WL500gp_1.9.7.7_TW.trx and WL500gp_1.9.6.9_TW.trx)


Quote:

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: ▒T 12▒▒ 14 15:54:18 CST 2005 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
rndis0: Broadcom USB RNDIS Network Adapter (P-t-P)
CPU type 0x29006: 264MHz
Total memory: 16777216 KBytes

Total memory used by CFE: 0x80800000 - 0x8089B590 (636304)
Initialized Data: 0x80831700 - 0x80833DE0 (9952)
BSS Area: 0x80833DE0 - 0x80835590 (6064)
Local Heap: 0x80835590 - 0x80899590 (409600)
Stack Area: 0x80899590 - 0x8089B590 (8192)
Text (code) segment: 0x80800000 - 0x80831700 (202496)
Boot area (physical): 0x0089C000 - 0x008DC000
Relocation Factor: I:00000000 - D:00000000

Device eth0: hwaddr 00-17-31-E7-59-7A, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Null Rescue Flag.
Hello!! Enter Rescue Mode: (by Force)

Reading :: TFTP Server.
Failed.: Timeout occured
Reading :: TFTP Server.
Failed.: Timeout occured
Reading :: TFTP Server.
Failed.: Timeout occured
Reading :: TFTP Server.
Failed.: Timeout occured
Reading :: TFTP Server.
Device eth0: hwaddr 00-17-31-E7-59-7A, ipaddr 192.168.1.49, mask 255.255.255.0
gateway not set, nameserver not set
Failed.: Timeout occured
Reading :: TFTP Server.
Failed.: Timeout occured
Reading :: TFTP Server.
TFTP_BLKLEN!!
Done. 7237632 bytes read
Download of 0x6e7000 bytes completed
Write kernel and filesystem binary to FLASH (0xbfc40000)
flash device 'flash1.trx'
Programming...
done. 7237632 bytes written
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .... 1908736 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU revision is: 00029006
Primary instruction cache 16kb, linesize 16 bytes (2 ways)
Primary data cache 16kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (root@localhost) (gcc version 3.2.3 with Broadcom modifications) #447 Mon May 12 20:56:27 CST 2008
Setting the PFC to its default value
Determined physical RAM map:
memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Calibrating delay loop... 263.78 BogoMIPS
Memory: 14100k/16384k available (1666k kernel code, 2284k reserved, 116k data, 64k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 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
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
NTFS driver v1.1.22 [Flags: R/O]
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0Cool with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
HDLC line discipline: version $Revision$, maxframe=4096
N_HDLC line discipline registered.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
PPPoL2TP kernel driver, V0.13 (oleg@cs.msu.su)
Amd/Fujitsu Extended Query Table v1.3 at 0x0040
MFR: 1 ID 7e
number of CFI chips: 1
Flash device: 0x800000 at 0x1c000000
Physically mapped flash: cramfs filesystem found at block 1064
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "boot"
0x00040000-0x007f0000 : "linux"
0x0010a328-0x007f0000 : "rootfs"
0x007f0000-0x00800000 : "nvram"
sflash: found no supported devices
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 1024 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
ip_tables: (C) 2000-2002 Netfilter core team
ipt_time loading
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>
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 64k freed

    I also try some other fws; Oleg fw, openwrt, freshtomato all with same result

    I compared flash adresses returned by CFE with some found on forum, they seem to be ok

Quote:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: ▒T 12▒▒ 14 15:54:18 CST 2005 (root@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.23.0
rndis0: Broadcom USB RNDIS Network Adapter (P-t-P)
CPU type 0x29006: 264MHz
Total memory: 16777216 KBytes

Total memory used by CFE: 0x80800000 - 0x8089B590 (636304)
Initialized Data: 0x80831700 - 0x80833DE0 (9952)
BSS Area: 0x80833DE0 - 0x80835590 (6064)
Local Heap: 0x80835590 - 0x80899590 (409600)
Stack Area: 0x80899590 - 0x8089B590 (8192)
Text (code) segment: 0x80800000 - 0x80831700 (202496)
Boot area (physical): 0x0089C000 - 0x008DC000
Relocation Factor: I:00000000 - D:00000000


    I came to conclusion that flash is probably damaged, althouth CPF always returned succesed message (this is from flasing original fw).

Quote:

TFTP_BLKLEN!!
Done. 7426048 bytes read
Download of 0x715000 bytes completed
Write kernel and filesystem binary to FLASH (0xbfc40000)
flash device 'flash1.trx'
Programming...
done. 7426048 bytes written
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 5192 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000


What else can I try? I have functional CFE, can flash be tested from CFE?
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14224
Location: Texas, USA

PostPosted: Fri Jun 05, 2020 13:57    Post subject: Reply with quote
40559 is a problematic build. You may wish to try 43192 or newer:

Where Do I Download Firmware?

Firmware FAQ

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
arssant
DD-WRT User


Joined: 14 Aug 2013
Posts: 153

PostPosted: Fri Jun 05, 2020 21:09    Post subject: Reply with quote
Hi

I bricked so many times my wl500gp v1, v2 and wl500w, so I Keep a wire solder to the flash chip pin. A needle is fine too. I use to short it to the fitting of the Faraday case covering the flash chip, or at one of the sma antenna connector.

You can try that:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=2507

But as I said, mine got bricked, last resource for me.
If yours is not yet bricked, try to find a less radical options 1st.

Did you check your power supply ? this b.... are very sensitive to bad/fail power supply.
brumela
DD-WRT Novice


Joined: 17 Jun 2008
Posts: 3

PostPosted: Mon Jun 08, 2020 7:53    Post subject: Reply with quote
kernel-panic69 wrote:
40559 is a problematic build. You may wish to try 43192 or newer:


I tried it and as expected got same result
Code:
TFTP_BLKLEN!!
Done. 3448832 bytes read
Download of 0x34a000 bytes completed
Write kernel and filesystem binary to FLASH (0xbfc40000)
flash device 'flash1.trx'
Programming...
done. 3448832 bytes written
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 4816 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU ProcId is: 0x00029006, options: 0x0000004d
Linux version 2.4.37 (root@linux) (gcc version 9.2.0 (GCC) ) #60426 Tue May 19 06:55    :10 +04 2020
map 0x18001000 to 0xB8001000
map 0x18002000 to 0xB8002000
map 0x18003000 to 0xB8003000
map 0x18004000 to 0xB8004000
map 0x18005000 to 0xB8005000
map 0x18006000 to 0xB8006000
map 0x18007000 to 0xB8007000
map 0x18008000 to 0xB8008000
init SB_CC
Setting the PFC to its default value
core revision 3
add uart0 at B8000300
add uart1 at B8000400
found 32kb nvram
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=    ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 263.78 BogoMIPS
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
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 enable    d
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:02.0 to 64
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
PPPoL2TP kernel driver, V0.13
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x25dab8
partition size = 2508132
Updating TRX offsets and length:
old trx = [0x0000001c, 0x00000a34, 0x000eba9c], len=0x0034a000 crc32=0x97e34c91
new trx = [0x0000001c, 0x00000a34, 0x000eba9c], len=0x00350000 crc32=0xae1923f1
Done
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x0012ba9c-0x00390000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00390000-0x007f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux 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
brumela
DD-WRT Novice


Joined: 17 Jun 2008
Posts: 3

PostPosted: Mon Jun 08, 2020 8:02    Post subject: Reply with quote
arssant wrote:

I bricked so many times my wl500gp v1, v2 and wl500w, so I Keep a wire solder to the flash chip pin. A needle is fine too. I use to short it to the fitting of the Faraday case covering the flash chip, or at one of the sma antenna connector.

You can try that:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=2507

Yes I also try this, but as I have functional CFE and recovery button is booting in tftp mode, there is no need...

Quote:

Did you check your power supply ? this b.... are very sensitive to bad/fail power supply.

Yes I also fix capacitor in power supply and try with different power supply. I also replaced two suspicious capacitors on main board.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum