Modify

Opened 3 years ago

Last modified 3 years ago

#18468 new defect

Compex WPJ342 packet loss on ethernet

Reported by: oz@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: wpj342 db120 ethernet packet loss Cc:

Description

packet loss on ethernet

--- 192.168.1.1 ping statistics ---
1312 packets transmitted, 594 received, +6 errors, 54% packet loss, time 1311004ms
rtt min/avg/max/mdev = 0.177/15.387/1999.377/146.879 ms, pipe 3

same results with kernel 3.14


U-Boot 1.1.4 (Jan 9 2014 - 17:50:48)

U-Boot DB120
Wasp 1.2

DRAM: 64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 145k for U-Boot at: 83fd8000
Reserving 192k for malloc() at: 83fa8000
Reserving 44 Bytes for Board Info at: 83fa7fd4
Reserving 36 Bytes for Global Data at: 83fa7fb0
Reserving 128k for boot params() at: 83f87fb0
Stack Pointer at: 83f87f98
Now running in RAM - U-Boot at: 83fd8000
Flash Manuf Id 0xc2, DeviceId0 0x20, DeviceId1 0x17
Flash found: mx25l 8MB
Flash: 8 MB
Using default environment

eth_set_enetaddr(num=0, addr=04:f0:21:0f:ff:98)
eth_set_enetaddr(num=0, addr=04:f0:21:0f:ff:98)
In: serial
Out: serial
Err: serial
Net: ag934x_enet_initialize...

wasp reset mask:c02200

WASP ----> AR8236 PHY
ar8236 reg init
AR8236: resetting ar8236
AR8236:REG 0x0-->:301
AR8236: ar8236 reset done
AR8236:OPERATIONAL_MODE_REG0:400
AR8236:REG 0x4-->:400
AR8236:REG 0x2c-->:7e3f003f
AR8236:REG 0x8-->:0
: cfg1 0x80000000 cfg2 0x7114
eth0: 04:f0:21:0f:ff:98
eth0 up
WASP ----> AR8236 PHY
: cfg1 0x800c0000 cfg2 0x7214
eth1: 04:f0:21:0f:ff:99
eth1 up
eth0, eth1
Setting 0xb8116290 to 0x8102d0f
Hit any key to stop autoboot: 0
## Booting image at 9f680000 ...

Image Name: MIPS OpenWrt Linux-3.10.49
Created: 2014-12-02 16:59:50 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1056400 Bytes = 1 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x9f680040 ...OK
Uncompressing Kernel Image ... OK

No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[ 0.000000] Linux version 3.10.49 (pduchein@compilation) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43483) ) #1 Tue Dec 2 17:59:42 CET 2014
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9342 rev 2
[ 0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=DB120 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6336k(rootfs),1408k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 61272k/65536k available (2239k kernel code, 4264k reserved, 603k data, 228k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] NET: Registered protocol family 16
[ 0.080000] MIPS: machine is Atheros DB120 reference board
[ 0.090000] ar724x-pci ar724x-pci: PCIe link is down
[ 0.100000] registering PCI controller with io_map_base unset
[ 0.510000] bio: create slab <bio-0> at 0
[ 0.520000] PCI host bridge to bus 0000:00
[ 0.520000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.530000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.530000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.540000] Switching to clocksource MIPS
[ 0.540000] NET: Registered protocol family 2
[ 0.550000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.550000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.560000] TCP: Hash tables configured (established 512 bind 512)
[ 0.560000] TCP: reno registered
[ 0.560000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.570000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.580000] NET: Registered protocol family 1
[ 0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.600000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.610000] msgmni has been set to 119
[ 0.620000] io scheduler noop registered
[ 0.620000] io scheduler deadline registered (default)
[ 0.630000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.650000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.660000] console [ttyS0] enabled, bootconsole disabled
[ 0.660000] console [ttyS0] enabled, bootconsole disabled
[ 0.670000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.680000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 0.690000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 0.690000] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.700000] Creating 7 MTD partitions on "spi0.0":
[ 0.700000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.710000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.720000] 0x000000050000-0x000000680000 : "rootfs"
[ 0.720000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.730000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.740000] 0x000000230000-0x000000680000 : "rootfs_data"
[ 0.740000] 0x000000680000-0x0000007e0000 : "kernel"
[ 0.750000] 0x0000007e0000-0x0000007f0000 : "nvram"
[ 0.760000] 0x0000007f0000-0x000000800000 : "art"
[ 0.760000] 0x000000050000-0x0000007e0000 : "firmware"
[ 0.790000] libphy: ag71xx_mdio: probed
[ 0.810000] switch0: Atheros AR8236 rev. 1 switch registered on ag71xx-mdio.0
[ 0.840000] libphy: ag71xx_mdio: probed
[ 2.510000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd043, driver=Atheros AR8216/AR8236/AR8316]
[ 2.520000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 3.080000] ag71xx-mdio.1: Found an AR934X built-in switch
[ 4.110000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 4.120000] TCP: cubic registered
[ 4.120000] NET: Registered protocol family 17
[ 4.120000] 8021q: 802.1Q VLAN Support v1.8
[ 4.130000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 4.140000] Freeing unused kernel memory: 228K (80327000 - 80360000)
procd: Console is alive
procd: - watchdog -
[ 6.300000] usbcore: registered new interface driver usbfs
[ 6.310000] usbcore: registered new interface driver hub
[ 6.310000] usbcore: registered new device driver usb
[ 6.320000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.330000] ehci-platform: EHCI generic platform driver
[ 6.340000] ehci-platform ehci-platform: EHCI Host Controller
[ 6.340000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 6.350000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 6.380000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 6.380000] hub 1-0:1.0: USB hub found
[ 6.390000] hub 1-0:1.0: 1 port detected
[ 6.390000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 8.560000] eth0: link up (100Mbps/Full duplex)
jffs2 is ready
jffs2 is ready
[ 9.990000] jffs2: notice: (376) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 14 of xref (0 dead, 2 orphan) found.
switching to overlay
[ 10.030000] eth0: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 11.440000] NET: Registered protocol family 10
[ 11.450000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[ 11.460000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.480000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 11.490000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 11.500000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.540000] xt_time: kernel timezone is -0000
[ 11.570000] cfg80211: Calling CRDA to update world regulatory domain
[ 11.570000] cfg80211: World regulatory domain updated:
[ 11.580000] cfg80211: DFS Master region: unset
[ 11.580000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 11.590000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.600000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.610000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.620000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.620000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 11.630000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 11.640000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 11.650000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 11.700000] PPP generic driver version 2.4.2
[ 11.720000] NET: Registered protocol family 24
[ 11.800000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[ 11.810000] cfg80211: Calling CRDA for country: US
[ 11.810000] cfg80211: Regulatory domain changed to country: US
[ 11.820000] cfg80211: DFS Master region: FCC
[ 11.820000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 11.830000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 11.840000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 11.850000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 11.860000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 11.870000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
procd: - init complete -

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by anonymous

it's an AR8236 switch.....

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.