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.

OpenedIDCategory  ascTask TypePrioritySeveritySummaryReported InStatus
10.02.2017494Base systemBug ReportVery LowCriticalNETDEV WATCHDOG: ptm0 (): transmit queue 0 timed outAllNew Task Description

I have a VDSL line with Plusnet (UK) - the connection is pppoe - ptm0.101. With the supplied modem/router the line and connection is stable with no disconnects. With LEDE the connection is established and works well until it disconnects (sometimes as early as few minutes other times it stays connected up to an hour). After the disconnect there is no reconnection until a reboot. Restarting wan interface (ifdown wan/ifup wan) or dsl connection (/etc/init.d/dslcontrol stop/start) does not help.

Supply the following if possible:
- Device problem occurs on TP-w8970 and BTHomehub 5A (same crash on both lantiq based devices)
- Software versions of LEDE release, packages, etc. Tested on LEDE RC2, earlier LEDE snapshot from October 2016, Openwrt CC - same symptoms
- Steps to reproduce - VDSL connection on ptm0.101 via pppoe

Here is a trace of the crash (dmesg):

[ 1414.124413] —[ beginning trace ff034b465cdad16b ]— [ 1414.125631] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x1a8/0x2f0()
[ 1414.126471] NETDEV WATCHDOG: ptm0 (): transmit queue 0 timed out
[ 1414.132456] Modules linked in: ltq_ptm_vr9 option iptable_nat ath9k usb_wwan rt2800usb rt2800lib
pppoe nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 l2tp_ppp ipt_REJECT ipt_MASQUERADE ath9k_common
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_id xt_hl xt_helper xt_esp 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 usbserial rt2x00usb
rt2x00lib pppox ppp_async 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 ltq_deu_vr9 iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN
ip_tables crc_itu_t crc_ccitt cdc_acm ath9k_hw ath10k_pci ath10k_core ath mac80211 cfg80211 compat drv_dsl_cpe_api
drv_mei_cpe 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 pppoatm ppp_generic slhc
l2tp_ip6 l2tp_ip l2tp_eth sit l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp xfrm4_tunnel xfrm4_mode_tunnel
xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 tunnel4 ip_tunnel tun af_key xfrm_user xfrm_ipcomp xfrm_algo br2684 atm
drv_ifxos echainiv sha256_generic sha1_generic jitterentropy_rng drbg md5 hmac des_generic cbc authenc usb_storage
dwc2 uhci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache aead crypto_null
[ 1414.287462] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.7 #1
[ 1414.293130] Stack : 804b0000 00000001 00000000 00000000 805172b8 80516f43 80489a24 00000000
[ 1414.293130] 80673844 00010000 80510000 805159bc 80515abc 80055664 00000003 80510000
[ 1414.293130] 80491b4c 00000000 8048ff50 80511c44 80515abc 800535b0 00000006 00000001
[ 1414.293130] 00000000 80512000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1414.293130] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1414.293130] ...
[ 1414.328618] Call Trace:
[ 1414.331095] [<800178a8>] show_stack+0×50/0×84 [ 1414.335454] [<8002af48>] warn_slowpath_common+0xa0/0xd0
[ 1414.340670] [<8002afa4>] warn_slowpath_fmt+0x2c/0×38 [ 1414.345636] [<802e637c>] dev_watchdog+0x1a8/0x2f0
[ 1414.350348] [<8005f7b0>] call_timer_fn.isra.5+0×24/0×80 [ 1414.355557] [<8005fa2c>] run_timer_softirq+0x1a4/0×208 [ 1414.360694] [<8002de80>] __do_softirq+0×298/0x2b0
[ 1414.365388] [<80002430>] ret_from_irq+0×0/0×4 [ 1414.369760] [<80013a8c>] r4k_wait_irqoff+0×18/0×20 [ 1414.374528] [<8004ff6c>] cpu_startup_entry+0xa4/0xf8
[ 1414.379508] [<80539bf8>] start_kernel+0×474/0×494 [ 1414.384180]
[ 1414.385631] —[ end trace ff034b465cdad16b ]—

 


11.05.2017775Base systemBug ReportVery LowCriticalflashing kirkwood u-boot page not aligned [Zyxel NSA-32...TrunkUnconfirmed Task Description

[code]/e-data/4089-AD8E/tools # flash_erase /dev/mtd0 0 4
Erasing 128 Kibyte @ 60000 – 100 % complete[/code]

now when I flash the LEDE uboot I get this

[code]/e-data/4089-AD8E # nandwrite /dev/mtd0 kirkwood/generic/u-boot-nsa325/u-boot.kwb
Input file is not page aligned Data did not fit into device, due to bad blocks
: Success[/code]

the expected should be
[code]/ # nandwrite /dev/mtd0 /e-data/4089-AD8E/uboot.2016.05-tld-1.nsa325.mtd0.kwb
Writing data to block 0 at offset 0×0 Writing data to block 1 at offset 0×20000 Writing data to block 2 at offset 0×40000 Writing data to block 3 at offset 0×60000[/code]

now I can’t even turn off my device. Hopeful to be resolve asap.

24.05.2017801Base systemBug ReportVery LowCriticalR7800 wifi crashingTrunkUnconfirmed Task Description

- Device problem occurs on: Netgear Nighthawk X4S R7800
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r4173-5d48dc1146 / LuCI Master (git-17.141.68918-5ca3864)
- Steps to reproduce
Boot device, wait for it to crash within 24hours

The paste ending in Hn was recorder after wifi stopped working and i turned wifi off and on.
The paste ending in Wu happend about 30 minutes after that and could only be resolved by rebooting the device.

 


18.10.20171074Base systemBug ReportVery LowCriticalNETDEV WATCHDOG: wlan2 (mwifiex_sdio): transmit queue 1...TrunkUnconfirmed Task Description

- Device problem occurs on: WRT3200ACM
- Software versions of LEDE release, packages, etc.: LEDE Reboot SNAPSHOT r5096-a29848c / LuCI Master (git-17.260.43176-678c15c)
- Steps to reproduce: I’ve been consistently having problems with wlan2 going offline after the router has been up for a day or so, but just stumbled across this in dmesg. I’ll see if I can figure out the circumstances leading to it.

 

[85338.316517] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:316 dev_watchdog+0x1b4/0×234 [85338.324820] NETDEV WATCHDOG: wlan2 (mwifiex_sdio): transmit queue 1 timed out
[85338.331987] Modules linked in: pppoe ppp_async 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_CLASSIFY slhc rfcomm 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 mwifiex_sdio mwifiex iptable_mangle iptable_filter ipt_ECN ip_tables hidp hci_uart crc_ccitt btusb btmrvl_sdio btmrvl btintel bnep bluetooth hid evdev input_core mwlwifi mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport
[85338.404541] 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 regmap_mmio ecb cmac uhci_hcd ohci_platform ohci_hcd gpio_button_hotplug
[85338.442106] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.54 #0
[85338.448049] Hardware name: Marvell Armada 380/385 (Device Tree)
[85338.454003] [<c0016010>] (unwind_backtrace) from [<c0012220>] (show_stack+0×10/0×14)
[85338.461782] [<c0012220>] (show_stack) from [<c020c1a0>] (dump_stack+0x7c/0x9c)
[85338.469036] [<c020c1a0>] (dump_stack) from [<c0029218>] (warn+0xbc/0xec)
[85338.475939] [<c0029218>] (
warn) from [<c002927c>] (warn_slowpath_fmt+0×34/0×44)
[85338.483455] [<c002927c>] (warn_slowpath_fmt) from [<c03b6c38>] (dev_watchdog+0x1b4/0×234)
[85338.491661] [<c03b6c38>] (dev_watchdog) from [<c006ffe8>] (call_timer_fn+0×20/0×94)
[85338.499349] [<c006ffe8>] (call_timer_fn) from [<c0070220>] (run_timer_softirq+0x1c4/0×200)
[85338.507650] [<c0070220>] (run_timer_softirq) from [<c002d2b4>] (do_softirq+0xd0/0×204)
[85338.515775] [<c002d2b4>] (
do_softirq) from [<c002d66c>] (irq_exit+0×94/0xb8)
[85338.523029] [<c002d66c>] (irq_exit) from [<c0061e04>] (handle_domain_irq+0×90/0xb4)
[85338.530892] [<c0061e04>] (
handle_domain_irq) from [<c0009428>] (gic_handle_irq+0×50/0×94)
[85338.539277] [<c0009428>] (gic_handle_irq) from [<c0012c8c>] (irq_svc+0x6c/0×90)
[85338.546789] Exception stack(0xdf475f90 to 0xdf475fd8)
[85338.551860] 5f80: 00000001 00000000 00000000 c001b1c0
[85338.560071] 5fa0: 00000000 df474000 c0604fe4 00000002 c05ff168 00000000 df475fe8 00000001
[85338.568282] 5fc0: 00000000 df475fe0 c000f808 c000f80c 60000013 ffffffff
[85338.574925] [<c0012c8c>] (
irq_svc) from [<c000f80c>] (arch_cpu_idle+0x2c/0×38)
[85338.582355] [<c000f80c>] (arch_cpu_idle) from [<c005b154>] (cpu_startup_entry+0xf0/0x19c)
[85338.590567] [<c005b154>] (cpu_startup_entry) from [<000095ac>] (0x95ac)
[85338.597214] —[ end trace 7ee504210e2aead0 ]— [85338.601865] mwifiex_sdio mmc0:0001:1: 8504333 : Tx timeout(#1), bss_type-num = 1-0
[85344.871433] mwifiex_sdio mmc0:0001:1: 8504960 : Tx timeout(#2), bss_type-num = 1-0
[85350.631045] mwifiex_sdio mmc0:0001:1: 8505536 : Tx timeout(#3), bss_type-num = 1-0
[85356.400657] mwifiex_sdio mmc0:0001:1: 8506113 : Tx timeout(#4), bss_type-num = 1-0
[85366.309996] mwifiex_sdio mmc0:0001:1: 8507104 : Tx timeout(#5), bss_type-num = 1-0
[85376.309327] mwifiex_sdio mmc0:0001:1: 8508104 : Tx timeout(#6), bss_type-num = 1-0
[85386.318652] mwifiex_sdio mmc0:0001:1: 8509105 : Tx timeout(#7), bss_type-num = 1-0
[85386.326257] mwifiex_sdio mmc0:0001:1: tx_timeout_cnt exceeds threshold. Triggering card reset!
[85386.356950] mwifiex_sdio mmc0:0001:1: info: shutdown mwifiex...
[85386.362967] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.368924] mwifiex_sdio mmc0:0001:1: Failed to delete mgmt IEs!
[85386.374978] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.380928] mwifiex_sdio mmc0:0001:1: Failed to stop the BSS
[85386.387009] br-lan: port 4(wlan2) entered disabled state
[85386.394495] device wlan2 left promiscuous mode
[85386.398975] br-lan: port 4(wlan2) entered disabled state
[85386.404593] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.410562] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.416507] mwifiex_sdio mmc0:0001:1: PREP_CMD: card is removed
[85386.603147] mwifiex_sdio mmc0:0001:1: WLAN FW already running! Skip FW dnld
[85386.610161] mwifiex_sdio mmc0:0001:1: WLAN FW is active
[85396.707953] mwifiex_sdio mmc0:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id = 0xa9, act = 0×0 [85396.716787] mwifiex_sdio mmc0:0001:1: num_data_h2c_failure = 0
[85396.722652] mwifiex_sdio mmc0:0001:1: num_cmd_h2c_failure = 0
[85396.728423] mwifiex_sdio mmc0:0001:1: is_cmd_timedout = 1
[85396.733842] mwifiex_sdio mmc0:0001:1: num_tx_timeout = 0
[85396.739178] mwifiex_sdio mmc0:0001:1: last_cmd_index = 3
[85396.744512] mwifiex_sdio mmc0:0001:1: last_cmd_id: b3 00 b3 00 b2 00 a9 00 b3 00
[85396.751940] mwifiex_sdio mmc0:0001:1: last_cmd_act: 00 00 00 00 00 00 00 00 00 00
[85396.759457] mwifiex_sdio mmc0:0001:1: last_cmd_resp_index = 2
[85396.765225] mwifiex_sdio mmc0:0001:1: last_cmd_resp_id: b3 80 b3 80 b2 80 b3 80 b3 80
[85396.773093] mwifiex_sdio mmc0:0001:1: last_event_index = 2
[85396.778603] mwifiex_sdio mmc0:0001:1: last_event: 37 00 55 00 43 00 55 00 55 00
[85396.785944] mwifiex_sdio mmc0:0001:1: data_sent=1 cmd_sent=1
[85396.791630] mwifiex_sdio mmc0:0001:1: ps_mode=0 ps_state=0
[85396.797372] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device

21.10.20171094Base systemBug ReportVery LowCriticalno connection on any ethernet ports (incl internet) on ...TrunkUnconfirmed Task Description

Yesterday I upgraded the Linksys wrt1200ac from openwrt 15.05.1
to lede-17.01.4. The upgrade was done through a luci web
interface.

After reboot the wan connection was gone, as well as all local
ethernet ports. Wifi continued to work fine. The configuration
seems to have survived the upgrade. I couldn’t find anything
wrong with the configuration.

On the Internet port there were no packets coming in. On the
ethernet port 1 there are bootp/dhcp requests coming from the
router.

Not sure if that is relevant, but reverting back to 15.05.1
didn’t work either: the router is currently completely
inaccessible. I don’t have a serial cable, will probably order
one to try to debrick the thing.

08.11.20171158Base systemBug ReportVery LowCriticalATH10k QCA9880 5 Ghz mixed mode (sta and ap) not possib...TrunkUnconfirmed Task Description
 
Hardware: Archer C7 V2
Software: Trunk (r5280)

Using the 5 Ghz radio in accesspoint mode (mode ap) and client mode (mode sta) at the same time doesnt work.
Only client mode works.
No error messages will be generated.
With version V17.01.4 all is fine (same configuration).

Config details:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option noscan '1'
	option htmode 'VHT80'
	option multicast_querier '0'
	option igmp_snooping '0'
	option distance '8'
	option log_level '3'
	option compression '1'
	option bursting '1'
	option ff '1'
	option country 'US'
	option txpower '23'
	option channel '112'

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca955x_wmac'
	option noscan '1'
	option htmode 'HT40'
	option distance '15'
	option multicast_querier '0'
	option igmp_snooping '0'
	option log_level '3'
	option compression '1'
	option bursting '1'
	option ff '1'
	option channel '9'
	option country 'US'
	option txpower '24'
	option disabled '0'

config wifi-iface
	option encryption 'psk2'
	option device 'radio0'
	**option mode 'sta'**
	option bssid '08:96:D7:7B:89:BA'
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option multicast_querier '0'
	option igmp_snooping '0'
	option ssid 'Fritz_5Ghz'
	option network 'WWAN WWAN6'

config wifi-iface
	option ssid 'im6shop'
	option device 'radio1'
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option multicast_querier '0'
	option igmp_snooping '0'
	option network 'LAN'
	option mode 'ap'
	option encryption 'psk2'

config wifi-iface
	option device 'radio0'
	**option mode 'ap'**
	option key 'xxxxxxxxxxxxxxxxxxxxxx'
	option macfilter 'allow'
	list maclist '78:0C:B8:8A:12:45'
	list maclist '88:32:9B:F6:70:79'
	list maclist 'F0:27:65:7F:7A:19'
	option encryption 'psk2+ccmp'
	option network 'LAN'
	option ssid 'im6shop'

If you need further details, let me know

regards Klaus


25.01.20181300Base systemBug ReportVery LowCriticalRT-N12+(MT7620N): WLAN not working.TrunkUnconfirmed Task Description

Hello,

Device: RT-N12+
Issue: WLAN is not working properly. When enabled the signal status shows 0db noise 0db. Wireless devices would properly show the SSID however unable to join. Even with No encryption. The system log would even show that radio0 is up.
Steps done:
- Reboot Router
- Re-flash firmware
- Manually set WiFi config: Band 20mhz or 40mhz.
- Toggled between N and Legacy.
- Manually set WiFi channels.
- Tried different encryption.

Additional information:
- I am well aware that this router support is still WIP as stated: https://lede-project.org/toh/hwdata/asus/asus_rt-n12 Basically just putting out this bug report since so far everything seemed fine except for wireless broadcast.
- Used latest snapshot build from downloads page dated: Thu Jan 25 12:07:37 2018

28.01.20181307Base systemBug ReportVery LowCriticalClearFog initramfs broken AllUnconfirmed Task Description

It appears this has been broken for quite some time, likely before LEDE forked from OpenWrt, as there are CC builds with initrams images working fine (early 2016), however the CC repo no longer compiles a working initrams image, nor does LEDE.

  • The changes causing the issue appear to have occurred between 2016.02.18 and 2016.09.06
    • I have a working OpenWrt initramfs image created 2016.02.17 @14:26:46 UTC which boots w/o issue.
    • This post from the SolidRun forum on 2016.09.06 @ 10:30am (local) verifies boot issues occurring at least as of this date.
      • Xue Liu’s [clockworkbird9] repo is mentioned and a link to his blog is provided, however he either forked OpenWrt prior to the issue originating or fixed whatever was broken.

Unexpected Output

Current LEDE/OpenWrt initramfs image is a mess all around (Compiled 2018.01.25)

   Marvell>> tftpboot lede-mvebu-armada-388-clearfog-pro-initramfs.bin
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'lede-mvebu-armada-388-clearfog-pro-initramfs.bin'.
   Load address: 0x2000000
   Loading: #################################################################
	        #################################################################
	        #################################################################
	        2.4 MiB/s
   done
   Bytes transferred = 4690096 (4790b0 hex)
 
   Marvell>> bootm
   Wrong Image Format for bootm command
   ERROR: cant get kernel image!
  • Likely due to these options being removed from menuconfig:
    • Target Images
      • Include kernel in root filesystem
        • include uImage
        • include zImage
        • include FIT
      • Include DTB in root filesystem
    • See Screenshot
      • Left: Old OpenWrt Repo
      • Right: Current LEDE/OpenWrt Repo

Booting a LEDE zImage goes a bit better (...until the kernel panic | Compiled 2018.01.25)

  • This may be expected behavior, as I didn’t realize the zImage is the kernel image.
    Marvell>> tftpboot zImage-Solidrun-Clearfog-A1                 
    Using egiga1 device
    TFTP from server 10.4.50.38; our IP address is 10.4.50.170
    Filename 'zImage-Solidrun-Clearfog-A1'.
    Load address: 0x2000000
    Loading: #################################################################
    	 #################################################################
    	 #################################################################
    	 2.4 MiB/s
    done
    Bytes transferred = 2132324 (208964 hex)
    Marvell>> bootz
 
    Starting kernel ...
 
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.4.14 (thepeople@trabant) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50140) ) #1 SMP Thu Dec 7 14:50:07 UTC 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] Machine model: SolidRun Clearfog A1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 12 pages/cpu @ef7ce000 s17984 r8192 d22976 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
    [    0.000000] Kernel command line: 
    [    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: 1032820K/1048576K available (4223K kernel code, 178K rwdata, 1572K rodata, 264K init, 301K bss, 15756K reserved, 0K cma-reserved, 262144K 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 - 0xc05b1078   (5797 kB)
    [    0.000000]       .init : 0xc05b2000 - 0xc05f4000   ( 264 kB)
    [    0.000000]       .data : 0xc05f4000 - 0xc0620a5c   ( 179 kB)
    [    0.000000]        .bss : 0xc0620a5c - 0xc066c244   ( 302 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] Switching to timer-based delay loop, resolution 40ns
    [    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000009] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000106] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
    [    0.000113] pid_max: default: 32768 minimum: 301
    [    0.000148] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000152] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000340] CPU: Testing write buffer coherency: ok
    [    0.000439] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.000465] Setting up static identity map for 0x8280 - 0x82d8
    [    0.000550] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
    [    0.000633] mvebu-pmsu: Initializing Power Management Service Unit
    [    0.001026] Booting CPU 1
    [    0.001190] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.001218] Brought up 2 CPUs
    [    0.001223] SMP: Total of 2 processors activated (100.00 BogoMIPS).
    [    0.001226] CPU: All CPU(s) started in SVC mode.
    [    0.002883] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.002954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.003000] pinctrl core: initialized pinctrl subsystem
    [    0.003380] NET: Registered protocol family 16
    [    0.003837] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.029930] cpuidle: using governor ladder
    [    0.032504] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
    [    0.032512] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
    [    0.060714] SCSI subsystem initialized
    [    0.060995] usbcore: registered new interface driver usbfs
    [    0.061020] usbcore: registered new interface driver hub
    [    0.061042] usbcore: registered new device driver usb
    [    0.061712] clocksource: Switched to clocksource armada_370_xp_clocksource
    [    0.062143] NET: Registered protocol family 2
    [    0.062382] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.062424] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.062484] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.062516] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.062538] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.062619] NET: Registered protocol family 1
    [    0.062981] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.065945] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.065956] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.066587] bounce: pool size: 64 pages
    [    0.066594] io scheduler noop registered
    [    0.066599] io scheduler deadline registered (default)
    [    0.066978] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    [    0.067276] irq: Cannot allocate irq_descs @ IRQ50, assuming pre-allocated
    [    0.067412] irq: Cannot allocate irq_descs @ IRQ82, assuming pre-allocated
    [    0.067660] mv_xor f1060800.xor: Marvell shared XOR driver
    [    0.101937] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
    [    0.102017] mv_xor f1060900.xor: Marvell shared XOR driver
    [    0.141919] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
    [    0.142055] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
    [    0.142889] console [ttyS0] disabled
    [    0.162961] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
    [    0.715227] console [ttyS0] enabled
    [    0.738916] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
    [    0.748295] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    [    0.757374] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    [    0.766754] scsi host0: ahci-mvebu
    [    0.770314] scsi host1: ahci-mvebu
    [    0.773824] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 45
    [    0.781766] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 45
    [    0.789792] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    [    0.798869] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    [    0.808345] scsi host2: ahci-mvebu
    [    0.811918] scsi host3: ahci-mvebu
    [    0.815415] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 46
    [    0.823359] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 46
    [    0.832327] libphy: Fixed MDIO Bus: probed
    [    0.836538] libphy: orion_mdio_bus: probed
    [    0.841803] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:4c:18:3b
    [    0.850637] mvneta f1034000.ethernet eth1: Using random mac address c6:31:9b:9c:a7:67
    [    0.859250] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:ee:18:3b
    [    0.867330] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.873879] ehci-pci: EHCI PCI platform driver
    [    0.878359] ehci-platform: EHCI generic platform driver
    [    0.883691] ehci-orion: EHCI orion driver
    [    0.887777] orion-ehci f1058000.usb: EHCI Host Controller
    [    0.893203] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    [    0.900847] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
    [    0.921501] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    [    0.927667] hub 1-0:1.0: USB hub found
    [    0.931437] hub 1-0:1.0: 1 port detected
    [    0.935663] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    0.940994] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    [    0.948605] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    0.957170] xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
    [    0.963146] hub 2-0:1.0: USB hub found
    [    0.966914] hub 2-0:1.0: 1 port detected
    [    0.970927] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    0.976265] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    [    0.983796] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
    [    0.992105] hub 3-0:1.0: USB hub found
    [    0.995872] hub 3-0:1.0: 1 port detected
    [    0.999930] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.005271] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    [    1.012863] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.021422] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
    [    1.027391] hub 4-0:1.0: USB hub found
    [    1.031159] hub 4-0:1.0: 1 port detected
    [    1.035201] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.040528] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    [    1.048072] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.056389] hub 5-0:1.0: USB hub found
    [    1.060156] hub 5-0:1.0: 1 port detected
    [    1.064290] usbcore: registered new interface driver usb-storage
    [    1.070460] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
    [    1.078105] i2c /dev entries driver
    [    1.092469] orion_wdt: Initial timeout 171 sec
    [    1.097786] marvell-cesa f1090000.crypto: CESA device successfully registered
    [    1.105445] NET: Registered protocol family 10
    [    1.110382] NET: Registered protocol family 17
    [    1.114870] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.127526] Bridge firewalling registered
    [    1.131551] 8021q: 802.1Q VLAN Support v1.8
    [    1.135771] Registering SWP/SWPB emulation handler
    [    1.141319] armada38x-rtc f10a3800.rtc: setting system clock to 1970-06-02 16:51:43 UTC (13193503)
    [    1.141517] ata1: SATA link down (SStatus 0 SControl 300)
    [    1.141542] ata2: SATA link down (SStatus 0 SControl 300)
    [    1.161504] ata4: SATA link down (SStatus 0 SControl 300)
    [   1.166942] ata3: SATA link down (SStatus 0 SControl 300)
    [    1.172389] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
    [    1.179889] Please append a correct "root=" boot option; here are the available partitions:
    [    1.188270] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [    1.196553] CPU1: stopping
    [    1.199266] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.14 #1
    [    1.205198] Hardware name: Marvell Armada 380/385 (Device Tree)
    [    1.211142] [<c001fab8>] (unwind_backtrace) from [<c001c420>] (show_stack+0x10/0x14)
    [    1.218909] [<c001c420>] (show_stack) from [<c019f54c>] (dump_stack+0x8c/0xa0)
    [    1.226149] [<c019f54c>] (dump_stack) from [<c001e94c>] (handle_IPI+0x108/0x1a0)
    [    1.233563] [<c001e94c>] (handle_IPI) from [<c0009508>] (gic_handle_irq+0x80/0x94)
    [    1.241151] [<c0009508>] (gic_handle_irq) from [<c000a5f4>] (__irq_svc+0x54/0x70)
    [    1.248650] Exception stack(0xef073f80 to 0xef073fc8)
    [    1.253712] 3f80: 00000001 00000000 00000000 c000b3c0 ef072000 c05f6498 c04fcab4 00000000
    [    1.261909] 3fa0: c05ee224 ef073fd8 00000000 c05f1118 00000000 ef073fd0 c00194cc c00194d0
    [    1.270104] 3fc0: 60000013 ffffffff
    [    1.273600] [<c000a5f4>] (__irq_svc) from [<c00194d0>] (arch_cpu_idle+0x34/0x50)
    [    1.281015] [<c00194d0>] (arch_cpu_idle) from [<c005b324>] (cpu_startup_entry+0x148/0x210)
    [    1.289298] [<c005b324>] (cpu_startup_entry) from [<000095ac>] (0x95ac)
    [    1.295928] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Current OpenWrt CC initramfs freezes upon loading the kernel (Compiled 2018.01.27)

   Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
   Load address: 0x2000000
   Loading: #################################################################
	        #################################################################
	        #################################################################
	        2.4 MiB/s
   done
   Bytes transferred = 7925725 (78efdd hex)
 
   Marvell>> bootm
   ## Booting kernel from Legacy Image at 02000000 ...
      Image Name:   ARM OpenWrt Linux-3.18.91
      Created:      2018-01-27   3:22:24 UTC
      Image Type:   ARM Linux Kernel Image (uncompressed)
      Data Size:    7925661 Bytes = 7.6 MiB
      Load Address: 00008000
      Entry Point:  00008000
      Verifying Checksum ... OK
      Loading Kernel Image ... OK
   OK
 
   Starting kernel ...
  • It freezes at this point, with no further output

Expected Output (working initramfs)

r48735 (Compiled 2016.02.17)

    Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
    Using egiga1 device
    TFTP from server 10.4.50.38; our IP address is 10.4.50.170
    Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
    Load address: 0x2000000
    Loading: #################################################################
    	  #################################################################
    	  #################################################################
    	  2.4 MiB/s
    done
    Bytes transferred = 3022310 (2e1de6 hex)
 
    Marvell>> bootm
    ## Booting kernel from Legacy Image at 02000000 ...
       Image Name:   ARM OpenWrt Linux-4.1.16
       Created:      2016-02-17  14:26:46 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3022246 Bytes = 2.9 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
 
    Starting kernel ...
 
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.1.16 (vlado@b50) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r48723) ) #6 SMP Wed Feb 17 14:59:16 UTC 2016
    [    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] Machine model: SolidRun Clearfog A1
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] PERCPU: Embedded 10 pages/cpu @eefd1000 s11776 r8192 d20992 u40960
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
    [    0.000000] Kernel command line: 
    [    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: 1029820K/1048576K available (3435K kernel code, 138K rwdata, 1228K rodata, 4592K init, 168K bss, 18756K reserved, 0K cma-reserved, 270336K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0495e9c   (4664 kB)
    [    0.000000]       .init : 0xc0496000 - 0xc0912000   (4592 kB)
    [    0.000000]       .data : 0xc0912000 - 0xc09348dc   ( 139 kB)
    [    0.000000]        .bss : 0xc09348dc - 0xc095e9a4   ( 169 kB)
    [    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 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 0x46070001
    [    0.000006] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000016] clocksource armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000157] Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
    [    0.059922] pid_max: default: 32768 minimum: 301
    [    0.059975] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.059980] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.060187] CPU: Testing write buffer coherency: ok
    [    0.060286] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.060311] Setting up static identity map for 0x8280 - 0x82d8
    [    0.060398] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
    [    0.060484] mvebu-pmsu: Initializing Power Management Service Unit
    [    0.060915] Booting CPU 1
    [    0.119940] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.119969] Brought up 2 CPUs
    [    0.119975] SMP: Total of 2 processors activated (6384.02 BogoMIPS).
    [    0.119978] CPU: All CPU(s) started in SVC mode.
    [    0.121764] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.121843] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.121875] pinctrl core: initialized pinctrl subsystem
    [    0.122216] NET: Registered protocol family 16
    [    0.122655] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.149929] cpuidle: using governor ladder
    [    0.152518] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
    [    0.152527] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling[    0.180892] Switched to clocksource armada_370_xp_clocksource
    [    0.181354] NET: Registered protocol family 2
    [    0.181626] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.181665] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.181728] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.181766] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.181790] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.181897] NET: Registered protocol family 1
    [    0.202800] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.203086] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.203094] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [    0.203620] bounce: pool size: 64 pages
    [    0.203629] io scheduler noop registered
    [    0.203635] io scheduler deadline registered (default)
    [    0.204062] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    [    0.204398] irq: Cannot allocate irq_descs @ IRQ48, assuming pre-allocated
    [    0.204557] irq: Cannot allocate irq_descs @ IRQ80, assuming pre-allocated
    [    0.204865] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
    [    0.204873] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
    [    0.204878] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
    [    0.204883] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    0.205081] PCI: bus0: Fast back to back transfers disabled
    [    0.205087] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.205094] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    0.205147] PCI: bus1: Fast back to back transfers enabled
    [    0.205205] PCI: bus2: Fast back to back transfers enabled
    [    0.205227] pci 0000:00:02.0: PCI bridge to [bus 01]
    [    0.205235] pci 0000:00:03.0: PCI bridge to [bus 02]
    [    0.205319] mv_xor f1060800.xor: Marvell shared XOR driver
    [    0.240922] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    [    0.280920] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
    [    0.280980] mv_xor f1060900.xor: Marvell shared XOR driver
    [    0.320931] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    [    0.360921] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
    [    0.361040] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    [    0.361326] console [ttyS0] disabled
    [    0.381355] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
    [    0.965181] console [ttyS0] enabled
    [    0.988835] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
    [    0.998710] libphy: Fixed MDIO Bus: probed
    [    1.002938] libphy: orion_mdio_bus: probed
    [    1.008077] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:11:03:0d
    [    1.016851] mvneta f1034000.ethernet eth1: Using random mac address fa:fb:df:f9:5e:cc
    [    1.025385] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:0b:03:0d
    [    1.033899] NET: Registered protocol family 10
    [    1.038792] NET: Registered protocol family 17
    [    1.043270] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [    1.055917] 8021q: 802.1Q VLAN Support v1.8
    [    1.060127] Registering SWP/SWPB emulation handler
    [    1.065542] hctosys: unable to open rtc device (rtc0)
    [    1.073694] Freeing unused kernel memory: 4592K (c0496000 - c0912000)
    [    1.084136] init: Console is alive
    [    1.092498] usbcore: registered new interface driver usbfs
    [    1.098025] usbcore: registered new interface driver hub
    [    1.103400] usbcore: registered new device driver usb
    [    1.110084] SCSI subsystem initialized
    [    1.114896] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.121693] ehci-platform: EHCI generic platform driver
    [    1.127263] ehci-orion: EHCI orion driver
    [    1.131413] orion-ehci f1058000.usb: EHCI Host Controller
    [    1.136834] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    [    1.144492] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
    [    1.160910] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    [    1.167093] hub 1-0:1.0: USB hub found
    [    1.170862] hub 1-0:1.0: 1 port detected
    [    1.179139] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    1.184488] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    [    1.192080] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.200644] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
    [    1.206652] hub 2-0:1.0: USB hub found
    [    1.210421] hub 2-0:1.0: 1 port detected
    [    1.214450] xhci-hcd f10f0000.usb3: xHCI Host Controller
    [    1.219779] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    [    1.227335] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.235651] hub 3-0:1.0: USB hub found
    [    1.239417] hub 3-0:1.0: 1 port detected
    [    1.243492] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.248823] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    [    1.256412] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
    [    1.264975] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
    [    1.270975] hub 4-0:1.0: USB hub found
    [    1.274743] hub 4-0:1.0: 1 port detected
    [    1.278759] xhci-hcd f10f8000.usb3: xHCI Host Controller
    [    1.284092] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    [    1.291620] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
    [    1.299925] hub 5-0:1.0: USB hub found
    [    1.303697] hub 5-0:1.0: 1 port detected
    [    1.308557] usbcore: registered new interface driver usb-storage
    [    2.087795] init: - preinit -
    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
    [    5.131673] procd: - early -
    [    5.706452] procd: - ubus -
    [    6.710759] random: ubusd urandom read with 0 bits of entropy available
    [    6.717649] procd: - init -
    Please press Enter to activate this console.
    [    6.863841] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [    6.871496] i2c /dev entries driver
    [    6.876831] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    6.884031] nf_conntrack version 0.5.0 (16162 buckets, 64648 max)
    [    7.074295] xt_time: kernel timezone is -0000
    [    7.091235] PPP generic driver version 2.4.2
    [    7.095849] NET: Registered protocol family 24
    [    8.723584] device eth0 entered promiscuous mode
    [    8.728953] br-lan: port 1(eth0) entered forwarding state
    [    8.734388] br-lan: port 1(eth0) entered forwarding state
    [    8.751499] device eth1 entered promiscuous mode
    [    8.756174] br-lan: port 2(eth1) entered forwarding state
    [    8.761615] br-lan: port 2(eth1) entered forwarding state
    [    8.781126] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [    9.720913] br-lan: port 1(eth0) entered disabled state
    [    9.726221] br-lan: port 2(eth1) entered disabled state
    [   10.730912] mvneta f1030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   10.738772] br-lan: port 1(eth0) entered forwarding state
    [   10.744197] br-lan: port 1(eth0) entered forwarding state
    [   10.750020] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
    [   10.757942] br-lan: port 2(eth1) entered forwarding state
    [   10.763366] br-lan: port 2(eth1) entered forwarding state
    [   12.740888] br-lan: port 1(eth0) entered forwarding state
    [   12.760887] br-lan: port 2(eth1) entered forwarding state
 
 
    BusyBox v1.24.1 () built-in shell (ash)
 
      _______                     ________        __
     |       |.-----.-----.-----.|  |  |  |.----.|  |_
     |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
     |_______||   __|_____|__|__||________||__|  |____|
              |__| W I R E L E S S   F R E E D O M
     -----------------------------------------------------
     DESIGNATED DRIVER (Bleeding Edge, r48735)
     -----------------------------------------------------
      * 2 oz. Orange Juice         Combine all juices in a
      * 2 oz. Pineapple Juice      tall glass filled with
      * 2 oz. Grapefruit Juice     ice, stir well.
      * 2 oz. Cranberry Juice
     -----------------------------------------------------
    root@OpenWrt:/#

r49395 (Compiled 2018.01.27 | Xue Liu’s OpenWrt Repo)

   Marvell>> tftpboot openwrt-mvebu-armada-388-clearfog-initramfs
   Using egiga1 device
   TFTP from server 10.4.50.38; our IP address is 10.4.50.170
   Filename 'openwrt-mvebu-armada-388-clearfog-initramfs'.
   Load address: 0x2000000
   Loading: #################################################################
   	  #################################################################
   	  #################################################################
   	  2.4 MiB/s
   done
   Bytes transferred = 3920894 (3bd3fe hex)
   Marvell>> bootm
   ## Booting kernel from Legacy Image at 02000000 ...
      Image Name:   ARM OpenWrt Linux-4.1.23
      Created:      2016-06-30   5:39:05 UTC
      Image Type:   ARM Linux Kernel Image (uncompressed)
      Data Size:    3920830 Bytes = 3.7 MiB
      Load Address: 00008000
      Entry Point:  00008000
      Verifying Checksum ... OK
      Loading Kernel Image ... OK
   OK
 
   Starting kernel ...
 
   [    0.000000] Booting Linux on physical CPU 0x0
   [    0.000000] Linux version 4.1.23 (jw@u17) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 r49395) ) #2 SMP Sat Jan 27 05:52:51 UTC 2018
   [    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] Machine model: SolidRun Clearfog A1
   [    0.000000] Memory policy: Data cache writealloc
   [    0.000000] PERCPU: Embedded 10 pages/cpu @eefd1000 s11776 r8192 d20992 u40960
   [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
   [    0.000000] Kernel command line: 
   [    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: 1026868K/1048576K available (3435K kernel code, 138K rwdata, 1228K rodata, 7544K init, 168K bss, 21708K reserved, 0K cma-reserved, 270336K highmem)
   [    0.000000] Virtual kernel memory layout:
   [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
   [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
   [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
   [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
   [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
   [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
   [    0.000000]       .text : 0xc0008000 - 0xc0495e9c   (4664 kB)
   [    0.000000]       .init : 0xc0496000 - 0xc0bf4000   (7544 kB)
   [    0.000000]       .data : 0xc0bf4000 - 0xc0c1694c   ( 139 kB)
   [    0.000000]        .bss : 0xc0c1694c - 0xc0c40a24   ( 169 kB)
   [    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 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 0x46070001
   [    0.000006] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
   [    0.000016] clocksource armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
   [    0.000156] Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
   [    0.059921] pid_max: default: 32768 minimum: 301
   [    0.059975] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
   [    0.059980] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
   [    0.060187] CPU: Testing write buffer coherency: ok
   [    0.060287] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
   [    0.060312] Setting up static identity map for 0x8280 - 0x82d8
   [    0.060399] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
   [    0.060486] mvebu-pmsu: Initializing Power Management Service Unit
   [    0.060919] Booting CPU 1
   [    0.119939] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
   [    0.119968] Brought up 2 CPUs
   [    0.119974] SMP: Total of 2 processors activated (6384.02 BogoMIPS).
   [    0.119977] CPU: All CPU(s) started in SVC mode.
   [    0.121712] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
   [    0.121790] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
   [    0.121823] pinctrl core: initialized pinctrl subsystem
   [    0.122159] NET: Registered protocol family 16
   [    0.122595] DMA: preallocated 256 KiB pool for atomic coherent allocations
   [    0.149921] cpuidle: using governor ladder
   [    0.152478] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
   [    0.152487] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling[    0.180937] Switched to clocksource armada_370_xp_clocksource
   [    0.181394] NET: Registered protocol family 2
   [    0.181808] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
   [    0.181846] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
   [    0.181909] TCP: Hash tables configured (established 8192 bind 8192)
   [    0.181945] UDP hash table entries: 512 (order: 2, 16384 bytes)
   [    0.181969] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
   [    0.182064] NET: Registered protocol family 1
   [    0.211472] futex hash table entries: 512 (order: 3, 32768 bytes)
   [    0.211907] squashfs: version 4.0 (2009/01/31) Phillip Lougher
   [    0.211916] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
   [    0.212261] bounce: pool size: 64 pages
   [    0.212269] io scheduler noop registered
   [    0.212276] io scheduler deadline registered (default)
   [    0.212708] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
   [    0.213051] irq: Cannot allocate irq_descs @ IRQ48, assuming pre-allocated
   [    0.213206] irq: Cannot allocate irq_descs @ IRQ80, assuming pre-allocated
   [    0.213509] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
   [    0.213517] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
   [    0.213525] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
   [    0.213531] pci_bus 0000:00: root bus resource [bus 00-ff]
   [    0.213721] PCI: bus0: Fast back to back transfers disabled
   [    0.213728] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
   [    0.213734] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
   [    0.213786] PCI: bus1: Fast back to back transfers enabled
   [    0.213847] PCI: bus2: Fast back to back transfers enabled
   [    0.213868] pci 0000:00:02.0: PCI bridge to [bus 01]
   [    0.213876] pci 0000:00:03.0: PCI bridge to [bus 02]
   [    0.213955] mv_xor f1060800.xor: Marvell shared XOR driver
   [    0.251038] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
   [    0.290970] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
   [    0.291030] mv_xor f1060900.xor: Marvell shared XOR driver
   [    0.330964] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
   [    0.370964] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
   [    0.371073] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
   [    0.371364] console [ttyS0] disabled
   [    0.391394] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 15625000) is a 16550A
   [    0.974982] console [ttyS0] enabled
   [    0.998634] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 15625000) is a 16550A
   [    1.008502] libphy: Fixed MDIO Bus: probed
   [    1.012730] libphy: orion_mdio_bus: probed
   [    1.017876] mvneta f1030000.ethernet eth0: Using hardware mac address 00:50:43:5a:07:04
   [    1.026640] mvneta f1034000.ethernet eth1: Using random mac address d6:15:0c:61:68:d9
   [    1.035175] mvneta f1070000.ethernet eth2: Using hardware mac address 00:50:43:0a:07:04
   [    1.043675] NET: Registered protocol family 10
   [    1.048569] NET: Registered protocol family 17
   [    1.053061] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
   [    1.065708] 8021q: 802.1Q VLAN Support v1.8
   [    1.069920] Registering SWP/SWPB emulation handler
   [    1.075317] hctosys: unable to open rtc device (rtc0)
   [    1.084968] Freeing unused kernel memory: 7544K (c0496000 - c0bf4000)
   [    1.095444] init: Console is alive
   [    1.105049] usbcore: registered new interface driver usbfs
   [    1.110581] usbcore: registered new interface driver hub
   [    1.115954] usbcore: registered new device driver usb
   [    1.126902] SCSI subsystem initialized
   [    1.131749] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
   [    1.138544] ehci-platform: EHCI generic platform driver
   [    1.144141] ehci-orion: EHCI orion driver
   [    1.148257] orion-ehci f1058000.usb: EHCI Host Controller
   [    1.153689] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
   [    1.161343] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
   [    1.180940] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
   [    1.187137] hub 1-0:1.0: USB hub found
   [    1.190909] hub 1-0:1.0: 1 port detected
   [    1.199341] xhci-hcd f10f0000.usb3: xHCI Host Controller
   [    1.204699] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
   [    1.212291] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
   [    1.220854] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
   [    1.226864] hub 2-0:1.0: USB hub found
   [    1.230634] hub 2-0:1.0: 1 port detected
   [    1.234670] xhci-hcd f10f0000.usb3: xHCI Host Controller
   [    1.239997] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
   [    1.247530] usb usb3: We dont know the algorithms for LPM for this host, disabling LPM.
   [    1.255845] hub 3-0:1.0: USB hub found
   [    1.259613] hub 3-0:1.0: 1 port detected
   [    1.263710] xhci-hcd f10f8000.usb3: xHCI Host Controller
   [    1.269041] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
   [    1.276630] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
   [    1.285195] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
   [    1.291190] hub 4-0:1.0: USB hub found
   [    1.294958] hub 4-0:1.0: 1 port detected
   [    1.298974] xhci-hcd f10f8000.usb3: xHCI Host Controller
   [    1.304309] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
   [    1.311842] usb usb5: We dont know the algorithms for LPM for this host, disabling LPM.
   [    1.320147] hub 5-0:1.0: USB hub found
   [    1.323921] hub 5-0:1.0: 1 port detected
   [    1.329839] sdhci: Secure Digital Host Controller Interface driver
   [    1.336054] sdhci: Copyright(c) Pierre Ossman
   [    1.340684] sdhci-pltfm: SDHCI platform and OF driver helper
   [    1.347178] usbcore: registered new interface driver usb-storage
   [    1.360572] init: - preinit -
   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
   [    4.406424] procd: - early -
   [    4.965685] procd: - ubus -
   [    5.019086] random: ubusd urandom read with 0 bits of entropy available
   [    5.025976] procd: - init -
   Please press Enter to activate this console.
   [    5.196134] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
   [    5.207844] ip6_tables: (C) 2000-2006 Netfilter Core Team
   [    5.215742] i2c /dev entries driver
   [    5.221208] ip_tables: (C) 2000-2006 Netfilter Core Team
   [    5.228628] nf_conntrack version 0.5.0 (16162 buckets, 64648 max)
   [    5.414558] xt_time: kernel timezone is -0000
   [    5.431616] PPP generic driver version 2.4.2
   [    5.436259] NET: Registered protocol family 24
   [    7.114973] device eth0 entered promiscuous mode
   [    7.122099] br-lan: port 1(eth0) entered forwarding state
   [    7.127527] br-lan: port 1(eth0) entered forwarding state
   [    7.148077] device eth1 entered promiscuous mode
   [    7.152853] br-lan: port 2(eth1) entered forwarding state
   [    7.158270] br-lan: port 2(eth1) entered forwarding state
   [    7.173015] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
   [    8.110954] br-lan: port 1(eth0) entered disabled state
   [    8.116262] br-lan: port 2(eth1) entered disabled state
   [    9.120956] mvneta f1030000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
   [    9.128814] br-lan: port 1(eth0) entered forwarding state
   [    9.134240] br-lan: port 1(eth0) entered forwarding state
   [    9.140957] mvneta f1034000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
   [    9.148813] br-lan: port 2(eth1) entered forwarding state
   [    9.154235] br-lan: port 2(eth1) entered forwarding state
   [   11.130932] br-lan: port 1(eth0) entered forwarding state
   [   11.150930] br-lan: port 2(eth1) entered forwarding state
 
   BusyBox v1.24.2 () built-in shell (ash)
   Enter 'help' for a list of built-in commands.
      _______                     ________        __
    |       |.-----.-----.-----.|  |  |  |.----.|  |_
    |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
    |_______||   __|_____|__|__||________||__|  |____|
             |__| W I R E L E S S   F R E E D O M
    -----------------------------------------------------
    DESIGNATED DRIVER (Bleeding Edge, r49395)
    -----------------------------------------------------
     * 2 oz. Orange Juice         Combine all juices in a
     * 2 oz. Pineapple Juice      tall glass filled with
     * 2 oz. Grapefruit Juice     ice, stir well.
     * 2 oz. Cranberry Juice
    -----------------------------------------------------
   root@OpenWrt:/#
09.03.20181418Base systemBug ReportVery LowCriticalDHCP not discovering certain devices on radio1 (2.4ghz ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

  Linksys 3200ACM

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

   OpenWrt SNAPSHOT r6365-45fdb12 / LuCI Master (git-18.061.42275-852ec6e)
   Additional Packages:
   openssh-sftp-server    7.6p1-1
   nginx                  1.12.2-1

- Steps to reproduce

   Embedded platform such ESP8266, Wireless Cameras are unable to connect 
   to 2.4Ghz radio1 on 3200ACM with WPA2-CCMP.
   DHCP does not seem to discover these devices although radio1 (mwlwifi) successfully
   authenticates the devices.
  Clients: 4 x ESP8266 (SonOff Switches, FluxLED, etc.), Unbranded Wireless Camera
  1. DHCP Configuration
    config dnsmasq
        option domainneeded '1'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'

    config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        list dhcp_option '6,8.8.8.8,8.8.4.4'

    config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

    config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

    config host
        option name 'VelopNode1'
        option dns '1'
        option mac '58:ef:xx:xx:xx:xx'
        option ip '192.168.1.151'
        option leasetime 'infinite'

    config host
        option name 'Hikam-0505'
        option dns '1'
        option mac '88:83:5d:xx:xx:xx'
        option ip '192.168.1.200'
        option leasetime 'infinite'

    config host
        option name 'ESP_C0F513'
        option dns '1'
        option mac 'dc:4f:22:xx:xx:xx'
        option ip '192.168.1.235'
        option leasetime 'infinite'
  1. 2.4Ghz radio1 configuration:
    wireless.radio1=wifi-device
    wireless.radio1.type='mac80211'
    wireless.radio1.hwmode='11g'
    wireless.radio1.path='soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
    wireless.radio1.country='US'
    wireless.radio1.channel='11'
    wireless.radio1.htmode='HT20'
    wireless.radio1.legacy_rates='1'
    wireless.radio1.txpower='30'
    root@openwrt:~# uci show wireless.default_radio1
    wireless.default_radio1=wifi-iface
    wireless.default_radio1.device='radio1'
    wireless.default_radio1.network='lan'
    wireless.default_radio1.ssid='SSID'
    wireless.default_radio1.key='PASSWORD'
    wireless.default_radio1.mode='ap'
    wireless.default_radio1.encryption='psk2'

- Logs:

    Sun Mar  4 04:07:41 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:07:41 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:07:50 2018 authpriv.info dropbear[3371]: Child connection from 192.168.1.151:57119
    Sun Mar  4 04:08:07 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:07 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: disassociated
    Sun Mar  4 04:08:07 2018 kern.debug kernel: [  105.684705] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:08:08 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
    Sun Mar  4 04:08:10 2018 kern.debug kernel: [  107.923936] ieee80211 phy1: staid 2 deleted
    Sun Mar  4 04:08:10 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 2)
    Sun Mar  4 04:08:10 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:10 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:08:13 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:08:13 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:13 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:08:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:08:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:08:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:08:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:08:44 2018 kern.debug kernel: [  141.932637] ieee80211 phy1: staid 2 deleted
    Sun Mar  4 04:08:44 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 2)
    Sun Mar  4 04:08:44 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:44 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:08:44 2018 kern.debug kernel: [  142.629431] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:08:48 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:08:48 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:48 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:09:22 2018 kern.debug kernel: [  180.723186] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:09:22 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:09:23 2018 kern.debug kernel: [  181.044324] ieee80211 phy1: staid 2 deleted
    Sun Mar  4 04:09:23 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 2)
    Sun Mar  4 04:09:23 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:09:23 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:09:26 2018 kern.debug kernel: [  184.838938] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:09:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:09:28 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:09:28 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 kern.debug kernel: [  191.989466] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:10:06 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:10:06 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:10:06 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:10:07 2018 kern.debug kernel: [  225.251038] ieee80211 phy1: staid 2 deleted
    Sun Mar  4 04:10:07 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 2)
    Sun Mar  4 04:10:07 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:10:07 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)

Note: These clients are able to join my alternative access point (Velop Nodes) on same frequency and encryption. They are also

  able to join on factory image(FW_WRT3200ACM_1.0.6.186168_prod) radio1 access point and as well as radio2 in openwrt stipulated build.

More info: https://github.com/kaloz/mwlwifi/issues/278

16.05.20181550Base systemBug ReportVery LowCriticalUnable to handle kernel paging request causes router to...TrunkUnconfirmed Task Description

- Device problem occurs on
Xiaomi mi router 3G (R3G)

- Software versions of OpenWrt/LEDE release, packages, etc.
Latest trunk (r6893-bfbdeeb) custom build

- Steps to reproduce
Did not notice there is a pattern here.

- The issue
The kernel crash causes the router to reboot. Here are two traces I was able to catch

May 13 07:24:52 router kernel: [82948.434471] CPU 1 Unable to handle kernel paging request at virtual address 07407800, epc == 80136a70, ra == 8013694c
May 13 07:24:52 router kernel: [82948.445103] Oops[#1]:
May 13 07:24:52 router kernel: [82948.447387] CPU: 1 PID: 1977 Comm: kworker/u8:1 Not tainted 4.14.37 #0
May 13 07:24:52 router kernel: [82948.453909] Workqueue: writeback wb_workfn (flush-8:0)
May 13 07:24:52 router kernel: [82948.459046] task: 8ff3ddc0 task.stack: 8dd62000
May 13 07:24:52 router kernel: [82948.463565] $ 0 : 00000000 00000001 00000000 812286b0
May 13 07:24:52 router kernel: [82948.468800] $ 4 : 805aa44c 00000001 00000001 07407800
May 13 07:24:52 router kernel: [82948.474019] $ 8 : 000facb3 000facb2 00000002 00064000
May 13 07:24:52 router kernel: [82948.479248] $12 : 00000009 0004001a fffeffff 00001000
May 13 07:24:52 router kernel: [82948.484473] $16 : 8fc02c00 000001b8 01011200 8022b6f0
May 13 07:24:52 router kernel: [82948.489695] $20 : 8ebb0000 8006a664 8e56d81c 01400000
May 13 07:24:52 router kernel: [82948.494913] $24 : 81196320 00000000
May 13 07:24:52 router kernel: [82948.500133] $28 : 8dd62000 8dd63950 8fd77d40 8013694c
May 13 07:24:52 router kernel: [82948.505351] Hi : 00000000
May 13 07:24:52 router kernel: [82948.508214] Lo : 00840480
May 13 07:24:52 router kernel: [82948.511113] epc : 80136a70 kmalloc+0x1f8/0x2ec
May 13 07:24:52 router kernel: [82948.515887] ra : 8013694c
kmalloc+0xd4/0x2ec
May 13 07:24:52 router kernel: [82948.520568] Status: 11007c03#011KERNEL EXL IE May 13 07:24:52 router kernel: [82948.524750] Cause : 40800008 (ExcCode 02)
May 13 07:24:52 router kernel: [82948.528740] BadVA : 07407800
May 13 07:24:52 router kernel: [82948.531605] PrId : 0001992f (MIPS 1004Kc)
May 13 07:24:52 router kernel: [82948.535679] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 cdc_ether 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_FLOWOFFLOAD xt_DSCP xt_CLASSIFY usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport
May 13 07:24:52 router kernel: [82948.606444] 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 vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common mii crc32c_generic
May 13 07:24:52 router kernel: [82948.655996] Process kworker/u8:1 (pid: 1977, threadinfo=8dd62000, task=8ff3ddc0, tls=00000000)
May 13 07:24:52 router kernel: [82948.664578] Stack : 01011200 00400000 8006a664 8f0c719c 00000001 00000000 8fd33300 01011200
May 13 07:24:52 router kernel: [82948.672925] 8fe74850 01011200 00000001 00400000 8006a664 8022b6f0 8fe74850 01011200
May 13 07:24:52 router kernel: [82948.681267] 01411200 8fdf9e00 01011200 01411200 8e56d800 800ecd30 8fe74850 01011200
May 13 07:24:52 router kernel: [82948.689609] 01411200 8fdf9d00 01400000 00400000 8006a664 800ecd30 00060000 00000001
May 13 07:24:52 router kernel: [82948.697952] 8dd63a48 8fe74850 00000000 8fe74850 00000001 8fe74850 00000000 8fe74878
May 13 07:24:52 router kernel: [82948.706292] ...
May 13 07:24:52 router kernel: [82948.708733] Call Trace:
May 13 07:24:52 router kernel: [82948.711201] [<80136a70>] __kmalloc+0x1f8/0x2ec
May 13 07:24:52 router kernel: [82948.715643] [<8022b6f0>] alloc_request_size+0x2c/0x7c
May 13 07:24:52 router kernel: [82948.720708] [<800ecd30>] mempool_alloc+0x6c/0×178 May 13 07:24:52 router kernel: [82948.725402] [<8022cf88>] get_request+0×360/0x76c
May 13 07:24:52 router kernel: [82948.730005] [<802303c4>] blk_queue_bio+0x1cc/0×430 May 13 07:24:52 router kernel: [82948.734781] [<8022e3cc>] generic_make_request+0xd8/0×288 May 13 07:24:52 router kernel: [82948.740078] [<8022e6a0>] submit_bio+0×124/0×164 May 13 07:24:52 router kernel: [82948.744663] [<8f1c3014>] ext4_io_submit+0×50/0×64 [ext4]
May 13 07:24:52 router kernel: [82948.749989] [<8f1a5994>] ext4_mark_inode_dirty+0xeac/0×1368 [ext4]
May 13 07:24:52 router kernel: [82948.756166] Code: 32428000 8e020014 00e23821 <8ce20000> 1000002c cc400000 1280ffbc 00000000 8e060010
May 13 07:24:52 router kernel: [82948.765910]
May 13 07:24:52 router kernel: [82948.767638] —[ end trace e8f9893fb33e6a26 ]—

and the second case

May 15 15:52:16 router kernel: [67618.480256] CPU 0 Unable to handle kernel paging request at virtual address 07402800, epc == 80136784, ra == 800ecd30
May 15 15:52:16 router kernel: [67618.490997] Oops[#1]:
May 15 15:52:16 router kernel: [67618.493275] CPU: 0 PID: 14159 Comm: kworker/u8:1 Not tainted 4.14.37 #0
May 15 15:52:16 router kernel: [67618.499875] Workqueue: writeback wb_workfn (flush-8:0)
May 15 15:52:16 router kernel: [67618.504997] task: 8c3276c0 task.stack: 8b656000
May 15 15:52:16 router kernel: [67618.509500] $ 0 : 00000000 00000001 00000000 8121a6c0
May 15 15:52:16 router kernel: [67618.514709] $ 4 : 805aa44c 00000001 00000001 07402800
May 15 15:52:16 router kernel: [67618.519918] $ 8 : 00005ddf 00005dde 8fb9b6a0 00000120
May 15 15:52:16 router kernel: [67618.525127] $12 : 8000001f 00000010 00000124 00000001
May 15 15:52:16 router kernel: [67618.530336] $16 : 8fd4a200 01011200 800ecd30 8b0e0000
May 15 15:52:16 router kernel: [67618.535545] $20 : 00400000 8006a664 8fd4981c 80660000
May 15 15:52:16 router kernel: [67618.540754] $24 : ffffffe0 ffff0000
May 15 15:52:16 router kernel: [67618.545963] $28 : 8b656000 8b657970 8f1c2c24 800ecd30
May 15 15:52:16 router kernel: [67618.551174] Hi : 00000000
May 15 15:52:16 router kernel: [67618.554035] Lo : 008402f0
May 15 15:52:16 router kernel: [67618.556924] epc : 80136784 kmem_cache_alloc+0x13c/0×230 May 15 15:52:16 router kernel: [67618.562323] ra : 800ecd30 mempool_alloc+0x6c/0×178 May 15 15:52:16 router kernel: [67618.567345] Status: 11008403#011KERNEL EXL IE May 15 15:52:16 router kernel: [67618.571515] Cause : 40800008 (ExcCode 02)
May 15 15:52:16 router kernel: [67618.575499] BadVA : 07402800
May 15 15:52:16 router kernel: [67618.578361] PrId : 0001992f (MIPS 1004Kc)
May 15 15:52:16 router kernel: [67618.582431] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 cdc_ether 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_FLOWOFFLOAD xt_DSCP xt_CLASSIFY usbnet slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack libcrc32c iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport
May 15 15:52:16 router kernel: [67618.653177] 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 vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common mii crc32c_generic
May 15 15:52:16 router kernel: [67618.702675] Process kworker/u8:1 (pid: 14159, threadinfo=8b656000, task=8c3276c0, tls=00000000)
May 15 15:52:16 router kernel: [67618.711326] Stack : 8e648b20 8f147e00 8e648b20 01011200 00000001 8022b710 00000002 01011200
May 15 15:52:16 router kernel: [67618.719658] 01411200 8fd49800 01400000 00400000 8006a664 800ecd30 00000001 01011200
May 15 15:52:16 router kernel: [67618.727990] 01411200 8fd49700 01400000 00400000 8006a664 800ecd30 8e330030 8c499000
May 15 15:52:16 router kernel: [67618.736322] 8fd9f000 8b657a2c 01400000 8fd49800 01400000 01400000 8e47fa00 8d44d8f8
May 15 15:52:16 router kernel: [67618.744655] 80660000 80225974 8fd49600 00000100 01400000 8d48d7c0 8e47fa00 8fd49600
May 15 15:52:16 router kernel: [67618.752989] ...
May 15 15:52:16 router kernel: [67618.755425] Call Trace:
May 15 15:52:16 router kernel: [67618.757859] [<80136784>] kmem_cache_alloc+0x13c/0×230 May 15 15:52:16 router kernel: [67618.762897] [<800ecd30>] mempool_alloc+0x6c/0×178 May 15 15:52:16 router kernel: [67618.767596] [<80225974>] bvec_alloc+0xdc/0×154 May 15 15:52:16 router kernel: [67618.772020] [<80225b44>] bio_alloc_bioset+0×158/0×250 May 15 15:52:16 router kernel: [67618.777111] [<8f1c3358>] ext4_bio_write_page+0×320/0x5c4 [ext4]
May 15 15:52:16 router kernel: [67618.783028] [<8f19e3f4>] ext4_convert_inline_data+0×874/0x21a8 [ext4]
May 15 15:52:16 router kernel: [67618.789461] [<8f19e860>] ext4_convert_inline_data+0xce0/0x21a8 [ext4]
May 15 15:52:16 router kernel: [67618.795881] Code: 32228000 8e020014 00e23821 <8ce20000> 1000002d cc400000 1260ffbc 00000000 8e060010
May 15 15:52:16 router kernel: [67618.805607]
May 15 15:52:16 router kernel: [67618.807332] —[ end trace 3b32ff5399a1bc64 ]—


11.06.20181586Base systemBug ReportVery LowCriticalDAP-1522 A1 factory to snapshot kernel panic and system...TrunkUnconfirmed Task Description

DAP-1522 A1 stock firmware 1.21 or 1.42 , device page https://openwrt.org/toh/hwdata/d-link/d-link_dap-1522_a1 Flash via GUI or Recovery interface , both the same result/fail.
Since this device is not supported on 17.04.1 https://downloads.lede-project.org/releases/17.01.4/targets/ramips/rt288x/
I try the snapshot from https://downloads.openwrt.org/snapshots/targets/ramips/rt288x/openwrt-ramips-rt288x-dlink_dap-1522-a1-squashfs-factory.bin Checksum ok

Here is the boot log

U-Boot 1.1.3 (Aug 28 2009 - 15:47:01) Build 001--ALPHA_v011

Board: RT2880 DRAM:  32 MB
        twe0 set to <NULL>
        toe0 set to <NULL>
============================================
ASIC -VerB/C (MAC to MAC Mode)
DRAM COMPONENT=256Mbits
DRAM BUS=16BIT
Total memory = 32Mbytes
Date:Aug 28 2009  Time:15:47:01
============================================

Eth0 (10/100-M)



Hit any key to stop autoboot:  0
## Booting image at bc440000 ...
   Image Name:   7zip Linux Kernel
   Created:      1970-01-01   0:00:00 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    -1 Bytes = 4096 MB
   Load Address: 8a000000
   Entry Point:  8a000000
   Uncompressing Kernel Image with LZMA ...
OK

Starting kernel ...

[    0.000000] Linux version 4.14.48 (buildbot@slashdirt-02) (gcc version 7.3.0                                                                 (OpenWrt GCC 7.3.0
r7172-f60301d)) #0 Sat Jun 9 20:39:17 2018
[    0.000000] SoC Type: Ralink RT2880 id:2 rev:0
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001906c (MIPS 4KEc)
[    0.000000] MIPS: machine is D-Link DAP-1522 A1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 08000000 (usable)
[    0.000000] Wasting 1048576 bytes for tracking 32768 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 byt                                                                es
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000009ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x47c with                                                                 crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 40640
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs                                                                2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 25248K/163840K available (3518K kernel code, 174K rwdata,                                                                 844K rodata, 1216K
init, 214K bss, 138592K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] Failed to request intc memory
[    0.000000] Kernel panic - not syncing: Failed to request resources for ralin                                                                k,rt2880-sysc
[    0.000000] Rebooting in 1 seconds..
[    0.000000] Reboot failed -- System halted

Regards,


31.07.20181719Base systemBug ReportVery LowCriticalNo wireless interfaces on the UniFi AP AC Lite on the f...openwrt-18.06Unconfirmed Task Description

The same issue as this, but on the final release: https://bugs.openwrt.org/index.php?do=details&task_id=1663&string=unifi&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=

03.08.20181726Base systemBug ReportVery LowCriticalNetifd lockup when USB LTE modem was restartedopenwrt-18.06Unconfirmed Task Description

OpenWrt 18.06.0, r7188-b0b5c64c22
Device: Xiaomi Mir3G
Modem: Huawei E3372

How to reproduce:
1. Bring up wwan interface
2. Reconnect modem (or echo ‘at^reset’ > /dev/ttyUSB0)
3. See in logs:

Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.710901] usb 1-1: USB disconnect, device number 3
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.716646] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.725206] option 1-1:1.0: device disconnected
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.730738] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.739145] option 1-1:1.1: device disconnected
Fri Aug  3 16:59:02 2018 kern.info kernel: [  950.744808] huawei_cdc_ncm 1-1:1.2 wwan0: unregister 'huawei_cdc_ncm' usb-1e1c0000.xhci-1, Huawei CDC NCM device
Fri Aug  3 16:59:02 2018 daemon.notice netifd: Network device 'wwan0' link is down
Fri Aug  3 16:59:02 2018 daemon.notice netifd: Network alias 'wwan0' link is down
Fri Aug  3 16:59:02 2018 daemon.notice netifd: Interface 'wwan_4' has link connectivity loss
Fri Aug  3 16:59:02 2018 daemon.notice netifd: Interface 'wwan_4' is disabled
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Source 94.247.111.10 offline
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Source 195.91.239.8 offline
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Source 91.207.136.50 offline
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Source 195.210.189.106 offline
Fri Aug  3 16:59:02 2018 daemon.info chronyd[1303]: Can't synchronise: no selectable sources
Fri Aug  3 16:59:02 2018 daemon.notice netifd: wwan_4 (4421): udhcpc: SIOCGIFINDEX: No such device
Fri Aug  3 16:59:02 2018 daemon.notice netifd: wwan_4 (4421): udhcpc: received SIGTERM
Fri Aug  3 16:59:03 2018 daemon.notice netifd: wwan (4800): Stopping network wwan
Fri Aug  3 16:59:03 2018 daemon.notice netifd: wwan (4800): Can't open device /dev/ttyUSB1.
Fri Aug  3 16:59:03 2018 daemon.notice netifd: wwan (4800): Failed to disconnect
Fri Aug  3 16:59:03 2018 daemon.notice netifd: Interface 'wwan' is now down
Fri Aug  3 16:59:03 2018 daemon.warn dnsmasq[4567]: no servers found in /tmp/resolv.conf.auto, will retry
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.683961] usb 1-1: new high-speed USB device number 4 using xhci-mtk
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.867590] option 1-1:1.0: GSM modem (1-port) converter detected
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.874380] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.882334] option 1-1:1.1: GSM modem (1-port) converter detected
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.889115] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.915707] huawei_cdc_ncm 1-1:1.2: resetting NTB format to 16-bit
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.926799] huawei_cdc_ncm 1-1:1.2: MAC-Address: 00:1e:10:1f:00:00
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.933038] huawei_cdc_ncm 1-1:1.2: setting rx_max = 16384
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.938957] huawei_cdc_ncm 1-1:1.2: NDP will be placed at end of frame for this device.
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.947454] huawei_cdc_ncm 1-1:1.2: cdc-wdm0: USB WDM device
Fri Aug  3 16:59:09 2018 kern.info kernel: [  957.955970] huawei_cdc_ncm 1-1:1.2 wwan0: register 'huawei_cdc_ncm' at usb-1e1c0000.xhci-1, Huawei CDC NCM device, 00:1e:10:1f:00:00
Fri Aug  3 16:59:10 2018 daemon.notice netifd: Interface 'wwan' is setting up now
Fri Aug  3 16:59:10 2018 daemon.notice netifd: wwan (5197): Stopping network wwan
Fri Aug  3 16:59:11 2018 daemon.notice netifd: wwan (5197): sending ->
Fri Aug  3 16:59:15 2018 daemon.notice netifd: Interface 'wwan' is now down

