#16810: [trunk] the option txqueuelen on eth0 doesn't apply
-----------------------+-------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Barrier Breaker (trunk)
Component: packages | Version: Trunk
Keywords: |
-----------------------+-------------------------------------
Hi! That is my logfile of miniserver based on wr703n. But the the option
txqueuelen on eth0 doesn't apply (at boot or after command
/etc/init.d/network restart)
{{{
root@machine:/# dmesg
[ 0.000000] Linux version 3.10.36 (none@none) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r41181) ) #1 Sun Jun 15 22:12:13 FET 2014
[ 0.000000] MyLoader: sysp=0ec84533, boardp=bb4fff4d, parts=50c7ca80
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:500.000MHz, DDR:250.000MHz, AHB:250.000MHz,
Ref:25.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] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 8030e9b0, node_mem_map
81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 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: 16256
[ 0.000000] Kernel command line: board=TL-WR703N
console=ttyATH0,115200 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 (2235k kernel code, 4264k
reserved, 598k data, 236k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.050000] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] NET: Registered protocol family 16
[ 0.080000] MIPS: machine is TP-LINK TL-WR703N v1
[ 0.330000] bio: create slab <bio-0> at 0
[ 0.340000] Switching to clocksource MIPS
[ 0.350000] NET: Registered protocol family 2
[ 0.350000] TCP established hash table entries: 512 (order: 0, 4096
bytes)
[ 0.350000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.360000] TCP: Hash tables configured (established 512 bind 512)
[ 0.360000] TCP: reno registered
[ 0.360000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.370000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.380000] NET: Registered protocol family 1
[ 0.380000] PCI: CLS 0 bytes, default 32
[ 0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.410000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.420000] msgmni has been set to 119
[ 0.420000] io scheduler noop registered
[ 0.430000] io scheduler deadline registered (default)
[ 0.430000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.440000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a
AR933X UART
[ 0.440000] console [ttyATH0] enabled, bootconsole disabled
[ 0.460000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.470000] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.470000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.470000] 5 tp-link partitions found on MTD device spi0.0
[ 0.480000] Creating 5 MTD partitions on "spi0.0":
[ 0.480000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.490000] 0x000000020000-0x00000011e63c : "kernel"
[ 0.500000] mtd: partition "kernel" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[ 0.510000] 0x00000011e63c-0x000000ff0000 : "rootfs"
[ 0.510000] mtd: partition "rootfs" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[ 0.530000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.530000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.540000] 0x0000007d0000-0x000000ff0000 : "rootfs_data"
[ 0.550000] 0x000000ff0000-0x000001000000 : "art"
[ 0.550000] 0x000000020000-0x000000ff0000 : "firmware"
[ 0.580000] libphy: ag71xx_mdio: probed
[ 1.130000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04
[uid=004dd041, driver=Generic PHY]
[ 1.140000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.140000] TCP: cubic registered
[ 1.150000] NET: Registered protocol family 17
[ 1.150000] 8021q: 802.1Q VLAN Support v1.8
[ 1.160000] VFS: Mounted root (squashfs filesystem) readonly on device
31:2.
[ 1.170000] Freeing unused kernel memory: 236K (80325000 - 80360000)
[ 4.130000] usbcore: registered new interface driver usbfs
[ 4.130000] usbcore: registered new interface driver hub
[ 4.140000] usbcore: registered new device driver usb
[ 4.160000] SCSI subsystem initialized
[ 4.170000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.180000] ehci-platform: EHCI generic platform driver
[ 4.180000] ehci-platform ehci-platform: EHCI Host Controller
[ 4.190000] ehci-platform ehci-platform: new USB bus registered,
assigned bus number 1
[ 4.200000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.220000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.220000] hub 1-0:1.0: USB hub found
[ 4.220000] hub 1-0:1.0: 1 port detected
[ 4.230000] uhci_hcd: USB Universal Host Controller Interface driver
[ 4.240000] usbcore: registered new interface driver usb-storage
[ 4.690000] usb 1-1: new high-speed USB device number 2 using ehci-
platform
[ 4.900000] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 4.910000] scsi0 : usb-storage 1-1:1.0
[ 5.920000] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0
PMAP PQ: 0 ANSI: 0 CCS
[ 5.930000] sd 0:0:0:0: [sda] 1007616 512-byte logical blocks: (515
MB/492 MiB)
[ 5.930000] sd 0:0:0:0: [sda] Write Protect is off
[ 5.940000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 5.940000] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.940000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.950000] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.960000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.970000] sda: sda1
[ 5.970000] sd 0:0:0:0: [sda] No Caching mode page found
[ 5.980000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 5.980000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 7.140000] eth0: link up (100Mbps/Full duplex)
[ 8.780000] jffs2: notice: (335) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 2 of xdatum (0 unchecked, 1 orphan) and 25 of
xref (0 dead, 13 orphan) found.
[ 8.850000] jffs2: notice: (332) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 2 of xdatum (0 unchecked, 1 orphan) and 25 of
xref (0 dead, 13 orphan) found.
[ 8.880000] eth0: link down
[ 12.280000] NET: Registered protocol family 10
[ 12.300000] zram: Created 1 device(s) ...
[ 12.300000] tun: Universal TUN/TAP device driver, 1.6
[ 12.310000] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[ 12.350000] Linux video capture interface: v2.00
[ 12.370000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 12.400000] u32 classifier
[ 12.400000] input device check on
[ 12.400000] Actions configured
[ 12.420000] Mirror/redirect action on
[ 12.430000] Failed to load ipt action
[ 12.490000] Loading modules backported from Linux version
master-2014-05-22-0-gf2032ea
[ 12.490000] Backport generated by backports.git
backports-20140320-37-g5c33da0
[ 12.520000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.560000] nf_conntrack version 0.5.0 (961 buckets, 3844 max)
[ 12.760000] usbcore: registered new interface driver usbserial
[ 12.760000] usbcore: registered new interface driver usbserial_generic
[ 12.780000] usbserial: USB Serial support registered for generic
[ 12.880000] usbcore: registered new interface driver uvcvideo
[ 12.880000] USB Video Class driver (1.1.1)
[ 12.890000] Driver for 1-wire Dallas network protocol.
[ 12.950000] xt_time: kernel timezone is -0000
[ 12.990000] cfg80211: Calling CRDA to update world regulatory domain
[ 12.990000] cfg80211: World regulatory domain updated:
[ 13.000000] cfg80211: DFS Master region: unset
[ 13.000000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.010000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.020000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.030000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.040000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.040000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
2000 mBm), (N/A)
[ 13.050000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[ 13.060000] usbcore: registered new interface driver cp210x
[ 13.070000] usbserial: USB Serial support registered for cp210x
[ 13.220000] PPP generic driver version 2.4.2
[ 13.220000] NET: Registered protocol family 24
[ 13.340000] ath: EEPROM regdomain: 0x0
[ 13.340000] ath: EEPROM indicates default country code should be used
[ 13.340000] ath: doing EEPROM country->regdmn map search
[ 13.340000] ath: country maps to regdmn code: 0x3a
[ 13.340000] ath: Country alpha2 being used: US
[ 13.340000] ath: Regpair used: 0x3a
[ 13.370000] ieee80211 phy0: Selected rate control algorithm
'minstrel_ht'
[ 13.380000] cfg80211: Calling CRDA for country: US
[ 13.380000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 13.390000] cfg80211: Regulatory domain changed to country: US
[ 13.390000] cfg80211: DFS Master region: FCC
[ 13.400000] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.400000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
3000 mBm), (N/A)
[ 13.410000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
1700 mBm), (N/A)
[ 13.420000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A,
2300 mBm), (0 s)
[ 13.430000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
3000 mBm), (N/A)
[ 13.440000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 4000 mBm), (N/A)
[ 15.770000] Adding 30716k swap on /dev/zram0. Priority:-1 extents:1
across:30716k SS
[ 23.510000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 23.660000] eth0: link up (100Mbps/Full duplex)
[ 23.660000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 28.000000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 29.930000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 217.110000] eth0: link down
[ 217.120000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 217.290000] eth0: link up (100Mbps/Full duplex)
[ 217.290000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 218.450000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 219.670000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
}}}
That is my network config
{{{
root@machine:/# 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 interface 'wifi'
option _orig_ifname 'wlan0'
option _orig_bridge 'false'
option proto 'static'
option ipaddr '10.9.2.1'
option netmask '255.255.255.0'
option txqueuelen '7935'
config interface 'wan'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.100.10'
option netmask '255.255.255.0'
option gateway '192.168.100.1'
option txqueuelen '10500'
config interface 'wan1'
option ifname 'eth0'
option peerdns '1'
option defaultroute '1'
option proto 'pppoe'
option username 'none@none'
option password 'none'
}}}
{{{
oot@machine:/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:BA:AD:00:00:01
inet addr:192.168.100.10 Bcast:192.168.100.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:767 errors:0 dropped:0 overruns:0 carrier:0
''' collisions:0 txqueuelen:1000'''
RX bytes:1587 (1.5 KiB) TX bytes:30796 (30.0 KiB)
Interrupt:4
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1547 errors:0 dropped:0 overruns:0 frame:0
TX packets:1547 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:134133 (130.9 KiB) TX bytes:134133 (130.9 KiB)
wlan0 Link encap:Ethernet HWaddr 00:BA:AD:00:00:01
inet addr:10.9.2.1 Bcast:10.9.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
''' collisions:0 txqueuelen:7935'''
RX bytes:0 (0.0 B) TX bytes:2232 (2.1 KiB)
}}}
Great works, Thank!
--
Ticket URL: <https://dev.openwrt.org/ticket/16810>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets