#17717: Unable to enable jumbo frame for WRT600N (BCM5395)
-------------------------------------------------+-------------------------
 Reporter:  anonymous                            |      Owner:  developers
     Type:  enhancement                          |     Status:  new
 Priority:  normal                               |  Milestone:
Component:  kernel                               |    Version:  Barrier
 Keywords:  BCM5395 tg3 jumbo WRT600N            |  Breaker 14.07
  WRT600NV11                                     |
-------------------------------------------------+-------------------------
 Version: {{{BARRIER BREAKER (14.07-rc3, r42056)}}}

 Jumbo frame cannot be enabled for WRT600N v1.1 (WRT600NV11) which uses
 BCM5395 (tg3 driver). According to broadcom datasheet
 (http://www.broadcom.com/collateral/pb/5395-PB01-R.pdf), it supports 9K
 jumbo frame.

 {{{
 root@OpenWrt:/# ifconfig eth0 mtu 1500
 root@OpenWrt:/# ifconfig eth0 mtu 1501
 ifconfig: SIOCSIFMTU: Invalid argument
 }}}

 {{{
 [    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3
 (OpenWrt/Linaro GCC 4.8-2014.04 r41989) ) #1 Fri Aug 8 01:10:15 CEST 2014
 [    0.000000] CPU revision is: 0002901a (Broadcom BMIPS3300)
 [    0.000000] bcm47xx: using ssb bus
 [    0.000000] ssb: Found chip with id 0x4785, rev 0x02 and package 0x0C
 [    0.000000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0F, vendor
 0x4243)
 [    0.000000] ssb: Core 1 found: GBit Ethernet (cc 0x81F, rev 0x00,
 vendor 0x4243)
 [    0.000000] ssb: Core 2 found: USB 2.0 Host (cc 0x819, rev 0x00, vendor
 0x4243)
 [    0.000000] ssb: Core 3 found: USB 2.0 Device (cc 0x81A, rev 0x02,
 vendor 0x4243)
 [    0.000000] ssb: Core 4 found: PCI (cc 0x804, rev 0x0B, vendor 0x4243)
 [    0.000000] ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x07, vendor
 0x4243)
 [    0.000000] ssb: Core 6 found: PATA (cc 0x81D, rev 0x00, vendor 0x4243)
 [    0.000000] ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x03, vendor
 0x4243)
 [    0.000000] ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x03, vendor
 0x4243)
 [    0.000000] ssb: Core 9 found: SATA XOR-DMA (cc 0x81E, rev 0x00, vendor
 0x4243)
 [    0.000000] ssb: chipcommon status is 0x0
 [    0.000000] ssb: Initializing MIPS core...
 [    0.000000] ssb: set_irq: core 0x080b, irq 4 => 2
 [    0.000000] ssb: set_irq: core 0x081f, irq 5 => 4
 [    0.000000] ssb: set_irq: core 0x0819, irq 3 => 5
 [    0.000000] ssb: after irq reconfiguration
 [    0.000000] ssb: core 0x0800, irq : 2(S)* 3  4  5  6  D  I
 [    0.000000] ssb: core 0x081f, irq : 2(S)  3  4* 5  6  D  I
 [    0.000000] ssb: core 0x0819, irq : 2(S)  3  4  5* 6  D  I
 [    0.000000] ssb: core 0x081a, irq : 2(S)* 3  4  5  6  D  I
 [    0.000000] ssb: core 0x0804, irq : 2(S)  3  4  5  6* D  I
 [    0.000000] ssb: core 0x0816, irq : 2(S)* 3  4  5  6  D  I
 [    0.000000] ssb: core 0x081d, irq : 2(S)  3  4  5  6  D* I
 [    0.000000] ssb: core 0x080b, irq : 2(S)* 3  4  5  6  D  I
 [    0.000000] ssb: core 0x080f, irq : 2(S)  3  4  5  6  D  I*
 [    0.000000] ssb: core 0x081e, irq : 2(S)* 3  4  5  6  D  I
 [    0.000000] can not parse nvram name (null)boardnum(null) with value
 20070615 got -34
 [    0.000000] Unsupported SPROM revision 0 detected. Will extract v1
 [    0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000
 [    0.000000] MIPS: machine is Unknown Board
 [    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 802e6b80, 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 32kB, VIPT, 4-way, linesize 16
 bytes.
 [    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases,
 linesize 16 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:  noinitrd console=ttyS0,115200
 [    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] Memory: 28936k/32768k available (2453k kernel code, 3832k
 reserved, 597k data, 208k init, 0k highmem)
 [    0.000000] NR_IRQS:128
 [    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.070000] NET: Registered protocol family 16
 [    0.090000] bio: create slab <bio-0> at 0
 [    0.100000] Switching to clocksource MIPS
 [    0.110000] ssb: PCIcore in host mode found
 [    0.400000] PCI host bridge to bus 0000:00
 [    0.400000] pci_bus 0000:00: root bus resource [mem
 0x40000000-0x7fffffff]
 [    0.400000] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
 [    0.400000] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    0.400000] pci 0000:00:00.0: [14e4:4785] type 00 class 0x060000
 [    0.400000] ssb: PCI: Fixing up bridge 0000:00:00.0
 [    0.400000] pci 0000:00:00.0: setting latency timer to 64
 [    0.400000] ssb: PCI: Fixing up device 0000:00:00.0
 [    0.400000] ssb: PCI: Fixing latency timer of device 0000:00:00.0 to
 168
 [    0.400000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x00001fff]
 [    0.400000] pci 0000:00:00.0: reg 14: [mem 0x00000000-0x07ffffff pref]
 [    0.410000] pci 0000:00:01.0: [14e4:4329] type 00 class 0x028000
 [    0.410000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x00003fff]
 [    0.410000] pci 0000:00:02.0: [14e4:432a] type 00 class 0x028000
 [    0.410000] pci 0000:00:02.0: reg 10: [mem 0x00000000-0x00003fff]
 [    0.410000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 [    0.410000] pci 0000:00:01.0: BAR 0: assigned [mem
 0x40000000-0x40003fff]
 [    0.410000] pci 0000:00:02.0: BAR 0: assigned [mem
 0x40004000-0x40007fff]
 [    0.410000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
 [    0.410000] ssb: PCI: Fixing up device 0000:00:01.0
 [    0.410000] b43-pci-bridge 0000:00:01.0: setting latency timer to 64
 [    0.450000] ssb: Found chip with id 0x4321, rev 0x01 and package 0x01
 [    0.450000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x12, vendor
 0x4243)
 [    0.450000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x0B, vendor
 0x4243)
 [    0.450000] ssb: Core 2 found: PCI-E (cc 0x820, rev 0x02, vendor
 0x4243)
 [    0.450000] ssb: Core 3 found: PCI (cc 0x804, rev 0x0D, vendor 0x4243)
 [    0.450000] ssb: Core 4 found: USB 1.1 Host (cc 0x817, rev 0x04, vendor
 0x4243)
 [    0.490000] ssb: chipcommon status is 0x0
 [    0.490000] ssb: SPROM offset is 0x1000
 [    0.500000] ssb: SPROM revision 4 detected
 [    0.540000] ssb: Sonics Silicon Backplane found on PCI device
 0000:00:01.0
 [    0.540000] PCI host bridge to bus 0000:01
 [    0.540000] pci_bus 0000:01: root bus resource [mem
 0x18010000-0x1801ffff]
 [    0.540000] pci_bus 0000:01: root bus resource [io  0x0800-0x08ff]
 [    0.540000] pci_bus 0000:01: No busn resource found for root bus, will
 use [bus 01-ff]
 [    0.540000] pci 0000:01:00.0: [14e4:1676] type 00 class 0x020000
 [    0.540000] pci 0000:01:00.0: reg 10: [mem 0x18010000-0x1801ffff 64bit]
 [    0.540000] pci 0000:01:00.0: PME# supported from D3hot D3cold
 [    0.540000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
 [    0.540000] pci 0000:01:00.0: BAR 0: assigned [mem
 0x18010000-0x1801ffff 64bit]
 [    0.540000] NET: Registered protocol family 2
 [    0.540000] TCP established hash table entries: 512 (order: 0, 4096
 bytes)
 [    0.540000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
 [    0.540000] TCP: Hash tables configured (established 512 bind 512)
 [    0.540000] TCP: reno registered
 [    0.540000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.540000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.550000] NET: Registered protocol family 1
 [    0.550000] PCI: CLS 0 bytes, default 16
 [    0.550000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.550000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.550000] msgmni has been set to 56
 [    0.550000] io scheduler noop registered
 [    0.550000] io scheduler deadline registered (default)
 [    0.550000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
 [    0.590000] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2) is a
 U6_16550A
 [    0.960000] console [ttyS0] enabled
 [    0.980000] serial8250.0: ttyS1 at MMIO 0xb8000400 (irq = 2) is a
 U6_16550A
 [    1.000000] physmap platform flash device: 02000001 at 1c000000
 [    1.000000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank.
 Manufacturer ID 0x0000ec Chip ID 0x0022e2
 [    1.010000] physmap-flash.0: Found an alias at 0x800000 for the chip at
 0x0
 [    1.010000] physmap-flash.0: Found an alias at 0x1000000 for the chip
 at 0x0
 [    1.010000] physmap-flash.0: Found an alias at 0x1800000 for the chip
 at 0x0
 [    1.010000] Amd/Fujitsu Extended Query Table at 0x0040
 [    1.020000]   Fixing Samsung's Amd/Fujitsu Extended Query version to
 1.0
 [    1.020000]   Amd/Fujitsu Extended Query version 1.0.
 [    1.030000] number of CFI chips: 1
 [    1.070000] 6 bcm47xxpart partitions found on MTD device physmap-
 flash.0
 [    1.070000] Creating 6 MTD partitions on "physmap-flash.0":
 [    1.080000] 0x000000000000-0x000000040000 : "boot"
 [    1.090000] 0x000000040000-0x0000007f0000 : "firmware"
 [    1.100000] 0x00000004001c-0x00000004090c : "loader"
 [    1.100000] 0x00000004090c-0x000000152c00 : "linux"
 [    1.110000] mtd: partition "linux" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    1.120000] 0x000000152c00-0x0000007f0000 : "rootfs"
 [    1.130000] mtd: partition "rootfs" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    1.150000] mtd: device 4 (rootfs) set to be root filesystem
 [    1.150000] mtd: partition "rootfs_data" created automatically,
 ofs=0x370000, len=0x480000
 [    1.160000] 0x000000370000-0x0000007f0000 : "rootfs_data"
 [    1.170000] 0x0000007f0000-0x000000800000 : "nvram"
 [    1.190000] libphy: Fixed MDIO Bus: probed
 [    1.190000] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled
 (30 seconds, Software Timer)
 [    1.200000] GPIO_WDT: failed to register misc device
 [    1.210000] TCP: cubic registered
 [    1.210000] NET: Registered protocol family 17
 [    1.220000] Bridge firewalling registered
 [    1.220000] 8021q: 802.1Q VLAN Support v1.8
 [    1.230000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:4.
 [    1.240000] Freeing unused kernel memory: 208K (802fc000 - 80330000)
 [    5.290000] pps_core: LinuxPPS API ver. 1 registered
 [    5.290000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
 Giometti <[email protected]>
 [    5.310000] PTP clock support registered
 [    5.330000] tg3.c:v3.132 (May 21, 2013)
 [    5.340000] tg3 0000:01:00.0: setting latency timer to 64
 [    5.340000] libphy: tg3 mdio bus: probed
 [    5.350000] b53_common: found switch: BCM5395, rev 0
 [    5.360000] tg3 0000:01:00.0 eth0: Tigon3 [partno(none) rev 4001]
 (PCI:33MHz:32-bit) MAC address XX:XX:XX:XX:XX:XX
 [    5.370000] tg3 0000:01:00.0 eth0: attached PHY driver [Broadcom B53
 (1)] (mii_bus:phy_addr=100:1e)
 [    5.380000] tg3 0000:01:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0]
 ASF[0] TSOcap[1]
 [    5.390000] tg3 0000:01:00.0 eth0: dma_rwctrl[763f0000]
 dma_mask[64-bit]
 [    5.430000] usbcore: registered new interface driver usbfs
 [    5.430000] usbcore: registered new interface driver hub
 [    5.440000] usbcore: registered new device driver usb
 [    5.470000] SCSI subsystem initialized
 [    5.480000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    5.490000] ehci-platform: EHCI generic platform driver
 [    5.500000] ehci-platform ehci-platform.0: EHCI Host Controller
 [    5.510000] ehci-platform ehci-platform.0: new USB bus registered,
 assigned bus number 1
 [    5.510000] ehci-platform ehci-platform.0: irq 5, io mem 0x18002800
 [    5.540000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
 [    5.540000] hub 1-0:1.0: USB hub found
 [    5.550000] hub 1-0:1.0: 2 ports detected
 [    5.560000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 [    5.560000] ohci-platform ohci-platform.0: Generic Platform OHCI
 Controller
 [    5.570000] ohci-platform ohci-platform.0: new USB bus registered,
 assigned bus number 2
 [    5.580000] ohci-platform ohci-platform.0: irq 5, io mem 0x18002000
 [    5.650000] hub 2-0:1.0: USB hub found
 [    5.660000] hub 2-0:1.0: 2 ports detected
 [    5.670000] usbcore: registered new interface driver usb-storage
 [    6.350000] tg3 0000:01:00.0 eth0: Link is up at 1000 Mbps, full duplex
 [    6.350000] tg3 0000:01:00.0 eth0: Flow control is off for TX and off
 for RX
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/17717>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to