Temat: Uwalony TL-WR740N

Witajcie

Mam na biurku rozłożonego TL-WR740N. Podlutowałem kabelki i mam dostęp do konsoli. Obecnie jest tam wgrany najnowszy firmware stockowy. Niestety praktycznie nic nie działa, tzn. brak dostępu do strony www, nie odpowiada na pingi, nie można zalogować się na konsolę przy użyciu admin/admin. Chciałbym odzyskać działające urządzenie. Poniżej załączam log z flashowania poprzez tftp oraz ze startu urządzenia:

U-Boot 1.1.4 (Sep  3 2010 - 12:28:13)

AP91 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = a, 2 = a
32 MB
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
ar7240> tftpboot 0x81000000 original.bin
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.123
Filename 'original.bin'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################################
done
Bytes transferred = 3932160 (3c0000 hex)
ar7240> erase 0x9f020000 +0x3c0000

First 0x2 last 0x3d sector size 0x10000                                       61
Erased 60 sectors
ar7240> cp.b 0x81000000 0x9f020000 0x3c0000
Copy to Flash... write addr: 9f020000
done
ar7240> bootm 9f020000
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

Booting AR7240(Python)...
Linux version 2.6.15--LSDK-7.3.0.300 gcc version 3.4.4 #1 Fri Sep 3 12:31:04 CST 2010
flash_size passed from bootloader = 4
CPU revision is: 00019374
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=squashfs init=/sbin/init mtdparts=ar7100-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art) mem=32M
Primary instruction cache 64kB, 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).
Cache parity protection disabled
PID hash table entries: 256 (order: 8, 4096 bytes)
Using 175.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: 30540k/32768k available (1373k kernel code, 2212k reserved, 294k data, 128k init, 0k highmem)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
Reset button pressed.
Returning IRQ 48
AR7240 GPIOC major 0
squashfs: version 3.3 (2007/10/31) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
Initializing Cryptographic API
io scheduler noop registered
io scheduler deadline registered
Serial: 8250/16550 driver $Revision: #1 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 19) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
PPP generic driver version 2.4.2
PPPoX init, max protocols:3
NET: Registered protocol family 24
pppox protocol 0 register. max:3
cmdlinepart partition parsing not available
Searching for RedBoot partition table
5 RedBoot partitions found on MTD device ar7240-nor0
Creating 5 MTD partitions on "ar7240-nor0":
0x00000000-0x00020000 : "boot"
0x00020000-0x00120000 : "kernel"
0x00120000-0x003e0000 : "rootfs"
0x003e0000-0x003f0000 : "config"
0x003f0000-0x00400000 : "art"
->Oops: flash id 0x1c3116 .
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
TCP bic 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 (squashfs filesystem) readonly.
Freeing unused kernel memory: 128k freed
init started:  BusyBox v1.01 (2010.09.03-04:20+0000) multi-call binary
Algorithmics/MIPS FPU Emulator v1.5
This board use 2.6.15
ip_conntrack version 2.4 (256 buckets, 5120 max) - 244 bytes per conntrack
statistics: module license 'BSD' taints kernel.
insmod: cannot open module `/lib/modules/2.6.15/kernel/flashid.ko': No such file or directory
pppox protocol 1 register. max:3
PPPoL2TP kernel driver, V0.17. fixed many bug. drop rcv pkts and xmit pkts while no buffer, use pass time HZ/4.only drop ip pkt. no printk. xl2tpd 15 retries xmit. 08.20
PPTP driver version 0.8.3
pppox protocol 2 register. max:3
insmod: cannot open module `/lib/modules/2.6.15/kernel/harmony.ko': No such file or directory
Now flash open!
Now flash open!
sys_mode=0 mac:8106c000 ag7240_macs[0]:00000000 ag7240_macs[1]:8106c000
2
sys_mode=0 mac:81c90000 ag7240_macs[0]:81c90000 ag7240_macs[1]:8106c000
1
+++ pvid_bitmap initial

(none) mips #1 Fri Sep 3 12:31:04 CST 2010 (none)
(none) login: sys_mode 0 PHY4 auto-negotiation enable
Attention: PHY4  Class A setting in debug 5 register which is not described in DS
phy_setup ethUnit:0 phyUnit:4
Port 4, Neg Success
ATHRS26: resetting s26
ATHRS26: s26 reset done
sys_mode 0 PHY0 auto-negotiation enable
Attention: PHY 0 Class A setting in debug 5 register which is not described in DS
sys_mode 0 PHY1 auto-negotiation enable
Attention: PHY 1 Class A setting in debug 5 register which is not described in DS
sys_mode 0 PHY2 auto-negotiation enable
Attention: PHY 2 Class A setting in debug 5 register which is not described in DS
sys_mode 0 PHY3 auto-negotiation enable
Attention: PHY 3 Class A setting in debug 5 register which is not described in DS
++++ athrs26_igmp_setup once
vtable vid: 0x00000002, bitmap 0x00000003
vtable vid: 0x00000004, bitmap 0x00000005
vtable vid: 0x00000006, bitmap 0x00000007
vtable vid: 0x00000008, bitmap 0x00000009
vtable vid: 0x0000000a, bitmap 0x0000000b
vtable vid: 0x0000000c, bitmap 0x0000000d
vtable vid: 0x0000000e, bitmap 0x0000000f
vtable vid: 0x00000010, bitmap 0x00000011
vtable vid: 0x00000012, bitmap 0x00000013
vtable vid: 0x00000014, bitmap 0x00000015
vtable vid: 0x00000016, bitmap 0x00000017
vtable vid: 0x00000018, bitmap 0x00000019
vtable vid: 0x0000001a, bitmap 0x0000001b
vtable vid: 0x0000001c, bitmap 0x0000001d
vtable vid: 0x0000001e, bitmap 0x0000001f
vtable vid: 0x00000020, bitmap 0x00000021
++ PVID: 0x0000001a, bitmap: 0x0000001f
++ PVID: 0x0000001a, bitmap: 0x0000001f
++ PVID: 0x0000001c, bitmap: 0x0000001f
++ PVID: 0x0000001e, bitmap: 0x0000001f
++ PVID: 0x00000020, bitmap: 0x0000001f
phy_setup ethUnit:1 phyUnit:0
phy_setup ethUnit:1 phyUnit:1
phy_setup ethUnit:1 phyUnit:2
phy_setup ethUnit:1 phyUnit:3
Port 0, Neg Success
Port 1, Neg Success
Port 2, Neg Success
Port 3, Neg Success
device eth0 entered promiscuous mode
phy_setup ethUnit:1 phyUnit:0
phy_setup ethUnit:1 phyUnit:1
phy_setup ethUnit:1 phyUnit:2
phy_setup ethUnit:1 phyUnit:3
Port 0, Neg Success
Port 1, Neg Success
Port 2, Neg Success
Port 3, Neg Success
++++ phy_up is 1, fdx is 1, speed is 1
AG7240: enet unit:1 phy:3 is up...Mii 100Mbps full duplex
AG7240: enet unit 1 phy 3 mode 0x4c04
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
ip_conntrack_rtsp v0.01 loading
ip_nat_rtsp v0.01 loading
ath_hal: 0.9.17.1 (AR5416, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D)
wlan: 0.8.4.2 (Atheros/multi-bss)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_pci: 0.9.4.5 (Atheros/multi-bss)
wifi0: Atheros 9285: mem=0x10000000, irq=48 hw_base=0xb0000000
wlan_me: Version 0.1
Copyright (c) 2008 Atheros Communications, Inc. All Rights Reserved
wlan: mac acl policy registered

TP_Flags:6****
ar7240 data bus error: cause 0x80001c
Data bus error, epc == c01712f8, ra == c0171968
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 c0171200 801c0000
$ 4   : 81970000 00009860 c01b0000 00009860
$ 8   : 0000096c c0170000 00000000 00000003
$12   : 00000003 00000004 00000003 00000003
$16   : deadc0de 00002710 c01712d0 81970000
$20   : 00009860 c017131c 00000001 00000000
$24   : 00000000 c01720a4
$28   : 81c62000 81c63c28 c0170000 c0171968
Hi    : 0000048a
Lo    : 3d6b6400
epc   : c01712f8 ath_hal_reg_read+0x28/0x4c [ath_hal]     Tainted: P
ra    : c0171968 ath_hal_wait+0x7c/0x15c [ath_hal]
Status: 1000f403    KERNEL EXL IE
Cause : 0080001c
PrId  : 00019374
Modules linked in: wlan_scan_ap wlan_scan_sta wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_xauth ath_pktlog wlan_me ath_pci ath_dev ath_rate_atheros wlan ath_hal ip_nat_rtsp ip_conntrack_rtsp ip_nat_h323 ip_nat_tftp ip_conntrack_tftp ip_nat_ftp ip_conntrack_ftp ip_nat_pptp ag7240_mod wlan_warn pptp pppol2tp br_filter ts_kmp cls_fw cls_basic sch_sfq sch_prio sch_htb ipt_MARK ip_conntrack_h323 ipt_multiurl statistics ipt_TCPMSS ip_conntrack_pptp ipt_TRIGGER ipt_time iptable_filter iptable_nat ipt_string ipt_state ipt_multiport ipt_mac ipt_iprange ipt_conntrack ipt_comment ipt_MASQUERADE ip_nat ip_conntrack ip_tables
Process ifconfig (pid: 309, threadinfo=81c62000, task=81c5abe8)
Stack : c0170000 c0171980 1000f403 00009860 00058d21 000000ac 00000012 c0171968
        c01782f4 00001124 c017126c 00001070 000001b8 c019ef8c 0000096c 000000a0
        c01712ac c0187b0c c01712d0 c017126c 81970000 81970450 c0170000 8196dfb4
        81970450 00000006 81c63d18 c019290c c01712ac 81970450 81970450 c01b2d00
        000186a0 00004014 28080400 00004014 00000000 00000000 00000000 c017a2b4
        ...
Call Trace:
[<c0171980>] ath_hal_wait+0x94/0x15c [ath_hal]
[<c0171968>] ath_hal_wait+0x7c/0x15c [ath_hal]
[<c01782f4>] ath_hal_checkchannel+0x74/0x20c [ath_hal]
[<c017126c>] ath_hal_reg_write+0x0/0x64 [ath_hal]
[<c01712ac>] ath_hal_reg_write+0x40/0x64 [ath_hal]
[<c0187b0c>] ar5416SetSlotTime+0xb8/0xd8 [ath_hal]
[<c01712d0>] ath_hal_reg_read+0x0/0x4c [ath_hal]
[<c017126c>] ath_hal_reg_write+0x0/0x64 [ath_hal]
[<c019290c>] ar5416Reset+0xa34/0x18dc [ath_hal]
[<c01712ac>] ath_hal_reg_write+0x40/0x64 [ath_hal]
[<c017a2b4>] ar5416ConfigPciPowerSave+0x198/0x340 [ath_hal]
[<c020fd28>] ath_open+0xf0/0x344 [ath_dev]
[<c01457ec>] ath_chan2flags+0x1c/0x68 [ath_pci]
[<80006954>] do_IRQ+0x24/0x34
[<c01458bc>] ath_init+0x54/0x118 [ath_pci]
[<80009000>] setup_frame+0x434/0x690
[<800f7380>] dev_open+0x64/0xd8
[<c01e0e68>] ieee80211_init+0x168/0x1d4 [wlan]
[<800f7380>] dev_open+0x64/0xd8
[<800f8af4>] dev_change_flags+0x74/0x14c
[<800f7260>] dev_load+0x10/0x44
[<8013d300>] devinet_ioctl+0x318/0x778
[<8013d16c>] devinet_ioctl+0x184/0x778
[<8013e91c>] inet_ioctl+0xd8/0x130
[<8007949c>] d_alloc+0x34/0x1a4
[<800ed224>] sock_ioctl+0x318/0x344
[<800b8194>] sprintf+0x28/0x34
[<8005856c>] split_vma+0x148/0x16c
[<80073170>] do_ioctl+0x30/0x78
[<800734ec>] vfs_ioctl+0x334/0x35c
[<800ed77c>] sock_create+0x10/0x1c
[<80073564>] sys_ioctl+0x50/0x8c
[<8000e240>] stack_done+0x20/0x3c
[<8000e240>] stack_done+0x20/0x3c


Code: 8c500000  3c02c017  24421200 <afb00010> 24c63298  0040f809  24050004  02001021  8fbf001c

