[OpenWrt-Devel] [PATCH 00/23] add 3.14 kernel support for ar71xx

Zhao, Gang gang.zhao.42 at gmail.com
Sat Jul 26 10:17:36 EDT 2014


On Sat, 2014-07-26 at 12:00:21 +0800, Zhao, Gang wrote:
> On Sat, 2014-07-26 at 10:48:35 +0800, Zhao, Gang wrote:
>> Tested on a tp-link wr703n, all seem okay.
>>
> Oh, it seems there are some problems about the phy, all network cards
> are unusable :-( Will investigate it later. At least this patch set made
> a bootable kernel...
>
The problem is it always says "no carrier" even if i plug the cable
between router and my computer. 

Does anyone meet the same problem before? Following is the boot log, if
other information is needed to identify the problem, please let me know.

root at OpenWrt:/# dmesg
[    0.000000] Linux version 3.14.12 (zhao at hello.world) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41595) ) #4 Sat Jul 26 21:15:21 CST 2014
[    0.000000] MyLoader: sysp=388dd517, boardp=04505212, parts=7709ac36
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    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] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80334420, 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-WR703N 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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28652K/32768K available (2363K kernel code, 122K rwdata, 496K rodata, 208K init, 187K bss, 4116K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    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: 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-WR703N v1
[    0.360000] bio: create slab <bio-0> at 0
[    0.370000] Switched to clocksource MIPS
[    0.370000] NET: Registered protocol family 2
[    0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.390000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.390000] TCP: reno registered
[    0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] NET: Registered protocol family 1
[    0.410000] PCI: CLS 0 bytes, default 32
[    0.420000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.440000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.460000] msgmni has been set to 55
[    0.460000] io scheduler noop registered
[    0.460000] io scheduler deadline registered (default)
[    0.470000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
[    0.480000] console [ttyATH0] enabled
[    0.490000] bootconsole [early0] disabled
[    0.500000] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.510000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.510000] 5 tp-link partitions found on MTD device spi0.0
[    0.520000] Creating 5 MTD partitions on "spi0.0":
[    0.520000] 0x000000000000-0x000000020000 : "u-boot"
[    0.530000] 0x000000020000-0x0000001295b8 : "kernel"
[    0.530000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] 0x0000001295b8-0x0000003f0000 : "rootfs"
[    0.550000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.560000] mtd: device 2 (rootfs) set to be root filesystem
[    0.570000] 1 squashfs-split partitions found on MTD device rootfs
[    0.570000] 0x000000300000-0x0000003f0000 : "rootfs_data"
[    0.580000] 0x0000003f0000-0x000000400000 : "art"
[    0.590000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.610000] libphy: ag71xx_mdio: probed
[    1.240000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.240000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.250000] TCP: cubic registered
[    1.250000] NET: Registered protocol family 17
[    1.260000] 8021q: 802.1Q VLAN Support v1.8
[    1.270000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.280000] Freeing unused kernel memory: 208K (8034c000 - 80380000)
[    4.040000] usbcore: registered new interface driver usbfs
[    4.040000] usbcore: registered new interface driver hub
[    4.050000] usbcore: registered new device driver usb
[    4.060000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.070000] ehci-platform: EHCI generic platform driver
[    4.070000] ehci-platform ehci-platform: EHCI Host Controller
[    4.080000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.090000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.110000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.110000] hub 1-0:1.0: USB hub found
[    4.110000] hub 1-0:1.0: 1 port detected
[    4.710000] random: mktemp urandom read with 60 bits of entropy available
[    7.510000] eth0: link up (100Mbps/Full duplex)
[    7.960000] jffs2: notice: (314) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (0 unchecked, 17 orphan) and 28 of xref (0 dead, 17 orphan) found.
[    8.000000] eth0: link down
[    9.650000] NET: Registered protocol family 10
[    9.670000] nf_conntrack version 0.5.0 (450 buckets, 1800 max)
[    9.680000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.700000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[    9.710000] Backport generated by backports.git backports-20140320-37-g5c33da0
[    9.720000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.770000] xt_time: kernel timezone is -0000
[    9.800000] cfg80211: Calling CRDA to update world regulatory domain
[    9.800000] cfg80211: World regulatory domain updated:
[    9.810000] cfg80211:  DFS Master region: unset
[    9.810000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    9.820000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.830000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.840000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    9.840000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[    9.850000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    9.860000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    9.870000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    9.880000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    9.970000] PPP generic driver version 2.4.2
[    9.970000] NET: Registered protocol family 24
[   10.030000] ath: EEPROM regdomain: 0x0
[   10.030000] ath: EEPROM indicates default country code should be used
[   10.030000] ath: doing EEPROM country->regdmn map search
[   10.030000] ath: country maps to regdmn code: 0x3a
[   10.030000] ath: Country alpha2 being used: US
[   10.030000] ath: Regpair used: 0x3a
[   10.050000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.060000] cfg80211: Calling CRDA for country: US
[   10.070000] cfg80211: Regulatory domain changed to country: US
[   10.070000] cfg80211:  DFS Master region: FCC
[   10.070000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.080000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   10.090000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   10.100000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   10.110000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   10.120000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   10.120000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   17.540000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.540000] device eth0 entered promiscuous mode
[   17.560000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   33.420000] random: nonblocking pool is initialized
[  561.150000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list