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ł