so first full dmesg with 1000 meg interface connected at the end of it:
[ 0.000000] Linux version 3.8.3 (jacek@jacek-MacBookPro) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #6 Tue Apr 2 12:19:55 CEST 2013
[ 0.000000] MyLoader: sysp=aaaa5554, boardp=aaaa5554, parts=aaaa5554
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 802f2470, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 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: 32512
[ 0.000000] Kernel command line: board=AP96 console=ttyS0,9600 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1728k(kernel),6080k(rootfs),64k(art)ro,7872k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 126384k/131072k available (2145k kernel code, 4688k reserved, 578k data, 216k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.070000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.090000] Mount-cache hash table entries: 512
[ 0.100000] NET: Registered protocol family 16
[ 0.110000] MIPS: machine is Atheros AP96
[ 2.710000] registering PCI controller with io_map_base unset
[ 2.720000] bio: create slab <bio-0> at 0
[ 2.730000] PCI host bridge to bus 0000:00
[ 2.740000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 2.750000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 2.760000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.770000] pci 0000:00:11.0: [168c:ff1d] type 00 class 0x020000
[ 2.770000] pci 0000:00:11.0: fixup device configuration
[ 2.780000] pci 0000:00:11.0: reg 10: [mem 0x00000000-0x0000ffff]
[ 2.780000] pci 0000:00:11.0: PME# supported from D0 D3hot
[ 2.780000] pci 0000:00:12.0: [168c:ff1d] type 00 class 0x020000
[ 2.780000] pci 0000:00:12.0: fixup device configuration
[ 2.790000] pci 0000:00:12.0: reg 10: [mem 0x00000000-0x0000ffff]
[ 2.790000] pci 0000:00:12.0: PME# supported from D0 D3hot
[ 2.790000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 2.790000] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[ 2.800000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[ 2.810000] pci 0000:00:11.0: using irq 40 for pin 1
[ 2.820000] pci 0000:00:12.0: using irq 41 for pin 1
[ 2.830000] Switching to clocksource MIPS
[ 2.840000] NET: Registered protocol family 2
[ 2.890000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.970000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 3.050000] TCP: Hash tables configured (established 1024 bind 1024)
[ 3.120000] TCP: reno registered
[ 3.160000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 3.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 3.310000] NET: Registered protocol family 1
[ 3.360000] PCI: CLS 0 bytes, default 32
[ 3.370000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.440000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 3.560000] msgmni has been set to 246
[ 3.600000] io scheduler noop registered
[ 3.650000] io scheduler deadline registered (default)
[ 3.710000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 3.810000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 3.890000] console [ttyS0] enabled, bootconsole disabled
[ 4.020000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 4.100000] m25p80 spi0.0: found mx25l6405d, expected m25p80
[ 4.160000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[ 4.220000] 6 cmdlinepart partitions found on MTD device spi0.0
[ 4.290000] Creating 6 MTD partitions on "spi0.0":
[ 4.350000] 0x000000000000-0x000000040000 : "u-boot"
[ 4.410000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 4.480000] 0x000000050000-0x000000200000 : "kernel"
[ 4.540000] 0x000000200000-0x0000007f0000 : "rootfs"
[ 4.600000] mtd: partition "rootfs" set to be root filesystem
[ 4.670000] mtd: partition "rootfs_data" created automatically, ofs=3F0000, len=400000
[ 4.760000] 0x0000003f0000-0x0000007f0000 : "rootfs_data"
[ 4.830000] 0x0000007f0000-0x000000800000 : "art"
[ 4.890000] 0x000000050000-0x000000800000 : "firmware"
[ 4.950000] libphy: ag71xx_mdio: probed
[ 5.000000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 5.370000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.0:01 [uid=004dd04e, driver=Generic PHY]
[ 5.490000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:RGMII
[ 5.860000] ag71xx ag71xx.1 eth1: no PHY found with phy_mask=00000010
[ 5.940000] TCP: cubic registered
[ 5.980000] NET: Registered protocol family 17
[ 6.030000] 8021q: 802.1Q VLAN Support v1.8
[ 6.090000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 6.170000] Freeing unused kernel memory: 216k freed
[ 10.740000] jffs2: notice: (416) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 14 of xref (0 dead, 2 orphan) found.
[ 12.300000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[ 12.390000] Backport based on wireless-testing.git master-2013-02-22
[ 12.480000] compat.git: wireless-testing.git
[ 12.560000] cfg80211: Calling CRDA to update world regulatory domain
[ 12.660000] cfg80211: World regulatory domain updated:
[ 12.730000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 12.850000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 12.960000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 13.070000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 13.180000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.290000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.620000] usbcore: registered new interface driver usbfs
[ 13.690000] usbcore: registered new interface driver hub
[ 13.780000] usbcore: registered new device driver usb
[ 14.330000] PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
[ 14.400000] ath: EEPROM regdomain: 0x0
[ 14.400000] ath: EEPROM indicates default country code should be used
[ 14.400000] ath: doing EEPROM country->regdmn map search
[ 14.400000] ath: country maps to regdmn code: 0x3a
[ 14.400000] ath: Country alpha2 being used: US
[ 14.400000] ath: Regpair used: 0x3a
[ 14.410000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 14.410000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[ 14.490000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
[ 14.570000] ath: EEPROM regdomain: 0x0
[ 14.570000] ath: EEPROM indicates default country code should be used
[ 14.570000] ath: doing EEPROM country->regdmn map search
[ 14.570000] ath: country maps to regdmn code: 0x3a
[ 14.570000] ath: Country alpha2 being used: US
[ 14.570000] ath: Regpair used: 0x3a
[ 14.570000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 14.580000] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0010000, irq=41
[ 14.680000] PPP generic driver version 2.4.2
[ 14.730000] cfg80211: Calling CRDA for country: US
[ 14.790000] cfg80211: Regulatory domain changed to country: US
[ 14.860000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 14.960000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 15.050000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 15.140000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 15.230000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 15.330000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 15.420000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 15.700000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 15.830000] NET: Registered protocol family 24
[ 15.890000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 16.000000] ehci-platform: EHCI generic platform driver
[ 16.070000] ehci-platform ehci-platform: EHCI Host Controller
[ 16.140000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 16.230000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 16.320000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 16.390000] hub 1-0:1.0: USB hub found
[ 16.440000] hub 1-0:1.0: 2 ports detected
[ 16.500000] nf_conntrack version 0.5.0 (1978 buckets, 7912 max)
[ 19.530000] device eth0 entered promiscuous mode
[ 20.830000] ar71xx: pll_reg 0xb8050010: 0x110000
[ 20.830000] eth0: link up (1000Mbps/Full duplex)
[ 20.880000] br-lan: port 1(eth0) entered forwarding state
[ 20.950000] br-lan: port 1(eth0) entered forwarding state
[ 22.950000] br-lan: port 1(eth0) entered forwarding state
[ 27.610000] wlan1: authenticate with 10:0d:7f:53:e2:32
[ 27.700000] wlan1: send auth to 10:0d:7f:53:e2:32 (try 1/3)
[ 27.760000] wlan1: authenticated
[ 27.870000] ath9k 0000:00:12.0 wlan1: disabling HT as WMM/QoS is not supported by the AP
[ 27.960000] ath9k 0000:00:12.0 wlan1: disabling VHT as WMM/QoS is not supported by the AP
[ 28.070000] wlan1: associate with 10:0d:7f:53:e2:32 (try 1/3)
[ 28.190000] wlan1: RX AssocResp from 10:0d:7f:53:e2:32 (capab=0x511 status=0 aid=1)
[ 28.280000] wlan1: associated
[ 28.400000] wlan1: Limiting TX power to 20 (20 - 0) dBm as advertised by 10:0d:7f:53:e2:32
Then ping:
root@OpenWrt:/# ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
^C
--- 192.168.1.2 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
Than switch interface to 100 megs (on laptop, I use direct cable), dmesg:
[ 75.060000] eth0: link down
[ 75.090000] br-lan: port 1(eth0) entered disabled state
[ 76.090000] eth0: link up (100Mbps/Full duplex)
[ 76.140000] br-lan: port 1(eth0) entered forwarding state
[ 76.210000] br-lan: port 1(eth0) entered forwarding state
[ 78.210000] br-lan: port 1(eth0) entered forwarding state
And ping to same ip:
root@OpenWrt:/# ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: seq=0 ttl=64 time=1.121 ms
64 bytes from 192.168.1.2: seq=1 ttl=64 time=0.750 ms
64 bytes from 192.168.1.2: seq=2 ttl=64 time=0.750 ms
64 bytes from 192.168.1.2: seq=3 ttl=64 time=0.686 ms
^C
--- 192.168.1.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.686/0.826/1.121 ms
So basically there aren't any errors.. which is making this even weirder...
(Last edited by jaceq on 2 Apr 2013, 18:13)