Posted: Sun Jun 27, 2021 22:34 Post subject: Asus RT-N16 - Could not load flash0.os:: Error
As a result, I decided to reload the cfe via jtag. Filled in and the power LED began to light up. Everything else is still off. The local network does not rise. But in ttl access appeared. An error is displayed there when loading
Code:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: ¤T 5¤ë 27 16:47:24 CST 2009 (root@localhost.localdomain)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
CPU type 0x19740: 480MHz
Tot mem: 131072 KBytes
It also confuses me that when loading it does not write the load of the network card (Not my load, text "et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.3", not in my load).
Code:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Thu Dec 4 16:48:54 CST 2008 (root@localhost.localdomain)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
et0: Broadcom BCM47XX 10/100/1000 Mbps EthernetController 5.10.56.3
CPU type 0x19740: 532MHz
Tot mem: 131072 KBytes
Tried different commands to bring up the network interface.
Code:
CFE> ifconfig
Network interface has not been configured
*** command status = 0
CFE> ifconfig et0
Could not activate network interface 'et0': Error
*** command status = -1
CFE> ifconfig eth0
Could not activate network interface 'eth0': Error
*** command status = -1
CFE> ifconfig bo0
Could not activate network interface 'bo0': Error
*** command status = -1
CFE> ifconfig lo
Could not activate network interface 'lo': Error
*** command status = -1
CFE> et et0
*** command status = -6
CFE> et et0 up
*** command status = -6
CFE> et eth0 up
*** command status = -6
CFE> et bo0 up
*** command status = -6
Could the cfe firmware be wrong for my router?
flash0.os is a file or memory area?
Can someone have a backup of the main firmware and nvram so that I can upload it directly via jtag?
Is it possible to somehow check that my network interfaces are working and not burned out?
What else can you try to do with it?
Not sure what CFE you flashed via JTAG, but something sure ain't right. Could be MAC addresses wrong, could be a few other things. You probably didn't have to flash the CFE to de-brick. Did you wipe the flash as described in the device wiki I previously linked perhaps? _________________ "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
Comand 'devinfo show' and 'show devices' not found.
CFE> help
Code:
et Broadcom Ethernet utility.
nvram NVRAM utility.
reboot Reboot.
flash Update a flash memory device
batch Load a batch file into memory and execute it
go Verify and boot OS image.
boot Load an executable file into memory and execute it
load Load an executable file into memory without executing it
save Save a region of memory to a remote file via TFTP
ping Ping a remote IP host.
arp Display or modify the ARP Table
ifconfig Configure the Ethernet interface
help Obtain help for CFE commands
I decided to upload the firmware to the 'firmware' section via JTAG. It was a very long process. As a result, led Wi-Fi lit up. I connected via Wi-Fi, but at first I could not go to the web-admin or ping. After some manipulation with nvram, I managed to get ping and web. But LAN and WAN no ping or LED.
Can someone help with LAN and WAN?
And I am confused that the Linksys WRT54G / GL / GS is displayed in the NVRAM SHOW. Maybe he does not correctly identify the router and does not want to start normally. Where did Linksys come from? How is NVRAM created and is there any point in uploading it via JTAG?
Null Rescue Flag.
Loader:raw Filesys:tftp Dev:(null) File:: Options:(null)
Loading: TFTP Server.
Failed.
Could not load :: Error
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3708 bytes read
Entry at 0x80001000
Starting program at 0x80001000
Linux version 3.10.37 (root@dd-wrt.buildserver) (gcc version 4.7.3 20121106 (pre
release) (Linaro GCC 4.7-2012.11) ) #2089 Fri Apr 18 10:22:22 CEST 2014
CPU revision is: 00019740 (MIPS 74Kc)
found nvram at 1FD0000
map 32K cfe nvram at 1FF8000
copy 32768 bytes as cfe nvram
Determined physical RAM map:
memory: 07fff000 @ 00000000 (usable)
Zone ranges:
Normal [mem 0x00000000-0x07ffefff]
HighMem empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x00000000-0x07ffefff]
Primary instruction cache 32kB, 4-way, VIPT, I-cache aliases, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32511
Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd
init=/bin/sh
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)
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 123016k/131068k available (4432k kernel code, 8052k reserved, 1670k data
, 292k init, 0k highmem)
NR_IRQS:128
CPU: BCM4716 rev 1 at 480 MHz
bcm947xx_clockevent_set_mode: 1
bcm947xx_clockevent_set_mode: 3
console [ttyS0] enabled
Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
PCI: Using membase 8000000
PCI: Initializing host
PCI: Reset RC
PCI: no core
PCI: scanning bus 0
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: Fixing up bus 0
pci 0000:00:05.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI/PCIe coreunit 0 is set to bus 1.
PCI: Fixing up bridge
PCI: Fixing up bridge
PCI: Enabling device 0000:01:00.1 (0004 -> 0006)
PCI: Fixing up bus 1
Switching to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
msgmni has been set to 240
alg: No test for stdrng (krng)
io scheduler noop registered (default)
HDLC line discipline maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a U6_16550A
brd: module loaded
Physically mapped flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer
ID 0x0000c2 Chip ID 0x00007e
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
Flash device: 0x2000000 at 0x1c000000
try to find cfe size up to 33554432
bootloader size: 262144
nvram size: 65536
Physically mapped flash: Filesystem type: squashfs, size=0x12e3236
partition size = 0
Creating 5 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x000001fc0000 : "linux"
0x00000022d000-0x000001520000 : "rootfs"
mtd: partition "rootfs" must either start or end on erase block boundary or be s
maller than an erase block -- forcing read-only
mtd: partition "rootfs" set to be root filesystem
0x000001fc0000-0x000001fe0000 : "nvram"
0x000001520000-0x000001fc0000 : "ddwrt"
Creating 1 MTD partitions on "Physically mapped flash":
0x000001fe0000-0x000002000000 : "nvram_cfe"
Found an serial flash with 0 0KB blocks; total size 0MB
bcmsflash: found no supported devices
brcmnand: found no supported devices
nflash: found no supported devices
Creating 1 MTD partitions on "(null)":
0x000001fe0000-0x000002000000 : "nvram_cfe"
mtd: partition "nvram_cfe" is out of reach -- disabled
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
et_module_init: passivemode set to 0x0
et_module_init: txworkq set to 0x0
et_module_init: et_txq_thresh set to 0xce4
et0: online cpus 1
eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.86 (r456083)
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
Broadcom Watchdog Timer: 0.07 initialized.
u32 classifier
Performance counters on
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1922 buckets, 7688 max)
nf_conntrack_rtsp v0.6.21 loading
xt_time: kernel timezone is -0000
ip_set: protocol 6
gre: GRE over IPv4 demultiplexor driver
nf_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: bic registered
TCP: cubic registered
TCP: westwood registered
TCP: highspeed registered
TCP: hybla registered
TCP: htcp registered
TCP: vegas registered
TCP: veno registered
TCP: scalable registered
TCP: lp registered
TCP: yeah registered
TCP: illinois registered
NET: Registered protocol family 17
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
startup nvram driver
found nvram
found cfe nvram
found cfe nvram
check if nvram copy is required CFE Size is 32768
nvram copy magic is 48534C46
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 292K (805f7000 - 80640000)
start service
starting Architecture code for broadcom
starting hotplug
Jan 1 00:00:04 udevtrigger[752]: parse_config_file: can't open '/etc/udev/udev.
conf' as config file: No such file or directory
done
boardnum
boardtype
boardrev 0x10
nvram invalid, erase
Booting device: Linksys WRT54G/GL/GS
roboswitch: Probing device 'eth0'
roboswitch: trying a 5325! It's a BCM5365. at eth0
roboswitch: Failed to enable switch
roboswitch: Probing device 'eth1'
roboswitch: error (-122) while accessing MII phy registers with ioctls
roboswitch: Probing device 'eth2'
roboswitch: No such device
roboswitch: Probing device 'eth3'
roboswitch: No such device
insmod: cannot insert '/lib/modules/3.10.37/kernel/drivers/net/switch/switch-rob
o.ko': No such device
insmod: switch-adm.ko: module not found
boardflags are 0x0388
insmod: wl.ko: module not found
[USB] checking...
umount: can't umount /mnt: No such file or directory
rmmod: usblp: No such file or directory
rmmod: printer: No such file or directory
rmmod: usb-storage: No such file or directory
rmmod: sr_mod: No such file or directory
rmmod: cdrom: No such file or directory
rmmod: sd_mod: No such file or directory
rmmod: scsi_wait_scan: No such file or directory
rmmod: scsi_mod: No such file or directory
rmmod: usbmisc_imx: No such file or directory
rmmod: ci13xxx_imx: No such file or directory
rmmod: ci_hdrc: No such file or directory
rmmod: phy-mxs-usb: No such file or directory
rmmod: fsl-mph-dr-of: No such file or directory
rmmod: usb-libusual: No such file or directory
rmmod: dwc_otg: No such file or directory
rmmod: xhci-hcd: No such file or directory
rmmod: usb-ohci: No such file or directory
rmmod: ohci-hcd: No such file or directory
rmmod: uhci-hcd: No such file or directory
rmmod: usb-uhci: No such file or directory
rmmod: ehci-pci: No such file or directory
rmmod: ehci-platform: No such file or directory
rmmod: ehci-hcd: No such file or directory
rmmod: fsl-mph-dr-of: No such file or directory
rmmod: usbcore: No such file or directory
rmmod: usb-common: No such file or directory
rmmod: xfs: No such file or directory
rmmod: msdos: No such file or directory
rmmod: vfat: No such file or directory
rmmod: fat: No such file or directory
rmmod: nls_utf8: No such file or directory
rmmod: nls_iso8859-2: No such file or directory
rmmod: nls_iso8859-1: No such file or directory
rmmod: nls_cp437: No such file or directory
rmmod: nls_cp932: No such file or directory
rmmod: nls_cp936: No such file or directory
rmmod: nls_cp950: No such file or directory
rmmod: nls_base: No such file or directory
rmmod: ext3: No such file or directory
rmmod: jbd: No such file or directory
rmmod: ext2: No such file or directory
rmmod: mbcache: No such file or directory
rmmod: fuse: No such file or directory
/etc/preinit: line 66: can't create /proc/sys/net/ipv4/ip_conntrack_max: nonexis
tent directory
/etc/preinit: line 66: can't create /proc/sys/net/ipv4/ip_conntrack_max: nonexis
tent directory
eth1: Operation not supported
wl0.1: No such device
wl0.2: No such device
wl0.3: No such device
eth1: Operation not permitted
nbw = 20
channel 6, val 20
0, 1000, 0, 6
spec 1006
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
wl: Unsupported
route: ioctl 0x890c failed: No such process
route: resolving
Netlink socket create failed
Unable to send request to EMF
Netlink socket create failed
Unable to send request to IGS
Command failed
device br0 entered promiscuous mode
eth1: Operation not supported
wl0.1: No such device
wl0.2: No such device
wl0.3: No such device
eth1: Operation not permitted
eth1: Invalid argument
nbw = 20
channel 6, val 20
0, 1000, 0, 6
spec 1006
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
eth1: Operation not supported
wl: Unsupported
device eth1 entered promiscuous mode
Netlink socket create failed
Unable to send request to EMF
Netlink socket create failedbr0: port 1(eth1) entered forwarding state
Unable to send request to EMF
br0: port 1(eth1) entered forwarding state
device br0 left promiscuous mode
device br0 entered promiscuous mode
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
device br0 left promiscuous mode
route: ioctl 0x890c failed: No such process
route: resolving
function start_hwmon not found
cp: can't stat '/tmp/mycron.d/*': No such file or directory
route: ioctl 0x890c failed: No such process
cp: can't stat '/jffs/mycron.d/*': No such file or directory
route: resolving
cp: can't stat '/mmc/mycron.d/*': No such file or directory
SIOCGIFFLAGS: No such device
rmmod: n_hdlc: No such file or directory
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: ioctl 0x8913 failed: No such device
ifconfig: SIOCSIFTXQLEN: No such devicebr0: port 1(eth1) entered forwarding stat
e
udhcpc: ioctl 0x8933 failed: No such device
/bin/sh: /opt/etc/init.d/rcS: not found
/bin/sh: /jffs/etc/init.d/rcS: not found
/bin/sh: /mmc/etc/init.d/rcS: not found
rmmod: ipt_webstr: No such file or directory
rmmod: ipt_layer7: No such file or directory
rmmod: xt_layer7: No such file or directory
rmmod: ipt_ipp2p: No such file or directory
rmmod: xt_ipp2p: No such file or directory
sh: missing ]
insmod: ipt_mark.ko: module not found
insmod: xt_mark.ko: module not found
insmod: ipt_CONNMARK.ko: module not found
insmod: xt_CONNMARK.ko: module not found
The Milkfish Router Services
ERROR: Necessary service setting not found: milkfish_username - aborting.
rmmod: nf_nat_pptp: No such file or directory
rmmod: nf_conntrack_pptp: No such file or directory
rmmod: nf_nat_proto_gre: No such file or directory
rmmod: nf_conntrack_proto_gre: No such file or directory
rmmod: ip_nat_pptp: No such file or directory
rmmod: ip_nat_proto_gre: No such file or directory
rmmod: ip_conntrack_pptp: No such file or directory
rmmod: ip_conntrack_proto_gre: No such file or directory
insmod: ip_conntrack_proto_gre.ko: module not found
killall: proxywatchdog.sh: no process killed
insmod: ip_nat_proto_gre.ko: module not found
The Milkfish Router Services
Restoring SIP ddsubscriber database from NVRAM...
insmod: ip_conntrack_pptp.ko: module not found
Empty.
The Milkfish Router Services
Restoring SIP ddaliases database from NVRAM...
Empty.
insmod: ip_nat_pptp.ko: module not found
Bad argument `MARK'
Error occurred at line: 4
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
umount: can't umount /mnt/smbshare: No such file or directory
rmmod: cifs: No such file or directory
rmmod: fscache: No such file or directory
killall: schedulerb.sh: no process killed
killall: wdswatchdog.sh: no process killed
rmmod: xt_physdev: No such file or directory
rmmod: xt_IMQ: No such file or directory
rmmod: ipt_IMQ: No such file or directory
rmmod: imq: No such file or directory
rmmod: sch_codel: No such file or directory
rmmod: sch_fq_codel: No such file or directory
connect: Network is unreachable
connect: Network is unreachable
connect: Network is unreachable
gethostbyname: Connection refused
connect: Network is unreachable
connect: Network is unreachable
connect: Network is unreachable
gethostbyname: Connection refused
connect: Network is unreachable
connect: Network is unreachable
connect: Network is unreachable
gethostbyname: Connection refused
connect: Network is unreachable
connect: Network is unreachable
connect: Network is unreachable
gethostbyname: Connection refused
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Sun Jul 11, 2021 11:01 Post subject:
Ok, I guess I forgot to ask. What firmware were you trying to load on this device that prompted this whole JTAG scenario? If it has the mini cfe webserver as well as the restoration tool functionality, why did you need to go this far to push stock firmware or DD-WRT to this device? _________________ "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
The router worked fine on dd-wrt, but at night something happened and it went out completely.
I could not start recovery, because LAN ports are not available for me. I also couldn't connect to my router via Wi-Fi.
LAN ports are not available to me now. How can you try to run them again?
This line is alarming. This name is in
NVRAM - DD_BOARD=Linksys WRT54G/GL/GS
Maybe he pulls from there and then? But from where he got it is not clear.
Initially, I uploaded the firmware dd-wrt.v24-44715_NEWD-2_K2.6_mini_RT-N16.trx via JTAG. Wi-Fi appeared, but since I still could not access either web-admin and ping, and this version is truncated, I decided to immediately flash via JTAG on dd-wrt.v24-44715_NEWD-2_K3.x-big-RT-N16.trx.
Then I noticed that the manufacturer became Linksys. I thought maybe a fresh firmware. It turned out then to make access to the web-admin and through it uploaded the firmware dd-wrt.v24-23919_NEWD-2_K3.x-big-RT-N16
But Linksys never disappeared.
ttl - loading the router on the mini firmware
Code:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: ¤T 5¤ë 27 16:47:24 CST 2009 (root@localhost.localdomain)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
CPU type 0x19740: 480MHz
Tot mem: 131072 KBytes
Null Rescue Flag.
Loader:raw Filesys:tftp Dev:(null) File:: Options:(null)
Loading: TFTP Server.
Failed.
Could not load :: Error
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3916 bytes read
Entry at 0x80001000
Starting program at 0x80001000
Linux version 2.6.24.111 (root@linux) (gcc version 4.1.2) #18503 Tue Nov 3 00:59
:59 +03 2020
CPU revision is: 00019740
Determined physical RAM map:
memory: 07fff000 @ 00000000 (usable)
Zone PFN ranges:
Normal 0 -> 32767
HighMem 32767 -> 32767
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 32767
Built 1 zonelists in Zone order. Total pages: 32767
Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 512 (order: 9, 2048 bytes)
CPU: BCM4716 rev 1 at 480 MHz
Using 240.000 MHz high precision timer.
console [ttyS0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 124116k/131068k available (3464k kernel code, 6800k reserved, 1364k data
, 188k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Generic PHY: Registered new driver
PCI: Using membase 8000000
PCI: Initializing host
PCI: Reset RC
PCI: no core
PCI: Fixing up bus 0
PCI/PCIe coreunit 0 is set to bus 1.
PCI: Fixing up bridge
PCI: Fixing up bridge
PCI: Enabling device 0000:01:00.1 (0004 -> 0006)
PCI: Fixing up bus 1
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
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
RT-N16 GPIO Init
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
io scheduler noop registered
io scheduler deadline registered (default)
HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a 16550A
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
et_module_init: passivemode set to 0x0
Physically mapped flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer
ID 0x0000c2 Chip ID 0x00007e
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: 0x2000000 at 0x1c000000
bootloader size: 262144
nvram size: 32768
Physically mapped flash: Filesystem type: squashfs, size=0x213da1
partition size = 2244608
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x01fe0000 : "linux"
0x0019c000-0x003c0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-o
nly
0x01fe0000-0x02000000 : "nvram"
0x003c0000-0x01fe0000 : "ddwrt"
Found a 0MB serial flash
sflash: found no supported devices
Broadcom Watchdog Timer: 0.07 initialized.
u32 classifier
Performance counters on
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
ctnetlink v0.93: registering with nfnetlink.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
ClusterIP Version 0.8 loaded successfully
TCP bic registered
TCP cubic registered
TCP westwood registered
TCP highspeed registered
TCP hybla registered
TCP htcp registered
TCP vegas registered
TCP scalable registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Welcome to PF_RING 3.2.1
(C) 2004-06 L.Deri <deri@ntop.org>
NET: Registered protocol family 27
PF_RING: bucket length 128 bytes
PF_RING: ring slots 4096
PF_RING: sample rate 1 [1=no sampling]
PF_RING: capture TX No [RX only]
PF_RING: transparent mode Yes
PF_RING initialized correctly.
PF_RING: registered /proc/net/pf_ring/
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
decode 1f02
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 188k freed
init : starting devinit
cannot open /dev/nvram
cannot open /dev/nvram
cannot open /dev/nvram
cannot open /dev/nvram
cannot open /dev/nvram
cannot open /dev/nvram
cannot open /dev/nvram
cannot open /proc/sys/net/core/default_qdisc
done
init : starting Architecture code for broadcom
boardnum 45
boardtype 0x04cf
boardrev 0x1218
Booting device: Asus RT-N16
roboswitch: Probing device eth0: <3>roboswitch: [drivers/net/switch/switch-robo.
c:133] SIOCGETCPHYRD failed!
roboswitch: [drivers/net/switch/switch-robo.c:133] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth1: No such device
roboswitch: Probing device eth2: No such device
roboswitch: Probing device eth3: No such device
cannot open /proc/switch/eth0/reset
cannot open /proc/switch/eth0/enable_vlan
cannot open /proc/switch/eth0/vlan/0/ports
cannot open /proc/switch/eth0/vlan/1/ports
cannot open /proc/switch/eth0/vlan/2/ports
cannot open /proc/sys/kernel/sysrq
/etc/preinit: line 44: can't create /proc/sys/net/ipv4/ip_conntrack_max: nonexis
tent directory
cannot open /proc/sys/net/ipv4/ip_conntrack_max
/etc/preinit: line 44: can't create /proc/sys/net/ipv4/ip_conntrack_max: nonexis
tent directory
cannot open /proc/sys/net/ipv4/ip_conntrack_max
resetbutton : resetbutton daemon successfully started
cannot open /proc/sys/net/bridge/bridge-nf-call-arptables
cannot open /proc/sys/net/bridge/bridge-nf-call-ip6tables
cannot open /proc/sys/net/bridge/bridge-nf-call-iptables
bridge : bridge br0 successfully added
br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
/bin/sh: can't create /sys/devices/virtual/net/br0/bridge/multicast_snooping: no
nexistent directory
device br0 entered promiscuous mode
check vlan1
name=[vladevice eth0 entered promiscuous mode
n1] lan_ifname=[br0]
device eth0 left promiscuous mode
device eth0 entered promiscuous mode
br0: No such file or directory
device eth0 left promiscuous mode
device eth0 entered promiscuous mode
bridge : interface vlan1 successfully added to bridge br0
device vlan1 entered promiscuous mode
/bin/sh: can't create /sys/class/net/vlbr0: port 1(vlan1) entering learning stat
e
an1/brport/multidevice br0 left promiscuous mode
cast_to_unicast: Permission denied
device br0 entered promiscuous mode
device br0 left promiscuous mode
method hwmon not found
method udhcpd not found
cannot open /proc/sys/net/core/default_qdisc
device vlan2 entered promiscuous mode
wland : daemon successfully started
dnsmasq : daemon successfully started
cron : daemon successfully started
cannot open /proc/net/arp_spoofing_enable
device vlan2 left promiscuous mode
ttraff : traffic counter daemon successfully started
httpd : httpd server started at port 80
httpd : http daemon successfully started
eth0: Operation not supported
eth0: Operation not permitted
nbw = 20
eth0: Invalid argument
eth0: Invalid argument
eth0: Invalid argument
eth0: Operation not supported
eth0: Operation not supported
eth0: Operation not supported
eth0: Operation not permitted
eth0: Invalid argument
nbw = 20
eth0: Invalid argument
eth0: Invalid argument
eth0: Invalid argument
eth0: Operation not supported
eth0: Operation not supported
nas : wait for network initnas : start nas lan
nas : start nas for wl0
method guest_nas not found
br0: topology change detected, propagating
br0: port 1(vlan1) entering forwarding state
nas : start nas lan
nas : start nas for wl0
httpd : daemon successfully stopped
httpd : httpd server shutdownhttpd : httpd server started at port 80
httpd : http daemon successfully started
resetbutton : daemon successfully stopped
resetbutton : resetbutton daemon successfully started
/opt/etc/init.d/rcS: No such file or directory
/jffs/etc/init.d/rcS: No such file or directory
/mmc/etc/init.d/rcS: No such file or directory
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Mon Jul 12, 2021 12:46 Post subject:
If this device has a mini cfe webserver recovery, that is the preferred method to de-brick, whenever possible. Now, do any of the ethernet ports work in current state? Does wifi work? Your answer was much more detailed than necessary, all I asked is which file(s) you flashed, but thanks for the information, nonetheless. I don't have this router on my desk to walk through this with you, but I am sure there are threads on this device somewhere in this forum. It is not up to me to search this information for you, it is up to you. _________________ "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
Joined: 04 Jan 2007 Posts: 11564 Location: Wherever the wind blows- North America
Posted: Mon Jul 12, 2021 13:19 Post subject:
This model is a pain the the butt to recover...here are my files and recovery notes.
You will also need the Asus Recovery Utility.
It can be done...but its not as straight forward as other models.
EDIT - I uploaded an updated copy of my notes...it seams many have had issues with resetting to defaults for the 21530 firmware...I changed the notes to NO set firmware to reset.
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Mon Jul 12, 2021 14:25 Post subject:
@redhawk0: The last 3 edits I did to the wiki were due to your notes and someone else bricking theirs, I think. I would have to back-track. Thanks for the input and confirmation of procedure. This is one of those devices that you don't do a reset on because of the caveats, if I am not mistaken. _________________ "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
Joined: 04 Jan 2007 Posts: 11564 Location: Wherever the wind blows- North America
Posted: Mon Jul 12, 2021 16:38 Post subject:
kernel-panic69 wrote:
@redhawk0: The last 3 edits I did to the wiki were due to your notes and someone else bricking theirs, I think. I would have to back-track. Thanks for the input and confirmation of procedure. This is one of those devices that you don't do a reset on because of the caveats, if I am not mistaken.
Interesting...When I still had my RT-N16 unit (years ago)...the notes I posted were working.
This device is very tricky to recover. If trying to recover without the Asus Recovery Utility...then I can't guarantee anything. It was the only thing that ever worked for bringing mine back to life. I did quite a bit of JTAG work on this unit too. I've included some more notes from another notes file on the RT-N16. (below)
I never guarantee any of my notes will work for everyone...so use at your own risk...but if your bricked already...its worth a shot.
redhawk
More notes:
Update to latest K26...load 21530 K3.0 build of big on the unit....then update to latest K3.0 build.
now shows 64K of nvram
To JTAG this unit you must use the /byte_mode switch with the jtag command.
On this router reset button will only bring you to recovery mode. If you wish to restore defaults, use wps button while plugging power in. _________________ The only stupid question....is the unasked one.
Joined: 04 Jan 2007 Posts: 11564 Location: Wherever the wind blows- North America
Posted: Mon Jul 12, 2021 16:49 Post subject:
I just read this thread closer...it would appear that the wrong CFE was flashed to the unit. Here is a CFE for the RT-N16. It might be worth reflashing.