Now ``ifup wwan`` or ``ifdown wwan`` doesn’t do anything until restart of netifd process.

10.08.20181759Base systemBug ReportVery LowCritical SQM fine in 17.01.4, can’t keep up with line speed in ...openwrt-18.06Unconfirmed Task Description

Netgear R7800 running 17.01.4 kept up with my ISP line speed (nominal 250Mbps/15Mbps) when configured to use SQM with cake/piece_of_cake.
In 18.06, it cannot keep up
Possibly the same root cause as issue 1598

DSLreports speed test with SQM enabled in 17.01.4 (223.1/14.71 Mbps):
http://www.dslreports.com/speedtest/29614883

and with 18.06 ( 95.8/14.16 Mbps):
http://www.dslreports.com/speedtest/36981183

root@LEDE:~# cat /etc/config/sqm

config queue 'eth1'
	option qdisc_advanced '0'
	option verbosity '5'
	option upload '15000'
	option linklayer 'ethernet'
	option overhead '18'
	option debug_logging '1'
	option download '232750'
	option interface 'eth0.2'
	option enabled '1'
	option qdisc 'cake'
	option script 'piece_of_cake.qos'

Sample tc output after running the DSLreports speed test

root@LEDE:~# tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2 
qdisc mq 0: dev eth0 root 
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc mq 0: dev eth1 root 
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc noqueue 0: dev br-lan root refcnt 2 
qdisc noqueue 0: dev eth1.1 root refcnt 2 
qdisc cake 8012: dev eth0.2 root refcnt 2 bandwidth 15Mbit besteffort triple-isolate split-gso rtt 100.0ms noatm overhead 18 
qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ---------------- 
qdisc noqueue 0: dev br-guest root refcnt 2 
qdisc noqueue 0: dev br-iot root refcnt 2 
qdisc noqueue 0: dev wlan0 root refcnt 2 
qdisc noqueue 0: dev wlan1 root refcnt 2 
qdisc noqueue 0: dev wlan1-1 root refcnt 2 
qdisc noqueue 0: dev wlan1-2 root refcnt 2 
qdisc noqueue 0: dev wlan0-1 root refcnt 2 
qdisc fq_codel 0: dev ovpns0 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc fq_codel 0: dev ovpns1 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
qdisc cake 8013: dev ifb4eth0.2 root refcnt 2 bandwidth 232750Kbit besteffort triple-isolate wash split-gso rtt 100.0ms noatm overhead 18 

root@LEDE:~# tc -s qdisc
qdisc noqueue 0: dev lo root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc mq 0: dev eth0 root 
 Sent 351709498 bytes 2034499 pkt (dropped 0, overlimits 0 requeues 65185) 
 backlog 0b 0p requeues 65185
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 351709498 bytes 2034499 pkt (dropped 0, overlimits 0 requeues 65185) 
 backlog 0b 0p requeues 65185
  maxpacket 1514 drop_overlimit 0 new_flow_count 60774 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc mq 0: dev eth1 root 
 Sent 4385184093 bytes 3164614 pkt (dropped 0, overlimits 0 requeues 109126) 
 backlog 0b 0p requeues 109126
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 4385184093 bytes 3164614 pkt (dropped 0, overlimits 0 requeues 109126) 
 backlog 0b 0p requeues 109126
  maxpacket 1514 drop_overlimit 0 new_flow_count 137321 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth1.1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc cake 8012: dev eth0.2 root refcnt 2 bandwidth 15Mbit besteffort triple-isolate split-gso rtt 100.0ms noatm overhead 18 
 Sent 41321462 bytes 92960 pkt (dropped 919, overlimits 39456 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 194432b of 4Mb
 capacity estimate: 15Mbit
 min/max network layer size:           28 /    1500
 min/max overhead-adjusted size:       46 /    1518
 average network hdr offset:           14

                  Tin 0
  thresh         15Mbit
  target          5.0ms
  interval      100.0ms
  pk_delay        672us
  av_delay        211us
  sp_delay         11us
  backlog            0b
  pkts            93879
  bytes        42712828
  way_inds            6
  way_miss          392
  way_cols            0
  drops             919
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len         12112
  quantum           457

qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ---------------- 
 Sent 143870988 bytes 121001 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-guest root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-iot root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1-1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1-2 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0-1 root refcnt 2 
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
qdisc fq_codel 0: dev ovpns0 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 2015423 bytes 2972 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev ovpns1 root refcnt 2 limit 10240p flows 1024 quantum 1500 target 5.0ms interval 100.0ms memory_limit 4Mb ecn 
 Sent 228 bytes 3 pkt (dropped 0, overlimits 0 requeues 0) 
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc cake 8013: dev ifb4eth0.2 root refcnt 2 bandwidth 232750Kbit besteffort triple-isolate wash split-gso rtt 100.0ms noatm overhead 18 
 Sent 148570176 bytes 120706 pkt (dropped 297, overlimits 622 requeues 0) 
 backlog 0b 0p requeues 0
 memory used: 661056b of 11637500b
 capacity estimate: 232750Kbit
 min/max network layer size:           46 /    1500
 min/max overhead-adjusted size:       64 /    1518
 average network hdr offset:           14

                  Tin 0
  thresh     232750Kbit
  target          5.0ms
  interval      100.0ms
  pk_delay        245us
  av_delay         45us
  sp_delay          4us
  backlog            0b
  pkts           121003
  bytes       149019834
  way_inds            6
  way_miss          384
  way_cols            0
  drops             297
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len         12112
  quantum          1514
30.08.20181824Base systemBug ReportVery LowCriticalCisco / Meraki MR24 locks up after a day or so using 18...openwrt-18.06Unconfirmed Task Description

Upgrade an MR24 from LEDE 17.01.5 to 18.06.1, and wait a day. Device locks up. WIFI is still advertised, but lan port is no longer pingable.

 


30.09.20181872Base systemBug ReportVery LowCriticalArcher C2600 v1.0 tftp recovery is brokenopenwrt-18.06Unconfirmed Task Description

After i have flashed Openwrt 18.06.1 on my Archer c2600 the tftp recovery dont work anymore. I updated the Openwrt factory image over the web interface. Now i have tried to flash back the original firmware over tftp but it dont work. Im able to start the recovery, and the image is transferred over tftp from my pc, but the router just reboots and load Openwrt again. If i try to flash the Openwrt factory image it also dont work this way anymore. This is a big problem, because somebody would have trouble with the system, he would not be able to recover the router. Also because its not very easy to connect the serial port from the router.


07.11.20181938Base systemBug ReportVery LowCriticalCONFIG_PKG_ASLR_PIE and CONFIG_USE_MKLIBS are incompati...TrunkUnconfirmed Task Description

I’m building OpenWrt trunk (commit dceee8cc09a54f96dee82a6e95e3e77a6dd7ac13) for Netgear R7800 (though I think, device doesn’t matter here).

It turns out that if both CONFIG_PKG_ASLR_PIE and CONFIG_USE_MKLIBS are turned on, the system renders unusable. In my case, when building with GCC 7, dropbear doesn’t start, and when building with GCC 8, the system doesn’t boot, and the status LED is off.

The culprit is this line: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=include/rootfs.mk;h=76425c017a8b33340dbcc41cecaf1241352c7dbc;hb=HEAD#l7

      # first find all programs and add them to the mklibs list
      find $(STAGING_DIR_ROOT) -type f -perm /100 -exec \
              file -r -N -F '' {} + | \
              awk ' /executable.*dynamically/ { print $$1 }' > $(TMP_DIR)/mklibs-progs

It should generate the list of executables for mklibs, however, with PIE turned on, most of the executables don’t get into that list. In my config, only fw_printenv gets into the mklibs-progs list. And, because some executables are not on the list, the symbols they need may be stripped off the libraries, rendering these executables unusable.

The reason is that the file command detects PIE executables as shared objects, not as executables. Compare:

  With ASLR off:
  bin/busybox ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, with debug_info, not stripped
  With ASLR on:
  bin/busybox ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, with debug_info, not stripped
  This one single executable displays the same, independently of ASLR state:
  usr/sbin/fw_printenv ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, stripped

If CONFIG_PKG_ASLR_PIE=n, all executables are detected properly and get into the mklibs-progs list.

A more proper way should be found to detect executables, as the current one skips PIE executables completely and makes the system unusable, because some of the PIE executables can’t start due to missing symbols in libraries.

I’ve chosen the critical severity, because the system doesn’t work if I set those two config options to y, and this combination isn’t something unusual, because many people would like both increased security and smaller size of the firmware.

01.01.20192040Base systemBug ReportVery LowCriticalgdb 8.2 fails to compile for Raspberry Pi 3B+TrunkUnconfirmed Task Description

- Device problem occurs on
Attempting build for Raspberry Pi 3B+ with gdbserver included

- Software versions of OpenWrt/LEDE release, packages, etc.
commit d3bf5ff9bc7b55b2a3dab93853b33a0cd2c4ca47 (HEAD → master, origin/master, origin/HEAD)
Author: Jonas Gorski jonas.gorski@gmail.com Date: Mon Sep 10 11:42:53 2018 +0200

- Steps to reproduce
(I successfully built and ran it without gdbserver.)
In menuconfig, selected the correct SoC, added Luci, then followed https://openwrt.org/docs/guide-developer/gdb:
“Compiling Tools” - exactly as described.
“Add debugging to a package” - option “Global build settings > Compile packages with debugging info” (whether this is activated or not has no effect on the problem)

gdb compilation for the target fails, see error below.

I reverted 2 last commits to the gdb package, to what it was at this commit:
commit 525b8f06501233414ad6e56fe1134ae82ab28fc2
Author: Rosen Penev rosenp@gmail.com
Date: Wed Jun 6 18:22:26 2018 -0700

using these commands:
cd package/devel
git checkout 525b8f06501 gdb

and the build succeeded. Looks like the updated gdb

.config is attached.


aarch64-openwrt-linux-musl-g++ -x c++ -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/mnt/1TB/ow/openwrt/build_dir/target-aarch64_cortex-a53_musl/gdb-8.2:gdb-8.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I. -I. -I./common -I./config -DLOCALEDIR=”“/usr/share/locale”” -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wformat-nonliteral -c -o aarch64-linux-nat.o -MT aarch64-linux-nat.o -MMD -MP -MF ./.deps/aarch64-linux-nat.Tpo aarch64-linux-nat.c
In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:26:8: error: redefinition of ‘struct sigcontext’ struct sigcontext {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:18:16: note: previous definition of ‘struct sigcontext’ typedef struct sigcontext {

In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:63:8: error: redefinition of ‘struct _aarch64_ctx’ struct _aarch64_ctx {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:29:8: note: previous definition of ‘struct _aarch64_ctx’ struct _aarch64_ctx {

In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:70:8: error: redefinition of ‘struct fpsimd_context’ struct fpsimd_context {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:33:8: note: previous definition of ‘struct fpsimd_context’ struct fpsimd_context {

In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:80:8: error: redefinition of ‘struct esr_context’ struct esr_context {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:39:8: note: previous definition of ‘struct esr_context’ struct esr_context {

In file included from nat/aarch64-sve-linux-ptrace.h:23:0,
from aarch64-linux-nat.c:35:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/asm/sigcontext.h:113:8: error: redefinition of ‘struct extra_context’ struct extra_context {

In file included from /mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/signal.h:48:0,
from build-gnulib/import/signal.h:52,
from linux-nat.h:23,
from aarch64-linux-nat.c:26:
/mnt/1TB/ow/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-7.4.0_musl/include/bits/signal.h:43:8: note: previous definition of ‘struct extra_context’ struct extra_context {

aarch64-linux-nat.c: In function ‘void store_sveregs_to_thread(regcache*)’:
aarch64-linux-nat.c:419:59: error: invalid use of incomplete type ‘struct store_sveregs_to_thread(regcache*)::user_sve_header’ iovec.iov_len = 1)→size;

aarch64-linux-nat.c:419:28: note: forward declaration of ‘struct store_sveregs_to_thread(regcache)::user_sve_header’ iovec.iov_len = 2)→size;

Makefile:1622: recipe for target ‘aarch64-linux-nat.o’ failed

1) struct user_sve_header ) base.get (
2) struct user_sve_header *) base.get (
21.01.20192073Base systemBug ReportVery LowCriticalSha1 in firmware-utils/src/sha1.c has TLS or DTLS Vulne...AllUnconfirmed Task Description

Hi,
The sha1 file in openwrt/tools/firmware-utils/src/sha1.c is not fixed and is vulnerable to remote code execution or DoS. The CVE (CVE-2018-0487) and fixed in multiple other repos including ubuntu. (https://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-0487.html)

23.01.20192079Base systemBug ReportVery LowCriticalMT7621 - lost RX streamAllUnconfirmed Task Description

Device: TP-LINK RE350 v1
OpenWRT: 18.06-SNAPSHOOT 22.01.2019
Wireless setup:

  config wifi-device 'radio0'
      option type 'mac80211'
      option channel '1'
      option hwmode '11g'
      option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
      option ldpc '1'
      option greenfield '0'
      option diversity '1'
      option htmode 'HT40'
      option country 'PL'
      option log_level '8'
      option disabled '0'
      option legacy_rates '0'
      option noscan '1'
  config wifi-iface
      option device 'radio0'
      option mode 'sta'
      option ssid 'XXX'
      option bssid 'xxx'
      option encryption 'psk2'
      option key 'xxx'
      option disassoc_low_ack '0'
      option network 'wan'
      option disabled '0'
      option wmm '1'
  config wifi-iface
      option device 'radio0'
      option mode 'ap'
      option ssid 'XXX'
      option encryption 'psk2'
      option key 'xxx'
      option disassoc_low_ack '0'
      option network 'lan'
      option disabled '0'
      option wds '1'
      option wmm '1'

Problem and solution:
AP and STA works on Channel 1. STA few seconds after connection to upstream AP losts RX stream.

  Station xx:xx:xx:xx:xx:xx (on wlan0)
      inactive time:  20570 ms
      rx bytes:       222792
      rx packets:     1657
      tx bytes:       1482
      tx packets:     20
      tx retries:     133
      tx failed:      12
      beacon loss:    10
      beacon rx:      756
      rx drop misc:   2
      signal:         -68 [-68, -69] dBm
      signal avg:     -68 [-68, -68] dBm
      beacon signal avg:      188 dBm
      tx bitrate:     43.3 MBit/s MCS 10 short GI
      **rx bitrate:     1.0 MBit/s**
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       long
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    2
      beacon interval:100
      short slot time:yes
      connected time: 83 seconds
 


25.02.20192145Base systemBug ReportVery LowCriticalNo IPv4 adresses offered on LAN of GL-AR150 if no LAN c...openwrt-18.06Unconfirmed Task Description

This is 100 % reproducible with a fresh and unchanged installation of OpenWRT 18.06.2 on a GL-Inet GL-AR150, and it gave me quite some headache until I found out what’s happening here:

If a LAN cable is plugged during the device’s boot process and one does a DHCP request when it’s ready, the router offers an IPv4 address (as expected) and one can access it on 192.168.1.1. This is also the case for a DHCP request via WLAN, as soon as one does enable it.

If however the device is powered up without a LAN cable being plugged, no IPv4 address will be offered, neither for a LAN nor for a WLAN connection. One can connect to the router via the IPv6 address to be found in /etc/resov.conf (on the client) though, but not via IPv4. This is also the case if a LAN cable is plugged after booting.

Looking at /var/etc/dnsmasq.conf.cfg01411c, it does contain the line

  dhcp-range=set:lan,192.168.1.100,192.168.1.249,255.255.255.0,12h

if a LAN cable has been plugged during bootup, and no such entry if none has been plugged.

This makes the device completely unusable for what I intend to use it ... as this happens with a completely unaltered, fresh installation, I suppose this is no misconfiguration but a bug?

02.04.20192218Base systemBug ReportVery LowCriticalLinksys EA4500 suffers endless reboots: Radio1 (5GHz) c...TrunkUnconfirmed Task Description

One of 5 EA3500’s, each at a different site, keeps crashing and restarting. Both 18.06.2 and Snapshot r9614-b614954 are suffering it at this particular site. I could finally keep it booting up after disabling radio1 (5 GHz). Other 4 sites have no trouble with the same system and wireless configuration.

I can pretty much rule out hardware problems. Just boot up Snapshot r9614-b614954 on an EA4500, whose radio1 (5G) worked on another site. It suffers the same infinite crash/restart sequence. At least 3 different devices worked at different locations, but crash only at this one.

From the serial console: A crash at backports-4.19.23-1/net/mac80211/rx.c:4516 ieee80211_rx_napi+0x1fc/0xa54 [mac80211]

[   22.960919] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.010664] br-lan: port 1(eth0.1) entered blocking state
[   23.016172] br-lan: port 1(eth0.1) entered disabled state
[   23.021848] device eth0.1 entered promiscuous mode
[   23.026687] device eth0 entered promiscuous mode
[   23.110502] br-lan: port 1(eth0.1) entered blocking state
[   23.115976] br-lan: port 1(eth0.1) entered forwarding state
[   23.121730] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   23.191580] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 1000 Mb/s, full duplex, flow control disabled
[   23.202650] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   24.009012] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.015903] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.022546] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   25.052979] 0000:01:00.0: unable to load firmware helper image
[   25.058872] ieee80211 phy0: Cannot start firmware
[   25.063675] ieee80211 phy0: Trying to reload the firmware again
[   25.987785] ieee80211 phy0: 88w8366 v7, 20aa4b891bf2, AP firmware 5.2.8.17
[   26.047574] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   26.113947] 0000:02:00.0: unable to load firmware helper image
[   26.119821] ieee80211 phy1: Cannot start firmware
[   26.124636] ieee80211 phy1: Trying to reload the firmware again
[   26.511780] ieee80211 phy1: 88w8366 v7, 20aa4b891bf4, AP firmware 5.2.8.17
[   26.565994] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   26.577344] br-lan: port 2(wlan0) entered blocking state
[   26.582745] br-lan: port 2(wlan0) entered disabled state
[   26.588309] device wlan0 entered promiscuous mode
[   26.614795] br-lan: port 3(wlan1) entered blocking state
[   26.620186] br-lan: port 3(wlan1) entered disabled state
[   26.625800] device wlan1 entered promiscuous mode
[   27.137261] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   27.143826] br-lan: port 2(wlan0) entered blocking state
[   27.149170] br-lan: port 2(wlan0) entered forwarding state
[   27.179154] ------------[ cut here ]------------
[   27.183961] WARNING: CPU: 0 PID: 0 at backports-4.19.23-1/net/mac80211/rx.c:4516 ieee80211_rx_napi+0x1fc/0xa54 [mac80211]
[   27.194991] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mwl8k mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 tun gpio_button_hotplug
[   27.254721] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.105 #0
[   27.260669] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   27.266969] Backtrace: 
[   27.269438] [<c010530c>] (dump_backtrace) from [<c01055f4>] (show_stack+0x18/0x1c)
[   27.277057]  r7:bf1f012c r6:00000000 r5:bf227600 r4:00000000
[   27.282772] [<c01055dc>] (show_stack) from [<c058b880>] (dump_stack+0x20/0x28)
[   27.290036] [<c058b860>] (dump_stack) from [<c01196b0>] (__warn+0xdc/0x108)
[   27.297048] [<c01195d4>] (__warn) from [<c0119794>] (warn_slowpath_null+0x28/0x30)
[   27.304665]  r9:c7104ff0 r8:bf226390 r7:bf226318 r6:c71058a0 r5:c7104bc0 r4:c72be9c0
[   27.312535] [<c011976c>] (warn_slowpath_null) from [<bf1f012c>] (ieee80211_rx_napi+0x1fc/0xa54 [mac80211])
[   27.322376] [<bf1eff30>] (ieee80211_rx_napi [mac80211]) from [<bf1cb68c>] (ieee80211_tasklet_handler+0x64/0xc0 [mac80211])
[   27.333486]  r10:00000000 r9:c7104ff0 r8:bf226390 r7:bf226318 r6:c7104bc0 r5:c7104fe4
[   27.341359]  r4:c72be9c0
[   27.343976] [<bf1cb628>] (ieee80211_tasklet_handler [mac80211]) from [<c011c5dc>] (tasklet_action+0x88/0xd8)
[   27.353865]  r9:00000100 r8:ffffe000 r7:00000000 r6:c082a000 r5:c08085fc r4:00000000
[   27.361664] [<c011c554>] (tasklet_action) from [<c0101464>] (__do_softirq+0xac/0x25c)
[   27.369534]  r7:c082a020 r6:40000006 r5:c082a038 r4:00000006
[   27.375236] [<c01013b8>] (__do_softirq) from [<c011c940>] (irq_exit+0xc8/0x110)
[   27.382594]  r10:00000000 r9:c0801f00 r8:c7805200 r7:00000001 r6:00000000 r5:c0829178
[   27.390458]  r4:00000000
[   27.393022] [<c011c878>] (irq_exit) from [<c01465e4>] (__handle_domain_irq+0x8c/0xa8)
[   27.400893] [<c0146558>] (__handle_domain_irq) from [<c010138c>] (orion_handle_irq+0x74/0xa0)
[   27.409469]  r9:c0801f00 r8:00000001 r7:c085564c r6:c780801c r5:00000400 r4:0000000a
[   27.417263] [<c0101318>] (orion_handle_irq) from [<c01060c8>] (__irq_svc+0x68/0x84)
[   27.424968] Exception stack(0xc0801f00 to 0xc0801f48)
[   27.430044] 1f00: 00000000 00000000 00000000 60000013 00000000 ffffe000 c0803094 c08206e0
[   27.438271] 1f20: c080a852 c065e3e0 00000000 c0801f5c c0801f50 c0801f50 c0102ec0 c05a6814
[   27.446494] 1f40: 60000013 ffffffff
[   27.450004]  r10:00000000 r9:c0800000 r8:c080a852 r7:c0801f34 r6:ffffffff r5:60000013
[   27.457875]  r4:c05a6814
[   27.460441] [<c05a67dc>] (default_idle_call) from [<c013fdb8>] (do_idle+0x84/0x144)
[   27.468154] [<c013fd34>] (do_idle) from [<c01400d8>] (cpu_startup_entry+0x14/0x18)
[   27.475774]  r10:00721c14 r9:c0723a20 r8:c7ffcc80 r7:00000000 r6:c0803020 r5:ffffffff
[   27.483654]  r4:c0809c4c r3:40000013
[   27.487258] [<c01400c4>] (cpu_startup_entry) from [<c05a1660>] (rest_init+0x74/0x94)
[   27.495063] [<c05a15ec>] (rest_init) from [<c0700d3c>] (start_kernel+0x3a0/0x424)
[   27.502595]  r5:ffffffff r4:c08299a0
[   27.506188] [<c070099c>] (start_kernel) from [<00008048>] (0x8048)
[   27.512404] ---[ end trace 351d5fe97981d9fa ]---
06.07.20192359Base systemBug ReportVery LowCriticalAble to use channels out of regulatory domain(ES) in 5...TrunkUnconfirmed Task Description

Device: TP-Link Archer C7 v5 (ath79)
Software versions of OpenWrt: latest snapshot https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-tplink_archer-c7-v5-squashfs-sysupgrade.bin

Anything upper 5700 MHz [140] should be disabled.

iw list:

              [...]
              Frequencies:
                      * 5180 MHz [36] (23.0 dBm)
                      * 5200 MHz [40] (23.0 dBm)
                      * 5220 MHz [44] (23.0 dBm)
                      * 5240 MHz [48] (23.0 dBm)
                      * 5260 MHz [52] (20.0 dBm) (radar detection)
                      * 5280 MHz [56] (20.0 dBm) (radar detection)
                      * 5300 MHz [60] (20.0 dBm) (radar detection)
                      * 5320 MHz [64] (20.0 dBm) (radar detection)
                      * 5500 MHz [100] (26.0 dBm) (radar detection)
                      * 5520 MHz [104] (26.0 dBm) (radar detection)
                      * 5540 MHz [108] (26.0 dBm) (radar detection)
                      * 5560 MHz [112] (26.0 dBm) (radar detection)
                      * 5580 MHz [116] (26.0 dBm) (radar detection)
                      * 5600 MHz [120] (26.0 dBm) (radar detection)
                      * 5620 MHz [124] (26.0 dBm) (radar detection)
                      * 5640 MHz [128] (26.0 dBm) (radar detection)
                      * 5660 MHz [132] (26.0 dBm) (radar detection)
                      * 5680 MHz [136] (26.0 dBm) (radar detection)
                      * 5700 MHz [140] (26.0 dBm) (radar detection)
                      * 5720 MHz [144] (disabled)
                      * 5745 MHz [149] (13.0 dBm)
                      * 5765 MHz [153] (13.0 dBm)
                      * 5785 MHz [157] (13.0 dBm)
                      * 5805 MHz [161] (13.0 dBm)
                      * 5825 MHz [165] (13.0 dBm)
                      * 5845 MHz [169] (13.0 dBm)
                      * 5865 MHz [173] (13.0 dBm)
              [...]
09.07.20192370Base systemBug ReportVery LowCriticalCPE210 V1.1 Brick after update 18.06.04openwrt-18.06Unconfirmed Task Description

Trying to update to the latest version (openwrt-18.06.4-ar71xx-generic-cpe210-220-v1-squashfs-sysupgrade.bin) has failed and has entered into safeloader. I put it to your knowledge in case there is a fault in the firmware.

CPE210 V1.1 with openwrt-18.06.2-ar71xx-generic-cpe210-220-v1-squashfs-sysupgrade.bin

With a USB serial cable:

“TP-LINK SafeLoader (Build time: Jun 12 2015 - 09:49:53)
CPU: 560MHz AHB: 225MHz DDR: 64MB
Performing LED check.. PASS
Press CTRL+B to enter SafeLoader: 1
Flash Manufacturer: Unknown(0xc8)
Flash Device ID: Unknown(0×4017)
Data flash init failed.
open user-config failed.
open user-config failed.

enet0 port4 up

TFTP server address is 192.168.0.100; our address is 192.168.0.254
Get filename ‘recovery.bin’.

TFTP error: Starting again.
faddr is 0×0, fsize is 0×0 reserved is 0x83832c86, load_reserved_size is 0×0 WARNING: Data loaded outside of the reserved load area, memory corruption may occur.
##Warning: File is unidentiable. Try downloading

TFTP server address is 192.168.0.100; our address is 192.168.0.254
Get filename ‘vmlinuz’.

TFTP error: Starting again.
faddr is 0×0, fsize is 0×0 reserved is 0×83832206, load_reserved_size is 0×0 WARNING: Data loaded outside of the reserved load area, memory corruption may occur.
##ERROR: Can’t download image.

Password”

01.08.20192419Base systemBug ReportVery LowCriticaloverlay reporting wrong sizeTrunkWaiting on reporter Task Description
DEVICE: APU2 X86_64 SNAPSHOT
FIRMWARE USED: http://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-combined-squashfs.img.gz
FIRMWARE SHA256: cf0824377d5a8d9832f5e6f60c78f9ae2f6841d4b9cd3c57f9cfdf72e4f47e81
FIRMWARE DATE: Wed Jul 31 18:02:58 2019
FIRMWARE SIZE: 7146.8 KB

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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r10641-1d2b2e744e
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# df -hT
Filesystem           Type            Size      Used Available Use% Mounted on
/dev/root            squashfs        2.5M      2.5M         0 100% /rom
tmpfs                tmpfs           1.9G     72.0K      1.9G   0% /tmp
/dev/loop0           f2fs          123.5M     65.6M     57.9M  53% /overlay
overlayfs:/overlay   overlay       123.5M     65.6M     57.9M  53% /
/dev/mmcblk0p1       ext4           15.7M      4.3M     11.1M  28% /boot
/dev/mmcblk0p1       ext4           15.7M      4.3M     11.1M  28% /boot
tmpfs                tmpfs         512.0K         0    512.0K   0% /dev
root@OpenWrt:/# find /overlay
/overlay
/overlay/upper
/overlay/upper/boot
/overlay/upper/etc
/overlay/upper/etc/board.json
/overlay/upper/etc/config
/overlay/upper/etc/config/network
/overlay/upper/etc/config/system
/overlay/upper/etc/config/dhcp
/overlay/upper/etc/config/dropbear
/overlay/upper/etc/config/firewall
/overlay/upper/etc/uci-defaults
/overlay/upper/etc/uci-defaults/10_migrate-shadow
/overlay/upper/etc/uci-defaults/12_network-generate-ula
/overlay/upper/etc/uci-defaults/13_fix_group_user
/overlay/upper/etc/uci-defaults/20_migrate-feeds
/overlay/upper/etc/uci-defaults/odhcpd.defaults
/overlay/upper/etc/dropbear
/overlay/upper/etc/dropbear/dropbear_rsa_host_key
/overlay/upper/etc/urandom.seed
/overlay/work
/overlay/work/work
/overlay/.fs_state
root@OpenWrt:/#

05.08.20192428Base systemBug ReportVery LowCriticalath79: sysupgrade will brick devices with RedBoot bootl...TrunkUnconfirmed Task Description

The current code responsible for upgrading devices with sysupgrade image, doesn’t take in to the account that “FIS” partition and “RedBoot config” partition can be on the same erase block. This can cause erasing the “RedBoot config” partition and make the device inoperable. The recovery would involve external SPI programmer or usage of JTAG.

The cause is still assumption so it will need confirmation. Flashing devices with factory image should be safe.

- Device problem occurs on:

   Ubiquiti RouterStation and RouterStation Pro
   jjPlus JA76PF2
   Adtran BSAP1880, BSAP1800 V2 and BSAP1840

- Software versions of OpenWrt release, packages, etc.:

   master and possibly 19.07

- Steps to reproduce

   syupgrade the device
14.11.20192594Base systemBug ReportVery LowCriticalKernel panic when configuring network on mvebu ( Turris...TrunkUnconfirmed Task Description

- Latest snapshot from today
- Does not happen on 18.0.6.x
- Router enters reboot loop

Several ways to trigger bug but it essentially revolves around bringing up a VLAN interface inside a bridge.

Some configuration examples that triggers the bug:

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option delegate '0'
        option igmp_snooping '1'
        option ifname 'lan0 lan1 lan2 lan3 lan4.12'
        option ipaddr '192.168.88.254'


another one:

config interface 'iptv'
        option proto 'none'
        option type 'bridge'
        option ifname 'eth2.12 lan4.12'

The output is:

[   16.828573] device lan3 entered promiscuous mode
[   16.876458] mv88e6085 f1072004.mdio-mii:10 lan4: configuring for phy/gmii link mode
[   16.884237] IPv6: ADDRCONF(NETDEV_UP): lan4: link is not ready
[   16.891531] br-lan: port 5(lan4.12) entered blocking state
[   16.897098] br-lan: port 5(lan4.12) entered disabled state
[   16.904047] device lan4.12 entered promiscuous mode
[   16.908940] device lan4 entered promiscuous mode
[   16.918101] Unable to handle kernel NULL pointer dereference at virtual address 00000518
[   16.926236] pgd = 6295ce7a
[   16.928948] [00000518] *pgd=2da78831, *pte=00000000, *ppte=00000000
[   16.935252] Internal error: Oops: 17 [#1] SMP ARM
[   16.939965] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_tabs
[   17.011450]  nf_reject_ipv4 nf_nat_rtsp nf_nat_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink nf_conntrat
[   17.082567]  nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip6_udp_tunnel udp_tunnel ip_tunnel autoc
[   17.140899] CPU: 1 PID: 1968 Comm: netifd Not tainted 4.19.82 #0
[   17.146917] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.152856] PC is at br_vlan_enabled+0x0/0x10
[   17.157224] LR is at dsa_port_vlan_add+0x40/0x88
[   17.161851] pc : [<c06678c0>]    lr : [<c066d100>]    psr: 60000013
[   17.168130] sp : ed5abca0  ip : 00000001  fp : ed5abdb6
[   17.173364] r10: 00000001  r9 : edb93500  r8 : ec1e6800
[   17.178599] r7 : ed5abd04  r6 : ed5abd24  r5 : ee864000  r4 : ee94424c
[   17.185140] r3 : 00000004  r2 : ed5abd04  r1 : 00000000  r0 : 00000000
[   17.191682] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   17.198832] Control: 10c5387d  Table: 2d5c004a  DAC: 00000051
[   17.204590] Process netifd (pid: 1968, stack limit = 0xab1173e4)
[   17.210609] Stack: (0xed5abca0 to 0xed5ac000)
[   17.214976] bca0: ed5abd24 ed5abd04 00000000 00000004 ffffffa1 c0674dbc ffff916c c068efc0
[   17.223173] bcc0: 00000000 ffffffa1 ec1e6800 ed5abd24 ed5abd04 c0674de4 ee937ea0 ec1e6868
[   17.231370] bce0: 00000001 ec7b7840 ec1e6800 ed5abd24 eda5e000 c0674e94 ef3cda40 ffffffff
[   17.239566] bd00: ef08c000 ed5abd04 ed5abd04 c0945001 ec7b7840 ec7b7840 ef1783c0 c066b5bc
[   17.247763] bd20: c0a03db0 ec1e6800 00000001 00000000 00000000 00000000 00010006 00000001
[   17.255959] bd40: 00000000 c0668f64 eeb9c544 00000006 00000001 00000000 eda5e080 00000036
[   17.264156] bd60: ed5abd84 c0148948 ef0f304c ef0f3040 ef0f304c 00000000 00000000 ef1783c0
[   17.272354] bd80: ec7b7840 eda5e000 00000001 00000000 00000006 c066780c ed5abdb6 c0669df0
[   17.280551] bda0: ffffffa1 ee864000 ed5abe23 ed5abe04 00000000 000148ac ef1783c0 ed5abdb6
[   17.288747] bdc0: 00020003 00000008 00001000 01010000 00000000 00000000 c066780c 00020003
[   17.296943] bde0: 00000008 00001000 01010000 00000000 00000000 c066780c ef178418 00000000
[   17.305140] be00: ef1783c0 eda5e000 00000000 00000000 eda5e080 00000036 0003d7a8 c0669f20
[   17.313337] be20: 00ffffe5 edb93000 00000007 00000002 00000000 00000000 00000000 00000000
[   17.321533] be40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c0a03c48
[   17.329730] be60: ec1e6800 ec1e6800 00000000 eda5e000 edb93500 c06595ac 00000000 c012e864
[   17.337928] be80: edb93500 000089a2 edb93000 ed5abef4 c0739a90 ed5abeec 00000000 c05932c0
[   17.346125] bea0: 00e0f13b c0a2b940 ed5abef4 c056bbdc ed5abef4 000000a2 000089a2 c0a2b940
[   17.354323] bec0: ed5abeec c059395c 000089a2 00000051 bed4aba8 c0a2b940 ef0dc300 ed5aa000
[   17.362519] bee0: 00000036 c05506c4 00000000 eed51d01 eea7c410 6c2d7262 00006e61 00000000
[   17.370715] bf00: 00000000 00000013 00000000 00000000 00000000 c0a03c48 bed4aba8 eedff1a0
[   17.378911] bf20: 000089a2 bed4aba8 ef0dc300 c0225788 00000000 eecf97f8 eecf9848 c07ea5a8
[   17.387108] bf40: ed5409c0 00000000 eed51d60 eea7c410 eecf97f8 40000010 ed5409c8 c0214558
[   17.395304] bf60: 00000020 00000000 00000000 ef3cde74 ef0dc300 00000008 000089a2 bed4aba8
[   17.403501] bf80: ef0dc300 ed5aa000 00000036 c022585c 00e20c40 000089a2 b6edb6d8 00000036
[   17.411699] bfa0: c0101204 c0101000 00e20c40 000089a2 00000008 000089a2 bed4aba8 bed4aba0
[   17.419896] bfc0: 00e20c40 000089a2 b6edb6d8 00000036 00e20c78 b6edb6d8 00e20de4 0003d7a8
[   17.428094] bfe0: 0003cd54 bed4ab88 000137c4 b6f5439c 80000010 00000008 00000000 00000000
[   17.436295] [<c06678c0>] (br_vlan_enabled) from [<c066d100>] (dsa_port_vlan_add+0x40/0x88)
[   17.444584] [<c066d100>] (dsa_port_vlan_add) from [<c0674dbc>] (__switchdev_port_obj_add+0x30/0x8c)
[   17.453652] [<c0674dbc>] (__switchdev_port_obj_add) from [<c0674de4>] (__switchdev_port_obj_add+0x58/0x8c)
[   17.463329] [<c0674de4>] (__switchdev_port_obj_add) from [<c0674e94>] (switchdev_port_obj_add_now+0x7c/0xf0)
[   17.473181] [<c0674e94>] (switchdev_port_obj_add_now) from [<c066b5bc>] (br_switchdev_port_vlan_add+0x3c/0x44)
[   17.483207] [<c066b5bc>] (br_switchdev_port_vlan_add) from [<c0668f64>] (__vlan_add+0x50/0x5b4)
[   17.491926] [<c0668f64>] (__vlan_add) from [<c0669df0>] (nbp_vlan_add+0x210/0x244)
[   17.499514] [<c0669df0>] (nbp_vlan_add) from [<c0669f20>] (nbp_vlan_init+0xfc/0x158)
[   17.507278] [<c0669f20>] (nbp_vlan_init) from [<c06595ac>] (br_add_if+0x3c8/0x5ac)
[   17.514868] [<c06595ac>] (br_add_if) from [<c05932c0>] (dev_ifsioc+0x36c/0x390)
[   17.522194] [<c05932c0>] (dev_ifsioc) from [<c059395c>] (dev_ioctl+0x5cc/0x63c)
[   17.529522] [<c059395c>] (dev_ioctl) from [<c05506c4>] (sock_ioctl+0x52c/0x5a8)
[   17.536849] [<c05506c4>] (sock_ioctl) from [<c0225788>] (do_vfs_ioctl+0x828/0x8c8)
[   17.544438] [<c0225788>] (do_vfs_ioctl) from [<c022585c>] (ksys_ioctl+0x34/0x58)
[   17.551851] [<c022585c>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   17.559523] Exception stack(0xed5abfa8 to 0xed5abff0)
[   17.564587] bfa0:                   00e20c40 000089a2 00000008 000089a2 bed4aba8 bed4aba0
[   17.572784] bfc0: 00e20c40 000089a2 b6edb6d8 00000036 00e20c78 b6edb6d8 00e20de4 0003d7a8
[   17.580980] bfe0: 0003cd54 bed4ab88 000137c4 b6f5439c
[   17.586044] Code: 18bd8010 e05c0002 13a00001 e8bd8010 (e5d00518) 
[   17.592168] ---[ end trace d312a86e3174f2be ]---
[   17.596800] Kernel panic - not syncing: Fatal exception
[   17.602039] CPU0: stopping
[   17.604755] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           4.19.82 #0
[   17.612167] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.618108] [<c010ea7c>] (unwind_backtrace) from [<c010a9bc>] (show_stack+0x10/0x14)
[   17.625871] [<c010a9bc>] (show_stack) from [<c0678cd8>] (dump_stack+0x84/0x98)
[   17.633111] [<c0678cd8>] (dump_stack) from [<c010d61c>] (handle_IPI+0xf0/0x19c)
[   17.640442] [<c010d61c>] (handle_IPI) from [<c03ba714>] (gic_handle_irq+0x74/0x78)
[   17.648032] [<c03ba714>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0x90)
[   17.655529] Exception stack(0xc0a01f30 to 0xc0a01f78)
[   17.660591] 1f20:                                     00000000 0004498c ef6d7304 c0114480
[   17.668788] 1f40: c0a00000 c0a03c6c 00000000 c0a03cac c0944500 00000000 00000000 c0a01f88
[   17.676984] 1f60: c0a0ecc0 c0a01f80 c01082f8 c01082fc 60000013 ffffffff
[   17.683617] [<c0101a0c>] (__irq_svc) from [<c01082fc>] (arch_cpu_idle+0x34/0x38)
[   17.691036] [<c01082fc>] (arch_cpu_idle) from [<c014c598>] (do_idle+0xd8/0x1b4)
[   17.698363] [<c014c598>] (do_idle) from [<c014c8d0>] (cpu_startup_entry+0x18/0x1c)
[   17.705952] [<c014c8d0>] (cpu_startup_entry) from [<c0900df8>] (start_kernel+0x4f4/0x504)
[   17.714149] Rebooting in 3 seconds..

finally I found a configuration that does not put the router in an endless reboot loop but that nevertheless crashes the kernel in the same way when issuing the reboot command:

config interface 'iptv'
        option proto 'none'
        option type 'bridge'
        option ifname 'eth2 eth2.12 lan4 lan4.12'

The above configuration will not crash the kernel on boot, and the iptv interface will be up. but when issuing the reboot command this happens:

root@gateway:/# reboot
root@gateway:/# [  818.621237] br-iptv: port 1(eth2) entered disabled state
[  818.652955] device eth2.12 left promiscuous mode
[  818.657586] device eth2 left promiscuous mode
[  818.662007] br-iptv: port 2(eth2.12) entered disabled state
[  818.704719] br-iptv: port 3(lan4) entered disabled state
[  818.744413] device lan4.12 left promiscuous mode
[  818.749044] device lan4 left promiscuous mode
[  818.753517] br-iptv: port 4(lan4.12) entered disabled state
[  818.759119] Unable to handle kernel NULL pointer dereference at virtual address 00000518
[  818.767236] pgd = 5685c1a5
[  818.769947] [00000518] *pgd=2d74d831, *pte=00000000, *ppte=00000000
[  818.776239] Internal error: Oops: 17 [#1] SMP ARM
[  818.780951] Modules linked in: cifsd ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic nf_flow_table_ipv6 nf_flow_table_ipv4 nf_fl4
[  818.852080]  nf_tables nf_reject_ipv4 nf_nat_rtsp nf_nat_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink t
[  818.922931]  nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip6_udp_tunnel udp_tunnel ip_tunnel auto]
[  818.983872] CPU: 0 PID: 1975 Comm: netifd Not tainted 4.19.82 #0
[  818.989890] Hardware name: Marvell Armada 380/385 (Device Tree)
[  818.995829] PC is at br_vlan_enabled+0x0/0x10
[  819.000195] LR is at dsa_port_vlan_del+0x48/0x90
[  819.004821] pc : [<c066a284>]    lr : [<c066fb48>]    psr: 60000013
[  819.011101] sp : ed627d60  ip : c0a2d60c  fp : 00000018
[  819.016337] r10: 00000036  r9 : ed4f5380  r8 : eda63500
[  819.021572] r7 : edbb4800  r6 : ed627dac  r5 : ef369800  r4 : eeba764c
[  819.028113] r3 : 00000004  r2 : 00000000  r1 : ed627dac  r0 : 00000000
[  819.034654] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  819.041804] Control: 10c5387d  Table: 2d7b804a  DAC: 00000051
[  819.047561] Process netifd (pid: 1975, stack limit = 0x1b8c3f18)
[  819.053580] Stack: (0xed627d60 to 0xed628000)
[  819.057947] 7d60: ed627dac 00000000 00000000 00000004 ffffffa1 c0678988 00000000 ed627d84
[  819.066144] 7d80: ffffffa1 edbb4800 ed627dac c06789b0 ed627d90 edbb4868 00000001 eda9b880
[  819.074341] 7da0: ed0933c0 c066dfb8 00000000 edbb4800 00000001 00000000 00000000 00000000
[  819.082538] 7dc0: 00010000 00000001 00000000 c066ab54 00000000 edb64c00 00000000 00000001
[  819.090735] 7de0: 00000000 c0a2b980 c0a67a78 00000001 eb3dc000 00000001 edb64c00 edbb4800
[  819.098931] 7e00: 00480020 c0a2b980 edb64c00 00000000 00000018 c05b0ce4 00480020 00000000
[  819.107128] 7e20: 00000000 edbb4800 00480020 ed093448 ed093470 eda63500 eda63500 edbb4800
[  819.115325] 7e40: 00000000 c066adf0 ed747800 ed0933c0 eda63500 c066d12c ed627ef4 eda63500
[  819.123522] 7e60: edbb4800 ed747800 eda63500 c065bbc4 eda63500 eda63000 ed627ef4 c0739c28
[  819.131719] 7e80: ed627eec 00000000 00000036 c065c53c 000089a3 eda63000 ed627ef4 c05947cc
[  819.139916] 7ea0: 00000000 ed627ef4 000000a3 000089a3 ed627ef4 000000a3 000089a3 c0a2b980
[  819.148113] 7ec0: ed627eec c0594e68 000089a3 00000051 be956c30 c0a2b980 ed411180 ed626000
[  819.156309] 7ee0: 00000036 c0551c24 ef6d9040 ee91a501 ee91a540 692d7262 00767470 00000000
[  819.164506] 7f00: 00000000 00000013 00000000 00000000 00000000 c0a03c48 be956c30 eece5360
[  819.172703] 7f20: 000089a3 be956c30 ed411180 c0225788 eb3e8018 ef6d9000 ee954540 00000000
[  819.180900] 7f40: ee91a4c0 ee993180 c0701b6c ffffe000 ed627f8c c068f5f8 ed627f74 2ed94000
[  819.189097] 7f60: c0944b90 a0000193 c0944b90 ed626000 ed411180 00000008 000089a3 be956c30
[  819.197294] 7f80: ed411180 ed626000 00000036 c022585c 00660860 000089a3 b6eb8ca8 00000036
[  819.205490] 7fa0: c0101204 c0101000 00660860 000089a3 00000008 000089a3 be956c30 be956c28
[  819.213687] 7fc0: 00660860 000089a3 b6eb8ca8 00000036 be956cf4 00000018 0063f040 00000018
[  819.221884] 7fe0: 0003cd54 be956c10 000137c4 b6f0339c 60000010 00000008 00000000 00000000
[  819.230085] [<c066a284>] (br_vlan_enabled) from [<c066fb48>] (dsa_port_vlan_del+0x48/0x90)
[  819.238375] [<c066fb48>] (dsa_port_vlan_del) from [<c0678988>] (switchdev_port_obj_del_now+0x2c/0x84)
[  819.247618] [<c0678988>] (switchdev_port_obj_del_now) from [<c06789b0>] (switchdev_port_obj_del_now+0x54/0x84)
[  819.257643] [<c06789b0>] (switchdev_port_obj_del_now) from [<c066dfb8>] (br_switchdev_port_vlan_del+0x3c/0x44)
[  819.267670] [<c066dfb8>] (br_switchdev_port_vlan_del) from [<c066ab54>] (__vlan_del+0x90/0x304)
[  819.276390] [<c066ab54>] (__vlan_del) from [<c066adf0>] (__vlan_flush+0x28/0x44)
[  819.283804] [<c066adf0>] (__vlan_flush) from [<c066d12c>] (nbp_vlan_flush+0x60/0x7c)
[  819.291568] [<c066d12c>] (nbp_vlan_flush) from [<c065bbc4>] (del_nbp+0x154/0x260)
[  819.299069] [<c065bbc4>] (del_nbp) from [<c065c53c>] (br_del_if+0x30/0xdc)
[  819.305963] [<c065c53c>] (br_del_if) from [<c05947cc>] (dev_ifsioc+0x36c/0x390)
[  819.313290] [<c05947cc>] (dev_ifsioc) from [<c0594e68>] (dev_ioctl+0x5cc/0x63c)
[  819.320618] [<c0594e68>] (dev_ioctl) from [<c0551c24>] (sock_ioctl+0x52c/0x5a8)
[  819.327945] [<c0551c24>] (sock_ioctl) from [<c0225788>] (do_vfs_ioctl+0x828/0x8c8)
[  819.335533] [<c0225788>] (do_vfs_ioctl) from [<c022585c>] (ksys_ioctl+0x34/0x58)
[  819.342946] [<c022585c>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[  819.350618] Exception stack(0xed627fa8 to 0xed627ff0)
[  819.355681] 7fa0:                   00660860 000089a3 00000008 000089a3 be956c30 be956c28
[  819.363878] 7fc0: 00660860 000089a3 b6eb8ca8 00000036 be956cf4 00000018 0063f040 00000018
[  819.372074] 7fe0: 0003cd54 be956c10 000137c4 b6f0339c
[  819.377138] Code: 18bd8010 e05c0002 13a00001 e8bd8010 (e5d00518) 
[  819.383264] ---[ end trace 6cfc8f01d47fa91b ]---
[  819.387891] Kernel panic - not syncing: Fatal exception
[  819.393130] CPU1: stopping
[  819.395844] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D           4.19.82 #0
[  819.403256] Hardware name: Marvell Armada 380/385 (Device Tree)
[  819.409195] [<c010ea7c>] (unwind_backtrace) from [<c010a9bc>] (show_stack+0x10/0x14)
[  819.416959] [<c010a9bc>] (show_stack) from [<c067c6d8>] (dump_stack+0x84/0x98)
[  819.424199] [<c067c6d8>] (dump_stack) from [<c010d61c>] (handle_IPI+0xf0/0x19c)
[  819.431530] [<c010d61c>] (handle_IPI) from [<c03ba714>] (gic_handle_irq+0x74/0x78)
[  819.439119] [<c03ba714>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0x90)
[  819.446618] Exception stack(0xef091f60 to 0xef091fa8)
[  819.451682] 1f60: 00000000 008028b0 ef6e2304 c0114480 ef090000 c0a03c6c 00000001 c0a03cac
[  819.459879] 1f80: c0944500 00000000 00000000 ef091fb8 c0a0ed00 ef091fb0 c01082f8 c01082fc
[  819.468074] 1fa0: 60000013 ffffffff
[  819.471573] [<c0101a0c>] (__irq_svc) from [<c01082fc>] (arch_cpu_idle+0x34/0x38)
[  819.478991] [<c01082fc>] (arch_cpu_idle) from [<c014c598>] (do_idle+0xd8/0x1b4)
[  819.486319] [<c014c598>] (do_idle) from [<c014c8d0>] (cpu_startup_entry+0x18/0x1c)
[  819.493907] [<c014c8d0>] (cpu_startup_entry) from [<001023ac>] (0x1023ac)
[  819.500711] Rebooting in 3 seconds..

finally I have tried with another port ( lan3 ) and it is the same thing.

for instance:

config interface 'iptv'
        option proto 'none'
        option type 'bridge'
        option ifname 'eth2.12 lan3.12'

results in the following panic on boot:

[   16.893737] mv88e6085 f1072004.mdio-mii:10 lan3: configuring for phy/gmii link mode
[   16.901473] IPv6: ADDRCONF(NETDEV_UP): lan3: link is not ready
[   16.908715] br-iptv: port 2(lan3.12) entered blocking state
[   16.914350] br-iptv: port 2(lan3.12) entered disabled state
[   16.920120] device lan3.12 entered promiscuous mode
[   16.925097] device lan3 entered promiscuous mode
[   16.929731] device eth1 entered promiscuous mode
[   16.936690] Unable to handle kernel NULL pointer dereference at virtual address 00000518
[   16.944816] pgd = c664e7e5
[   16.947529] [00000518] *pgd=2d1bf831, *pte=00000000, *ppte=00000000
[   16.953830] Internal error: Oops: 17 [#1] SMP ARM
[   16.958543] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_tabs
[   17.030024]  nf_reject_ipv4 nf_nat_rtsp nf_nat_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink nf_conntrak
[   17.100876]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip6_udp_tunnel udp_tunnel ip_tunnel autofs4 nls_utc
[   17.158945] CPU: 1 PID: 1975 Comm: netifd Not tainted 4.19.82 #0
[   17.164964] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.170904] PC is at br_vlan_enabled+0x0/0x10
[   17.175270] LR is at dsa_port_vlan_add+0x40/0x88
[   17.179897] pc : [<c066a284>]    lr : [<c066fab8>]    psr: 60000013
[   17.186177] sp : ed615ca0  ip : 00000001  fp : ed615db6
[   17.191411] r10: 00000001  r9 : edbce500  r8 : ec1a2000
[   17.196646] r7 : ed615d04  r6 : ed615d24  r5 : ef3da000  r4 : ef32b1dc
[   17.203186] r3 : 00000003  r2 : ed615d04  r1 : 00000000  r0 : 00000000
[   17.209728] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   17.216879] Control: 10c5387d  Table: 2d61004a  DAC: 00000051
[   17.222636] Process netifd (pid: 1975, stack limit = 0xc606eb54)
[   17.228656] Stack: (0xed615ca0 to 0xed616000)
[   17.233023] 5ca0: ed615d24 ed615d04 00000000 00000003 ffffffa1 c06787b8 ef05aa80 ee921580
[   17.241220] 5cc0: 00000000 ffffffa1 ec1a2000 ed615d24 ed615d04 c06787e0 c0945000 ec1a2068
[   17.249418] 5ce0: c0a03db0 eb19db40 ec1a2000 ed615d24 ed4b1000 c0678890 ef05aa00 c013dd3c
[   17.257615] 5d00: ef05aa00 ed615d04 ed615d04 c0945001 eb19db40 eb19db40 ed027d80 c066df74
[   17.265812] 5d20: ed615d64 ec1a2000 00000001 00000000 00000000 00000000 00010006 00000001
[   17.274009] 5d40: 00000000 c066b924 ef05aa04 00000006 00000001 00000000 ed4b1080 00000036
[   17.282205] 5d60: ed615d84 c0148948 ef18404c ef184040 ef18404c 00000000 00000000 ed027d80
[   17.290402] 5d80: eb19db40 ed4b1000 00000001 00000000 00000006 c066a1d0 ed615db6 c066c7a8
[   17.298598] 5da0: ffffffa1 ef3da000 ed615e23 ed615e04 00000000 000182a8 ed027d80 ed615db6
[   17.306796] 5dc0: 00020003 00000008 00001000 01010000 00000000 00000000 c066a1d0 00020003
[   17.314992] 5de0: 00000008 00001000 01010000 00000000 00000000 c066a1d0 ed027dd8 00000000
[   17.323190] 5e00: ed027d80 ed4b1000 00000000 00000000 ed4b1080 00000036 0003d7a8 c066c8d8
[   17.331387] 5e20: 00974080 edbce000 00000007 00000002 00000000 00000000 00000000 00000000
[   17.339583] 5e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c0a03c48
[   17.347779] 5e60: ec1a2000 ec1a2000 00000000 ed4b1000 edbce500 c065c328 00000000 c012e864
[   17.355976] 5e80: edbce500 000089a2 edbce000 ed615ef4 c0739c28 ed615eec 00000000 c05947cc
[   17.364172] 5ea0: 01cc615b c0a2b980 ed615ef4 c056d0e8 ed615ef4 000000a2 000089a2 c0a2b980
[   17.372370] 5ec0: ed615eec c0594e68 000089a2 00000051 bedadba8 c0a2b980 ef0ce840 ed614000
[   17.380566] 5ee0: 00000036 c0551c24 00000000 eed52001 eea71410 692d7262 00767470 00000000
[   17.388763] 5f00: 00000000 00000013 00000000 00000000 00000000 c0a03c48 bedadba8 eee3f360
[   17.396960] 5f20: 000089a2 bedadba8 ef0ce840 c0225788 00000000 eecfe880 eecfe8d0 c07eafec
[   17.405156] 5f40: ed631840 00000000 eed52000 eea71410 eecfe880 40000010 ed631848 c0214558
[   17.413352] 5f60: 00000020 00000000 00000000 ee921934 ef0ce840 00000008 000089a2 bedadba8
[   17.421548] 5f80: ef0ce840 ed614000 00000036 c022585c 01cd75c0 000089a2 b6f38c58 00000036
[   17.429745] 5fa0: c0101204 c0101000 01cd75c0 000089a2 00000008 000089a2 bedadba8 bedadba0
[   17.437941] 5fc0: 01cd75c0 000089a2 b6f38c58 00000036 01cd75f8 b6f38c58 01cd7764 0003d7a8
[   17.446139] 5fe0: 0003cd54 bedadb88 000137c4 b6f8339c 60000010 00000008 00000000 00000000
[   17.454340] [<c066a284>] (br_vlan_enabled) from [<c066fab8>] (dsa_port_vlan_add+0x40/0x88)
[   17.462629] [<c066fab8>] (dsa_port_vlan_add) from [<c06787b8>] (__switchdev_port_obj_add+0x30/0x8c)
[   17.471699] [<c06787b8>] (__switchdev_port_obj_add) from [<c06787e0>] (__switchdev_port_obj_add+0x58/0x8c)
[   17.481377] [<c06787e0>] (__switchdev_port_obj_add) from [<c0678890>] (switchdev_port_obj_add_now+0x7c/0xf0)
[   17.491228] [<c0678890>] (switchdev_port_obj_add_now) from [<c066df74>] (br_switchdev_port_vlan_add+0x3c/0x44)
[   17.501254] [<c066df74>] (br_switchdev_port_vlan_add) from [<c066b924>] (__vlan_add+0x50/0x5b4)
[   17.509974] [<c066b924>] (__vlan_add) from [<c066c7a8>] (nbp_vlan_add+0x210/0x244)
[   17.517562] [<c066c7a8>] (nbp_vlan_add) from [<c066c8d8>] (nbp_vlan_init+0xfc/0x158)
[   17.525326] [<c066c8d8>] (nbp_vlan_init) from [<c065c328>] (br_add_if+0x3c8/0x5ac)
[   17.532918] [<c065c328>] (br_add_if) from [<c05947cc>] (dev_ifsioc+0x36c/0x390)
[   17.540245] [<c05947cc>] (dev_ifsioc) from [<c0594e68>] (dev_ioctl+0x5cc/0x63c)
[   17.547572] [<c0594e68>] (dev_ioctl) from [<c0551c24>] (sock_ioctl+0x52c/0x5a8)
[   17.554900] [<c0551c24>] (sock_ioctl) from [<c0225788>] (do_vfs_ioctl+0x828/0x8c8)
[   17.562488] [<c0225788>] (do_vfs_ioctl) from [<c022585c>] (ksys_ioctl+0x34/0x58)
[   17.569902] [<c022585c>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   17.577574] Exception stack(0xed615fa8 to 0xed615ff0)
[   17.582637] 5fa0:                   01cd75c0 000089a2 00000008 000089a2 bedadba8 bedadba0
[   17.590835] 5fc0: 01cd75c0 000089a2 b6f38c58 00000036 01cd75f8 b6f38c58 01cd7764 0003d7a8
[   17.599030] 5fe0: 0003cd54 bedadb88 000137c4 b6f8339c
[   17.604095] Code: 18bd8010 e05c0002 13a00001 e8bd8010 (e5d00518) 
[   17.610211] ---[ end trace 9ac484c1994602dc ]---
[   17.614842] Kernel panic - not syncing: Fatal exception
[   17.620079] CPU0: stopping
[   17.622795] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           4.19.82 #0
[   17.630206] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.636146] [<c010ea7c>] (unwind_backtrace) from [<c010a9bc>] (show_stack+0x10/0x14)
[   17.643910] [<c010a9bc>] (show_stack) from [<c067c6d8>] (dump_stack+0x84/0x98)
[   17.651150] [<c067c6d8>] (dump_stack) from [<c010d61c>] (handle_IPI+0xf0/0x19c)
[   17.658482] [<c010d61c>] (handle_IPI) from [<c03ba714>] (gic_handle_irq+0x74/0x78)
[   17.666071] [<c03ba714>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0x90)
[   17.673570] Exception stack(0xc0a01f30 to 0xc0a01f78)
[   17.678632] 1f20:                                     00000000 000424d0 ef6d7304 c0114480
[   17.686829] 1f40: c0a00000 c0a03c6c 00000000 c0a03cac c0944500 00000000 00000000 c0a01f88
[   17.695025] 1f60: c0a0ed00 c0a01f80 c01082f8 c01082fc 60000013 ffffffff
[   17.701658] [<c0101a0c>] (__irq_svc) from [<c01082fc>] (arch_cpu_idle+0x34/0x38)
[   17.709076] [<c01082fc>] (arch_cpu_idle) from [<c014c598>] (do_idle+0xd8/0x1b4)
[   17.716403] [<c014c598>] (do_idle) from [<c014c8d0>] (cpu_startup_entry+0x18/0x1c)
[   17.723993] [<c014c8d0>] (cpu_startup_entry) from [<c0900df8>] (start_kernel+0x4f4/0x504)
[   17.732190] Rebooting in 3 seconds..


26.11.20192634Base systemBug ReportVery LowCriticalLuci allows access if root password is cleared and lock...AllUnconfirmed Task Description

Luci doesn’t correctly handle a disabled, empty password for root.
Deleting and disabling the root password makes the luci interface accessible without a password.

Steps to reproduce:
- Delete root password (passwd -d root)
- Lock root password (passwd -l root)
- Try to access Luci

01.12.20192645Base systemBug ReportVery LowCritical18.06.3 - Broken compatibility with flash on bcm6538 ba...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Pirelli A226M
- Software versions of OpenWrt/LEDE release: 18.06.3
- Steps to reproduce: just flash a 18.06.3 version or greater and verify the device won’t boot, hanging when it gets to mount local flash. 18.06.1 is working, never tried 18.06.2.

[    1.065798] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.073562] Please append a correct "root=" boot option; here are the available partitions:
[    1.082174] 1f00             128 mtdblock0 [    1.086283]  (driver?)
[    1.088718] 1f01           16128 mtdblock1 [    1.092823]  (driver?)
[    1.095210] 1f02             128 mtdblock2 [    1.099366]  (driver?)
[    1.101798] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
 


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.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)
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

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?
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
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...

 


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 ]—

09.08.20203280Base systemBug ReportVery LowCriticalWan interface and sometimes lan interfaces randomly go ...TrunkUnconfirmed Task Description

- Versions where bug is present: OpenWRT snapshots, tested with r13938 and r18039.

- Affected device: D-Link DIR-878 and likely others from its family.

- What does it do and shouldn’t do: the ethernet interfaces randomly get switched on/off, dropping the link and resetting the connection. Troubleshooting has already been thoroughly conducted to rule out other causes, see below. This is critical severity because makes OpenWRT unusable in these devices.

- Steps to reproduce:
– flash the snapshot image on a D-Link DIR-878;
– configure the WAN (tested with PPPoE and DHCP protocols) and LAN interfaces (tested with Static and DHCP protocols) - using all interfaces will increase the likelihood that at least one of them will present the behaviour;
– wait an indefinite but reasonable (< 2h for all instances so far) amount of time;
– the interface will randomly be put down and then up a couple seconds later, and it will be randomly looping up/down states at random amounts of time.

- Troubleshooting already conducted: full and detailed troubleshooting history is present at this forum thread. Please let me know if I can provide further information.

- Additional info: some people are having WiFi issues with MT7621 family devices that might be related to this one if they share a common cause, such as a possible race condition in the drivers;

21.08.20203298Base systemBug ReportVery LowCriticalEdimax 3G-6200n z OpenWrt 19.07.2 lost settings after r...openwrt-19.07Unconfirmed Task Description

Edimax 3G-6200n OpenWrt 19.07.2, r10947-65030d81f3

Steps:
1. Download the latest version OpenWrt 19.07.2 to Edimax 3G-6200n.
2. Set e.g. the password to the router and/or turn on the WiFi.
3. Reboot the router with the reboot option in OpenWrt.
4. The router has no settings previously saved - the status is as right after installing fresh OpenWRT - no password, no WiFi enabled, default settings.

Problem with JFFS.

root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.0M      3.0M         0 100% /rom
tmpfs                    13.8M    284.0K     13.5M   2% /tmp
tmpfs                    13.8M     60.0K     13.7M   0% /tmp/root
overlayfs:/tmp/root      13.8M     60.0K     13.7M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev

root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28276       14008        5224         344        9044       11872
Swap:             0           0           0
#here I added the password and turned on the WiFi network - the free RAM decreased
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          28276       15632        3496         368        9148       10236
Swap:             0           0           0
root@OpenWrt:~#
21.08.20203299Base systemBug ReportVery LowCriticalbusybox: Alternatives gets overwrited when busybox upda...TrunkUnconfirmed Task Description

This is device independent and I think it affects all versions but I have seen this over 19.07. If you have binary programs that conflicts with busybox ones, opkg sets them to be used instead when they are installed.

I discovered this because mwan3 got broke and investigating the error it dropped the problems seems to be that the ip binary from busybox doesn’t support some features mwan3 needs. I could find that I had ip installed as is a dependency of mwan3 so I just remembered that busybox was updated recently.

Just by reinstalling ip the issue was solved.

I don’t know how this could be managed, perhaps just when a package that has alternatives is installed update them and when the package is being upgraded ignore updating the alternatives.

I set this critical just because it could be very difficult to see where the problem is for many people (I surprised myself how it could take so many time to advert the real issue when I found it, it’s simple, but if you don’t notice busybox upgrading could be cumbersome to see), and, this could break things, like for example mwan3 or any other program that rely using alternative binaries and not the busybox ones. Of course fell free to set the severity you think could be more accurate.

17.09.20203345Base systemBug ReportVery LowCriticalWifi off TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on TP-Link TL-WR842N v5.
- OpenWrt/LEDE 19.07.04 with last updating.
- Just use wifi on the device. It have random wifi off about 1 min.
Log:
https://pastebin.com/c64H5kCR

28.09.20203365Base systemBug ReportVery LowCriticalaccess USB storage in LEDE for Talon AD7200TrunkUnconfirmed Task Description

Anybody have an ideal to access USB storage at Talon AD72000 with nexmon firmware? lede-ad7200?

Several ways I have tried:

1. search for path like `/mnt/dev` `/dev/`, I can see my usb flash disk led blinking and there show up the device after I insert the disk, but I can NOT cd into the disk

2. install other tool via `opkg`, especially Quick Start for Adding a USB drive, however, the whole OS will crash down when install `kmod-usb-storage` at step 3 and I have to start all over.

Let me know if any solution

Best.

09.10.20203372Base systemBug ReportVery LowCriticalAfter flashing 19.07.4 on Kingston MLWG2, no network ar...openwrt-19.07Unconfirmed Task Description

Just flashed 19.07.4 on Kingston MLWG2.

Followed online procedure found (copy image to SD card, touch special file, login via telnet on stock firmware, write image, reboot device) to flash OpenWRT.

After flash, device “seems” stuck dead (all leds are on, wired network irresponsive, no WiFi AP detected).

I have opened the device, soldered the serial console pins and accessere via serial console.

Device is actually booting perfectly, but both wired and wifi are not accessible.

1. I have WiFi enabled by setting “disabled = 0” in /etc/config/wireless to OpenWrt AP

2. I have Wired enabled by adding “option iface “eth0”” to the “lan” interface in /etc/config/network

3. Device now works great

Without these two changes, the device is as good as dead.

This is a peculiar device: only 1 ethernet port and 2.4Ghz Wifi. My guess something is wrong in the vlan/bridge/switch settings?

I hope a fix can be commited somehow so that future users do not end up with a dead-like device.

 


Showing tasks 1 - 50 of 1125 Page 1 of 231 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing