[OpenWrt-Devel] ar934x+ar8327v4
David Hutchison
dhutchison at bluemesh.net
Fri Dec 5 14:39:16 EST 2014
Here is a test I did by setting up swconfig manually. As you can see I
put ports 1 and 2 into vlangroup 1. Traffic from port 2 can ping
10.128.41.1 which is a device on port 1. However eth0.1 which as
address 10.128.41.249 cannot ping 10.128.41.1 device on port 1.
Attached is the swconfig setup, and a dmesg.
Here is the arp result as well:
root at OpenWrt:/# arp -n
IP address HW type Flags HW address Mask Device
10.128.41.1 0x1 0x0 00:00:00:00:00:00 * eth0.1
I used to be able to do:
root at OpenWrt:/# swconfig dev eth0 show
Failed to connect to the switch
root at OpenWrt:/# swconfig list
Found: switch0 - ag71xx-mdio.0
Do you not think this is an issue with ag71xx? Do you it is something
in user-space?
On Fri, Dec 5, 2014 at 12:18 PM, David Hutchison
<dhutchison at bluemesh.net> wrote:
> I am using a very simple test setup with no vlans for now:
>
> root at OpenWrt:/# cat /etc/config/network
>
> config interface 'loopback'
> option ifname 'lo'
> option proto 'static'
> option ipaddr '127.0.0.1'
> option netmask '255.0.0.0'
>
> config globals 'globals'
> option ula_prefix 'fd26:7dae:48cb::/48'
>
> config interface 'lan'
> option ifname 'eth0'
> option type 'bridge'
> option proto 'static'
> option ipaddr '192.168.1.1'
> option netmask '255.255.255.0'
> option ip6assign '60'
>
> root at OpenWrt:/# swconfig dev switch0 show
> Global attributes:
> enable_vlan: 0
> enable_mirror_rx: 0
> enable_mirror_tx: 0
> mirror_monitor_port: 0
> mirror_source_port: 0
> Port 0:
> mib: Port 0 MIB counters
> RxBroad : 5
> RxPause : 0
> RxMulti : 6
> RxFcsErr : 0
> RxAlignErr : 0
> RxRunt : 0
> RxFragment : 0
> Rx64Byte : 0
> Rx128Byte : 3252
> Rx256Byte : 3
> Rx512Byte : 4
> Rx1024Byte : 0
> Rx1518Byte : 0
> RxMaxByte : 0
> RxTooLong : 0
> RxGoodByte : 223169
> RxBadByte : 0
> RxOverFlow : 0
> Filtered : 0
> TxBroad : 151
> TxPause : 0
> TxMulti : 324
> TxUnderRun : 0
> Tx64Byte : 208
> Tx128Byte : 93
> Tx256Byte : 99
> Tx512Byte : 57
> Tx1024Byte : 12
> Tx1518Byte : 3260
> TxMaxByte : 0
> TxOverSize : 0
> TxByte : 4960741
> TxCollision : 0
> TxAbortCol : 0
> TxMultiCol : 0
> TxSingleCol : 0
> TxExcDefer : 0
> TxDefer : 0
> TxLateCol : 0
>
> pvid: 0
> link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
> Port 1:
> mib: Port 1 MIB counters
> RxBroad : 151
> RxPause : 0
> RxMulti : 324
> RxFcsErr : 0
> RxAlignErr : 0
> RxRunt : 0
> RxFragment : 0
> Rx64Byte : 208
> Rx128Byte : 93
> Rx256Byte : 99
> Rx512Byte : 57
> Rx1024Byte : 12
> Rx1518Byte : 3260
> RxMaxByte : 0
> RxTooLong : 0
> RxGoodByte : 4960741
> RxBadByte : 0
> RxOverFlow : 0
> Filtered : 0
> TxBroad : 5
> TxPause : 0
> TxMulti : 6
> TxUnderRun : 0
> Tx64Byte : 0
> Tx128Byte : 3252
> Tx256Byte : 3
> Tx512Byte : 4
> Tx1024Byte : 0
> Tx1518Byte : 0
> TxMaxByte : 0
> TxOverSize : 0
> TxByte : 223169
> TxCollision : 0
> TxAbortCol : 0
> TxMultiCol : 0
> TxSingleCol : 0
> TxExcDefer : 0
> TxDefer : 0
> TxLateCol : 0
>
> pvid: 0
> link: port:1 link:up speed:1000baseT full-duplex auto
> Port 2:
> mib: Port 2 MIB counters
> RxBroad : 0
> RxPause : 0
> RxMulti : 0
> RxFcsErr : 0
> RxAlignErr : 0
> RxRunt : 0
> RxFragment : 0
> Rx64Byte : 0
> Rx128Byte : 0
> Rx256Byte : 0
> Rx512Byte : 0
> Rx1024Byte : 0
> Rx1518Byte : 0
> RxMaxByte : 0
> RxTooLong : 0
> RxGoodByte : 0
> RxBadByte : 0
> RxOverFlow : 0
> Filtered : 0
> TxBroad : 0
> TxPause : 0
> TxMulti : 0
> TxUnderRun : 0
> Tx64Byte : 0
> Tx128Byte : 0
> Tx256Byte : 0
> Tx512Byte : 0
> Tx1024Byte : 0
> Tx1518Byte : 0
> TxMaxByte : 0
> TxOverSize : 0
> TxByte : 0
> TxCollision : 0
> TxAbortCol : 0
> TxMultiCol : 0
> TxSingleCol : 0
> TxExcDefer : 0
> TxDefer : 0
> TxLateCol : 0
>
> pvid: 0
> link: port:2 link:down
> Port 3:
> mib: Port 3 MIB counters
> RxBroad : 0
> RxPause : 0
> RxMulti : 0
> RxFcsErr : 0
> RxAlignErr : 0
> RxRunt : 0
> RxFragment : 0
> Rx64Byte : 0
> Rx128Byte : 0
> Rx256Byte : 0
> Rx512Byte : 0
> Rx1024Byte : 0
> Rx1518Byte : 0
> RxMaxByte : 0
> RxTooLong : 0
> RxGoodByte : 0
> RxBadByte : 0
> RxOverFlow : 0
> Filtered : 0
> TxBroad : 0
> TxPause : 0
> TxMulti : 0
> TxUnderRun : 0
> Tx64Byte : 0
> Tx128Byte : 0
> Tx256Byte : 0
> Tx512Byte : 0
> Tx1024Byte : 0
> Tx1518Byte : 0
> TxMaxByte : 0
> TxOverSize : 0
> TxByte : 0
> TxCollision : 0
> TxAbortCol : 0
> TxMultiCol : 0
> TxSingleCol : 0
> TxExcDefer : 0
> TxDefer : 0
> TxLateCol : 0
>
> pvid: 0
> link: port:3 link:down
> Port 4:
> mib: Port 4 MIB counters
> RxBroad : 0
> RxPause : 0
> RxMulti : 0
> RxFcsErr : 0
> RxAlignErr : 0
> RxRunt : 0
> RxFragment : 0
> Rx64Byte : 0
> Rx128Byte : 0
> Rx256Byte : 0
> Rx512Byte : 0
> Rx1024Byte : 0
> Rx1518Byte : 0
> RxMaxByte : 0
> RxTooLong : 0
> RxGoodByte : 0
> RxBadByte : 0
> RxOverFlow : 0
> Filtered : 0
> TxBroad : 0
> TxPause : 0
> TxMulti : 0
> TxUnderRun : 0
> Tx64Byte : 0
> Tx128Byte : 0
> Tx256Byte : 0
> Tx512Byte : 0
> Tx1024Byte : 0
> Tx1518Byte : 0
> TxMaxByte : 0
> TxOverSize : 0
> TxByte : 0
> TxCollision : 0
> TxAbortCol : 0
> TxMultiCol : 0
> TxSingleCol : 0
> TxExcDefer : 0
> TxDefer : 0
> TxLateCol : 0
>
> pvid: 0
> link: port:4 link:down
> Port 5:
> mib: Port 5 MIB counters
> RxBroad : 0
> RxPause : 0
> RxMulti : 0
> RxFcsErr : 0
> RxAlignErr : 0
> RxRunt : 0
> RxFragment : 0
> Rx64Byte : 0
> Rx128Byte : 0
> Rx256Byte : 0
> Rx512Byte : 0
> Rx1024Byte : 0
> Rx1518Byte : 0
> RxMaxByte : 0
> RxTooLong : 0
> RxGoodByte : 0
> RxBadByte : 0
> RxOverFlow : 0
> Filtered : 0
> TxBroad : 0
> TxPause : 0
> TxMulti : 0
> TxUnderRun : 0
> Tx64Byte : 0
> Tx128Byte : 0
> Tx256Byte : 0
> Tx512Byte : 0
> Tx1024Byte : 0
> Tx1518Byte : 0
> TxMaxByte : 0
> TxOverSize : 0
> TxByte : 0
> TxCollision : 0
> TxAbortCol : 0
> TxMultiCol : 0
> TxSingleCol : 0
> TxExcDefer : 0
> TxDefer : 0
> TxLateCol : 0
>
> pvid: 0
> link: port:5 link:down
> Port 6:
> mib: Port 6 MIB counters
> RxBroad : 0
> RxPause : 0
> RxMulti : 0
> RxFcsErr : 0
> RxAlignErr : 0
> RxRunt : 0
> RxFragment : 0
> Rx64Byte : 0
> Rx128Byte : 0
> Rx256Byte : 0
> Rx512Byte : 0
> Rx1024Byte : 0
> Rx1518Byte : 0
> RxMaxByte : 0
> RxTooLong : 0
> RxGoodByte : 0
> RxBadByte : 0
> RxOverFlow : 0
> Filtered : 0
> TxBroad : 0
> TxPause : 0
> TxMulti : 0
> TxUnderRun : 0
> Tx64Byte : 0
> Tx128Byte : 0
> Tx256Byte : 0
> Tx512Byte : 0
> Tx1024Byte : 0
> Tx1518Byte : 0
> TxMaxByte : 0
> TxOverSize : 0
> TxByte : 0
> TxCollision : 0
> TxAbortCol : 0
> TxMultiCol : 0
> TxSingleCol : 0
> TxExcDefer : 0
> TxDefer : 0
> TxLateCol : 0
>
> pvid: 0
> link: port:6 link:down
>
> On Fri, Dec 5, 2014 at 9:37 AM, Felix Fietkau <nbd at openwrt.org> wrote:
>> On 2014-12-05 17:15, David Hutchison wrote:
>>> Hello,
>>>
>>> Yes the problem remains when enable_vlan is set to 0
>>>
>>> I don't think it's related to your changes either. I synced with trunk
>>> in hope that your changes made a difference with my problem. However
>>> that does not seem to be the case.
>>>
>>> I was hoping someone could point me in the right direction. Does this
>>> sound more like an issue with ag71xx since that is what exposes the
>>> "eth0" interface? Could it be as simple as the switch just isn't
>>> recognized? Perhaps the switch interconnect is no longer RGMII and
>>> should be GMII?
>>>
>>> If I knew where in those drivers to start looking, I could probably
>>> help fix this problem. I enjoy tinkering with the drivers, and
>>> learning how to fix them :)
>>>
>>> I was hoping you had some knowledge about how the interface becomes
>>> tied with the switch itself, and if there were any specifics for the
>>> ar8327 that must be set before the communication between the CPU +
>>> Switch Chip can happen.
>>>
>>> Felix, would you by chance have any ideas as to what to check next?
>>> The switch0 interface works fine, the eth0 interface tied to the
>>> switch. Does not.
>>>
>>> The other thing to note ( and i'm not sure if this is by design ).. I
>>> used to be able to do "swconfig dev eth0 show" and show the switch the
>>> eth0 was connected to. Now I must use "swconfig dev switch0 show" to
>>> configure the switch. When you do "swconfig dev eth0 show" it says it
>>> Failed to connect to the switch. In the past, I have always used eth0
>>> to configure the switch however that may have been incorrect.
>> Please post your network/switch configuration, and the output of
>> swconfig dev switch0 show
>>
>> - Felix
-------------- next part --------------
root at OpenWrt:/# swconfig dev switch0 set reset
root at OpenWrt:/# swconfig dev switch0 set enable_vlan 1
root at OpenWrt:/# swconfig dev switch0 vlan 1 set ports '0t 1 2'
root at OpenWrt:/# swconfig dev switch0 set apply
root at OpenWrt:/# vconfig add eth0 1
root at OpenWrt:/# ifconfig eth0.1 up
root at OpenWrt:/# brctl delif br-lan eth0
[ 770.820000] device eth0 left promiscuous mode
[ 770.820000] br-lan: port 1(eth0) entered disabled state
root at OpenWrt:/# ifconfig eth0.1 10.128.41.249 netmask 255.255.255.0 up
root at OpenWrt:/# swconfig dev switch0 show
Global attributes:
enable_vlan: 1
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
Port 0:
mib: Port 0 MIB counters
RxBroad : 5
RxPause : 0
RxMulti : 11
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 3255
Rx256Byte : 5
Rx512Byte : 4
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 223787
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 1124
TxPause : 0
TxMulti : 1256
TxUnderRun : 0
Tx64Byte : 984
Tx128Byte : 822
Tx256Byte : 429
Tx512Byte : 120
Tx1024Byte : 25
Tx1518Byte : 3260
TxMaxByte : 0
TxOverSize : 0
TxByte : 5155620
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 0
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
mib: Port 1 MIB counters
RxBroad : 1152
RxPause : 0
RxMulti : 1288
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 1517
Rx128Byte : 336
Rx256Byte : 443
Rx512Byte : 120
Rx1024Byte : 23
Rx1518Byte : 3260
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 5155595
RxBadByte : 0
RxOverFlow : 0
Filtered : 118
TxBroad : 24
TxPause : 0
TxMulti : 49
TxUnderRun : 0
Tx64Byte : 23
Tx128Byte : 3264
Tx256Byte : 13
Tx512Byte : 17
Tx1024Byte : 10
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 239521
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 1
link: port:1 link:up speed:1000baseT full-duplex auto
Port 2:
mib: Port 2 MIB counters
RxBroad : 19
RxPause : 0
RxMulti : 38
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 23
Rx128Byte : 9
Rx256Byte : 8
Rx512Byte : 13
Rx1024Byte : 10
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 15750
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 42
TxPause : 0
TxMulti : 46
TxUnderRun : 0
Tx64Byte : 53
Tx128Byte : 17
Tx256Byte : 15
Tx512Byte : 7
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 10167
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 1
link: port:2 link:up speed:1000baseT full-duplex auto
Port 3:
mib: Port 3 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 0
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 0
Tx256Byte : 0
Tx512Byte : 0
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 0
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 0
link: port:3 link:down
Port 4:
mib: Port 4 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 0
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 0
Tx256Byte : 0
Tx512Byte : 0
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 0
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 0
link: port:4 link:down
Port 5:
mib: Port 5 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 0
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 0
Tx256Byte : 0
Tx512Byte : 0
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 0
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 0
link: port:5 link:down
Port 6:
mib: Port 6 MIB counters
RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 0
TxPause : 0
TxMulti : 0
TxUnderRun : 0
Tx64Byte : 0
Tx128Byte : 0
Tx256Byte : 0
Tx512Byte : 0
Tx1024Byte : 0
Tx1518Byte : 0
TxMaxByte : 0
TxOverSize : 0
TxByte : 0
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0
pvid: 0
link: port:6 link:down
VLAN 1:
vid: 1
ports: 0t 1 2
root at OpenWrt:/# ping 10.128.41.1
PING 10.128.41.1 (10.128.41.1): 56 data bytes
^C
--- 10.128.41.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root at OpenWrt:/# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.128.41.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
root at OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 4C:5E:0C:6D:24:43
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::4e5e:cff:fe6d:2443/64 Scope:Link
inet6 addr: fd26:7dae:48cb::1/60 Scope:Global
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:63 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2991 (2.9 KiB) TX bytes:1340 (1.3 KiB)
eth0 Link encap:Ethernet HWaddr 4C:5E:0C:6D:24:43
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:72 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4626 (4.5 KiB) TX bytes:2040 (1.9 KiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr 4C:5E:0C:6D:24:43
inet addr:10.128.41.249 Bcast:10.128.41.255 Mask:255.255.255.0
inet6 addr: fe80::4e5e:cff:fe6d:2443/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:551 (551.0 B) TX bytes:660 (660.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6725 errors:0 dropped:0 overruns:0 frame:0
TX packets:6725 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:457520 (446.7 KiB) TX bytes:457520 (446.7 KiB)
-------------- next part --------------
[ 0.000000] MyLoader: sysp=058acc23, boardp=1cc0c811, parts=3dc88429
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 3
[ 0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] User-defined 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 803009d0, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 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: no-uart parts=1 boot_part_size=4194304 gpio=216635 HZ=300000000 mem=128M kmac=4C:5E:0C:6D:24:43 board=951G boot=0 mlc=6 console=ttyS0,115d
[ 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 124776k/131072k available (2185k kernel code, 6296k reserved, 627k data, 1728k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.070000] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] NET: Registered protocol family 16
[ 0.090000] MIPS: machine is MikroTik RouterBOARD 951G
[ 0.300000] bio: create slab <bio-0> at 0
[ 0.310000] Switching to clocksource MIPS
[ 0.320000] NET: Registered protocol family 2
[ 0.320000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.320000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.330000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.330000] TCP: reno registered
[ 0.340000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.340000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.350000] NET: Registered protocol family 1
[ 0.350000] PCI: CLS 0 bytes, default 32
[ 2.340000] yaffs built Jul 15 2013 23:32:13 Installing.
[ 2.340000]
[ 2.340000]
[ 2.340000]
[ 2.340000]
[ 2.340000] YAFFS-WARNING CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED selected.
[ 2.340000]
[ 2.340000]
[ 2.340000]
[ 2.340000] msgmni has been set to 243
[ 2.340000] io scheduler noop registered
[ 2.350000] io scheduler deadline registered (default)
[ 2.350000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 2.380000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 2.390000] console [ttyS0] enabled, bootconsole disabled
[ 2.400000] NAND device: Manufacturer ID: 0x98, Chip ID: 0xd1 (Toshiba NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[ 2.410000] Scanning device for bad blocks
[ 2.520000] Creating 3 MTD partitions on "ar934x-nfc":
[ 2.530000] 0x000000000000-0x000000040000 : "booter"
[ 2.540000] 0x000000040000-0x000000600000 : "kernel"
[ 2.540000] 0x000000600000-0x000008000000 : "rootfs"
[ 2.550000] mtd: partition "rootfs" set to be root filesystem
[ 2.560000] split_squashfs: no squashfs found in "ar934x-nfc"
[ 2.600000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[ 2.890000] libphy: ag71xx_mdio: probed
[ 3.440000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 3.460000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 3.460000] TCP: cubic registered
[ 3.470000] NET: Registered protocol family 17
[ 3.470000] 8021q: 802.1Q VLAN Support v1.8
[ 3.490000] Freeing unused kernel memory: 1728K (80320000 - 804d0000)
[ 5.440000] eth0: link up (1000Mbps/Full duplex)
[ 6.740000] eth0: link down
[ 7.460000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[ 7.470000] Backport generated by backports.git backports-20130617-4-ge3220f5
[ 7.500000] cfg80211: Calling CRDA to update world regulatory domain
[ 7.500000] cfg80211: World regulatory domain updated:
[ 7.510000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 7.520000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.520000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 7.530000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 7.540000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.550000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.580000] NET: Registered protocol family 10
[ 7.650000] ath: EEPROM regdomain: 0x0
[ 7.650000] ath: EEPROM indicates default country code should be used
[ 7.650000] ath: doing EEPROM country->regdmn map search
[ 7.650000] ath: country maps to regdmn code: 0x3a
[ 7.650000] ath: Country alpha2 being used: US
[ 7.650000] ath: Regpair used: 0x3a
[ 7.660000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 7.660000] cfg80211: Calling CRDA for country: US
[ 7.670000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[ 7.680000] cfg80211: Regulatory domain changed to country: US
[ 7.680000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 7.690000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 7.700000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 7.710000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.720000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.720000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.730000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 7.750000] PPP generic driver version 2.4.2
[ 7.760000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 7.780000] xt_time: kernel timezone is -0000
[ 7.780000] NET: Registered protocol family 24
[ 7.790000] nf_conntrack version 0.5.0 (1976 buckets, 7904 max)
[ 7.880000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.460000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 10.460000] device eth0 entered promiscuous mode
[ 10.470000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 11.450000] eth0: link up (1000Mbps/Full duplex)
[ 11.460000] br-lan: port 1(eth0) entered forwarding state
[ 11.460000] br-lan: port 1(eth0) entered forwarding state
[ 11.470000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 11.480000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 13.460000] br-lan: port 1(eth0) entered forwarding state
[ 770.820000] device eth0 left promiscuous mode
[ 770.820000] br-lan: port 1(eth0) entered disabled state
-------------- next part --------------
_______________________________________________
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