All Projects

IDCategoryTask TypePrioritySeveritySummaryReported InStatus
 3217 KernelBug ReportVery LowLow UniElec U7623 doesn't boot. TrunkClosed Task Description

OpenWrt master as of today at d8ab3216e68

The 5.4 kernel doesn’t finish booting. Just hangs during PCIe setup.

MT7623> bootm
bootm flag=0, states=70f
## Booting kernel from Legacy Image at 84000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.50
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4316275 Bytes = 4.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.50 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13704-982468de35)) #0 SMP PREEMPT Mon Jul 6 18:23:33 2020
[    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: UniElec U7623-02 eMMC (512M RAM)
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootfstype=squashfs,f2fs
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 505132K/524288K available (7168K kernel code, 215K rwdata, 1664K rodata, 4096K init, 240K bss, 19156K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x2f8/0x4a4 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000005] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000016] Switching to timer-based delay loop, resolution 76ns
[    0.000173] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 147020034397 ns
[    0.000189] sched_clock: 32 bits at 13MHz, resolution 76ns, wraps every 165191050201ns
[    0.000459] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000473] pid_max: default: 32768 minimum: 301
[    0.000630] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000643] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001446] CPU: Testing write buffer coherency: ok
[    0.060045] Setting up static identity map for 0x80100000 - 0x80100060
[    0.080032] rcu: Hierarchical SRCU implementation.
[    0.120099] smp: Bringing up secondary CPUs ...
[    0.360606] smp: Brought up 1 node, 4 CPUs
[    0.360622] SMP: Total of 4 processors activated (104.00 BogoMIPS).
[    0.360628] CPU: All CPU(s) started in SVC mode.
[    0.370565] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 3
[    0.370957] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.370979] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.371196] pinctrl core: initialized pinctrl subsystem
[    0.372113] NET: Registered protocol family 16
[    0.372351] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.373194] No ATAGs?
[    0.457116] usbcore: registered new interface driver usbfs
[    0.457173] usbcore: registered new interface driver hub
[    0.457287] usbcore: registered new device driver usb
[    0.458697] clocksource: Switched to clocksource arch_sys_counter
[    0.459521] thermal_sys: Registered thermal governor 'step_wise'
[    0.459947] NET: Registered protocol family 2
[    0.460860] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.460899] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.460941] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.461001] TCP: Hash tables configured (established 4096 bind 4096)
[    0.461107] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.461139] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.461341] NET: Registered protocol family 1
[    0.461378] PCI: CLS 0 bytes, default 64
[    0.524240] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.529661] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.529675] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.582893] mtk-scpsys 10006000.scpsys: Failed to power on domain mfg
[    1.583478] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.585804] printk: console [ttyS0] disabled
[    1.606064] 11004000.serial: ttyS0 at MMIO 0x11004000 (irq = 198, base_baud = 1625000) is a ST16650V2
[    2.037227] printk: console [ttyS0] enabled
[    2.042067] mtk_rng 1020f000.rng: registered RNG driver
[    2.042214] random: fast init done
[    2.050996] random: crng init done
[    2.051865] loop: module loaded
[    2.058467] mt6323-regulator mt6323-regulator: Chip ID = 0x2023
[    2.073853] libphy: Fixed MDIO Bus: probed
[    2.101171] libphy: mdio: probed
[    2.110525] mtk_soc_eth 1b100000.ethernet: generated random MAC address 76:ea:77:3c:b5:94
[    2.119205] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xe08e0000, irq 204
[    2.128893] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    2.134142] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 1
[    2.144655] xhci-mtk 1a1c0000.usb: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    2.153785] xhci-mtk 1a1c0000.usb: irq 202, io mem 0x1a1c0000
[    2.160362] hub 1-0:1.0: USB hub found
[    2.164151] hub 1-0:1.0: 1 port detected
[    2.168425] xhci-mtk 1a1c0000.usb: xHCI Host Controller
[    2.173695] xhci-mtk 1a1c0000.usb: new USB bus registered, assigned bus number 2
[    2.181116] xhci-mtk 1a1c0000.usb: Host supports USB 3.0 SuperSpeed
[    2.187454] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.196053] hub 2-0:1.0: USB hub found
[    2.199858] hub 2-0:1.0: 1 port detected
[    2.204430] i2c /dev entries driver
[    2.208454] mtk-thermal 1100b000.thermal: Device not calibrated, using default calibration values
[    2.218201] mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    2.226452] cpu cpu0: dummy supplies not allowed for exclusive requests
[    2.234652] sdhci: Secure Digital Host Controller Interface driver
[    2.240877] sdhci: Copyright(c) Pierre Ossman
[    2.246868] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 111 (MSDC0_DAT7) as part of deactivating group MSDC0_DAT7 - it is already used for some other setting
[    2.262207] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 112 (MSDC0_DAT6) as part of deactivating group MSDC0_DAT6 - it is already used for some other setting
[    2.277670] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 113 (MSDC0_DAT5) as part of deactivating group MSDC0_DAT5 - it is already used for some other setting
[    2.292979] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 114 (MSDC0_DAT4) as part of deactivating group MSDC0_DAT4 - it is already used for some other setting
[    2.308276] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 118 (MSDC0_DAT3) as part of deactivating group MSDC0_DAT3 - it is already used for some other setting
[    2.323706] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 119 (MSDC0_DAT2) as part of deactivating group MSDC0_DAT2 - it is already used for some other setting
[    2.339011] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 120 (MSDC0_DAT1) as part of deactivating group MSDC0_DAT1 - it is already used for some other setting
[    2.354306] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 121 (MSDC0_DAT0) as part of deactivating group MSDC0_DAT0 - it is already used for some other setting
[    2.369603] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 116 (MSDC0_CMD) as part of deactivating group MSDC0_CMD - it is already used for some other setting
[    2.384724] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 117 (MSDC0_CLK) as part of deactivating group MSDC0_CLK - it is already used for some other setting
[    2.399846] mediatek-mt2701-pinctrl 1000b000.pinctrl: not freeing pin 115 (MSDC0_RSTB) as part of deactivating group MSDC0_RSTB - it is already used for some other setting
[    2.440697] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.449281] NET: Registered protocol family 10
[    2.454679] Segment Routing with IPv6
[    2.458452] NET: Registered protocol family 17
[    2.463141] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.476389] 8021q: 802.1Q VLAN Support v1.8
[    2.480782] ThumbEE CPU extension supported.
[    2.485193] Registering SWP/SWPB emulation handler
[    2.515399] mtk-pcie 1a140000.pcie: host bridge /pcie@1a140000 ranges:
[    2.522026] mtk-pcie 1a140000.pcie:    IO 0x1a160000..0x1a16ffff -> 0x1a160000
[    2.529325] mtk-pcie 1a140000.pcie:   MEM 0x60000000..0x6fffffff -> 0x60000000
3199Base systemBug ReportVery LowLowOutbound SSH failure with dropbear from lantiq (BT HH5a...TrunkUnconfirmed Task Description

About 4 times out of 5 I cannot establish an outbound SSH connection with dropbear.

# ssh zeniv.linux.org.uk

ssh: Connection to root@zeniv.linux.org.uk:22 exited: Bad buf_getbyte

Precisely the same binary running on my wndr3800 works OK.

3175KernelBug ReportVery LowLowCannot add VLAN with DSA on RT-AC85PTrunkUnconfirmed Task Description

On my 19.07 Lantiq and ar71xx machines, where eth0.1 is the set of LAN ports, I can type “eth0.1.1” into the interface list for br-lan in luci and it actually sends 802.1Q packets with VLAN ID 1 on that network.

I have set up an Asus RT-AC85P with OpenWrt trunk, and can’t get it to send VLAN packets. When I add ‘wan.1’ or ‘lan.1’ to br-lan and restart the network, it appears to have no effect at all.

 3167 Base systemBug ReportVery LowLow umdns advertises link-local address instead of global a ...TrunkClosed Task Description

I run ‘ubus call umdns hosts’ and all my OpenWRT APs show up with their Legacy IP address and a link-local IPv6 address, but without their global IPv6 address.

This means that dawn, for example, only gets the link-local IPv6 address of the hosts in _dawn._tcp, but it can’t connect to that address since it doesn’t know which interface to use.

 3155 KernelBug ReportVery LowHigh Asus RT-AC85P missing incoming packets; switch misconfi ...TrunkClosed Task Description

I installed an Asus RT-AC85P with current master (2020-06-05 around commit 8c31afb978016ef71fa3bf0d4db583cf6970042b)

It is connected to the house network via its ‘wan’ port.

Wireless clients which have recently been associated with a different access point in the house cannot see DHCP responses.

A tcpdump on the ‘wan’ interface shows the request going out, but no reply.

This happens when the DHCP server is connected directly by a wire to the WAN port of the RT-AC85P, and when tcpdump
on the DHCP server says it *is* sending the reply. Putting the upstream switch back in the path as normal and using port mirroring confirms that the DHCP server isn’t lying (it’s a BT Home Hub 5a with its own internal switch which I briefly suspected of being involved).

Using tcpdump on the ‘eth0’ interface of the RT-AC85P seems to show that the DHCP reply isn’t being seen there either. Although those packets are hard to deal with as they aren’t proper 802.1Q.

I plugged a USB Ethernet device into the RT-AC85P and connected it to the house network through that instead. Now it sees the DHCP replies and roaming wireless clients work fine.

Clients which haven’t recently roamed from an AP elsewhere on the house network are fine. It seems like the internal switch of the RT-AC85P is learning that they are on the *wired* network, and not delivering their packets to the CPU?

When a wireless client associates and attempts DHCP, tcpdump on the ‘wan’ interface shows the

Supply the following if possible:
- Device problem occurs on
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce

 


 211 KernelBug ReportVery LowHigh TP-Link WD8970 Ethernet switch cannot receive TrunkClosed Task Description

I was running OpenWRT, then upgraded to LEDE with a snapshot on 2016-10-06, with the following config:

config interface 'lan'
	option type 'bridge'
	option ifname 'eth0.1'
	option _orig_ifname 'eth0.1 wlan0'
	option _orig_bridge 'true'
	option proto 'dhcp'
	option hostname 'td8970'

config switch
	option name 'switch0'
	option reset '1'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option ports '0 2 4 5 6t'
	option vid '1'

I’ve no idea where the switch config came from, but it was working.

I built my own trunk image today, and it no longer works. There is... strangeness with the VLAN header on RX, and nothing is ever recognised. TX is fine.

This is what happens on the wire:

11:40:03.629245 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from e8:94:f6:ed:e1:f4, length 300
	0x0000:  ffff ffff ffff e894 f6ed e1f4 0800 4500  ..............E.
	0x0010:  0148 0000 0000 4011 79a6 0000 0000 ffff  .H....@.y.......
	0x0020:  ffff 0044 0043 0134 9f8a 0101 0600 6a45  ...D.C.4......jE
	...c
	0x0130:  7020 312e 3235 2e30 0c06 7464 3839 3730  p.1.25.0..td8970
	0x0140:  ff00 0000 0000 0000 0000 0000 0000 0000  ................
	0x0150:  0000 0000 0000                           ......
11:40:03.630049 IP 90.155.92.193.67 > 90.155.92.252.68: BOOTP/DHCP, Reply, length 317
	0x0000:  e894 f6ed e1f4 000a fa22 0096 0800 4500  ........."....E.
	0x0010:  0159 c706 0000 4011 439a 5a9b 5cc1 5a9b  .Y....@.C.Z.\.Z.
	0x0020:  5cfc 0043 0044 0145 704a 0201 0600 6a45  \..C.D.EpJ....jE
	0x0030:  9773 274d 0000 0000 0000 5a9b 5cfc 5a9b  .s'M......Z.\.Z.
	0x0040:  5cc1 0000 0000 e894 f6ed e1f4 0000 0000  \...............
	0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0100:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0110:  0000 0000 0000 6382 5363 3501 0236 045a  ......c.Sc5..6.Z
	0x0120:  9b5c c133 0400 00a8 c03a 0400 0054 603b  .\.3.....:...T`;
	0x0130:  0400 0093 a801 04ff ffff c01c 045a 9b5c  .............Z.\
	0x0140:  ff03 045a 9b5c c10f 0d69 6e66 7261 6465  ...Z.\...infrade
	0x0150:  6164 2e6f 7267 0608 5a9b 5cd1 5a9b 5cc1  ad.org..Z.\.Z.\.
	0x0160:  2a04 5a9b 5cc1 ff                        *.Z.\..

This is what I get from tcpdump on the eth0 interface:

11:40:03.602400 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from e8:94:f6:ed:e1:f4, length 300
        0x0000:  ffff ffff ffff e894 f6ed e1f4 8100 0001  ................
        0x0010:  0800 4500 0148 0000 0000 4011 79a6 0000  ..E..H....@.y...
        0x0020:  0000 ffff ffff 0044 0043 0134 9f8a 0101  .......D.C.4....
        ...
        0x0130:  7564 6863 7020 312e 3235 2e30 0c06 7464  udhcp.1.25.0..td
        0x0140:  3839 3730 ff00 0000 0000 0000 0000 0000  8970............
        0x0150:  0000 0000 0000 0000 0000                 ..........
11:40:03.603441 IP truncated-ip - 44 bytes missing! 90.155.92.252 > 0.67.0.68: ip-proto-155
        0x0000:  e1f4 000a fa22 0096 8100 0001 0800 4500  ....."........E.
        0x0010:  0159 c706 439a 5a9b 5cc1 5a9b 5cfc 0043  .Y..C.Z.\.Z.\..C
        0x0020:  0044 0145 98c6 0201 0600 6a45 9773 274d  .D.E......jE.s'M
        0x0030:  0000 5a9b 5cfc 5a9b 5cc1 0000 0000 e894  ..Z.\.Z.\.......
        0x0040:  f6ed e1f4 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 5363 3501 0236 045a 9b5c c133  ....Sc5..6.Z.\.3
        0x0100:  0400 00a8 c03a 0400 0054 603b 0400 0093  .....:...T`;....
        0x0110:  ffff c01c 045a 9b5c ff03 045a 9b5c c10f  .....Z.\...Z.\..
        0x0120:  0d69 6e66 7261 6465 6164 2e6f 5a9b 5cd1  .infradead.oZ.\.
        0x0130:  5a9b 5cc1 2a04 5a9b 5cc1 ff              Z.\.*.Z.\..
 210 KernelFeature RequestVery LowLow ltq-RFC4638 PPPoE MTU support TrunkClosed Task Description

I have a TP-Link TDW8970, used with VDSL.

It seems to limit me to a PPP MTU of 1492. I need to increase the MTU on the ptm0 device to 1508 AIUI but it won’t let me. Could it be as simple as providing our own ptm_change_mtu() will will tolerate a larger MTU, instead of using eth_change_mtu()?

Showing tasks 1 - 7 of 7 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing