OpenWrt/LEDE Project

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

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

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

OpenedIDCategoryTask TypePriority  descSeveritySummaryReported InStatus
04.05.20203065PackagesBug ReportVery LowLowiptables-mod-conntrack-extra package does not include c...openwrt-19.07Unconfirmed Task Description

The iptables-mod-conntrack-extra package does not include the connrate match extension.

There’s no mention of connrate in any other packages either, so as far as I can tell it doesn’t seem to be possible to use connrate on OpenWRT.

From the iptables documentation:


connrate

This module matches the current transfer rate in a connection.
connrate [!] [from]:[to]
Match against the current connection transfer rate being within ‘from’ and ‘to’ bytes per second. When the “!” argument is used before the range, the sense of the match is inverted.


06.05.20203067PackagesBug ReportVery LowCriticaldownload board.bin failureopenwrt-19.07Unconfirmed Task Description
make[3]: Entering directory '/home/leo/openwrt/package/firmware/ath10k-ct-firmware'
mkdir -p /home/leo/openwrt/dl
SHELL= flock /home/leo/openwrt/tmp/.ath10k-firmware-d622d160e9f552ead68d9ae81b715422892dc2ef-qca9887-board.bin.flock -c '  	/home/leo/openwrt/scripts/download.pl "/home/leo/openwrt/dl" "ath10k-firmware-d622d160e9f552ead68d9ae81b715422892dc2ef-qca9887-board.bin" "cf4df099f6ee05c181f55ce17297a1d32c61d725eb96246fd315ad5587c42426" "board.bin" "@GITHUB/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0"    '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.cdn.openwrt.org/board.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
curl: (22) The requested URL returned error: 404 
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://raw.githubusercontent.com/kvalo/ath10k-firmware/d622d160e9f552ead68d9ae81b715422892dc2ef/QCA9887/hw1.0/board.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.openwrt.org/board.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://mirror2.openwrt.org/sources/board.bin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.

11.05.20203090PackagesBug ReportVery LowMediumdnsmasq: daemon.err dnsmasq[6363]: failed to load name...openwrt-19.07Unconfirmed Task Description

Router model : Netgear WNDR3700v1

I upgraded to 19.0.7 yesterday. Since I have the follow issue :
all static leases can’t be resolved (25 hosts).

In system.log I found this logs each time I (re)start dnsmasq :
Mon May 11 05:47:28 2020 daemon.info dnsmasq[6363]: read /etc/hosts - 4 addresses
Mon May 11 05:47:28 2020 daemon.err dnsmasq[6363]: failed to load names from /tmp/hosts/dhcp.cfg01411c: Permission denied
Mon May 11 05:47:28 2020 daemon.info dnsmasq-dhcp[6363]: read /etc/ethers - 0 addresses

So I patched the init.d/dnsmasq adding this line :

 chmod og+r $HOSTFILE

after the line :

 mv -f $HOSTFILE_TMP $HOSTFILE

in function dnsmasq_start

This patch is operational with those logs :
Mon May 11 05:51:57 2020 daemon.info dnsmasq[6613]: read /etc/hosts - 4 addresses
Mon May 11 05:51:57 2020 daemon.info dnsmasq[6613]: read /tmp/hosts/dhcp.cfg01411c - 25 addresses
Mon May 11 05:51:57 2020 daemon.info dnsmasq-dhcp[6613]: read /etc/ethers - 0 addresses

Best regards.
Philippe

04.06.20203150PackagesBug ReportVery LowMediumPackages seem to be missing from downloads.openwrt.org ...openwrt-19.07Unconfirmed Task Description

Device: openwrtorg/rootfs:armvirt-32-19.07.2 Docker image
Version: OpenWrt 19.07

Hi- I hope everyone is doing well.

We’ve got some builds that use the openwrtorg/rootfs:armvirt-32-19.07.2 Docker image; they run around 1600 UTC each day as well as any time somebody amends a related pull request (normally between 0000 UTC to 1000 UTC, our working day for Perth, Australia).

Occasionally, we get failures due to packages missing in OpenWrt (curiously, it’s usually GCC)- more commonly during our morning.

I _think_ this may be a byproduct of the OpenWrt nightly builds happening and the packages being rebuilt, it may be that https://downloads.openwrt.org/releases/19.07.2/packages/arm_cortex-a15_neon-vfpv4/packages/ is the actual build output folder (and so during a build, the contents may change).

I’ve had a look at the timestamps at that URL, I’m not sure what timezone they’re in, but they’re mostly around the 0100 to 0500 range- if this is UTC and my suspicions are correct, then that would definitely cause an increase of this issue during our morning (which is what we see).

I don’t think it’s related to any Docker build cache funniness- we wipe that at 1900 UTC each day.

While you won’t reliably be able to reproduce, here’s a simple test case (requiring Docker for Mac/Windows, or Docker for Linux with docker buildx configured):

- docker run –rm -it openwrtorg/rootfs:armvirt-32-19.07.2 sh
- mkdir /var/lock
- opkg update && opkg install gcc

I’ve attached a log excerpts from our CI system of one such failure.

Thanks and regards,

Ed

06.06.20203153PackagesBug ReportVery LowMediumfeeds/packages/utils/zstd fails to compile if python3-d...TrunkUnconfirmed Task Description

Device problem occurs on

build server

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

OpenWrt master as of r13499-7b4877c204

Steps to reproduce

  1. install debian 10 amd64 & OpenWrt build requirements
  2. git clone git://git.openwrt.org/openwrt/openwrt.git
  3. select ath79-generic as target & select btrfs with zstd support
  4. compile & wait
  5. get output similar to attached meson-log.txt

Solutions to solve problem

  • install “python3-distutils” on the host
  • zstd package checks if python3-distutils is installed and provides proper “missing dependency”-error
20.06.20203193PackagesBuild FailureVery LowLowofficial bird2 build on ipq806x doesn't start and has b...openwrt-19.07Unconfirmed Task Description

Hi all,

I am running bird2 on Netgear R7800 for OSPF routing but it doesn’t start. Following are error messages I got:

# bird -c /etc/bird.conf -d
Bus error

# logread
Sat Jun 20 12:24:09 2020 daemon.info bird: Started
Sat Jun 20 12:24:09 2020 kern.err kernel: [572809.062848] Alignment trap: not handling instruction f44c0a1f at [<0006bb88>]
Sat Jun 20 12:24:09 2020 kern.alert kernel: [572809.062907] Unhandled fault: alignment exception (0x801) at 0x017c9634
Sat Jun 20 12:24:09 2020 kern.alert kernel: [572809.069111] pgd = d7668000
Sat Jun 20 12:24:09 2020 kern.alert kernel: [572809.075597] [017c9634] *pgd=5c0c6835, *pte=5ad3475f, *ppte=5ad34c7f


# dmesg
[571421.877597] Alignment trap: not handling instruction f44c0a1f at [<0006bb88>]
[571421.877645] Unhandled fault: alignment exception (0x801) at 0x0111b624
[571421.883832] pgd = dc258000
[571421.890385] [0111b624] *pgd=5e63a835, *pte=5c72975f, *ppte=5c729c7f

Environment
- OpenWrt 19.07.3, r11063-85e04e9f46
- bird2 - 2.0.7-2
- target ipq806x
- model Netgear R7800

# /etc/bird.conf
log syslog all;
router id 192.168.1.1;                                                                                                                                        
protocol device {                                                                                                                                       
}                                                                                                                                                       
protocol bfd {                                                                                                                                          
}                                                                                                                                                       
protocol direct {                                                                                                                                      
        interface "br-lan";                                                                                                                             
        ipv4;                   # Connect to default IPv4 table                                                                                         
        ipv6;                   # ... and to default IPv6 table                                                                                         
}                                                                                                                                                       
                                                                                                                                                        
# The Kernel protocol is not a real routing protocol. Instead of communicating                                                                          
# with other routers in the network, it performs synchronization of BIRD                                                                                
# routing tables with the OS kernel. One instance per table.                                                                                            
protocol kernel {                                                                                                                                       
        scan time 10;                                                                                                                                   
        merge paths;                                                                                                                                    
        ipv4 {                  # Connect protocol to IPv4 table by channel                                                                             
#             table master4;    # Default IPv4 table is master4                                                                                         
#             import all;       # Import to table, default is import all                                                                                
              export all;       # Export to protocol. default is export none                                                                            
        };                                                                                                                                              
#       learn;                  # Learn alien routes from the kernel                                                                                    
#       kernel table 10;        # Kernel table to synchronize with (default: main)                                                                      
}                                                                                                                                                       
                                                                                                                                                        
# Another instance for IPv6, skipping default options                                                                                                   
protocol kernel {                                                                                                                                       
        scan time 10;                                                                                                                                   
        merge paths;                                                                                                                                    
        ipv6 { export all; };                                                                                                                           
}                                                                                                                                                       
                                                                                                                                                        
# OSPF example, both OSPFv2 and OSPFv3 are supported                                                                                                    
protocol ospf v2 ospf4 {                                                                                                                                
        ipv4 {                                                                                                                                          
        };                                                                                                                                              
        area 0 {                                                                                                                                        
                interface "br-lan" {bfd;};                                                                                                              
        };                                                                                                                                              
}

This issue can be reproduced with the latest OpenWrt release 19.07.3, but it has been there for a long time.
A custom build of bird2 package with OpenWRT SDK doesn’t have this issue.

I am not sure this is the right place to report this issue. Could anyone help with this?

25.06.20203202PackagesBug ReportVery LowLowlibnl_tiny: struct np_sock may be affected by Y2038 Pro...TrunkUnconfirmed Task Description

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

 

libnl_tiny stores time() value to sk→s_seq_expect and sk→s_seq_next (struct np_sock sk) in socket.c.
Struct members s_seq_expect and s_seq_next are both unsigned integer values, which I believe is to
overcome Y2038 Problem. Looking at git blame, this particular design choice has been made over 10 years ago.

Since many libraries and OS including gLibc and linux have already redefined time_t to signed 64 bit,
I think it is safe to redefine the members to uint64_t.

18.07.20203237PackagesBuild FailureVery LowHighumdns: fails to compile with gcc10TrunkUnconfirmed Task Description

Try to compile umdns with gcc10 and it will break with following error:

service.c:240:10: error: ‘strcpy’ offset 6 from the object at ‘b’ is
out of the bounds of referenced subobject ‘name’ with type ‘uint8_t[]’ {aka ‘unsigned char[]’} at offset 6 [-Werror=array-bounds]

More detailed error:
https://github.com/berlin-open-wireless-lab/DAWN/issues/109#issuecomment-657483908

04.08.20203270PackagesBug ReportVery LowLowgcc: package seems incompatible with linker provided by...TrunkUnconfirmed Task Description

I use the gcc package to compile C code on my OpenWrt installation. Something has broken the toolchain, and it appears to be related to the binutils package that OpenWrt base provides. I receive errors such as these when I compile:

root@OpenWrt # gcc hello.c 
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libssp_nonshared.a(__stack_chk_fail_local.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libssp_nonshared.a(__stack_chk_fail_local.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info

I was able to overcome this problem by updating binutils. I copied the version information and patches for binutils 2.32 from toolchain/binutils/ into package/devel/binutils/, and I built a newer version of the binutils package. Whereas the toolchain version of binutils provides the option to build a recent release, the package version is still 2.27.

See also https://github.com/openwrt/packages/issues/13019.


11.08.20203281PackagesBug ReportVery LowHighdnsmasq: option nonwildcard=0 and localservice=1 can no...TrunkUnconfirmed Task Description

Latest snapshot OpenWrt

It can be reproduced on many platform, you can just verify with Virtualbox and x86 images.

First restore to factory, then set ‘option nonwildcard=0’, reboot, ssh to OpenWrt, run ‘nslookup he.net’, you will get ‘;; connection timed out; no servers could be reached’ error, manually restarting dnsmasq service or setting ‘option localservice=0’ could fix it.

17.08.20203290PackagesBug ReportVery LowLowhostapd always sets ap_isolate to 1 no matter what the ...openwrt-19.07Unconfirmed Task Description

I have two devices that show the same problem - both TP-Link, but different models.
The problem is that the devices/clients connected to any of the wlans are always isolated no matter what the config “isolate clients” is set to.
These devices cannot ping and see each other but they can be pinged and they can ping devices from/to devices in lan.

Further more the generated /var/run/hostapd-phy0.conf and /var/run/hostapd-phy1.conf always have the ap_isolate=1

The tested devices are:

root@OpenWrt:~# ubus call system board
{
        "kernel": "4.14.180",
        "hostname": "OpenWrt",
        "system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
        "model": "TP-Link Archer C7 v2",
        "board_name": "tplink,archer-c7-v2",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.3",
                "revision": "r11063-85e04e9f46",
                "target": "ath79/generic",
                "description": "OpenWrt 19.07.3 r11063-85e04e9f46"
        }
}
root@OpenWrt:~# ubus call system board
{
        "kernel": "4.14.180",
        "hostname": "OpenWrt",
        "system": "Atheros AR9344 rev 2",
        "model": "TP-Link TL-WDR4300 v1",
        "board_name": "tplink,tl-wdr4300-v1",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.3",
                "revision": "r11063-85e04e9f46",
                "target": "ath79/generic",
                "description": "OpenWrt 19.07.3 r11063-85e04e9f46"
        }
}

No packages have been updated manually on both devices.
Both devices has defaults sets coming with the default factory OpenWrt 19.07.3 image.
Both devices were set for their Network → Wireless → wlan0 (and wlan1) → Interface configuration → Advanced settings → Isolate clients UNCHECKED

Here is the config of one of the devices (/etc/config/wireless) and the respective generated /var/run/hostapd-phy0.conf

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/ahb/18100000.wmac'
	option channel 'auto'
	option country 'BG'
	option htmode 'HT20'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option key 'XXXXXX'
	option ssid 'YYYYYYYY'
	option encryption 'psk2'

Even when option isolate ‘0’ is added manually using uci not luci, and restarting the device the respective hostapd-phy0.conf remains with ap_isolate=1

driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=BG
ieee80211d=1
hw_mode=g
beacon_int=100
channel=acs_survey



ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=XXXXXX
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=YYYYYYYY
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=xx:xx:xx:xx:xx:xx

My guess is that hostapd/wpad doesn’t set properly the ap_isolate according to the config.

Please let me know if you need further info.

Thanks

 


24.08.20203301PackagesBug ReportVery LowLowCannot satisfy dependency on iptables-mod-tproxyopenwrt-19.07Waiting on reporter Task Description

One example is iptables-mod-tproxy. It is available in 19.07.0, but not in 19.07.1. This causes dependency issue when installing some packages.
How to reproduce:

# opkg install shadowsocks-libev-ss-rules
Installing shadowsocks-libev-ss-rules (3.2.5-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.1/packages/aarch64_cortex-a53/packages/shadowsocks-libev-ss-rules_3.2.5-5_aarch64_cortex-a53.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for shadowsocks-libev-ss-rules:
 *      iptables-mod-tproxy
 * opkg_install_cmd: Cannot install package shadowsocks-libev-ss-rules.

I reproduced it on aarch64_coretex_a53, but I see it’s missing for other platforms like a72 and x86_64, too.

It was reported here: https://github.com/openwrt/packages/issues/11457 But was closed and the maintainer said it belongs here.

31.08.20203313PackagesBuild FailureVery LowHighath79/mikrotik: initramfs image is missing the nand-uti...TrunkUnconfirmed Task Description

The initramfs-kernel.bin image for the ath79/mikrotik mikrotik,routerboard-sxt-5nd-r2 device (SXT Lite 5) is missing the nand-utils package. Therefore, when booting via TFTP (e.g., to install OpenWrt for the first time), the sysupgrade image can not be flashed:

[...] successful boot from TFTP, sysupgrade image uploaded via SCP
root@OpenWrt:/# cat /tmp/sysinfo/board_name 
mikrotik,routerboard-sxt-5nd-r2
root@OpenWrt:/# ls -la /usr/sbin/nand*
ls: /usr/sbin/nand*: No such file or directory
root@OpenWrt:/# sysupgrade -v -n /tmp/openwrt-ath79-mikrotik-mikrotik_routerboar
d-sxt-5nd-r2-squashfs-sysupgrade.bin 
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... hostapd wpa_supplicant netifd odhcpd ntpd dnsmasq ubusd urngd logd 
Sending KILL to remaining processes ... 
Performing system upgrade...
Unlocking kernel ...
Erasing kernel ...
/lib/upgrade/do_stage2: line 25: nandwrite: not found
tar: write error: Broken pipe
removing ubiblock0_1
[  301.377800] block ubiblock0_1: released
Volume ID 0, size 19 LEBs (2451456 bytes, 2.3 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "none", alignment 1
Volume ID 1, size 21 LEBs (2709504 bytes, 2.5 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 119734272
Volume ID 2, size 928 LEBs (119734272 bytes, 114.1 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[  303.837785] reboot: Restarting systemt
�

so the device can’t boot, as nothing has been written to NAND.

19.09.20203346PackagesBuild FailureVery LowMediumUbox invalid memory access (does not build with gcc10)TrunkUnconfirmed Task Description

See: https://git.openwrt.org/?p=project/ubox.git;a=blob;f=kmodloader.c;h=6f06ee3939f2f3e151357d33cfd165603cb40e4d;hb=HEAD#l699

Prints:

In function 'main_insmod',
    inlined from 'main' at /home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:1062:10:
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:734:13: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  734 |  options[0] = 0;
      |  ~~~~~~~~~~~^~~
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c: In function 'main':
/home/openwrt/openwrt-lam/build/archer-c7-v2eu/build_dir/target-mips_24kc_musl/ubox-2019-12-31-0e34af14/kmodloader.c:727:12: note: at offset 0 to an object with size 0 allocated by 'malloc' here
  727 |  options = malloc(len);
      |            ^~~~~~~~~~~

Fix im using for my builds is attached.

Kind regards
MartB

19.09.20203347PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203348PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
19.09.20203349PackagesBuild FailureVery LowLowlibustream: package/install file conflictsTrunkUnconfirmed Task Description

Reproduce the problem:
selecting `luci-ssl-openssl`

Collected errors:
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package libustream-openssl20200215.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      luci-proto-ppp
 * opkg_install_cmd: Cannot install package luci.
 * check_data_file_clashes: Package libustream-openssl20200215 wants to install file /media/builds/github-openwrt/openwrt/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20200215
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
pts (1.4.0-9) to root...
make[1]: *** [package/Makefile:68: package/install] Error 255
make[1]: Leaving directory '/media/builds/github-openwrt/openwrt'
make: *** [/media/builds/github-openwrt/openwrt/include/toplevel.mk:236: package/install] Error 2
Command exited with non-zero status 2
20.09.20203353PackagesBug ReportVery LowMediumiproute2 compilation fails due to dynsyms syntax errorTrunkNew Task Description

Building master:

files="e_bpf.c em_canid.c em_cmp.c em_ipset.c em_ipt.c em_meta.c em_nbyte.c em_u32.c f_basic.c f_bpf.c f_cgroup.c f_flow.c f_flower.c f_fw.c f_matchall.c f_route.c f_rsvp.c f_tcindex.c f_u32.c m_action.c m_bpf.c m_connmark.c m_csum.c
m_ct.c m_ctinfo.c m_ematch.c m_estimator.c m_gact.c m_gate.c m_ife.c m_ipt.c m_mirred.c m_mpls.c m_nat.c m_pedit.c m_police.c m_sample.c m_simple.c m_skbedit.c m_skbmod.c m_tunnel_key.c m_vlan.c m_xt_old.c p_eth.c p_icmp.c p_ip.c p_ip
6.c p_tcp.c p_udp.c q_atm.c q_cake.c q_cbq.c q_cbs.c q_choke.c q_clsact.c q_codel.c q_drr.c q_dsmark.c q_etf.c q_ets.c q_fifo.c q_fq.c q_fq_codel.c q_fq_pie.c q_gred.c q_hfsc.c q_hhf.c q_htb.c q_ingress.c q_mqprio.c q_multiq.c q_netem
.c q_pie.c q_plug.c q_prio.c q_qfq.c q_red.c q_rr.c q_sfb.c q_sfq.c q_skbprio.c q_taprio.c q_tbf.c static-syms.c tc.c tc_cbq.c tc_class.c tc_core.c tc_estimator.c tc_exec.c tc_filter.c tc_monitor.c tc_qdisc.c tc_red.c tc_stab.c tc_uti
l.c" ; \
echo "{" > dynsyms.list ; \
for s in `grep -B 3 '\<dlsym' $files | sed -n '/snprintf/{s:.*"\([^"]*\)".*:\1:;s:%s::;p}'` ; do \
        sed -n '/'$s'[^ ]* =/{s:.* \([^ ]*'$s'[^ ]*\) .*:\1;:;p}' $files ; \
done >> dynsyms.list ; \
echo "show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };" >> dynsyms.list
    CC       m_xt.so
In file included from ../include/uapi/linux/netfilter_ipv4/ip_tables.h:21,
                 from m_xt.c:19:
../include/uapi/linux/if.h:134: warning: "IFF_VOLATILE" redefined
 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\

In file included from m_xt.c:16:
/home/user/dev/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/net/if.h:48: note: this is the location of the previous definition
 #define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \

    CC       emp_ematch.tab.o
/home/user/dev/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/lib/gcc/mips-openwrt-linux-musl/8.4.0/../../../../mips-openwrt-linux-musl/bin/ld:dynsyms.list:0: syntax error in dynamic list
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:174: m_xt.so] Error 1

The dynsyms file contains:

$ cat ./build_dir/target-mips_24kc_musl/linux-ath79_generic/iproute2-tc/iproute2-5.8.0/tc/dynsyms.list
{
bpf_action_util;
connmark_action_util;
csum_action_util;
ct_action_util;
ctinfo_action_util;
gact_action_util;
gate_action_util;
ife_action_util;
ipt_action_util;
mirred_action_util;
mpls_action_util;
nat_action_util;
pedit_action_util;
police_action_util;
sample_action_util;
simple_action_util;
skbedit_action_util;
skbmod_action_util;
tunnel_key_action_util;
vlan_action_util;
ipt_action_util;
canid_ematch_util;
cmp_ematch_util;
ipset_ematch_util;
ipt_ematch_util;
meta_ematch_util;
nbyte_ematch_util;
u32_ematch_util;
p_pedit_eth;
p_pedit_icmp;
p_pedit_ip;
p_pedit_ip6;
p_pedit_tcp;
p_pedit_udp;
atm_qdisc_util;
cake_qdisc_util;
cbq_qdisc_util;
cbs_qdisc_util;
choke_qdisc_util;
clsact_qdisc_util;
codel_qdisc_util;
drr_qdisc_util;
dsmark_qdisc_util;
etf_qdisc_util;
ets_qdisc_util;
bfifo_qdisc_util;
pfifo_qdisc_util;
pfifo_head_drop_qdisc_util;
pfifo_fast_qdisc_util;
fq_qdisc_util;
fq_codel_qdisc_util;
fq_pie_qdisc_util;
gred_qdisc_util;
hfsc_qdisc_util;
hhf_qdisc_util;
htb_qdisc_util;
ingress_qdisc_util;
mqprio_qdisc_util;
multiq_qdisc_util;
netem_qdisc_util;
pie_qdisc_util;
plug_qdisc_util;
prio_qdisc_util;
qfq_qdisc_util;
red_qdisc_util;
rr_qdisc_util;
sfb_qdisc_util;
sfq_qdisc_util;
skbprio_qdisc_util;
taprio_qdisc_util;
tbf_qdisc_util;
basic_filter_util;
bpf_filter_util;
cgroup_filter_util;
flow_filter_util;
flower_filter_util;
fw_filter_util;
matchall_filter_util;
route_filter_util;
rsvp_filter_util;
rsvp6_filter_util;
tcindex_filter_util;
u32_filter_util;
bpf_exec_util;
show_stats; print_nl; print_tm; parse_rtattr; parse_rtattr_flags; get_u32; matches; addattr_l; addattr_nest; addattr_nest_end; };
 


21.09.20203355PackagesBug ReportVery LowLowUMDNS: does not start on master with seccomp TrunkUnconfirmed Task Description

UMDNS does not start on master with seccomp
this has bee tested on ramips (dir878 and redmiac2100)
if i comment out
# procd_set_param seccomp /etc/seccomp/umdns.json
from /etc/init.d/umdns

it works

22.09.20203356PackagesBug ReportVery LowMediumhttps-dns-proxy: Luci interface breaks the configuratio...openwrt-19.07Unconfirmed Task Description

When you edit `/etc/config/https-dns-proxy` and set a custom server, not known to Luci HTML interface, the Luci UI at /cgi-bin/luci/admin/services/https-dns-proxy will display “CIRA Canadian Shield (Family)” as the selected resolver. This, by itself is not a problem yet, as the Proxy will function as expected.

However, the moment one makes any changes in the UI, e.g. changing listen port, `/etc/config/https-dns-proxy` will get rewritten and an actual resolver for CIRA Canadian Shield (Family) will be used.

Luci interface for HTTPS DNS Proxy should:

1. Bare minimum: indicate a custom resolver is used, and not lose the resolver after making changes to listen port and other stuff.
1. Nice to have: Allow a user to define a custom resolver in the UI - by specifying `resolver_url`, `bootstrap_dns`, `user` and `group` properties

The problem applies on any device as it’s not device-specific.

Reproduction instruction:

1. Edit `/etc/config/https-dns-proxy` and make it look like this:

```
config main ‘config’

      option update_dnsmasq_config '-'

config https-dns-proxy

      option listen_addr '127.0.0.1'
      option listen_port '5054'
      option user 'nobody'
      option group 'nogroup'
      option bootstrap_dns '1.1.1.1,1.0.0.1,2606:4700:4700::1111,2606:4700:4700::1001'
      option resolver_url 'https://1.1.1.1/dns-query'

```
2. Go to http://192.168.10.1/cgi-bin/luci/admin/services/https-dns-proxy and observe “CIRA Canadian Shield (Family)” as the selected resolver.
3. Change listen port and click Save & Apply.
4. Observe `/etc/config/https-dns-proxy` lose `resolver_url` setting.

23.09.20203357PackagesBug ReportVery LowLowcollectd-mod-openvpn: can't enable pluginTrunkUnconfirmed Task Description

See the screenshot. Unlike other plugins, this one is missing “Enable this plugin” checkbox, and therefore, cannot be enabled via UI.

23.09.20203358PackagesBug ReportVery LowHighiwinfo.scan ubus call failed with latest uhttpdTrunkUnconfirmed Task Description

With latest uhttpd package (2020-09-18), the wireless scan failed in our MT7688 devices (ramps mt76x8). The original uhttpd (2020-08-05-212f8364) version works before.

The iwinfo.scan is using the nobatch=true flag when calling rpc.declare (luci/modules/luci-base/htdocs/luci-static/resources/network.js:83)

23.09.20203359PackagesBug ReportVery LowMediumhttps-dns-proxy / luci-app-https-dns-proxy: expose a co...TrunkUnconfirmed Task Description

As per https://github.com/aarond10/https_dns_proxy, it supports `-v` for `Increase logging verbosity. (INFO)`. I’m encountering some problems with https-dns-proxy (https://github.com/aarond10/https_dns_proxy/issues/92) but I can’t troubleshoot them because there’s no way to pass `-v` to `https-dns-proxy` when started by luci-app-https-dns-proxy.

23.10.20203403PackagesBug ReportVery LowLowkmod-ath9k: Please enable "Support chips used in PC OEM...openwrt-19.07Unconfirmed Task Description

- Happens on all x86 targets
- Happens with trunk and 19.07.4
- To reproduce, run ip a in any x86 machine with an ath9k-compatible (mini-)PCIE wifi card installed. You will note that no relevant wireless interface is found.

Although this issue concerns the kmod-ath9k driver, it is not about the code itself; rather, the build system and the packaged modules.

Recently I tried to run OpenWRT on x86_64 machine that has an AR9462 mini-pcie wifi card installed.
Although lspci detected the card, no drivers were loaded for it, and the wireless interface does not show up with the ip command, even with the ath9k drivers installed.

I have found out that this is because support for PC OEM cards are not enabled by default. As a result, I had to build my own copy of OpenWRT from scratch with that option specifically turned on.
And even then, with matching versions (19.07.4), my install of OpenWRT complained that the package built had a different kernel version. I was unsure why, but I wasn’t interested in finding out and I simply forced the install.

I believe that the support for PC OEM cards for ath9k should be turned on by default for the x86 builds of the driver. People running OpenWRT on x86 are unlikely to run into serious space constraints.
Kindly consider my suggestion.

24.10.20203404PackagesBug ReportVery LowMediumzsh: cannot backspace when connected from openssh in tm...TrunkUnconfirmed Task Description

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

  • OpenWrt 19.07.4 r11208-ce6496d796
  • zsh - 5.6.2-2

- Steps to reproduce

 1. Start a tmux session on Linux PC
 2. Use ssh to connect to OpenWRT router, where the user uses zsh instead of zsh (i.e. the config in /etc/passwd looks like this `root:x:0:0:root:/root:/usr/bin/zsh`)
 3. Type arbitrary words and delete them by pressing Backspace key

- Expected behavior

 The chars are deleted

- Actual behavior

 A whitespace was appended to the char instead, as if we're typing the space key, but it's deleted internally: when pressing Enter to execute the command, what's been executed is the original command minus the deleted part

Note that I don’t have the issue when:
1. connecting to a normal Linux computer (the user’s shell is zsh ofc)
2. using the default busybox ash
3. executing ssh outside tmux, e.g. a normal Konsole terminal session

12.11.20203445PackagesBug ReportVery LowMediumarp-scan not working in 19.07.4openwrt-19.07Unconfirmed Task Description

Upgrading OpenWRT from 18.06 to 19.07 on a couple of Alfa wireless devices (N2Q and Tube2H) and on Ubiquiti PicoStation M2, observed the following behavior in arp-scan:

Before upgrade (in 18.06):

# arp-scan -I br-lan -l
Interface: br-lan, datalink type: EN10MB (Ethernet)
WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/ieee-oui.txt: No such file or directory
WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/ieee-iab.txt: No such file or directory
WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/mac-vendor.txt: No such file or directory
Starting arp-scan 1.9.5 with 256 hosts (https://github.com/royhills/arp-scan)
172.22.47.1 de:9f:db:05:46:5d (Unknown)
172.22.47.53 00:24:8c:9d:1d:92 (Unknown)
172.22.47.77 0c:ef:af:c4:f5:b5 (Unknown)
172.22.47.111 3c:2a:f4:b8:25:c2 (Unknown)
172.22.47.116 00:02:d1:43:e8:5b (Unknown)
172.22.47.102 5c:e0:c5:67:1a:e2 (Unknown)
172.22.47.186 00:c0:ca:8d:4d:2c (Unknown)
172.22.47.108 00:40:8c:a5:e8:03 (Unknown)
172.22.47.130 00:40:8c:be:b0:73 (Unknown)
172.22.47.161 d8:c4:97:e0:30:d1 (Unknown)
172.22.47.108 00:40:8c:a5:e8:03 (Unknown) (DUP: 2)
172.22.47.130 00:40:8c:be:b0:73 (Unknown) (DUP: 2)
172.22.47.132 2c:aa:8e:9a:3a:94 (Unknown) (DUP: 1)
172.22.47.161 d8:c4:97:e0:30:d1 (Unknown) (DUP: 2)

14 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.5: 256 hosts scanned in 1.804 seconds (141.91 hosts/sec). 14 responded

After upgrade (in 19.07):

# arp-scan -I br-lan -l
Interface: br-lan, datalink type: EN10MB (Ethernet)
WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/ieee-oui.txt: No such file or directory
WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/ieee-iab.txt: No such file or directory
WARNING: Cannot open MAC/Vendor file /usr/share/arp-scan/mac-vendor.txt: No such file or directory
Starting arp-scan 1.9.5 with 256 hosts (https://github.com/royhills/arp-scan)

20 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.5: 256 hosts scanned in 1.823 seconds (140.43 hosts/sec). 0 responded

Note that, while arp-scan has not changed version, libpcap1 has rev’ed from libpcap1 - 1.9.0-2 to libpcap1 - 1.9.1-2.1

To reproduce:

Connect a device running one of the 18.06 releases (I’m specifically using r9137-0465e41) and run arp-scan on an active network. Then connect a device running 19.07.4 and run arp-scan on the same network.

 


13.11.20203447PackagesBug ReportVery LowLowMissing kmods for mt7621 in repoTrunkUnconfirmed Task Description

*** Failed to download the package list from https://downloads.openwrt.org/snaps hots/targets/ramips/mt7621/kmods/5.4.75-1-878d1c290479417154653dd2ca7e6dbd/Packa ges.gz

17.11.20203458PackagesBuild FailureVery LowMediumperl/host/compile fails on macOS 11 Big Sur, WorkaroundTrunkUnconfirmed Task Description

Dear OpenWRT team,

I just updated my laptop to macOS 11 Big Sur. Presently only the perl hostpkg package fails during the build. Once I get past perl, everything else compiles correctly. Below is a patch, workaround, and details from my research. My target is Marvell EBU Armada, Linksys WRT3200ACM.

Before applying the patch, make package/feeds/packages/perl/host/compile V=sc fails with the following error:
Which of these apply, if any? [darwin]

* Unexpected product version 11.0.
*
* Try running sw_vers and see what its ProductVersion says. After the patch, make package/feeds/packages/perl/host/compile succeeds, however when multiple workers are used: make package/feeds/packages/perl/host/compile -j 12 V=sc, the build fails:
Writing Makefile for CPAN
make[4]: Entering directory ‘/Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/Archive-Tar’ make[4]: Entering directory ‘/Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/CPAN’ Generating a Unix-style Makefile
Writing Makefile for Errno
make[4]: Entering directory ‘/Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/ext/Errno’ “../../miniperl” “-I../../lib” Errno_pm.PL Errno.pm
Can’t locate Errno.pm in @INC (you may need to install the Errno module) (@INC contains: /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/AutoLoader/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/dist/Carp/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/dist/PathTools /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/dist/PathTools/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/ExtUtils-Install/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/ExtUtils-MakeMaker/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/ExtUtils-Manifest/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/File-Path/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/ext/re /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/dist/Term-ReadLine/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/dist/Exporter/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/ext/File-Find/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/Text-Tabs/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/dist/constant/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/cpan/version/lib /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/lib .) at /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/dist/PathTools/Cwd.pm line 444.
Unsuccessful Makefile.PL(cpan/ExtUtils-MakeMaker): code=512 at make_ext.pl line 518.
make[3]:
* [GNUmakefile:599: cpan/ExtUtils-MakeMaker/pm_to_blib] Error 2

I have also seen errors where the build is trying to use /miniperl instead of ./miniperl, as well as /build_dir/hostpkg/perl/perl-5.28.1/perl instead of /Volumes/test/openwrt/build_dir/hostpkg/perl/perl-5.28.1/perl. The will occur if we try to build perl without host/clean and clean. Seems like a race condition due to dependency misconfiguration.

Here is the list of all commands in order to compile OpenWRT starting from a clean build root:
make -j 12
make package/feeds/packages/perl/host/clean
make package/feeds/packages/perl/clean
make package/feeds/packages/perl/compile
make -j 12

The first make fails, then we perform host-clean and clean for perl, next compile will also do host-compile - we have to use a single worker here. Finally we can complete the rest of the build process. I should note that Languages, Perl, perl is not selected in menuconfig. I can understand if the hostpkg/perl is required during the build process, however perl/host{clean,compile} is not enough, I also need to perform perl/{clean,compile}.

Here is the quick patch I made in order to verify if there are any other broken packages: no. Only perl fails to compile. I am also not sure how to handle patches and pull-requests for feeds, so I thought I should rather share my research here and ask for help.

feeds/packages/lang/perl/patches/302-macos_11_support.patch
Index: perl-5.28.1/hints/darwin.sh

— perl-5.28.1.orig/hints/darwin.sh
+++ perl-5.28.1/hints/darwin.sh
@@ -327,7 +327,7 @@ EOM

   # "ProductVersion:    10.11"     "10.11"
       prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'`
   case "$prodvers" in

- 10.*)
+ 10.*|11.*)

     add_macosx_version_min ccflags $prodvers
     add_macosx_version_min ldflags $prodvers
     ;;

Thank you for any help!

27.11.20203477PackagesBuild FailureVery LowMediumBuilding with ATH10K thermal sensors and throttling sup...TrunkUnconfirmed Task Description

Steps to reproduce:
- Kernel modules → Wireless Drivers → kmod-ath10k → Enable thermal sensors and throttling support

SHELL= flock /home/astroc/openwrt/tmp/.root-copy.flock -c ‘cp -fpR /home/astroc/openwrt/build_dir/target-x86_64_musl/linux-firmware-20201022/.pkgdir/ath10k-firmware-qca988x/. /home/astroc/openwrt/staging_dir/target-x86_64_musl/root-x86/’ touch /home/astroc/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.ath10k-firmware-qca988x_installed
echo “ath10k-firmware-qca988x” » /home/astroc/openwrt/staging_dir/target-x86_64_musl/pkginfo/linux-firmware.default.install
make[3]: Leaving directory ‘/home/astroc/openwrt/package/firmware/linux-firmware’ time: package/firmware/linux-firmware/compile#0.14#0.03#0.16
make[3]: Entering directory ‘/home/astroc/openwrt/package/firmware/prism54-firmware’ make[3]: Nothing to be done for ‘compile’.
make[3]: Leaving directory ‘/home/astroc/openwrt/package/firmware/prism54-firmware’ time: package/firmware/prism54-firmware/compile#0.23#0.01#0.24
make[3]: Entering directory ‘/home/astroc/openwrt/package/kernel/linux’ mkdir -p /home/astroc/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp

SHELL= flock /home/astroc/openwrt/tmp/.root-copy.flock -c ‘cp -fpR /home/astroc/openwrt/build_dir/target-x86_64_musl/linux-x86_64/packages/.pkgdir/kernel/. /home/astroc/openwrt/staging_dir/target-x86_64_musl/root-x86/’ touch /home/astroc/openwrt/staging_dir/target-x86_64_musl/root-x86/stamp/.kernel_installed
ERROR: module ‘/home/astroc/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.74/drivers/thermal/thermal_sys.ko’ is missing.
make[3]: * [modules/other.mk:1068: /home/astroc/openwrt/bin/targets/x86/64/packages/kmod-thermal_5.4.74-1_x86_64.ipk] Error 1
make[3]: Leaving directory ‘/home/astroc/openwrt/package/kernel/linux’ time: package/kernel/linux/compile#0.91#0.03#0.94
make[2]: * [package/Makefile:114: package/kernel/linux/compile] Error 2
make[2]: Leaving directory ‘/home/astroc/openwrt’ make[1]: * [package/Makefile:108: /home/astroc/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory ‘/home/astroc/openwrt’ make: * [/home/astroc/openwrt/include/toplevel.mk:236: world] Error 2

30.11.20203483PackagesBug ReportVery LowLowgcc old ABITrunkUnconfirmed Task Description

Package gcc from feeds has wrong option in Makefile

–with-default-libstdcxx-abi=gcc4-compatible

with old abi g++ cant link to existing libs. Without it gcc works as expected
Pls remove this option.

01.12.20203485PackagesBug ReportVery LowLowlogd: log starts up before networking, causing remote l...openwrt-19.07Unconfirmed Task Description

# grep PRETTY_NAME /etc/os-release
PRETTY_NAME=”OpenWrt 19.07.4”

rc.d contains:

K10ddns → ../init.d/ddns
...
K99socat → ../init.d/socat
S00sysfixtime → ../init.d/sysfixtime
S00urngd → ../init.d/urngd
S01haveged → ../init.d/haveged
S10boot → ../init.d/boot
S10system → ../init.d/system
S11sysctl → ../init.d/sysctl
S12log → ../init.d/log
S12rpcd → ../init.d/rpcd
S19dnsmasq → ../init.d/dnsmasq
S19dropbear → ../init.d/dropbear
S19firewall → ../init.d/firewall
S20network → ../init.d/network
...

note log is S12, network is S20

there’s a comment at the top of the log rc script which suggests this is the wrong order:

# cat /etc/init.d/log
#!/bin/sh /etc/rc.common
# Copyright (C) 2013 OpenWrt.org

# start after and stop before networking
START=12
STOP=89
PIDCOUNT=0

note: “start after ... networking”

04.12.20203488PackagesBug ReportVery LowLowmvebu: kexec-tools gcc10 compile fixTrunkUnconfirmed Task Description

kexec-tools fails to compile when building latest master from git and using GCC 10. Multiple definitions and one declaration of a debug variable named my_debug for PPC64 that spills over into arm.

— a/kexec/fs2dt.h
+++ b/kexec/fs2dt.h
@@ -30,7 +30,7 @@ extern struct bootblock bb[1];

/* Used for enabling printing message from purgatory code

  • Only has implemented for PPC64 */

-int my_debug;
+extern int my_debug;
extern int dt_no_old_root;

void reserve(unsigned long long where, unsigned long long length);

 


05.12.20203491PackagesBug ReportVery LowLowumDNS fails to compile with GCC10 possible CVETrunkUnconfirmed Task Description

A warning (treated as error) is emitted from GCC10 when compiling umDNS (object at ‘b’ is out of the bounds). This could also turn into a CVE.

[ 40%] Building C object CMakeFiles/umdns-lib.dir/service.c.o
/home/ByteEnable/temp/openwrt-master/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-10.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc   -Os -pipe  -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98=umdns-2020-10-26-59e4fc98 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/ByteEnable/temp/openwrt-master/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include -DNDEBUG   -Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations -o CMakeFiles/umdns-lib.dir/service.c.o -c /home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/service.c
/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/service.c: In function 'service_load_blob':
/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/service.c:242:10: error: 'strncpy' offset 6 from the object at 'b' is out of the bounds of referenced subobject 'name' with type 'uint8_t[]' {aka 'unsigned char[]'} at offset 6 [-Werror=array-bounds]
  242 |  s->id = strncpy(d_id, blobmsg_name(b), n);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/ByteEnable/temp/openwrt-master/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include/libubus.h:23,
                 from /home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/service.c:23:
/home/ByteEnable/temp/openwrt-master/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/usr/include/libubox/blobmsg.h:43:10: note: subobject 'name' declared here
   43 |  uint8_t name[];
      |          ^~~~
cc1: all warnings being treated as errors
make[6]: *** [CMakeFiles/umdns-lib.dir/build.make:121: CMakeFiles/umdns-lib.dir/service.c.o] Error 1
make[6]: Leaving directory '/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98'
make[5]: *** [CMakeFiles/Makefile2:124: CMakeFiles/umdns-lib.dir/all] Error 2
make[5]: Leaving directory '/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98'
make[4]: *** [Makefile:149: all] Error 2
make[4]: Leaving directory '/home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98'
make[3]: *** [Makefile:50: /home/ByteEnable/temp/openwrt-master/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/umdns-2020-10-26-59e4fc98/.built] Error 2
make[3]: Leaving directory '/home/ByteEnable/temp/openwrt-master/package/network/services/umdns'
time: package/network/services/umdns/compile#0.64#0.16#0.00
    ERROR: package/network/services/umdns failed to build.
make[2]: *** [package/Makefile:114: package/network/services/umdns/compile] Error 1
make[2]: Leaving directory '/home/ByteEnable/temp/openwrt-master'
make[1]: *** [package/Makefile:108: /home/ByteEnable/temp/openwrt-master/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ByteEnable/temp/openwrt-master'
make: *** [/home/ByteEnable/temp/openwrt-master/include/toplevel.mk:242: world] Error 2
09.12.20203497PackagesBug ReportVery LowLowipip: restart failed after modifying configAllUnconfirmed Task Description

After modifying config, e.g. change “peeraddr” option, the interface can’t restart. Must delete interface manually.
One solution:
ifdown tunnel
ip link delete ipip-tunnel
ifup tunnel

The problem can be reproduced in OpenWrt 19.07.4, and may be in all version. Because there have been no major updates to “openwrt/package/network/config/ipip/files/ipip.sh” file in 4 years.

23.12.20203527PackagesBug ReportVery LowMediumOn-Board Intel Bluetooth firmware not working due to tw...TrunkUnconfirmed Task Description
 

Environment: Openwrt x86_64 snapshot Dec 22, 2020

ibt-firmware - 20201118-3

Description:
bluetooth finally works with openwrt snapshot on the odyssey https://www.seeedstudio.com/ODYSSEY-X86J4105864-p-4447.html

I had to copy the two missing files from ubuntu 20.04 intel firmware to /lib/firmware/intel instead of /usr/lib/firmware/intel

root@OpenWrt:~# grep -i bluetooth dmesg.log

[ 10.977163] Bluetooth: Core ver 2.22

[ 10.980827] Bluetooth: HCI device and connection manager initialized

[ 10.982803] Bluetooth: HCI socket layer initialized

[ 10.984697] Bluetooth: L2CAP socket layer initialized

[ 10.986626] Bluetooth: SCO socket layer initialized

[ 10.989246] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[ 10.991006] Bluetooth: BNEP filters: protocol multicast

[ 10.992754] Bluetooth: BNEP socket layer initialized

[ 11.073509] Bluetooth: HCI UART driver ver 2.3

[ 11.075399] Bluetooth: HCI UART protocol H4 registered

[ 11.077318] Bluetooth: HCI UART protocol BCSP registered

[ 11.079240] Bluetooth: HCI UART protocol ATH3K registered

[ 11.081567] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

[ 11.083526] Bluetooth: HIDP socket layer initialized

[ 11.288000] Bluetooth: RFCOMM TTY layer initialized

[ 11.289894] Bluetooth: RFCOMM socket layer initialized

[ 11.291778] Bluetooth: RFCOMM ver 1.11

[ 11.340970] Bluetooth: hci0: Bootloader revision 0.1 build 42 week 52 2015

[ 11.345008] Bluetooth: hci0: Device revision is 2

[ 11.348458] Bluetooth: hci0: Secure boot is enabled

[ 11.350346] Bluetooth: hci0: OTP lock is enabled

[ 11.352222] Bluetooth: hci0: API lock is enabled

[ 11.354100] Bluetooth: hci0: Debug lock is disabled

[ 11.355948] Bluetooth: hci0: Minimum firmware build 1 week 10 2014

[ 11.401913] Bluetooth: hci0: Found device firmware: intel/ibt-17-16-1.sfi

[ 12.961480] Bluetooth: hci0: Waiting for firmware download to complete

[ 12.964139] Bluetooth: hci0: Firmware loaded in 1585771 usecs

[ 12.966825] Bluetooth: hci0: Waiting for device to boot

[ 12.979960] Bluetooth: hci0: Device booted in 12897 usecs

[ 12.982705] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-17-16-1.ddc

[ 12.988010] Bluetooth: hci0: Applying Intel DDC parameters completed

I also did

opkg install ibt-firmware

root@OpenWrt:/lib/firmware/intel# ls -l

-rw-r–r– 1 root root 14 Dec 22 23:15 ibt-17-16-1.ddc

-rw-r–r– 1 root root 664012 Dec 22 23:15 ibt-17-16-1.sfi

-rw-r–r– 1 root root 22069 Nov 28 17:19 ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq

-rw-r–r– 1 root root 25853 Nov 28 17:19 ibt-hw-37.7.10-fw-1.0.2.3.d.bseq

-rw-r–r– 1 root root 23105 Nov 28 17:19 ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq

-rw-r–r– 1 root root 25775 Nov 28 17:19 ibt-hw-37.7.10-fw-1.80.2.3.d.bseq

-rw-r–r– 1 root root 96 Nov 28 17:19 ibt-hw-37.7.bseq

-rw-r–r– 1 root root 31056 Nov 28 17:19 ibt-hw-37.8.10-fw-1.10.2.27.d.bseq

-rw-r–r– 1 root root 39295 Nov 28 17:19 ibt-hw-37.8.10-fw-1.10.3.11.e.bseq

-rw-r–r– 1 root root 45954 Nov 28 17:19 ibt-hw-37.8.10-fw-22.50.19.14.f.bseq

-rw-r–r– 1 root root 96 Nov 28 17:19 ibt-hw-37.8.bseq

root@OpenWrt:/lib/firmware/intel# opkg list-installed | grep ibt-firmware

ibt-firmware - 20201118-3

root@OpenWrt:/lib/firmware/intel#

root@OpenWrt:~# hciconfig hci0 up

02.01.20213554PackagesBug ReportVery LowLowuhttpd non-English directory displays garbled character...TrunkUnconfirmed Task Description

uhttpd non-English directory displays garbled characters。

Modify uh_file_dirlist function

ustream_printf(cl→us, “Content-Type: text/html\r\n\r\n”);

ustream_printf(cl→us, “Content-Type: text/html; charset=utf-8\r\n\r\n”);

This way all languages can be displayed perfectly!

11.01.20213570PackagesBug ReportVery LowCriticalmac80211/ath9k crashTrunkUnconfirmed Task Description

- Device problem occurs on mac80211/ath9k
- Software versions: OpenWrt SNAPSHOT, r15475-c625c821d1
- Steps to reproduce install kmod-ath9k. Oops occurs after association with AP

this is on my alix/x86 board with an Qualcomm Atheros AR922X Wireless Network Adapter

this is possibly related to commit mac80211: replace legacy minstrel with minstrel_ht, improve rate selection

sometimes the device reboots. if the device doesn’t boot, the wifi link is still functional and ping works


03.03.2017591OtherFeature RequestVery LowLowInclude branch info in subject from 'lede-commits'AllUnconfirmed Task Description

Please include the branch being committed to as part of the subject. As it currently stands emails are received:

[source] ubox: update to the latest version
[source] bcm53xx: include Broadcom PHY driver in the kernel

However there’s no clue in the subject that the ubox commit is for ‘master’ (and of interest to me) whilst the ‘bcm53xx’ is a commit to ‘17.01’ (and of much less interest to me)

It’s driving me (even more) insane :-)

17.07.2017911OtherFeature RequestVery LowLowProblem with login into private git reposAllNew Task Description

I am not able to use packages from my private git repos which needs login. The system during the build process don’t ask me for login as before.

Here is the verbose log output:

make[3]: Leaving directory `/home/flowtester/caes/platform/package/base-files'
make[3]: Entering directory `/home/flowtester/caes/platform/package-bumblebee/packages/libdevereader'
mkdir -p /home/flowtester/caes/platform/dl
SHELL= flock /home/flowtester/caes/platform/tmp/.libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz.flock -c '          echo "Checking out files from the git repository..."; mkdir -p /home/flowtester/caes/platform/tmp/dl && cd /home/flowtester/caes/platform/tmp/dl && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && [ \! -d libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 ] && git clone  https://redmine.develict.com/git/devereader libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && (cd libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && git checkout daa94e0fad44a000892570665e6c792fd9cad860 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 && git log -1 --format='\''@%ct'\''` && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860/.git &&  tar --numeric-owner --owner=0 --group=0 --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860 |     gzip -nc > /home/flowtester/caes/platform/tmp/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz && mv /home/flowtester/caes/platform/tmp/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz /home/flowtester/caes/platform/dl/ && rm -rf libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860;     '
Checking out files from the git repository...
Cloning into 'libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860'...
fatal: Authentication failed for 'https://redmine.develict.com/git/devereader/'
make[3]: *** [/home/flowtester/caes/platform/dl/libdevereader-1.1.7-daa94e0fad44a000892570665e6c792fd9cad860.tar.gz] Error 128
make[3]: Leaving directory `/home/flowtester/caes/platform/package-bumblebee/packages/libdevereader'
make[2]: *** [package/feeds/bumblebee/libdevereader/compile] Error 2
make[2]: Leaving directory `/home/flowtester/caes/platform'
make[1]: *** [/home/flowtester/caes/platform/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/flowtester/caes/platform'
make: *** [world] Error 2

If I try it manually from cli everythings works but not during the prepare process ....


21.12.20171237OtherBug ReportVery LowLowsnmpd does not report connected clients correctlyTrunkUnconfirmed Task Description

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

 

The commonly used OID 1.3.6.1.2.1.4.22.1.2 does not report a complete list of clients.

Using snmpd 5.7.3-3 on LEDE 17.01.04, ssh in and display a list of connected clients with iwinfo wlan0 assoclist. To query via SNMP from another machine, use snmpwalk -v2c 172.24.32.15 1.3.6.1.2.1.4.22.1.2

mini-snmpd and mini_snmpd both seem to be unavailable as alternatives.

07.04.20181473OtherBug ReportVery LowLowUSB connects then disconnects later in bootTrunkWaiting on reporter Task Description

The Device that this problem occurs on is Netgear WNDR3700v3. I’m using 17.01.04 release of openwrt.
Long story made short, the issue is that USB connects, then later in startup of the router it disconnects and when fully booted it can’t be seen using ‘fdisk -l’ nor can it be mounted (/dev/sda1)...

Installed packages are the ones included in the build + usb-core and its dependencies.

To reproduce this issue:

1.Do standard setup the router ( setup wan, setup lan, switch wifi on).
2.Install packages required for usb functionality.
3.Insert usb and reboot.

You will see during boot that usb light flashes few times and then after boot stops flashing/working. That can be confirmed by dmesg.

[    0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Tue Oct 17 17:46:20 2017
[    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8034e4c0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60940K/65536K available (2979K kernel code, 134K rwdata, 368K rodata, 156K init, 294K bss, 4596K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0) 
[    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7963585194 ns
[    0.000015] sched_clock: 32 bits at 240MHz, resolution 4ns, wraps every 8947848189ns
[    0.000083] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070033] pid_max: default: 32768 minimum: 301
[    0.070283] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070311] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.074095] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.074144] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.075341] NET: Registered protocol family 16
[    0.076346] Can't analyze schedule() prologue at 800077c8
[    0.095859] clocksource: Switched to clocksource MIPS
[    0.097957] NET: Registered protocol family 2
[    0.099548] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099608] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099647] TCP: Hash tables configured (established 1024 bind 1024)
[    0.099818] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.099865] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.100398] NET: Registered protocol family 1
[    0.100494] PCI: CLS 0 bytes, default 32
[    0.515000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.515042] bcma: bus0: PMU resource config unknown or not needed for device 0x4716
[    0.517109] bcma: bus0: Workarounds unknown or not needed for device 0x4716
[    0.517134] bcma: bus0: Initializing MIPS core...
[    0.517163] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.517186] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.517207] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[    0.517229] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
[    0.517249] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.517269] bcma: bus0: set_irq: core 0x0834, irq 2 => 2
[    0.517284] bcma: bus0: IRQ reconfiguration done
[    0.517300] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I
[    0.517350] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I
[    0.517392] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I
[    0.517433] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.517475] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I
[    0.517517] bcma: core 0x0820, irq : 2(S)  3  4  5  6* D  I
[    0.517558] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I
[    0.517599] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[    0.517639] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I
[    0.517683] bcma: bus0: PCIEcore in host mode found
[    0.701176] PCI host bridge to bus 0000:00
[    0.701231] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
[    0.701260] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.701289] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.701318] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.701400] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
[    0.701443] bcma: PCI: Fixing up bridge 0000:00:00.0
[    0.701464] bcma: PCI: Fixing up device 0000:00:00.0
[    0.701528] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.701568] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.701674] pci 0000:00:00.0: supports D1 D2
[    0.702056] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
[    0.702103] bcma: PCI: Fixing up bridge 0000:00:00.1
[    0.702124] bcma: PCI: Fixing up device 0000:00:00.1
[    0.702187] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.702227] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.702325] pci 0000:00:00.1: supports D1 D2
[    0.702763] pci 0000:00:01.0: [14e4:4331] type 00 class 0x028000
[    0.702894] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.702991] bcma: PCI: Fixing up addresses 0000:00:01.0
[    0.703037] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[    0.703200] pci 0000:00:01.0: supports D1 D2
[    0.703605] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.705142] bcma: bus0: Bus registered
[    0.706323] Crashlog allocated RAM at address 0x3f00000
[    0.737420] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.737451] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.742243] io scheduler noop registered
[    0.742278] io scheduler deadline registered (default)
[    0.742710] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.747752] console [ttyS0] disabled
[    0.767993] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    1.271345] console [ttyS0] enabled
[    1.383454] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.390163] Creating 7 MTD partitions on "bcm47xxsflash":
[    1.395669] 0x000000000000-0x000000040000 : "boot"
[    1.404675] 0x000000040000-0x0000007e0000 : "firmware"
[    1.412942] 0x0000007e0000-0x0000007f0000 : "board_data"
[    1.421384] 0x0000007f0000-0x000000800000 : "nvram"
[    1.429424] 0x00000004001c-0x00000004091c : "loader"
[    1.437592] 0x00000004091c-0x000000166000 : "linux"
[    1.445531] 0x000000166000-0x0000007e0000 : "rootfs"
[    1.453634] mtd: device 6 (rootfs) set to be root filesystem
[    1.459556] 1 squashfs-split partitions found on MTD device rootfs
[    1.465900] 0x0000003a0000-0x0000007e0000 : "rootfs_data"
[    1.477763] libphy: Fixed MDIO Bus: probed
[    1.482172] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.491131] libphy: bcma_mdio mii bus: probed
[    1.495592] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.656300] b53_common: found switch: BCM53115, rev 8
[    1.662752] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.669147] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.677188] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    1.682952] bcma: PCI: Fixing up device 0000:00:01.0
[    1.688087] bcma: change PCIe max read request size from 512 to 128
[    1.694521] bcma: bus1: Found chip with id 0x4331, rev 0x02 and package 0x08
[    1.701786] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[    1.710541] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[    1.719387] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[    1.727658] bcma: bus1: Found rev 10 PMU (capabilities 0x108C260A)
[    1.727690] bcma: bus1: SPROM offset 0x800
[    1.851848] bcma: bus1: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[    2.046785] bcma: bus1: Using SPROM revision 9 provided by platform.
[    2.046829] bcma: bus1: PMU resource config unknown or not needed for device 0x4331
[    2.057502] bcma: bus1: Bus registered
[    2.063308] NET: Registered protocol family 10
[    2.072711] NET: Registered protocol family 17
[    2.077480] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.090356] 8021q: 802.1Q VLAN Support v1.8
[    2.104187] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    2.112500] Freeing unused kernel memory: 156K
[    3.754063] init: Console is alive
[    3.758057] init: - watchdog -
[    4.878998] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.017988] usbcore: registered new interface driver usbfs
[    5.023754] usbcore: registered new interface driver hub
[    5.029472] usbcore: registered new device driver usb
[    5.042546] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.051645] ehci-platform: EHCI generic platform driver
[    5.057233] ehci-platform ehci-platform.0: EHCI Host Controller
[    5.063363] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    5.071819] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[    5.095922] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    5.104198] hub 1-0:1.0: USB hub found
[    5.108771] hub 1-0:1.0: 2 ports detected
[    5.117596] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.126043] ohci-platform: OHCI generic platform driver
[    5.131512] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    5.138753] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    5.147160] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
[    5.211640] hub 2-0:1.0: USB hub found
[    5.216336] hub 2-0:1.0: 2 ports detected
[    5.224214] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.242340] init: - preinit -
[    5.608070] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.864264] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
[    5.889247] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.865937] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[    7.873468] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.273926] jffs2: notice: (342) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.303649] mount_root: loading kmods from internal overlay
[   10.724352] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.373272] SCSI subsystem initialized
[   11.419230] uhci_hcd: USB Universal Host Controller Interface driver
[   11.454632] usb-storage 1-1:1.0: USB Mass Storage device detected
[   11.462745] scsi host0: usb-storage 1-1:1.0
[   11.468012] usbcore: registered new interface driver usb-storage
[   11.475786] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.882238] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.892225] block: extroot: not configured
[   11.897883] mount_root: switching to jffs2 overlay
[   11.912369] urandom-seed: Seeding with /etc/urandom.seed
[   12.092045] procd: - early -
[   12.095211] procd: - watchdog -
[   12.831439] scsi 0:0:0:0: Direct-Access     FLASH    Drive SM_USB20   3000 PQ: 0 ANSI: 0 CCS
[   12.845660] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[   12.866047] sd 0:0:0:0: [sda] Write Protect is off
[   12.871009] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   12.872568] sd 0:0:0:0: [sda] No Caching mode page found
[   12.878114] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   12.900092]  sda: sda1 sda2
[   12.912389] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.408590] procd: - watchdog -
[   13.413238] procd: - ubus -
[   13.575271] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.589064] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.599754] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.609582] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.621827] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.631285] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.641747] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.652513] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.664938] procd: - init -
[   14.978977] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.994949] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.021509] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   15.029742] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   15.042765] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.063214] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
[   15.125836] xt_time: kernel timezone is -0000
[   15.219516] PPP generic driver version 2.4.2
[   15.229060] NET: Registered protocol family 24
[   15.251342] b43-phy0: Broadcom 4716 WLAN found (core revision 17)
[   15.258525] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 5
[   15.264740] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 7, Version 0
[   15.273031] b43-phy1: Broadcom 4331 WLAN found (core revision 29)
[   15.279362] bcma: bus1: Switched to core: 0x812
[   15.286208] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.306006] b43-phy1: Found PHY: Analog 9, Type 7 (HT), Revision 1
[   15.312319] b43-phy1: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1
[   15.319890] b43-phy1 warning: 5 GHz band is unsupported on this PHY
[   15.340847] Broadcom 43xx driver loaded [ Features: NL ]
[   15.350173] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.476055] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.239669] random: jshn: uninitialized urandom read (4 bytes read, 81 bits of entropy available)
[   27.045316] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   27.094907] device eth0.1 entered promiscuous mode
[   27.099903] device eth0 entered promiscuous mode
[   27.140638] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   27.388545] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   28.346008] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[   28.353541] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   28.530202] br-lan: port 1(eth0.1) entered forwarding state
[   28.536077] br-lan: port 1(eth0.1) entered forwarding state
[   28.541946] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   28.616063] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   30.535925] br-lan: port 1(eth0.1) entered forwarding state
[   32.126060] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   32.134511] usb 1-1: USB disconnect, device number 2
[   32.437880] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   32.478559] device wlan0 entered promiscuous mode
[   32.546447] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   32.553223] br-lan: port 2(wlan0) entered forwarding state
[   32.559023] br-lan: port 2(wlan0) entered forwarding state
[   34.555927] br-lan: port 2(wlan0) entered forwarding state
[   37.215918] random: nonblocking pool is initialized
08.06.20181581OtherBug ReportVery LowHighnetifd:Failed to bring up static 6rd tunnel after we mo...AllUnconfirmed Task Description

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

netifd-0f96606b7040b8e14190ff055d5761744bc15f6d

- Steps to reproduce

Step 1: Create a DHCPv4 + dynamic 6rd wan connection. Below is the /etc/config/network. wan and wan6 go up after “/etc/init.d/network reload”

[CXNK00123457] /lib/netifd/proto # cat /etc/config/network 

config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'auto'

config interface 'lan'
	option ifname 'eth0'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '64'

config interface 'pvtlan'
	option proto 'static'
	option ipaddr '169.254.1.1'
	option netmask '255.255.255.0'

config interface 'wan'
	option ifname 'eth1'
	option proto 'dhcp'
	option peerdns '1'
	option defaultroute '1'
	option vendorid '844Ei.ONT.dslforum.org'
	option reqopts '43 120 121'
	option iface6rd 'wan6'

Step 2: Edit /etc/config/network file, disable dynamic 6rd and provision a static one

[CXNK00123457] /etc/config # cat network.static6rd 

config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'auto'

config interface 'lan'
	option ifname 'eth0'
	option type 'bridge'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '64'

config interface 'pvtlan'
	option proto 'static'
	option ipaddr '169.254.1.1'
	option netmask '255.255.255.0'

config interface 'wan'
	option ifname 'eth1'
	option proto 'dhcp'
	option peerdns '1'
	option defaultroute '1'
	option vendorid '844Ei.ONT.dslforum.org'
	option reqopts '43 120 121'

config interface 'wan6'
	option ifname 'eth1'
	option proto '6rd'
	option peerdns '0'
	option defaultroute '1'
	list dns '2001:db8:1::a'
	list dns '2001:db8:1::b'
	option tunlink 'wan'
	option peeraddr '10.101.1.1'
	option ip6prefix '2602::'
	option ip6prefixlen '32'
	option ip4prefixlen '24'

Step 3: Run “/etc/init.d/network reload”. However, netifd failed to bring up the static 6rd tunnel wan6.

Here is the log of netifd from /var/log/messages. From the log, it seems that netifd was trying to bring up wan6 before wan (DHCPv4) went up. See “netifd: Interface ‘wan6’ is setting up now”. Does this matter?

[CXNK00123457] /etc/config # /etc/init.d/network reload 
Wed Jun  6 06:26:25 2018 daemon.notice netifd: Interface 'wan6' has lost the connection
Wed Jun  6 06:26:25 2018 daemon.warn dnsmasq[19262]: no servers found in /tmp/resolv.conf.auto, will retry
Wed Jun  6 06:26:25 2018 daemon.notice netifd: tunnel '6rd-wan6' link is down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan6' is now down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan6' is setting up now
Wed Jun  6 06:26:26 2018 daemon.notice netifd: wan (2641): Received SIGTERM
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is now down
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is disabled
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' has link connectivity loss
Wed Jun  6 06:26:26 2018 kern.info kernel: [119305.628866] 8021q: adding VLAN 0 to HW filter on device eth1
Wed Jun  6 06:26:26 2018 kern.info kernel: [119305.630319] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Wed Jun  6 06:26:26 2018 daemon.notice netifd: Interface 'wan' is enabled
Wed Jun  6 06:26:27 2018 daemon.notice netifd: Interface 'wan6' is now down
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Network device 'eth1' link is up
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Interface 'wan' has link connectivity 
Wed Jun  6 06:26:28 2018 daemon.notice netifd: Interface 'wan' is setting up now
Wed Jun  6 06:26:28 2018 kern.info kernel: [119307.631409] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
Wed Jun  6 06:26:28 2018 kern.info kernel: [119307.632184] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Wed Jun  6 06:26:29 2018 daemon.notice netifd: wan (3351): udhcpc (v1.23.2) started
=========== interface wan disconnected ===========
Wed Jun  6 06:26:30 2018 daemon.notice netifd: wan (3351): Sending discover...
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): Sending select for 10.101.1.100...
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): Lease of 10.101.1.100 obtained, lease time 503
Wed Jun  6 06:26:31 2018 daemon.notice netifd: Interface 'wan' is now up
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: reading /tmp/resolv.conf.auto
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: using local addresses only for domain lan
Wed Jun  6 06:26:31 2018 daemon.info dnsmasq[19262]: using nameserver 10.101.0.1#53
=========== interface wan connected ===========
Wed Jun  6 06:26:31 2018 daemon.notice netifd: wan (3351): rgcommon>sys update-interface-status wan
Wed Jun  6 06:26:32 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth1)

11.02.20192118OtherFeature RequestVery LowHighRenaming pre-configured firewall-zone names...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
This is a suggestion and is not a model-specific bug report.

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.1, r7258-5eb055306f

- Steps to reproduce
Description below:

This is a decade-old suggestion I’ve held within and I really hope the words will gather enough attention and momentum of the dev team. Streight to the conclusion, two pre-configured firewall-zones IMHO should be renamed from “lan” to “internal” and “wan” to “external” respectively. There are a few reasons for which I confidently feel this should be done. I’d like to argue that this is important if not essential because;
a.)Those who prefer making changes to current configurations by editing /etc/config/*, using stuff like “sed -i ‘s/before/after/g’ ${file}” (and then proceeding to reboot) is powerful and is almost mistake-free. checking for config-mistakes using grep is also powerful (and this applies to folks using uci CUI tool as well). What I do now is rename these two zones from GUI and then proceed to these steps, and it works great but having to take this extra step is rather inconvenient if not annoying.
b.)Current presets for interfaces have IPv4-WAN named as “wan” and IPv6-WAN named as “wan6” where the IPv4-WAN‘s label “wan” is no different from the firewalled-zone labeled as “wan”. This is simply comfusing. In early days when I I had just heard about the OpenWrt and had started messing with releases like Kamikaze,I had hard times understanding which string corresponded to which (sure you may argue this is documented in details but things don’t work like that for newbies).
c.)If needs for either firewall-zones or the interface-labels to be renamed are understood, I’d then have to say I’m against renaming interface-labels because those who’d decide to use VLANs would most likely name the interfaces as “config interface ‘vlan_ID’” and the string lan would stay in there.

I hope the above proposal is powerful enough...

09.05.20192276OtherBug ReportVery LowCriticalThe path to read temperature in fan_ctrl.sh needs to be...TrunkUnconfirmed Task Description

[openwrt/openwrt.git] / target / linux / mvebu / base-files / sbin / fan_ctrl.sh

CPU_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon2/temp1_input`
DDR_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input`
WIFI_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp2_input`

These three paths are wrong, I found these three:
CPU_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input`
DDR_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon0/temp1_input`
WIFI_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon0/temp2_input`

14.06.20192320OtherBug ReportVery LowLowu-Boot OpenWrt 18.06.2 on sama5d31 Unimplemented compre...TrunkUnconfirmed Task Description

Hi,
after building 18.06.2 OpenWrt version and his nand flash u-boot (U-Boot 2017.03-linux4sam_5.8 (Jan 30 2019 - 12:21:02 +0000)) when u-boot try to uncompress lzma kernel image the following error is reached

 

Uncompressing Kernel Image ... Unimplemented compression type 3

the log:

AT91Bootstrap 3.8.10 (Tue Jun 11 17:58:40 UTC 2019)

NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0xda
NAND: Page Bytes: 2048, Spare Bytes: 64
NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
NAND: Disable On-Die ECC
NAND: Initialize PMECC params, cap: 4, sector: 512
NAND: Image: Copy 0xa0000 bytes from 0×40000 to 0x26f00000
NAND: Done to load image
<debug_uart>

U-Boot 2017.03-linux4sam_5.8 (Jan 30 2019 - 12:21:02 +0000)

CPU: SAMA5D31
Crystal frequency: 12 MHz CPU clock : 528 MHz Master clock : 132 MHz DRAM: 256 MiB
NAND: 256 MiB
MMC: Atmel mci: 0, Atmel mci: 1
In: serial@ffffee00
Out: serial@ffffee00
Err: serial@ffffee00
Net:
Error: ethernet@f0028000 address not set.
No ethernet found.
Hit any key to stop autoboot: 0

NAND read: device 0 offset 0×180000, size 0×80000 524288 bytes read: OK

NAND read: device 0 offset 0×200000, size 0×600000 6291456 bytes read: OK
## Booting kernel from Legacy Image at 22000000 ...

 Image Name:   ARM OpenWrt Linux-4.9.152
 Image Type:   ARM Linux Kernel Image (lzma compressed)
 Data Size:    3016433 Bytes = 2.9 MiB
 Load Address: 20008000
 Entry Point:  20008000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 21000000

 Booting using the fdt blob at 0x21000000
 Uncompressing Kernel Image ... Unimplemented compression type 3

Checking into u-boot (make menuconfig) seems that lzma cannot be set , only LZ4 is provided.

Also the option to change compression type of the kernel do not work. I try to switch from default (gzip) to LZ4 but kernel uimage is always lzma compressed.

Could you provide some hint to unlock the situation ?

Another strange things is :

Error: ethernet@f0028000 address not set.
No ethernet found.

f0028000 is memory address of GMAC that is not provided in sama5d31 SoC but the curious is the next No ethernet found.

Does it mean that nor EMAC was found ?

Thanks in advance
Best
Fabio


24.05.20203120OtherBuild FailureVery LowMediumbuildbots still build the x86 targets even if the kerne...TrunkUnconfirmed Task Description

The kernel config of x86 target was updated only for x86_64, the x86 legacy, generic and Alix targets were missing some kernel options.

This means that when you go to build them, the system stops and asks you what to do (y/n/number), with an interactive prompt.

The x86 kernel config problem is already fixed by my PR, this bug report is about the build bot problem. They “failed to fail”.

The build bots should have detected this interactive prompt and failed the build.

They were instead “answering” the interactive prompt with an error message, then they could still compile the kernel.

see http://buildbot.openwrt.org/master/images/builders/x86%2Flegacy/builds/319/steps/kmods/logs/stdio

and here is the important part, note how after each kernel config option that is missing it will print
Error in reading or end of file.“, and a new line, and then continue as if nothing was wrong.

*
* Restart config...
*
*
* Misc devices
*
Analog Devices Digital Potentiometers (AD525X_DPOT) [N/m/y/?] n
Dummy IRQ handler (DUMMY_IRQ) [N/m/y/?] n
Device driver for IBM RSA service processor (IBM_ASM) [N/m/y/?] n
Sensable PHANToM (PCI) (PHANTOM) [N/m/y/?] n
TI Flash Media interface support (TIFM_CORE) [N/m/y/?] n
Integrated Circuits ICS932S401 (ICS932S401) [N/m/y/?] n
Enclosure Services (ENCLOSURE_SERVICES) [N/m/y/?] n
Channel interface driver for the HP iLO processor (HP_ILO) [N/m/y/?] n
Medfield Avago APDS9802 ALS Sensor module (APDS9802ALS) [N/m/y/?] n
Intersil ISL29003 ambient light sensor (ISL29003) [N/m/y/?] n
Intersil ISL29020 ambient light sensor (ISL29020) [N/m/y/?] n
Taos TSL2550 ambient light sensor (SENSORS_TSL2550) [N/m/y/?] n
BH1770GLC / SFH7770 combined ALS - Proximity sensor (SENSORS_BH1770) [N/m/y/?] n
APDS990X combined als and proximity sensors (SENSORS_APDS990X) [N/m/y/?] n
Honeywell HMC6352 compass (HMC6352) [N/m/y/?] n
Dallas DS1682 Total Elapsed Time Recorder with Alarm (DS1682) [N/m/y/?] n
Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) PHUB (PCH_PHUB) [N/m/y/?] n
Lattice ECP3 FPGA bitstream configuration via SPI (LATTICE_ECP3_CONFIG) [N/m/y/?] n
Generic on-chip SRAM driver (SRAM) [N/y/?] n
PCI Endpoint Test driver (PCI_ENDPOINT_TEST) [N/m/y/?] n
Xilinx SDFEC 16 (XILINX_SDFEC) [N/m/y/?] n
pvpanic device support (PVPANIC) [N/m/y/?] n
ENE CB710/720 Flash memory card reader support (CB710_CORE) [N/m/y/?] n
STMicroeletronics LIS3LV02Dx three-axis digital accelerometer (I2C) (SENSORS_LIS3_I2C) [N/m/y/?] n
Altera FPGA firmware download module (ALTERA_STAPL) [N/m/y/?] n
Intel Management Engine Interface (INTEL_MEI) [N/m/y/?] n
ME Enabled Intel Chipsets (INTEL_MEI_ME) [N/m/y/?] n
Intel Trusted Execution Environment with ME Interface (INTEL_MEI_TXE) [N/m/y/?] n
Intel HDCP2.2 services of ME Interface (INTEL_MEI_HDCP) [N/m/y/?] (NEW) 
Error in reading or end of file.

VMware VMCI Driver (VMWARE_VMCI) [N/m/y/?] n
Line Echo Canceller support (ECHO) [M/n/y/?] m
Alcor Micro/Alcor Link PCI-E card reader (MISC_ALCOR_PCI) [N/m/y/?] n
Realtek PCI-E card reader (MISC_RTSX_PCI) [N/m/y/?] n
Realtek USB card reader (MISC_RTSX_USB) [N/m/y/?] n
HabanaAI accelerators (habanalabs) (HABANA_AI) [N/m/y/?] n
*
* SCSI low-level drivers
*
SCSI low-level drivers (SCSI_LOWLEVEL) [Y/n/?] y
  iSCSI Initiator over TCP/IP (ISCSI_TCP) [N/m/y/?] n
  iSCSI Boot Sysfs Interface (ISCSI_BOOT_SYSFS) [N/m/y/?] n
  Chelsio T3 iSCSI support (SCSI_CXGB3_ISCSI) [N/m/y/?] n
  Chelsio T4 iSCSI support (SCSI_CXGB4_ISCSI) [N/m/y/?] n
  QLogic NetXtreme II iSCSI support (SCSI_BNX2_ISCSI) [N/m/y/?] n
  Emulex 10Gbps iSCSI - BladeEngine 2 (BE2ISCSI) [N/m/y/?] n
  3ware 5/6/7/8xxx ATA-RAID support (BLK_DEV_3W_XXXX_RAID) [N/m/y/?] n
  HP Smart Array SCSI driver (SCSI_HPSA) [N/m/y/?] n
  3ware 9xxx SATA-RAID support (SCSI_3W_9XXX) [N/m/y/?] n
  3ware 97xx SAS/SATA-RAID support (SCSI_3W_SAS) [N/m/y/?] n
  ACARD SCSI support (SCSI_ACARD) [N/m/y/?] n
  Adaptec AHA152X/2825 support (SCSI_AHA152X) [N/m/y/?] n
  Adaptec AHA1542 support (SCSI_AHA1542) [N/m/y/?] n
  Adaptec AACRAID support (SCSI_AACRAID) [N/m/y/?] n
  Adaptec AIC7xxx Fast -> U160 support (SCSI_AIC7XXX) [N/m/y/?] n
  Adaptec AIC79xx U320 support (SCSI_AIC79XX) [N/m/y/?] n
  Adaptec AIC94xx SAS/SATA support (SCSI_AIC94XX) [N/m/y/?] n
  Marvell 88SE64XX/88SE94XX SAS/SATA support (SCSI_MVSAS) [M/n/y/?] m
    Compile in debug mode (SCSI_MVSAS_DEBUG) [N/y/?] n
    Support for interrupt tasklet (SCSI_MVSAS_TASKLET) [N/y/?] n
  Marvell UMI driver (SCSI_MVUMI) [N/m/y/?] n
  Adaptec I2O RAID support  (SCSI_DPT_I2O) [N/m/y/?] n
  AdvanSys SCSI support (SCSI_ADVANSYS) [N/m/y/?] n
  ARECA (ARC11xx/12xx/13xx/16xx) SATA/SAS RAID Host Adapter (SCSI_ARCMSR) [N/m/y/?] n
  ATTO Technology's ExpressSAS RAID adapter driver (SCSI_ESAS2R) [N/m/y/?] n
  LSI Logic New Generation RAID Device Drivers (MEGARAID_NEWGEN) [N/y/?] n
  LSI Logic Legacy MegaRAID Driver (MEGARAID_LEGACY) [N/m/y/?] n
  LSI Logic MegaRAID SAS RAID Module (MEGARAID_SAS) [N/m/y/?] n
  LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver (SCSI_MPT3SAS) [N/m/y/?] n
  Legacy MPT2SAS config option (SCSI_MPT2SAS) [N/m/y/?] n
  Microsemi PQI Driver (SCSI_SMARTPQI) [N/m/y/?] n
  Universal Flash Storage Controller Driver Core (SCSI_UFSHCD) [N/m/y/?] n
  HighPoint RocketRAID 3xxx/4xxx Controller support (SCSI_HPTIOP) [N/m/y/?] n
  BusLogic SCSI support (SCSI_BUSLOGIC) [N/m/y/?] n
  Mylex DAC960/DAC1100 PCI RAID Controller (Block Interface) (SCSI_MYRB) [N/m/y/?] n
  Mylex DAC960/DAC1100 PCI RAID Controller (SCSI Interface) (SCSI_MYRS) [N/m/y/?] n
  VMware PVSCSI driver support (VMWARE_PVSCSI) [N/m/y/?] n
  Cisco SNIC Driver (SCSI_SNIC) [N/m/y/?] n
  DMX3191D SCSI support (SCSI_DMX3191D) [N/m/y/?] n
  Future Domain TMC-3260/AHA-2920A PCI SCSI support (SCSI_FDOMAIN_PCI) [N/m/y/?] n
  Future Domain 16xx ISA SCSI support (SCSI_FDOMAIN_ISA) [N/m/y/?] (NEW) 
Error in reading or end of file.

  Intel/ICP (former GDT SCSI Disk Array) RAID Controller support (SCSI_GDTH) [N/m/y/?] n
  Intel(R) C600 Series Chipset SAS Controller (SCSI_ISCI) [N/m/y/?] n
  Generic NCR5380/53c400 SCSI ISA card support (SCSI_GENERIC_NCR5380) [N/m/y/?] n
  IBM ServeRAID support (SCSI_IPS) [N/m/y/?] n
  Initio 9100U(W) support (SCSI_INITIO) [N/m/y/?] n
  Initio INI-A100U2W support (SCSI_INIA100) [N/m/y/?] n
  IOMEGA parallel port (ppa - older drives) (SCSI_PPA) [N/m/?] n
  IOMEGA parallel port (imm - newer drives) (SCSI_IMM) [N/m/?] n
  Promise SuperTrak EX Series support (SCSI_STEX) [N/m/y/?] n
  SYM53C8XX Version 2 SCSI support (SCSI_SYM53C8XX_2) [N/m/y/?] n
  IBM Power Linux RAID adapter support (SCSI_IPR) [N/m/y/?] n
  Qlogic FAS SCSI support (SCSI_QLOGIC_FAS) [N/m/y/?] n
  Qlogic QLA 1240/1x80/1x160 SCSI support (SCSI_QLOGIC_1280) [N/m/y/?] n
  QLogic ISP4XXX and ISP82XX host adapter family support (SCSI_QLA_ISCSI) [N/m/y/?] n
  Tekram DC395(U/UW/F) and DC315(U) SCSI support (SCSI_DC395x) [N/m/y/?] n
  Tekram DC390(T) and Am53/79C974 SCSI support (new driver) (SCSI_AM53C974) [N/m/y/?] n
  Workbit NinjaSCSI-32Bi/UDE support (SCSI_NSP32) [N/m/y/?] n
  Western Digital WD7193/7197/7296 support (SCSI_WD719X) [N/m/y/?] n
  SCSI debugging host and device simulator (SCSI_DEBUG) [N/m/y/?] n
  PMC SIERRA Linux MaxRAID adapter support (SCSI_PMCRAID) [N/m/y/?] n
  PMC-Sierra SPC 8001 SAS/SATA Based Host Adapter driver (SCSI_PM8001) [N/m/y/?] n
*
* I2C Hardware Bus support
*
*
* PC SMBus host controller drivers
*
ALI 1535 (I2C_ALI1535) [N/m/y/?] n
ALI 1563 (I2C_ALI1563) [N/m/y/?] n
ALI 15x3 (I2C_ALI15X3) [N/m/y/?] n
AMD 756/766/768/8111 and nVidia nForce (I2C_AMD756) [N/m/y/?] n
AMD 8111 (I2C_AMD8111) [N/m/y/?] n
AMD MP2 PCIe (I2C_AMD_MP2) [N/m/y/?] (NEW) 
Error in reading or end of file.

Intel 82801 (ICH/PCH) (I2C_I801) [M/n/y/?] m
Intel SCH SMBus 1.0 (I2C_ISCH) [N/m/y/?] n
Intel iSMT SMBus Controller (I2C_ISMT) [N/m/y/?] n
Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC) (I2C_PIIX4) [M/n/y/?] m
Nvidia nForce2, nForce3 and nForce4 (I2C_NFORCE2) [N/m/y/?] n
NVIDIA GPU I2C controller (I2C_NVIDIA_GPU) [N/m/y/?] n
SiS 5595 (I2C_SIS5595) [N/m/y/?] n
SiS 630/730/964 (I2C_SIS630) [N/m/y/?] n
SiS 96x (I2C_SIS96X) [N/m/y/?] n
VIA VT82C586B (I2C_VIA) [N/m/y/?] n
VIA VT82C596/82C686/82xx and CX700/VX8xx/VX900 (I2C_VIAPRO) [N/m/y/?] n
*
* ACPI drivers
*
SMBus Control Method Interface (I2C_SCMI) [N/m/y/?] n
*
* I2C system bus drivers (mostly embedded / system-on-chip)
*
Synopsys DesignWare Platform (I2C_DESIGNWARE_PLATFORM) [N/m/y/?] n
Synopsys DesignWare PCI (I2C_DESIGNWARE_PCI) [N/m/y/?] n
Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) I2C (I2C_EG20T) [N/m/y/?] n
EMMA Mobile series I2C adapter (I2C_EMEV2) [N/m/y/?] n
OpenCores I2C Controller (I2C_OCORES) [N/m/y/?] n
PCA9564/PCA9665 as platform device (I2C_PCA_PLATFORM) [N/m/y/?] n
Simtec Generic I2C interface (I2C_SIMTEC) [N/m/y/?] n
Xilinx I2C Controller (I2C_XILINX) [N/m/y/?] n
*
* External I2C/SMBus adapter drivers
*
Diolan U2C-12 USB adapter (I2C_DIOLAN_U2C) [N/m/y/?] n
Parallel port adapter (I2C_PARPORT) [N/m/?] n
Parallel port adapter (light) (I2C_PARPORT_LIGHT) [N/m/y/?] n
RobotFuzz Open Source InterFace USB adapter (I2C_ROBOTFUZZ_OSIF) [N/m/y/?] n
TAOS evaluation module (I2C_TAOS_EVM) [N/m/y/?] n
Tiny-USB adapter (I2C_TINY_USB) [M/n/y/?] m
*
* Other I2C/SMBus bus drivers
*
Elektor ISA card (I2C_ELEKTOR) [N/m/y/?] n
PCA9564/PCA9665 on an ISA bus (I2C_PCA_ISA) [N/m/y/?] n
Geode ACCESS.bus support (SCx200_ACB) [N/m/y/?] n
*
* Graphics support
*
VGA Arbitration (VGA_ARB) [N/y/?] n
Laptop Hybrid Graphics - GPU switching support (VGA_SWITCHEROO) [N/y/?] n
Enable DisplayPort CEC-Tunneling-over-AUX HDMI support (DRM_DP_CEC) [N/y/?] n
ATI Radeon (DRM_RADEON) [Y/n/m/?] y
  Always enable userptr support (DRM_RADEON_USERPTR) [N/y/?] n
AMD GPU (DRM_AMDGPU) [Y/n/m/?] y
  Enable amdgpu support for SI parts (DRM_AMDGPU_SI) [Y/n/?] y
  Enable amdgpu support for CIK parts (DRM_AMDGPU_CIK) [Y/n/?] y
  Always enable userptr write support (DRM_AMDGPU_USERPTR) [N/y/?] n
  Allow GART access through debugfs (DRM_AMDGPU_GART_DEBUGFS) [N/y/?] n
Nouveau (NVIDIA) cards (DRM_NOUVEAU) [N/m/y/?] n
Intel 8xx/9xx/G3x/G4x/HD Graphics (DRM_I915) [Y/n/m/?] y
  Enable alpha quality support for new Intel hardware by default (DRM_I915_ALPHA_SUPPORT) [N/y/?] n
  Force probe driver for selected new Intel hardware (DRM_I915_FORCE_PROBE) [] (NEW) 
Error in reading or end of file.

  Enable capturing GPU state following a hang (DRM_I915_CAPTURE_ERROR) [Y/n/?] y
    Compress GPU error state (DRM_I915_COMPRESS_ERROR) [Y/n/?] y
  Always enable userptr support (DRM_I915_USERPTR) [Y/n/?] y
  *
  * drm/i915 Debugging
  *
  Force GCC to throw an error instead of a warning when compiling (DRM_I915_WERROR) [N/y/?] n
  Enable additional driver debugging (DRM_I915_DEBUG) [N/y/?] n
  Always insert extra checks around mmio access by default (DRM_I915_DEBUG_MMIO) [N/y/?] (NEW) 
Error in reading or end of file.

  Enable additional driver debugging for fence objects (DRM_I915_SW_FENCE_DEBUG_OBJECTS) [N/y/?] n
  Enable additional driver debugging for detecting dependency cycles (DRM_I915_SW_FENCE_CHECK_DAG) [N/y/?] n
  Enable additional driver debugging for GuC (DRM_I915_DEBUG_GUC) [N/y/?] n
  Enable selftests upon driver load (DRM_I915_SELFTEST) [N/y/?] n
  Enable low level request tracing events (DRM_I915_LOW_LEVEL_TRACEPOINTS) [N/y/?] n
  Enable extra debug warnings for vblank evasion (DRM_I915_DEBUG_VBLANK_EVADE) [N/y/?] n
  Enable extra state checking for runtime PM (DRM_I915_DEBUG_RUNTIME_PM) [N/y/?] (NEW) 
Error in reading or end of file.

  *
  * drm/i915 Profile Guided Optimisation
  *
  Runtime autosuspend delay for userspace GGTT mmaps (ms) (DRM_I915_USERFAULT_AUTOSUSPEND) [250] (NEW) 
Error in reading or end of file.

  Busywait for request completion (us) (DRM_I915_SPIN_REQUEST) [5] (NEW) 
Error in reading or end of file.
02.11.20203431OtherBug ReportVery LowMediumSDK try to recompile the whole KernelTrunkUnconfirmed Task Description

When i try to compile a external kernelmodule (lq-wave300 from Mandrake-Lee github repo) then it trys to recompile the whole kernel and fail because Kconfig is missed.
I compile by the command:
make V=s package/ltq-wave300-mandrake/compile

on SDK from 19.07.4 and before it compiled succes (the module was never tested yet because i have only a working snapshoot device)
> selfbuikded snapshoot from 18.10:
-it fails by missed Kconfig
-when i copy the kernelsource to buildirectory (via “tar -xf -k ..”) then it will try to recompile the whole kernel
-when i copy the Makefile from old 4.14 Kernel to the current 5.4.72 directory first it works (no compilation of kernelsource) but it hangs on Modpost 2 (no reaaction)
> download snapshoot from 02.11: (fakreroot does not work and must be replaced by Slackware specified)
-it fails by missed Kconfig, but then it recompile libnl-3 again and prepare my package again ??? and fails finaly by missed Kconfig

mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/CmdLine.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/CmdLine.h

depbase=`echo ../../../../../tools/shared/linux/../Debug.o | sed ‘s|[^/]*$|.deps/&|;s|\.o$||’`;\
/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/support/mtlkfront.sh /opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-*linux-g++ -DHAVE_CONFIG_H -I. -I../../../../../tools/shared/linux -I../../.. -DMTLK_SOURCE_VERSION=”\”3.4.99.0.0.exported.pre_git_version.REL_3.4.99\”” -DLOG_LOCAL_OID=MTLKFRONT_WILL_FILL_IT -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/config.h -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/.config.h -I../../../../../tools/rtlogger/shared -g -I../../../../../tools/shared/linux/../ -I../../../../../wireless/shared -I../../../../../wireless/shared/linux -I../../../../../tools/shared/3rd_party/iniparser -I../../../../../tools/mttools/shared -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -Wall -Wno-multichar -fno-strict-aliasing -O2 -fno-common -fno-builtin -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -MT ../../../../../tools/shared/linux/../Debug.o -MD -MP -MF $depbase.Tpo -c -o ../../../../../tools/shared/linux/../Debug.o ../../../../../tools/shared/linux/../Debug.cpp &&\
mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/Debug.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/Debug.h

depbase=`echo ../../../../../tools/shared/linux/../ParamInfo.o | sed ‘s|[^/]*$|.deps/&|;s|\.o$||’`;\
/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/support/mtlkfront.sh /opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-*linux-g++ -DHAVE_CONFIG_H -I. -I../../../../../tools/shared/linux -I../../.. -DMTLK_SOURCE_VERSION=”\”3.4.99.0.0.exported.pre_git_version.REL_3.4.99\”” -DLOG_LOCAL_OID=MTLKFRONT_WILL_FILL_IT -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/config.h -include /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/.config.h -I../../../../../tools/rtlogger/shared -g -I../../../../../tools/shared/linux/../ -I../../../../../wireless/shared -I../../../../../wireless/shared/linux -I../../../../../tools/shared/3rd_party/iniparser -I../../../../../tools/mttools/shared -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -Wall -Wno-multichar -fno-strict-aliasing -O2 -fno-common -fno-builtin -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/ -I/opt/build/owrtsdk/staging_dir/target-mips_24kc_musl/usr/include/libnl3/netlink/genl/ -MT ../../../../../tools/shared/linux/../ParamInfo.o -MD -MP -MF $depbase.Tpo -c -o ../../../../../tools/shared/linux/../ParamInfo.o ../../../../../tools/shared/linux/../ParamInfo.cpp &&\
mv -f $depbase.Tpo $depbase.Po
awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/ParamInfo.cpp

awk: cmd. line:1: warning: regexp escape sequence `\#’ is not a known regexp operator

LP      /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/tools/shared/ParamInfo.h

rm -f libmtlkcpp.a
ar cru libmtlkcpp.a ../../../../../tools/shared/linux/../aux_utils.o ../../../../../tools/shared/linux/../CmdLine.o ../../../../../tools/shared/linux/../Debug.o ../../../../../tools/shared/linux/../ParamInfo.o
/opt/build/owrtsdk/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/bin/mips-openwrt-linux-ranlib libmtlkcpp.a
make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[7]: Nothing to be done for ‘install-exec-am’.
make[7]: Nothing to be done for ‘install-data-am’.
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared/linux’ make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[7]: Nothing to be done for ‘install-exec-am’.
make[7]: Nothing to be done for ‘install-data-am’.
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/shared’ Making install in wireless/shared
make[5]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[6]: Nothing to be done for ‘install-exec-am’.
make[6]: Nothing to be done for ‘install-data-am’.
make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/wireless/shared’ Making install in tools
make[5]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools’ Making install in mttools
make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[8]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[8]: Nothing to be done for ‘install-exec-am’.
make[8]: Nothing to be done for ‘install-data-am’.
make[8]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mttools’ Making install in mtlkroot
make[6]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mtlkroot’ make[7]: Entering directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.73’ scripts/kconfig/conf –syncconfig Kconfig
can’t find file Kconfig
make[9]: * [scripts/kconfig/Makefile:73: syncconfig] Error 1
make[8]:
* [Makefile:590: syncconfig] Error 2
make[7]: * [Makefile:696: include/config/auto.conf.cmd] Error 2
make[7]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.4.73’ make[6]:
* [Makefile:485: mtlkroot.ko] Error 11
make[6]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools/mtlkroot’ make[5]: * [Makefile:587: install-recursive] Error 1
make[5]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288/tools’ make[4]:
* [Makefile:518: install-recursive] Error 1
make[4]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/builds/ugw5.4-vrx288’ make[3]: * [Makefile:21: all] Error 2
make[3]: Leaving directory ‘/opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23’ make[2]:
* [Makefile:160: /opt/build/owrtsdk/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/lq-wave300-mandrake-2019.23.23/.built] Error 2
make[2]: Leaving directory ‘/mnt/sda2/prog/openwrt_lantiq2/own-feeds/openwrt-feeds-teleltq/kernel/lantiq/ltq-wave300-mandrake’ time: package/feeds/teleltq/ltq-wave300-mandrake/compile#27.44#22.95#53.36
make[1]: * [package/Makefile:114: package/feeds/teleltq/ltq-wave300-mandrake/compile] Error 2
make[1]: Leaving directory ‘/opt/build/owrtsdk’ make:
* [/opt/build/owrtsdk/include/toplevel.mk:229: package/ltq-wave300-mandrake/compile] Error 2
ERROR: make V=s package/ltq-wave300-mandrake/compile

30.08.2016126KernelBug ReportVery LowMediumkernel panic on brcm47xx (netgear wgt634u) when routing...TrunkUnconfirmed Task Description

With LEDE version reboot-1444-g1bb914d, when pulling data through the WAN interface to the LAN interface at a sufficiently high speed, e.g. on a Raspberry Pi connected by ethernet to a LAN port, and the WAN interface connected to a gigabit internet service and issuing a command like:

curl https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.7.2.tar.xz > /dev/null

From the pi, I see something like:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  9 86.2M    9 7977k    0     0  1834k      0  0:00:48  0:00:04  0:00:44 1835k[  352.295252] smsc95xx 1-1.1:1.0 eth0: link down
  9 86.2M    9 7977k    0     0  1255k      0  0:01:10  0:00:06  0:01:04 1155k[  353.959380] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
  9 86.2M    9 7977k    0     0  43292      0  0:34:48  0:03:08  0:31:40     0

or

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  8 86.2M    8 7440k    0     0  1478k      0  0:00:59  0:00:05  0:00:54 1478k[ 1100.164849] smsc95xx 1-1.1:1.0 eth0: link down
  8 86.2M    8 7440k    0     0  1232k      0  0:01:11  0:00:06  0:01:05 1300k[ 1101.836954] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
  8 86.2M    8 7440k    0     0   740k      0  0:01:59  0:00:10  0:01:49     0

Where the “link down” is the WGT634U panic’ing and rebooting. The panic on the WGT634U looks like this:

[  171.966841] CPU 0 Unable to handle kernel paging request at virtual address 008224d8, epc == 80077ecc, ra == 801d8100
[  171.977700] Oops[#1]:
[  171.980093] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.1.20 #0
[  171.986265] task: 8181e008 ti: 8182a000 task.ti: 8182a000
[  171.991711] $ 0   : 00000000 1000b800 008224d8 b41c479b
[  171.997140] $ 4   : 008224d8 00010000 80361ef8 00000000
[  172.002557] $ 8   : 81018b14 8101da14 00100100 dceb27b8
[  172.007983] $12   : ffffffff 00000001 ffffff80 000042c6
[  172.013400] $16   : b41c479b 00000001 81b450a8 81b7d260
[  172.018817] $20   : 803b5dcc 00000002 00000008 0000000a
[  172.024235] $24   : 00000000 80072b24                  
[  172.029653] $28   : 8182a000 8182bdb8 00000100 801d8100
[  172.035083] Hi    : 00000000
[  172.038026] Lo    : 0000006c
[  172.041036] epc   : 80077ecc put_compound_page+0x78/0x240
[  172.046547] ra    : 801d8100 skb_release_data+0xa8/0x10c
[  172.051920] Status: 1000b803 KERNEL EXL IE 
[  172.056254] Cause : 00800008
[  172.059194] BadVA : 008224d8
[  172.062144] PrId  : 00029007 (Broadcom BMIPS3300)
[  172.066891] Modules linked in: pppoe ppp_async iptable_nat ath5k ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd
[  172.132913] Process ksoftirqd/0 (pid: 3, threadinfo=8182a000, task=8181e008, tls=00000000)
[  172.141213] Stack : 1000b803 00000000 0000006c b41c479b 81b45080 801d8100 00000000 0000012c
          00000001 801e7d60 81becb60 81b7d260 81b7d260 80335b3c 81bece60 801d818c
          80360000 803623e0 81becb60 80335b3c 803623e0 801e63d8 8182be10 8182be10
          00000001 00000002 803b5dd0 00000001 803b5dd4 00000003 803b0000 80024fec
          81841048 80361100 819bb770 80007664 80364510 8181e008 80362898 04208040
          ...
[  172.178058] Call Trace:
[  172.180640] [<80077ecc>] put_compound_page+0x78/0x240
[  172.185822] [<801d8100>] skb_release_data+0xa8/0x10c
[  172.190895] [<801d818c>] __kfree_skb+0x28/0xb4
[  172.195466] [<801e63d8>] net_tx_action+0xd8/0x140
[  172.200329] [<80024fec>] __do_softirq+0x184/0x2b0
[  172.205184] [<80025140>] run_ksoftirqd+0x28/0x80
[  172.209953] [<8003bae0>] smpboot_thread_fn+0x148/0x178
[  172.215246] [<80039390>] kthread+0xdc/0xe8
[  172.219459] [<800010a8>] ret_from_kernel_thread+0x14/0x1c
[  172.224921] 
[  172.226470] 
Code: 30840001  0204100a  00402021 <8c420000> 000211c2  30420001  10400018  00000000  8e020000 
[  172.237022] ---[ end trace 89a3318b662df6d8 ]---
[  172.250536] Kernel panic - not syncing: Fatal exception in interrupt
[  172.262338] Rebooting in 3 seconds..

or

[ 1317.958261] Unhandled kernel unaligned access[#1]:
[ 1317.963173] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.1.20 #0
[ 1317.969349] task: 8181e008 ti: 8182a000 task.ti: 8182a000
[ 1317.974795] $ 0   : 00000000 1000b801 00000001 00200000
[ 1317.980232] $ 4   : 647b394a 00010000 00018da4 00000000
[ 1317.985658] $ 8   : 8181e040 b1e1b104 00000017 40000000
[ 1317.991085] $12   : 500018dd 00000000 00000000 010102f2
[ 1317.996510] $16   : 80e4d1e0 00000001 80e4d208 81acb0e0
[ 1318.001936] $20   : 803b5dcc 00000002 00000008 0000000a
[ 1318.007362] $24   : 00000010 8001ead0                  
[ 1318.012789] $28   : 8182a000 8182bdd0 00000100 801d8100
[ 1318.018220] Hi    : 00000001
[ 1318.021160] Lo    : 00000001
[ 1318.024169] epc   : 80078474 put_page+0x0/0x4c
[ 1318.028732] ra    : 801d8100 skb_release_data+0xa8/0x10c
[ 1318.034104] Status: 1000b803 KERNEL EXL IE 
[ 1318.038439] Cause : 00800010
[ 1318.041380] BadVA : 647b394a
[ 1318.044330] PrId  : 00029007 (Broadcom BMIPS3300)
[ 1318.049076] Modules linked in: pppoe ppp_async iptable_nat ath5k ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd
[ 1318.115124] Process ksoftirqd/0 (pid: 3, threadinfo=8182a000, task=8181e008, tls=00000000)
[ 1318.123424] Stack : 00000000 80c60c94 00db35c0 626a006e ff330000 81acb0e0 81acb0e0 80335b3c
          80c28260 801d818c 80360000 8004f368 00000018 0000000a 803623e0 801e63d8
          8182be10 8182be10 80361100 00000002 803b5dd0 00000001 803b5dd4 00000013
          803b0000 80024fec 80364510 80361100 80360000 8000736c 80364510 8181e008
          80362898 04208040 00018da4 80360000 80310000 803b5dcc 803615a0 803114f4
          ...
[ 1318.160295] Call Trace:
[ 1318.162885] [<80078474>] put_page+0x0/0x4c
[ 1318.167108] [<801d8100>] skb_release_data+0xa8/0x10c
[ 1318.172182] [<801d818c>] __kfree_skb+0x28/0xb4
[ 1318.176752] [<801e63d8>] net_tx_action+0xd8/0x140
[ 1318.181614] [<80024fec>] __do_softirq+0x184/0x2b0
[ 1318.186471] [<80025140>] run_ksoftirqd+0x28/0x80
[ 1318.191238] [<8003bae0>] smpboot_thread_fn+0x148/0x178
[ 1318.196530] [<80039390>] kthread+0xdc/0xe8
[ 1318.200744] [<800010a8>] ret_from_kernel_thread+0x14/0x1c
[ 1318.206200] 
[ 1318.207747] 
Code: 00003021  0801e0ce  24a57888 <8c820000> 3042c000  10400003  00801821  0801df95  00000000 
[ 1318.218397] ---[ end trace 2502a626803fb4b9 ]---
[ 1318.231740] Kernel panic - not syncing: Fatal exception in interrupt
[ 1318.243362] Rebooting in 3 seconds..

This looks similar to: https://dev.openwrt.org/ticket/11091

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

Supply the following if possible:

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

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

12.02.2017503KernelBuild FailureVery LowMediumBuild fails with CONFIG_KERNEL_GIT_CLONE_URI beig setAllAssigned Task Description

When specifying

CONFIG_KERNEL_GIT_CLONE_URI

a clean build fails, as the system assumes a already downloaded/cloned/packed linux-source is present in dl/ which on a freshly checked out openwrt/lede source isn’t the case yet, when

toolchain/kernel-headers

is about to be built.

The build error looks like:

make[3]: Entering directory `/build/lede.git/toolchain/kernel-headers'
zcat /build/lede.git/dl/linux-4.4.42.tar.gz | tar -C /build/lede.git/build_dir/toolchain-arm_cortex-a9+neon_gcc-6.3.0_glibc-2.24_eabi -xf -
gzip: /build/lede.git/dl/linux-4.4.42.tar.gz: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

The issue apparently is located in

include/kernel-defaults.mk

, line 53ff::

  ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
    define Kernel/Prepare/Default
        zcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
        $(Kernel/Patch)
        $(if $(QUILT),touch $(LINUX_DIR)/.quilt_used)
    endef
  else
    define Kernel/Prepare/Default
        zcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
    endef
  endif

For the package

kernel-headers

it just tries to access the not-yet downloaded/cloned/packed linux kernel source archive.

Showing tasks 101 - 150 of 1029 Page 3 of 21 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing