Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11572 closed enhancement (fixed)

TL-MR3020 Ver 1.7 Ethernet has no link

Reported by: alfa33 Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: MR3020 Cc:

Description

TL-MR3020 Ver 1.7 Ethernet has no link

Tried version r31650, r32020 and many others, Ethernet will not come up.

logs

root@OpenWrt:/sbin# cat /proc/modules
ath79_wdt 2240 1 - Live 0x81552000
r8169 34304 0 - Live 0x815b0000
ledtrig_usbdev 2032 0 - Live 0x81571000
ledtrig_netdev 3184 0 - Live 0x8154e000
nf_nat_irc 784 0 - Live 0x8156c000
nf_conntrack_irc 2464 1 nf_nat_irc, Live 0x8156f000
nf_nat_ftp 976 0 - Live 0x8156b000
nf_conntrack_ftp 4416 1 nf_nat_ftp, Live 0x81550000
ipt_MASQUERADE 976 1 - Live 0x81560000
iptable_nat 2112 1 - Live 0x8154c000
nf_nat 9792 4 nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat, Live 0x81568000
xt_conntrack 2048 3 - Live 0x81ffd000
xt_CT 1216 0 - Live 0x81570000
xt_NOTRACK 448 0 - Live 0x81572000
iptable_raw 560 1 - Live 0x8157d000
xt_state 608 0 - Live 0x8152f000
nf_conntrack_ipv4 3872 6 iptable_nat,nf_nat, Live 0x81577000
nf_defrag_ipv4 624 1 nf_conntrack_ipv4, Live 0x8154b000
nf_conntrack 36944 12 nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4, Live 0x81540000
ipt_REJECT 1808 2 - Live 0x81528000
xt_TCPMSS 1824 0 - Live 0x81529000
ipt_LOG 6048 0 - Live 0x8152c000
xt_comment 400 0 - Live 0x8157e000
xt_multiport 1104 0 - Live 0x81522000
xt_mac 528 0 - Live 0x81520000
xt_limit 944 1 - Live 0x8144f000
iptable_mangle 832 1 - Live 0x8151f000
iptable_filter 592 1 - Live 0x81f3f000
ip_tables 8864 4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter, Live 0x8153c000
xt_tcpudp 1632 3 - Live 0x81dc3000
x_tables 9984 18 ipt_MASQUERADE,iptable_nat,xt_conntrack,xt_CT,xt_NOTRACK,iptable_raw,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,iptable_mangle,iptable_filter,ip_tables,xt_tcpudp, Live 0x8151c000
vfat 7824 0 - Live 0x81526000
fat 41728 1 vfat, Live 0x81530000
ath9k 79888 0 - Live 0x81460000 (O)
ath9k_common 1152 1 ath9k, Live 0x81dc2000 (O)
ath9k_hw 319664 2 ath9k,ath9k_common, Live 0x81400000 (O)
ath 14224 3 ath9k,ath9k_common,ath9k_hw, Live 0x81d80000 (O)
mac80211 246320 1 ath9k, Live 0x81fc0000 (O)
crc_ccitt 944 0 - Live 0x81d85000
cfg80211 149648 3 ath9k,ath,mac80211, Live 0x81f40000 (O)
compat 880 5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211, Live 0x81e2f000 (O)
arc4 768 2 - Live 0x81daf000
aes_generic 29808 0 - Live 0x81df0000
usb_storage 32928 0 - Live 0x81ea0000
uhci_hcd 17440 0 - Live 0x81e78000
ohci_hcd 16160 0 - Live 0x81ecc000
ehci_hcd 32928 0 - Live 0x81ec0000
sd_mod 22240 0 - Live 0x81e10000
ext4 237664 0 - Live 0x81f00000
jbd2 37248 1 ext4, Live 0x81e40000
mbcache 3504 1 ext4, Live 0x81e76000
usbcore 98928 6 ledtrig_usbdev,usb_storage,uhci_hcd,ohci_hcd,ehci_hcd, Live 0x81e80000
usb_common 480 1 usbcore, Live 0x81e29000
scsi_mod 69760 2 usb_storage,sd_mod, Live 0x81e60000
nls_base 4640 3 vfat,fat,usbcore, Live 0x81e26000
crc16 944 1 ext4, Live 0x81e1f000
crypto_algapi 9200 2 arc4,aes_generic, Live 0x81db0000
ledtrig_timer 1072 0 - Live 0x81e0a000
ledtrig_default_on 416 0 - Live 0x81d78000
leds_gpio 1552 0 - Live 0x81dd2000
gpio_button_hotplug 3184 0 - Live 0x81ddc000 (O)


root@OpenWrt:/sbin# cat /proc/cpuinfo
system type             : Atheros AR9330 rev 1
machine                 : TP-LINK TL-MR3020
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x04b0, 0x0108]
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root@OpenWrt:/sbin# cat /proc/devices
Character devices:
  1 mem
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
 90 mtd
128 ptm
136 pts
180 usb
189 usb_device
254 ttyATH

Block devices:
259 blkext
  8 sd
 31 mtdblock
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd


root@OpenWrt:/sbin# cat /proc/iomem
00000000-01ffffff : System RAM
  00060000-00266557 : Kernel code
  00266558-002c7b3f : Kernel data
18020000-180200ff : ar933x-uart
18100000-1811ffff : ar933x_wmac
19000000-190001ff : mac_base
1a000000-1a0001ff : mdio_base
1b000000-1b000fff : ehci-platform
  1b000000-1b000fff : ehci_hcd
1f000000-1fffffff : ath79-spi

Attachments (0)

Change History (6)

comment:1 Changed 6 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

maybe you forgot to clean your kernel tree after updating. try

make target/linux/clean world

then reflash.

If that doesn't work, check if the interfaces are configured correctly

comment:2 Changed 6 years ago by alfa33

  • Resolution worksforme deleted
  • Status changed from closed to reopened

I have 3 units of MR3020 Version 1.7 hardware that will not bring up the Ethernet interface, the same tested builds work fine on MR3020 Ver1.6 hardware.

comment:3 Changed 6 years ago by nbd

please post a full kernel log

comment:4 Changed 6 years ago by alfa33

boot log


U-Boot 1.1.4 (Mar 20 2012 - 11:37:54)

AP121 (ar9330) U-boot

DRAM:  32 MB
led turning on for 1s...
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
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
ag7240_phy_setup
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
ag7240_phy_setup
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.7 (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #6 Tue Jun 5 22:28:32 HKT 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-MR3020 console=ttyATH0,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] 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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29312k/32768k available (2073k kernel code, 3456k reserved, 389k data, 200k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-MR3020
[    0.340000] bio: create slab <bio-0> at 0
[    0.340000] Switching to clocksource MIPS
[    0.350000] NET: Registered protocol family 2
[    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.360000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.370000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.380000] TCP reno registered
[    0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] NET: Registered protocol family 1
[    0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.420000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.430000] msgmni has been set to 57
[    0.430000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.440000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.450000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.450000] console [ttyATH0] enabled, bootconsole disabled
[    0.450000] console [ttyATH0] enabled, bootconsole disabled
[    0.470000] m25p80 spi0.0: found s25sl032a, expected m25p80
[    0.470000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[    0.480000] 5 tp-link partitions found on MTD device spi0.0
[    0.480000] Creating 5 MTD partitions on "spi0.0":
[    0.490000] 0x000000000000-0x000000020000 : "u-boot"
[    0.490000] 0x000000020000-0x000000100000 : "kernel"
[    0.500000] 0x000000100000-0x0000003f0000 : "rootfs"
[    0.510000] mtd: partition "rootfs" set to be root filesystem
[    0.510000] split_squashfs: no squashfs found in "spi0.0"
[    0.510000] 0x0000003f0000-0x000000400000 : "art"
[    0.520000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.770000] ag71xx_mdio: probed
[    0.770000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.380000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.380000] TCP westwood registered
[    1.390000] NET: Registered protocol family 17
[    1.390000] 8021q: 802.1Q VLAN Support v1.8
[    2.280000] JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    2.300000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
[    2.310000] Freeing unused kernel memory: 200k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    8.070000] SCSI subsystem initialized
[    8.200000] usbcore: registered new interface driver usbfs
[    8.200000] usbcore: registered new interface driver hub
[    8.210000] usbcore: registered new device driver usb
[    8.600000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.600000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[    8.610000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    8.650000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    8.670000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    8.670000] hub 1-0:1.0: USB hub found
[    8.670000] hub 1-0:1.0: 1 port detected
[    8.710000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.740000] uhci_hcd: USB Universal Host Controller Interface driver
[    8.790000] Initializing USB Mass Storage driver...
[    8.790000] usbcore: registered new interface driver usb-storage
[    8.800000] USB Mass Storage support registered.
- init -

Please press Enter to activate this console. [   29.340000] Compat-wireless backport release: compat-wireless-2012-05-16-3-gde86a47
[   29.350000] Backport based on wireless-testing.git master-2012-05-29
[   29.350000] compat.git: wireless-testing.git
[   29.500000] cfg80211: Calling CRDA to update world regulatory domain
[   29.500000] cfg80211: World regulatory domain updated:
[   29.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   29.510000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.520000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   29.530000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   29.530000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.540000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.270000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   30.280000] cfg80211: Calling CRDA for country: US
[   30.290000] cfg80211: Regulatory domain changed to country: US
[   30.290000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   30.300000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   30.310000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   30.320000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.320000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.330000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   30.340000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   30.560000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   30.760000] nf_conntrack version 0.5.0 (461 buckets, 1844 max)
[   33.090000] device eth0 entered promiscuous mode



BusyBox v1.19.4 (2012-06-01 14:47:26 HKT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r32020)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/#

comment:5 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from reopened to closed

fixed in r32093

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.