(none) mips #1 Fri Sep 3 12:31:04 CST 2010 (none)
(none) login: admin
Password:
Login incorrect
(none) login:

Proszę o pomoc
Pozdrawiam
Rafał

2

Odp: Uwalony TL-WR740N

Albo źle coś ci wgrało, albo, co jest bardziej prawdopodobne, pamięć poleciała.

Wgraj openwrt i też zobacz co się dzieje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Uwalony TL-WR740N

Cezary, 

Po wgraniu openwrt coś już działa. To znaczy jest już komunikacja, działa routing po LAN (po kablu). Nie działa wifi.
Potrafię się zalogować po ssh do routera. Próbowałem:

root@OpenWrt:~# uci set wireless.@wifi-device[0].disabled=0
uci: Entry not found
root@OpenWrt:~#


root@OpenWrt:~# uci show | grep wireless
ucitrack.@wireless[0]=wireless
ucitrack.@wireless[0].affects='network'

root@OpenWrt:~# uci show | grep wifi
root@OpenWrt:~#

Wygląda na to, że nie widzi mi karty wifi.


Wrzucam logi z dmesg:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.18.23 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47269) ) #1 Sun Jan 31 18:39:35 CET 2016
[    0.000000] MyLoader: sysp=ffffffff, boardp=ffffffff, parts=f0f0f0f0
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 803762b0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR741ND console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28324K/32768K available (2586K kernel code, 128K rwdata, 540K rodata, 256K init, 193K bss, 4444K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:350.000MHz, DDR:350.000MHz, AHB:175.000MHz, Ref:5.000MHz
[    0.000000] Calibrating delay loop... 232.24 BogoMIPS (lpj=1161216)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TP-LINK TL-WR741ND
[    0.550000] registering PCI controller with io_map_base unset
[    0.560000] PCI host bridge to bus 0000:00
[    0.570000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.570000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.580000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.580000] pci 0000:00:00.0: [168c:002b] type 00 class 0x028000
[    0.580000] pci 0000:00:00.0: fixup device configuration
[    0.590000] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.590000] pci 0000:00:00.0: supports D1
[    0.590000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.590000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.590000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.590000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.600000] Switched to clocksource MIPS
[    0.600000] NET: Registered protocol family 2
[    0.610000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.610000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.620000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.630000] TCP: reno registered
[    0.630000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.640000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.640000] NET: Registered protocol family 1
[    0.650000] PCI: CLS 0 bytes, default 32
[    0.650000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.670000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.670000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.680000] msgmni has been set to 55
[    0.690000] io scheduler noop registered
[    0.690000] io scheduler deadline registered (default)
[    0.700000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.710000] console [ttyS0] disabled
[    0.730000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 10937500) is a 16550A
[    0.740000] console [ttyS0] enabled
[    0.750000] bootconsole [early0] disabled
[    0.760000] m25p80 spi0.0: found en25f32, expected m25p80
[    0.760000] m25p80 spi0.0: en25f32 (4096 Kbytes)
[    0.770000] 5 tp-link partitions found on MTD device spi0.0
[    0.770000] Creating 5 MTD partitions on "spi0.0":
[    0.780000] 0x000000000000-0x000000020000 : "u-boot"
[    0.790000] 0x000000020000-0x000000141600 : "kernel"
[    0.790000] 0x000000141600-0x0000003f0000 : "rootfs"
[    0.800000] mtd: device 2 (rootfs) set to be root filesystem
[    0.800000] 1 squashfs-split partitions found on MTD device rootfs
[    0.810000] 0x000000360000-0x0000003f0000 : "rootfs_data"
[    0.820000] 0x0000003f0000-0x000000400000 : "art"
[    0.820000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.880000] libphy: ag71xx_mdio: probed
[    1.470000] ag71xx-mdio.0: Found an AR7240/AR9330 built-in switch
[    1.510000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.100000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    2.110000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.120000] TCP: cubic registered
[    2.120000] NET: Registered protocol family 17
[    2.130000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.140000] Bridge firewalling registered
[    2.140000] 8021q: 802.1Q VLAN Support v1.8
[    2.160000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.170000] Freeing unused kernel memory: 256K (80390000 - 803d0000)
[    3.710000] init: Console is alive
[    3.710000] init: - watchdog -
[    5.780000] init: - preinit -
[    6.670000] random: procd urandom read with 10 bits of entropy available
[    8.740000] eth0: link up (1000Mbps/Full duplex)
[    9.950000] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   10.000000] eth0: link down
[   10.020000] procd: - early -
[   10.020000] procd: - watchdog -
[   10.850000] procd: - ubus -
[   11.870000] procd: - init -
[   13.060000] NET: Registered protocol family 10
[   13.070000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.090000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   13.100000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   13.110000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.130000] nf_conntrack version 0.5.0 (446 buckets, 1784 max)
[   13.190000] xt_time: kernel timezone is -0000
[   13.230000] cfg80211: Calling CRDA to update world regulatory domain
[   13.280000] cfg80211: World regulatory domain updated:
[   13.280000] cfg80211:  DFS Master region: unset
[   13.280000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   13.290000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   13.300000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   13.310000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   13.320000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   13.330000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   13.340000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   13.350000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   13.360000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   13.440000] PPP generic driver version 2.4.2
[   13.440000] NET: Registered protocol family 24
[   13.510000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   13.520000] ath: EEPROM regdomain: 0x0
[   13.520000] ath: EEPROM indicates default country code should be used
[   13.520000] ath: doing EEPROM country->regdmn map search
[   13.520000] ath: country maps to regdmn code: 0x3a
[   13.520000] ath: Country alpha2 being used: US
[   13.520000] ath: Regpair used: 0x3a
[   13.530000] Data bus error, epc == 80e038a8, ra == 80e038a8
[   13.530000] Oops[#1]:
[   13.530000] CPU: 0 PID: 558 Comm: kmodloader Not tainted 3.18.23 #1
[   13.530000] task: 81b809b0 ti: 81b70000 task.ti: 81b70000
[   13.530000] $ 0   : 00000000 00000000 deadc0de 80e612c0
[   13.530000] $ 4   : b0009860 00009860 00000001 00000000
[   13.530000] $ 8   : 00000000 80064f18 00000002 0000000d
[   13.530000] $12   : 00000001 00000001 0000003f fffffffb
[   13.530000] $16   : 818d2010 00000005 00009860 00002710
[   13.530000] $20   : 00000001 00000000 818d2306 00000000
[   13.530000] $24   : 00000008 80e61450
[   13.530000] $28   : 81b70000 81b719a8 00000003 80e038a8
[   13.530000] Hi    : 00000001
[   13.530000] Lo    : 398f4000
[   13.530000] epc   : 80e038a8 ath9k_hw_wait+0x64/0xb0 [ath9k_hw]
[   13.530000]     Not tainted
[   13.530000] ra    : 80e038a8 ath9k_hw_wait+0x64/0xb0 [ath9k_hw]
[   13.530000] Status: 1000f403 KERNEL EXL IE
[   13.530000] Cause : 1080001c
[   13.530000] PrId  : 00019374 (MIPS 24Kc)
[   13.530000] Modules linked in: ath9k(+) ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ipv6 arc4 crypto_blkcipher gpio_button_hotplug
[   13.530000] Process kmodloader (pid: 558, threadinfo=81b70000, task=81b809b0, tls=77543440)
[   13.530000] Stack : 00000000 00000000 00000000 00000000 00000000 818d2010 00009860 00009860
[   13.530000]    00023f60 81800964 00000001 80e0f2c8 00000001 818d2300 10000000 80e120f8
[   13.530000]    000186a0 818d2010 00000001 818d2010 818d2300 00000000 00023f60 80e0f4c0
[   13.530000]    00000008 80e04f1c 818d33ac 80e1c9e4 00000000 00000000 818d2010 818d2300
[   13.530000]    00000000 00023f60 81800964 00000001 00000001 00000000 00000003 80e07278
[   13.530000]    ...
[   13.530000] Call Trace:
[   13.530000] [<80e038a8>] ath9k_hw_wait+0x64/0xb0 [ath9k_hw]
[   13.530000] [<80e0f2c8>] ar5008_hw_attach_phy_ops+0x17e8/0x1e6c [ath9k_hw]
[   13.530000]
[   13.530000]
[   13.530000] Code: 02402821  0060f809  00000000 <00541024> 10550008  24020001  0c067c50  2404000a  08380e24
[   13.760000] ---[ end trace 5a9e00779ecafb01 ]---
[   25.350000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   25.360000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   25.370000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   29.280000] jffs2: notice: (946) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   29.580000] device eth0 entered promiscuous mode
[   29.580000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   29.660000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   31.180000] eth0: link up (1000Mbps/Full duplex)
[   31.180000] br-lan: port 1(eth0) entered forwarding state
[   31.190000] br-lan: port 1(eth0) entered forwarding state
[   31.220000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   33.190000] br-lan: port 1(eth0) entered forwarding state
[   80.060000] random: nonblocking pool is initialized
[  884.730000] eth0: link down
[  884.730000] br-lan: port 1(eth0) entered disabled state
[  947.730000] eth0: link up (1000Mbps/Full duplex)
[  947.730000] br-lan: port 1(eth0) entered forwarding state
[  947.740000] br-lan: port 1(eth0) entered forwarding state
[  949.740000] br-lan: port 1(eth0) entered forwarding state
[ 1103.230000] eth0: link down
[ 1103.230000] br-lan: port 1(eth0) entered disabled state
[ 1104.730000] eth0: link up (1000Mbps/Full duplex)
[ 1104.730000] br-lan: port 1(eth0) entered forwarding state
[ 1104.740000] br-lan: port 1(eth0) entered forwarding state
[ 1106.740000] br-lan: port 1(eth0) entered forwarding state
[ 1175.230000] eth1: link up (100Mbps/Full duplex)
[ 1175.230000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 1179.230000] eth1: link down
[ 1182.230000] eth1: link up (100Mbps/Full duplex)
[ 1402.770000] br-lan: port 1(eth0) entered disabled state
[ 1402.780000] device eth0 left promiscuous mode
[ 1402.780000] br-lan: port 1(eth0) entered disabled state
[ 1402.940000] eth0: link down
[ 1402.950000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1403.000000] device eth0 entered promiscuous mode
[ 1403.020000] br-lan: port 1(eth0) entered forwarding state
[ 1403.020000] br-lan: port 1(eth0) entered forwarding state
[ 1403.780000] br-lan: port 1(eth0) entered disabled state
[ 1404.230000] eth1: link down
[ 1404.600000] eth0: link up (1000Mbps/Full duplex)
[ 1404.600000] br-lan: port 1(eth0) entered forwarding state
[ 1404.610000] br-lan: port 1(eth0) entered forwarding state
[ 1405.230000] eth1: link up (100Mbps/Full duplex)
[ 1406.610000] br-lan: port 1(eth0) entered forwarding state
root@OpenWrt:~#

4

Odp: Uwalony TL-WR740N

Masz to samo - wywaliło system w powietrze, łączenie ze sterownikiem wifi. Możesz sprawdzić czy art ma jaką zawartość (hexdump -C /dev/mtd4), jeżeli ma same 00 lub FF to źle.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Uwalony TL-WR740N

root@OpenWrt:~# hexdump -C /dev/mtd4
00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00001000  a5 5a 00 00 00 03 50 00  16 8c 00 2b 50 08 00 01  |.Z....P....+P...|
00001010  02 80 50 2c 16 8c a0 91  50 64 8c c0 05 04 50 6c  |..P,....Pd....Pl|
00001020  38 11 00 03 40 04 05 cb  00 4a 40 74 00 03 00 00  |8...@....J@t....|
00001030  40 00 50 01 01 c2 51 0c  20 10 00 06 51 64 14 12  |@.P...Q. ...Qd..|
00001040  ff 24 51 68 17 ff 00 15  50 68 20 10 00 19 ff ff  |.$Qh....Ph .....|
00001050  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00001080  01 78 6a f4 e0 0d 02 01  00 00 00 1f 00 19 e0 66  |.xj............f|
00001090  66 68 01 01 00 00 00 00  00 00 00 09 07 00 05 00  |fh..............|
000010a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000010b0  00 00 00 00 00 00 00 00  00 00 00 00 00 2d 20 00  |.............- .|
000010c0  e2 00 0d 00 02 0e 1c ba  0c 01 00 00 06 46 34 01  |.............F4.|
000010d0  0e 0e 00 00 1f 2d 00 00  34 04 44 84 33 93 33 03  |.....-..4.D.3.3.|
000010e0  00 00 00 00 80 00 00 00  00 00 00 00 00 00 00 00  |................|
000010f0  00 00 00 00 00 00 00 00  70 89 ac 09 1e 2b 3e 4f  |........p....+>O|
00001100  49 59 68 68 68 00 00 00  24 5f 36 5b 9a 9a 9b 0d  |IYhhh...$_6[....|
00001110  20 2e 41 52 4a 5b 67 67  67 06 16 24 4b 86 35 5d  | .ARJ[ggg..$K.5]|
00001120  91 92 91 09 1e 2b 3e 4f  4a 58 62 67 62 06 10 20  |.....+>OJXbgb.. |
00001130  42 7d 36 59 96 96 96 70  24 24 24 24 b8 24 24 24  |B}6Y...p$$$$.$$$|
00001140  24 ff 00 00 00 00 70 24  24 22 20 89 24 24 22 20  |$.....p$$" .$$" |
00001150  ac 24 24 22 20 70 24 24  24 24 24 24 20 1e 89 24  |.$$" p$$$$$$ ..$|
00001160  24 24 24 24 24 20 1e ac  24 24 24 24 24 24 20 1e  |$$$$$ ..$$$$$$ .|
00001170  70 1e 1e 1e 1e 1e 1c 1a  18 89 1e 1e 1e 1e 1e 1c  |p...............|
00001180  1a 18 ac 1e 1e 1e 1e 1e  1c 1a 18 11 12 15 17 41  |...............A|
00001190  42 45 47 31 32 35 37 70  22 75 22 7a 62 a2 22 70  |BEG1257p"u"zb."p|
000011a0  1c 75 60 9d 60 a2 1d 70  1a 75 60 9d 60 a2 1c 7a  |.u`.`..p.u`.`..z|
000011b0  13 7f 5b 93 1b 98 13 70  22 75 62 ac 22 b8 22 70  |..[....p"ub."."p|
000011c0  22 75 62 ac 22 00 00 70  22 75 62 ac 22 00 00 7a  |"ub."..p"ub."..z|
000011d0  1c 7f 5c 93 5c a2 1c 70  1c 75 5d ac 1c 00 00 70  |..\.\..p.u]....p|
000011e0  1c 75 5e ac 1c 00 00 70  1c 75 5e ac 1c 00 00 7a  |.u^....p.u^....z|
000011f0  1c 7f 5c 93 5c a2 1c 00  ff ff ff ff ff ff ff ff  |..\.\...........|
00001200  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00010000
root@OpenWrt:~#

6

Odp: Uwalony TL-WR740N

Jeszcze jedno. Podczas prób wgrywania firmware`u poprzez tftp jakis firmware był dłuższy niż standardowy z openwrt.
Wtedy musiałem skasować pamięć o większą liczbę sektorów. tj

zamiast
tftpboot 0x81000000 dluzszyfirmware.bin
erase 0x9f020000 +0x3c0000
cp.b 0x81000000 0x9f020000 0x3c0000
bootm 9f020000

zrobilłem

tftpboot 0x81000000 dluzszyfirmware.bin
erase 0x9f020000 +0x3c001c
cp.b 0x81000000 0x9f020000 0x3c001c
bootm 9f020000

może wtedy uszkodziłem jakoś pamięć i teraz mam problem z wifi.
Da się to jakoś naprawić ?

7

Odp: Uwalony TL-WR740N

Po prostu wykasowałeś za dużo, choć art wygląda sensownie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Uwalony TL-WR740N

Cezary masz jeszcze jakiś pomysł, żeby zdiagnozować i ewentualnie przywrócić do działania wifi?

9

Odp: Uwalony TL-WR740N

Zrób backup tego art co masz, spróbuj wgrać od innego 740.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: Uwalony TL-WR740N

Jak to jest stara wersja WR740N, z radiem w zewnętrznym układzie, to niestety... ale mogło po prostu paść na amen i kombinowanie z ART nic tu nie da.