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.

OpenedID  descCategoryTask TypePrioritySeveritySummaryReported InStatus
22.02.20181384Base systemBug ReportVery LowCriticalRT-N11P_A1 switch not workingTrunkUnconfirmed Task Description

Hi all,

 Device: Asus rt-n11p (rev. A1)
 OpenWrt/LEDE: snapshots, my builds (4.9, 4.14 kernel + recent "mac80211: rt2x00" patchs (Staging tree of Daniel Golle)) last try commit "7a97588bc6ae70a134456833d4d489148e38a5aa"
 Steps to reproduce:
 Flash firmware. After, router run, turn on power led, wan & lan, but Windows reporting "network cable is not connected"
 I use Padavan Uboot 5.0.1.0-6
 I check the other day original uboot, wifi. In appearance the system is launched.
22.02.20181383PackagesBug ReportVery LowMedium[kmod-b43]Crashes after 5GHz Scanlede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device: Linksys E3000
- LEDE version: LEDE Reboot 17.01.4 r3560-79f57e422d, kmod-b43 - 4.4.92+2017-01-31-3
- Steps to reproduce
Open LuCI page, Network-Wireless, press Scan for “Generic MAC80211 802.11a (radio1)”, then LEDE crashes, and router reboots itself.
dmesg output:
[ 77.097162] random: nonblocking pool is initialized
[ 364.790599] b43-phy1: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 364.846607] Data bus error, epc == 8016dd88, ra == 801df05c
[ 364.852277] Oops[#1]:
[ 364.854607] CPU: 0 PID: 1370 Comm: luci Not tainted 4.4.92 #0
[ 364.860446] task: 8399ed48 ti: 83938000 task.ti: 83938000
[ 364.865928] $ 0 : 00000000 1100bc00 00000002 1100bc03
[ 364.871269] $ 4 : a80003fa 838fc058 00000108 00007000
[ 364.876610] $ 8 : 00000023 00000000 00000001 00000006
[ 364.881952] $12 : 00000000 000002a0 00000000 00000000
[ 364.887293] $16 : 838fc000 838fc058 000003fa 838fc328
[ 364.892634] $20 : 838fc034 0000029a 00000002 00000001
[ 364.897977] $24 : 00000001 801df014
[ 364.903318] $28 : 83938000 83939b38 00000001 801df05c
[ 364.908660] Hi : 00000000
[ 364.911592] Lo : 0f5c28f6
[ 364.914528] epc : 8016dd88 0x8016dd88
[ 364.918425] ra : 801df05c 0x801df05c
[ 364.922317] Status: 1100bc03 KERNEL EXL IE
[ 364.926597] Cause : c080801c (ExcCode 07)
[ 364.930671] PrId : 00019740 (MIPS 74Kc)
[ 364.934654] Modules linked in: pppoe ppp_async iptable_nat b43 pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 mac80211 ipt_REJECT ipt_MASQUERADE cfg80211 bgmac_bcma xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_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_mangle iptable_filter ip_tables crc8 crc_ccitt cordic compat bgmac_bcma_mdio bgmac ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common ssb_hcd bcma_hcd
[ 365.003649] Process luci (pid: 1370, threadinfo=83938000, task=8399ed48, tls=776aad48)
[ 365.011680] Stack : 0000016c 000c1047 00000000 800489fc 0000016c 611fc6ba 803b6b60 8036c254
[ 365.011680] 00000000 803b436c 00000000 00000001 803d0000 803b0000 00000000 00000080
[ 365.011680] 00000004 838fc000 838fc058 801dee98 838fc058 801defb8 00000001 801ebce8
[ 365.011680] 00000000 838fc000 838fc058 801dee98 00000000 83213a94 1100bc00 803b22ec
[ 365.011680] 00000080 83248ee0 00000074 838fc000 838fc058 83939bf0 838fc058 801df03c
[ 365.011680] ...
[ 365.048015] Call Trace:[<800489fc>] 0x800489fc
[ 365.052577] [<801dee98>] 0x801dee98
[ 365.056131] [<801defb8>] 0x801defb8
[ 365.059682] [<801ebce8>] 0x801ebce8
[ 365.063236] [<801dee98>] 0x801dee98
[ 365.066791] [<83213a94>] 0x83213a94 [b43@83200000+0×55470]
[ 365.072378] [<801df03c>] 0x801df03c
[ 365.075943] [<801df03c>] 0x801df03c
[ 365.079501] [<83213a30>] 0x83213a30 [b43@83200000+0×55470]
[ 365.085077] [<83212284>] 0×83212284 [b43@83200000+0×55470]
[ 365.090661] [<83212948>] 0×83212948 [b43@83200000+0×55470]
[ 365.096252] [<83216f5c>] 0x83216f5c [b43@83200000+0×55470]
[ 365.101838] [<801dee98>] 0x801dee98
[ 365.105394] [<801dea54>] 0x801dea54
[ 365.108951] [<801dee98>] 0x801dee98
[ 365.112521] [<832131b8>] 0x832131b8 [b43@83200000+0×55470]
[ 365.118114] [<83213230>] 0×83213230 [b43@83200000+0×55470]
[ 365.123710] [<83206be0>] 0x83206be0 [b43@83200000+0×55470]
[ 365.129317] [<83207560>] 0×83207560 [b43@83200000+0×55470]
[ 365.134907] [<83182ff8>] 0x83182ff8 [mac80211@83180000+0×60860]
[ 365.140941] [<831960f8>] 0x831960f8 [mac80211@83180000+0×60860]
[ 365.146965] [<8020b664>] 0x8020b664
[ 365.150524] [<8020b96c>] 0x8020b96c
[ 365.154074] [<801f0534>] 0x801f0534
[ 365.157633] [<8020ba50>] 0x8020ba50
[ 365.161181] [<80220ab8>] 0x80220ab8
[ 365.164736] [<8027449c>] 0x8027449c
[ 365.168282] [<8029bfb4>] 0x8029bfb4
[ 365.171841] [<801effb4>] 0x801effb4
[ 365.175408] [<800bb3cc>] 0x800bb3cc
[ 365.178960] [<800ac178>] 0x800ac178
[ 365.182512] [<800bdea0>] 0x800bdea0
[ 365.186063] [<801eea94>] 0x801eea94
[ 365.189614] [<800c469c>] 0x800c469c
[ 365.193175] [<800bb4d4>] 0x800bb4d4
[ 365.196730] [<80003398>] 0×80003398 [ 365.200296]
[ 365.201814]
[ 365.201814] Code: 03e00008 304200ff 94820000 <03e00008> 3042ffff 8c820000 03e00008 00000000 308400ff
[ 365.212331] —[ end trace f01c15e372c1be21 ]—

21.02.20181382Base systemBug ReportVery LowLowcrash in __slab_free.isra from kfreeTrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

BT homehub 5a

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

SNAPSHOT, r6182

kernel - 4.9.82-1-b3856355ef32057f204aaf8b7ab28ff3
kmod-usb-net-cdc-ncm - 4.9.82-1
kmod-usb-net-huawei-cdc-ncm - 4.9.82-1
kmod-usb-serial - 4.9.82-1
kmod-usb-serial-wwan - 4.9.82-1
usb-modeswitch - 2017-12-19-f40f84c2-1

- Steps to reproduce

Trying to get Huawei E3372 4G dongle running in NCM mode
after usbmodes runs, the /etc/ncm-wdm0 is created, but does not communicate with modem on dongle

I have to run
echo “12d1 1506 ff” > /sys/bus/usb-serial/drivers/generic/new_id

which gives

[ 1003.351417] usbserial_generic 1-1:1.0: The “generic” usb-serial driver is only for testing and one-off prototypes.
[ 1003.360515] usbserial_generic 1-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 1003.370345] usbserial_generic 1-1:1.0: generic converter detected
[ 1003.377122] usb 1-1: generic converter now attached to ttyUSB0
[ 1003.382521] usbserial_generic 1-1:1.1: The “generic” usb-serial driver is only for testing and one-off prototypes.
[ 1003.392654] usbserial_generic 1-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 1003.402464] usbserial_generic 1-1:1.1: generic converter detected
[ 1003.409607] usb 1-1: generic converter now attached to ttyUSB1

I realize that forcing the generic usb serial in this way is not “proper” but it seems necessary for the moment to get any communication with the modem

this does create /dev/ttyUSB0 and ttyUSB1 devices,

startimg the 4G interface with

ifup LTE

will then communicate with the modem, the chat script gets responses to the AT commands

unfortunately as soon as
I run

ifdown LTE

I get a repeatable crash

root@hh5a:/# ifdown LTE
root@hh5a:/#
root@hh5a:/# [256467.571884] CPU 1 Unable to handle kernel paging request at virtual address 67901b30, epc == 800f33f8, ra == 800f3b94
[256467.581230] Oops[#1]:
[256467.583518] CPU: 1 PID: 14 Comm: ksoftirqd/1 Not tainted 4.9.82 #0
[256467.589782] task: 87c3d080 task.stack: 87c7a000
[256467.594379] $ 0 : 00000000 806f0004 67901b30 00000001
[256467.599688] $ 4 : 87c02b00 810fb560 67901a00 67901a00
[256467.605003] $ 8 : 805993f8 04efd20a d208b27a 0000008c
[256467.610310] $12 : 52016177 ffffffff 00000000 1a0004e4
[256467.615619] $16 : 810fb560 850d8008 000d001a 00000000
[256467.620930] $20 : 805990a0 00000000 87c02b00 00000000
[256467.626238] $24 : 00000000 875e36f8
[256467.631549] $28 : 87c7a000 87c7bcd8 00000018 800f3b94
[256467.636856] Hi : 00000000
[256467.639814] Lo : 0000c400
[256467.642811] epc : 800f33f8 slab_free.isra.13+0×64/0×334 [256467.648453] ra : 800f3b94 kfree+0×194/0x1a4
[256467.652963] Status: 1100c303 KERNEL EXL IE [256467.657223] Cause : 0080000c (ExcCode 03)
[256467.661312] BadVA : 67901b30
[256467.664274] PrId : 00019556 (MIPS 34Kc)
[256467.668270] Modules linked in: ltq_ptm_vr9 ath9k ath9k_common ath9k_hw ath10k_pci ath10k_core ath usb_wwan pppoe nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet ts_fsm ts_bm pppox ppp_async owl_loader nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda ltq_deu_vr9 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat cdc_wdm sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress drv_dsl_cpe_api drv_mei_cpe ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc ifb br2684 atm mii drv_ifxos dwc2 gpio_button_hotplug
Process ksoftirqd/1 (pid: 14, threadinfo=87c7a000, task=87c3d080, tls=00000000)
[256467.798220] Stack : 00000000 00000001 00000000 00000000 67901a00 67901a00 00000001 805a0000
[256467.806661] 04f6d940 850d8008 00003fe0 00000002 67901a00 04efd20a d208b27a d20f920a
[256467.815103] 52016177 ffffffff 00000000 1a0004e4 876a8d00 850d8008 87d7b800 00000000
[256467.823546] 876a8d00 850d8008 87d7b800 00000000 805990a0 00010000 00000002 00000000
[256467.831989] 00000018 800f3b94 00000018 875e36bc 1100c303 00000000 00000001 04f6d940
[256467.840432] ...
[256467.842959] Call Trace:
[256467.845511] [<800f33f8>]
slab_free.isra.13+0×64/0×334 [256467.850826] [<800f3b94>] kfree+0×194/0x1a4
[256467.854986] Code: 8e12000c 00621021 8fa30018 <ac550000> 00121402 00431023 3042ffff afb2002c 32570001
[256467.864804]
[256467.866497] —[ end trace e77f91eef6b40e80 ]—

root@h[256467.872551] Kernel panic - not syncing: Fatal exception in interrupt
[256467.878975] Rebooting in 3 seconds..


21.02.20181381Base systemFeature RequestVery LowMediumbusybox: Enable ip_tunnel and ip_neighbor by defaultlede-17.01Unconfirmed Task Description

For more sophisticated users, ability to manage networking is a key feature of LEDE/OpenWRT.

As configured by default, the ip OBJECTs of tunnel and neighbor are not included.

As noted in FS#1380 there is no straightforward way to “replace” busybox on a running system with a customized version.

Consider enabling these options by default

Looking at the size of the extracted busybox binary within the package (on the Ubuntu build machine) suggests this will add:
* 4096 bytes for ip_tunnel only
* 8192 bytes for both ip_tunnel and ip_neighbor

“base” diffconfig:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_archer-c7-v2=y
CONFIG_DEVEL=y
CONFIG_BUILD_SUFFIX=”just-device” # CONFIG_DRIVER_11AC_SUPPORT is not set
# CONFIG_PACKAGE_ath10k-firmware-qca988x is not set
# CONFIG_PACKAGE_kmod-ath10k is not set
CONFIG_PACKAGE_kmod-usb-ohci=y

with ip_tunnel added:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_archer-c7-v2=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_BUILD_SUFFIX=”just-device” CONFIG_BUSYBOX_CONFIG_FEATURE_IP_TUNNEL=y
# CONFIG_DRIVER_11AC_SUPPORT is not set
# CONFIG_PACKAGE_ath10k-firmware-qca988x is not set
# CONFIG_PACKAGE_kmod-ath10k is not set
CONFIG_PACKAGE_kmod-usb-ohci=y

with both added:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_archer-c7-v2=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_BUILD_SUFFIX=”just-device” CONFIG_BUSYBOX_CONFIG_FEATURE_IP_NEIGH=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_TUNNEL=y
# CONFIG_DRIVER_11AC_SUPPORT is not set
# CONFIG_PACKAGE_ath10k-firmware-qca988x is not set
# CONFIG_PACKAGE_kmod-ath10k is not set
CONFIG_PACKAGE_kmod-usb-ohci=y

 


21.02.20181380Base systemBug ReportVery LowMediumProvide method of "replacing" busybox to obtain non-dis...lede-17.01Unconfirmed Task Description

The busybox package is compiled in the pre-built images without functionality needed by some users, for example “ip tunnel”.

While a user can compile a local version of the busybox package, there is no straightforward way of installing it on a running system. Apparently opkg required busybox to complete installation of a replacement package so that it cannot be “removed” and then the new version installed.

Without manual manipulation of the package, it appears that a complete re-flash is required. This is “dangerous” as booting into failsafe without a functional busybox may not allow recovery.

At least as I understood the filesystem, it should be possible to recognize that it is busybox being installed and perform something like the following:

* Identify all symlinks installed in the flashed image to busybox
* Identify all symlinks about to be installed by the “new” busybox from the package
* Create a list of “removed” links by comparing the above results
* Install busybox to the overlay
* Update the overlay to “delete” the list of “removed” links

Assuming that the “new” busybox doesn’t lack the functionality required for opkg, there shouldn’t be a point in time where there is a “broken” busybox in the process.

Additionally, the flash will continue to have an operational “stock”busybox available for failsafe mode.

To be “super safe” it may be appropriate to install the busybox binary in a different location on the overlay, then mv/”relink” it into place.


21.02.20181379Base systemBug ReportVery LowLowIPv6 DNS setting ProblemTrunkWaiting on reporter Task Description

Software versions : Linux version 4.9.82 (buildbot@slashdirt-02) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6194-138c763) ) #0 Mon Feb 19 22:54:38 2018
Device : WZR HP G300NH2 and PHICOMM K3

BUG : Can’t set IPv6’s DNS to Customized Server

I’ve set the IPv6 DNS to “2001:4860:4860::8888”, but in Status→Overview , “IPv6 WAN Status” still shows
“pppoe-wan Type: dhcpv6-pd
Prefix Delegated: 240e:f2:xxxx:xxxx::/60
Address: 240e:f2:c01c:a9e:xxxx:xxxx:xxxx:xxxx/64
Gateway: fe80::e224:xxxx:xxxx:772
DNS 1: 240e:1c:200::1
DNS 2: 240e:1c:200::2
Connected: 11h 55m 17s”

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'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '64'
        option dns '8.8.8.8 8.8.4.4'

config interface 'wan'
        option ifname 'eth0.2'
        option _orig_ifname 'eth0.2'
        option _orig_bridge 'false'
        option proto 'pppoe'
        option username 'xxxxxxxx'
        option password 'xxxxxxxx'
        option ipv6 'auto'
        option dns '8.8.8.8 8.8.4.4'

config interface 'wan6'
        option ifname 'eth0.2'
        option proto 'dhcpv6'
        option reqaddress 'try'
        option reqprefix 'auto'
        option peerdns '0'
        option dns '2001:4860:4860::8888 2001:4860:4860::8844'

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

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '1 3 4 5 0t'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '2 0t'

Here’s IPv4 WAN Status :

pppoe-wan Type: pppoe
Address: 122.232.xxx.xxx
Netmask: 255.255.255.255
Gateway: 122.232.xxx.xxx
DNS 1: 8.8.8.8
DNS 2: 8.8.4.4
DNS 3: 220.189.127.106
DNS 4: 220.189.127.107
Connected: 11h 58m 29s

cat /etc/config/dhcp shows:

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option ra 'hybrid'
        option dhcpv6 'hybrid'
        option ra_management '1'

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

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'
19.02.20181378PackagesBug ReportVery LowCriticalPrefix Delegation is brokenlede-17.01Waiting on reporter Task Description

Device problem occurs on: TP-Link TL-WA850RE v1

Software versions of OpenWrt/LEDE release, packages, etc.:
- odhcpd version 2017-10-02-c6f3d5d4-2

Steps to reproduce:

Note: After a quick search on the internet I found out that more people are having this exact problem.

1 - I installed a he.net tunnel with a /48 prefix
2 - I configured the “lan” interfarce to assign itself a /56 prefix
3 - I connected a router to the Ethernet port and let it ask for a prefix to the TP-link repeater
4 - In the TP-Link repeater system logs you can see that the system has replyed about five or more times to the request but for some reason the devices never recognize it’s response.

This is a log from a PFsense Router that asks for a prefix:

Note: It starts from the bottom up

Oct 8 11:07:08 dhcp6c 77626 failed to parse options
Oct 8 11:07:08 dhcp6c 77626 unsupported authentication protocol: 1
Oct 8 11:07:08 dhcp6c 77626 proto: reconfig, alg: HMAC-MD5, RDM: mono counter, RD: 59d9 f8a2 0000 0062
Oct 8 11:07:08 dhcp6c 77626 get DHCP option authentication, len 28
Oct 8 11:07:08 dhcp6c 77626 unknown or unexpected DHCP6 option opt_20, len 0
Oct 8 11:07:08 dhcp6c 77626 get DHCP option opt_20, len 0
Oct 8 11:07:08 dhcp6c 77626 get DHCP option domain search list, len 5
Oct 8 11:07:08 dhcp6c 77626 get DHCP option DNS, len 32
Oct 8 11:07:08 dhcp6c 77626 unknown or unexpected DHCP6 option opt_82, len 4
Oct 8 11:07:08 dhcp6c 77626 get DHCP option opt_82, len 4
Oct 8 11:07:08 dhcp6c 77626 DUID: 00:01:00:01:21:6b:bf:52:00:15:f2:4b:e7:d8
Oct 8 11:07:08 dhcp6c 77626 get DHCP option client ID, len 14
Oct 8 11:07:08 dhcp6c 77626 DUID: 00:03:00:01:c4:6e:1f:40:59:c0
Oct 8 11:07:08 dhcp6c 77626 get DHCP option server ID, len 10
Oct 8 11:07:08 dhcp6c 77626 receive reply from fe80::c66e:1fff:fe40:59c0%rl0 on rl0
Oct 8 11:07:08 dhcp6c 77626 reset a timer on rl0, state=REQUEST, timeo=6, retrans=28947
Oct 8 11:07:08 dhcp6c 77626 send request to ff02::1:2%rl0
Oct 8 11:07:08 dhcp6c 77626 set IA_PD
Oct 8 11:07:08 dhcp6c 77626 set IA_PD prefix
Oct 8 11:07:08 dhcp6c 77626 set option request (len 4)
Oct 8 11:07:08 dhcp6c 77626 set elapsed time (len 2)
Oct 8 11:07:08 dhcp6c 77626 set identity association
Oct 8 11:07:08 dhcp6c 77626 set IA address
Oct 8 11:07:08 dhcp6c 77626 set server ID (len 10)
Oct 8 11:07:08 dhcp6c 77626 set client ID (len 14)
Oct 8 11:07:08 dhcp6c 77626 Sending Request
Oct 8 11:07:05 dhclient 66398 bound to 192.168.0.85 – renewal in 54 seconds.
Oct 8 11:07:05 dhclient Creating resolv.conf
Oct 8 11:07:05 dhclient RENEW
Oct 8 11:07:05 dhclient 66398 DHCPACK from 192.168.0.1
Oct 8 11:07:05 dhclient 66398 DHCPREQUEST on rl0 to 192.168.0.1 port 67
Oct 8 11:06:39 dhcp6c 77626 failed to parse options
Oct 8 11:06:39 dhcp6c 77626 unsupported authentication protocol: 1
Oct 8 11:06:39 dhcp6c 77626 proto: reconfig, alg: HMAC-MD5, RDM: mono counter, RD: 59d9 f887 0000 0061
Oct 8 11:06:39 dhcp6c 77626 get DHCP option authentication, len 28
Oct 8 11:06:39 dhcp6c 77626 unknown or unexpected DHCP6 option opt_20, len 0
Oct 8 11:06:39 dhcp6c 77626 get DHCP option opt_20, len 0
Oct 8 11:06:39 dhcp6c 77626 get DHCP option domain search list, len 5
Oct 8 11:06:39 dhcp6c 77626 get DHCP option DNS, len 32
Oct 8 11:06:39 dhcp6c 77626 unknown or unexpected DHCP6 option opt_82, len 4
Oct 8 11:06:39 dhcp6c 77626 get DHCP option opt_82, len 4
Oct 8 11:06:39 dhcp6c 77626 DUID: 00:01:00:01:21:6b:bf:52:00:15:f2:4b:e7:d8
Oct 8 11:06:39 dhcp6c 77626 get DHCP option client ID, len 14
Oct 8 11:06:39 dhcp6c 77626 DUID: 00:03:00:01:c4:6e:1f:40:59:c0
Oct 8 11:06:39 dhcp6c 77626 get DHCP option server ID, len 10
Oct 8 11:06:39 dhcp6c 77626 receive reply from fe80::c66e:1fff:fe40:59c0%rl0 on rl0
Oct 8 11:06:39 dhcp6c 77626 reset a timer on rl0, state=REQUEST, timeo=5, retrans=28476
Oct 8 11:06:39 dhcp6c 77626 send request to ff02::1:2%rl0
Oct 8 11:06:39 dhcp6c 77626 set IA_PD
Oct 8 11:06:39 dhcp6c 77626 set IA_PD prefix
Oct 8 11:06:39 dhcp6c 77626 set option request (len 4)
Oct 8 11:06:39 dhcp6c 77626 set elapsed time (len 2)
Oct 8 11:06:39 dhcp6c 77626 set identity association
Oct 8 11:06:39 dhcp6c 77626 set IA address
Oct 8 11:06:39 dhcp6c 77626 set server ID (len 10)
Oct 8 11:06:39 dhcp6c 77626 set client ID (len 14)
Oct 8 11:06:39 dhcp6c 77626 Sending Request
Oct 8 11:06:35 dhcpd Server starting service.
Oct 8 11:06:35 dhcpd Sending on Socket/fallback/fallback-net
Oct 8 11:06:35 dhcpd Sending on BPF/msk0/00:15:f2:4b:e7:d8/10.0.0.0/10
Oct 8 11:06:35 dhcpd Listening on BPF/msk0/00:15:f2:4b:e7:d8/10.0.0.0/10
Oct 8 11:06:35 dhcpd Wrote 1 leases to leases file.
Oct 8 11:06:32 dhcpd For info, please visit https://www.isc.org/software/dhcp/ Oct 8 11:06:32 dhcpd All rights reserved.
Oct 8 11:06:32 dhcpd Copyright 2004-2016 Internet Systems Consortium.
Oct 8 11:06:32 dhcpd Internet Systems Consortium DHCP Server 4.3.5
Oct 8 11:06:32 dhcpd PID file: /var/run/dhcpd.pid
Oct 8 11:06:32 dhcpd Database file: /var/db/dhcpd.leases
Oct 8 11:06:32 dhcpd Config file: /etc/dhcpd.conf
Oct 8 11:06:23 dhcp6c 77626 failed to parse options
Oct 8 11:06:23 dhcp6c 77626 unsupported authentication protocol: 1
Oct 8 11:06:23 dhcp6c 77626 proto: reconfig, alg: HMAC-MD5, RDM: mono counter, RD: 59d9 f877 0000 0060
Oct 8 11:06:23 dhcp6c 77626 get DHCP option authentication, len 28
Oct 8 11:06:23 dhcp6c 77626 unknown or unexpected DHCP6 option opt_20, len 0
Oct 8 11:06:23 dhcp6c 77626 get DHCP option opt_20, len 0
Oct 8 11:06:23 dhcp6c 77626 get DHCP option domain search list, len 5
Oct 8 11:06:23 dhcp6c 77626 get DHCP option DNS, len 32
Oct 8 11:06:23 dhcp6c 77626 unknown or unexpected DHCP6 option opt_82, len 4
Oct 8 11:06:23 dhcp6c 77626 get DHCP option opt_82, len 4
Oct 8 11:06:23 dhcp6c 77626 DUID: 00:01:00:01:21:6b:bf:52:00:15:f2:4b:e7:d8
Oct 8 11:06:23 dhcp6c 77626 get DHCP option client ID, len 14
Oct 8 11:06:23 dhcp6c 77626 DUID: 00:03:00:01:c4:6e:1f:40:59:c0
Oct 8 11:06:23 dhcp6c 77626 get DHCP option server ID, len 10
Oct 8 11:06:23 dhcp6c 77626 receive reply from fe80::c66e:1fff:fe40:59c0%rl0 on rl0
Oct 8 11:06:23 dhcp6c 77626 reset a timer on rl0, state=REQUEST, timeo=4, retrans=15939
Oct 8 11:06:23 dhcp6c 77626 send request to ff02::1:2%rl0
Oct 8 11:06:23 dhcp6c 77626 set IA_PD
Oct 8 11:06:23 dhcp6c 77626 set IA_PD prefix
Oct 8 11:06:23 dhcp6c 77626 set option request (len 4)
Oct 8 11:06:23 dhcp6c 77626 set elapsed time (len 2)
Oct 8 11:06:23 dhcp6c 77626 set identity association
Oct 8 11:06:23 dhcp6c 77626 set IA address
Oct 8 11:06:23 dhcp6c 77626 set server ID (len 10)
Oct 8 11:06:23 dhcp6c 77626 set client ID (len 14)
Oct 8 11:06:23 dhcp6c 77626 Sending Request
Oct 8 11:06:15 dhcp6c 77626 failed to parse options
Oct 8 11:06:15 dhcp6c 77626 unsupported authentication protocol: 1
Oct 8 11:06:15 dhcp6c 77626 proto: reconfig, alg: HMAC-MD5, RDM: mono counter, RD: 59d9 f86f 0000 005f
Oct 8 11:06:15 dhcp6c 77626 get DHCP option authentication, len 28
Oct 8 11:06:15 dhcp6c 77626 unknown or unexpected DHCP6 option opt_20, len 0
Oct 8 11:06:15 dhcp6c 77626 get DHCP option opt_20, len 0
Oct 8 11:06:15 dhcp6c 77626 get DHCP option domain search list, len 5
Oct 8 11:06:15 dhcp6c 77626 get DHCP option DNS, len 32
Oct 8 11:06:15 dhcp6c 77626 unknown or unexpected DHCP6 option opt_82, len 4
Oct 8 11:06:15 dhcp6c 77626 get DHCP option opt_82, len 4
Oct 8 11:06:15 dhcp6c 77626 DUID: 00:01:00:01:21:6b:bf:52:00:15:f2:4b:e7:d8
Oct 8 11:06:15 dhcp6c 77626 get DHCP option client ID, len 14
Oct 8 11:06:15 dhcp6c 77626 DUID: 00:03:00:01:c4:6e:1f:40:59:c0
Oct 8 11:06:15 dhcp6c 77626 get DHCP option server ID, len 10
Oct 8 11:06:15 dhcp6c 77626 receive reply from fe80::c66e:1fff:fe40:59c0%rl0 on rl0
Oct 8 11:06:15 dhcp6c 77626 reset a timer on rl0, state=REQUEST, timeo=3, retrans=7819
Oct 8 11:06:15 dhcp6c 77626 send request to ff02::1:2%rl0
Oct 8 11:06:15 dhcp6c 77626 set IA_PD
Oct 8 11:06:15 dhcp6c 77626 set IA_PD prefix
Oct 8 11:06:15 dhcp6c 77626 set option request (len 4)
Oct 8 11:06:15 dhcp6c 77626 set elapsed time (len 2)
Oct 8 11:06:15 dhcp6c 77626 set identity association
Oct 8 11:06:15 dhcp6c 77626 set IA address
Oct 8 11:06:15 dhcp6c 77626 set server ID (len 10)
Oct 8 11:06:15 dhcp6c 77626 set client ID (len 14)
Oct 8 11:06:15 dhcp6c 77626 Sending Request
Oct 8 11:06:11 dhcp6c 77626 failed to parse options
Oct 8 11:06:11 dhcp6c 77626 unsupported authentication protocol: 1
Oct 8 11:06:11 dhcp6c 77626 proto: reconfig, alg: HMAC-MD5, RDM: mono counter, RD: 59d9 f86b 0000 005e
Oct 8 11:06:11 dhcp6c 77626 get DHCP option authentication, len 28
Oct 8 11:06:11 dhcp6c 77626 unknown or unexpected DHCP6 option opt_20, len 0
Oct 8 11:06:11 dhcp6c 77626 get DHCP option opt_20, len 0
Oct 8 11:06:11 dhcp6c 77626 get DHCP option domain search list, len 5
Oct 8 11:06:11 dhcp6c 77626 get DHCP option DNS, len 32
Oct 8 11:06:11 dhcp6c 77626 unknown or unexpected DHCP6 option opt_82, len 4
Oct 8 11:06:11 dhcp6c 77626 get DHCP option opt_82, len 4
Oct 8 11:06:11 dhcp6c 77626 DUID: 00:01:00:01:21:6b:bf:52:00:15:f2:4b:e7:d8
Oct 8 11:06:11 dhcp6c 77626 get DHCP option client ID, len 14
Oct 8 11:06:11 dhcp6c 77626 DUID: 00:03:00:01:c4:6e:1f:40:59:c0
Oct 8 11:06:11 dhcp6c 77626 get DHCP option server ID, len 10
Oct 8 11:06:11 dhcp6c 77626 receive reply from fe80::c66e:1fff:fe40:59c0%rl0 on rl0
Oct 8 11:06:11 dhcp6c 77626 reset a timer on rl0, state=REQUEST, timeo=2, retrans=4044
Oct 8 11:06:11 dhcp6c 77626 send request to ff02::1:2%rl0
Oct 8 11:06:11 dhcp6c 77626 set IA_PD
Oct 8 11:06:11 dhcp6c 77626 set IA_PD prefix
Oct 8 11:06:11 dhcp6c 77626 set option request (len 4)
Oct 8 11:06:11 dhcp6c 77626 set elapsed time (len 2)
Oct 8 11:06:11 dhcp6c 77626 set identity association
Oct 8 11:06:11 dhcp6c 77626 set IA address
Oct 8 11:06:11 dhcp6c 77626 set server ID (len 10)
Oct 8 11:06:11 dhcp6c 77626 set client ID (len 14)
Oct 8 11:06:11 dhcp6c 77626 Sending Request
Oct 8 11:06:09 dhcpd For info, please visit https://www.isc.org/software/dhcp/ Oct 8 11:06:09 dhcpd All rights reserved.
Oct 8 11:06:09 dhcpd Copyright 2004-2016 Internet Systems Consortium.
Oct 8 11:06:09 dhcpd Internet Systems Consortium DHCP Server 4.3.5
Oct 8 11:06:09 dhcp6c 77626 failed to parse options
Oct 8 11:06:09 dhcp6c 77626 unsupported authentication protocol: 1
Oct 8 11:06:09 dhcp6c 77626 proto: reconfig, alg: HMAC-MD5, RDM: mono counter, RD: 59d9 f869 0000 005d
Oct 8 11:06:09 dhcp6c 77626 get DHCP option authentication, len 28
Oct 8 11:06:09 dhcp6c 77626 unknown or unexpected DHCP6 option opt_20, len 0
Oct 8 11:06:09 dhcp6c 77626 get DHCP option opt_20, len 0
Oct 8 11:06:09 dhcp6c 77626 get DHCP option domain search list, len 5
Oct 8 11:06:09 dhcp6c 77626 get DHCP option DNS, len 32
Oct 8 11:06:09 dhcp6c 77626 unknown or unexpected DHCP6 option opt_82, len 4
Oct 8 11:06:09 dhcp6c 77626 get DHCP option opt_82, len 4
Oct 8 11:06:09 dhcp6c 77626 DUID: 00:01:00:01:21:6b:bf:52:00:15:f2:4b:e7:d8
Oct 8 11:06:09 dhcp6c 77626 get DHCP option client ID, len 14
Oct 8 11:06:09 dhcp6c 77626 DUID: 00:03:00:01:c4:6e:1f:40:59:c0
Oct 8 11:06:09 dhcp6c 77626 get DHCP option server ID, len 10
Oct 8 11:06:09 dhcp6c 77626 receive reply from fe80::c66e:1fff:fe40:59c0%rl0 on rl0
Oct 8 11:06:09 dhcp6c 77626 reset a timer on rl0, state=REQUEST, timeo=1, retrans=1945
Oct 8 11:06:09 dhcp6c 77626 send request to ff02::1:2%rl0
Oct 8 11:06:09 dhcp6c 77626 set IA_PD
Oct 8 11:06:09 dhcp6c 77626 set IA_PD prefix
Oct 8 11:06:09 dhcp6c 77626 set option request (len 4)
Oct 8 11:06:09 dhcp6c 77626 set elapsed time (len 2)
Oct 8 11:06:09 dhcp6c 77626 set identity association
Oct 8 11:06:09 dhcp6c 77626 set IA address
Oct 8 11:06:09 dhcp6c 77626 set server ID (len 10)
Oct 8 11:06:09 dhcp6c 77626 set client ID (len 14)
Oct 8 11:06:09 dhcp6c 77626 Sending Request
Oct 8 11:06:08 dhcp6c 77626 failed to parse options
Oct 8 11:06:08 dhcp6c 77626 unsupported authentication protocol: 1
Oct 8 11:06:08 dhcp6c 77626 proto: reconfig, alg: HMAC-MD5, RDM: mono counter, RD: 59d9 f868 0000 005c
Oct 8 11:06:08 dhcp6c 77626 get DHCP option authentication, len 28
Oct 8 11:06:08 dhcp6c 77626 unknown or unexpected DHCP6 option opt_20, len 0
Oct 8 11:06:08 dhcp6c 77626 get DHCP option opt_20, len 0
Oct 8 11:06:08 dhcp6c 77626 get DHCP option domain search list, len 5
Oct 8 11:06:08 dhcp6c 77626 get DHCP option DNS, len 32
Oct 8 11:06:08 dhcp6c 77626 unknown or unexpected DHCP6 option opt_82, len 4
Oct 8 11:06:08 dhcp6c 77626 get DHCP option opt_82, len 4
Oct 8 11:06:08 dhcp6c 77626 DUID: 00:01:00:01:21:6b:bf:52:00:15:f2:4b:e7:d8
Oct 8 11:06:08 dhcp6c 77626 get DHCP option client ID, len 14
Oct 8 11:06:08 dhcp6c 77626 DUID: 00:03:00:01:c4:6e:1f:40:59:c0
Oct 8 11:06:08 dhcp6c 77626 get DHCP option server ID, len 10
Oct 8 11:06:08 dhcp6c 77626 receive reply from fe80::c66e:1fff:fe40:59c0%rl0 on rl0
Oct 8 11:06:08 dhcp6c 77626 reset a timer on rl0, state=REQUEST, timeo=0, retrans=977
Oct 8 11:06:08 dhcp6c 77626 send request to ff02::1:2%rl0
Oct 8 11:06:08 dhcp6c 77626 set IA_PD
Oct 8 11:06:08 dhcp6c 77626 set IA_PD prefix
Oct 8 11:06:08 dhcp6c 77626 set option request (len 4)
Oct 8 11:06:08 dhcp6c 77626 set elapsed time (len 2)
Oct 8 11:06:08 dhcp6c 77626 set identity association
Oct 8 11:06:08 dhcp6c 77626 set IA address
Oct 8 11:06:08 dhcp6c 77626 set server ID (len 10)
Oct 8 11:06:08 dhcp6c 77626 set client ID (len 14)
Oct 8 11:06:08 dhcp6c 77626 a new XID (7dd3e8) is generated
Oct 8 11:06:08 dhcp6c 77626 Sending Request
Oct 8 11:06:08 dhcp6c 77626 picked a server (ID: 00:03:00:01:c4:6e:1f:40:59:c0)
Oct 8 11:06:07 dhcp6c 77626 reset timer for rl0 to 0.997475
Oct 8 11:06:07 dhcp6c 77626 server ID: 00:03:00:01:c4:6e:1f:40:59:c0, pref=-1
Oct 8 11:06:07 dhcp6c 77626 IA_PD prefix: 2001:470:6e1f:4::/62 pltime=4294967295 vltime=4294967295
Oct 8 11:06:07 dhcp6c 77626 get DHCP option IA_PD prefix, len 25
Oct 8 11:06:07 dhcp6c 77626 IA_PD: ID=0, T1=60, T2=96
Oct 8 11:06:07 dhcp6c 77626 get DHCP option IA_PD, len 41
Oct 8 11:06:07 dhcp6c 77626 IA_NA address: 2001:470:6e1f::ad9 pltime=4294967295 vltime=4294967295
Oct 8 11:06:07 dhcp6c 77626 get DHCP option IA address, len 24
Oct 8 11:06:07 dhcp6c 77626 IA_NA: ID=0, T1=60, T2=96
Oct 8 11:06:07 dhcp6c 77626 get DHCP option identity association, len 40
Oct 8 11:06:07 dhcp6c 77626 unknown or unexpected DHCP6 option opt_20, len 0
Oct 8 11:06:07 dhcp6c 77626 get DHCP option opt_20, len 0
Oct 8 11:06:07 dhcp6c 77626 get DHCP option domain search list, len 5
Oct 8 11:06:07 dhcp6c 77626 get DHCP option DNS, len 32
Oct 8 11:06:07 dhcp6c 77626 unknown or unexpected DHCP6 option opt_82, len 4
Oct 8 11:06:07 dhcp6c 77626 get DHCP option opt_82, len 4
Oct 8 11:06:07 dhcp6c 77626 DUID: 00:01:00:01:21:6b:bf:52:00:15:f2:4b:e7:d8
Oct 8 11:06:07 dhcp6c 77626 get DHCP option client ID, len 14
Oct 8 11:06:07 dhcp6c 77626 DUID: 00:03:00:01:c4:6e:1f:40:59:c0
Oct 8 11:06:07 dhcp6c 77626 get DHCP option server ID, len 10
Oct 8 11:06:07 dhcp6c 77626 receive advertise from fe80::c66e:1fff:fe40:59c0%rl0 on rl0
Oct 8 11:06:07 dhcp6c 77626 reset a timer on rl0, state=SOLICIT, timeo=0, retrans=1088
Oct 8 11:06:07 dhcp6c 77626 send solicit to ff02::1:2%rl0
Oct 8 11:06:07 dhcp6c 77626 set IA_PD
Oct 8 11:06:07 dhcp6c 77626 set IA_PD prefix
Oct 8 11:06:07 dhcp6c 77626 set option request (len 4)
Oct 8 11:06:07 dhcp6c 77626 set elapsed time (len 2)
Oct 8 11:06:07 dhcp6c 77626 set identity association
Oct 8 11:06:07 dhcp6c 77626 set client ID (len 14)
Oct 8 11:06:07 dhcp6c 77626 a new XID (a59087) is generated
Oct 8 11:06:07 dhcp6c 77626 Sending Solicit
Oct 8 11:06:07 dhcp6c 77626 reset a timer on rl0, state=INIT, timeo=0, retrans=383
Oct 8 11:06:07 dhcp6c 77348 called
Oct 8 11:06:07 dhcp6c 77348 called
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>end of closure [}] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>end of closure [}] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[8] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[sla-len] (7)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[1] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[sla-id] (6)
Oct 8 11:06:07 dhcp6c 77348 <3>begin of closure [{] (1)
Oct 8 11:06:07 dhcp6c 77348 <5>[msk0] (4)
Oct 8 11:06:07 dhcp6c 77348 <3>[prefix-interface] (16)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[infinity] (8)
Oct 8 11:06:07 dhcp6c 77348 <3>[56] (2)
Oct 8 11:06:07 dhcp6c 77348 <3>[/] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[::] (2)
Oct 8 11:06:07 dhcp6c 77348 <3>[prefix] (6)
Oct 8 11:06:07 dhcp6c 77348 <13>begin of closure [{] (1)
Oct 8 11:06:07 dhcp6c 77348 <13>[0] (1)
Oct 8 11:06:07 dhcp6c 77348 <13>[pd] (2)
Oct 8 11:06:07 dhcp6c 77348 <3>[id-assoc] (8)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>end of closure [}] (1)
Oct 8 11:06:07 dhcp6c 77348 <13>begin of closure [{] (1)
Oct 8 11:06:07 dhcp6c 77348 <13>[0] (1)
Oct 8 11:06:07 dhcp6c 77348 <13>[na] (2)
Oct 8 11:06:07 dhcp6c 77348 <3>[id-assoc] (8)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>end of closure [}] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>comment [# we’d like some nameservers please] (35)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[”/var/etc/dhcp6c_wan_script.sh”] (31)
Oct 8 11:06:07 dhcp6c 77348 <3>[script] (6)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[domain-name] (11)
Oct 8 11:06:07 dhcp6c 77348 <3>[request] (7)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[domain-name-servers] (19)
Oct 8 11:06:07 dhcp6c 77348 <3>[request] (7)
Oct 8 11:06:07 dhcp6c 77348 <3>comment [# request prefix delegation] (27)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[0] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[ia-pd] (5)
Oct 8 11:06:07 dhcp6c 77348 <3>[send] (4)
Oct 8 11:06:07 dhcp6c 77348 <3>comment [# request stateful address] (26)
Oct 8 11:06:07 dhcp6c 77348 <3>end of sentence [;] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[0] (1)
Oct 8 11:06:07 dhcp6c 77348 <3>[ia-na] (5)
Oct 8 11:06:07 dhcp6c 77348 <3>[send] (4)
Oct 8 11:06:07 dhcp6c 77348 <3>begin of closure [{] (1)
Oct 8 11:06:07 dhcp6c 77348 <5>[rl0] (3)
Oct 8 11:06:07 dhcp6c 77348 <3>[interface] (9)
Oct 8 11:06:07 dhcp6c 77348 skip opening control port

From the looks of it it seems like the problem is in the PFsense Router but it isn’t.
The Openwrt system for some reason is forcing authentication on incompatible systems making the prefix request impossible.

19.02.20181376KernelBug ReportVery LowMediumregression: reading from 32 MB flash mtd fails with ker...TrunkUnconfirmed Task Description

Hi OpenWRT/LEDE people,

I have a device I am currently adding to OpenWRT (https://wiki.openwrt.org/inbox/engenius/engenius_emr3000v2) that boots just fine with Linux 4.4 but fails under Linux 4.9 with

[    0.951402] m25p80 spi0.0: found s25fl256s1, expected m25p80
[    0.957203] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
[    0.962266] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.968277] Creating 7 MTD partitions on "spi0.0":
[    0.973141] 0x000000000000-0x000000040000 : "u-boot"
[    0.979849] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.986630] 0x000000050000-0x000000060000 : "art"
[    0.992712] 0x000000060000-0x0000001c0000 : "kernel"
[    0.999136] 0x0000001c0000-0x000001fb0000 : "rootfs"
[    1.005551] mtd: device 4 (rootfs) set to be root filesystem
[    1.011311] mtdsplit: error occured while reading from "rootfs"
[    1.017348] 0x000001fb0000-0x000002000000 : "config"
[    1.023717] 0x000000060000-0x000001fb0000 : "firmware"

As you can see, this uses a 32MB flash chip “s25fl256s1”. After weeks of digging I finally found the root of the issue which is this change: https://github.com/torvalds/linux/commit/08922f644878c9163ada8df3ef9def89be1d5e90. This uses a mmap read request that “Certain SPI controllers may provide”, as the author states. Apparently the s25fl256s1 does not, at least not for the whole 32MB (spi_flash_read() works if I manually set the s25fl256s1’s size to 16MB in spi-nor.c)

To determine if the chip supports this mmap read, the spi_flash_read_supported(spi) function gets called (https://github.com/torvalds/linux/blob/master/include/linux/spi/spi.h#L1218) which in turn calls a spi→controller→flash_read_supported(spi) callback which for OpenWRT/LEDE got wired up by https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e0d58157d8e2ec3da0a1fe62a65aa756c5514871. Unfortunately, this commit only disabled the mmap read for multi-chip setups, the issue I kept running into is not taken care of. I guess something needs to be changed in ath79_spi_flash_read_supported() in spi-ath79.c, but I am stuck at this point, hence this bug report.

BTW ath79_spi_read_flash_data() which is wired to master→spi_flash_read in spi-ath79.c returns -EOPNOTSUPP for address widths > 3, which might be the reason I am running into this with the flash size set to its native 32MB, but not with 16MB...

 


19.02.20181375Base systemBug ReportVery LowCriticalPhicomm PSG1218 rev.Ax(Phicomm K2)Wireless can not conn...lede-17.01Unconfirmed Task Description

When I used the Moto XT1085 to connect to my wireless, the XT1085 typically disconnected the wireless connection within one or two seconds after I got the IP address, and I got the syslog

Mon Feb 19 09:04:02 2018 daemon.info hostapd: wlan1: STA 38:a4:ed:db:3c:6c IEEE 802.11: authenticated
Mon Feb 19 09:04:02 2018 daemon.info hostapd: wlan1: STA 38:a4:ed:db:3c:6c IEEE 802.11: associated (aid 1)
Mon Feb 19 09:04:02 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 38:a4:ed:db:3c:6c
Mon Feb 19 09:04:02 2018 daemon.info dnsmasq-dhcp[1413]: DHCPDISCOVER(br-lan) 38:a4:ed:db:3c:6c
Mon Feb 19 09:04:02 2018 daemon.info dnsmasq-dhcp[1413]: DHCPOFFER(br-lan) 192.168.1.152 38:a4:ed:db:3c:6c
Mon Feb 19 09:04:02 2018 daemon.info dnsmasq-dhcp[1413]: DHCPREQUEST(br-lan) 192.168.1.152 38:a4:ed:db:3c:6c
Mon Feb 19 09:04:02 2018 daemon.info dnsmasq-dhcp[1413]: DHCPACK(br-lan) 192.168.1.152 38:a4:ed:db:3c:6c android-a222c0967a127f80
Mon Feb 19 09:04:05 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 38:a4:ed:db:3c:6c

This does not seem to have any useful information

So I try to use my moto x ghost to connect wireless, although also disconnected the wireless connection, but I got a different syslog

Mon Feb 19 09:18:32 2018 daemon.info hostapd: wlan1: STA f8:cf:c5:bc:7d:17 IEEE 802.11: disassociated
Mon Feb 19 09:18:33 2018 daemon.info hostapd: wlan1: STA f8:cf:c5:bc:7d:17 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Mon Feb 19 09:18:34 2018 daemon.info hostapd: wlan1: STA f8:cf:c5:bc:7d:17 IEEE 802.11: authenticated
Mon Feb 19 09:18:34 2018 daemon.info hostapd: wlan1: STA f8:cf:c5:bc:7d:17 IEEE 802.11: associated (aid 1)
Mon Feb 19 09:18:34 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED f8:cf:c5:bc:7d:17
Mon Feb 19 09:18:34 2018 daemon.info dnsmasq-dhcp[1413]: DHCPDISCOVER(br-lan) f8:cf:c5:bc:7d:17
Mon Feb 19 09:18:34 2018 daemon.info dnsmasq-dhcp[1413]: DHCPOFFER(br-lan) 192.168.1.150 f8:cf:c5:bc:7d:17
Mon Feb 19 09:18:34 2018 daemon.info dnsmasq-dhcp[1413]: DHCPREQUEST(br-lan) 192.168.1.150 f8:cf:c5:bc:7d:17
Mon Feb 19 09:18:34 2018 daemon.info dnsmasq-dhcp[1413]: DHCPACK(br-lan) 192.168.1.150 f8:cf:c5:bc:7d:17 android-e221edb7e67bd21f
Mon Feb 19 09:18:37 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED f8:cf:c5:bc:7d:17
Mon Feb 19 09:18:33 2018 daemon.info hostapd: wlan1: STA f8:cf:c5:bc:7d:17 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

This looks interesting

I got the solution after google

uci set wireless.@wifi-iface[0].disassoc_low_ack=‘0’ && uci commit && reboot

After that I can use the XT1085 to connect wirelessly and get this syslog

Mon Feb 19 09:32:45 2018 daemon.info hostapd: wlan1: STA 44:80:eb:cb:e5:88 IEEE 802.11: authenticated
Mon Feb 19 09:32:46 2018 daemon.info hostapd: wlan1: STA 44:80:eb:cb:e5:88 IEEE 802.11: associated (aid 3)
Mon Feb 19 09:32:46 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 44:80:eb:cb:e5:88
Mon Feb 19 09:32:49 2018 daemon.info dnsmasq-dhcp[1413]: DHCPDISCOVER(br-lan) 44:80:eb:cb:e5:88
Mon Feb 19 09:32:49 2018 daemon.info dnsmasq-dhcp[1413]: DHCPOFFER(br-lan) 192.168.1.115 44:80:eb:cb:e5:88
Mon Feb 19 09:32:49 2018 daemon.info dnsmasq-dhcp[1413]: DHCPREQUEST(br-lan) 192.168.1.115 44:80:eb:cb:e5:88
Mon Feb 19 09:32:49 2018 daemon.info dnsmasq-dhcp[1413]: DHCPACK(br-lan) 192.168.1.115 44:80:eb:cb:e5:88 android-8e596bd7d2f79888

This really works, but does that happen on other MT7620 routers?

19.02.20181374PackagesBug ReportVery LowHighubox: logd memory leak AllUnconfirmed Task Description

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

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

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

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


18.02.20181373Base systemBug ReportVery LowCriticalLinksys E1700 wireless unstable and jams other WiFi cha...lede-17.01Unconfirmed Task Description

Device: Linksys E1700 (dual antenna, 2.4Ghz only)
Techdata: https://openwrt.org/toh/hwdata/linksys/linksys_e1700 LEDE firmware installed: lede-17.01.4-ramips-mt7620-e1700-squashfs-factory.bin
LEDE supported since commit: https://git.lede-project.org/?p=source.git;a=commit;h=d738d22bf8303bd84e925b2b0c90793a1f3d89e5 LEDE supported since rel: 17.01.0
LEDE supported current rel: 17.01.4

Good: Openwrt/LEDE installs fine and generally runs well. Linux stable. LAN stable. LuCI works. SSH works. Able to access DSL modem web interface on WAN side through LUCI interface configuration, etc.

Bad: Wireless radio is unstable and unusable.
Symptoms observed:

1. jamming across all WiFi channels
    - other nearby WiFi networks on different channels are disrupted (e.g. channels 4 and 12)
    - connection is lost to these other wireless networks from multiple devices and test pings show there is packet loss. (This happens after booting the Linksys E1700 LEDE device with wireless enabled)
2. difficulty connecting to a new LEDE wireless network
    - seemingly placement of laptop 'not too close' and 'not too far' is required plus several attempts to successfully join the network
    - once connected, ping tests show some packet loss, intermittent variable round trip time (30ms-2400ms) and regular network drops (within a few minutes).

Test environment:

  1. Existing, working Linksys WAG200G router in home with an existing SSID and DSL connection
  2. Client: Ubuntu laptop (Asus Zenbook UX310U)
  3. Client: Android phone (Pixel)
  4. WiFi scanner and ‘nmcli d wifi’ are used to monitor wireless networks

Tested with settings:

  1. Linksys E1700 (with OpenWRT/LEDE installed) wireless network on channel 4
  2. Existing router (Linksys WAG200G) wireless network on channel 12
  3. WLAN security mode: WPA2 Personal, PSK

Steps to reproduce:

1. Have a Linksys E1700 device for testing and some other device with an existing wireless network on which a test laptop and phone are connected
2. Upgrade firmware on new Linksys E1700 device to lede-17.01.4-ramips-mt7620-e1700-squashfs-factory.bin using factory GUI (from original firmware version 1.0.0: FW_E1700_v1.0.00.081_20131220.bin).
3. Boot into LEDE. Perform initial setup. Configure wireless interface on channel 4 (or any channel other than the existing), security mode: WPA2 PSK, visible SSID
4. Enable Wireless
5. Note that soon after, all client devices in proximity become disconnected from the unrelated wireless network operating on channel 12 - this is the 'jamming effect' observed
6. Try to connect the test laptop to the LEDE wireless network. Joining is difficult/unreliable (regardless of distance of the router from the laptop)
7. When connectivity is established, ping the router from the test laptop. This will show some dropped packets and intermittent huge variation on round trip times  (30ms-2400ms). Network will drop regularly and hard to get back on.
8. Repeat test with LEDE Linksys E1700 device on same channel, different channels, busy and free channels, etc. - makes no difference to outcome.
9. Disable Wireless.  (Jamming effect seems to remain until power off but can't be 100% sure.)
10. Power off the Linksys. The jamming effect disappears and the adversely affected devices reconnect to their original other network(s).

Steps taken to isolate fault:

1. Restore firmware to Linksys factory default firmware (1.0.0).
2. Create the same test wireless network and connect the test laptop to it.
3. Ping test. This shows 100%, no packet loss, stable low round trip time.
4. Connect the test laptop to the existing wireless network. Ping test. 100%. No side effects can be observed on other networks or client devices.
5. Repeat LEDE router test from various distances.

This seems to rule out a hardware fault. Seems to be a radio fault.

There are two antennae on the E1700. It is unclear to me how these interact or how they can be configured.

I would be grateful if somebody can offer an explanation/suspicion of cause for this as I have not seen this with a WiFi device before. If LEDE can be patched to fix this then I am happy to help conduct further diagnostics if someone is willing to look at this.

Flash map for Linksys E1700:

root@LEDE:~# cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00001000 “u-boot” mtd1: 00010000 00001000 “config” mtd2: 00010000 00001000 “factory” mtd3: 007b0000 00001000 “firmware” mtd4: 001286c8 00001000 “kernel” mtd5: 00687938 00001000 “rootfs” mtd6: 00458000 00001000 “rootfs_data”

17.02.20181372Base systemBug ReportVery LowLow802.11s Mesh with SAE / using wpad-mesh crashing rando...TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT r6155-9574551
Hardware: AP147-010/CPU: AR9533/RAM: 128MB/FLUSH: 16MB

Randomly crashing.

Issue only when use encryption.

/etc/config/wireless: (on both device same)

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/qca953x_wmac'
	option disabled '0'
	option channel '6'
	option legacy_rates '0'
	option country 'CN'
	option beacon_int '400'
	option htmode 'HT20'

config wifi-iface
	option ifname 'mesh0'
	option device 'radio1'
	option network 'lan'
	option mode 'mesh'
	option mesh_id 'TESTMESH'
	option encryption 'psk2'
	option key 'TESTMESHPASS'
	option mesh_fwding '1'

Device_1 /etc/config/network: (with internet on eth1)

config interface 'lan'
	option type 'bridge'
	option ifname 'eth0'
	option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
	option stp '1'

Device_2 /etc/config/network: (just mesh point)

config interface 'lan'
	option type 'bridge'
	option ifname 'eth0 eth1'
	option proto 'static'
        option ipaddr '192.168.1.2'
        option netmask '255.255.255.0'
	option stp '1'

Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.128432] ------------[ cut here ]------------
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.133333] WARNING: CPU: 0 PID: 3 at backports-2017-11-01/net/mac80211/wpa.c:431 0x86c887f8 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.144597] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TPROXY xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CLASSIFY usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_defrag_ipv4
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.218626]  nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter fuse act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress 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_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_rt ip6t_frag ip6t_hbh ip6t_eui64 ip6t_mh ip6t_ah ip6t_ipv6header ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ip_gre gre ipip ip6_tunnel tunnel6 tunnel4 ip_tunnel vfat fat ntfs hSat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.340385] CPU: 0 PID: 3 Comm: ksoftirqd/0 Tainted: G        W       4.9.77 #0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.347939] Stack : 8046767a 00000043 00000000 00000001 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.356645]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.365344]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.374044]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.382745]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.391435]         ...
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.393981] Call Trace:
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.396423] [<8006adcc>] 0x8006adcc
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.400025] [<8006adcc>] 0x8006adcc
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.403638] [<8007fa40>] 0x8007fa40
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.407246] [<86c887f8>] 0x86c887f8 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.413445] [<8007fb08>] 0x8007fb08
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.417131] [<86c887f8>] 0x86c887f8 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.423260] [<80126f94>] 0x80126f94
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.427128] [<86ca863c>] 0x86ca863c [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.433336] [<86f690b4>] 0x86f690b4 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.439179] [<802beae8>] 0x802beae8
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.443070] [<86cab364>] 0x86cab364 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.449255] [<86f69318>] 0x86f69318 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.455700] [<86f69758>] 0x86f69758 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.461711] [<86f69840>] 0x86f69840 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.467609] [<86c97800>] 0x86c97800 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.473994] [<86f6a09c>] 0x86f6a09c [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.480242] [<86f6a4c0>] 0x86f6a4c0 [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.486297] [<86caa880>] 0x86caa880 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.492474] [<86ca7d38>] 0x86ca7d38 [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.498588] [<86d17a3c>] 0x86d17a3c [ath10k_core@86d00000+0x3ea30]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.505098] [<86cac5dc>] 0x86cac5dc [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.511211] [<86f6b9dc>] 0x86f6b9dc [ath9k@86f60000+0x15f50]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.517373] [<86cadfac>] 0x86cadfac [mac80211@86c80000+0x61180]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.523582] [<80290670>] 0x80290670
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.527260] [<80082bd0>] 0x80082bd0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.530898] [<800a06f8>] 0x800a06f8
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.534510] [<8008258c>] 0x8008258c
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.538114] [<8009fa3c>] 0x8009fa3c
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.541849] [<800825fc>] 0x800825fc
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.545453] [<8009b1d0>] 0x8009b1d0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.549055] [<8009b324>] 0x8009b324
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.552720] [<8009b1d0>] 0x8009b1d0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.556322] [<8037da5c>] 0x8037da5c
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.560001] [<8009b1d0>] 0x8009b1d0
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.563619] [<80097e8c>] 0x80097e8c
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.567410] [<80097db4>] 0x80097db4
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.571084] [<80066058>] 0x80066058
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.574706]
Sat Feb 17 08:44:01 2018 kern.warn kernel: [ 1192.576249] ---[ end trace 9d0627fec2f83954 ]---
16.02.20181371Base systemBug ReportVery LowLowuml: fails to build with musl (fix inside)TrunkUnconfirmed Task Description

I have added target/linux/uml/patches-4.4/103-arch-um-compile-with-modern-headers.patch to make it compile.
the patch attached.

Tested with Lede 17.01.4

16.02.20181370Base systemBug ReportVery LowMediumFragmented packets lead to OOMlede-17.01Unconfirmed Task Description

I installed iperf3 on a TP-Link 940N v6 (4 MB flash / 32 MB RAM) and ran some tests. After choosing a packet size so that the packet is fragmented, I noticed that the device goes out of memory and reboots around 40 Mbit of ingoing UDP traffic. It suspect a buffer is filled until the device runs out of memory. Maybe that buffer size should be adjusted.

16.02.20181368Base systemBug ReportVery LowLowHigh load on TP-Link TL-WR841N v8 - hostapd issue?lede-17.01Unconfirmed Task Description

We had a TP-Link TL-WR841N v8 with a very high load (6-14) for hours until it was rebooted. It might be an issue with hostapd because the log is full of hostapd related messsages.


15.02.20181367Base systemBug ReportVery LowLowCrash in dwc2_lowlevel_hw_disable when using Huawei E33...TrunkUnconfirmed Task Description

Device problem occurs on

BT Homehub 5a (Lantiq xrx200)
Huawei E3372 4G dongle

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

SNAPSHOT, r6150-dc7a1e8555
kernel - 4.9.77-1-b3856355ef32057f204aaf8b7ab28ff3
kmod-usb-net-cdc-ether - 4.9.77-1
usb-modeswitch - 2017-12-19-f40f84c2-1

Steps to reproduce

Either boot with the USB stick inserted, or insert the stick after booting.

The relevant lines from the serial console are below,
full boot log is attached

[ 3.825017] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.945365] dwc2 1e101000.ifxhcd: requested GPIO 495
[ 4.051035] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 4.054689] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[ 4.061971] dwc2 1e101000.ifxhcd: irq 62, io mem 0×00000000 [ 4.067493] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[ 4.074914] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 4.083016] hub 1-0:1.0: USB hub found
[ 4.085710] hub 1-0:1.0: 1 port detected
...
[ 12.728865] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 15.172707] usb 1-1: new high-speed USB device number 2 using dwc2
[ 16.329125] usb 1-1: USB disconnect, device number 2
[ 16.912722] usb 1-1: new high-speed USB device number 3 using dwc2
[ 17.402287] cdc_ether 1-1:1.0 eth1: register ‘cdc_ether’ at usb-1e101000.ifxhcd-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
...
[ 23.740745] cdc_ether 1-1:1.0 eth1: kevent 12 may have been dropped
[ 23.750448] Kernel bug detected[#1]:
[ 23.752607] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.9.77 #0
[ 23.758689] task: 87c38b80 task.stack: 87c56000
[ 23.763191] $ 0 : 00000000 806f0000 810ca200 00000001
[ 23.768408] $ 4 : 00000000 810ca233 00000000 86066000
[ 23.773630] $ 8 : 805a0000 806f15ea 00000010 806f1000
[ 23.778853] $12 : 806f1000 00000001 00000000 806f1000
[ 23.784075] $16 : 8601c080 86085008 87d7be00 00000000
[ 23.789299] $20 : 805990a0 00010000 00000002 00000000
[ 23.794520] $24 : 00000010 875e36f8
[ 23.799742] $28 : 87c56000 87c57d80 00000018 875e36cc
[ 23.804968] Hi : 00000fee
[ 23.807837] Lo : 00000026
[ 23.810752] epc : 800f38d8 kfree+0×78/0x1a4
[ 23.815165] ra : 875e36cc dwc2_lowlevel_hw_disable+0x12d0/0x1c20 [dwc2]
[ 23.821943] Status: 1100ff03 KERNEL EXL IE [ 23.826121] Cause : 10800034 (ExcCode 0d)
[ 23.830127] PrId : 00019556 (MIPS 34Kc)
[ 23.834037] Modules linked in: ath9k ath9k_common ath9k_hw ath10k_pci ath10k_core ath pppoe nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbnet ts_fsm ts_bm pppox ppp_async owl_loader nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda ltq_deu_vr9 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress drv_dsl_cpe_api drv_mei_cpe ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc ifb br2684 atm mii drv_ifxos dwc2 gpio_button_hotplug
Process ksoftirqd/0 (pid: 3, threadinfo=87c56000, task=87c38b80, tls=00000000)
[ 23.959287] Stack : 00000000 875e370c 86050c00 86eec600 00000001 8601c080 ffffff7d 802d921c
[ 23.967640] 00000000 00000000 87decb20 8110fb80 87decb20 87d7bee8 87d7bef0 87c57dd8
[ 23.975996] 87d7beec 802d9834 00000000 80062a94 875a0c40 805e6b80 8601c214 86050c14
[ 23.984352] 805993f8 87d7befc 87d7bef8 805e31fc 805993f8 80033524 87c38be0 805e6b80
[ 23.992709] 00000000 00000000 00000002 00000005 8058e058 00000090 806f41e0 00000006
[ 24.001064] ...
[ 24.003503] Call Trace:
[ 24.005971] [<800f38d8>] kfree+0×78/0x1a4
[ 24.010051] [<875e36cc>] dwc2_lowlevel_hw_disable+0x12d0/0x1c20 [dwc2]
[ 24.016526] Code: 30630001 24030001 38630001 <00030336> 8c430000 7c630380 10600003 00000000 10000002
[ 24.026220]
[ 24.027887] —[ end trace e408cf4c0ce5fc0c ]— [ 24.037907] Kernel panic - not syncing: Fatal exception in interrupt
[ 24.046166] Rebooting in 3 seconds..


14.02.20181364Base systemBug ReportVery LowMediumQMI NAT reflection does not work properlyTrunkUnconfirmed Task Description

I recently switched from using NCM to QMI. The NAT reflection stopped working. Also in LuCI the IP address does not appear (see: https://bugs.lede-project.org/index.php?do=details&task_id=1304 ). Perhaps these are related problems?

I am not exactly sure what information you need? I am using latest trunk. Please let me know what debugging information I should extract, and how. I will get all the necessary information on request.

14.02.20181363Base systemBug ReportVery LowMediumQMI does not use correct APNTrunkUnconfirmed Task Description

I get 4G service from a provider which provide public IP if APN of “opengate” is used. I found out that qmi.sh does not set the card correctly. The `–autoconnect` setting seems to be the cause. (Also maybe related: https://forum.openwrt.org/viewtopic.php?pid=372211 )

I replaced in my qmi.sh “–autoconnect” with “–set-autoconnect enabled” in lines where “–start-network” is used.

Seems to do the trick. However “–stop-network” requires “–autoconnect” to be present or I get errors.

See:

root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate --autoconnect
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"100.69.24.116","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"100.69.24.117","subnet":"255.255.255.248"},"ipv6":{},"domain-names":{}}
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"46.132.191.50","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"46.132.191.49","subnet":"255.255.255.252"},"ipv6":{},"domain-names":{}}
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate --set-autoconnect enabled
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"194.251.18.231","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"194.251.18.232","subnet":"255.255.255.240"},"ipv6":{},"domain-names":{}}
14.02.20181362KernelBug ReportVery LowLowkernel hangs unexpectedly on mt7621TrunkUnconfirmed Task Description

Usually system just hangs with no messages in the log. I’ve tried to enable log writing to external USB flash, but the log just stops in the time when the issue occurs.
I have no idea how to reproduce it. It could happen 3-5 times a day, but sometimes systems works for a week with no issues.

I’ve tried a lot of snapshot builds since 20180111, but the issue still exists.

The current version installed:
Snapshot 20180212
Hardware: Xiaomi Router 3G
ramips-mt7621

opkg list:
base-files - 184-r6069-a464fba
busybox - 1.27.2-3
dnsmasq - 2.78-10
dropbear - 2017.75-5
firewall - 2017-11-07-c4309372-2
fstools - 2018-02-11-3d239815-1
fwtool - 1
hostapd-common - 2017-08-24-c2d4f2eb-6
ip6tables - 1.6.1-2
iptables - 1.6.1-2
iw - 4.9-1
jshn - 2018-02-08-bb0c830b-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.9.77-1-2b01b81f4010dbad63c4aa03d212c19b
kmod-cfg80211 - 4.9.77+2017-11-01-3
kmod-gpio-button-hotplug - 4.9.77-2
kmod-ip6tables - 4.9.77-1
kmod-ipt-conntrack - 4.9.77-1
kmod-ipt-core - 4.9.77-1
kmod-ipt-nat - 4.9.77-1
kmod-leds-gpio - 4.9.77-1
kmod-lib-crc-ccitt - 4.9.77-1
kmod-mac80211 - 4.9.77+2017-11-01-3
kmod-mt76-core - 4.9.77+2018-02-09-246d548b-1
kmod-mt7603 - 4.9.77+2018-02-09-246d548b-1
kmod-mt76x2 - 4.9.77+2018-02-09-246d548b-1
kmod-nf-conntrack - 4.9.77-1
kmod-nf-conntrack6 - 4.9.77-1
kmod-nf-ipt - 4.9.77-1
kmod-nf-ipt6 - 4.9.77-1
kmod-nf-nat - 4.9.77-1
kmod-nf-reject - 4.9.77-1
kmod-nf-reject6 - 4.9.77-1
kmod-nls-base - 4.9.77-1
kmod-ppp - 4.9.77-1
kmod-pppoe - 4.9.77-1
kmod-pppox - 4.9.77-1
kmod-slhc - 4.9.77-1
kmod-tun - 4.9.77-1
kmod-usb-core - 4.9.77-1
kmod-usb-ledtrig-usbport - 4.9.77-1
kmod-usb3 - 4.9.77-1
lede-keyring - 2017-01-20-a50b7529-1
libblobmsg-json - 2018-02-08-bb0c830b-1
libc - 1.1.18-1
libgcc - 5.5.0-1
libip4tc - 1.6.1-2
libip6tc - 1.6.1-2
libiwinfo - 2018-01-16-5a5e21b1-1
libiwinfo-lua - 2018-01-16-5a5e21b1-1
libjson-c - 0.12.1-1
libjson-script - 2018-02-08-bb0c830b-1
liblua - 5.1.5-1
liblzo - 2.10-1
libmbedtls - 2.6.0-1
libnl-tiny - 0.1-5
libopenssl - 1.0.2n-1
libpthread - 1.1.18-1
libubox - 2018-02-08-bb0c830b-1
libubus - 2018-01-16-5bae22eb-1
libubus-lua - 2018-01-16-5bae22eb-1
libuci - 2018-01-01-5beb95da-1
libuci-lua - 2018-01-01-5beb95da-1
libuclient - 2017-11-02-4b87d831-1
libustream-mbedtls - 2016-07-02-ec80adaa-2
libxtables - 1.6.1-2
logd - 2017-11-13-e7a63fba-1
lua - 5.1.5-1
luci - git-18.039.58622-76f9f5e-1
luci-app-firewall - git-18.039.58622-76f9f5e-1
luci-app-openvpn - git-18.039.58622-76f9f5e-1
luci-base - git-18.039.58622-76f9f5e-1
luci-lib-ip - git-18.039.58622-76f9f5e-1
luci-lib-jsonc - git-18.039.58622-76f9f5e-1
luci-lib-nixio - git-18.039.58622-76f9f5e-1
luci-mod-admin-full - git-18.039.58622-76f9f5e-1
luci-proto-ipv6 - git-18.039.58622-76f9f5e-1
luci-proto-ppp - git-18.039.58622-76f9f5e-1
luci-ssl - git-18.039.58622-76f9f5e-1
luci-theme-bootstrap - git-18.039.58622-76f9f5e-1
luci-theme-material - git-18.039.58622-76f9f5e-1
mtd - 21
netifd - 2018-02-05-1be329c6-3
odhcp6c - 2017-09-05-1f93bd4c-8
odhcpd-ipv6only - 1.3-1
openssl-util - 1.0.2n-1
openvpn-easy-rsa - 3.0.1-1
openvpn-openssl - 2.4.4-2
opkg - 2017-12-07-3b417b9f-2
ppp - 2.4.7-12
ppp-mod-pppoe - 2.4.7-12
procd - 2018-01-23-653629f1-2
px5g-mbedtls - 4
rpcd - 2017-12-07-cfe1e75c-1
rpcd-mod-rrdns - 20170710
swconfig - 11
ubi-utils - 1.5.2-1
uboot-envtools - 2015.10-1
ubox - 2017-11-13-e7a63fba-1
ubus - 2018-01-16-5bae22eb-1
ubusd - 2018-01-16-5bae22eb-1
uci - 2018-01-01-5beb95da-1
uclient-fetch - 2017-11-02-4b87d831-1
uhttpd - 2017-11-04-a235636a-1
uhttpd-mod-ubus - 2017-11-04-a235636a-1
usign - 2015-07-04-ef641914-1
wireless-regdb - 2017-10-20-4343d359
wpad-mini - 2017-08-24-c2d4f2eb-6
zlib - 1.2.11-2

The only strange think I found - some amount of dropped packets on ethernet interface connected to local network.

I think it’s related to local network traffic somehow. I put the anoter router in this network and both of the routers hang the same time once.
The second router was Netgear wnr1000v2 based on ar71xx.

I’ve also tried to change the Xiaomi router with different one but same model. Nothing changed.

Twice I found the following kernel warnin in the log:

Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.948299] ————[ cut here ]———— Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.953073] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/net/mac80211/rx.c:4316 ieee80211_rx_napi+0x1a4/0×964 [mac80211]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.964092] Rate marked as a VHT rate but data is invalid: MCS: 126, NSS: 0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.971084] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.036194] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.77 #0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.042086] Stack : 00000000 00000000 80557b4a 00000033 8040fc04 00000000 00000000 80550000
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.050434] 804f62bc 804f5ea7 8048cd04 00000000 00000000 80553824 00000004 0000099e
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.058779] 00000000 8006ab98 00000001 80550000 804fc004 804fc008 80491910 8fc0dc7c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.067122] 00000003 800a7a50 00000004 0000099e 00000000 00000000 00000002 00c0dc7c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.075465] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.083808] ...
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.086244] Call Trace:
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.088706] [<8000f714>] show_stack+0×54/0×88 Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.093048] [<801e5d9c>] dump_stack+0x8c/0xd0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.097384] [<8002adc4>] __warn+0xe4/0×118 Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.101462] [<8002ae28>] warn_slowpath_fmt+0×30/0x3c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.106535] [<8ec25c7c>] ieee80211_rx_napi+0x1a4/0×964 [mac80211]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.112640] [<8f2d9b78>] mt76_rx_complete+0x18c/0×278 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.118278] [<8f2d9e24>] mt76_rx_poll_complete+0x1c0/0×260 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.124346] [<8f2d8e64>] mt76_dma_attach+0xb94/0xcc0 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.130010] —[ end trace 2c3430e855d3296c ]—

Is there any possibility to find out what happens with the kernel. The sysctl properties set to reboot it in 3 seconds on panic, but it’s not rebooting, just staying in this state.

Thanks for advance for any helpful tips.

14.02.20181361Base systemFeature RequestVery LowMediumUnable to configure multiple IPv6 prefixes in luciAllRequires testing Task Description

I’m running OpenWrt SNAPSHOT r6074-267873a / LuCI Master (git-18.039.58622-76f9f5e) on Alpha ASL26555 (16M). Tried also in 15.05.1, same behavior.

I’m running a 6in4 tunnel for IPv6 connectivity, provided by Hurricane Electric.

HE delegates to me two IPv6 prefixes, a /64 and a /48.
I’ve set up the tunnel in lucy effortlessly, but just the /48 was working.

After pulling my hair for a long time, I figured out to add by hand another ip6prefix line to my tunnel interface in /etc/config/network

In lucy, There’s a field named ‘IPv6 routed prefix’ that only allows exactly one prefix (and is the last one listed in /etc/config/network interface declaration). The field should be ‘extensible’, so multiple prefixes could be added, much like ‘forwarding DNS’ settings in Network/DHCP and DNS settings in lucy.

14.02.20181360Base systemBug ReportVery LowCriticalFree space: 0% (0.00 B) 8m flash dir-615-h1-squash...lede-17.01Waiting on reporter Task Description

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

 

Free space: 0% (0.00 B) 8m flash dir-615-h1-squashfs-sysupgrade.bin、、

AND

dir-620-d1-squashfs-sysupgrade.bin 17.01.4 / targets / ramips / rt305x /

—is so bad Unable to get IP address Can’t start、

but releases / 17.01.0 / is ok,

Read less, thank you。


14.02.20181359Base systemBug ReportVery LowLowboost falis to compile with glibc 2.26 TrunkUnconfirmed Task Description

Environment: x86_64, OpenWRT/LEDE trunk
Description: Compilation failed with target-x86_64_glibc

# Target System                                              --> x86
# Subtarget                                                     --> x86_64
# Target Profile                                               --> Generic


# Advanced configuration options (for developers)     [*]   Toolchain Options  ---> C Library implementation (Use glibc)  

if I select only --> <*> boost -- it compiled with no issues.

But if I try to include the following Boost library, then failed to compile.
--> <*> boost.................................. Boost C++ source library packages
                       --> Select Boost libraries
                                            --> -*- Boost atomic library   
                                            --> -*- Boost chrono library
                                            --> -*- Boost system library
                                            --> -*- Boost thread libray


according to this https://github.com/openwrt/packages/issues/5573, glibc 2.26 has introduced a regression and needs to be patched.
do you have any idea how to solve the issue?
Thank you !

14.02.20181358PackagesBug ReportVery LowMediumWireguard interface and the wrong route to the ip of th...TrunkUnconfirmed Task Description

I am using trunk version of openwrt in two routers. Everything up-to-date

Try to setup wireguard with uci or luci, and put the address of the other peer in the configuration.
The result is that when the interface is set up, it is set up a route to the ip of the peer, arbitrarily, to a router in lan.

Why I am saying arbitrarily? Because on a router I have a lan, and it is assigned the lan router. On another router I have to lans, and it is assigned the router of the second lan
I really have to try with three lans...

So, for example I am playing with it, with two openwrt clients (the openwrt routers). 192.168.219.13 is the address of peer 1 and 192.168.219.18 of peer 2. That is the result:

- on peer 1, when the wireguard interface goes up: 192.168.219.18 via 192.168.42.1 dev br-lan2 proto static

- on peer 2, when the wireguard interface goes up: 192.168.219.13 via 192.168.34.2 dev br-lan proto static

The route of the openvpn network is: 192.168.219.0/24 dev tun0 proto kernel scope link src 192.168.219.13 (on peer 1, src 192.168.219.18 on peer 2)
The result is that after the set up of the wireguard interface, both can see the whole network, but not each other, because they are searching them on the lans...

For this reason, I address the netifd helper of wireguard, because it is duty of netifd to bring up the interface, but I really have to verify the source code of the helper.

I guess it is a bug, if not, why decide to create another route for the peer? I think obviously if you want to setup the vpn, at lease the peers can see each other through an interface. Whatever the kind of the interface (pptp interface, tun, tap, pigeons with ip on qrcodes...) and the network (lan, wan, vpn...).
So this make for me nosense to add another route for the peer. If need, or you can ad another option, with the possibility to completely set up the route for the ip of the peer, or I think it is sufficient to add a static route with uci/luci or manually, to reach the same goal.

I really hope that I am not the only one with this bug, and I really hope that will be repeatable to check it.

Thanks in advance!

13.02.20181357Base systemBug ReportVery LowMediumipq806x: sysupgrade not working correctly on AVM FritzB...TrunkUnconfirmed Task Description

Sysupgrade on the FritzBox 4040 is currently not working as expected.

sysupgrade -n <image>

with the version currently present on the device results in the device updating the system, but not erasing the current config. The Device comes up with its previous config loaded.

Flashing other versions on the device results in sysupgrade sometimes deleting the config, sometimes not. The same goes for a standard

sysupgrade <image>

Sometimes the device preserves the configuration, sometimes its erased.

Also the kernel and rootfs partition do not seem to be correctly aligned:

[    0.778675] 13 ofpart partitions found on MTD device spi0.0
[    0.783585] Creating 13 MTD partitions on "spi0.0":
[    0.788940] 0x000000000000-0x000000040000 : "SBL1"
[    0.794947] 0x000000040000-0x000000060000 : "MIBIB"
[    0.799695] 0x000000060000-0x0000000c0000 : "QSEE"
[    0.804513] 0x0000000c0000-0x0000000d0000 : "CDT"
[    0.809193] 0x0000000d0000-0x0000000e0000 : "DDRPARAMS"
[    0.814056] 0x0000000e0000-0x0000000f0000 : "APPSBLENV"
[    0.819034] 0x0000000f0000-0x0000003cc000 : "urlader"
[    0.824345] 0x00000011dc00-0x000000120000 : "urlader_config"
[    0.829619] 0x000000120000-0x0000001a0000 : "tffs1"
[    0.835307] 0x0000001a0000-0x000000220000 : "tffs2"
[    0.839857] 0x000000220000-0x0000002a0000 : "uboot"
[    0.844766] 0x0000002a0000-0x000001f00000 : "firmware"
[    0.849880] 2 fit-fw partitions found on MTD device firmware
[    0.853813] 0x0000002a0000-0x0000004a0000 : "kernel"
[    0.860651] 0x00000049919c-0x000001f00000 : "rootfs"
[    0.865536] mtd: device 13 (rootfs) set to be root filesystem
[    0.869664] 1 squashfs-split partitions found on MTD device rootfs
[    0.875162] 0x000000750000-0x000001f00000 : "rootfs_data"
[    0.882193] 0x000001f00000-0x000002000000 : "jffs2"
13.02.20181356Base systemBug ReportVery LowLowWiFi Monitor interface is created on wrong channelTrunkUnconfirmed Task Description

- Device problem occurs on: PC-Engines APU3
- Software versions of OpenWrt/LEDE release: LEDE 17.01.4

Just created a monitor interface with an WLE200NX:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '5'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:02.5/0000:04:00.0'
        option htmode 'HT40'
        option disabled '0'

config wifi-iface
        option mode 'monitor'
        option device 'radio0'
        option ifname 'mon0'

And restarted the device. It was expected that the monitor interface is now in HT40 mode (able to receive on HT40) and on channel 5. But in reality, the device was now on channel 1 and used a 20MHz (non-HT) channel setting:

root@LEDE:/# iw dev
phy#0
        Interface mon0
                ifindex 7
                wdev 0x2
                addr 00:11:22:33:44:55
                type monitor
                channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
                txpower 20.00 dBm
13.02.20181355KernelBug ReportVery LowCriticalU-Boot fails to start kernellede-17.01Waiting on reporter Task Description

- Device problem occurs on
Olimex A13-SOM-256
- Software versions of OpenWrt/LEDE release, packages, etc.
Occurs 100% on builds from any of the lede-17.01.x tags
- Steps to reproduce
Occurs 100% of the time either by flashing an SD card from the official release builds or by doing a clean build with the A13-SOM profile. Occurs with root as ext4 and squashfs.

 

U-Boot seems to run correctly, but then the device stops UART1 output at kernel start. The UART1 console configuration in the kernel seems correct, so I doubt it’s just UART1 that’s not working.
Consumption seems to indicate no activity (constant 170mA on a 5V supply)

log from UART1 console for the official build of release 17.01.4:

U-Boot SPL 2016.03 (Oct 16 2017 - 11:22:18)
DRAM: 256 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1

                                                                                                                                                                                                                 
                                                                                                                                                                                                                 

U-Boot 2016.03 (Oct 16 2017 - 11:22:18 +0000) Allwinner Technology

                                                                                                                                                                                                                 

CPU: Allwinner A13 (SUN5I)
Model: Olimex A13-Olinuxino
I2C: ready
DRAM: 256 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

                                                                                                                                                                                                                 

In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
377 bytes read in 16 ms (22.5 KiB/s)
## Executing script at 43100000
reading uImage
2160632 bytes read in 165 ms (12.5 MiB/s)
reading dtb
18096 bytes read in 29 ms (609.4 KiB/s)
## Booting kernel from Legacy Image at 42000000 ...

 Image Name:   ARM LEDE Linux-4.4.92
 Image Type:   ARM Linux Kernel Image (uncompressed)
 Data Size:    2160568 Bytes = 2.1 MiB
 Load Address: 40008000
 Entry Point:  40008000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 43000000

 Booting using the fdt blob at 0x43000000
 Loading Kernel Image ... OK
 Using Device Tree in place at 43000000, end 430076af

Starting kernel ...
[HANGS HERE]

12.02.20181352KernelBug ReportVery LowLowar71xx/mikrotik: Link change detection on switch ports ...TrunkUnconfirmed Task Description

Link change detection on switch ports no longer working for some MikroTik devices, such as:
- RB493G (AR8316 switch)
- RB951G-2HnD (AR8327 switch)

Can’t tell if this is specific to MikroTik devices or if it also affects other AR8xxx switch based ones.
This was working in the past (old OpenWrt r46741), but I can’t tell when or how long it stopped working.

[  157.486354] Atheros AR8216/AR8236/AR8316 gpio:00: Port 4 is down
[  161.505826] Atheros AR8216/AR8236/AR8316 gpio:00: Port 4 is up
[  240.890350] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is down
[  242.900237] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up

Initial commit for link change detection support:
https://github.com/openwrt/openwrt/commit/a1fba9dfbe628b171ac789510aca233178fe7d85

11.02.20181348Base systemBug ReportVery LowMediumdnsmasq config script doesn't handle vendorclass specif...TrunkUnconfirmed Task Description

This happens as of LEDE 17.01.4, and is a result of how /etc/init.d/dnsmasq script rebuilds the temp dnsmasq config file from the /etc/config/dhcp file.

dnsmasq supports the following construct:

dhcp-vendorclass=set:ubiquity,ubnt
dhcp-option=tag:ubiquity,1,192.168.1.10

The meaning of which would be that if a vendor string that matches ‘ubnt’ is seen, then the class ‘ubiquity’ is set against the device, any dhcp-options tagged with that class would be sent to devices so tagged.

The dhcp config files supports constructs like this:

config vendorclass ‘ubiquity’

  option vendorclass 'ubnt'
  option networkid 'vendor:ubnt'
  list dhcp_option '1,192.168.1.10'

but in this case the value of networkid is pre-pended in each case to the dhcp_option string, like so:

dhcp-vendorclass=vendor:ubnt,ubnt
dhcp-option=vendor:ubnt,1,192.168.1.10

Which works as config - but only because the vendorclass specification is not at work at all - essentially all the matching is occurring within the dhcp-option (it wouldn’t be possible to specify multiple values to be matched in the vendorclass specifier for instance).


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

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

 

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

10.02.20181345Base systemBug ReportVery LowLowFailed to build u-boot/atmelimage.o in Alpine LinuxTrunkUnconfirmed Task Description

Failed to build u-boot/atmelimage.o in Alpine Linux

tools/mkimage.h: In function 'map_to_sysmem':                                                                                                           
tools/mkimage.h:40:10: error: 'ulong' undeclared (first use in this function)                                                                           
  return (ulong)(uintptr_t)ptr;                                                                                                                         
          ^~~~~                                                                                                                                         
tools/mkimage.h:40:10: note: each undeclared identifier is reported only once for each function it appears in                                           
tools/mkimage.h:40:17: error: expected expression before 'uintptr_t'                                                                                    
  return (ulong)(uintptr_t)ptr;                                                                                                                         
                 ^~~~~~~~~                                                                                                                              
tools/mkimage.h:40:27: error: expected ';' before 'ptr'                                                                                                 
  return (ulong)(uintptr_t)ptr;                                                                                                                         
                           ^~~                                                                                                                          
make[5]: *** [scripts/Makefile.host:134: tools/atmelimage.o] Error 1                                                                                    
make[4]: *** [Makefile:1195: tools-only] Error 2
10.02.20181344Base systemBug ReportVery LowMediumFilesystem error after flashing latest releaselede-17.01Unconfirmed Task Description

I’ve recently restarted using my old Kingston MobileLite Wireless MLW221 router, and decided to flash the latest stable OpenWrt release (17.01.4). The device was last flashed with Chaos Calmer r49363, and it worked without any problems. Now, on the latest revision, it outputs a lot of “jffs2: Newly-erased block contained word 0xdec0adde at offset x”, rendering the device unusable due to lack of persistence of setting after a reset. I’ve tried multiple times to flash it via sysupgrade, by flashing the Kingston stock image via TFTP then the OpenWrt one via TFTP, all of this procedures working perfectly with the old Chaos Calmer image. As seen in the logs, the old build boots up without any issues, while the newer one doesn’t. I’ve tried the buildbots’ image, building my own minimal image, and a image with all the necessary target hardware packages, but still the same result. What can I try to fix this issue? Thank you!

10.02.20181340PackagesBug ReportVery LowMediumbird4 doesnot start from init scriptslede-17.01Unconfirmed Task Description

LEDE 17.01.4 x86, running on vmware esxi 6 as virtual machine

/etc/init.d/bird4 start
ps | grep bird4

It is not running.

bird4
ps | grep bird4
**1947 root 1172 S bird4**

It is running.

10.02.20181339PackagesBug ReportVery LowVery LowIt seems that ‘–dport’ option is not recognized by ipta...lede-17.01Unconfirmed Task Description

Mys router:

System: CHAOS CALMER (15.05.1, r48532)
Router: Asus RT-N56U

I also reproduced this bug with lede 17.01.1 r3316-7eb58cf109 in VirtualBox (according to the guide on https://wiki.openwrt.org/doc/howto/virtualbox).

What happens:

It seems that ‘–dport’ option is not recognized by iptables for sctp. Command execution fails.

Expected result:

Command runs successfully and we can create rules with iptables to match by sctp and destination port.

Steps to reproduce:

First install these:
sctp
kmod-sctp
libsctp
sctp-tools

Try to run this:

iptables -A INPUT -p sctp --dport 1234 -j ACCEPT

Shows error:

iptables v1.4.21: unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.

Try to run this:

iptables -A INPUT -p sctp -j ACCEPT

Works!

09.02.20181338Base systemBug ReportVery LowLowcron silently fails to startTrunkUnconfirmed Task Description

I’m running HEAD (9a08c10 BUILD_ID=”r5968+31-bcd17ce”) on an x86_64. I’ve enabled:

CONFIG_BUSYBOX_CONFIG_CROND=y
CONFIG_BUSYBOX_CONFIG_CRONTAB=y

and I’ve validated that

/etc/init.d/cron enable

and then tried to run it:

root@OpenWrt3:~# /etc/init.d/cron enable
root@OpenWrt3:~# /etc/init.d/cron start
root@OpenWrt3:~# echo $?
0
root@OpenWrt3:~# ps -w | grep cron
14918 root      3088 S    grep cron
root@OpenWrt3:~# grep cron /var/log/messages
root@OpenWrt3:~# 
08.02.20181335KernelBug ReportVery LowCriticalZBT-WG3526 (16M) SD card write makes crash and rebootTrunkUnconfirmed Task Description

- Device problem occurs on
ZBT-WG3526 (16M)

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

- Steps to reproduce
Mound SD card and start writing
Tested ext4 and f2fs

Time: 1518078139.211806
Modules:
pppoe@8ecdc000+20b0
ppp_async@8f226000+1a00
pppox@8f218000+58a
ppp_generic@8ecd0000+55a2
nf_conntrack_ipv6@8f7ec000+1770
mt76x2e@8ec20000+ab93
mt7603e@8f7f0000+75c9
mt76@8f1c8000+4bc3
mac80211@8f300000+669e0
iptable_nat@8f7ac000+330
ipt_REJECT@8f70b000+3d0
ipt_MASQUERADE@8f139000+2d0  cfg80211@8f280000+346d4 xt_time@8f0b5000+690    xt_tcpudp@8f0b9000+730  xt_state@8f075000+2f0   xt_nat@8f256000+4b0     xt_multiport@8f253000+510    xt_mark@8f24f000+2d0    xt_mac@8f24c000+2b0     xt_limit@8f23d000+460   xt_conntrack@8f23a000+8d0       xt_comment@8f237000+230 xt_TCPMSS@8f234000+af0       xt_REDIRECT@8f7dd000+2d0        xt_LOG@8f0fb000+330     xt_CT@8f094000+a50      slhc@8f22a000+11bb      nf_reject_ipv4@8f056000+923     nf_nat_redirect@8f059000+3fb nf_nat_masquerade_ipv4@8f05d000+5bc     nf_conntrack_ipv4@8f220000+1530 nf_nat_ipv4@8f20e000+1031       nf_nat@8f208000+287c    nf_log_ipv4@8f064000+d30     nf_defrag_ipv6@8f200000+32ae    nf_defrag_ipv4@8f06a000+3b6     nf_conntrack_rtcache@8f06d000+a70       nf_conntrack@8f1e0000+f600  iptable_mangle@8f076000+3f0      iptable_filter@8f079000+310     ip_tables@8f1c4000+2acd crc_ccitt@8f07e000+42b  compat@8f7fe000+14b8    ledtrig_usbport@8f0bd000+a60 ip6t_REJECT@8f0b2000+3f0        nf_reject_ipv6@8f0b6000+aa8     nf_log_ipv6@8f0b8000+db0        nf_log_common@8f1b8000+a8f      ip6table_mangle@8f1bb000+490 ip6table_filter@8f1bd000+2d0    ip6_tables@8f098000+29a1        x_tables@8f174000+3078  f2fs@8f180000+35a00     ext4@8f000000+52fa9     jbd2@8f080000+db02   mbcache@8f0fe000+ff4    crc32c_generic@8f0fc000+530     crc32_generic@8f0fa000+530      mmc_block@8f738000+5db2 mtk_sd@8f728000+49a0    mmc_core@8f760000+140ed      leds_gpio@8fe79000+ab0  xhci_mtk@8f650000+1130  xhci_plat_hcd@8f5d2000+1390     xhci_pci@8f75f000+ab0   xhci_hcd@8f740000+154c7 ahci@8f670000+3620   libahci@8f668000+4531   libata@8f680000+213da   sd_mod@8f640000+63a0    scsi_mod@8f620000+15e9b gpio_button_hotplug@8f606000+18b0       usbcore@8f5e0000+1f315       nls_base@8f5d0000+14d0  usb_common@8ff1e000+a17
<6>[    2.219075] pci 0000:03:00.0: BAR 0: no space for [io  size 0x0008]
<6>[    2.225282] pci 0000:03:00.0: BAR 0: failed to assign [io  size 0x0008]
<6>[    2.231875] pci 0000:03:00.0: BAR 2: no space for [io  size 0x0008]
<6>[    2.238067] pci 0000:03:00.0: BAR 2: failed to assign [io  size 0x0008]
<6>[    2.244648] pci 0000:03:00.0: BAR 1: no space for [io  size 0x0004]
<6>[    2.250854] pci 0000:03:00.0: BAR 1: failed to assign [io  size 0x0004]
<6>[    2.257435] pci 0000:03:00.0: BAR 3: no space for [io  size 0x0004]
<6>[    2.263643] pci 0000:03:00.0: BAR 3: failed to assign [io  size 0x0004]
<6>[    2.270223] pci 0000:00:02.0: PCI bridge to [bus 03]
<6>[    2.275137] pci 0000:00:02.0:   bridge window [mem 0x60300000-0x603fffff]
<6>[    2.281888] pci 0000:00:02.0:   bridge window [mem 0x60400000-0x604fffff pref]
<4>[    2.289063] BAR0 at slot 0 = 0
<4>[    2.292075] bus=0x0, slot = 0x0
<4>[    2.295181] BAR0 at slot 1 = 0
<4>[    2.298196] bus=0x0, slot = 0x1
<4>[    2.301311] BAR0 at slot 2 = 0
<4>[    2.304343] bus=0x0, slot = 0x2
<4>[    2.307451] bus=0x1, slot = 0x0, irq=0xff
<4>[    2.311426] bus=0x2, slot = 0x1, irq=0xff
<4>[    2.315415] bus=0x3, slot = 0x2, irq=0x0
<6>[    2.320700] clocksource: Switched to clocksource GIC
<6>[    2.327348] NET: Registered protocol family 2
<6>[    2.332492] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    2.339382] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
<6>[    2.345858] TCP: Hash tables configured (established 2048 bind 2048)
<6>[    2.352215] UDP hash table entries: 256 (order: 1, 8192 bytes)
<6>[    2.357977] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
<6>[    2.364470] NET: Registered protocol family 1
<7>[    2.368811] PCI: CLS 80 bytes, default 32
<6>[    2.600640] 4 CPUs re-calibrate udelay(lpj = 2924544)
<4>[    2.607001] Crashlog allocated RAM at address 0x3f00000
<6>[    2.612799] workingset: timestamp_bits=30 max_order=17 bucket_order=0
<5>[    2.627212] random: fast init done
<6>[    2.628261] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    2.628269] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<6>[    2.631770] bounce: pool size: 64 pages
<6>[    2.631781] io scheduler noop registered
<6>[    2.631787] io scheduler deadline registered (default)
<6>[    2.632701] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
<6>[    2.636603] console [ttyS0] disabled
<6>[    2.668830] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
<6>[    2.677904] console [ttyS0] enabled
<6>[    2.684795] bootconsole [early0] disabled
<4>[    2.694188] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
<6>[    2.701558] spi-mt7621 1e000b00.spi: sys_freq: 50000000
<6>[    2.718213] m25p80 spi32766.0: using chunked io (size=32)
<6>[    2.723765] m25p80 spi32766.0: w25q128 (16384 Kbytes)
<5>[    2.728836] 4 ofpart partitions found on MTD device spi32766.0
<5>[    2.734657] Creating 4 MTD partitions on "spi32766.0":
<5>[    2.739793] 0x000000000000-0x000000030000 : "u-boot"
<5>[    2.746336] 0x000000030000-0x000000040000 : "u-boot-env"
<5>[    2.753069] 0x000000040000-0x000000050000 : "factory"
<5>[    2.759440] 0x000000050000-0x000001000000 : "firmware"
<5>[    2.793128] 2 uimage-fw partitions found on MTD device firmware
<5>[    2.799047] 0x000000050000-0x0000001f18ea : "kernel"
<5>[    2.805331] 0x0000001f18ea-0x000001000000 : "rootfs"
<5>[    2.811633] mtd: device 5 (rootfs) set to be root filesystem
<5>[    2.817386] 1 squashfs-split partitions found on MTD device rootfs
<5>[    2.823575] 0x000000420000-0x000001000000 : "rootfs_data"
<6>[    2.830959] libphy: Fixed MDIO Bus: probed
<6>[    2.902732] libphy: mdio: probed
<6>[    4.305387] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
<6>[    4.312156] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
<6>[    4.322826] NET: Registered protocol family 10
<6>[    4.328848] NET: Registered protocol family 17
<6>[    4.333401] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
<6>[    4.346308] 8021q: 802.1Q VLAN Support v1.8
<6>[    4.353120] hctosys: unable to open rtc device (rtc0)
<6>[    4.362668] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
<6>[    4.370156] Freeing unused kernel memory: 204K
<4>[    4.374625] This architecture does not have kernel memory protection.
<5>[    4.790549] random: crng init done
<14>[    5.002582] init: Console is alive
<14>[    5.006183] init: - watchdog -
<14>[    5.987902] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<6>[    6.059779] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
<6>[    6.121177] usbcore: registered new interface driver usbfs
<6>[    6.126760] usbcore: registered new interface driver hub
<6>[    6.132258] usbcore: registered new device driver usb
<5>[    6.145808] SCSI subsystem initialized
<6>[    6.154699] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
<7>[    6.166694] libata version 3.00 loaded.
<7>[    6.169957] ahci 0000:03:00.0: version 3.0
<6>[    6.170129] ahci 0000:03:00.0: SSS flag set, parallel bus scan disabled
<6>[    6.176820] ahci 0000:03:00.0: AHCI 0001.0200 32 slots 2 ports 6 Gbps 0x3 impl IDE mode
<6>[    6.184809] ahci 0000:03:00.0: flags: 64bit ncq sntf stag led clo pmp pio slum part ccc sxs
<6>[    6.195579] scsi host0: ahci
<6>[    6.199202] scsi host1: ahci
<6>[    6.202584] ata1: SATA max UDMA/133 abar m512@0x60300000 port 0x60300100 irq 25
<6>[    6.209868] ata2: SATA max UDMA/133 abar m512@0x60300000 port 0x60300180 irq 25
<6>[    6.550727] ata1: SATA link down (SStatus 0 SControl 300)
<6>[    6.890703] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
<6>[    6.897614] ata2.00: ATA-8: KingDian H100 16GB, 20140718, max UDMA/133
<6>[    6.904142] ata2.00: 30932992 sectors, multi 0: LBA48
<6>[    6.910306] ata2.00: configured for UDMA/133
<5>[    6.915377] scsi 1:0:0:0: Direct-Access     ATA      KingDian H100 16 0718 PQ: 0 ANSI: 5
<5>[    7.001701] sd 1:0:0:0: [sda] 30932992 512-byte logical blocks: (15.8 GB/14.8 GiB)
<5>[    7.009788] sd 1:0:0:0: [sda] Write Protect is off
<7>[    7.014644] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
<5>[    7.014841] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
<6>[    7.026096]  sda: sda1
<5>[    7.030326] sd 1:0:0:0: [sda] Attached SCSI disk
<6>[    7.042954] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    7.048292] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
<6>[    7.060904] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
<6>[    7.069380] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
<6>[    7.076218] hub 1-0:1.0: USB hub found
<6>[    7.080039] hub 1-0:1.0: 2 ports detected
<6>[    7.084524] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    7.089829] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
<6>[    7.097509] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
<6>[    7.106548] hub 2-0:1.0: USB hub found
<6>[    7.110366] hub 2-0:1.0: 1 port detected
<4>[    7.123432] MTK MSDC device init.
<6>[    7.180858] mtk-sd: MediaTek MT6575 MSDC Driver
<14>[    7.191146] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    7.201034] init: - preinit -
<6>[    7.229901] mmc0: new high speed SD card at address 0260
<6>[    7.251066] mmcblk0: mmc0:0260 SD    977 MiB
<5>[   11.279722] jffs2: notice: (489) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
<14>[   11.297711] mount_root: switching to jffs2 overlay
<12>[   11.326110] urandom-seed: Seeding with /etc/urandom.seed
<14>[   11.423971] procd: - early -
<14>[   11.426945] procd: - watchdog -
<14>[   12.080860] procd: - watchdog -
<14>[   12.084304] procd: - ubus -
<14>[   12.144166] procd: - init -
<14>[   12.687841] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[   13.072475] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   13.086602] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
<6>[   13.094631] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
<6>[   13.103378] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[   13.116001] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
<6>[   13.163038] xt_time: kernel timezone is -0000
<6>[   13.222697] mt7603e 0000:01:00.0: ASIC revision: 76030010
<6>[   13.249203] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
<6>[   13.254941] mt7603e 0000:01:00.0: Build Time: 20160107100755
<4>[   13.300693] firmware init done
<7>[   13.469340] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<6>[   13.477595] mt76x2e 0000:02:00.0: ASIC revision: 76120044
<6>[   13.500776] mt76x2e 0000:02:00.0: ROM patch already applied
<6>[   13.507648] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
<6>[   13.513275] mt76x2e 0000:02:00.0: Build: 1
<6>[   13.517355] mt76x2e 0000:02:00.0: Build Time: 201507311614____
<6>[   13.550815] mt76x2e 0000:02:00.0: Firmware running!
<7>[   13.557036] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
<6>[   13.566089] PPP generic driver version 2.4.2
<6>[   13.572196] NET: Registered protocol family 24
<14>[   13.580106] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[   18.314394] br-lan: port 1(eth0.1) entered blocking state
<6>[   18.319822] br-lan: port 1(eth0.1) entered disabled state
<6>[   18.326037] device eth0.1 entered promiscuous mode
<6>[   18.331166] device eth0 entered promiscuous mode
<6>[   18.343871] br-lan: port 1(eth0.1) entered blocking state
<6>[   18.349340] br-lan: port 1(eth0.1) entered forwarding state
<6>[   18.355422] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
<6>[   18.382881] br-wan: port 1(eth0.2) entered blocking state
<6>[   18.388313] br-wan: port 1(eth0.2) entered disabled state
<6>[   18.394676] device eth0.2 entered promiscuous mode
<6>[   18.409320] br-wan: port 1(eth0.2) entered blocking state
<6>[   18.414804] br-wan: port 1(eth0.2) entered forwarding state
<6>[   19.331184] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
<6>[   21.452788] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
<6>[   21.463889] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   21.485191] br-wan: port 2(wlan1) entered blocking state
<6>[   21.490522] br-wan: port 2(wlan1) entered disabled state
<6>[   21.496811] device wlan1 entered promiscuous mode
<6>[   21.502092] br-lan: port 2(wlan0) entered blocking state
<6>[   21.507420] br-lan: port 2(wlan0) entered disabled state
<6>[   21.513554] device wlan0 entered promiscuous mode
<6>[   21.914778] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   21.921443] br-lan: port 2(wlan0) entered blocking state
<6>[   21.926741] br-lan: port 2(wlan0) entered forwarding state
<6>[   22.503269] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   22.509842] br-wan: port 2(wlan1) entered blocking state
<6>[   22.515172] br-wan: port 2(wlan1) entered forwarding state
<3>[   93.302625] EXT4-fs (mmcblk0): couldn't mount as ext3 due to feature incompatibilities
<3>[   93.312647] EXT4-fs (mmcblk0): couldn't mount as ext2 due to feature incompatibilities
<6>[   93.330485] EXT4-fs (mmcblk0): recovery complete
<6>[   93.335180] EXT4-fs (mmcblk0): mounted filesystem with ordered data mode. Opts: (null)
<1>[   94.533007] CPU 2 Unable to handle kernel paging request at virtual address 00000000, epc == 8f72a4ac, ra == 8f72a480
<4>[   94.543650] Oops[#1]:
<4>[   94.545920] CPU: 2 PID: 443 Comm: mmcqd/0 Not tainted 4.9.77 #0
<4>[   94.551811] task: 8feaf580 task.stack: 8f604000
<4>[   94.556315] $ 0   : 00000000 80550008 00000080 8057a258
<4>[   94.561533] $ 4   : 8057a268 00000001 ffffb0b2 814a84a8
<4>[   94.566752] $ 8   : 00000110 00007c00 00000000 00000000
<4>[   94.571967] $12   : 0000049a ffffffff 00000000 00000081
<4>[   94.577181] $16   : 8fe6d000 8fe6dd0c be130000 be130000
<4>[   94.582400] $20   : 8f79c000 00000000 00001000 8fe6d240
<4>[   94.587615] $24   : 00000000 8005800c
<4>[   94.592834] $28   : 8f604000 8f605c40 8fe6dc34 8f72a480
<4>[   94.598049] Hi    : 00000007
<4>[   94.600910] Lo    : 00000001
<4>[   94.603801] epc   : 8f72a4ac 0x8f72a4ac
<4>[   94.607619] ra    : 8f72a480 0x8f72a480
<4>[   94.611429] Status: 11007c03      KERNEL EXL IE
<4>[   94.615604] Cause : 40800008 (ExcCode 02)
<4>[   94.619588] BadVA : 00000000
<4>[   94.622454] PrId  : 0001992f (MIPS 1004Kc)
<4>[   94.626525] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables f2fs ext4 jbd2 mbcache crc32c_generic crc32_generic mmc_block mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug
<4>[   94.698342]  usbcore nls_base usb_common
Process mmcqd/0 (pid: 443, threadinfo=8f604000, task=8feaf580, tls=00000000)
<4>[   94.707710] Stack : 814b5c80 8054ec80 00000000 8004d598 00000000 8f605c54 00000010 00000000
<4>[   94.716059]         00000000 00000000 8fe6d800 00000000 0000007d ffffb0b2 804f0000 8fe6dd1c
<4>[   94.724406]         00000000 00100000 01000000 80063b4c 00000001 00000000 8f605e24 80063620
<4>[   94.732751]         804e880c 80063584 8fe6d000 8fe6dc34 8fe6dc34 00000000 00000000 8f605e24
<4>[   94.741094]         8f64b270 805541a4 8f64c000 8f72a850 00001000 80063620 00000000 0000049a
<4>[   94.749442]         ...
<4>[   94.751886] Call Trace:
<4>[   94.754322] [<8f72a4ac>] 0x8f72a4ac
<4>[   94.757795] Code: 14400009  8fa60034  26a20080 <8ea30000> 26b50004  ae430018  1455fffc  00000000  26d6ff80
<4>[   94.767536]
<4>[   94.769507] ---[ end trace 185ac8575f4af9a9 ]---
07.02.20181333KernelBug ReportVery LowHighMTK Ethernet Issues After NAPI polling ChangesTrunkUnconfirmed Task Description

Experiencing periodic timeouts after `968b861612 ramips: improve NAPI polling to increase GRO batch size` (Xiaomi MiWiFi Mini - MT7620A ver:2 eco:6).

05.02.20181332PackagesBug ReportVery LowCriticalerror build/compile samba-* (r6007-e7469d5)TrunkUnconfirmed Task Description

@nbd168
version: r6007-e7469d5
machine: MQ-Maker WITI (mt7621)

make -j1 V=s:

(...)
make[3]: Entering directory '/home/sj/Pulpit/Projekty/WITI-TRUNK/package/network/services/samba36'
rm -f /home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/.built
touch /home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/.built_check
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25:samba-3.6.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DMAX_DEBUG_LEVEL=-1 -D__location__=\\\"\\\" -ffunction-sections -fdata-sections  -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/usr/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/include/fortify -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25:samba-3.6.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DMAX_DEBUG_LEVEL=-1 -D__location__=\\\"\\\" -ffunction-sections -fdata-sections  -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/usr/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/include/fortify -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/include " LDFLAGS="-L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/usr/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/lib -znow -zrelro -Wl,--gc-sections " make  -C /home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/source3 AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25:samba-3.6.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DMAX_DEBUG_LEVEL=-1 -D__location__=\\\"\\\" -ffunction-sections -fdata-sections" LD=mipsel-openwrt-linux-musl-ld NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-openwrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CROSS="mipsel-openwrt-linux-musl-" ARCH="mipsel" DYNEXP= PICFLAG= MODULES= ;
make[4]: Entering directory '/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/source3'
Using CFLAGS     = -I../lib/zlib -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25:samba-3.6.25 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DMAX_DEBUG_LEVEL=-1 -D__location__="" -ffunction-sections -fdata-sections -I. -I/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/source3 -I/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/source3/../lib/popt -I/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/source3/../lib/iniparser/src -Iinclude -I./include  -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/tevent -I../lib/tdb/include -DHAVE_CONFIG_H  -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/usr/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/usr/include -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/include/fortify -I/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/include -Iinclude -I./include -I. -I. -I./../lib/replace -I./librpc -I./.. -I./../lib/popt  -I/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
      PICFLAG    = 
      LIBS       = -lresolv -lresolv
      LDFLAGS    = -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/usr/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L./bin
      DYNEXP     = 
      LDSHFLAGS  =  -shared -Wl,-Bsymbolic  -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/usr/lib -L/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/toolchain-mipsel_24kc_gcc-5.5.0_musl/lib -znow -zrelro -Wl,--gc-sections -L./bin -lc -Wl,-z,defs
      SHLIBEXT   = so
      SONAMEFLAG = -Wl,-soname=
Linking bin/samba_multicall
param/loadparm.o: In function `lp_string':
loadparm.c:(.text.lp_string+0x38): undefined reference to `_talloc_free'
param/loadparm.o: In function `free_param_opts':
loadparm.c:(.text.free_param_opts+0x20): undefined reference to `_talloc_free'
param/loadparm.o: In function `handle_netbios_aliases':
loadparm.c:(.text.handle_netbios_aliases+0xe): undefined reference to `_talloc_free'
param/loadparm.o: In function `handle_netbios_name':
loadparm.c:(.text.handle_netbios_name+0x28): undefined reference to `_talloc_free'
param/loadparm.o: In function `set_param_opt':
loadparm.c:(.text.set_param_opt+0x36): undefined reference to `_talloc_free'
param/loadparm.o:loadparm.c:(.text.store_lp_set_cmdline+0x5c): more undefined references to `_talloc_free' follow
param/loadparm.o: In function `store_lp_set_cmdline':
loadparm.c:(.text.store_lp_set_cmdline+0x6c): undefined reference to `talloc_named_const'
loadparm.c:(.text.store_lp_set_cmdline+0x78): undefined reference to `talloc_strdup'
loadparm.c:(.text.store_lp_set_cmdline+0x84): undefined reference to `talloc_strdup'
loadparm.c:(.text.store_lp_set_cmdline+0x90): undefined reference to `_talloc_free'
param/loadparm.o: In function `free_service':
loadparm.c:(.text.free_service+0x3a): undefined reference to `_talloc_free'
loadparm.c:(.text.free_service+0x5c): undefined reference to `_talloc_free'
param/loadparm.o: In function `init_copymap.isra.7':
loadparm.c:(.text.init_copymap.isra.7+0xa): undefined reference to `_talloc_free'
param/loadparm.o: In function `copy_service':
loadparm.c:(.text.copy_service+0x8e): undefined reference to `_talloc_free'
param/loadparm.o:loadparm.c:(.text.free_parameters_by_snum.constprop.19+0x2c): more undefined references to `_talloc_free' follow
param/loadparm.o: In function `canonicalize_servicename':
loadparm.c:(.text.canonicalize_servicename+0x4): undefined reference to `talloc_strdup'
param/loadparm.o: In function `getservicebyname':
loadparm.c:(.text.getservicebyname+0x44): undefined reference to `_talloc_free'
param/loadparm.o: In function `free_service_byindex':
loadparm.c:(.text.free_service_byindex+0x62): undefined reference to `_talloc_free'
param/loadparm.o: In function `add_a_service':
loadparm.c:(.text.add_a_service+0x132): undefined reference to `_talloc_free'
param/loadparm.o: In function `lp_file_list_changed':
loadparm.c:(.text.lp_file_list_changed+0x8c): undefined reference to `_talloc_free'
loadparm.c:(.text.lp_file_list_changed+0x98): undefined reference to `_talloc_free'
param/loadparm.o:loadparm.c:(.text.lp_do_parameter+0x152): more undefined references to `_talloc_free' follow
param/loadparm.o: In function `lp_set_option':
loadparm.c:(.text.lp_set_option+0x4): undefined reference to `talloc_strdup'
loadparm.c:(.text.lp_set_option+0x1a): undefined reference to `_talloc_free'
loadparm.c:(.text.lp_set_option+0x3a): undefined reference to `_talloc_free'
param/loadparm.o: In function `parse_usershare_file':
loadparm.c:(.text.parse_usershare_file+0x6c): undefined reference to `talloc_strdup'
loadparm.c:(.text.parse_usershare_file+0x96): undefined reference to `talloc_strdup'
loadparm.c:(.text.parse_usershare_file+0x128): undefined reference to `talloc_strdup'
loadparm.c:(.text.parse_usershare_file+0x138): undefined reference to `talloc_strdup'
param/loadparm.o: In function `volume_label':
loadparm.c:(.text.volume_label+0x4a): undefined reference to `talloc_strndup'
param/loadparm.o: In function `process_usershare_file':
loadparm.c:(.text.process_usershare_file+0x46): undefined reference to `talloc_asprintf'
loadparm.c:(.text.process_usershare_file+0x1e8): undefined reference to `_talloc_free'
loadparm.c:(.text.process_usershare_file+0x1f4): undefined reference to `_talloc_free'
param/loadparm.o: In function `lp_load_ex':
loadparm.c:(.text.lp_load_ex+0x114): undefined reference to `_talloc_free'
loadparm.c:(.text.lp_load_ex+0x21c): undefined reference to `_talloc_free'
loadparm.c:(.text.lp_load_ex+0x232): undefined reference to `_talloc_free'
rpc_client/cli_pipe.o:cli_pipe.c:(.text.rpc_read_send+0x4e): more undefined references to `_talloc_free' follow
rpc_client/cli_pipe.o: In function `rpc_read_done':
cli_pipe.c:(.text.rpc_read_done+0xe): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.rpc_read_done+0x20): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.rpc_read_done+0x40): undefined reference to `_talloc_free'
rpc_client/cli_pipe.o: In function `rpc_api_pipe_auth3_done':
cli_pipe.c:(.text.rpc_api_pipe_auth3_done+0xc): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.rpc_api_pipe_auth3_done+0x22): undefined reference to `_talloc_free'
rpc_client/cli_pipe.o: In function `cli_api_pipe_read_done':
cli_pipe.c:(.text.cli_api_pipe_read_done+0xc): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.cli_api_pipe_read_done+0x1e): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.cli_api_pipe_read_done+0x3c): undefined reference to `_talloc_free'
rpc_client/cli_pipe.o: In function `cli_api_pipe_trans_done':
cli_pipe.c:(.text.cli_api_pipe_trans_done+0xc): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.cli_api_pipe_trans_done+0x1e): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.cli_api_pipe_trans_done+0x44): undefined reference to `_talloc_free'
rpc_client/cli_pipe.o: In function `rpc_write_done':
cli_pipe.c:(.text.rpc_write_done+0xe): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.rpc_write_done+0x20): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.rpc_write_done+0x40): undefined reference to `_talloc_free'
rpc_client/cli_pipe.o: In function `rpc_api_pipe_got_pdu':
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0xc): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x1e): undefined reference to `_talloc_get_type_abort'
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x38): undefined reference to `_talloc_free'
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x4c): undefined reference to `talloc_named_const'
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x60): undefined reference to `_talloc_free'
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x9c): undefined reference to `_talloc_free'
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x1d6): undefined reference to `_talloc_free'
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x1fe): undefined reference to `_talloc_free'
cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x236): undefined reference to `_talloc_free'
rpc_client/cli_pipe.o:cli_pipe.c:(.text.rpc_api_pipe_got_pdu+0x258): more undefined references to `_talloc_free' follow
(...)
tevent_req.c:(.text.tevent_req_set_endtime+0xc): undefined reference to `_talloc_free'
./bin/libtevent.a(tevent_queue.o):tevent_queue.c:(.text.tevent_queue_destructor+0xe): more undefined references to `_talloc_free' follow
./bin/libtevent.a(tevent_queue.o): In function `tevent_queue_immediate_trigger':
tevent_queue.c:(.text.tevent_queue_immediate_trigger+0x4): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_queue.o): In function `_tevent_queue_create':
tevent_queue.c:(.text._tevent_queue_create+0x8): undefined reference to `_talloc_zero'
tevent_queue.c:(.text._tevent_queue_create+0x14): undefined reference to `talloc_strdup'
tevent_queue.c:(.text._tevent_queue_create+0x30): undefined reference to `_talloc_free'
tevent_queue.c:(.text._tevent_queue_create+0x42): undefined reference to `_talloc_set_destructor'
./bin/libtevent.a(tevent_queue.o): In function `tevent_queue_add':
tevent_queue.c:(.text.tevent_queue_add+0xc): undefined reference to `_talloc_zero'
tevent_queue.c:(.text.tevent_queue_add+0x56): undefined reference to `_talloc_set_destructor'
./bin/libtevent.a(tevent_standard.o): In function `epoll_fallback_to_select':
tevent_standard.c:(.text.epoll_fallback_to_select+0x2e): undefined reference to `_talloc_set_destructor'
./bin/libtevent.a(tevent_standard.o): In function `std_event_loop_once':
tevent_standard.c:(.text.std_event_loop_once+0x6): undefined reference to `talloc_check_name'
tevent_standard.c:(.text.std_event_loop_once+0x112): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_standard.o): In function `std_event_add_fd':
tevent_standard.c:(.text.std_event_add_fd+0xe): undefined reference to `talloc_check_name'
tevent_standard.c:(.text.std_event_add_fd+0x4c): undefined reference to `_talloc_set_destructor'
./bin/libtevent.a(tevent_standard.o): In function `std_event_fd_destructor':
tevent_standard.c:(.text.std_event_fd_destructor+0xa): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_standard.o): In function `std_event_set_fd_flags':
tevent_standard.c:(.text.std_event_set_fd_flags+0x16): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_standard.o): In function `std_event_context_init':
tevent_standard.c:(.text.std_event_context_init+0x6): undefined reference to `_talloc_zero'
tevent_standard.c:(.text.std_event_context_init+0x28): undefined reference to `_talloc_set_destructor'
./bin/libtevent.a(tevent_select.o): In function `select_event_loop_once':
tevent_select.c:(.text.select_event_loop_once+0x6): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_select.o): In function `select_event_fd_destructor':
tevent_select.c:(.text.select_event_fd_destructor+0xa): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_select.o): In function `select_event_context_init':
tevent_select.c:(.text.select_event_context_init+0x6): undefined reference to `_talloc_zero'
./bin/libtevent.a(tevent_select.o): In function `select_event_add_fd':
tevent_select.c:(.text.select_event_add_fd+0xe): undefined reference to `talloc_check_name'
tevent_select.c:(.text.select_event_add_fd+0x5a): undefined reference to `_talloc_set_destructor'
./bin/libtevent.a(tevent_poll.o): In function `poll_event_set_fd_flags':
tevent_poll.c:(.text.poll_event_set_fd_flags+0xe): undefined reference to `_talloc_get_type_abort'
./bin/libtevent.a(tevent_poll.o): In function `poll_event_add_fd':
tevent_poll.c:(.text.poll_event_add_fd+0x10): undefined reference to `_talloc_get_type_abort'
tevent_poll.c:(.text.poll_event_add_fd+0x38): undefined reference to `talloc_get_size'
tevent_poll.c:(.text.poll_event_add_fd+0x56): undefined reference to `_talloc_realloc_array'
tevent_poll.c:(.text.poll_event_add_fd+0x6c): undefined reference to `_talloc_realloc_array'
tevent_poll.c:(.text.poll_event_add_fd+0x76): undefined reference to `_talloc_free'
tevent_poll.c:(.text.poll_event_add_fd+0xca): undefined reference to `_talloc_set_destructor'
./bin/libtevent.a(tevent_poll.o): In function `poll_event_fd_destructor':
tevent_poll.c:(.text.poll_event_fd_destructor+0x12): undefined reference to `_talloc_get_type_abort'
./bin/libtevent.a(tevent_poll.o): In function `poll_event_context_init':
tevent_poll.c:(.text.poll_event_context_init+0x6): undefined reference to `_talloc_zero'
./bin/libtevent.a(tevent_poll.o): In function `poll_event_loop_once':
tevent_poll.c:(.text.poll_event_loop_once+0x3c): undefined reference to `_talloc_get_type_abort'
./bin/libtevent.a(tevent_epoll.o): In function `epoll_event_loop_once':
tevent_epoll.c:(.text.epoll_event_loop_once+0x6): undefined reference to `talloc_check_name'
tevent_epoll.c:(.text.epoll_event_loop_once+0x110): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_epoll.o): In function `epoll_event_add_fd':
tevent_epoll.c:(.text.epoll_event_add_fd+0xe): undefined reference to `talloc_check_name'
tevent_epoll.c:(.text.epoll_event_add_fd+0x3e): undefined reference to `_talloc_set_destructor'
./bin/libtevent.a(tevent_epoll.o): In function `epoll_event_fd_destructor':
tevent_epoll.c:(.text.epoll_event_fd_destructor+0xa): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_epoll.o): In function `epoll_event_set_fd_flags':
tevent_epoll.c:(.text.epoll_event_set_fd_flags+0x16): undefined reference to `talloc_check_name'
./bin/libtevent.a(tevent_epoll.o): In function `epoll_event_context_init':
tevent_epoll.c:(.text.epoll_event_context_init+0x8): undefined reference to `_talloc_zero'
tevent_epoll.c:(.text.epoll_event_context_init+0x2a): undefined reference to `_talloc_set_destructor'
tevent_epoll.c:(.text.epoll_event_context_init+0x40): undefined reference to `_talloc_free'
collect2: error: ld returned 1 exit status
Makefile:1831: recipe for target 'bin/samba_multicall' failed
make[4]: *** [bin/samba_multicall] Error 1
make[4]: Leaving directory '/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/source3'
Makefile:172: recipe for target '/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/.built' failed
make[3]: *** [/home/sj/Pulpit/Projekty/WITI-TRUNK/build_dir/target-mipsel_24kc_musl/samba-3.6.25/.built] Error 2
make[3]: Leaving directory '/home/sj/Pulpit/Projekty/WITI-TRUNK/package/network/services/samba36'
package/Makefile:106: recipe for target 'package/network/services/samba36/compile' failed
make[2]: *** [package/network/services/samba36/compile] Error 2
make[2]: Leaving directory '/home/sj/Pulpit/Projekty/WITI-TRUNK'
package/Makefile:102: recipe for target '/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/sj/Pulpit/Projekty/WITI-TRUNK/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/sj/Pulpit/Projekty/WITI-TRUNK'
/home/sj/Pulpit/Projekty/WITI-TRUNK/include/toplevel.mk:216: polecenia dla obiektu 'world' nie powiodły się
make: *** [world] Błąd 2


05.02.20181328Base systemBug ReportVery LowLowVGV7510KW22 / o2 Box 6431: Spurious reboots and etherne...TrunkUnconfirmed Task Description

Device:
VGV7510KW22 / o2 Box 6431

Software version:
OpenWrt SNAPSHOT r5944-ad4232e
Linux version 4.9.77 (buildbot@slashdirt-03) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5944-ad4232e) ) #0 SMP Thu Jan 25 10:00:48 2018

Environment:
Additional packages: asterisk13-chan-lantiq, strongswan

Steps to reproduce:
From time to time, the box will reboot spuriously. Uptimes vary, between 12 hours and 2 weeks. After such a reboot, some of the ethernet ports do not detect a link anymore. Unplugging and replugging the ethernet cable into the same port does not help, and the kernel will only notice a link if I plug the ethernet cable into another port.
Sometimes, the ethernet port loses link even without a reboot.
Syslog is logged to an external server via UDP and does not show any error message prior to the spurious reboot.

Workaround:
Performing a manual reboot after the spurious reboot fixes the ethernet link loss.

Possibly relevant difference between dmesg on a spurious and normal reboot:

--- dmesg-normal-reboot.txt.notimestamps        2018-02-05 11:42:10.656203272 +0100
+++ dmesg-spurious-reboot.txt.notimestamps      2018-02-05 11:40:47.264201277 +0100
@@ -30,8 +30,8 @@
 PID hash table entries: 256 (order: -2, 1024 bytes)
 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
 Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
-Writing ErrCtl register=00014098
-Readback ErrCtl register=00014098
+Writing ErrCtl register=00014090
+Readback ErrCtl register=00014090
 Memory: 55392K/63488K available (4334K kernel code, 178K rwdata, 1324K rodata, 1252K init, 244K bss, 8096K reserved, 0K cma-reserved)
 SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
 Hierarchical RCU implementation.
@@ -123,12 +123,14 @@
 libphy: Fixed MDIO Bus: probed
 libphy: lantiq,xrx200-mdio: probed
 ICPlus IP101A/G 0:01: attached PHY driver [ICPlus IP101A/G] (mii_bus:phy_addr=0:01, irq=-1)
-Intel XWAY PHY22F (xRX integrated) 0:11: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:11, irq=-1)
-Intel XWAY PHY22F (xRX integrated) 0:12: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:12, irq=-1)
-random: fast init done
+lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): no PHY found
+xrx200-mdio: probing phy of port 2 failed
+lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): no PHY found
+xrx200-mdio: probing phy of port 3 failed
 Intel XWAY PHY22F (xRX integrated) 0:13: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:13, irq=-1)
+random: fast init done
 Intel XWAY PHY22F (xRX integrated) 0:14: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:14, irq=-1)
-ltq-cputemp cputemp@0: Current CPU die temperature: 54.0 °C
+ltq-cputemp cputemp@0: Current CPU die temperature: 52.5 °C
 wdt 1f8803f0.watchdog: Init done
 NET: Registered protocol family 10
 NET: Registered protocol family 17
@@ -139,7 +141,6 @@
 This architecture does not have kernel memory protection.
 init: Console is alive
 init: - watchdog -
-lantiq,xrx200-net 1e108000.eth eth0: port 2 got link
 kmodloader: loading kernel modules from /etc/modules-boot.d/*
 dwc2 1e101000.ifxhcd: requested GPIO 509
 dwc2 1e101000.ifxhcd: DWC OTG Controller
@@ -151,12 +152,12 @@
 hub 1-0:1.0: 1 port detected
 kmodloader: done loading kernel modules from /etc/modules-boot.d/*
 init: - preinit -
-jffs2: notice: (440) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
+IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
+jffs2: notice: (436) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 mount_root: switching to jffs2 overlay
 urandom-seed: Seeding with /etc/urandom.seed
 procd: - early -
 procd: - watchdog -
-lantiq,xrx200-net 1e108000.eth eth0: port 2 lost link
 procd: - watchdog -
 procd: - ubus -
 procd: - init -
@@ -207,19 +208,19 @@
 device eth0 entered promiscuous mode
 IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
 IPv6: ADDRCONF(NETDEV_UP): eth0.13: link is not ready
-lantiq,xrx200-net 1e108000.eth eth0: port 2 got link
-IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
-br-lan: port 1(eth0.1) entered blocking state
-br-lan: port 1(eth0.1) entered forwarding state
-IPv6: ADDRCONF(NETDEV_CHANGE): eth0.13: link becomes ready
-IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
+random: crng init done
 PTM 1.0.27    PTM (E1) firmware version 0.30
 ifxmips_ptm: PTM init succeed
 IPv6: ADDRCONF(NETDEV_UP): dsl0: link is not ready
 IPv6: ADDRCONF(NETDEV_UP): dsl0.7: link is not ready
-random: crng init done
 enter showtime
 IPv6: ADDRCONF(NETDEV_CHANGE): dsl0: link becomes ready
 IPv6: ADDRCONF(NETDEV_CHANGE): dsl0.7: link becomes ready
 enter showtime
 pppoe-wan: renamed from ppp0
04.02.20181326KernelBug ReportVery LowMediumKernel crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Archer C7 v2

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

OpenWrt SNAPSHOT r5994-fd30187c87 / LuCI Master (git-18.031.70145-518ac52)

Feb 3rd 2018 snapshot.

- Steps to reproduce

 

install snapshot, let it run, normal usage, connect disconnect etc.

info from kernel log:

[14458.634926] ath10k_pci 0000:01:00.0: failed to delete peer c4:b3:01:8f:ef:62 for vdev 0: -145
[14458.643587] ath10k_pci 0000:01:00.0: found sta peer c4:b3:01:8f:ef:62 (ptr 86958c00 id 27) entry on vdev 0 after it was supposedly removed
[14458.656870] ————[ cut here ]———— [14458.661686] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:1001 sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.673453] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle
[14458.745995] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14458.775167] CPU: 0 PID: 13630 Comm: hostapd Not tainted 4.9.77 #0
[14458.781337] Stack : 804f765a 00000035 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14458.789882] 804f37a0 000003e9 00000000 00000000 00000000 800a9934 8043f378 80480000
[14458.798426] 00000003 000003e9 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000074
[14458.806971] 00000000 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14458.815516] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14458.824051] ...
[14458.826552] Call Trace:
[14458.829043] [<8006b2c8>] show_stack+0×54/0×88 [14458.833482] [<8007ff40>] warn+0xe4/0×118 [14458.837657] [<80080008>] warn_slowpath_null+0x1c/0×34 [14458.842880] [<87706fd8>] sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.848830] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14458.854870] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14458.861694] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14458.869154] —[ end trace e47c69f6c533b83e ]— [14461.914797] ath10k_pci 0000:01:00.0: failed to wait for created wmi peer c4:b3:01:8f:ef:62 on vdev 0: -145
[14461.924661] ath10k_pci 0000:01:00.0: failed to add peer c4:b3:01:8f:ef:62 for vdev 0 when adding a new sta: -145
[14746.711911] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer 2c:0e:3d:12:09:95: -11
[14746.720962] wlan0: failed to remove key (0, 2c:0e:3d:12:09:95) from hardware (-11)
[14746.753467] ath10k_pci 0000:01:00.0: cipher 0 is not supported
[14746.759445] ath10k_pci 0000:01:00.0: failed to remove peer wep key 0: -122
[14746.766463] ath10k_pci 0000:01:00.0: failed to clear all peer wep keys for vdev 0: -122
[14746.774607] ath10k_pci 0000:01:00.0: failed to disassociate station: 2c:0e:3d:12:09:95 vdev 0: -122
[14746.783787] ————[ cut here ]———— [14746.788602] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:993 sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.800249] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle
[14746.872787] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14746.901958] CPU: 0 PID: 13630 Comm: hostapd Tainted: G W 4.9.77 #0
[14746.909370] Stack : 804f765a 00000043 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14746.917913] 804f37a0 000003e1 00000000 00000000 00000000 800a9934 8043f378 80480000
[14746.926458] 00000003 000003e1 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000073
[14746.935002] 8049ae60 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14746.943547] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14746.952092] ...
[14746.954583] Call Trace:
[14746.957064] [<8006b2c8>] show_stack+0×54/0×88 [14746.961495] [<8007ff40>]
warn+0xe4/0×118 [14746.965666] [<80080008>] warn_slowpath_null+0x1c/0×34 [14746.970889] [<87706f88>] sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.976845] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14746.982873] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14746.989699] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14746.997160] —[ end trace e47c69f6c533b83f ]— [14750.071885] ath10k_pci 0000:01:00.0: failed to delete peer 2c:0e:3d:12:09:95 for vdev 0: -11
[14750.080493] ath10k_pci 0000:01:00.0: found sta peer 2c:0e:3d:12:09:95 (ptr 86115e00 id 57) entry on vdev 0 after it was supposedly removed
[14753.111859] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 0: -11
[14756.151812] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 0: -11
[14759.191795] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[14762.231753] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 0: -11
[14765.271707] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 0: -11
[88965.620794] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer a4:2b:b0:df:39:70: -11
[88965.630032] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[111930.445474] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111933.485423] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111937.165444] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111940.205359] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111947.165313] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111950.205384] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111957.165174] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111960.205293] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111964.685124] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111967.725111] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111974.525032] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111977.565030] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111984.524945] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111987.564913] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111994.524853] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111997.564835] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112004.524759] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112007.564726] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request

03.02.20181324Base systemBug ReportVery LowLowmac80211: wrong mac address calculation with 2 phyTrunkUnconfirmed Task Description

I’m using current master branch.

In files/lib/wifi/mac80211.sh there is a function mac80211_generate_mac() that tries to generate mac (BSSID) for interfaces. But the is a problem in design here.

I have two phy devices (2,4 and 5GHz):

root@router:/tmp# cat /sys/class/ieee80211/phy*/addresses
xx:xx:xx:xx:2f:2e
xx:xx:xx:xx:2f:2f
root@router:/tmp# cat /sys/class/ieee80211/phy*/address_mask
00:00:00:00:00:07
00:00:00:00:00:07

I also have 4 interfaces in /etc/config/wireless: 2 for radio0 and 2 for radio1. On every channel one is my private AP, and one is for guests.

Since mac80211.sh knows only about phy itself for phy0 is generates ...:2f:2e for main AP and ...:2f:2f for guest one. On phy1 I see :2f:2f for main and 2f:2e for guest.

Since mac addresses goes to bssid (or hostapd creates mac based on bssid in config) I have problem: different AP have the same BSSID.

In my particular case I was able to run the setup after I manually calculate and set macaddresses in /etc/config/wireless

tags: @nbd168 @NeoRaider

02.02.20181321PackagesBug ReportVery LowLowUCI potential invalid memory access when updating exist...TrunkUnconfirmed Task Description

- Software versions

UCI 2018-01-01

- Device problem occurs on

There is a potential memory leak when updating existing section in list.c:709

Return pointer from realloc may not be the same as ptr→s. Due to realloc mechanism, pointers value from ptr→s→options are copied to the ptr→last. However, those pointers (ptr→last→s→options) are pointing back to the ptr→s which has been freed.

Below are steps to reproduce.

- Steps to reproduce

 

Given a config file like that

cat /etc/config/network
config interface wan

Given test codes like that

#include <uci.h>

int main(int argc, const char *argv[])
{
    struct uci_context *uci_ctx = uci_alloc_context();
    struct uci_ptr ptr          = {0};
    ptr.package                 = "network";
    ptr.section                 = "wan";
    ptr.value                   = "interface";
    uci_lookup_ptr(uci_ctx, &ptr, NULL, false);
    uci_set(uci_ctx, &ptr);
    uci_save(uci_ctx, ptr.p);
    uci_commit(uci_ctx, &ptr.p, false);
    uci_free_context(uci_ctx);

    return 0;
}

Runs like that

cd UCI_PROJECT_ROOT
mkdir build
cmake ..
make
valgrind ./test/test_mem_leak_section
.... CTRL-C after a while ....

Here is the output of valgrind before the hotfix below

==1567== Memcheck, a memory error detector
==1567== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1567== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1567== Command: ./test/test_mem_leak_section
==1567== 
==1567== Invalid write of size 8
==1567==    at 0x4E3946B: uci_list_del (uci_internal.h:116)
==1567==    by 0x4E3946B: uci_free_element (list.c:71)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid write of size 8
==1567==    at 0x4E3946E: uci_list_del (uci_internal.h:117)
==1567==    by 0x4E3946E: uci_free_element (list.c:71)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a858 is 40 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E394F8: uci_free_section (list.c:210)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 4
==1567==    at 0x4E39486: uci_free_option (list.c:97)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a878 is 72 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E39456: uci_free_element (list.c:69)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a868 is 56 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E3945F: uci_free_element (list.c:70)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid free() / delete / delete[] / realloc()
==1567==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
^C
==1567== 
==1567== HEAP SUMMARY:
==1567==     in use at exit: 973 bytes in 17 blocks
==1567==   total heap usage: 189 allocs, 408,927 frees, 8,483 bytes allocated
==1567== 
==1567== LEAK SUMMARY:
==1567==    definitely lost: 0 bytes in 0 blocks
==1567==    indirectly lost: 0 bytes in 0 blocks
==1567==      possibly lost: 0 bytes in 0 blocks
==1567==    still reachable: 973 bytes in 17 blocks
==1567==         suppressed: 0 bytes in 0 blocks
==1567== Rerun with --leak-check=full to see details of leaked memory
==1567== 
==1567== For counts of detected and suppressed errors, rerun with: -v
==1567== ERROR SUMMARY: 2043783 errors from 7 contexts (suppressed: 0 from 0)

- Hot fix

-			ptr->last = NULL;
-			ptr->last = uci_realloc(ctx, ptr->s, sizeof(struct uci_section));
-			ptr->s = uci_to_section(ptr->last);
-			uci_list_fixup(&ptr->s->e.list);
+			ptr->last = (struct uci_element *) ptr->s;

Please take a look the attachment. It includes my hot fix for this issue and corresponding demo codes as illustrated above.

I am not sure how to “update” the “uci_options” associated to the “uci_section”. So, I simply omit and replace the realloc part.

Tested by valgrind again

valgrind ./test/test_mem_leak_section 
==1749== Memcheck, a memory error detector
==1749== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1749== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1749== Command: ./test/test_mem_leak_section
==1749== 
==1749== 
==1749== HEAP SUMMARY:
==1749==     in use at exit: 0 bytes in 0 blocks
==1749==   total heap usage: 392 allocs, 392 frees, 23,574 bytes allocated
==1749== 
==1749== All heap blocks were freed -- no leaks are possible
==1749== 
==1749== For counts of detected and suppressed errors, rerun with: -v
==1749== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)


01.02.20181320KernelBug ReportVery LowCriticalcritical crash and restartTrunkUnconfirmed Task Description

There is a random crash all network stop and the router restart .

I’m using last dev build .

Linksys WRT1900ACS

OpenWrt SNAPSHOT r5985-33e8f7e / LuCI Master (git-18.030.59690-47d1eaa)

Kernel 4.9.77

root@OpenWrt:~# cat /sys/kernel/debug/crashlog
Time: 1517518692.641321
Modules:        pppoe@bf1a6000+1e77     ppp_async@bf1a1000+1911 pppox@bf19d000+567      ppp_generic@bf193000+5218       iptable_nat@bf18a000+451        ipt_REJECT@bf186000+3ea ipt_MASQUERADE@bf182000+332     xt_time@bf17e000+6a6    xt_tcpudp@bf17a000+758       xt_state@bf176000+349   xt_nat@bf172000+59d     xt_multiport@bf16e000+554       xt_mark@bf16a000+320    xt_mac@bf166000+2c7     xt_limit@bf162000+48d   xt_conntrack@bf15e000+958       xt_comment@bf15a000+24b xt_TCPMSS@bf156000+a68       xt_REDIRECT@bf152000+375        xt_LOG@bf14e000+3c3     xt_CT@bf14a000+b55      slhc@bf146000+fd2       nf_reject_ipv4@bf142000+803     nf_nat_redirect@bf13e000+3db    nf_nat_masquerade_ipv4@bf13a000+60d     nf_conntrack_ipv4@bf135000+17e5      nf_nat_ipv4@bf131000+f1e        nf_nat@bf12b000+24c0    nf_log_ipv4@bf127000+c36        nf_defrag_ipv4@bf123000+3bc     nf_conntrack_rtcache@bf11f000+a92       nf_conntrack@bf10b000+e773      iptable_mangle@bf107000+3fc  iptable_filter@bf103000+37c     ip_tables@bf0fd000+2817 crc_ccitt@bf0f9000+42b  mwlwifi@bf0d6000+1b6d5  mac80211@bf068000+5f891 cfg80211@bf02e000+311b5 compat@bf029000+12f5    ip6t_REJECT@bf025000+3ec        nf_reject_ipv6@bf021000+908  nf_log_ipv6@bf01d000+cf7        nf_log_common@bf019000+98f      ip6table_mangle@bf015000+4be    ip6table_filter@bf011000+33e    ip6_tables@bf00b000+2715        x_tables@bf005000+2aac  gpio_button_hotplug@bf000000+1784
<7>[   17.893444] ieee80211 phy0: change: 0x40
<7>[   17.911298] ieee80211 phy1: change: 0x40
<7>[   18.111289] ieee80211 phy0: change: 0x40
<7>[   18.121292] ieee80211 phy1: change: 0x40
<7>[   18.321297] ieee80211 phy1: change: 0x40
<7>[   18.331297] ieee80211 phy0: change: 0x40
<7>[   18.521292] ieee80211 phy1: change: 0x40
<7>[   18.551290] ieee80211 phy0: change: 0x40
<7>[   18.721288] ieee80211 phy1: change: 0x40
<7>[   18.771289] ieee80211 phy0: change: 0x40
<7>[   18.931296] ieee80211 phy1: change: 0x40
<7>[   18.991298] ieee80211 phy0: change: 0x40
<7>[   19.020305] ieee80211 phy1: change: 0x100
<7>[   19.029330] ieee80211 phy1: change: 0x100
<7>[   19.038371] ieee80211 phy1: change: 0x40
<7>[   19.211298] ieee80211 phy0: change: 0x40
<7>[   19.241292] ieee80211 phy1: change: 0x40
<7>[   19.431290] ieee80211 phy0: change: 0x40
<7>[   19.441292] ieee80211 phy1: change: 0x40
<7>[   19.641290] ieee80211 phy1: change: 0x40
<7>[   19.651294] ieee80211 phy0: change: 0x60
<7>[   19.851295] ieee80211 phy1: change: 0x40
<7>[   19.871292] ieee80211 phy0: change: 0x40
<7>[   20.051291] ieee80211 phy1: change: 0x40
<7>[   20.091295] ieee80211 phy0: change: 0x40
<7>[   20.271295] ieee80211 phy1: change: 0x40
<7>[   20.311290] ieee80211 phy0: change: 0x40
<7>[   20.471289] ieee80211 phy1: change: 0x40
<7>[   20.531292] ieee80211 phy0: change: 0x40
<7>[   20.681288] ieee80211 phy1: change: 0x40
<7>[   20.751289] ieee80211 phy0: change: 0x40
<7>[   20.881292] ieee80211 phy1: change: 0x40
<7>[   20.971288] ieee80211 phy0: change: 0x40
<7>[   21.081288] ieee80211 phy1: change: 0x40
<7>[   21.191289] ieee80211 phy0: change: 0x40
<7>[   21.291292] ieee80211 phy1: change: 0x40
<7>[   21.411291] ieee80211 phy0: change: 0x40
<7>[   21.491290] ieee80211 phy1: change: 0x40
<7>[   21.631288] ieee80211 phy0: change: 0x40
<7>[   21.691293] ieee80211 phy1: change: 0x40
<7>[   21.780306] ieee80211 phy1: change: 0x100
<7>[   21.789330] ieee80211 phy1: change: 0x100
<7>[   21.798374] ieee80211 phy1: change: 0x40
<7>[   21.851290] ieee80211 phy0: change: 0x40
<7>[   22.001288] ieee80211 phy1: change: 0x40
<7>[   22.071295] ieee80211 phy0: change: 0x60
<7>[   22.175310] ieee80211 phy0: change: 0x100
<7>[   22.184332] ieee80211 phy0: change: 0x100
<7>[   22.193444] ieee80211 phy0: change: 0x40
<7>[   22.201309] ieee80211 phy1: change: 0x40
<7>[   22.411296] ieee80211 phy1: change: 0x40
<7>[   22.411298] ieee80211 phy0: change: 0x40
<7>[   22.611290] ieee80211 phy1: change: 0x40
<7>[   22.631293] ieee80211 phy0: change: 0x40
<7>[   22.811293] ieee80211 phy1: change: 0x40
<7>[   22.851290] ieee80211 phy0: change: 0x40
<7>[   23.011290] ieee80211 phy1: change: 0x40
<7>[   23.081291] ieee80211 phy0: change: 0x40
<7>[   23.221291] ieee80211 phy1: change: 0x40
<7>[   23.301289] ieee80211 phy0: change: 0x40
<7>[   23.421287] ieee80211 phy1: change: 0x40
<7>[   23.531289] ieee80211 phy0: change: 0x40
<7>[   23.621289] ieee80211 phy1: change: 0x40
<7>[   23.751294] ieee80211 phy0: change: 0x40
<7>[   23.821289] ieee80211 phy1: change: 0x40
<7>[   23.971291] ieee80211 phy0: change: 0x60
<7>[   24.031292] ieee80211 phy1: change: 0x40
<7>[   24.201295] ieee80211 phy0: change: 0x40
<7>[   24.231289] ieee80211 phy1: change: 0x40
<7>[   24.421288] ieee80211 phy0: change: 0x40
<7>[   24.431294] ieee80211 phy1: change: 0x40
<7>[   24.520307] ieee80211 phy1: change: 0x100
<7>[   24.529329] ieee80211 phy1: change: 0x100
<7>[   24.538373] ieee80211 phy1: change: 0x40
<7>[   24.641294] ieee80211 phy0: change: 0x40
<7>[   24.741289] ieee80211 phy1: change: 0x40
<7>[   24.861288] ieee80211 phy0: change: 0x40
<7>[   24.951295] ieee80211 phy1: change: 0x40
<7>[   25.091294] ieee80211 phy0: change: 0x40
<7>[   25.151291] ieee80211 phy1: change: 0x40
<7>[   25.311289] ieee80211 phy0: change: 0x40
<7>[   25.351293] ieee80211 phy1: change: 0x40
<7>[   25.541292] ieee80211 phy0: change: 0x40
<7>[   25.551310] ieee80211 phy1: change: 0x40
<7>[   25.751295] ieee80211 phy1: change: 0x40
<7>[   25.761310] ieee80211 phy0: change: 0x40
<7>[   25.951289] ieee80211 phy1: change: 0x40
<7>[   25.991289] ieee80211 phy0: change: 0x40
<7>[   26.151288] ieee80211 phy1: change: 0x40
<7>[   26.211288] ieee80211 phy0: change: 0x40
<7>[   26.351289] ieee80211 phy1: change: 0x40
<7>[   26.431321] ieee80211 phy0: change: 0x60
<7>[   26.537389] ieee80211 phy0: change: 0x100
<7>[   26.546386] ieee80211 phy0: change: 0x100
<7>[   26.555537] ieee80211 phy0: change: 0x40
<7>[   26.561381] ieee80211 phy1: change: 0x40
<7>[   26.791303] ieee80211 phy1: change: 0x40
<7>[   26.801338] ieee80211 phy0: change: 0x40
<7>[   26.991293] ieee80211 phy1: change: 0x40
<7>[   27.021299] ieee80211 phy0: change: 0x40
<7>[   27.191295] ieee80211 phy1: change: 0x40
<7>[   27.241292] ieee80211 phy0: change: 0x40
<7>[   27.279318] ieee80211 phy1: change: 0x100
<7>[   27.288340] ieee80211 phy1: change: 0x100
<7>[   27.297430] ieee80211 phy1: change: 0x40
<7>[   27.461292] ieee80211 phy0: change: 0x40
<7>[   27.501295] ieee80211 phy1: change: 0x40
<7>[   27.681296] ieee80211 phy0: change: 0x40
<7>[   27.701297] ieee80211 phy1: change: 0x40
<7>[   27.891302] ieee80211 phy0: change: 0x40
<7>[   27.911294] ieee80211 phy1: change: 0x40
<7>[   28.101301] ieee80211 phy0: change: 0x40
<7>[   28.111316] ieee80211 phy1: change: 0x40
<7>[   28.311293] ieee80211 phy1: change: 0x40
<7>[   28.331291] ieee80211 phy0: change: 0x60
<7>[   28.511289] ieee80211 phy1: change: 0x40
<7>[   28.551289] ieee80211 phy0: change: 0x40
<7>[   28.721289] ieee80211 phy1: change: 0x40
<7>[   28.771298] ieee80211 phy0: change: 0x40
<7>[   28.921289] ieee80211 phy1: change: 0x40
<7>[   29.001293] ieee80211 phy0: change: 0x40
<7>[   29.131293] ieee80211 phy1: change: 0x40
<7>[   29.231288] ieee80211 phy0: change: 0x40
<7>[   29.331289] ieee80211 phy1: change: 0x40
<7>[   29.451296] ieee80211 phy0: change: 0x40
<7>[   29.531293] ieee80211 phy1: change: 0x40
<7>[   29.671292] ieee80211 phy0: change: 0x40
<7>[   29.731297] ieee80211 phy1: change: 0x40
<7>[   29.901288] ieee80211 phy0: change: 0x40
<7>[   29.931292] ieee80211 phy1: change: 0x40
<7>[   30.019319] ieee80211 phy1: change: 0x100
<7>[   30.082758] ieee80211 phy1: change: 0x100
<7>[   30.091295] ieee80211 phy1: change: 0x42
<7>[   30.121296] ieee80211 phy0: change: 0x40
<6>[   30.244344] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   30.250795] br-lan: port 2(wlan1) entered blocking state
<6>[   30.256146] br-lan: port 2(wlan1) entered forwarding state
<7>[   30.341319] ieee80211 phy0: change: 0x40
<7>[   30.561298] ieee80211 phy0: change: 0x40
<7>[   30.781295] ieee80211 phy0: change: 0x60
<7>[   30.885313] ieee80211 phy0: change: 0x100
<7>[   30.894341] ieee80211 phy0: change: 0x100
<7>[   30.903413] ieee80211 phy0: change: 0x40
<7>[   31.121301] ieee80211 phy0: change: 0x40
<7>[   31.341291] ieee80211 phy0: change: 0x40
<7>[   31.561292] ieee80211 phy0: change: 0x40
<7>[   31.781291] ieee80211 phy0: change: 0x40
<7>[   32.001301] ieee80211 phy0: change: 0x40
<7>[   32.221294] ieee80211 phy0: change: 0x40
<7>[   32.441293] ieee80211 phy0: change: 0x40
<7>[   32.661293] ieee80211 phy0: change: 0x60
<7>[   32.881294] ieee80211 phy0: change: 0x40
<7>[   33.101293] ieee80211 phy0: change: 0x40
<7>[   33.321293] ieee80211 phy0: change: 0x40
<7>[   33.541293] ieee80211 phy0: change: 0x40
<7>[   33.761291] ieee80211 phy0: change: 0x40
<7>[   33.981291] ieee80211 phy0: change: 0x40
<7>[   34.201291] ieee80211 phy0: change: 0x40
<7>[   34.421291] ieee80211 phy0: change: 0x40
<7>[   34.641291] ieee80211 phy0: change: 0x40
<7>[   34.861291] ieee80211 phy0: change: 0x40
<7>[   35.081295] ieee80211 phy0: change: 0x60
<7>[   35.185310] ieee80211 phy0: change: 0x100
<7>[   35.194337] ieee80211 phy0: change: 0x100
<7>[   35.203457] ieee80211 phy0: change: 0x40
<7>[   35.421292] ieee80211 phy0: change: 0x40
<7>[   35.641295] ieee80211 phy0: change: 0x40
<7>[   35.745318] ieee80211 phy0: change: 0x100
<7>[   35.809156] ieee80211 phy0: change: 0x100
<7>[   35.818178] ieee80211 phy0: change: 0x42
<6>[   35.990319] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   35.996762] br-lan: port 3(wlan0) entered blocking state
<6>[   36.002103] br-lan: port 3(wlan0) entered forwarding state
<6>[  121.174510] xt_conntrack: cannot load conntrack support for proto=10
<6>[  149.624016] xt_conntrack: cannot load conntrack support for proto=10
<6>[  317.781883] xt_conntrack: cannot load conntrack support for proto=10
<1>[70442.763618] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
<1>[70442.771761] pgd = ddddc000
<1>[70442.774477] [0000000c] *pgd=1d23d831, *pte=00000000, *ppte=00000000
<0>[70442.780811] Internal error: Oops: 17 [#1] SMP ARM
<4>[70442.785532] Modules linked in: pppoe ppp_async pppox ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mwlwifi mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
<4>[70442.838560] CPU: 1 PID: 1711 Comm: hostapd Not tainted 4.9.77 #0
<4>[70442.844589] Hardware name: Marvell Armada 380/385 (Device Tree)
<4>[70442.850532] task: dec6d300 task.stack: ddd78000
<4>[70442.855092] PC is at mwl_fwcmd_destroy_ba+0x98/0xf4 [mwlwifi]
<4>[70442.860867] LR is at mwl_fwcmd_destroy_ba+0x34/0xf4 [mwlwifi]
<4>[70442.866637] pc : [<bf0dc844>]    lr : [<bf0dc7e0>]    psr: 80000013
<4>[70442.866637] sp : ddd79c80  ip : 00000000  fp : 00000000
<4>[70442.878161] r10: ddde3620  r9 : de38cac0  r8 : de38cac0
<4>[70442.883406] r7 : ddde1620  r6 : ddde2924  r5 : 00000000  r4 : ddd8c000
<4>[70442.889959] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 00000000
<4>[70442.896513] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
<4>[70442.903677] Control: 10c5387d  Table: 1dddc04a  DAC: 00000051
<0>[70442.909445] Process hostapd (pid: 1711, stack limit = 0xddd78210)
<0>[70442.915562] Stack: (0xddd79c80 to 0xddd7a000)
<0>[70442.919937] 9c80: 00000001 ddde1620 dd3c55d8 ddde45e0 ddde0be0 bf0dcbac dd3c55d8 ddde1620
<0>[70442.928150] 9ca0: ddde0be0 df6fbce0 de3d0300 de7d4800 00000014 bf0d7c68 dd3c5000 00000002
<0>[70442.936362] 9cc0: 00000001 dd14f414 de3d0300 de7d4800 00000014 bf06aca4 ddde0be0 df6fb4c0
<0>[70442.944574] 9ce0: dd3c5000 bf06d2e4 00000002 00000002 dd3c5000 ddde0be0 df6fb4c0 bf06e278
<0>[70442.952786] 9d00: dd3c5000 00000000 00000000 dd3c5000 dd14f420 bf06e3c4 df6fb4c0 00000454
<0>[70442.960999] 9d20: dd14f420 bf06e43c ddde0000 df6fb000 ddd79d68 bf03add8 dd14f420 0002000c
<0>[70442.969210] 9d40: ddd79d68 de3d0300 df57a000 bf0296e8 00000000 df57a1fc df57a000 c03d4560
<0>[70442.977423] 9d60: bf05653a 1f5b5000 5a7275f6 00000601 dd14f400 dd14f410 dde5ed80 de7d4800
<0>[70442.985635] 9d80: ddde0000 df6fb000 dd14f400 de3d0300 c03d42d8 ddc99c00 ddd79dcc 00000000
<0>[70442.993847] 9da0: 00000008 c03d38fc c0656b08 de3d0300 de3d0300 c03d42c4 df4ba400 00000028
<0>[70443.002059] 9dc0: de3d0300 c03d3300 ddc99c00 7fffffff 00000000 de3d0300 00000000 ddd79f68
<0>[70443.010270] 9de0: 00000028 ddc99c00 00000000 c03d376c 00000000 c0227e2c 00000028 df7dad00
<0>[70443.018482] 9e00: 00000000 000006af 00000000 00000000 00000001 ddd79f68 00000000 ddd79e8c
<0>[70443.026694] 9e20: df16a000 00000000 c0630fc8 00000000 00000000 c038e534 ddd79f68 c038eac4
<0>[70443.034906] 9e40: 00000000 00000000 00000000 009a0010 00000028 be8f2c1c 00000000 ddd79eb4
<0>[70443.043118] 9e60: df16a000 c038ecbc ddbd30c0 00000000 be8f2c74 009b4030 00004000 00000000
<0>[70443.051330] 9e80: ffffffff ffffffff 00000051 c0654d80 ddd79ecc 00000051 00008933 00000000
<0>[70443.059541] 9ea0: 00000000 be8f2cac 00000020 00000010 00000000 00000000 00000000 00000000
<0>[70443.067753] 9ec0: ffffffff 0000007f 00000000 6e616c77 dd636c80 60000013 df401080 dd636a00
<0>[70443.075965] 9ee0: 00000000 dd636a00 df22d0a0 c00f379c df22d10c 00000007 00000000 00000000
<0>[70443.084177] 9f00: dec6d300 c005af44 ddd79f08 ddd79f08 df401180 df22d080 df178000 00000000
<0>[70443.092390] 9f20: df401580 df178000 df178000 0004094d df22d0a0 df16a000 be8f2c90 00000000
<0>[70443.100601] 9f40: 00000128 c000ef04 ddd78000 00000000 b6f44740 c038f864 00000000 00000000
<0>[70443.108813] 9f60: 00000000 fffffff7 ddd79eac 0000000c 00000001 00000000 00000000 ddd79e54
<0>[70443.117025] 9f80: 00000000 00000006 00000000 00000000 00000000 00000000 00000000 00000000
<0>[70443.125236] 9fa0: b6fbe110 c000ed40 00000000 00000000 00000005 be8f2c90 00000000 00000000
<0>[70443.133449] 9fc0: 00000000 00000000 b6fbe110 00000128 b6f44ef0 00000000 000252b4 b6f44740
<0>[70443.141661] 9fe0: be8f2c38 be8f2c24 b6f95204 b6f946d0 60000010 00000005 ffffffff ffffffff
<4>[70443.149890] [<bf0dc844>] (mwl_fwcmd_destroy_ba [mwlwifi]) from [<bf0dcbac>] (mwl_fwcmd_del_sta_streams+0x98/0x330 [mwlwifi])
<4>[70443.161164] [<bf0dcbac>] (mwl_fwcmd_del_sta_streams [mwlwifi]) from [<bf0d7c68>] (mwl_mac80211_sta_remove+0x38/0x1ec [mwlwifi])
<4>[70443.172740] [<bf0d7c68>] (mwl_mac80211_sta_remove [mwlwifi]) from [<bf06aca4>] (drv_sta_state+0x16c/0x184 [mac80211])
<4>[70443.183433] [<bf06aca4>] (drv_sta_state [mac80211]) from [<bf06d2e4>] (sta_info_move_state+0xbc/0x1d0 [mac80211])
<4>[70443.193775] [<bf06d2e4>] (sta_info_move_state [mac80211]) from [<bf06e278>] (sta_set_sinfo+0x954/0xa80 [mac80211])
<4>[70443.204204] [<bf06e278>] (sta_set_sinfo [mac80211]) from [<bf06e3c4>] (__sta_info_destroy+0x20/0x28 [mac80211])
<4>[70443.214372] [<bf06e3c4>] (__sta_info_destroy [mac80211]) from [<bf06e43c>] (sta_info_destroy_addr_bss+0x2c/0x44 [mac80211])
<4>[70443.225588] [<bf06e43c>] (sta_info_destroy_addr_bss [mac80211]) from [<bf03add8>] (nl80211_del_station+0xe8/0xf0 [cfg80211])
<4>[70443.236868] [<bf03add8>] (nl80211_del_station [cfg80211]) from [<bf0296e8>] (extack_doit+0x2c/0x70 [compat])
<4>[70443.246741] [<bf0296e8>] (extack_doit [compat]) from [<c03d4560>] (genl_rcv_msg+0x288/0x310)
<4>[70443.255216] [<c03d4560>] (genl_rcv_msg) from [<c03d38fc>] (netlink_rcv_skb+0x58/0xb4)
<4>[70443.263080] [<c03d38fc>] (netlink_rcv_skb) from [<c03d42c4>] (genl_rcv+0x20/0x34)
<4>[70443.270593] [<c03d42c4>] (genl_rcv) from [<c03d3300>] (netlink_unicast+0x138/0x1fc)
<4>[70443.278283] [<c03d3300>] (netlink_unicast) from [<c03d376c>] (netlink_sendmsg+0x2f0/0x310)
<4>[70443.286586] [<c03d376c>] (netlink_sendmsg) from [<c038e534>] (sock_sendmsg+0x14/0x24)
<4>[70443.294451] [<c038e534>] (sock_sendmsg) from [<c038eac4>] (___sys_sendmsg+0x184/0x228)
<4>[70443.302403] [<c038eac4>] (___sys_sendmsg) from [<c038f864>] (__sys_sendmsg+0x40/0x64)
<4>[70443.310271] [<c038f864>] (__sys_sendmsg) from [<c000ed40>] (ret_fast_syscall+0x0/0x48)
<0>[70443.318223] Code: e5840010 e5d81004 e5c41014 e598c000 (e59c300c)
<4>[70443.324372] ---[ end trace bf36642614617548 ]---
01.02.20181319KernelBug ReportVery LowLowSupport of PC Engines APU1TrunkUnconfirmed Task Description

Is it possible to use LEDs and GPIOs on PC Engines APU1? APU2 works, but APU1 have not drivers.

01_led and 02_network in x86 platform have a support for APU1 but I am not able to find a kernel module as in apu2 platform.

Thanks for answer, Zbynek Kocur


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

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

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

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

 


31.01.20181316Base systemBug ReportVery LowLowkernel, serial line, pl2303 changes breaks ntpd with RA...TrunkUnconfirmed Task Description

kernel time, pl2303, serial line kenel module

Device and Software:

TP-Link 4300v1
OpenWRT 17.01.4, r3560-79f57e422d
Component: kernel, serial line, pl2303

Setup:

ntpd V4.2.6p5 and V4.2.8p10(cross compiled with clock RAWDCF)
reference clock
  server 127.127.8.0-3 mode 5
  RAW DCF77 100/200ms pulses
pl2303 usb to serial adapter (/dev/ttyUSB0)
=> set to 50 Baud by ntpd when opening
DCF77 reciever connected per serial line to pl2303
=> No problem with V12.09 with Attitude Adjustment
   Time decode with dcfd and ntpd works absolutely reliable.
The 100ms/200ms pulses send from the DCF77 reciever code bits "0" and "1".
The length of the signal on the serial RX line is decoded by the ntpd.
One bit per second is send. After 60 seconds the telegram is decoded to the actual time and date.  
 => The puls length hat to be acurately "send" through the pl2303 to the kernel serial line driver into ntpd.

Problem:

Since V15, and also on the latest V17.01.4 the dcfd and ntpd could not decode the dcf telegram.
There always "1" decoded, or the transmission is invalid, due to inconsitency "flapping" bits

Suggestions:

Suspect some changes in the Linux kernel which effects the timne measurement 
or inside the pl2303 driver, so the bits are not corretly decoded (100ms/200ms).

Reproduce/Debug:

I'm able to test new kernel and driver modules on my test environmet
perhaps "setserial" (can't fint it anywhere) can set some serial line parameters

Working well on TP-Link 4300, V12.09:

root@funk:~# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*GENERIC(0)      .DCFa.           0 l   24   64  377    0.000   -0.236   0.430
 funk.koelle.... .INIT.          16 u    - 1024    0    0.000    0.000   0.000
+ntps1-0.eecsit. .PPS.            1 u   52   64  177   28.454   -0.638   2.367
+ptbtime2.ptb.de .PTB.            1 u   20   64  377   19.201   -0.495   2.739
+rustime01.rus.u .PZF.            1 u   26   64  377   18.828   -1.042   2.059
+ntp2.rrze.uni-e .GPS.            1 u   32   64  377   19.264   -0.737   2.068
-ntp2.belwue.de  .PZF.            1 u   43   64  377   21.406   -1.818   1.428
-ts-1.rz.rwth-aa .GPS.            1 u   13   64  377   18.941   -1.521   0.810
 LOCAL(0)        .LOCL.          10 l   4d   64    0    0.000    0.000   0.000

root@funk:~# ntpq -c clockv
associd=0 status=00e0 , 14 events, clk_unspec,
device="RAW DCF77 CODE (Conrad DCF77 receiver module)",
timecode="-####--#-#-###----M-S1-4-1--P-----2P1---1212-1-------81---p",
poll=5549, noreply=0, badformat=0, baddata=7, fudgetime1=191.700,
stratum=0, refid=DCFa, flags=0,
refclock_time="de1c9459.00000000  Wed, Jan 31 2018 19:15:37.000",
refclock_status="TIME CODE; (LEAP INDICATION; ANTENNA)",
refclock_format="RAW DCF77 Timecode",
refclock_states="*NOMINAL: 4d+02:30:16 (99.85%); ILLEGAL DATE: 00:08:37 (0.14%); running time: 4d+02:38:53"

</code>

It would be verry nice if someone could have an insight into this problem.

Many thanks

Lars

31.01.20181315KernelBug ReportVery LowMediumkernel, serial line, pl2303 changes breaks ntpd with RA...lede-17.01Unconfirmed Task Description

Device and Software:

TP-Link 4300v1
OpenWRT 17.01.4, r3560-79f57e422d
Component: kernel, serial line, pl2303

Setup:

ntpd V4.2.6p5 and V4.2.8p10(cross compiled with clock RAWDCF)
reference clock
  server 127.127.8.0-3 mode 5
  RAW DCF77 100/200ms pulses
pl2303 usb to serial adapter (/dev/ttyUSB0)
=> set to 50 Baud by ntpd when opening
DCF77 reciever connected per serial line to pl2303
=> No problem with V12.09 with Attitude Adjustment
   Time decode with dcfd and ntpd works absolutely reliable.
The 100ms/200ms pulses send from the DCF77 reciever code bits "0" and "1".
The length of the signal on the serial RX line is decoded by the ntpd.
One bit per second is send. After 60 seconds the telegram is decoded to the actual time and date.  
 => The puls length hat to be acurately "send" through the pl2303 to the kernel serial line driver into ntpd.

Problem:

Since V15, and also on the latest V17.01.4 the dcfd and ntpd could not decode the dcf telegram.
There always "1" decoded, or the transmission is invalid, due to inconsitency "flapping" bits

Suggestions:

Suspect some changes in the Linux kernel which effects the timne measurement 
or inside the pl2303 driver, so the bits are not corretly decoded (100ms/200ms).

Reproduce/Debug:

I'm able to test new kernel and driver modules on my test environmet
perhaps "setserial" (can't fint it anywhere) can set some serial line parameters

Working well on TP-Link 4300, V12.09:

root@funk:~# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*GENERIC(0)      .DCFa.           0 l   24   64  377    0.000   -0.236   0.430
 funk.koelle.... .INIT.          16 u    - 1024    0    0.000    0.000   0.000
+ntps1-0.eecsit. .PPS.            1 u   52   64  177   28.454   -0.638   2.367
+ptbtime2.ptb.de .PTB.            1 u   20   64  377   19.201   -0.495   2.739
+rustime01.rus.u .PZF.            1 u   26   64  377   18.828   -1.042   2.059
+ntp2.rrze.uni-e .GPS.            1 u   32   64  377   19.264   -0.737   2.068
-ntp2.belwue.de  .PZF.            1 u   43   64  377   21.406   -1.818   1.428
-ts-1.rz.rwth-aa .GPS.            1 u   13   64  377   18.941   -1.521   0.810
 LOCAL(0)        .LOCL.          10 l   4d   64    0    0.000    0.000   0.000

root@funk:~# ntpq -c clockv
associd=0 status=00e0 , 14 events, clk_unspec,
device="RAW DCF77 CODE (Conrad DCF77 receiver module)",
timecode="-####--#-#-###----M-S1-4-1--P-----2P1---1212-1-------81---p",
poll=5549, noreply=0, badformat=0, baddata=7, fudgetime1=191.700,
stratum=0, refid=DCFa, flags=0,
refclock_time="de1c9459.00000000  Wed, Jan 31 2018 19:15:37.000",
refclock_status="TIME CODE; (LEAP INDICATION; ANTENNA)",
refclock_format="RAW DCF77 Timecode",
refclock_states="*NOMINAL: 4d+02:30:16 (99.85%); ILLEGAL DATE: 00:08:37 (0.14%); running time: 4d+02:38:53"

</code>

It would be verry nice if someone could have an insight into this problem.

Many thanks

Lars

31.01.20181314Base systemBug ReportVery LowLowkernel, serial line, pl2303 changes breaks ntpd with RA...TrunkUnconfirmed Task Description

Device and Software:

TP-Link 4300v1
OpenWRT 17.01.4, r3560-79f57e422d
Component: kernel, serial line, pl2303

Setup:

ntpd V4.2.6p5 and V4.2.8p10(cross compiled with clock RAWDCF)
reference clock
  server 127.127.8.0-3 mode 5
  RAW DCF77 100/200ms pulses
pl2303 usb to serial adapter (/dev/ttyUSB0)
=> set to 50 Baud by ntpd when opening
DCF77 reciever connected per serial line to pl2303
=> No problem with V12.09 with Attitude Adjustment
   Time decode with dcfd and ntpd works absolutely reliable.
The 100ms/200ms pulses send from the DCF77 reciever code bits "0" and "1".
The length of the signal on the serial RX line is decoded by the ntpd.
One bit per second is send. After 60 seconds the telegram is decoded to the actual time and date.  
 => The puls length hat to be acurately "send" through the pl2303 to the kernel serial line driver into ntpd.

Problem:

Since V15, and also on the latest V17.01.4 the dcfd and ntpd could not decode the dcf telegram.
There always "1" decoded, or the transmission is invalid, due to inconsitency "flapping" bits

Suggestions:

Suspect some changes in the Linux kernel which effects the timne measurement 
or inside the pl2303 driver, so the bits are not corretly decoded (100ms/200ms).

Reproduce/Debug:

I'm able to test new kernel and driver modules on my test environmet
perhaps "setserial" (can't fint it anywhere) can set some serial line parameters

Working well on TP-Link 4300, V12.09:

<code>root@funk:~# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*GENERIC(0)      .DCFa.           0 l   24   64  377    0.000   -0.236   0.430
 funk.koelle.... .INIT.          16 u    - 1024    0    0.000    0.000   0.000
+ntps1-0.eecsit. .PPS.            1 u   52   64  177   28.454   -0.638   2.367
+ptbtime2.ptb.de .PTB.            1 u   20   64  377   19.201   -0.495   2.739
+rustime01.rus.u .PZF.            1 u   26   64  377   18.828   -1.042   2.059
+ntp2.rrze.uni-e .GPS.            1 u   32   64  377   19.264   -0.737   2.068
-ntp2.belwue.de  .PZF.            1 u   43   64  377   21.406   -1.818   1.428
-ts-1.rz.rwth-aa .GPS.            1 u   13   64  377   18.941   -1.521   0.810
 LOCAL(0)        .LOCL.          10 l   4d   64    0    0.000    0.000   0.000
<code>root@funk:~# ntpq -c clockv
associd=0 status=00e0 , 14 events, clk_unspec,
device="RAW DCF77 CODE (Conrad DCF77 receiver module)",
timecode="-####--#-#-###----M-S1-4-1--P-----2P1---1212-1-------81---p",
poll=5549, noreply=0, badformat=0, baddata=7, fudgetime1=191.700,
stratum=0, refid=DCFa, flags=0,
refclock_time="de1c9459.00000000  Wed, Jan 31 2018 19:15:37.000",
refclock_status="TIME CODE; (LEAP INDICATION; ANTENNA)",
refclock_format="RAW DCF77 Timecode",
refclock_states="*NOMINAL: 4d+02:30:16 (99.85%); ILLEGAL DATE: 00:08:37 (0.14%); running time: 4d+02:38:53"

It would be verry nice if someone could have an insight into this problem.

Many thanks

Lars

30.01.20181313PackagesBug ReportVery LowLowcurl: PRNG seeding failedlede-17.01Unconfirmed Task Description

Device: TP-LINK TL-WR1043ND
LEDE Version: 17.01.4, r3560-79f57e422d
Curl Version: 7.52.1-7

Steps to reproduce:

:~# curl http://example.com/ -F "file=@/tmp/test" -vv
* PRNG seeding failed
curl: (27) PRNG seeding failed   


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

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

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

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


29.01.20181310Base systemBug ReportVery LowMediume2fsprogs/libext2fs breaking krb5AllUnconfirmed Task Description

Basically libext2fs dont cares if there are already existing system libs (libcom_err.so, libe2p.so, libss.so) and installs its own versions. The package also does not provide a dev/install (usr/bin/compile_et) so other packages can at least try using it.

As example package/krb5 can be build with “–with-system-et” yet, even if we copy the e2fsprogs compile_et and supply it via “ac_cv_prog_compile_et=$(STAGING_DIR)/usr/bin/compile_et” its incompatible with what krb5 expects.

So if e2fsprogs is build after krb5, the krb5 libs break and are unusable or any other package that uses com_err.

So the build system libs should probably be static linked and libcom_err, libe2p, libss should not be installed.

Showing tasks 1 - 50 of 461 Page 1 of 101 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing