OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

Problems to be reported here are for the OpenWrt/LEDE Project targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt/LEDE Project website. Problems related to LuCI or OpenWrt packages need to be reported in their repositories:

Notifications of all submissions and task changes are sent to lede-bugs@infradead.org.

OpenedIDCategoryTask TypePrioritySeverity  descSummaryReported InStatus
08.01.20202718Base systemBug ReportVery LowCritical/overlay is empty and nothing can be written thereTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Only on TPLink Archer C7 v5 (current model).
Other models are OK: A7 (”V5”) (also current), C7 V2, C7 V4 (both earlier)

- Software versions of OpenWrt/LEDE release, packages, etc.

Only Trunk has this problem, and only on C7 v5. rc19.07 does *not* have this problem.

- Steps to reproduce

make menuconfig for target C7 V5
load squashfs-factory version in a C7 V5
boot

...and presto, there’s nothing in /overlay. /rom/overlay is populated. I have found no way to write anything on /overlay. Luci can’t save anything either – not even a password.

There’s nothing weird in my make menuconfig config, unless you count python3-light, bind-dig, ca-certificates, etc. as weird. And the other C7 and C7-like models work fine.

 


05.02.20202812Base systemBug ReportVery LowCriticalXiaomi router 3g Openwrt V19 problem. Upload very low. openwrt-19.07Unconfirmed Task Description

Hello, I have xiaomi router 3g, I installed OpenWrt v18 and everything perfect, perfect speed, perfect management (although improvable) etc ...
The problem comes when upgrading to v19.07 and v19.07.1, the router’s upload speed low by half (wired 600mbs v18) v19 300mbs upload speed .... it looks like a bug and it happens to many people , is there any solution to this? Is it possible to improve the router driver and improve the upload and full management of v19? thanks.

13.02.20202832Base systemBug ReportVery LowCriticalD-link DIR-885L firmware doesn't match due to regional ...openwrt-19.07Unconfirmed Task Description

According to the hardware support list, D-link DIR-885L HW A1 is supported, therefore, I have acquired one in China, it clearly stated the HW revision is A1 but its WIFI is not supported with the original firmware 19.07.1

after I flashed the firmware in discovery mode , the wireless tab is not shown in the system. Checked wifi configuration and the file was empty. I found there’s another driver for A2 hardware in the product page, I downloaded it, put it in the designated directory, restarted the router and my wifi appears.

but the driver doesn’t work well. The 2.4g (radio0) can not be started most of the time, some time I alter the configuration of radio0 might bring it up, but even I’ve managed to find the SSID, I can’t connect it. always prompt wrong password.

the 5g (radio1) is better. if I fix the channel, restart the router every time I change the configuration (even change password), it usually make the router works.

I think the Device sold in China is different from other area, the default firmware (which supports A1) doesn’t support Chinese A1 hardware, the A2 firmware driver (BCM4366c) supports the Chinese A1 hardware but doesn’t work well since the driver was dated 2017.

with this BCM4366C driver provided in A2 firmware, I can only have 5G fix Channel WPA2 security wifi service, it’s usable, but all other function are not working, not even one.

I opened the router, tried to provide the chip information but the chips are covered by metal jacket and fixed to the mother board. I have manufacture’s original latest firmware, I think the proper driver may be extracted from it but I’m not capable to do it. I can provide the file as requested. Can’t post here, the file is too big.


26.02.20202863KernelBug ReportVery LowCriticalNo wireless - ath9k: probe of ar934x_wmac failed with e...TrunkUnconfirmed Task Description

TP-Link TL-WDR4300 v1
Atheros AR9344 rev 2
OpenWrt SNAPSHOT r12324-35890514bb

After firmware update the wireless interface stop working and system log display this errors:

[  775.566457] ath: phy2: Unable to initialize hardware; initialization status: -5
[  775.573947] ath9k ar934x_wmac: failed to initialize device
[  775.579593] ath9k: probe of ar934x_wmac failed with error -5
[  775.585511] pci 0000:00:00.0: using irq 40 for pin 1
[  775.594310] ath: phy3: Unable to initialize hardware; initialization status: -5
[  775.601780] ath9k 0000:00:00.0: Failed to initialize device
[  775.607518] ath9k: probe of 0000:00:00.0 failed with error -5

After removing the modules with:

rmmod ath9k
rmmod ath9k_common
rmmod ath9k_hw

And trying to load them back with:

insmod ath9k_common
insmod ath9k_hw
insmod ath9k

This messages show up:

[  837.091531] ath9k: ath9k: Driver unloaded
[  843.290249] ath9k: Unknown symbol ath9k_hw_stop_dma_queue (err 0)
[  843.296516] ath9k: Unknown symbol ath9k_hw_set_txpowerlimit (err 0)
[  843.303090] ath9k: Unknown symbol ath9k_hw_reset_calvalid (err 0)
[  843.309396] ath9k: Unknown symbol ath9k_hw_intrpend (err 0)
[  843.315144] ath9k: Unknown symbol ath9k_cmn_debug_modal_eeprom (err 0)
[  843.321888] ath9k: Unknown symbol ath9k_hw_enable_interrupts (err 0)
[  843.328450] ath9k: Unknown symbol ar9003_hw_bb_watchdog_check (err 0)
[  843.335112] ath9k: Unknown symbol ath9k_cmn_rx_accept (err 0)
[  843.341067] ath9k: Unknown symbol ath9k_hw_reset (err 0)
[  843.346548] ath9k: Unknown symbol ath9k_hw_abort_tx_dma (err 0)
[  843.352673] ath9k: Unknown symbol ath9k_hw_setuptxqueue (err 0)
[  843.358798] ath9k: Unknown symbol ath9k_hw_setuprxdesc (err 0)
[  843.364792] ath9k: Unknown symbol ath9k_hw_startpcureceive (err 0)
[  843.371183] ath9k: Unknown symbol ar9003_paprd_init_table (err 0)
[  843.377475] ath9k: Unknown symbol ath9k_hw_gpio_request_out (err 0)
[  843.383905] ath9k: Unknown symbol ath9k_hw_putrxbuf (err 0)
[  843.389669] ath9k: Unknown symbol ath9k_hw_check_nav (err 0)
[  843.395508] ath9k: Unknown symbol ath9k_hw_setmcastfilter (err 0)
[  843.401901] ath9k: Unknown symbol ath9k_hw_setpower (err 0)
[  843.407683] ath9k: Unknown symbol ath9k_hw_phy_disable (err 0)
[  843.413677] ath9k: Unknown symbol ath9k_cmn_rx_skb_postprocess (err 0)
[  843.420411] ath9k: Unknown symbol ath_dynack_sample_ack_ts (err 0)
[  843.426782] ath9k: Unknown symbol ath9k_cmn_beacon_config_sta (err 0)
[  843.433408] ath9k: Unknown symbol ath9k_hw_check_alive (err 0)
[  843.439430] ath9k: Unknown symbol ath9k_hw_setrxabort (err 0)
[  843.445338] ath9k: Unknown symbol ath9k_hw_txstart (err 0)
[  843.451017] ath9k: Unknown symbol ath9k_hw_gpio_free (err 0)
[  843.456886] ath9k: Unknown symbol ar9003_get_pll_sqsum_dvc (err 0)
[  843.463255] ath9k: Unknown symbol ar9003_is_paprd_enabled (err 0)
[  843.469560] ath9k: Unknown symbol ath9k_hw_set_rx_bufsize (err 0)
[  843.475828] ath9k: Unknown symbol ath9k_hw_updatetxtriglevel (err 0)
[  843.482398] ath9k: Unknown symbol ath9k_hw_beaconinit (err 0)
[  843.488395] ath9k: Unknown symbol ath9k_hw_set_tx_filter (err 0)
[  843.494565] ath9k: Unknown symbol ath9k_hw_settsf64 (err 0)
[  843.500337] ath9k: Unknown symbol ath9k_hw_init_global_settings (err 0)
[  843.507156] ath9k: Unknown symbol ath9k_hw_abortpcurecv (err 0)
[  843.513239] ath9k: Unknown symbol ath9k_hw_update_diag (err 0)
[  843.519285] ath9k: Unknown symbol ath9k_hw_name (err 0)
[  843.524665] ath9k: Unknown symbol ath9k_hw_beaconq_setup (err 0)
[  843.530862] ath9k: Unknown symbol ath9k_cmn_debug_phy_err (err 0)
[  843.537187] ath9k: Unknown symbol ath9k_hw_puttxbuf (err 0)
[  843.542959] ath9k: Unknown symbol ath9k_hw_write_associd (err 0)
[  843.549176] ath9k: Unknown symbol ath_dynack_sample_tx_ts (err 0)
[  843.555487] ath9k: Unknown symbol ath_dynack_reset (err 0)
[  843.561162] ath9k: Unknown symbol ath9k_cmn_debug_recv (err 0)
[  843.567198] ath9k: Unknown symbol ath9k_hw_setup_statusring (err 0)
[  843.573689] ath9k: Unknown symbol ath9k_hw_addrxbuf_edma (err 0)
[  843.579902] ath9k: Unknown symbol ath9k_cmn_debug_base_eeprom (err 0)
[  843.586513] ath9k: Unknown symbol ath9k_cmn_process_rssi (err 0)
[  843.592717] ath9k: Unknown symbol ath9k_cmn_beacon_config_adhoc (err 0)
[  843.599543] ath9k: Unknown symbol ath9k_hw_ani_monitor (err 0)
[  843.605533] ath9k: Unknown symbol ath9k_hw_getrxfilter (err 0)
[  843.611577] ath9k: Unknown symbol ath9k_cmn_debug_stat_rx (err 0)
[  843.617868] ath9k: Unknown symbol ath_dynack_node_init (err 0)
[  843.623865] ath9k: Unknown symbol ath9k_cmn_beacon_config_ap (err 0)
[  843.630416] ath9k: Unknown symbol ath9k_hw_set_tsfadjust (err 0)
[  843.636591] ath9k: Unknown symbol ar9003_hw_bb_watchdog_dbg_info (err 0)
[  843.643492] ath9k: Unknown symbol ar9003_paprd_create_curve (err 0)
[  843.649957] ath9k: Unknown symbol ath9k_hw_gpio_request_in (err 0)
[  843.656303] ath9k: Unknown symbol ath9k_hw_set_sta_beacon_timers (err 0)
[  843.663272] ath9k: Unknown symbol ath9k_hw_gettsf64 (err 0)
[  843.669035] ath9k: Unknown symbol ath9k_hw_rxprocdesc (err 0)
[  843.674939] ath9k: Unknown symbol ath_gen_timer_isr (err 0)
[  843.680700] ath9k: Unknown symbol ath9k_hw_resettxqueue (err 0)
[  843.686831] ath9k: Unknown symbol ath9k_hw_setopmode (err 0)
[  843.692654] ath9k: Unknown symbol ar9003_paprd_populate_single_table (err 0)
[  843.699911] ath9k: Unknown symbol ath9k_hw_process_rxdesc_edma (err 0)
[  843.706654] ath9k: Unknown symbol ath_dynack_node_deinit (err 0)
[  843.712881] ath9k: Unknown symbol ath9k_cmn_init_channels_rates (err 0)
[  843.719713] ath9k: Unknown symbol ath9k_hw_kill_interrupts (err 0)
[  843.726071] ath9k: Unknown symbol ath9k_cmn_reload_chainmask (err 0)
[  843.732658] ath9k: Unknown symbol ath9k_hw_reset_tsf (err 0)
[  843.738508] ath9k: Unknown symbol ath9k_hw_get_txq_props (err 0)
[  843.744679] ath9k: Unknown symbol ath9k_hw_releasetxqueue (err 0)
[  843.750966] ath9k: Unknown symbol ath9k_hw_setrxfilter (err 0)
[  843.757063] ath9k: Unknown symbol ath9k_hw_loadnf (err 0)
[  843.762627] ath9k: Unknown symbol ath9k_hw_gettxbuf (err 0)
[  843.768411] ath9k: Unknown symbol ath9k_hw_gpio_get (err 0)
[  843.774176] ath9k: Unknown symbol ath9k_hw_bstuck_nfcal (err 0)
[  843.780320] ath9k: Unknown symbol ath9k_hw_disable_interrupts (err 0)
[  843.786961] ath9k: Unknown symbol ath9k_cmn_update_txpow (err 0)
[  843.793132] ath9k: Unknown symbol ath9k_hw_computetxtime (err 0)
[  843.799339] ath9k: Unknown symbol ath9k_hw_getchan_noise (err 0)
[  843.805506] ath9k: Unknown symbol ar9003_paprd_enable (err 0)
[  843.811483] ath9k: Unknown symbol ath9k_hw_stopdmarecv (err 0)
[  843.817515] ath9k: Unknown symbol ath9k_cmn_get_hw_crypto_keytype (err 0)
[  843.824477] ath9k: Unknown symbol ath9k_hw_set_interrupts (err 0)
[  843.830764] ath9k: Unknown symbol ath9k_hw_wait (err 0)
[  843.836148] ath9k: Unknown symbol ar9003_paprd_setup_gain_table (err 0)
[  843.842963] ath9k: Unknown symbol ath9k_hw_numtxpending (err 0)
[  843.849079] ath9k: Unknown symbol ath9k_hw_get_tsf_offset (err 0)
[  843.855363] ath9k: Unknown symbol ath9k_cmn_process_rate (err 0)
[  843.861582] ath9k: Unknown symbol ath9k_cmn_init_crypto (err 0)
[  843.867699] ath9k: Unknown symbol ath9k_hw_set_gpio (err 0)
[  843.873444] ath9k: Unknown symbol ath9k_hw_setantenna (err 0)
[  843.879472] ath9k: Unknown symbol ath9k_hw_resume_interrupts (err 0)
[  843.885998] ath9k: Unknown symbol ath9k_hw_deinit (err 0)
[  843.891585] ath9k: Unknown symbol ath9k_cmn_get_channel (err 0)
[  843.897714] ath9k: Unknown symbol ath9k_hw_init (err 0)
[  843.903104] ath9k: Unknown symbol ath9k_hw_set_txq_props (err 0)
[  843.909307] ath9k: Unknown symbol ar9003_paprd_is_done (err 0)
[  864.457183] ath: phy4: Unable to initialize hardware; initialization status: -5
[  864.464617] ath9k ar934x_wmac: failed to initialize device
[  864.470266] ath9k: probe of ar934x_wmac failed with error -5
[  864.476180] pci 0000:00:00.0: using irq 40 for pin 1
[  864.484980] ath: phy5: Unable to initialize hardware; initialization status: -5
[  864.492449] ath9k 0000:00:00.0: Failed to initialize device
[  864.498181] ath9k: probe of 0000:00:00.0 failed with error -5
28.02.20202868PackagesBug ReportVery LowCriticalCLAT/464XLAT stopped working in 19.07.1openwrt-19.07Unconfirmed Task Description

I was using CLAT in an Archer C7 v5 for some testing. Everything worked fine.

I decided then to upgrade to 19.07.1 and everything works fine from the backup that I did from the config, but not the CLAT (464XLAT).

I decided to reflash the unit from scratch and configure everything manually. Same problem, CLAT is not working. I tried even setting the tunnel link to the WAN interface manually in the CLAT interface (advanced settings), instead of the default “unspecified”, played with the firewall settings as well, etc. Nothing resulted.

By the way, even in 18.06.7, which I’m using right now with the CLAT, the CLAT interface doesn’t report any RX/TX or packets. In the same router I’ve installed Collectd and I can see there the traffic being graphed correctly.

So I’m guessing there is some bug there. I’m going to report it as a bug, but just in case someone discovered an easy solution.

I’ve observed that at some point, across numerous tests, a Virtual dynamic interface 464XLAT was created, but it doesn’t allow to edit it, so not sure if this is related. I believe this interface is only created when I’m using PPPoE for the WAN link (I’ve tested 2 scenarios, PPPoE done in the OpenWRT box and PPPoE done in the GPON ONT).

01.03.20202871KernelBug ReportVery LowCriticalBuffalo WHR-600D fails to initialise RT5592.TrunkUnconfirmed Task Description

This *might* be the same bug as  bug 691  (https://bugs.openwrt.org/index.php?do=details&task_id=691), or at least related.

Rooting around in the junk box I found a dismantled and bricked WHR-600D, not sure why or how it got into that state but I would have been tinkering with it in the Chaos Calmer era so possibly could not get it working at the time.

However I decided it would be a useful upgrade to a WHR-HP-G300N that I have covering a corner of the house - especially as that only has 4MB flash/32MB ram so is not really suitable for modern versions of OpenWRT

But... no dice

I successfully got half a serial console (I think the 600D’s rx pin is hosed) and got an initramfs image booted and flashed 19.07.1 - subsequent to that I compiled trunk from source but the behaviour is the same.

The RT5592 is not initialized - it is not “mis-detected” as a 2.4GHz only interface (although the unused MT7620A WiFi interface *is* detected as phy1).

Boot shows:

[ 8.984703] rt2800pci 0000:01:00.0: loaded eeprom from mtd device “factory” [ 8.998658] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[ 9.014109] ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0×0000 detected
[ 9.030585] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device

then - for phy1

[ 9.050320] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device “factory” [ 9.064801] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 9.080250] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 9.094676] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’

iw list only gives phy1 although I think that is unused/unconnected on this router (AFAICS the two antenna connect only into the RT5592) - I can’t try the images that Mathias Kresin posted in the previous bug report as the links are now dead but I see that the two commits that were made to the WHR-600D and RP-N53 dts files don’t seem to have been accidentally reverted.

Also tried 18.06.7 but that just crashes with:
[ 10.951562] rt2800pci 0000:01:00.0: loaded eeprom from mtd device “factory” [ 10.965533] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[ 10.980983] ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0×0000 detected
[ 10.997460] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device
[ 11.012574] ————[ cut here ]———— [ 11.021787] WARNING: CPU: 0 PID: 426 at mm/vmalloc.c:1466 0x801b2480()
[ 11.034795] Trying to vfree() nonexistent vm area (8317e000)

Not sure where to take this but happy to supply extra info or try patches if anyone has any ideas.

 


26.03.20202935Base systemBuild FailureVery LowCriticalx86/geode: cycling reboot with openwrt-x86-geode-gener...TrunkAssigned Task Description

Device problem occurs on booting

[    2.744573] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0x803646e3)
[    2.752130] F2FS-fs (sda2): Can't find valid F2FS filesystem in 1th superblock
[    2.762100] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0xd083295c)
[    2.769648] F2FS-fs (sda2): Can't find valid F2FS filesystem in 2th superblock
[    2.777149] List of all partitions:
[    2.780684] 0800           64000 sda
[    2.780689]  driver: sd
[    2.786951]   0801            8192 sda1 d50cf6e8-01
[    2.786955]
[    2.793377]   0802           55296 sda2 d50cf6e8-02
[    2.793380]
[    2.799893] No filesystem could mount root, tried:
[    2.799896]  ext3
[    2.804794]  ext2
[    2.806834]  ext4
[    2.808783]  squashfs
[    2.810733]  f2fs
[    2.813031]
[    2.816579] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-                                                                                                                  block(8,2)
[    2.824874] Kernel Offset: disabled
[    2.828394] Rebooting in 1 seconds..

Software versions of OpenWrt/LEDE release, packages, etc.
nightbuild image @2020-03-26 r12712-556b858

Steps to reproduce
After syncronizing source code with master branch we get fail with x86-*squashfs-combined images.
Size of openwrt-x86-geode-generic-squashfs-combined.img and openwrt-x86-geode-geos-squashfs-combined.img images isn’t
correct (less than expected).
Device never boot with them.

08.04.20202979Base systemBug ReportVery LowCriticalBanana Pi R64 can not upgrade on sysupgrade imageTrunkUnconfirmed Task Description

When I am try update initramfs image to sysupgrade. After command sysupgrade I am get error: Sysupgrade is not supported on your board yet.
Device: Banana PI R64
Build: Development Snapshot from Wed Apr 8 02:31:30 2020


08.04.20202981Base systemBug ReportVery LowCriticalno switch0 device on Xiaomi Mi Router 3G (and V2)TrunkUnconfirmed Task Description

Apparently since kernel 5.4, the switch0 is not working correctly anymore. With a plain network config, ethernet ports are available. When using VLAN, the ports don’t work anymore; even the LEDs are off.
Luci → Network: no switch option available

root@test:/# swconfig list
root@test:/#


Devices: Xioami Mi Router 3G and Xiaomi Mi Router 3G V2
Tested with both devices. Tested with plain git checkout and my own build environment (master). Always the same behaviour...

boot log:

<## Booting image at bc180000 ...
   Image Name:   MIPS dl3it-mi3g Linux-5.4.28
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2102189 Bytes =  2 MB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Erasing SPI Flash...
raspi_erase: offs:30000 len:10000
.
Writing to SPI Flash...
.
done
commandline uart_en=0 factory_mode=0 mem=128m root=/dev/mtdblock9
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

[    0.000000] Linux version 5.4.28 (dl3it-mi3g@mySpace) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r12868-c948a4782b)) #0 SMP Wed Apr 8 13:05:51 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Xiaomi Mi Router 3G v2
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26480 r8192 d22672 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=000400d0
[    0.000000] Readback ErrCtl register=000400d0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 122004K/131072K available (5291K kernel code, 173K rwdata, 688K rodata, 1260K init, 224K bss, 9068K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from 0x80605a08 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007802] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.042004] pid_max: default: 32768 minimum: 301
[    0.046743] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.053968] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063838] rcu: Hierarchical SRCU implementation.
[    0.069180] smp: Bringing up secondary CPUs ...
[    0.075309] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.075319] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.075331] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.075432] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.101936] Synchronize counters for CPU 1: done.
[    0.142926] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.142934] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.142942] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.143000] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.166600] Synchronize counters for CPU 2: done.
[    0.197977] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.197985] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.197994] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.198055] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.224458] Synchronize counters for CPU 3: done.
[    0.254333] smp: Brought up 1 node, 4 CPUs
[    0.262078] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.271788] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.278766] pinctrl core: initialized pinctrl subsystem
[    0.285406] NET: Registered protocol family 16
[    0.310358] random: fast init done
[    0.318567] clocksource: Switched to clocksource GIC
[    0.325345] NET: Registered protocol family 2
[    0.330315] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.338626] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.346200] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.353202] TCP: Hash tables configured (established 1024 bind 1024)
[    0.359629] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.366103] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.373226] NET: Registered protocol family 1
[    0.377532] PCI: CLS 0 bytes, default 32
[    0.470541] 4 CPUs re-calibrate udelay(lpj = 1163264)
[    0.477001] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.492348] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.498111] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.510897] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.516745] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.522559] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.528863] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.536441] printk: console [ttyS0] disabled
[    0.540734] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.549720] printk: console [ttyS0] enabled
[    0.549720] printk: console [ttyS0] enabled
[    0.557980] printk: bootconsole [early0] disabled
[    0.557980] printk: bootconsole [early0] disabled
[    0.569760] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.577944] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    0.582936] 8 fixed-partitions partitions found on MTD device spi0.0
[    0.589281] Creating 8 MTD partitions on "spi0.0":
[    0.594079] 0x000000000000-0x000000030000 : "u-boot"
[    0.600206] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.606677] 0x000000040000-0x000000050000 : "Bdata"
[    0.612654] 0x000000050000-0x000000060000 : "factory"
[    0.618871] 0x000000060000-0x000000070000 : "crash"
[    0.624841] 0x000000070000-0x000000080000 : "cfg_bak"
[    0.631048] 0x000000080000-0x000000180000 : "overlay"
[    0.637248] 0x000000180000-0x000001000000 : "firmware"
[    0.643805] 2 uimage-fw partitions found on MTD device firmware
[    0.649771] Creating 2 MTD partitions on "firmware":
[    0.654751] 0x000000000000-0x0000002013ed : "kernel"
[    0.660846] 0x0000002013ed-0x000000e80000 : "rootfs"
[    0.666945] mtd: device 9 (rootfs) set to be root filesystem
[    0.672703] 1 squashfs-split partitions found on MTD device rootfs
[    0.678890] 0x0000009c0000-0x000000e80000 : "rootfs_data"
[    0.686092] libphy: Fixed MDIO Bus: probed
[    0.716870] libphy: mdio: probed
[    0.720379] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.727570] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    0.738011] mt7621-pci 1e140000.pcie: Parsing DT failed
[    0.745444] NET: Registered protocol family 10
[    0.751473] Segment Routing with IPv6
[    0.755297] NET: Registered protocol family 17
[    0.760014] 8021q: 802.1Q VLAN Support v1.8
[    0.765966] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.374877] libphy: dsa slave smi: probed
[    1.438599] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    1.458608] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    1.478606] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    1.534553] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.150548] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    2.226584] DSA: tree 0 setup
[    2.229877] rt2880-pinmux pinctrl: pcie is already enabled
[    2.235383] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    2.243000] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.250551] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.357677] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.363264] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.468514] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    2.475474] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.480348] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    2.485228] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.494703] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.501072] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.507943] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.514813] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.520334] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.526365] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.532635] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    2.538968] pci 0000:00:00.0: supports D1
[    2.542981] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.549116] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.555169] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.561435] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    2.567758] pci 0000:00:01.0: supports D1
[    2.571771] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.579056] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    2.585128] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.591952] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.598749] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.606100] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.611344] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.617432] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.624216] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.631434] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.638265] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    2.644325] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    2.650726] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.658077] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    2.663322] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    2.669410] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.676194] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.683420] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.690083] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.696693] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.703651] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.710254] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.717213] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.723998] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.731215] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.737997] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    2.745215] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    2.752006] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    2.758795] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    2.765577] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    2.772372] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.779687] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.786903] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.791867] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.798649] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.805429] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.812657] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    2.819442] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.824405] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.831188] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.837966] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.845884] hctosys: unable to open rtc device (rtc0)
[    2.854774] VFS: Mounted root (squashfs filesystem) readonly on device 31:9.
[    2.865727] Freeing unused kernel memory: 1260K
[    2.870309] This architecture does not have kernel memory protection.
[    2.876743] Run /sbin/init as init process
[    3.287646] init: Console is alive
[    3.291282] init: - watchdog -
[    4.502146] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.642663] usbcore: registered new interface driver usbfs
[    4.648277] usbcore: registered new interface driver hub
[    4.653761] usbcore: registered new device driver usb
[    4.687605] SCSI subsystem initialized
[    4.700291] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    4.709018] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    4.717973] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.723320] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.738712] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    4.747932] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    4.754929] hub 1-0:1.0: USB hub found
[    4.758772] hub 1-0:1.0: 2 ports detected
[    4.763366] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.768728] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.776220] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    4.782759] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.791649] hub 2-0:1.0: USB hub found
[    4.795501] hub 2-0:1.0: 1 port detected
[    4.806463] usbcore: registered new interface driver usb-storage
[    4.812799] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.830880] init: - preinit -
[    5.556493] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    5.564803] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.573306] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.758344] random: jshn: uninitialized urandom read (4 bytes read)
[    5.857508] random: jshn: uninitialized urandom read (4 bytes read)
[    5.892574] random: jshn: uninitialized urandom read (4 bytes read)
[    6.182562] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.214670] 8021q: adding VLAN 0 to HW filter on device lan1
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   10.454588] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   10.461993] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   10.497376] jffs2: notice: (593) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (10 unchecked, 2 orphan) and 14 of xref (2 dead, 0 orphan) found.
[   10.514983] mount_root: switching to jffs2 overlay
[   10.541029] overlayfs: upper fs does not support tmpfile.
[   10.553353] urandom-seed: Seeding with /etc/urandom.seed
[   10.710556] mt7530 mdio-bus:1f lan1: Link is Down
[   10.794276] procd: - early -
[   10.797283] procd: - watchdog -
[   11.390731] procd: - watchdog -
[   11.394174] procd: - ubus -
[   11.495821] urandom_read: 5 callbacks suppressed
[   11.495833] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.508640] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.516312] procd: - init -
Please press Enter to activate this console.
[   11.847029] random: crng init done
[   12.196458] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.277843] Key type dns_resolver registered
[   12.294374] RPC: Registered named UNIX socket transport module.
[   12.300415] RPC: Registered udp transport module.
[   12.305113] RPC: Registered tcp transport module.
[   12.309806] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   12.326652] tun: Universal TUN/TAP device driver, 1.6
[   12.343512] urngd: v1.0.2 started.
[   12.353986] NFS: Registering the id_resolver key type
[   12.359125] Key type id_resolver registered
[   12.363309] Key type id_legacy registered
[   12.409615] Loading modules backported from Linux version v5.4.27-0-g585e0cc08069
[   12.417142] Backport generated by backports.git v5.4.27-1-0-gf6e8852f
[   12.436131] wireguard: WireGuard 1.0.20200401 loaded. See www.wireguard.com for information.
[   12.444603] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   12.461355] xt_time: kernel timezone is -0000
[   12.526918] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   12.532626] mt7603e 0000:02:00.0: enabling device (0000 -> 0002)
[   12.538852] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   13.163810] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   13.169406] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   13.198554] mt7603e 0000:02:00.0: firmware init done
[   13.396912] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   13.402664] mt76x2e 0000:01:00.0: enabling device (0000 -> 0002)
[   13.408975] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   13.890858] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   13.905566] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   13.911181] mt76x2e 0000:01:00.0: Build: 1
[   13.915314] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   13.938667] mt76x2e 0000:01:00.0: Firmware running!
[   13.975037] kmodloader: done loading kernel modules from /etc/modules.d/*
[   19.857666] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   20.437833] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   20.448515] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.457303] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   20.470323] br-gast: port 1(eth0.119) entered blocking state
[   20.476130] br-gast: port 1(eth0.119) entered disabled state
[   20.482797] device eth0.119 entered promiscuous mode
[   20.487821] device eth0 entered promiscuous mode
[   20.496672] br-gast: port 1(eth0.119) entered blocking state
[   20.502388] br-gast: port 1(eth0.119) entered forwarding state
[   20.610001] br-iot: port 1(eth0.120) entered blocking state
[   20.615694] br-iot: port 1(eth0.120) entered disabled state
[   20.621937] device eth0.120 entered promiscuous mode
[   20.631403] br-iot: port 1(eth0.120) entered blocking state
[   20.637077] br-iot: port 1(eth0.120) entered forwarding state
[   20.756696] br-lan: port 1(eth0.117) entered blocking state
[   20.762433] br-lan: port 1(eth0.117) entered disabled state
[   20.769851] device eth0.117 entered promiscuous mode
[   20.780577] br-lan: port 1(eth0.117) entered blocking state
[   20.786261] br-lan: port 1(eth0.117) entered forwarding state
[   20.903708] br-media: port 1(eth0.118) entered blocking state
[   20.909789] br-media: port 1(eth0.118) entered disabled state
[   20.916212] device eth0.118 entered promiscuous mode
[   20.924455] br-media: port 1(eth0.118) entered blocking state
[   20.930260] br-media: port 1(eth0.118) entered forwarding state
[   21.021138] br-rapw: port 1(eth0.128) entered blocking state
[   21.027159] br-rapw: port 1(eth0.128) entered disabled state
[   21.033622] device eth0.128 entered promiscuous mode
[   21.042842] br-rapw: port 1(eth0.128) entered blocking state
[   21.048592] br-rapw: port 1(eth0.128) entered forwarding state
[   24.551924] br-lan: port 2(wlan1) entered blocking state
[   24.557320] br-lan: port 2(wlan1) entered disabled state
[   24.563518] device wlan1 entered promiscuous mode
[   24.640154] br-lan: port 3(wlan0) entered blocking state
[   24.645515] br-lan: port 3(wlan0) entered disabled state
[   24.651714] device wlan0 entered promiscuous mode
[   24.657070] br-lan: port 3(wlan0) entered blocking state
[   24.662453] br-lan: port 3(wlan0) entered forwarding state
[   25.927299] br-lan: port 3(wlan0) entered disabled state
[   25.933474] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   25.940330] br-lan: port 2(wlan1) entered blocking state
[   25.945682] br-lan: port 2(wlan1) entered forwarding state
[   25.961147] br-gast: port 2(wlan1-1) entered blocking state
[   25.966815] br-gast: port 2(wlan1-1) entered disabled state
[   25.973281] device wlan1-1 entered promiscuous mode
[   25.980340] br-gast: port 2(wlan1-1) entered blocking state
[   25.986013] br-gast: port 2(wlan1-1) entered forwarding state
[   26.602100] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[   26.615326] br-iot: port 2(wlan1-2) entered blocking state
[   26.620895] br-iot: port 2(wlan1-2) entered disabled state
[   26.627238] device wlan1-2 entered promiscuous mode
[   26.633956] br-iot: port 2(wlan1-2) entered blocking state
[   26.639547] br-iot: port 2(wlan1-2) entered forwarding state
[   26.654413] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   26.661418] br-lan: port 3(wlan0) entered blocking state
[   26.666839] br-lan: port 3(wlan0) entered forwarding state
[   26.684260] br-gast: port 3(wlan0-1) entered blocking state
[   26.689898] br-gast: port 3(wlan0-1) entered disabled state
[   26.696257] device wlan0-1 entered promiscuous mode
[   26.703570] br-gast: port 3(wlan0-1) entered blocking state
[   26.709197] br-gast: port 3(wlan0-1) entered forwarding state
[   26.950979] br-iot: port 2(wlan1-2) entered disabled state
[   26.958856] br-gast: port 3(wlan0-1) entered disabled state
[   27.183822] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-2: link becomes ready
[   27.190950] br-iot: port 2(wlan1-2) entered blocking state
[   27.196513] br-iot: port 2(wlan1-2) entered forwarding state
[   27.287694] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[   27.294743] br-gast: port 3(wlan0-1) entered blocking state
[   27.300358] br-gast: port 3(wlan0-1) entered forwarding state
[   27.314616] br-iot: port 3(wlan0-2) entered blocking state
[   27.320314] br-iot: port 3(wlan0-2) entered disabled state
[   27.326962] device wlan0-2 entered promiscuous mode
[   27.333493] br-iot: port 3(wlan0-2) entered blocking state
[   27.339125] br-iot: port 3(wlan0-2) entered forwarding state
[   27.763549] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
[   27.777443] br-rapw: port 2(wlan0-3) entered blocking state
[   27.783263] br-rapw: port 2(wlan0-3) entered disabled state
[   27.789570] device wlan0-3 entered promiscuous mode
[   27.796480] br-rapw: port 2(wlan0-3) entered blocking state
[   27.802127] br-rapw: port 2(wlan0-3) entered forwarding state
[   27.954752] br-rapw: port 2(wlan0-3) entered disabled state
[   28.219373] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-3: link becomes ready
[   28.226593] br-rapw: port 2(wlan0-3) entered blocking state
[   28.232216] br-rapw: port 2(wlan0-3) entered forwarding state

kernel modules:

root@test:/# lsmod
cfg80211              258960  4 mt76x02_lib,mt7603e,mt76,mac80211
compat                   608  2 mac80211,cfg80211
crc_ccitt               1696  0
crc32c_generic          1376  0
dns_resolver            4272  1 nfsv4
ext4                  413584  0
fat                    58208  1 vfat
gpio_button_hotplug     6944  0
grace                   1328  1 lockd
ip_set                 25744 16 xt_set,ip_set_list_set,ip_set_hash_netportnet,ip_set_hash_netport,ip_set_hash_netnet,ip_set_hash_netiface,ip_set_hash_net,ip_set_hash_mac,ip_set_hash_ipportnet,ip_set_hash_ipportip,ip_set_hash_ipport,ip_set_hash_ipmark,ip_set_hash_ip,ip_set_bitmap_port,ip_set_bitmap_ipmac,ip_set_bitmap_ip
ip_set_bitmap_ip        6976  0
ip_set_bitmap_ipmac     7200  0
ip_set_bitmap_port      6176  0
ip_set_hash_ip         26176  0
ip_set_hash_ipmark     26400  0
ip_set_hash_ipport     26976  0
ip_set_hash_ipportip   28000  0
ip_set_hash_ipportnet   32576  0
ip_set_hash_mac        13632  0
ip_set_hash_net        29696  0
ip_set_hash_netiface   31264  0
ip_set_hash_netnet     32832  0
ip_set_hash_netport    31104  0
ip_set_hash_netportnet   33952  0
ip_set_list_set         7232  0
ip_tables              10848  3 iptable_nat,iptable_mangle,iptable_filter
ip6_tables             10624  2 ip6table_mangle,ip6table_filter
ip6_udp_tunnel          1760  1 wireguard
ip6t_REJECT             1248  2
ip6table_filter          704  1
ip6table_mangle         1184  1
ipt_REJECT              1184  2
iptable_filter           672  1
iptable_mangle           896  1
iptable_nat              768  1
jbd2                   56368  1 ext4
leds_gpio               3040  0
ledtrig_heartbeat       1520  0
ledtrig_usbport         2864  0
lockd                  55232  1 nfs
mac80211              496000  4 mt76x2e,mt76x02_lib,mt7603e,mt76
mbcache                 3952  1 ext4
mt76                   32096  4 mt76x2e,mt76x2_common,mt76x02_lib,mt7603e
mt7603e                38080  0
mt76x02_lib            39872  2 mt76x2e,mt76x2_common
mt76x2_common          11360  1 mt76x2e
mt76x2e                10080  0
nf_conntrack           71280  9 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQUERADE,nf_nat,nf_flow_table,nf_conntrack_rtcache,nf_conntrack_netlink
nf_conntrack_netlink   24112  0
nf_conntrack_rtcache    2400  0
nf_defrag_ipv4          1120  1 nf_conntrack
nf_defrag_ipv6          4976  1 nf_conntrack
nf_flow_table          14864  2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw        2416  1
nf_log_common           2624  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             3520  0
nf_log_ipv6             4192  0
nf_nat                 23056  4 iptable_nat,xt_nat,xt_REDIRECT,xt_MASQUERADE
nf_reject_ipv4          2112  1 ipt_REJECT
nf_reject_ipv6          2464  1 ip6t_REJECT
nfnetlink               4560  2 nf_conntrack_netlink,ip_set
nfs                   127680  1 nfsv4
nfsv4                 139152  0
nls_base                5424  6 vfat,fat,nls_utf8,nls_iso8859_1,nls_cp437,usbcore
nls_cp437               4416  0
nls_iso8859_1           2880  0
nls_utf8                 864  0
scsi_mod               86320  2 usb_storage,sd_mod
sd_mod                 29104  0
sunrpc                174064  3 nfsv4,nfs,lockd
swconfig                9680  0
tun                    32640  0
udp_tunnel              2560  1 wireguard
usb_common              2704  3 xhci_plat_hcd,xhci_hcd,usbcore
usb_storage            39888  0
usbcore               140176  6 ledtrig_usbport,usb_storage,xhci_plat_hcd,xhci_pci,xhci_mtk,xhci_hcd
vfat                   10016  0
wireguard              85792  0
x_tables               15472 24 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQUERADE,xt_FLOWOFFLOAD,ipt_REJECT,xt_time,xt_tcpudp,xt_multiport,xt_mark,xt_mac,xt_limit,xt_comment,xt_TCPMSS,xt_LOG,iptable_mangle,iptable_filter,ip_tables,xt_set,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xhci_hcd              113408  3 xhci_plat_hcd,xhci_pci,xhci_mtk
xhci_mtk                4800  0
xhci_pci                3424  0
xhci_plat_hcd           5600  0
xt_FLOWOFFLOAD          3152  0
xt_LOG                   768  0
xt_MASQUERADE            832  0
xt_REDIRECT              704  0
xt_TCPMSS               3168  2
xt_comment               512183
xt_conntrack            2432 24
xt_limit                1312  2
xt_mac                   640  0
xt_mark                  672  0
xt_multiport            1312  0
xt_nat                  2432  0
xt_set                  7328  0
xt_state                 832  0
xt_tcpudp               1824 18
xt_time                 1952  0
root@test:/#

Routers work fine with kernel 4.14.xxx

10.04.20202989Base systemBug ReportVery LowCriticalBoots but no connection can be made to routerTrunkUnconfirmed Task Description

Hardware: ZBT WG3526 16MB RAM
Image file: openwrt-ramips-mt7621-zbtlink_zbt-wg3526-16m-squashfs-sysupgrade.bin
Image Date Stamp: Snapshot Fri Apr 10 06:55:59 2020

Issue: Flashes without issues.

		Boots but no connection can be made to router using web browser I/F, WinSCP or PuTTY.
		Not responding to ping 192.168.1.1.
		All LAN and WAN ports LED's are flashing.
		No Internet connection (WAN)
12.04.20202996KernelBug ReportVery LowCriticalnanopi air cannot start in kernel 5.4.31TrunkUnconfirmed Task Description

device: nanopi air
steps:

1. "git check" to get the last trunk
2. "make menuconfig" select the device "nanopi air"
3. then "make" to get the rom and dd it into TF card
4. power on and you will see stop at "Starting kernel ..."

here is my system log:

U-Boot SPL 2020.01 (Apr 09 2020 - 20:09:21 +0000)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2020.01 (Apr 09 2020 - 20:09:21 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  512 MiB
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface0

Error: ethernet@1c30000 address not set.
No ethernet found.

starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1d000: USB EHCI 1.00
Bus usb@1c1d400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1d000 for devices... 1 USB Device(s) found
scanning bus usb@1c1d400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
377 bytes read in 2 ms (183.6 KiB/s)
## Executing script at 43100000
3078032 bytes read in 142 ms (20.7 MiB/s)
19497 bytes read in 3 ms (6.2 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.31
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3077968 Bytes = 2.9 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
   Loading Kernel Image
   Using Device Tree in place at 43000000, end 43007c28

Starting kernel ...
02.05.20203060Base systemBug ReportVery LowCriticalFlashing current trunk on NBG6616 results in bootloopTrunkUnconfirmed Task Description

Installing current trunk esults in bootloop.
First I tried to install it over stock firmware with recovery/tftp but it was stuck in bootloop.
Then I reinstalled 19.07.02 via recovery/tftp - which worked fine.
After that, I tried to install trunk via recovery/tftp, but it also gave bootloop.

The symptoms looks like the ones mentioned below. The problem was fixed, and maybee the same solution is missing in trunk

 FS#168  - Firmware dont boot up on Zyxel NBG6616
 FS#1724  - 18.06.0 release not working on ZyXEL NBG6616 (ar71xx)
https://forum.openwrt.org/t/nbg6616-wan-device-snapshot-bootloop/53944 https://forum.openwrt.org/t/zyxel-nbg6616-bootloop-in-18-0-6-and-18-0-6-1/19355

06.05.20203067PackagesBug ReportVery LowCriticaldownload board.bin failureopenwrt-19.07Unconfirmed Task Description

make[3]: Entering directory ‘/home/leo/openwrt/package/firmware/ath10k-ct-firmware’ mkdir -p /home/leo/openwrt/dl
SHELL= flock /home/leo/openwrt/tmp/.ath10k-firmware-d622d160e9f552ead68d9ae81b715422892dc2ef-qca9887-board.bin.flock -c ' /home/leo/openwrt/scripts/download.pl “/home/leo/openwrt/dl” “ath10k-firmware-d622d160e9f552ead68d9ae81b715422892dc2ef-qca9887-board.bin” “cf4df099f6ee05c181f55ce17297a1d32c61d725eb96246fd315ad5587c42426” “board.bin” “@GITHUB/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0” '
+ curl -f –connect-timeout 20 –retry 5 –location –insecure https://sources.cdn.openwrt.org/board.bin

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0

curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f –connect-timeout 20 –retry 5 –location –insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

Download failed.
+ curl -f –connect-timeout 20 –retry 5 –location –insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

Download failed.
+ curl -f –connect-timeout 20 –retry 5 –location –insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

Download failed.
+ curl -f –connect-timeout 20 –retry 5 –location –insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

Download failed.
+ curl -f –connect-timeout 20 –retry 5 –location –insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

Download failed.
+ curl -f –connect-timeout 20 –retry 5 –location –insecure https://sources.openwrt.org/board.bin

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f –connect-timeout 20 –retry 5 –location –insecure https://mirror2.openwrt.org/sources/board.bin

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

curl: (22) The requested URL returned error: 404 Not Found
Download failed.

10.05.20203087Base systemBug ReportVery LowCriticalr13208-426fb8cf84 from downloads.openwrt.org does not b...TrunkUnconfirmed Task Description

Device problem occurs on

Software versions of OpenWrt/LEDE release, packages, etc.

Steps to reproduce

  1. download given image
  2. flash it via TFTP to routers flash
  3. get attached output

caviat

  • I only have this one WhiteBox8 so I can not test if this is an hardware issue. Can somebody else please test it?
15.05.20203099KernelBug ReportVery LowCriticalTP-Link C2600 Kernel 5.4 crashes while accessing invali...TrunkUnconfirmed Task Description

Linux kernel experiences an oops from time to time
- Device: TP-Link Archer C2600
- Kernel Version: 5.4.40
- OpenWRT Version: OpenWrt SNAPSHOT, r13224+16-2308644b0c
- Steps to reproduce: Simply wait. After an unknown amount of time the kernels crashes leading to a reboot.

 


18.05.20203109Base systemBug ReportVery LowCriticalUBIFS failure/crash on BT HomeHub 2B: __nand_correct_da...openwrt-19.07Unconfirmed Task Description

Device: BT HomeHub Version 2B (Lantiq XWAY)

Software: 19.07.3 downloaded from:

https://downloads.openwrt.org/releases/19.07.3/targets/lantiq/xway/openwrt-19.07.3-lantiq-xway-bt_homehub-v2b-squashfs-sysupgrade.bin

After an hour or so of usage, the router reboots itself with a corrupted filesystem. I’ve attached the log to this bug report. The log contains:

__nand_correct_data: uncorrectable ECC error

so I think there might be a link with the similar problem that the BT HomeHub Version 5A had a long time ago, as per:

https://bugs.openwrt.org/index.php?do=details&task_id=245 (”Lede won’t boot on HHB5”)

and

http://openwrt.ebilan.co.uk/viewtopic.php?f=7&t=133#p1022 (post by Mathias Kresin / mkresin who fixed the problem with the Home Hub 5A)

This bug may also be related to:

https://bugs.openwrt.org/index.php?do=details&task_id=1842

(I think that this bug may affect every release since 18.06.0)

27.05.20203129Base systemBug ReportVery LowCriticalUQMI won’t connect with Private APNTrunkUnconfirmed Task Description

UQMI won’t connect with Private APN
Hey Folks,

I have a Problem with the QMI protocol.

I bought a private ip from my ISP and can’t connect with the private APN, only the dynamic IP APN works.

With ModemManager the connection to my Private APN works as expected, so no fault on ISP side.
With crosscompile Quectel-cm to OpenWRT, the connection with qmi protocol to my Private APN works as expected, so no fault on ISP side.

 


05.06.20203151Base systemBug ReportVery LowCriticalKimax U35WF overlay memoryTrunkUnconfirmed Task Description

Kimax Blueendless U35WF
Original Kimax firmware

install
openwrt-19.07.3-ramips-mt7620-kimax_u35wf-initramfs-kernel.bin
problems: IP configuration lost after power up
unable to install any package (overlay memory),
unable to generate backup firmware config archive (no contents).
No version 18.06 available for this model to downgrade.

Flash new firmware image
openwrt-19.07.3-ramips-mt7620-kimax_u35wf-squashfs-sysupgrade.bin
and ok

27.06.20203206Base systemBug ReportVery LowCriticalsysupgrade from 18.06.8 to 19.07.0..trunk results in a ...TrunkUnconfirmed Task Description

After a sysupgrade from 18.06.8 to 19.07.0, 19.07.3, or trunk as of 2020-06-28, the router is stuck in an UBI-related boot loop.

Boot log for trunk:

===================================================================
                MT7621   stage1 code 10:33:11 (ASIC)
                CPU=50000000 HZ BUS=16666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL2 FB_DL: 0xf, 1/0 = 634/390 3D000000
PLL4 FB_DL: 0x14, 1/0 = 514/510 51000000
PLL3 FB_DL: 0x1a, 1/0 = 703/321 69000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
W: g.applet.interface.uart: 3173 frame or parity errors detected
      --------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    1    1    1
000E:|    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1    1
000F:|    0    0    0    0    1    1    1    1    1    1    1    1    0    0    0    0
0010:|    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0
0011:|    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0    0
0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
rank 0 coarse = 16
rank 0 fine = 32
B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
opt_dle value:9
DRAMC_R0DELDLY[018]=00001B1C
==================================================================
                RX      DQS perbit delay software calibration 
==================================================================
1.0-15 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
0 |    10 8 10 11 11 7 11 8 8 9 
10 |    9 12 7 10 9 11 
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center 
y=0-7bit DQ of every group
input delay:DQS0 =28 DQS1 = 27
==================================================================
bit     DQS0     bit      DQS1
0  (1~53)27  8  (1~53)27
1  (1~52)26  9  (1~49)25
2  (1~53)27  10  (1~53)27
3  (1~55)28  11  (1~52)26
4  (1~54)27  12  (1~53)27
5  (0~53)26  13  (1~51)26
6  (1~52)26  14  (1~52)26
7  (1~52)26  15  (1~53)27
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    11 10 11 11 12 9 13 10 8 11 
10 |    9 13 7 11 10 11 
==================================================================
==================================================================
     TX  perbyte calibration 
==================================================================
DQS loop = 15, cmp_err_1 = ffff0800 
dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 
DQS loop = 14, cmp_err_1 = ffff0000 
dqs_perbyte_dly.last_dqsdly_pass[1]=14,  finish count=2 
DQ loop=15, cmp_err_1 = ffff01aa
DQ loop=14, cmp_err_1 = ffff0080
dqs_perbyte_dly.last_dqdly_pass[1]=14,  finish count=1 
DQ loop=13, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=13,  finish count=2 
byte:0, (DQS,DQ)=(9,8)
byte:1, (DQS,DQ)=(8,8)
20,data:89
[EMI] DRAMC calibration passed

===================================================================
                MT7621   stage1 code done 
                CPU=50000000 HZ BUS=16666666 HZ
===================================================================


U-Boot 1.1.3 (Aug 30 2017 - 02:28:33)

Board: Ralink APSoC DRAM:  256 MB
relocate_code Pointer at: 8ffb0000

Config XHCI 40M PLL 
Allocate 16 byte aligned buffer: 8ffe1940
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 DA 90 95 06]
Device found in MTK table, ID: c2da, EXT_ID: 909506
Support this Device in MTK table! c2da 
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 2047
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
..
UBNT e51 13-02122-14 B4FBE4B3E6EE
UBNT BD type=e51, mac=B4FBE4B3E6EE, s/n=B4FBE4B3E6EE, mrev=14, k_idx=1
============================================ 
Ralink UBoot Version: 4.3.S.0
-------------------------------------------- 
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection 
DRAM_TYPE: DDR3 
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Aug 30 2017  Time:02:28:33
============================================ 
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 880 MHZ #### 
 estimate memory size =256 Mbytes
#Reset_MT7530
Enable port 0

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
default: 3
 3 
You choosed 3

 0 
   
3: System Boot system code via Flash.
## Booting image at c0040000 ...
   Image Name:   MIPS OpenWrt Linux-5.4.48
   Image Type:   MIPS Linux Kernel Image (uncompressed)
   Data Size:    2435865 Bytes =  2.3 MB
   Load Address: 80001000
   Entry Point:  80001000
......................................   Verifying Checksum ... OK
OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...



OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...

[    0.000000] Linux version 5.4.48 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13649-b1d5ab1a69)) #0 SMP Fri Jun 26 22:33:29 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Ubiquiti EdgeRouter X SFP
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26704 r8192 d22448 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00032940
[    0.000000] Readback ErrCtl register=00032940
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 250536K/262144K available (5846K kernel code, 201K rwdata, 1260K rodata, 1256K init, 237K bss, 11608K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015483] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055830] pid_max: default: 32768 minimum: 301
[    0.065180] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079586] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097702] rcu: Hierarchical SRCU implementation.
[    0.107813] smp: Bringing up secondary CPUs ...
[    4.135874] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.135885] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.135897] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.135995] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144999] Synchronize counters for CPU 1: done.
[    4.226937] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.226945] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.226952] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.227006] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.239460] Synchronize counters for CPU 2: done.
[    4.318055] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.318064] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.318072] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.318129] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.327061] Synchronize counters for CPU 3: done.
[    0.386664] smp: Brought up 1 node, 4 CPUs
[    0.398972] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.418237] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.432169] pinctrl core: initialized pinctrl subsystem
[    0.443530] NET: Registered protocol family 16
[    0.481661] clocksource: Switched to clocksource GIC
[    0.493356] NET: Registered protocol family 2
[    0.502975] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.519574] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.534699] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.548872] TCP: Hash tables configured (established 2048 bind 2048)
[    0.561648] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.574529] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.588595] NET: Registered protocol family 1
[    0.597152] PCI: CLS 0 bytes, default 32
[    0.693612] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.705093] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.719864] random: fast init done
[    0.725746] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.738153] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.760502] GPIO line 487 (sfp_i2c_clk_gate) hogged as output/high
[    0.772946] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.784177] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.795396] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.807068] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.822849] printk: console [ttyS0] disabled
[    0.831301] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.849226] printk: console [ttyS0] enabled
[    0.849226] printk: console [ttyS0] enabled
[    0.865790] printk: bootconsole [early0] disabled
[    0.865790] printk: bootconsole [early0] disabled
[    0.886838] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.901809] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    0.914464] nand: Macronix MX30LF2G18AC
[    0.922100] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.937174] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.950207] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.964763] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.979322] Scanning device for bad blocks
[    2.388364] Bad eraseblock 1105 at 0x000008a20000
[    3.591347] 6 fixed-partitions partitions found on MTD device mt7621-nand
[    3.604863] Creating 6 MTD partitions on "mt7621-nand":
[    3.615275] 0x000000000000-0x000000080000 : "u-boot"
[    3.626464] 0x000000080000-0x0000000e0000 : "u-boot-env"
[    3.638343] 0x0000000e0000-0x000000140000 : "factory"
[    3.649566] 0x000000140000-0x000000440000 : "kernel1"
[    3.660834] 0x000000440000-0x000000740000 : "kernel2"
[    3.672135] 0x000000740000-0x00000ff00000 : "ubi"
[    3.684934] libphy: Fixed MDIO Bus: probed
[    3.720110] libphy: mdio: probed
[    3.726777] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.741399] mtk_soc_eth 1e100000.ethernet dsa: mediatek frame engine at 0xbe100000, irq 20
[    3.759062] i2c-mt7621 1e000900.i2c: clock 100 kHz
[    3.772209] NET: Registered protocol family 10
[    3.782778] Segment Routing with IPv6
[    3.790195] NET: Registered protocol family 17
[    3.799123] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.825176] 8021q: 802.1Q VLAN Support v1.8
[    3.835469] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.858806] libphy: dsa slave smi: probed
[    3.867214] mt7530 mdio-bus:1f eth0 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    3.885166] mt7530 mdio-bus:1f eth1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    3.903046] mt7530 mdio-bus:1f eth2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    3.920926] mt7530 mdio-bus:1f eth3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    3.938853] mt7530 mdio-bus:1f eth4 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    3.956767] mt7530 mdio-bus:1f eth5 (uninitialized): PHY [mdio-bus:07] driver [Atheros 8031 ethernet]
[    3.976479] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    3.994051] DSA: tree 0 setup
[    4.000412] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    4.001465] UBI: auto-attach mtd5
[    4.020764] ubi0: attaching mtd5
[    5.358573] ubi0 error: ubi_attach: bad image sequence number 1717396771 in PEB 1048, expected 1051561099
[    5.377643] Erase counter header dump:
[    5.385097]  magic          0x55424923
[    5.392554]  version        1
[    5.398455]  ec             0
[    5.404352]  vid_hdr_offset 2048
[    5.410778]  data_offset    4096
[    5.417194]  image_seq      1717396771
[    5.424651]  hdr_crc        0x41f68dff
[    5.432107] erase counter header hexdump:
[    5.440521] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error -22
[    5.454595] UBI error: cannot attach mtd5
[    5.462601] hctosys: unable to open rtc device (rtc0)
[    5.473495] /dev/root: Can't open blockdev
[    5.481701] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    5.496596] Please append a correct "root=" boot option; here are the available partitions:
[    5.513231] 1f00             512 mtdblock0 
[    5.513235]  (driver?)
[    5.526248] 1f01             384 mtdblock1 
[    5.526251]  (driver?)
[    5.539271] 1f02             384 mtdblock2 
[    5.539274]  (driver?)
[    5.552283] 1f03            3072 mtdblock3 
[    5.552286]  (driver?)
[    5.565294] 1f04            3072 mtdblock4 
[    5.565298]  (driver?)
[    5.578321] 1f05          253696 mtdblock5 
[    5.578324]  (driver?)
[    5.591333] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    5.607798] Rebooting in 1 seconds..

I’ve observed a few different errors on 19.07.3:

[    3.452384] UBI: auto-attach mtd5
[    3.459042] ubi0: attaching mtd5
[    5.063106] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    5.731856] ubi0: scanning is finished
[    5.753342] ubi0 error: 0x802f7820: bad attaching information, error 1
[    5.766336] Volume attaching information dump:
[    5.775176]  vol_id         0
[    5.781076]  highest_lnum   526
[    5.787307]  leb_count      15
[    5.793384]  compat         0
[    5.799284]  vol_type       3
[    5.805170]  used_ebs       0
[    5.811068]  last_data_size 0
[    5.816954]  data_pad       0
[    5.818148] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[    5.822855] Volume information dump:
[    5.841894]  vol_id          0
[    5.847953]  reserved_pebs   14
[    5.854197]  alignment       1
[    5.860273]  data_pad        0
[    5.866332]  vol_type        3
[    5.872403]  name_len        6
[    5.878461]  usable_leb_size 126976
[    5.885396]  used_ebs        14
[    5.891642]  used_bytes      1777664
[    5.898752]  last_eb_bytes   126976
[    5.905674]  corrupted       0
[    5.911746]  upd_marker      0
[    5.917805]  name            rootfs
[    5.925375] ubi0 error: 0x802fb1ec: failed to attach mtd5, error -22
[    5.938048] UBI error: cannot attach mtd5
[    3.443331] UBI: auto-attach mtd5
[    3.450022] ubi0: attaching mtd5
[    4.654666] ubi0 error: 0x80307340: bad image sequence number 1717396771 in PEB 1048, expected 1051561099
[    4.673719] Erase counter header dump:
[    4.681180]  magic          0x55424923
[    4.688623]  version        1
[    4.694526]  ec             0
[    4.700432]  vid_hdr_offset 2048
[    4.706837]  data_offset    4096
[    4.713259]  image_seq      1717396771
[    4.720720]  hdr_crc        0x41f68dff
[    4.728160] erase counter header hexdump:
[    4.736480] ubi0 error: 0x802fb1ec: failed to attach mtd5, error -22
[    4.749165] UBI error: cannot attach mtd5
30.06.20203211KernelBug ReportVery LowCriticalwrt1200ac issue with mvneta driver in 5.4 kernel - inte...TrunkUnconfirmed Task Description

wrt1200ac works OK with 4.19.108 kernel. eth1 is the upstream port, eth0 is the 4 local gigabit ports. dmesg reports:

[ 1.098981] 0×000000280000-0×000000900000 : “unused_area” [ 1.105081] libphy: Fixed MDIO Bus: probed
[ 1.109546] libphy: orion_mdio_bus: probed
[ 1.113853] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[ 1.122882] mvneta f1070000.ethernet eth0: Using hardware mac address c0:56:27:70:5b:65
[ 1.132447] mvneta f1034000.ethernet eth1: Using random mac address 9e:2e:40:0f:3a:63
[ 1.140510] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.147081] ehci-pci: EHCI PCI platform driver
[ 1.151575] ehci-platform: EHCI generic platform driver
[ 1.156913] ehci-orion: EHCI orion driver
[ 1.161040] orion-ehci f1058000.usb: EHCI Host Controller

Under the 5.4.48 kernel, eth1 doesn’t show up, so no upstream connectivity.

[ 1.208713] orion-mdio f1072004.mdio: IRQ index 0 not found
[ 1.214360] libphy: orion_mdio_bus: probed
[ 1.218622] mv88e6085 f1072004.mdio-mii:00: switch 0×1760 detected: Marvell 88E6176, revision 1
[ 1.389672] libphy: mv88e6xxx SMI: probed
[ 1.395805] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[ 1.404784] mvneta f1070000.ethernet eth0: Using hardware mac address c0:56:27:70:5b:65
[ 1.412919] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.419511] ehci-pci: EHCI PCI platform driver
[ 1.424011] ehci-platform: EHCI generic platform driver
[ 1.429356] ehci-orion: EHCI orion driver
[ 1.433476] orion-ehci f1058000.usb: EHCI Host Controller


28.07.20203253Base systemBug ReportVery LowCriticalLinksys WRT3200 ipv4 connection speed problems openwrt-19.07Unconfirmed Task Description

I’m using Linksys wrt3200 as router behind cable modem with a dslite configuration and Devolo 1200+ DinRail connected to one of the LAN ports.

Previuos configuration was provider cable modem connected to Devolo and it was working fine (up to 50-100 mbit up and download to all DLAN devices.

After swiching to Linksys and OpenWRT I noticed that download speed for IPv4 dropped to 2-3 MBit for all devices. Upload and IPv6 work fine.

Thought it was dslite problem but provider router works fine and if I connect to Linksys directly via WLAN the download speed is as expected...

Repatched with Linksys stock firmware without changing anything else stable up and download speeds in expected range for ip4/ip6.

Patched openwrt back - ipv4 download drop to 2Mbit, back to stock back to normal speed...

Assume it’s potentially an MTU setting for LAN interface but all values I tried did not change much...

Would appreciate any help. Would be pity to fall back to stock but if it’s the only option...

 


01.08.20203262KernelBug ReportVery LowCriticalpcduino(sunxi/cortexa8) kernel panic on openwrt snapsh...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on pcduino [target/linux/sunxi/cortexa8]
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce


U-Boot SPL 2020.04 (Jul 31 2020 - 21:50:38 +0000)
DRAM: 1024 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1 U-Boot 2020.04 (Jul 31 2020 - 21:50:38 +0000) Allwinner Technology CPU: Allwinner A10 (SUN4I)
Model: LinkSprite pcDuino
I2C: ready
DRAM: 1 GiB
MMC: mmc@1c0f000: 0
Loading Environment from FAT...
* Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: eth0: ethernet@1c0b000
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 1 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found

     scanning usb for storage devices... 0 Storage Device(s) found

Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
377 bytes read in 1 ms (368.2 KiB/s)
## Executing script at 43100000
3308120 bytes read in 265 ms (11.9 MiB/s)
22889 bytes read in 5 ms (4.4 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...

 Image Name:   ARM OpenWrt Linux-5.4.52
 Image Type:   ARM Linux Kernel Image (uncompressed)
 Data Size:    3308056 Bytes = 3.2 MiB
 Load Address: 40008000
 Entry Point:  40008000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 43000000

 Booting using the fdt blob at 0x43000000

EHCI failed to shut down host controller.

 Loading Kernel Image
 Using Device Tree in place at 43000000, end 43008968

Starting kernel ...

**

kernel panic

02.08.20203264Base systemBug ReportVery LowCriticalR7800 router crashes when Macbook Air joins the networkTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Netgear R7800 Router, Macbook Air 11” Mid-2013, Macbook Air 13” 2017
- Software versions of OpenWrt/LEDE release: LuCI branch git-20.201.65700-7edd635
- Steps to reproduce: I join the device to the network with either ethernet or wifi and the router would shortly crash. I simply reboot the router and connect the macbook via ethernet or wifi after the router is up. I would then run a speedtest (it’s not related to any particular activity, but I just use speedtest.net as a control)
- Attempts at trying to remedy issue: I tried disabling IPv6 on the router and macbooks. I signed out of icloud. I updated Macbooks to MacOS Catalina. I tried flashing router to latest stable release 19.07.3. The network only dies when these Macbook Airs connect to the network, all other devices don’t have any issues. Prior to this router, I had a Netgear AC1900 (R7000) running DD-WRT which never had this issue.

External logs captured before crash:
8/2/2020 14:14 Alert 192.168.1.1 [ 189.332615] 8←– cut here — 8/2/2020 14:14 Alert 192.168.1.1 [ 189.332636] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
8/2/2020 14:14 Alert 192.168.1.1 [ 189.334560] pgd = eb7a8104
8/2/2020 14:14 Alert 192.168.1.1 [ 189.342856] [0000000c] *pgd=00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.345391] Internal error: Oops: 17 [#1] SMP ARM
8/2/2020 14:14 Warning 192.168.1.1 [ 189.349049] Modules linked in: ksmbd ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath qmi_wwan pppox ppp_generic mac80211 iptable_nat ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_geoip xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbnet ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc sch_cake nf_reject_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat cdc_wdm fuse act_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall
8/2/2020 14:14 Warning 192.168.1.1 [ 189.349149] cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport ledtrig_heartbeat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_gre ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel tunnel6 tunnel4 ip_tunnel tun xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 rfkill sha512_generic sha1_generic seqiv md5 md4 ghash_generic gf128mul gcm echainiv ecb des_generic libdes ctr cmac ccm cbc authenc arc4 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci
8/2/2020 14:14 Warning 192.168.1.1 [ 189.418843] fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug f2fs ext4 mbcache jbd2 exfat(C) crc32c_generic crc32_generic
8/2/2020 14:14 Warning 192.168.1.1 [ 189.528411] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G C 5.4.52 #0
8/2/2020 14:14 Warning 192.168.1.1 [ 189.546362] Hardware name: Generic DT based system
8/2/2020 14:14 Warning 192.168.1.1 [ 189.553873] Workqueue: ksmbd-io handle_ksmbd_work [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.558534] PC is at ksmbd_free_user+0xc/0×38 [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.564001] LR is at smb_session_disconnect+0×40/0xa4 [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.569016] pc : [<bf9242e0>] lr : [<bf9402ac>] psr: 60000013
8/2/2020 14:14 Warning 192.168.1.1 [ 189.574745] sp : dd459ee0 ip : d83da240 fp : bf94f004
8/2/2020 14:14 Warning 192.168.1.1 [ 189.580820] r10: bf958234 r9 : 000001d0 r8 : bf957b58
8/2/2020 14:14 Warning 192.168.1.1 [ 189.586030] r7 : d83da200 r6 : 00000000 r5 : d69b2a00 r4 : 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.591238] r3 : d83da200 r2 : 00000003 r1 : 00000001 r0 : 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.597838] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
8/2/2020 14:14 Warning 192.168.1.1 [ 189.604348] Control: 10c5787d Table: 5eb7806a DAC: 00000051
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.611551] Process kworker/0:0 (pid: 5
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.617280] Stack: (0xdd459ee0 to 0xdd45a000)
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.623367] 9ee0: dcbcc480 bf9402ac d83da200 dcbcc480 dcbcc4dc 00000074 bf957b58 bf9290e4
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.627799] 9f00: dcddb704 dcde6400 c0c221cc dcbcc4dc dd40f500 dda09840 ff7e6500 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.635957] 9f20: 00000000 00000000 dd458000 c033a684 00000008 dda09858 dd40f500 dd40f514
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.644116] 9f40: dda09840 00000008 dda09858 c0c03d00 dda09840 c033a948 c0c0c35c c0c0c318
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.652276] 9f60: dd41951c dd419500 dd419280 dd458000 dd41951c dd43bea4 dd40f500 c033a8f4
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.660436] 9f80: 00000000 c0340724 00000000 dd419280 c0340608 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.668596] 9fa0: 00000000 00000000 00000000 c03010e8 00000000 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.676755] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.684915] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.693179] [<bf9242e0>] (ksmbd_free_user [ksmbd]) from [<bf9402ac>] (smb_session_disconnect+0×40/0xa4 [ksmbd])
8/2/2020 14:14 Warning 192.168.1.1 [ 189.701271] [<bf9402ac>] (smb_session_disconnect [ksmbd]) from [<bf9290e4>] (handle_ksmbd_work+0x18c/0×500 [ksmbd])
8/2/2020 14:14 Warning 192.168.1.1 [ 189.711150] [<bf9290e4>] (handle_ksmbd_work [ksmbd]) from [<c033a684>] (process_one_work+0x1f8/0×468)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.721543] [<c033a684>] (process_one_work) from [<c033a948>] (worker_thread+0×54/0×588)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.730919] [<c033a948>] (worker_thread) from [<c0340724>] (kthread+0x11c/0×148)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.739077] [<c0340724>] (kthread) from [<c03010e8>] (ret_from_fork+0×14/0x2c)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.746448] Exception stack(0xdd459fb0 to 0xdd459ff8)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.753483] 9fa0: 00000000 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.758613] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.766769] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.774929] Code: eaffffd1 e52d4008 e1a04000 e58de004 (e590000c)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.781453] —[ end trace 469d54bcbf49ae73 ]—

07.08.20203276ToolchainBug ReportVery LowCriticaltoolchain/binutils 2.34 fails to build for malta target...TrunkUnconfirmed Task Description

Attempting to build images for malta/mipsel64 on current master fails during compile of binutils toolchain. This has occurred since recent OpenWRT commit 54124e1e1c (”toolchain: binutils: Use version 2.34 by default”).

A log file of the build is attached, and a telltale error seems to be:

make[7]: *** No rule to make target 'elf64ltsmip.o', needed by 'ld-new'.  Stop.

This build failure is blocking further testing of malta mips64 platforms with kernel 5.4.

07.08.20203277Base systemBug ReportVery LowCriticalmalta/mipseb64:TrunkUnconfirmed Task Description

On current master, the image for target malta (mipseb64) errors during startup of the init process, resulting in a boot loop.

Two points to note:
- the problem is not seen with the previous 4.19 kernel
- the malta/mipsel64 image fails to build, so the same init error cannot be verified for the alternate endian platform

The specific error is a SIGSEGV fault:

[    1.061776] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.091522] Freeing unused kernel memory: 21544K
[    1.091778] This architecture does not have kernel memory protection.
[    1.092156] Run /init as init process
[    1.137374] random: fast init done
[    1.197756] init: Console is alive
[    1.284807] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.294466] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.309498] init: - preinit -
[    1.321863] do_page_fault(): sending SIGSEGV to init for invalid read access from 0000000000000360
[    1.322458] epc = 0000000000000360 in init[aaaba5c000+4000]
[    1.323185] ra  = 000000fffd40d5e0 in
[    1.325513] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.326546] Rebooting in 1 seconds..
14.10.2016227Base systemBug ReportMediumHighVLAN support mismatch between preinit and default netwo...TrunkResearching Task Description

PPPoE is broken on WRT1900ACS

Upgraded from Lede r578 to latest Lede r1814 and PPPOE doesn’t work anymore altough the pppd version and PPPoE version are the same:
- Linksys WRT1900ACS
- LEDE reboot r1814

pppd debug log:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]

While on the same hardware running LEDE r578, the PPPoE module works as expected:

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Send PPPOE Discovery V1T1 PADI session 0×0 length 4
dst ff:ff:ff:ff:ff:ff src c2:56:27:ca:d7:d4
[service-name]
Recv PPPOE Discovery V1T1 PADO session 0×0 length 40
dst c2:56:27:ca:d7:d4 src a0:f3:e4:34:d8:21
[service-name] [AC-name acc-aln1.hac] [AC-cookie 75 58 37 a5 ba 3c e4 a5 2a 61 bb 23 92 5c 1b dc]
Send PPPOE Discovery V1T1 PADR session 0×0 length 24
dst a0:f3:e4:34:d8:21 src c2:56:27:ca:d7:d4
[service-name] [AC-cookie 75 58 37 a5 ba 3c e4 a5 2a 61 bb 23 92 5c 1b dc]
Recv PPPOE Discovery V1T1 PADS session 0x30b length 4
dst c2:56:27:ca:d7:d4 src a0:f3:e4:34:d8:21
[service-name]
PADS: Service-Name: ‘’ PPP session is 779
Connected to a0:f3:e4:34:d8:21 via interface eth0
using channel 2
Using interface pppoe-wan
Connect: pppoe-wan ←→ eth0
sent [LCP ConfReq id=0×1 <mru 1492> <magic 0xc6952556>]
rcvd [LCP ConfReq id=0×66 <mru 1492> <auth chap MD5> <magic 0x4cc73648>]
sent [LCP ConfAck id=0×66 <mru 1492> <auth chap MD5> <magic 0x4cc73648>]
rcvd [LCP ConfAck id=0×1 <mru 1492> <magic 0xc6952556>]
sent [LCP EchoReq id=0×0 magic=0xc6952556]
rcvd [CHAP Challenge id=0×1 <7131a44524d1de8f1cd1061cac6d8c071d8bfe7351bc4ea7bd08f56684428475f229ba177a192696ebab32>, name = “acc-aln1.hac”]
sent [CHAP Response id=0×1 <4bb1a418b298790b128ad4d7ef3109ad>, name = “bthomehub@btbroadband.com”]
rcvd [LCP EchoRep id=0×0 magic=0x4cc73648]
rcvd [CHAP Success id=0×1 “CHAP authentication success”]
CHAP authentication succeeded: CHAP authentication success
CHAP authentication succeeded
peer from calling number A0:F3:E4:34:D8:21 authorized
sent [IPCP ConfReq id=0×1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
sent [IPV6CP ConfReq id=0×1 <addr fe80::c595:37d1:3987:1929>]
rcvd [IPV6CP ConfReq id=0x7b <addr fe80::0221:05ff:feb4:8824>]
sent [IPV6CP ConfAck id=0x7b <addr fe80::0221:05ff:feb4:8824>]
rcvd [IPCP ConfReq id=0×38 <addr 172.16.12.12>]
sent [IPCP ConfAck id=0×38 <addr 172.16.12.12>]
rcvd [IPCP ConfNak id=0×1 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
sent [IPCP ConfReq id=0×2 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
rcvd [IPV6CP ConfAck id=0×1 <addr fe80::c595:37d1:3987:1929>]
local LL address fe80::c595:37d1:3987:1929
remote LL address fe80::0221:05ff:feb4:8824
Script /lib/netifd/ppp-up started (pid 2646)
rcvd [IPCP ConfAck id=0×2 <addr 81.146.2.155> <ms-dns1 81.139.57.100> <ms-dns2 81.139.56.100>]
local IP address 81.146.2.155
remote IP address 172.16.12.12
primary DNS address 81.139.57.100
secondary DNS address 81.139.56.100
ppp.log
secondary DNS address 81.139.56.100
Script /lib/netifd/ppp-up started (pid 2653)
Script /lib/netifd/ppp-up finished (pid 2646), status = 0×9 Script /lib/netifd/ppp-up finished (pid 2653), status = 0×9

27.10.2016253Base systemBug ReportVery LowHighMulticast over wireless ceases to work properly after a...AllNew Task Description

I am having a problem on a UBNT UAP-LR where, if many clients stay connected the router for a long time, multicast packets will stop being reliably sent to the wireless clients. I can reproduce this with LEDE r1953, but it goes back at least as far as OpenWRT 15.05.1 with kernel 3.18. I can not, however, reproduce it on another network with the same WAP but with only one or two wireless clients.

This originally manifested as IPv6 ceasing to work since the (multicasted) RA packets were not reaching the wireless clients. I used tcpdump on the WAP and determined that the RAs were arriving through the wired interface and leaving through the wireless interface as they should, but tcpdump on the client indicates that a vast majority of the RAs are never received. (Please note that the IPv6 issue is not reproducible with the router running OpenWRT/LEDE and odhcpd, since odhcpd unicasts RAs sent as a response to an RS instead of multicasting them, while it is reproducible when the router is running radvd, for example as pfSense does.)

21.11.2016295KernelBug ReportVery LowHighath10k_pci 0001:01:00.0: SWBA overrun on vdevTrunkUnconfirmed Task Description

Supply the following if possible:

- TP-LINK c2600 v1.1
- LEDE Reboot r2244
- after some hours, the network device produce the below stacktrace.

[61789.980553] ————[ cut here ]———— [61789.980600] WARNING: CPU: 0 PID: 3 at net/core/dev.c:4837 net_rx_action+0×154/0x2e4()
[61789.984240] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ts_kmp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt br_netfilter em_cmp sch_teql em_nbyte sch_htb sch_pie sch_gred sch_dsmark cls_basic act_ipt sch_prio em_text
[61790.061568] sch_codel sch_tbf sch_sfq em_meta act_police sch_fq sch_red act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables ifb ip6_tunnel tunnel6 tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore
[61790.130320] usb_storage uhci_hcd f2fs ext4 jbd2 mbcache crc32c_generic crypto_hash leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod gpio_button_hotplug usbcore nls_base usb_common
[61790.158798] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.30 #0
[61790.159062] Hardware name: Qualcomm (Flattened Device Tree)
[61790.165160] [<c02207f4>] (unwind_backtrace) from [<c021d2e4>] (show_stack+0×14/0×20)
[61790.170534] [<c021d2e4>] (show_stack) from [<c03b82a4>] (dump_stack+0x8c/0xa0)
[61790.178521] [<c03b82a4>] (dump_stack) from [<c0228aec>] (warn_slowpath_common+0xa4/0xd0)
[61790.185550] [<c0228aec>] (warn_slowpath_common) from [<c0228bcc>] (warn_slowpath_null+0x1c/0×24)
[61790.193798] [<c0228bcc>] (warn_slowpath_null) from [<c050bcd0>] (net_rx_action+0×154/0x2e4)
[61790.202568] [<c050bcd0>] (net_rx_action) from [<c022bc90>] (do_softirq+0xdc/0×230)
[61790.210636] [<c022bc90>] (
do_softirq) from [<c022be18>] (run_ksoftirqd+0×34/0×64)
[61790.218626] [<c022be18>] (run_ksoftirqd) from [<c0246784>] (smpboot_thread_fn+0×190/0x1b8)
[61790.226006] [<c0246784>] (smpboot_thread_fn) from [<c02438e4>] (kthread+0xf8/0×100)
[61790.234335] [<c02438e4>] (kthread) from [<c0209cb8>] (ret_from_fork+0×14/0x3c)
[61790.241951] —[ end trace bbf62e8dea16c714 ]— [61790.250226] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 1, skipped old beacon

21.11.2016296Base systemBug ReportVery LowHighUbiquiti Bullet M 10/100 ethernet interface comes up as...TrunkUnconfirmed Task Description

For the last month or so, and persisting in r2248, when a Ubiquiti Bullet M is booted through typical Ubiquiti 10/100 passive PoE injector, the interface appears to come up in gigabit mode (see timestamp 18.990274 below), despite being only a 10/100 Mbps interface. Restarting /etc/init.d/network fixes it. I am running batman-adv over the ethernet interface, which may be involved. I will check if it happens when batman-adv is not used on the interface and report in a followup comment.

The dmesg look like this:

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00030800, boardp=088201a0, parts=fdeffeff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, 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 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: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007858] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113516] NET: Registered protocol family 16
[    0.120053] MIPS: machine is Ubiquiti Bullet M
[    0.126714] registering PCI controller with io_map_base unset
[    0.357171] PCI host bridge to bus 0000:00
[    0.361273] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368174] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373719] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380486] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388422] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388466] pci 0000:00:00.0: fixup device configuration
[    0.395018] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395154] pci 0000:00:00.0: supports D1
[    0.395179] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395521] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395573] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402864] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408959] clocksource: Switched to clocksource MIPS
[    0.415845] NET: Registered protocol family 2
[    0.421435] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428393] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434796] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441291] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447126] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453786] NET: Registered protocol family 1
[    0.458221] PCI: CLS 0 bytes, default 32
[    0.464223] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470512] Crashlog allocated RAM at address 0x1f00000
[    0.495166] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501050] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514332] io scheduler noop registered
[    0.518252] io scheduler deadline registered (default)
[    0.523724] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530709] console [ttyS0] disabled
[    0.554342] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563020] console [ttyS0] enabled
[    0.570030] bootconsole [early0] disabled
[    0.582486] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588201] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593207] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599160] Creating 5 MTD partitions on "spi0.0":
[    0.603978] 0x000000000000-0x000000040000 : "u-boot"
[    0.611975] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619659] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638850] 2 uimage-fw partitions found on MTD device firmware
[    0.644866] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651748] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658927] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671002] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685799] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713743] libphy: ag71xx_mdio: probed
[    1.302694] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312905] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322158] NET: Registered protocol family 10
[    1.332118] NET: Registered protocol family 17
[    1.336691] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349583] 8021q: 802.1Q VLAN Support v1.8
[    1.362372] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372025] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887723] init: Console is alive
[    2.891524] init: - watchdog -
[    4.278153] usbcore: registered new interface driver usbfs
[    4.283867] usbcore: registered new interface driver hub
[    4.289377] usbcore: registered new device driver usb
[    4.301662] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310384] ehci-platform: EHCI generic platform driver
[    4.319460] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327414] ohci-platform: OHCI generic platform driver
[    4.336259] init: - preinit -
[    5.148878] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181862] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    7.440590] eth0: link up (100Mbps/Full duplex)
[    7.445184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.484066] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.501955] mount_root: switching to jffs2 overlay
[    8.517794] urandom-seed: Seeding with /etc/urandom.seed
[    8.794632] eth0: link down
[    8.814035] procd: - early -
[    8.817063] procd: - watchdog -
[    9.492101] procd: - ubus -
[    9.545805] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.555498] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.564637] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.574254] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.583375] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.593373] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.602738] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.612394] procd: - init -
[   10.066368] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.074041] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.125220] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.213939] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.224958] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.233630] ath: EEPROM regdomain: 0x0
[   10.233647] ath: EEPROM indicates default country code should be used
[   10.233661] ath: doing EEPROM country->regdmn map search
[   10.233689] ath: country maps to regdmn code: 0x3a
[   10.233705] ath: Country alpha2 being used: US
[   10.233718] ath: Regpair used: 0x3a
[   10.248634] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.257391] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.870351] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.001559] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.855427] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.875510] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   18.990274] eth0: link up (1000Mbps/Full duplex)
[   18.994964] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.330349] batman_adv: bat0: Adding interface: eth0
[   19.335365] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   19.359419] batman_adv: bat0: Interface activated: eth0
[   19.367077] 8021q: adding VLAN 0 to HW filter on device bat0
[   19.406417] device bat0 entered promiscuous mode
[   19.411309] br-pub: port 1(bat0) entered forwarding state
[   19.416772] br-pub: port 1(bat0) entered forwarding state
[   19.422579] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   19.870508] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   20.359133] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   20.367269] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   21.412169] br-pub: port 1(bat0) entered forwarding state
[   21.549966] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.563679] device wlan0 entered promiscuous mode
[   21.591315] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.597879] br-pub: port 2(wlan0) entered forwarding state
[   21.603541] br-pub: port 2(wlan0) entered forwarding state
[   21.784924] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.912131] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.268273] batman_adv: bat0: Adding interface: mesh0
[   22.273432] batman_adv: bat0: Interface activated: mesh0
[   23.599046] br-pub: port 2(wlan0) entered forwarding state
[   29.369162] batman_adv: bat0: IGMP Querier appeared
[   29.374093] batman_adv: bat0: MLD Querier appeared
[   34.068975] ------------[ cut here ]------------
[   34.073700] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[   34.082197] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[   34.088754] Modules linked in: ath9k ath9k_common mac80211 ath9k_hw ath batman_adv libcrc32c cfg80211 compat ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common crc16
 cryptomgr aead crypto_null crc32c_generic crypto_hash
[   34.112252] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.32 #0
[   34.118013] Stack : 803c8fc4 00000000 00000001 80420000 80413038 80412cc3 803aa67c 00000000
[   34.118013] 	  8048379c 8041135c 00000200 00100000 0000000a 800a71a8 803afce8 80410000
[   34.118013] 	  00000003 8041135c 803ae0f4 8040dc2c 0000000a 800a5124 00000006 00000000
[   34.118013] 	  00000000 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  ...
[   34.153969] Call Trace:
[   34.156440] [<80071af0>] show_stack+0x50/0x84
[   34.160843] [<80081870>] warn_slowpath_common+0xa0/0xd0
[   34.166096] [<800818cc>] warn_slowpath_fmt+0x2c/0x38
[   34.171111] [<80290970>] dev_watchdog+0x1dc/0x260
[   34.175854] [<800b0460>] call_timer_fn.isra.5+0x24/0x80
[   34.181125] [<800b06e4>] run_timer_softirq+0x1b4/0x1fc
[   34.186296] [<80083dec>] __do_softirq+0x250/0x298
[   34.191059] [<8006a5d0>] plat_irq_dispatch+0xd4/0x10c
[   34.196134] [<80060830>] ret_from_irq+0x0/0x4
[   34.200526] [<80060a80>] __r4k_wait+0x20/0x40
[   34.204906] [<800a2304>] cpu_startup_entry+0x9c/0xe8
[   34.209934] [<80436bd4>] start_kernel+0x470/0x490
[   34.214656] 
[   34.216159] ---[ end trace ef06a4b3ec78272a ]---
[   34.220810] eth0: tx timeout
[   37.565193] random: nonblocking pool is initialized
[   44.068999] eth0: tx timeout
[   54.069064] eth0: tx timeout
[   64.068993] eth0: tx timeout
[   74.069871] eth0: tx timeout
[   82.660973] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   84.070901] eth0: tx timeout
[   92.701961] batman_adv: bat0: MLD Querier appeared
[   94.071717] eth0: tx timeout
[  104.072355] eth0: tx timeout
[  114.072669] eth0: tx timeout
[...]

When I do an /etc/init.d/network restart, the interface recovers to normal function, and I get this in dmesg:

[ 1296.763793] br-pub: port 2(wlan0) entered disabled state
[ 1296.769232] br-pub: port 1(bat0) entered disabled state
[ 1296.808305] device bat0 left promiscuous mode
[ 1296.812986] br-pub: port 1(bat0) entered disabled state
[ 1296.862085] IPv6: ADDRCONF(NETDEV_UP): bat0: link is not ready
[ 1296.879239] device wlan0 left promiscuous mode
[ 1296.883945] br-pub: port 2(wlan0) entered disabled state
[ 1296.904196] batman_adv: bat0: Interface deactivated: mesh0
[ 1296.909752] batman_adv: bat0: Removing interface: mesh0
[ 1296.963462] batman_adv: bat0: Interface deactivated: eth0
[ 1296.993492] eth0: link down
[ 1296.998705] batman_adv: bat0: Removing interface: eth0
[ 1301.629484] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1301.649941] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[ 1301.985100] eth0: link up (100Mbps/Full duplex)
[ 1301.989698] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1302.191373] batman_adv: bat0: Adding interface: eth0
[ 1302.196453] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[ 1302.220488] batman_adv: bat0: Interface activated: eth0
[ 1302.228092] 8021q: adding VLAN 0 to HW filter on device bat0
[ 1302.275944] device bat0 entered promiscuous mode
[ 1302.280747] br-pub: port 1(bat0) entered forwarding state
[ 1302.286292] br-pub: port 1(bat0) entered forwarding state
[ 1302.292106] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[ 1302.590333] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[ 1303.213417] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[ 1303.221556] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[ 1304.283452] br-pub: port 1(bat0) entered forwarding state
[ 1304.672382] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1304.782643] device wlan0 entered promiscuous mode
[ 1304.827845] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1304.834479] br-pub: port 2(wlan0) entered forwarding state
[ 1304.840053] br-pub: port 2(wlan0) entered forwarding state
[ 1305.112607] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[ 1305.190600] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[ 1305.692918] batman_adv: bat0: Adding interface: mesh0
[ 1305.698080] batman_adv: bat0: Interface activated: mesh0
[ 1306.833410] br-pub: port 2(wlan0) entered forwarding state
[ 1312.303688] batman_adv: bat0: IGMP Querier appeared
[ 1312.308629] batman_adv: bat0: MLD Querier appeared

If I disconnect the other end of the ethernet cable so that there is no link peer, I do not see the problem (see below):

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=ffffffff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, 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 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: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007859] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102743] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113517] NET: Registered protocol family 16
[    0.120061] MIPS: machine is Ubiquiti Bullet M
[    0.126721] registering PCI controller with io_map_base unset
[    0.357179] PCI host bridge to bus 0000:00
[    0.361281] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368182] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373728] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380495] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388431] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388474] pci 0000:00:00.0: fixup device configuration
[    0.395026] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395163] pci 0000:00:00.0: supports D1
[    0.395187] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395530] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395581] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402872] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408968] clocksource: Switched to clocksource MIPS
[    0.415854] NET: Registered protocol family 2
[    0.421444] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428402] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434805] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441299] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447134] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453795] NET: Registered protocol family 1
[    0.458229] PCI: CLS 0 bytes, default 32
[    0.464231] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470521] Crashlog allocated RAM at address 0x1f00000
[    0.495175] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501058] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514341] io scheduler noop registered
[    0.518261] io scheduler deadline registered (default)
[    0.523733] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530718] console [ttyS0] disabled
[    0.554351] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563030] console [ttyS0] enabled
[    0.570040] bootconsole [early0] disabled
[    0.582496] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588212] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593216] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599171] Creating 5 MTD partitions on "spi0.0":
[    0.603989] 0x000000000000-0x000000040000 : "u-boot"
[    0.611984] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619662] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638852] 2 uimage-fw partitions found on MTD device firmware
[    0.644868] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651750] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658926] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671004] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685800] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713752] libphy: ag71xx_mdio: probed
[    1.302703] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312917] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322177] NET: Registered protocol family 10
[    1.332146] NET: Registered protocol family 17
[    1.336720] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349611] 8021q: 802.1Q VLAN Support v1.8
[    1.362390] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372040] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887726] init: Console is alive
[    2.891520] init: - watchdog -
[    4.278086] usbcore: registered new interface driver usbfs
[    4.283799] usbcore: registered new interface driver hub
[    4.289318] usbcore: registered new device driver usb
[    4.301475] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310215] ehci-platform: EHCI generic platform driver
[    4.319363] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327317] ohci-platform: OHCI generic platform driver
[    4.336163] init: - preinit -
[    5.148612] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181619] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    8.484735] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.502585] mount_root: switching to jffs2 overlay
[    8.518273] urandom-seed: Seeding with /etc/urandom.seed
[    8.810840] procd: - early -
[    8.813863] procd: - watchdog -
[    9.487850] procd: - ubus -
[    9.541721] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.551409] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.560553] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.570163] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.579297] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.589333] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.598611] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.608223] procd: - init -
[   10.064115] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.071796] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.122372] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.205329] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.216362] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.225034] ath: EEPROM regdomain: 0x0
[   10.225051] ath: EEPROM indicates default country code should be used
[   10.225065] ath: doing EEPROM country->regdmn map search
[   10.225093] ath: country maps to regdmn code: 0x3a
[   10.225109] ath: Country alpha2 being used: US
[   10.225122] ath: Regpair used: 0x3a
[   10.240049] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.248689] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.861887] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   11.993063] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.833441] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.855566] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   21.215610] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.255512] device wlan0 entered promiscuous mode
[   21.286637] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.293301] br-pub: port 1(wlan0) entered forwarding state
[   21.298864] br-pub: port 1(wlan0) entered forwarding state
[   21.335689] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   21.541225] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.594616] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.284927] batman_adv: bat0: Adding interface: mesh0
[   22.290148] batman_adv: bat0: Interface activated: mesh0
[   22.297750] 8021q: adding VLAN 0 to HW filter on device bat0
[   22.362868] device bat0 entered promiscuous mode
[   22.367627] br-pub: port 2(bat0) entered forwarding state
[   22.373200] br-pub: port 2(bat0) entered forwarding state
[   22.718089] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   23.289035] br-pub: port 1(wlan0) entered forwarding state
[   23.309325] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   23.317459] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   24.369054] br-pub: port 2(bat0) entered forwarding state
[   29.389161] batman_adv: bat0: IGMP Querier appeared
[   38.069058] random: nonblocking pool is initialized
[   44.920666] eth0: link up (100Mbps/Full duplex)
[   44.925732] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.001214] batman_adv: bat0: Adding interface: eth0
[   45.006233] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   45.030291] batman_adv: bat0: Interface activated: eth0
[   50.459193] batman_adv: bat0: MLD Querier appeared
[   67.509156] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   77.549128] batman_adv: bat0: MLD Querier appeared

My LEDE diffconfig looks like this:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_ubnt-bullet-m=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_ALFRED_NEEDS_lua=y
CONFIG_BUILD_LOG=y
CONFIG_BUSYBOX_CONFIG_MESG=y
CONFIG_BUSYBOX_CONFIG_PKILL=y
CONFIG_BUSYBOX_CONFIG_RDATE=y
# CONFIG_BUSYBOX_CONFIG_SHA256SUM is not set
CONFIG_KMOD_BATMAN_ADV_BATMAN_V=y
CONFIG_KMOD_BATMAN_ADV_BLA=y
CONFIG_KMOD_BATMAN_ADV_DAT=y
CONFIG_KMOD_BATMAN_ADV_DEBUGFS=y
CONFIG_KMOD_BATMAN_ADV_MCAST=y
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_POLARSSL=y
CONFIG_LIBCURL_PROXY=y
CONFIG_OPENSSL_ENGINE_CRYPTO=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_ALFRED_BATHOSTS=y
CONFIG_PACKAGE_ALFRED_VIS=y
CONFIG_PACKAGE_alfred=y
CONFIG_PACKAGE_batctl=y
CONFIG_PACKAGE_bridge=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_diffutils=y
# CONFIG_PACKAGE_dnsmasq is not set
# CONFIG_PACKAGE_firewall is not set
CONFIG_PACKAGE_horst=y
CONFIG_PACKAGE_iftop=y
# CONFIG_PACKAGE_ip6tables is not set
CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_iptables is not set
CONFIG_PACKAGE_kmod-batman-adv=y
CONFIG_PACKAGE_kmod-bridge=y
CONFIG_PACKAGE_kmod-crypto-aead=y
CONFIG_PACKAGE_kmod-crypto-crc32c=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-crypto-manager=y
CONFIG_PACKAGE_kmod-crypto-null=y
CONFIG_PACKAGE_kmod-crypto-pcompress=y
# CONFIG_PACKAGE_kmod-ip6tables is not set
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
# CONFIG_PACKAGE_kmod-ipt-core is not set
# CONFIG_PACKAGE_kmod-ipt-nat is not set
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
CONFIG_PACKAGE_kmod-lib-crc16=y
CONFIG_PACKAGE_kmod-lib-crc32c=y
CONFIG_PACKAGE_kmod-llc=y
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set
# CONFIG_PACKAGE_kmod-nf-ipt is not set
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
# CONFIG_PACKAGE_kmod-nf-nat is not set
# CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-stp=y
CONFIG_PACKAGE_libcurl=y
# CONFIG_PACKAGE_libip4tc is not set
# CONFIG_PACKAGE_libip6tc is not set
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_libncursesw=y
CONFIG_PACKAGE_libnetsnmp=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libpolarssl=y
CONFIG_PACKAGE_libpopt=y
CONFIG_PACKAGE_libpthread=y
CONFIG_PACKAGE_librt=y
# CONFIG_PACKAGE_libxtables is not set
CONFIG_PACKAGE_lua=y
# CONFIG_PACKAGE_odhcp6c is not set
# CONFIG_PACKAGE_odhcpd is not set
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_procps-ng=y
CONFIG_PACKAGE_procps-ng-free=y
CONFIG_PACKAGE_procps-ng-kill=y
CONFIG_PACKAGE_procps-ng-pgrep=y
CONFIG_PACKAGE_procps-ng-pkill=y
CONFIG_PACKAGE_procps-ng-pmap=y
CONFIG_PACKAGE_procps-ng-ps=y
CONFIG_PACKAGE_procps-ng-pwdx=y
CONFIG_PACKAGE_procps-ng-skill=y
CONFIG_PACKAGE_procps-ng-slabtop=y
CONFIG_PACKAGE_procps-ng-snice=y
CONFIG_PACKAGE_procps-ng-tload=y
CONFIG_PACKAGE_procps-ng-top=y
CONFIG_PACKAGE_procps-ng-uptime=y
CONFIG_PACKAGE_procps-ng-vmstat=y
CONFIG_PACKAGE_procps-ng-w=y
CONFIG_PACKAGE_procps-ng-watch=y
CONFIG_PACKAGE_ptp-utils=y
CONFIG_PACKAGE_rsync=y
CONFIG_PACKAGE_snmpd=y
CONFIG_PACKAGE_tcpdump=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wireless-tools=y
CONFIG_PACKAGE_zlib=y
CONFIG_RSYNC_zlib=y

My uci show looks like this (system and wireless elided):

alfred.alfred=alfred
alfred.alfred.mode='master'
alfred.alfred.batmanif='bat0'
alfred.alfred.start_vis='1'
alfred.alfred.run_facters='1'
alfred.alfred.interface='br-pub'
alfred.alfred.disabled='0'
batman-adv.bat0=mesh
batman-adv.bat0.bridge_loop_avoidance='0'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.pub=interface
network.pub.type='bridge'
network.pub.proto='static'
network.pub.ip6assign='60'
network.pub.ifname='bat0'
network.pub.ipaddr='10.11.x.y'
network.pub.netmask='255.255.252.0'
network.pub.gateway='10.11.x.1'
network.pub.dns='10.11.x.1'
network.mesh=interface
network.mesh.mtu='1532'
network.mesh.proto='batadv'
network.mesh.mesh='bat0'
network.meshwire=interface
network.meshwire.proto='batadv'
network.meshwire.mesh='bat0'
network.meshwire.ifname='eth0'
19.02.2017535KernelBug ReportVery LowHigh5GHz radios not working properly on Netgear R8000openwrt-18.06Unconfirmed Task Description

After upgrading my R8000 from Chaos Calmer (15.05.1) to LEDE Reboot (17.01.0-rc2, r3131-42f3c1f), I found that I could no longer get the 5GHz radios to work as before. The 2.4GHz radio is fine.

In CC I was using the following configuration:
- radio0 on channel 149, country code ‘00’, VHT80
- radio2 on channel 48, country code ‘00’, VHT80

The firmware apparently only accepts 00 and US as country codes, which is why I was using 00. This discussed at length in: https://forum.openwrt.org/viewtopic.php?id=55367&p=19 (and previous pages)

In 17.01.0-rc2, I can’t get radio0 to come up at all. radio2 can be configured, still on channel 48 and country 00, but in VHT40 mode. If I use VHT80, it stays disabled.

This was discussed previously in this forum post: https://forum.lede-project.org/t/r8000-5ghz-wifi-issue/236 and I get the same error messages and channel selection as the OP, so I will not repeat them here.

I’m not sure if this issue is really related to the country code setting, but I will note that the factory system apparently sets the country code to “EU”:

root@x6:~# nvram show | grep country_code
wl1_country_code=EU
wl0_country_code=EU
wl2_country_code=EU
wl_country_code=
root@x6:~#

I see that LEDE carries a patch on brcmfmac which translates the configured country code to an internal code for the firmware on this specific model (https://git.lede-project.org/?p=source.git;a=blob_plain;f=package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch;hb=refs/heads/lede-17.01). I’m willing to test patches if anyone knows the right internal country code for Europe.

09.03.2017611Base systemBug ReportVery LowHighdnsmasq Ignore resolv file option forget at restartAllUnconfirmed Task Description

If you set up dnsmasq to ignore resolv file it will ignore it until reboot is performed. To make ignore it again the option must be uncheck and apply and then check and apply again.

I have /etc/resolv.conf as a symlink to /tmp/resolv.conf, when the router boots up the contents are the dns offered from dhcp over the wan interface. When the ignore resolv option is checked or unchecked the contens are overwrited to search lan and nameserver 127.0.0.1 but it doesn’t seems to affect as if you uncheck ignore resolv the router resolv names, and when you check again the option it can resolv names even the contents still are search lan and nameserver 127.0.0.1.

I haven’t seen yet any other change that can cause the reboot to make dnsmasq follow resolv file when the option is checked until you uncheck-apply and check-apply.

09.03.2017612Base systemBug ReportVery LowHighWAN to LAN leakage on MT7620 devicesTrunkUnconfirmed Task Description

I am currently testing two MT7620 devices - the ZBT WE826 and the Sanlinking D240. During the first seconds of the boot, I see that packets leak between the WAN and LAN ports. Typically, this results in clients receiving a DHCP reply from my upstream router, rendering the clients without connectivity when the switch is properly initialized. I have also tested with the default firmware and do not see this behavior. Also, if I stop the devices in the bootloader, then packets do not leak until I resume boot again.

In order to try to solve this bug, I have tried to port some (at least to me) missing steps from the bootloader switch code and to the mt7620 switch driver in LEDE. This did not have an effect, at least not on the packet leak. A work-around I have found is to update u-boot and remove the input delay, so that the device will boot immediately. However, this is quite cumbersome to install and not very reliable. I suspect my luck with this work-around is more due to the timing of the DHCP clients in Ubuntu and Windows 10.

Does anyone have any idea as to what could be wrong and where to start looking?

Thanks in advance for any help.

 


17.04.2017714Base systemBug ReportVery LowHighARP/Broadcast does not reach other clients in the same ...AllUnconfirmed Task Description

I have the default bridge with ethernet and WLAN in it. When i try to send data from a client to another, both connected to the same WLAN SSID, it doesn’t work (Destination unreachable).
Wireshark shows that it sends endless ARP requests to Broadcast, but the other clients in that WLAN never get it (and therefore can’t answer). The broadcast gets still delivery to every client connected through Ethernet. If i create a second WLAN SSID (even on the same adapter) and and add it to the bridge, it gets also all broadcast packets from the other WLAN...
So if i put the 2 clients in different WLAN SSIDs or ethernet they get the broadcast from each other, but not when both are connected to the same.

The isolate option is not set in the wireless config.
Archer C5 v1 with latest LEDE snapshot (no difference to 17.01 stable or rc).

19.04.2017717Base systemBug ReportVery LowHighWRT3200ACM USB 3.0 ProblemAllUnconfirmed Task Description

I can´t get my Seagate Expansion Portable 1TB STEA1000400 USB3.0 drive to be be recognized on the USB 3.0 port of the router after a reboot or cold start on WRT3200 but if i remove and hotplug the drive, it is automatically detected and can be mounted.
It happens with images from Openwrt 15.05.1, LEDE 17.01.1 and many snapshots from both projects that i have installed. I have no problem with another usb2.0 drive from Samsung that is installed in another USB2.0 port.

After Cold START or REBOOT

 root@LEDE:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.20 (ag33e33@ubuntu) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3963-7ae58be) ) #0 SMP Wed Apr 12 16:12:18 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Linksys WRT3200ACM
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0646900, node_mem_map dfbf9000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 13 pages/cpu @dfbce000 s22732 r8192 d22324 u53248
[    0.000000] pcpu-alloc: s22732 r8192 d22324 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock6 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),1920K@8320K(sysdiag),80m@10m(kernel),74m@16m(rootfs),80m@90m(alt_kernel),74m@96m(alt_rootfs),160m@10m(ubifs),-@170m(syscfg)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 512848K/524288K available (4545K kernel code, 180K rwdata, 1244K rodata, 280K init, 310K bss, 11440K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
                   lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0478918   (4547 kB)
                     .init : 0xc05d4000 - 0xc061a000   ( 280 kB)
                     .data : 0xc061a000 - 0xc0647200   ( 181 kB)
                      .bss : 0xc0647200 - 0xc0694a00   ( 310 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Selected CPU frequency (16) unsupported
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.000008] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000114] Calibrating local timer... 933.22MHz.
[    0.060032] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.060037] pid_max: default: 32768 minimum: 301
[    0.060076] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060079] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.060274] CPU: Testing write buffer coherency: ok
[    0.060365] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060376] Setting up static identity map for 0x8280 - 0x82d8
[    0.060434] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.060494] mvebu-pmsu: Initializing Power Management Service Unit
[    0.060904] Booting CPU 1
[    0.061041] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.061070] Brought up 2 CPUs
[    0.061075] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.061078] CPU: All CPU(s) started in SVC mode.
[    0.062739] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.062790] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.062796] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.062831] pinctrl core: initialized pinctrl subsystem
[    0.063142] NET: Registered protocol family 16
[    0.063575] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090041] cpuidle: using governor ladder
[    0.090171] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.090177] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.120467] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0-vbus-pins, deferring probe
[    0.120607] SCSI subsystem initialized
[    0.120687] libata version 3.00 loaded.
[    0.120790] usbcore: registered new interface driver usbfs
[    0.120815] usbcore: registered new interface driver hub
[    0.120835] usbcore: registered new device driver usb
[    0.121329] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.121647] NET: Registered protocol family 2
[    0.121869] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.121890] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.121920] TCP: Hash tables configured (established 4096 bind 4096)
[    0.121941] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.121952] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.122009] NET: Registered protocol family 1
[    0.122021] PCI: CLS 0 bytes, default 64
[    0.122803] Crashlog allocated RAM at address 0x3f00000
[    0.122877] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.124945] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.124953] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.125699] io scheduler noop registered
[    0.125703] io scheduler deadline registered (default)
[    0.126071] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.126671] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.126679] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.126683] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.126687] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.126701] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    0.126784] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    0.126859] PCI: bus0: Fast back to back transfers disabled
[    0.126864] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126870] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.126918] pci 0000:01:00.0: [11ab:2b40] type 00 class 0x020000
[    0.126933] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x401fffff 64bit pref]
[    0.126943] pci 0000:01:00.0: reg 0x18: [mem 0x40200000-0x402fffff 64bit pref]
[    0.127002] pci 0000:01:00.0: supports D1 D2
[    0.127005] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127068] PCI: bus1: Fast back to back transfers disabled
[    0.127073] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.127132] pci 0000:02:00.0: [11ab:2b40] type 00 class 0x020000
[    0.127151] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x421fffff 64bit pref]
[    0.127162] pci 0000:02:00.0: reg 0x18: [mem 0x42200000-0x422fffff 64bit pref]
[    0.127244] pci 0000:02:00.0: supports D1 D2
[    0.127246] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.127310] PCI: bus2: Fast back to back transfers disabled
[    0.127315] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.127384] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]
[    0.127390] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff]
[    0.127396] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref]
[    0.127405] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.127413] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.127418] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe02fffff]
[    0.127425] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0400000-0xe05fffff 64bit pref]
[    0.127434] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0600000-0xe06fffff 64bit pref]
[    0.127443] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.127448] pci 0000:00:02.0:   bridge window [mem 0xe0400000-0xe06fffff]
[    0.127646] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.181754] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.181840] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.241717] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.241857] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.242621] console [ttyS0] disabled
[    0.262683] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 21, base_baud = 12500000) is a 16550A
[    0.983287] console [ttyS0] enabled
[    0.988691] loop: module loaded
[    0.992090] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.001176] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.010274] scsi host0: ahci-mvebu
[    1.013847] scsi host1: ahci-mvebu
[    1.017348] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.025306] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    1.033594] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.041369] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[    1.047747] nand: AMD/Spansion S34ML02G2
[    1.051690] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.059379] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.066556] Bad block table found at page 131008, version 0x01
[    1.072752] Bad block table found at page 130944, version 0x01
[    1.078863] 11 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.085074] Creating 11 MTD partitions on "pxa3xx_nand-0":
[    1.090582] 0x000000000000-0x000000200000 : "u-boot"
[    1.095830] 0x000000200000-0x000000220000 : "u_env"
[    1.100951] 0x000000220000-0x000000260000 : "s_env"
[    1.106089] 0x0000007e0000-0x000000820000 : "devinfo"
[    1.111433] 0x000000820000-0x000000a00000 : "sysdiag"
[    1.116797] 0x000000a00000-0x000005a00000 : "kernel1"
[    1.122301] 0x000001000000-0x000005a00000 : "ubi"
[    1.127404] 0x000005a00000-0x00000aa00000 : "kernel2"
[    1.132905] 0x000006000000-0x00000aa00000 : "rootfs2"
[    1.138362] 0x00000aa00000-0x000010000000 : "syscfg"
[    1.143774] 0x000000260000-0x000000820000 : "unused_area"
[    1.149701] libphy: Fixed MDIO Bus: probed
[    1.154064] libphy: orion_mdio_bus: probed
[    1.158297] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.166962] mvneta f1070000.ethernet eth0: Using hardware mac address 60:38:e0:b9:ea:c0
[    1.175959] mvneta f1034000.ethernet eth1: Using random mac address a2:8d:5e:6d:ee:98
[    1.183881] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.190435] ehci-pci: EHCI PCI platform driver
[    1.194928] ehci-platform: EHCI generic platform driver
[    1.200245] ehci-orion: EHCI orion driver
[    1.204336] orion-ehci f1058000.usb: EHCI Host Controller
[    1.209765] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.217412] orion-ehci f1058000.usb: irq 37, io mem 0xf1058000
[    1.251329] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.257480] hub 1-0:1.0: USB hub found
[    1.261254] hub 1-0:1.0: 1 port detected
[    1.265551] usbcore: registered new interface driver usb-storage
[    1.271723] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.279341] i2c /dev entries driver
[    1.294252] orion_wdt: Initial timeout 171 sec
[    1.298933] sdhci: Secure Digital Host Controller Interface driver
[    1.305146] sdhci: Copyright(c) Pierre Ossman
[    1.362546] ata1: SATA link down (SStatus 0 SControl 300)
[    1.367991] ata2: SATA link down (SStatus 0 SControl 300)
[    1.371354] mmc0: SDHCI controller on f10d8000.sdhci [f10d8000.sdhci] using ADMA
[    1.371428] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.377154] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.377556] NET: Registered protocol family 10
[    1.391590] NET: Registered protocol family 17
[    1.391604] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.391605] 8021q: 802.1Q VLAN Support v1.8
[    1.391661] Registering SWP/SWPB emulation handler
[    1.392791] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.392803] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    1.392861] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.392881] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[    1.393134] hub 2-0:1.0: USB hub found
[    1.393160] hub 2-0:1.0: 1 port detected
[    1.393247] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.393253] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.393292] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.393478] hub 3-0:1.0: USB hub found
[    1.393501] hub 3-0:1.0: 1 port detected
[    1.393820] UBI: auto-attach mtd6
[    1.393824] ubi0: attaching mtd6
[    1.397930] random: fast init done
[    1.401551] mmc0: new high speed SDIO card at address 0001
[    1.593092] ubi0: scanning is finished
[    1.601334] ubi0: attached mtd6 (name "ubi", size 74 MiB)
[    1.606756] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.613664] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.620479] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.627475] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[    1.633508] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    1.640759] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1419003487
[    1.649932] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
[    1.659197] ubi0: background thread "ubi_bgt0d" started, PID 668
[    1.659208] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.659643] block ubiblock0_0: created from ubi0:0(rootfs)
[    1.659645] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    1.659829] mvsw61xx 10.mvsw61xx: Found MV88E6352 at f1072004.mdio-mi:10
[    1.659832] mvsw61xx 10.mvsw61xx: Using direct addressing
[    1.671972] armada38x-rtc f10a3800.rtc: setting system clock to 2101-11-05 12:45:50 UTC (4160637950)
[    1.705850] Waiting 1 sec before mounting root device...
[    1.852932] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.859142] scsi host2: usb-storage 1-1:1.0
[    2.722974] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.730260] Freeing unused kernel memory: 280K (c05d4000 - c061a000)
[    2.736655] This architecture does not have kernel memory protection.
[    2.855724] init: Console is alive
[    2.859203] init: - watchdog -
[    2.924338] scsi 2:0:0:0: Direct-Access     Samsung  S2 Portable           PQ: 0 ANSI: 2 CCS
[    3.111498] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.151660] sd 2:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    3.159777] sd 2:0:0:0: [sda] Write Protect is off
[    3.164597] sd 2:0:0:0: [sda] Mode Sense: 28 00 00 00
[    3.165152] sd 2:0:0:0: [sda] No Caching mode page found
[    3.170490] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.179038]  sda: sda1
[    3.183653] sd 2:0:0:0: [sda] Attached SCSI disk
[    3.188738] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.195221] ohci-platform: OHCI generic platform driver
[    3.200902] uhci_hcd: USB Universal Host Controller Interface driver
[    3.207556] ohci-pci: OHCI PCI platform driver
[    3.212156] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.228593] init: - preinit -
[    3.422394] mvneta f1070000.ethernet tmp0: renamed from eth0
[    3.462586] mvneta f1034000.ethernet eth0: renamed from eth1
[    3.512510] mvneta f1070000.ethernet eth1: renamed from tmp0
[    3.833291] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[    3.840562] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    3.846607] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    3.854578] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.909798] mount_root: loading kmods from internal overlay
[    5.921475] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.929503] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    6.328768] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 806
[    6.357145] UBIFS (ubi0:1): recovery needed
[    6.403932] random: crng init done
[    6.431762] UBIFS (ubi0:1): recovery completed
[    6.436249] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.444117] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.454076] UBIFS (ubi0:1): FS size: 61329408 bytes (58 MiB, 483 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.464556] UBIFS (ubi0:1): reserved for root: 2896739 bytes (2828 KiB)
[    6.471198] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID DEE50754-EFFE-4990-A7A6-C97266C9BEF0, small LPT model
[    6.483473] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    6.493882] block: extroot: not configured
[    6.531369] UBIFS (ubi0:1): un-mount UBI device 0
[    6.536097] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[    6.544028] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 809
[    6.591527] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    6.599392] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.609356] UBIFS (ubi0:1): FS size: 61329408 bytes (58 MiB, 483 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
[    6.619838] UBIFS (ubi0:1): reserved for root: 2896739 bytes (2828 KiB)
[    6.626483] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID DEE50754-EFFE-4990-A7A6-C97266C9BEF0, small LPT model
[    6.641627] mount_root: loading kmods from internal overlay
[    6.652909] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    6.670201] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.078279] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    7.086484] block: extroot: not configured
[    7.132013] mount_root: switching to ubifs overlay
[    7.176201] ubi1: attaching mtd9
[    7.407547] ubi1: scanning is finished
[    7.415742] ubi1: attached mtd9 (name "syscfg", size 86 MiB)
[    7.421435] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.428338] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.435155] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.442148] ubi1: good PEBs: 680, bad PEBs: 8, corrupted PEBs: 0
[    7.448177] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[    7.455430] ubi1: max/mean erase counter: 6/4, WL threshold: 4096, image sequence number: 1148089792
[    7.464603] ubi1: available PEBs: 0, total reserved PEBs: 680, PEBs reserved for bad PEB handling: 32
[    7.473869] ubi1: background thread "ubi_bgt1d" started, PID 824
[    7.485213] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 828
[    7.537764] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[    7.545202] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    7.555161] UBIFS (ubi1:0): FS size: 80375808 bytes (76 MiB, 633 LEBs), journal size 4063232 bytes (3 MiB, 32 LEBs)
[    7.565642] UBIFS (ubi1:0): reserved for root: 3796347 bytes (3707 KiB)
[    7.572287] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID A5EAB2F8-92D3-4D0B-A69A-9F6CA9A608B3, small LPT model
[    7.585463] urandom-seed: Seeding with /etc/urandom.seed
[    7.684142] procd: - early -
[    7.687055] procd: - watchdog -
[    8.315049] procd: - ubus -
[    8.371904] procd: - init -
[    8.546612] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.557859] tun: Universal TUN/TAP device driver, 1.6
[    8.562965] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    8.571391] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    8.580401] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.587876] cryptodev: driver 1.8 loaded.
[    8.592340] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[    8.600387] Backport generated by backports.git backports-20160324-13-g24da7d3c
[    8.615059] <<Marvell 802.11ac Wireless Network Driver version 10.3.2.0-20170110>>
[    8.622702] pci 0000:00:01.0: enabling device (0140 -> 0142)
[    8.628443] ieee80211 phy0: priv->iobase0 = e0f80000
[    8.628454] ieee80211 phy0: priv->iobase1 = e1200000
[    8.628463] ieee80211 phy0: priv->pcmd_buf = ddf08000  priv->pphys_cmd_buf = 1df08000
[    8.636458] ieee80211 phy0: fw download start
[    8.699990] ieee80211 phy0: FwSize = 207660 downloaded Size = 207660 curr_iteration 65522
[   12.431324] ieee80211 phy0: fw download complete
[   12.431783] ieee80211 phy0: pcmd = ddf08000
[   12.449817] ieee80211 phy0: firmware version: 0x7080004
[   12.809338] ieee80211 phy0: firmware region code: 10
[   12.851995] ieee80211 phy0: 2G disabled, 5G enabled
[   12.856895] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   12.862298] pci 0000:00:02.0: enabling device (0140 -> 0142)
[   12.868032] ieee80211 phy1: priv->iobase0 = e1380000
[   12.868043] ieee80211 phy1: priv->iobase1 = e1600000
[   12.868052] ieee80211 phy1: priv->pcmd_buf = dddf0000  priv->pphys_cmd_buf = 1ddf0000
[   12.874418] ieee80211 phy1: fw download start
[   12.939175] ieee80211 phy1: FwSize = 207660 downloaded Size = 207660 curr_iteration 65527
[   14.327325] ieee80211 phy1: fw download complete
[   14.327812] ieee80211 phy1: pcmd = dddf0000
[   14.345344] ieee80211 phy1: firmware version: 0x7080004
[   14.706323] ieee80211 phy1: firmware region code: 10
[   14.750021] ieee80211 phy1: 2G enabled, 5G disabled
[   14.754934] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[   14.762803] u32 classifier
[   14.765522]     input device check on
[   14.769196]     Actions configured
[   14.773037] Mirror/redirect action on
[   14.778285] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   14.790080] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.799009] mwifiex: rx work enabled, cpus 2
[   14.846998] usbcore: registered new interface driver ums-alauda
[   14.853672] usbcore: registered new interface driver ums-cypress
[   14.860218] usbcore: registered new interface driver ums-datafab
[   14.866723] usbcore: registered new interface driver ums-freecom
[   14.873187] usbcore: registered new interface driver ums-isd200
[   14.879542] usbcore: registered new interface driver ums-jumpshot
[   14.886112] usbcore: registered new interface driver ums-karma
[   14.892282] usbcore: registered new interface driver ums-sddr09
[   14.898499] usbcore: registered new interface driver ums-sddr55
[   14.904752] usbcore: registered new interface driver ums-usbat
[   14.917781] xt_time: kernel timezone is -0000
[   14.925132] PPP generic driver version 2.4.2
[   14.929843] NET: Registered protocol family 24
[   14.935112] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.469997] mwifiex_sdio mmc0:0001:1: info: FW download over, size 391772 bytes
[   15.831665] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[   15.864262] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
[   15.871261] mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during       initialization
[   15.890625] mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (15.68.7.p5)
[   15.898674] mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (15.68.7.p5)
[   16.052347] mvneta f1034000.ethernet eth0: configuring for fixed link mode
[   16.059309] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.065375] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.073372] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.081683] br-lan: port 1(eth0.1) entered blocking state
[   16.087106] br-lan: port 1(eth0.1) entered disabled state
[   16.092675] device eth0.1 entered promiscuous mode
[   16.097485] device eth0 entered promiscuous mode
[   16.103227] br-lan: port 1(eth0.1) entered blocking state
[   16.108650] br-lan: port 1(eth0.1) entered forwarding state
[   16.122758] mvneta f1070000.ethernet eth1: configuring for fixed link mode
[   16.130044] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   16.136169] mvneta f1070000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   16.144170] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   16.342477] pppoe-wan: renamed from ppp0
[   16.900336] ieee80211 phy1: change: 0xffffffff
[   17.006509] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   17.137396] ieee80211 phy0: change: 0xffffffff
[   17.271596] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   17.277594] br-lan: port 2(wlan1) entered blocking state
[   17.282955] br-lan: port 2(wlan1) entered disabled state
[   17.288408] device wlan1 entered promiscuous mode
[   17.293166] br-lan: port 2(wlan1) entered blocking state
[   17.298502] br-lan: port 2(wlan1) entered forwarding state
[   17.304255] br-lan: port 2(wlan1) entered disabled state
[   17.309734] br-lan: port 3(wlan0) entered blocking state
[   17.315091] br-lan: port 3(wlan0) entered disabled state
[   17.320543] device wlan0 entered promiscuous mode
[   17.327109] ieee80211 phy0: change: 0x100
[   17.344423] ieee80211 phy0: change: 0x40
[   17.380440] ieee80211 phy1: change: 0x100
[   17.392530] ieee80211 phy1: change: 0x42
[   17.593821] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   17.600257] br-lan: port 2(wlan1) entered blocking state
[   17.605603] br-lan: port 2(wlan1) entered forwarding state
[   17.611269] ieee80211 phy0: change: 0x40
[   17.671185] ieee80211 phy1: change: 0x20
[   17.861365] ieee80211 phy0: change: 0x40
[   17.993370] ieee80211 phy0: change: 0x100
[   18.060535] ieee80211 phy0: change: 0x100
[   18.073629] ieee80211 phy0: change: 0x42
[   18.341340] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   18.347812] br-lan: port 3(wlan0) entered blocking state
[   18.353170] br-lan: port 3(wlan0) entered forwarding state
 root@LEDE:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04e8:1f05 Samsung Electronics Co., Ltd S2 Portable [JMicron] (500GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

After i remove the cable and hotplug i get this additional lines in DMESG:

 #
[  527.103849] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[  527.134880] usb-storage 3-1:1.0: USB Mass Storage device detected
[  527.141155] scsi host3: usb-storage 3-1:1.0
[  528.154087] scsi 3:0:0:0: Direct-Access     Seagate  Expansion        1805 PQ: 0 ANSI: 6
[  529.455313] sd 3:0:0:0: [sdb] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB)
[  529.463210] sd 3:0:0:0: [sdb] Write Protect is off
[  529.468032] sd 3:0:0:0: [sdb] Mode Sense: 33 00 00 08
[  529.473381] sd 3:0:0:0: [sdb] No Caching mode page found
[  529.478724] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[  529.499962]  sdb: sdb1 sdb2
[  529.503903] sd 3:0:0:0: [sdb] Attached SCSI disk
[  612.132851] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts:
root@LEDE:~# lsusb
Bus 003 Device 002: ID 0bc2:231b Seagate RSS LLC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04e8:1f05 Samsung Electronics Co., Ltd S2 Portable [JMicron] (500GB)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 


25.07.2017931Base systemBug ReportVery LowHighOnboard Bluetooth not working on Raspberry Pi 3 BAllAssigned Task Description

I have tried LEDE 17.01.1 and 17.01.2 and i can’t get bluetooth running on raspberry pi 3.

It will not flash the firmware for the bluetooth controller on rpi3, when device is brought up:

root@LEDE:~# /usr/bin/hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -
bcm43xx_init
Patch not found for BCM43430A1, continue anyway
Set Controller UART speed to 921600 bit/s
Device setup complete

Instead of patch not found it should produce:
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd

I could not find this firmware via opkg, so i used a file from OpenELEC at
https://github.com/OpenELEC/misc-firmware/tree/master/firmware/brcm

This however won’t load and bluetooth is not initialized correctly and unusable:

root@LEDE:~# /usr/bin/hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -
bcm43xx_init
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
Initialization timed out

 


03.08.2017948PackagesBug ReportVery LowHighlua: on 64bit targets integer number truncation may occ...AllUnconfirmed Task Description

On 64bit target implementations (eg x86_64) and with LNUM on int32
mode (default), assignation of an integer number greater than
UINT_MAX (ie 4294967295), but lesser or equal than UINT_MAX +
0x7FFFFFFF + 1 (ie 6442450943) to a variable does result in
truncation of the final value stored in memory.

E.g.:

   > n=4294967296; print(n)
   0
   > n=6442450943; print(n)
   2147483647

Cause:
LNUM does perform a C-Style cast in the intermediate function wrapper
used to check for the fitness of numbers. This cast is not only unnecessary
but also brings on undefined behaviour on 64bit target implementations
where INT’s and LONG’s are of size 32 and 64bit respectively.

Fix:
Removal of the unnecessary cast in wrapper does bring back the ‘overflow detection’.

Regards, Víctor Calvís.

19.10.20171076PackagesBug ReportVery LowHighBugs about QCA9886AllWaiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on archer-c58-v1
- Software versions of LEDE release is the latest master version, and other versions have same bug.

  I noticed the memory is leaking after connected serveral devices with QCA9886,

that will cause system crash in the end. Before leaking, WIFI can work fine, but when memory is leaking, WIFI can not work anymore.

  My OS is latest lede(mac80211 version is backports-2017-10-06), 

and the board can work with QSDK.

  If you need more detail information, please let me know.
 


20.10.20171087KernelBug ReportVery LowHighLEDE snaphost: sunxi cortex-a7, BanaPi target: USB not ...TrunkUnconfirmed Task Description

Hi all
With snapshot r5117-fbde9ac, at least on a bananapi (cortex-a7) the USB ports are down, apparently there is some problem with VBUS (maybe DT problem?)
Here the dmesg after boot

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.57 (buildbot@builds) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5092-0d5c1d7) ) #0 SMP PREEMPT Wed Oct 18 21:26:15 2017
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=30c5387d
[    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: LeMaker Banana Pi
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 261738
[    0.000000] free_area_init_node: node 0, pgdat c0689140, node_mem_map ef7fa000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65130 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 14 pages/cpu @ef7c2000 s25036 r8192 d24116 u57344
[    0.000000] pcpu-alloc: s25036 r8192 d24116 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260202
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1030724K/1046952K available (4564K kernel code, 254K rwdata, 1384K rodata, 304K init, 282K bss, 16228K reserved, 0K cma-reserved, 260520K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc047d4b0   (4566 kB)
[    0.000000]       .init : 0xc05fe000 - 0xc064a000   ( 304 kB)
[    0.000000]       .data : 0xc064a000 - 0xc0689a40   ( 255 kB)
[    0.000000]        .bss : 0xc068b000 - 0xc06d1874   ( 283 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000528] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000769] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000939] Console: colour dummy device 80x30
[    0.000973] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000988] pid_max: default: 32768 minimum: 301
[    0.001112] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001123] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001736] CPU: Testing write buffer coherency: ok
[    0.002074] /cpus/cpu@0 missing clock-frequency property
[    0.002095] /cpus/cpu@1 missing clock-frequency property
[    0.002108] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002131] Setting up static identity map for 0x400082c0 - 0x40008318
[    0.170429] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.170531] Brought up 2 CPUs
[    0.170553] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.170561] CPU: All CPU(s) started in HYP mode.
[    0.170567] CPU: Virtualization extensions available.
[    0.181241] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.181967] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.181997] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.182161] pinctrl core: initialized pinctrl subsystem
[    0.183759] NET: Registered protocol family 16
[    0.184099] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.186420] No ATAGs?
[    0.252339] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.252404] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    0.252440] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    0.253608] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    0.254616] SCSI subsystem initialized
[    0.254990] libata version 3.00 loaded.
[    0.255707] usbcore: registered new interface driver usbfs
[    0.255854] usbcore: registered new interface driver hub
[    0.256010] usbcore: registered new device driver usb
[    0.256383] Linux video capture interface: v2.00
[    0.256631] pps_core: LinuxPPS API ver. 1 registered
[    0.256641] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.256729] PTP clock support registered
[    0.257496] Advanced Linux Sound Architecture Driver Initialized.
[    0.258937] clocksource: Switched to clocksource arch_sys_counter
[    0.260189] simple-framebuffer 7fe79000.framebuffer: framebuffer at 0x7fe79000, 0x178e00 bytes, mapped to 0xf0900000
[    0.260208] simple-framebuffer 7fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880
[    0.267397] Console: switching to colour frame buffer device 82x33
[    0.273147] simple-framebuffer 7fe79000.framebuffer: fb0: simplefb registered!
[    0.285894] NET: Registered protocol family 2
[    0.286811] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.286911] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.287040] TCP: Hash tables configured (established 8192 bind 8192)
[    0.287131] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.287195] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.287430] NET: Registered protocol family 1
[    0.287817] kvm [1]: 8-bit VMID
[    0.287830] kvm [1]: IDMAP page: 40009000
[    0.287838] kvm [1]: HYP VA range: c0000000:ffffffff
[    0.288171] kvm [1]: Hyp mode initialized successfully
[    0.288246] kvm [1]: vgic-v2@1c84000
[    0.288431] kvm [1]: vgic interrupt IRQ16
[    0.288462] kvm [1]: virtual timer IRQ20
[    0.290814] No memory allocated for crashlog
[    0.291097] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.301800] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.314490] bounce: pool size: 64 pages
[    0.314510] io scheduler noop registered
[    0.314518] io scheduler deadline registered
[    0.314823] io scheduler cfq registered (default)
[    0.315575] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.320516] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.422164] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.428293] console [ttyS0] disabled
[    0.448607] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.110648] console [ttyS0] enabled
[    1.138088] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.170870] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.229167] loop: module loaded
[    1.234708] libphy: Fixed MDIO Bus: probed
[    1.239475] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.245231] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.252200] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.258730] ehci-platform: EHCI generic platform driver
[    1.264410] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.270651] ohci-platform: OHCI generic platform driver
[    1.276342] usbcore: registered new interface driver usb-storage
[    1.282746] mousedev: PS/2 mouse device common for all mice
[    1.289486] i2c /dev entries driver
[    1.295415] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.305385] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.389162] sunxi-mmc 1c0f000.mmc: base:0xf08db000 irq:28
[    1.395627] sun4i-ss 1c15000.crypto-engine: no reset control found
[    1.403543] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    1.414955] NET: Registered protocol family 10
[    1.424080] NET: Registered protocol family 17
[    1.428624] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.441620] can: controller area network core (rev 20120528 abi 9)
[    1.448031] NET: Registered protocol family 29
[    1.452516] 8021q: 802.1Q VLAN Support v1.8
[    1.456824] Registering SWP/SWPB emulation handler
[    1.471934] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.477695] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.491416] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.502100] mmc0: new high speed SDHC card at address b368
[    1.518287] mmcblk0: mmc0:b368       3.75 GiB
[    1.523991]  mmcblk0: p1 p2
[    1.599006] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[    1.604587] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported
[    1.611833] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[    1.625337] libphy: stmmac: probed
[    1.628759] sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    1.640432] sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    1.654246] hctosys: unable to open rtc device (rtc0)
[    1.660155] vcc3v0: disabling
[    1.663134] vcc5v0: disabling
[    1.666099] usb0-vbus: disabling
[    1.669415] usb1-vbus: disabling
[    1.672648] usb2-vbus: disabling
[    1.675876] ALSA device list:
[    1.678840]   No soundcards found.
[    1.684092] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.693047] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.705706] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.713316] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.720717] Freeing unused kernel memory: 304K
[    1.725156] This architecture does not have kernel memory protection.
[    1.808884] init: Console is alive
[    1.812591] init: - watchdog -
[    1.991859] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.109062] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    2.116602] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    2.122530] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    2.131547] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc
[    2.140601] scsi host0: ahci-sunxi
[    2.144486] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 33
[    2.480406] ata1: SATA link down (SStatus 0 SControl 300)
[    2.497140] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.514855] init: - preinit -
[    2.661278] random: jshn: uninitialized urandom read (4 bytes read)
[    2.692999] random: jshn: uninitialized urandom read (4 bytes read)
[    2.715326] random: jshn: uninitialized urandom read (4 bytes read)
[    2.738512] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=-1)
[    2.850208] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[    2.857528] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[    2.865213] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[    2.873355] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.973285] mount_root: mounting /dev/root
[    5.980967] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.013747] random: fast init done
[    6.249292] random: crng init done
[    6.398432] urandom-seed: Seeding with /etc/urandom.seed
[    6.439739] procd: - early -
[    6.442722] procd: - watchdog -
[    7.304303] procd: - watchdog -
[    7.307745] procd: - ubus -
[    7.362615] procd: - init -
[    7.508699] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.518215] tun: Universal TUN/TAP device driver, 1.6
[    7.523343] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    7.536218] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    7.547403] nat46: module (version 683fbd2b765506332a1af141545652bf58f03166) loaded.
[    7.559700] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.579497] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    7.608815] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    7.615784] sunxi-rtc 1c20d00.rtc: RTC enabled
[    7.634093] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[    7.642374] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[    7.651300] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.683086] xt_time: kernel timezone is -0000
[    7.721723] PPP generic driver version 2.4.2
[    7.727180] NET: Registered protocol family 24
[    7.738129] usbcore: registered new interface driver rtl8xxxu
[    7.766983] usbcore: registered new interface driver rt2800usb
[    7.777447] usbcore: registered new interface driver ath9k_htc
[    7.783580] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.097688] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=-1)
[   10.110360] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[   10.117709] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[   10.125620] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[   10.132954] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.148402] br-lan: port 1(eth0.2) entered blocking state
[   10.153968] br-lan: port 1(eth0.2) entered disabled state
[   10.160321] device eth0.2 entered promiscuous mode
[   10.165148] device eth0 entered promiscuous mode
[   10.174920] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   10.235364] IPv6: ADDRCONF(NETDEV_UP): eth0.3: link is not ready
[   10.498273] IPv6: ADDRCONF(NETDEV_UP): tayga-nat64: link is not ready
[   10.566999] IPv6: ADDRCONF(NETDEV_CHANGE): tayga-nat64: link becomes ready
[   14.329769] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   14.337986] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.345064] br-lan: port 1(eth0.2) entered blocking state
[   14.350507] br-lan: port 1(eth0.2) entered forwarding state
[   14.356467] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.3: link becomes ready
[   14.363451] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

 


23.10.20171102KernelBug ReportVery LowHighKernel crash on mt7621 at mm/slub.cTrunkUnconfirmed Task Description

I have recurrent crashes when using my wg3526 based on mt76 for long time. The wifi 2.4 ghz is activated (mt7603 driver), but 5ghz is not.

<4>[19202.879743] ------------[ cut here ]------------
<4>[19202.884402] WARNING: CPU: 3 PID: 0 at mm/slub.c:3843 ksize+0xe0/0xf8
<4>[19202.890789] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[19202.961498]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[19203.032447] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.54 #0
<4>[19203.039549] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[19203.047897]         8fc5499c 804ebea7 80482c5c 00000003 00000000 80553824 02080020 8fd3705c
<4>[19203.056241]         804e95fc 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc21ce0
<4>[19203.064589]         00000003 800a9fd0 02080020 8fd3705c 0000329a 00000007 8f21db00 00c21ce0
<4>[19203.072937]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[19203.081299]         ...
<4>[19203.083744] Call Trace:
<4>[19203.086218] [<8000f814>] show_stack+0x54/0x88
<4>[19203.090590] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[19203.094939] [<8002bdc4>] __warn+0xe4/0x118
<4>[19203.099026] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[19203.104081] [<800e882c>] ksize+0xe0/0xf8
<4>[19203.107999] [<802d90d0>] pskb_expand_head+0x98/0x23c
<4>[19203.112958] [<8032aa28>] ip_forward+0x374/0x45c
<4>[19203.117474] [<803294c8>] ip_rcv+0x2b8/0x320
<4>[19203.121653] [<802e98d0>] __netif_receive_skb_core+0x718/0x970
<4>[19203.127384] [<802eb7bc>] process_backlog+0x9c/0x160
<4>[19203.132248] [<802eb55c>] net_rx_action+0x138/0x2fc
<4>[19203.137033] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[19203.141726] [<8002fc18>] irq_exit+0x7c/0x98
<4>[19203.145913] [<8020e3d0>] plat_irq_dispatch+0xb4/0xdc
<4>[19203.150866] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[19203.155842] [<80064fc4>] cpu_startup_entry+0x104/0x170
<4>[19203.161091] ---[ end trace 09207f98d12feebb ]---
<4>[19203.165803] Kernel bug detected[#1]:
<1>[19203.165897] CPU 3 Unable to handle kernel paging request at virtual address 00004000, epc == 800eb628, ra == 800eb5ac
<4>[19203.179938] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[19203.187042] task: 804ebfa0 task.stack: 804dc000
<4>[19203.191547] $ 0   : 00000000 80550000 81026b40 00000001
<4>[19203.196767] $ 4   : 00000000 81026b53 000f0000 811da600
<4>[19203.201984] $ 8   : 804f0000 80584864 8fc0df54 8fc0df54
<4>[19203.207198] $12   : 11000000 ffffffff 00000000 0000002d
<4>[19203.212415] $16   : 8eaaa600 8ffa1308 8ffa1000 0000007d
<4>[19203.217631] $20   : 000000ca 0000003f 8ffa1308 00000018
<4>[19203.222846] $24   : 00000000 8000c30c                  
<4>[19203.228063] $28   : 804dc000 8fc0de3c ffffffff 802d5e00
<4>[19203.233278] Hi    : 00000003
<4>[19203.236139] Lo    : 00000000
<4>[19203.239036] epc   : 800e9b90 kfree+0x78/0x1a4
<4>[19203.243394] ra    : 802d5e00 __kfree_skb+0x14/0xa4
<4>[19203.248157] Status: 11008403      KERNEL EXL IE 
<4>[19203.252333] Cause : 50800034 (ExcCode 0d)
<4>[19203.256319] PrId  : 0001992f (MIPS 1004Kc)
<4>[19203.260389] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[19203.330928]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]Process swapper/0 (pid: 0, threadinfo=804dc000, task=804ebfa0, tls=00000000)
<4>[19203.408441] Stack : 000000ca 0000003f 8ffa1308 00000018 8ef712d8 802b0400 0003000f 802b2240
<4>[19203.416786]         8e245c60 8eaa10c0 00000000 aef74b40 00000001 8ffa14b8 000000c9 802b2658
<4>[19203.425131]         803f7afc 8149e440 802e6138 00000001 0000012b 80510000 804df9c0 00000001
<4>[19203.433476]         8fdc7900 00000001 80580000 0000000f 00030000 9bfe8000 01000000 00000010
<4>[19203.441822]         30000000 8009483c 0e245ca0 01000000 0f2d4480 00000004 00000040 804df9c0
<4>[19203.450167]         ...
<4>[19203.452603] Call Trace:
<4>[19203.455038] [<800e9b90>] kfree+0x78/0x1a4
<4>[19203.459038] [<802d5e00>] __kfree_skb+0x14/0xa4
<4>[19203.463475] [<802b0400>] fe_txd_unmap+0xd4/0xec
<4>[19203.467986] [<802b2658>] fe_poll+0x134/0x700
<4>[19203.472243] [<802eb55c>] net_rx_action+0x138/0x2fc
<4>[19203.477022] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[19203.481705] [<8002fc18>] irq_exit+0x7c/0x98
<4>[19203.485882] [<8020e3d0>] plat_irq_dispatch+0xb4/0xdc
<4>[19203.490831] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[19203.495777] [<8000c324>] r4k_wait_irqoff+0x18/0x20
<4>[19203.500572] [<80064fc4>] cpu_startup_entry+0x104/0x170
<4>[19203.505712] [<80513be4>] start_kernel+0x47c/0x49c
<4>[19203.510392] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
<4>[19203.520132] 
<4>[19203.521619] Oops[#2]:
<4>[19203.521836] ---[ end trace 09207f99d12feebb ]---

===================================
Time: 1508726234.629265
<0>[19203.526701] Kernel panic - not syncing: Fatal exception in interrupt
<4>[82713.077406] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82713.085754]         804ec2bc 804ebea7 80482c5c 00000000 00000000 80553824 00000054 8f295a00
<4>[82713.094099]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc0dd90
<4>[82713.102444]         00000003 800a9fd0 00000054 8f295a00 0000f7f3 00000007 00000000 00c0dd90
<4>[82713.110789]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82713.119130]         ...
<4>[82713.121567] Call Trace:
<4>[82713.124029] [<8000f814>] show_stack+0x54/0x88
<4>[82713.128386] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82713.132727] [<8002bdc4>] __warn+0xe4/0x118
<4>[82713.136803] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82713.141876] [<8f28c124>] mt7603_mac_fill_rx+0x2b0/0x3a8 [mt7603e]
<4>[82713.147957] [<8f28ae30>] mt7603_queue_rx_skb+0x9c/0xe4 [mt7603e]
<4>[82713.153958] [<8f284d6c>] mt76_dma_attach+0xa9c/0xc94 [mt76]
<4>[82713.159601] ---[ end trace 30529a2ab5a2f517 ]---
<4>[82713.164302] ------------[ cut here ]------------
<4>[82713.169064] WARNING: CPU: 0 PID: 0 at backports-2017-10-06/net/mac80211/rx.c:4321 ieee80211_rx_napi+0xa8/0x964 [mac80211]
<4>[82713.180018] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82713.250675]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[82713.321600] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[82713.328698] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82713.337045]         804ec2bc 804ebea7 80482c5c 00000000 00000000 80553824 00000001 8f295a00
<4>[82713.345391]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc0dd38
<4>[82713.353736]         00000003 800a9fd0 00000001 8f295a00 0000f997 00000007 00000008 00c0dd38
<4>[82713.362081]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82713.370424]         ...
<4>[82713.372859] Call Trace:
<4>[82713.375308] [<8000f814>] show_stack+0x54/0x88
<4>[82713.379658] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82713.383995] [<8002bdc4>] __warn+0xe4/0x118
<4>[82713.388071] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82713.393195] [<8f325b94>] ieee80211_rx_napi+0xa8/0x964 [mac80211]
<4>[82713.399231] [<8f2858b4>] mt76_rx_complete+0x88/0x118 [mt76]
<4>[82713.404794] [<8f284e7c>] mt76_dma_attach+0xbac/0xc94 [mt76]
<4>[82713.410438] ---[ end trace 30529a2bb5a2f517 ]---
<4>[82715.996390] ------------[ cut here ]------------
<4>[82716.001062] WARNING: CPU: 3 PID: 0 at mm/slub.c:3843 ksize+0xe0/0xf8
<4>[82716.007380] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82716.078197]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[82716.149239] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.54 #0
<4>[82716.156343] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82716.164705]         8fc5499c 804ebea7 80482c5c 00000003 00000000 80553824 8f3a4000 8edd5c80
<4>[82716.173065]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc21940
<4>[82716.181427]         00000003 800a9fd0 8f3a4000 8edd5c80 0000fb43 00000007 8e826084 00c21940
<4>[82716.189786]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82716.198143]         ...
<4>[82716.200587] Call Trace:
<4>[82716.203059] [<8000f814>] show_stack+0x54/0x88
<4>[82716.207424] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82716.211774] [<8002bdc4>] __warn+0xe4/0x118
<4>[82716.215861] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82716.220915] [<800e882c>] ksize+0xe0/0xf8
<4>[82716.224832] [<802d90d0>] pskb_expand_head+0x98/0x23c
<4>[82716.229996] [<8f329150>] ieee80211_probereq_get+0xb48/0x190c [mac80211]
<4>[82716.236678] [<80064264>] __wake_up_common+0x64/0xb4
<4>[82716.241619] ---[ end trace 30529a2cb5a2f517 ]---
<4>[82716.246369] Kernel bug detected[#1]:
<1>[82716.246495] CPU 3 Unable to handle kernel paging request at virtual address 00004000, epc == 800eb628, ra == 800eb5ac
<4>[82716.260496] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[82716.267598] task: 804ebfa0 task.stack: 804dc000
<4>[82716.272101] $ 0   : 00000000 80550000 81026960 00000001
<4>[82716.277321] $ 4   : 00000000 81026973 000f0000 811cb400
<4>[82716.282538] $ 8   : 804f0000 801eb464 8fc0df54 8fc0df54
<4>[82716.287752] $12   : 11000000 00000000 00000000 00000005
<4>[82716.292968] $16   : 8d488000 8f295540 8ff23064 8f295b7c
<4>[82716.298183] $20   : 00000002 8f295b78 00000000 00000009
<4>[82716.303399] $24   : 00000000 8000c30c                  
<4>[82716.308613] $28   : 804dc000 8fc0de9c 802044f7 802d5e00
<4>[82716.313831] Hi    : 00000004
<4>[82716.316692] Lo    : 00000000
<4>[82716.319581] epc   : 800e9b90 kfree+0x78/0x1a4
<4>[82716.323940] ra    : 802d5e00 __kfree_skb+0x14/0xa4
<4>[82716.328701] Status: 11008403      KERNEL EXL IE 
<4>[82716.332884] Cause : 50800034 (ExcCode 0d)
<4>[82716.336872] PrId  : 0001992f (MIPS 1004Kc)
<4>[82716.340942] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82716.411537]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]Process swapper/0 (pid: 0, threadinfo=804dc000, task=804ebfa0, tls=00000000)
<4>[82716.489176] Stack : 00000002 8f2955b0 8f295540 8ff23064 8f2955b0 8f2849f0 9bfe8000 8006d534
<4>[82716.497539]         8fc35480 00000001 00000000 00000000 00000000 00000000 00000070 804f0000
<4>[82716.505899]         00010000 8d488000 8df26790 00000001 8f295540 00000001 ffffffff 00000002
<4>[82716.514260]         00000000 804de040 00000100 0000000a 00000018 8f28ab70 80580000 80580000
<4>[82716.522625]         00000004 8006c99c 8f296188 8054121c 804e95fc 8003020c 00000006 8020f290
<4>[82716.530989]         ...
<4>[82716.533431] Call Trace:
<4>[82716.535883] [<800e9b90>] kfree+0x78/0x1a4
<4>[82716.539897] [<802d5e00>] __kfree_skb+0x14/0xa4
<4>[82716.544372] [<8f2849f0>] mt76_dma_attach+0x720/0xc94 [mt76]
<4>[82716.549930] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
<4>[82716.559695] 
<4>[82716.561183] Oops[#2]:
<4>[82716.561433] ---[ end trace 30529a2db5a2f517 ]---

===================================
Time: 1508284734.35088
05.11.20171148Base systemBug ReportVery LowHighAR7 images for Fritz!Box 7170 build but do not bootTrunkUnconfirmed Task Description

Hi there,
I’m trying to get the latest LEDE with Kernel 4.9 up and running with an old Fritz!Box 7170 (ar7/EVA).
The images build fine but they are not booting at all.

Is someone able to help? I have tried to collect the “internet knowledge” about this device in this github.
I also found some very old OpenWRT patches (1)(2) for whom I don’t know if they were ever integrated in master.
I’m not a developer myself, so I don’t even know how to integrate patches to try them out.

I also created a forum thread if anyone has some more tips or ideas.

06.11.20171153Base systemFeature RequestVery LowHighConsider security monitoring featuresTrunkUnconfirmed Task Description

I see it as email notification about security events.

Examples of security events:

  • Attempts to bruteforce SSH password.
  • Appear unknown MAC’s in network.
  • Deauthentication attacks on Wi-Fi.

Monitoring is very important part of security.

25.11.20171192Base systemBug ReportVery LowHigh2.4Ghz wifi AP on mt7621 / Afoundry EW1200 doesn't workTrunkUnconfirmed Task Description

Hi LEDE folks!

I’m running the latest snapshot (r5406-5e6792e) of LEDE on an Afoundry EW1200. It’s a vast improvement from the stock firmware - my heartfelt gratitude to the author(s) of the port.

There’s one problem. 5Ghz wifi works fine but 2.4Ghz doesn’t. It detects my 2.4Ghz device and when I hit “scan” in LuCI it returns a list of nearby SSIDs.

But when I try to configure the device as an access point it isn’t visible to any of my devices. I’ve tried various channels / settings but nothing makes a difference.

Steps to reproduce:

1. Install LEDE r5406-5e6792e snapshot (latest at the time of writing) on an Afoundry EW1200
2. Use opkg to install LuCI [NB: I don’t think LuCI is to blame; it’s just the interface I use]
3. In Network/Wireless hit “Scan” for “Generic MAC80211 802.11bgn” and verify it can detect other people’s networks
4. Back in Network/Wireless, hit add (or edit) to configure an access point on that device. Use any settings you like.
5. LuCI shows the AP as running but no other device can detect the SSID it’s broadcasting.

22.01.20181286Base systemBug ReportVery LowHighNetwork startup happens too late with kernel 4.14TrunkUnconfirmed Task Description

Software version: r5917-36f1978a70-x86-64, device: x86-64 PC.

I’ve built 2 versions - one with default kernel 4.9 and another one with kernel 4.14.

The version with kernel 4.9 works fine. Netifd sets up network interfaces, after that another daemons are started.

The version with kernel 4.14 does not work as expected. Another daemons are started before network interface setup. In my case, this prevents the VPN server from working correctly. I have to manually restart VPN service after every reboot. This may potentially affect another software.

I have attached the log files. Please note the startup order as found in the log files:

kernel 4.9: netifd interface setup → block → dropbear → xl2tpd → openvpn
kernel 4.14: block → dropbear → xl2tpd → openvpn → netifd interface setup

I have no idea how a kernel version may affect the startup order. Maybe there is a kind of race condition.


29.01.20181311Base systemBug ReportVery LowHighprocd: mount /tmp with zramTrunkNew Task Description

Supply the following if possible:
- Device problem occurs on all device
- Software versions of OpenWrt/LEDE: Trunk

If i select this option in menuconfig, At the boot procd mount the wrong size of ram. I have 512mb of ram and procd mount only 11mb of ram. More detail here.
http://lists.infradead.org/pipermail/lede-dev/2018-January/011008.html

https://forum.lede-project.org/t/no-space-left-in-tmp/11000/14


01.02.20181317Base systemBug ReportVery LowHighom2p-lc sysupgrade fails silentlyTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Openmesh om2p-lc
- Software versions of OpenWrt/LEDE release, packages, etc.
LEDE Reboot SNAPSHOT r5360-a8a23ca

- Steps to reproduce
sysupgrade -n /tmp/lede-ar71xx-generic-om2p-squashfs-sysupgrade.bin
Sysupgrade appears to go through the motions but firmware doesn’t upgrade and doesn’t delete config files with the -n switch.
I’ve tried the factory and the sysupgrade file with the same results. This build upgrades as expedted with a tl-mr3420-v2 and tl-wr740n-v4.

Not sure if it’s related but the om-watchdog init script also fails to detect the board type so doesn’t start.
Changing this line in the /etc/init.d/om-watchdog init script gets the watchdog to start which make me think it’s an identification issue.
local board=$(ar71xx_board_name)
change to
local board=$(cat /tmp/sysinfo/board_name)

 


11.02.20181347Base systemBug ReportVery LowHighAsus WL500GP V2 reboots when you`re trying to send fileAllUnconfirmed Task Description

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

 

I`m using Asus WL500GP V2 with Huawei E3372s with HiLink fw (I tested stick fw too). I`ve tried all LEDE versions. You can reproduce easily, just try to attach file to letter, or send file to cloud. 99% that router will reboot.

19.02.20181374PackagesBug ReportVery LowHighubox: logd memory leak AllUnconfirmed Task Description

I checked the use of memory with `top` command and saw that the logd was consuming memory disproportionately (around 60MB).

```
PID PPID USER STAT VSZ VSZ %CPU COMMAND
971 1 root S 59768 48% 0% /sbin/logd -S 64
```

- There was no remote log configured.
- I was using logread -f for a long time.
- When doing an /etc/init.d/log restart the consumed memory returned to normality.
- ubox version:

```
PKG_SOURCE_DATE:=2017-09-01
PKG_SOURCE_VERSION:=b1bc8d5fb874cdd22701a08d0fb0de4330f86814
PKG_MIRROR_HASH:=b07e750d941d691e2745aa3a058e504966b15d1db5636162dc686bad275eb296
```


16.03.20181437Base systemBug ReportVery LowHighTrunk r6421 not save configuration on ER3.TrunkUnconfirmed Task Description

Problem on ER3 r6421.

Flashing success, but not save configuration. Every time i'm reboot, router roll back to default config.

Here are serial output:

## Loading Linux kernel with entry point: 0xffffffff815efa20 ...
Bootloader: Done loading app on coremask: 0x3
[    0.000000] Linux version 4.14.25 (teq@teqdesk) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6302-0f54d96d24)) #0 SMP Sun Mar 18
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0000000005400000 @ 0000000002a00000 (usable)
[    0.000000]  memory: 0000000007c00000 @ 0000000008200000 (usable)
[    0.000000]  memory: 000000000fc00000 @ 0000000410000000 (usable)
[    0.000000]  memory: 0000000001826e20 @ 0000000001100000 (usable)
[    0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using internal Device Tree.
[    0.000000] software IO TLB [mem 0x0398e000-0x0798e000] (64MB) mapped at [800000000398e000-800000000798dfff]
[    0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[    0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000efffffff]
[    0.000000]   Normal   [mem 0x00000000f0000000-0x000000041fbfffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000002925fff]
[    0.000000]   node   0: [mem 0x0000000002a00000-0x0000000007dfffff]
[    0.000000]   node   0: [mem 0x0000000008200000-0x000000000fdfffff]
[    0.000000]   node   0: [mem 0x0000000410000000-0x000000041fbfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000041fbfffff]
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 19 pages/cpu @80000000079f9000 s39344 r8192 d30288 u77824
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 126539
[    0.000000] Kernel command line: mtdparts=phys_mapped_flash:512k(boot0)ro,512k(boot1)ro,64k(eeprom)ro root=/dev/sda2 root0
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Memory: 396916K/513176K available (5086K kernel code, 330K rwdata, 1236K rodata, 1328K init, 16731K bss, 1162)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 127
[   13.844962] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[   13.855830] Calibrating delay loop (skipped) preset value.. 1000.00 BogoMIPS (lpj=2000000)
[   13.864040] pid_max: default: 32768 minimum: 301
[   13.868767] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[   13.875252] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[   13.882962] Checking for the daddi bug... no.
[   13.888198] Hierarchical SRCU implementation.
[   13.893207] smp: Bringing up secondary CPUs ...
[   13.898265] SMP: Booting CPU01 (CoreId  1)...
[   13.902655] CPU1 revision is: 000d0601 (Cavium Octeon+)
[   13.902885] smp: Brought up 1 node, 2 CPUs
[   13.916204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[   13.925852] futex hash table entries: 512 (order: 4, 65536 bytes)
[   13.932600] NET: Registered protocol family 16
[   13.947309] Not in host mode, PCI Controller not initialized
[   13.968490] SCSI subsystem initialized
[   13.972686] usbcore: registered new interface driver usbfs
[   13.978233] usbcore: registered new interface driver hub
[   13.983653] usbcore: registered new device driver usb
[   13.990959] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[   13.998255] NET: Registered protocol family 2
[   14.003415] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   14.010447] TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
[   14.016998] TCP: Hash tables configured (established 4096 bind 4096)
[   14.023382] UDP hash table entries: 256 (order: 2, 24576 bytes)
[   14.029247] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes)
[   14.035842] NET: Registered protocol family 1
[   14.041861] Crashlog allocated RAM at address 0x3f00000
[   14.047176] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[   14.065676] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   14.071763] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   14.086436] io scheduler noop registered
[   14.090468] io scheduler deadline registered (default)
[   14.096184] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[   14.103985] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.111417] console [ttyS0] disabled
[   14.114893] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 31250000) is a OCTEON
[   14.124683] console [ttyS0] enabled
[   14.124683] console [ttyS0] enabled
[   14.131607] bootconsole [early0] disabled
[   14.131607] bootconsole [early0] disabled
[   14.140285] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 42, base_baud = 31250000) is a OCTEON
[   14.150793] octeon_rng octeon_rng: Octeon Random Number Generator
[   14.157467] cacheinfo: Failed to find cpu0 device node
[   14.162685] cacheinfo: Unable to detect cache hierarchy for CPU 0
[   14.175673] loop: module loaded
[   14.179780] of-flash 1f400000.nor: Can't get bank width from device tree
[   14.187061] libphy: mdio_octeon: probed
[   14.191005] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@7: Whitelisted compatible string. Please remove
[   14.202182] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@6: Whitelisted compatible string. Please remove
[   14.213362] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@5: Whitelisted compatible string. Please remove
[   14.224507] mdio_octeon 1180000001800.mdio: Probed
[   14.229932] libphy: Fixed MDIO Bus: probed
[   14.234303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.240892] ehci-platform: EHCI generic platform driver
[   14.246401] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   14.252671] ohci-platform: OHCI generic platform driver
[   14.258302] usbcore: registered new interface driver usb-storage
[   14.264425] octeon_wdt: Initial granularity 5 Sec
[   14.273052] Interface 0 has 3 ports (RGMII)
[   14.281525] octeon-hcd 16f0010000000.usbc: Octeon Host Controller
[   14.287752] octeon-hcd 16f0010000000.usbc: new USB bus registered, assigned bus number 1
[   14.295976] octeon-hcd 16f0010000000.usbc: irq 56, io mem 0x00000000
[   14.303455] hub 1-0:1.0: USB hub found
[   14.307394] hub 1-0:1.0: 1 port detected
[   14.311991] octeon-hcd 16f0010000000.usbc: Registered HCD for port 0 on irq 56
[   14.320877] NET: Registered protocol family 10
[   14.327445] Segment Routing with IPv6
[   14.331299] NET: Registered protocol family 17
[   14.335870] 8021q: 802.1Q VLAN Support v1.8
[   14.340407] Bootbus flash: Setting flash for 4MB flash at 0x1f800000
[   14.346967] phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0000a7
[   14.357360] Amd/Fujitsu Extended Query Table at 0x0040
[   14.362566]   Amd/Fujitsu Extended Query version 1.1.
[   14.367649] phys_mapped_flash: Swapping erase regions for top-boot CFI table.
[   14.374815] number of CFI chips: 1
[   14.378278] 3 cmdlinepart partitions found on MTD device phys_mapped_flash
[   14.385191] Creating 3 MTD partitions on "phys_mapped_flash":
[   14.390979] 0x000000000000-0x000000080000 : "boot0"
[   14.397066] 0x000000080000-0x000000100000 : "boot1"
[   14.403212] 0x000000100000-0x000000110000 : "eeprom"
[   14.411056] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[   14.418316] Waiting for root device /dev/sda2...
[   14.694990] usb 1-1: new high-speed USB device number 2 using octeon-hcd
[   15.157589] usb-storage 1-1:1.0: USB Mass Storage device detected
[   15.164285] scsi host0: usb-storage 1-1:1.0
[   16.377528] scsi 0:0:0:0: Direct-Access     SRT      USB              1100 PQ: 0 ANSI: 4
[   16.387726] sd 0:0:0:0: [sda] 15765504 512-byte logical blocks: (8.07 GB/7.52 GiB)
[   16.396124] sd 0:0:0:0: [sda] Write Protect is off
[   16.401790] sd 0:0:0:0: [sda] No Caching mode page found
[   16.407211] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   16.417477]  sda: sda1 sda2
[   16.423799] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   16.435439] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[   16.443711] Freeing unused kernel memory: 1328K
[   16.448300] This architecture does not have kernel memory protection.
[   16.979499] init: Console is alive
[   16.983324] init: - watchdog -
[   17.607797] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   17.722469] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   17.740277] init: - preinit -
[   18.930430] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   20.963071] eth0: 1000 Mbps Full duplex, port 0, queue 0
[   20.968484] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.208639] mount_root: rootdisk overlay filesystem has not been formatted yet
sh: mkfs.f2fs: not found
[   22.221786] mount_root: no usable overlay filesystem found, using tmpfs overlay
[   23.377720] random: crng init done
[   23.407105] urandom-seed: Seed file not found (/etc/urandom.seed)
[   23.538293] eth0: Link down
[   23.551669] procd: - early -
[   23.554692] procd: - watchdog -
[   24.221523] procd: - watchdog -
[   24.225235] procd: - ubus -
[   24.364194] procd: - init -
Please press Enter to activate this console.
[   24.943579] kmodloader: loading kernel modules from /etc/modules.d/*
[   24.964605] l2tp_core: L2TP core driver, V2.0
[   24.970234] l2tp_netlink: L2TP netlink interface
[   24.980069] gre: GRE over IPv4 demultiplexor driver
[   24.987409] ip_gre: GRE over IPv4 tunneling driver
[   25.001262] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   25.289771] Netfilter messages via NETLINK v0.30.
[   25.297611] ip_set: protocol 6
[   25.337788] cryptodev: driver 1.9 loaded.
[   25.358006] u32 classifier
[   25.360794]     input device check on
[   25.364596]     Actions configured
[   25.371338] Mirror/redirect action on
[   25.386211] nf_conntrack version 0.5.0 (3584 buckets, 14336 max)
[   25.405328] ip_tables: (C) 2000-2006 Netfilter Core Team
[   25.553490] ctnetlink v0.93: registering with nfnetlink.
[   25.698364] wireguard: WireGuard 0.0.20180304 loaded. See www.wireguard.com for information.
[   25.706931] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   25.765405] xt_time: kernel timezone is -0000
[   25.858495] PPP generic driver version 2.4.2
[   25.865711] PPP MPPE Compression module registered
[   25.872986] NET: Registered protocol family 24
[   25.879616] PPTP driver version 0.8.5
[   25.888062] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   25.896812] kmodloader: done loading kernel modules from /etc/modules.d/*
[   32.622166] br-lan: port 1(eth0) entered blocking state
[   32.627510] br-lan: port 1(eth0) entered disabled state
[   32.633218] device eth0 entered promiscuous mode
[   32.648210] br-lan: port 1(eth0) entered blocking state
[   32.653545] br-lan: port 1(eth0) entered forwarding state
[   32.659197] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   32.700308] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   33.645742] br-lan: port 1(eth0) entered disabled state
[   34.746429] eth0: 1000 Mbps Full duplex, port 0, queue 0
[   34.763064] br-lan: port 1(eth0) entered blocking state
[   34.768376] br-lan: port 1(eth0) entered forwarding state
[   34.807116] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   35.811122] eth1: 1000 Mbps Full duplex, port 1, queue 1
[   35.816578] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   39.261056] MTD: Attempt to mount non-MTD device "/dev/loop0"
27.04.20181520Base systemFeature RequestVery LowHighCOMFAST CF-E380AC Switch 'VLAN' FeaturesTrunkUnconfirmed Task Description

Currently on LEDE version: LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685)

There is no Switch feature under LUCI menu Network. In other words, I’d like to create a VLAN tagging from the main router(which already has VLAN Switch capabilities) to be able to have VLAN capabilities for multiple WLAN Virtual Interfaces.

Is it possible to do this for this AP?
thanks

23.05.20181559Base systemBug ReportVery LowHighSystem fails to start up correctly, with 2 dnsmasq/ujai...TrunkUnconfirmed Task Description

I have noticed frequent problems with OpenWrt trunk: about 30% of the time it doesn’t start up correctly (but it seems to boot OK and dmesg messages seem fine), ps shows two dnsmasq/ujail processes (note: I’ve been using ujail for the past 2+ years, without serious problems other than  FS#878 ).

When OpenWrt gets stuck with 2 dnsmasq/ujail processes, invoking logread produces the error: “Failed to find log object: Not found” multiple times. If I kill the ujail/dnsmasq processes OpenWrt will just reboot (!)

I’ve tested this on two different OpenWrt VMs and on two different systems running VBox 5.1 and 5.2 under Ubuntu.

Here is what a ps looks like when the LEDE VM has booted normally:

root@10.0.3.141's password: 


BusyBox v1.28.3 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r6965-9c0ddafd46
 -----------------------------------------------------
root@OpenWrt:~# ps
  PID USER       VSZ STAT COMMAND
    1 root     13384 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW   [kworker/0:0]
    4 root         0 IW<  [kworker/0:0H]
    5 root         0 IW   [kworker/u2:0]
    6 root         0 IW<  [mm_percpu_wq]
    7 root         0 SW   [ksoftirqd/0]
    8 root         0 IW   [rcu_sched]
    9 root         0 IW   [rcu_bh]
   10 root         0 SW   [migration/0]
   11 root         0 SW   [cpuhp/0]
   12 root         0 IW<  [netns]
   13 root         0 IW   [kworker/u2:1]
   17 root         0 IW   [kworker/0:1]
   95 root         0 SW   [oom_reaper]
   96 root         0 IW   [kworker/u2:2]
  232 root         0 IW<  [writeback]
  234 root         0 IW<  [crypto]
  235 root         0 IW<  [kintegrityd]
  237 root         0 IW<  [kblockd]
  304 root         0 IW<  [ata_sff]
  325 root         0 IW<  [watchdogd]
  379 root         0 IW   [kworker/u2:3]
  439 root         0 SW   [kswapd0]
  525 root         0 IW<  [pencrypt]
  527 root         0 IW<  [pdecrypt]
  554 root         0 IW<  [acpi_thermal_pm]
  623 root         0 SW   [scsi_eh_0]
  624 root         0 IW<  [scsi_tmf_0]
  627 root         0 SW   [scsi_eh_1]
  638 root         0 IW<  [scsi_tmf_1]
  641 root         0 SW   [scsi_eh_2]
  642 root         0 IW<  [scsi_tmf_2]
  645 root         0 IW<  [ipv6_addrconf]
  646 root         0 IW   [kworker/u2:4]
  724 root         0 IW<  [kworker/0:1H]
  732 root         0 IW<  [ext4-rsv-conver]
  818 root         0 IW<  [ext4-rsv-conver]
  973 root      9012 S    /sbin/ubusd
  978 root      2744 S    /sbin/askfirst /usr/libexec/login.sh
  979 root      3112 S    /bin/ash --login
 1273 root         0 IW<  [cfg80211]
 1512 root      7064 S    /sbin/logd -S 64
 1743 root     15564 S    /sbin/netifd
 1800 root     11260 S    /usr/sbin/odhcpd
 1860 root      2944 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
 2149 root      3108 S    udhcpc -p /var/run/udhcpc-eth1.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth1 -x hostname:OpenWrt -C -O 121
 2162 root      3108 S    udhcpc -p /var/run/udhcpc-eth2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth2 -x hostname:OpenWrt -C -O 121
 2169 root      3108 S    udhcpc -p /var/run/udhcpc-vlan40.pid -s /lib/netifd/dhcp.script -f -t 0 -i vlan40 -x hostname:OpenWrt -C -O 121
 2172 root      3108 S    udhcpc -p /var/run/udhcpc-vlan50.pid -s /lib/netifd/dhcp.script -f -t 0 -i vlan50 -x hostname:OpenWrt -C -O 121
 2687 root     10032 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -r /sbin/hotplug-call 
 2700 dnsmasq  13612 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
 2705 root         0 IW   [kworker/0:2]
 2947 root      7092 S    /usr/sbin/softflowd -d -i eth0 -m 8192 -n 10.0.3.100:2055 -p /var/run/softflowd.pid -c /var/run/softflowd.ctl -v 5 -T full -s 100 -p /var/run/softflowd.pid
 2990 root      7908 S    /usr/lib/ipsec/starter --daemon charon --nofork
 3067 root     78176 S    /usr/lib/ipsec/charon
 3121 root      3112 S<   /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 1.gr.pool.ntp.org -p 0.europe.pool.ntp.org -p 2.europe.pool.ntp.org
 3921 root      3256 S    /bin/sh /usr/sbin/mwan3track wan eth1 online 10.0.3.141 8.8.4.4 208.67.222.222
 4500 root      3256 S    /bin/sh /usr/sbin/mwan3track wan2 eth2 online 10.0.3.70 8.8.8.8 208.67.220.220
 4912 root      3060 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
 4917 root      3112 S    sleep 5
 4922 root      3112 S    sleep 5
 4923 root      3112 S    -ash
 4931 root      3108 R    ps
root@OpenWrt:~# uname -a
Linux OpenWrt 4.14.41 #0 SMP Mon May 21 16:07:48 2018 x86_64 GNU/Linux
root@OpenWrt:~# cat /etc/openwrt_*
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r6965-9c0ddafd46'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r6965-9c0ddafd46'
DISTRIB_TAINTS=''
r6965-9c0ddafd46
root@OpenWrt:~#

And here is what ps on the same system (same VM, same /etc/config etc) looks like when it fails to work correctly:

  PID USER       VSZ STAT COMMAND
    1 root     13384 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW   [kworker/0:0]
    4 root         0 IW<  [kworker/0:0H]
    5 root         0 IW   [kworker/u2:0]
    6 root         0 IW<  [mm_percpu_wq]
    7 root         0 SW   [ksoftirqd/0]
    8 root         0 IW   [rcu_sched]
    9 root         0 IW   [rcu_bh]
   10 root         0 SW   [migration/0]
   11 root         0 SW   [cpuhp/0]
   12 root         0 IW<  [netns]
   13 root         0 IW   [kworker/u2:1]
   29 root         0 IW   [kworker/0:1]
   75 root         0 SW   [oom_reaper]
   76 root         0 IW   [kworker/u2:2]
  232 root         0 IW<  [writeback]
  233 root         0 IW<  [crypto]
  235 root         0 IW<  [kintegrityd]
  236 root         0 IW<  [kblockd]
  238 root         0 IW<  [ata_sff]
  325 root         0 IW<  [watchdogd]
  438 root         0 SW   [kswapd0]
  524 root         0 IW<  [pencrypt]
  526 root         0 IW<  [pdecrypt]
  545 root         0 IW<  [acpi_thermal_pm]
  622 root         0 SW   [scsi_eh_0]
  623 root         0 IW<  [scsi_tmf_0]
  626 root         0 SW   [scsi_eh_1]
  637 root         0 IW<  [scsi_tmf_1]
  640 root         0 SW   [scsi_eh_2]
  641 root         0 IW<  [scsi_tmf_2]
  644 root         0 IW<  [ipv6_addrconf]
  645 root         0 IW   [kworker/u2:3]
  646 root         0 IW   [kworker/u2:4]
  728 root         0 IW<  [kworker/0:1H]
  732 root         0 IW<  [ext4-rsv-conver]
  818 root         0 IW<  [ext4-rsv-conver]
  973 root      9016 S    /sbin/ubusd
  978 root      2744 S    /sbin/askfirst /usr/libexec/login.sh
  979 root      3112 S    /bin/ash --login
 1269 root         0 IW<  [cfg80211]
 1801 root     11328 S    /usr/sbin/odhcpd
 2697 root     10032 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null 
 2705 root     10032 R    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null 
 2759 root      3108 R    ps
Showing tasks 51 - 100 of 1068 Page 2 of 22 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing