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
16.08.20181789Base systemBug ReportVery LowVery Lowrtl8xxxu Driver Errorlede-17.01Unconfirmed Task Description

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

 

LEDE: brim 2708
DOWNLOAD: https://archive.openwrt.org/releases/17.01.4/targets/brcm2708/bcm2708/

Running on a Raspberry Pi B REV 2

I have installed the kmod-rtl8xxxu package and its dependancies but still the device won’t show up.

So I ran dmesg and noticed this:

[ 7.127568] usbhid: USB HID core driver
[ 7.150947] xt_time: kernel timezone is -0000
[ 7.218384] PPP generic driver version 2.4.2
[ 7.228193] NET: Registered protocol family 24
[ 7.365719] random: nonblocking pool is initialized
[ 7.393191] usb 1-1.3: Vendor: Realtek
[ 7.399764] usb 1-1.3: Product: 802.11n NI
[ 7.406593] usb 1-1.3: Serial:
[ 7.412283] usb 1-1.3: rtl8192eu_parse_efuse: dumping efuse (0×200 bytes):
[ 7.421873] usb 1-1.3: 00: 29 81 00 7c 01 40 03 00
[ 7.429319] usb 1-1.3: 08: 40 74 04 50 14 00 00 00
[ 7.436637] usb 1-1.3: 10: 28 28 27 27 27 27 2a 2a
[ 7.443914] usb 1-1.3: 18: 2a 2a 2a f2 ef ef ff ff
[ 7.451129] usb 1-1.3: 20: ff ff ff ff ff ff ff ff
[ 7.458239] usb 1-1.3: 28: ff ff ff ff ff ff ff ff
[ 7.465222] usb 1-1.3: 30: ff ff ff ff ff ff ff ff
[ 7.472068] usb 1-1.3: 38: ff ff 28 28 28 28 28 28
[ 7.478840] usb 1-1.3: 40: 29 29 29 29 29 f2 ef ef
[ 7.485465] usb 1-1.3: 48: ff ff ff ff ff ff ff ff
[ 7.492049] usb 1-1.3: 50: ff ff ff ff ff ff ff ff
[ 7.498557] usb 1-1.3: 58: ff ff ff ff ff ff ff ff
[ 7.504925] usb 1-1.3: 60: ff ff ff ff ff ff ff ff
[ 7.511290] usb 1-1.3: 68: ff ff ff ff ff ff ff ff
[ 7.517588] usb 1-1.3: 70: ff ff ff ff ff ff ff ff
[ 7.523759] usb 1-1.3: 78: ff ff ff ff ff ff ff ff
[ 7.529913] usb 1-1.3: 80: ff ff ff ff ff ff ff ff
[ 7.535961] usb 1-1.3: 88: ff ff ff ff ff ff ff ff
[ 7.541997] usb 1-1.3: 90: ff ff ff ff ff ff ff ff
[ 7.548005] usb 1-1.3: 98: ff ff ff ff ff ff ff ff
[ 7.553881] usb 1-1.3: a0: ff ff ff ff ff ff ff ff
[ 7.559693] usb 1-1.3: a8: ff ff ff ff ff ff ff ff
[ 7.565440] usb 1-1.3: b0: ff ff ff ff ff ff ff ff
[ 7.571165] usb 1-1.3: b8: a1 1a 1f 00 00 00 ff ff
[ 7.576858] usb 1-1.3: c0: ff 01 00 10 00 00 00 ff
[ 7.582572] usb 1-1.3: c8: 00 00 ff ff ff ff ff ff
[ 7.588330] usb 1-1.3: d0: 57 23 09 01 e7 47 02 98
[ 7.594102] usb 1-1.3: d8: de d0 09 a6 8f 0a 03 52
[ 7.599907] usb 1-1.3: e0: 65 61 6c 74 65 6b 20 0e
[ 7.605670] usb 1-1.3: e8: 03 38 30 32 2e 31 31 6e
[ 7.611493] usb 1-1.3: f0: 20 4e 49 43 20 00 00 ff
[ 7.617367] usb 1-1.3: f8: ff ff ff ff ff ff ff ff
[ 7.623222] usb 1-1.3: 100: ff ff ff ff ff ff ff ff
[ 7.629258] usb 1-1.3: 108: ff ff ff ff ff ff ff ff
[ 7.635264] usb 1-1.3: 110: ff ff ff ff ff ff ff 0d
[ 7.641285] usb 1-1.3: 118: 03 00 05 00 30 00 00 00
[ 7.647376] usb 1-1.3: 120: 00 93 ff ff ff ff ff ff
[ 7.653477] usb 1-1.3: 128: ff ff ff ff ff ff ff ff
[ 7.659655] usb 1-1.3: 130: f6 a8 98 2d 03 92 98 00
[ 7.665849] usb 1-1.3: 138: fc 8c 00 11 9b 44 02 0a
[ 7.672072] usb 1-1.3: 140: ff ff ff ff ff ff ff ff
[ 7.678364] usb 1-1.3: 148: ff ff ff ff ff ff ff ff
[ 7.684601] usb 1-1.3: 150: ff ff ff ff ff ff ff ff
[ 7.690851] usb 1-1.3: 158: ff ff ff ff ff ff ff ff
[ 7.697093] usb 1-1.3: 160: ff ff ff ff ff ff ff ff
[ 7.703272] usb 1-1.3: 168: ff ff ff ff ff ff ff ff
[ 7.709442] usb 1-1.3: 170: ff ff ff ff ff ff ff ff
[ 7.715535] usb 1-1.3: 178: ff ff ff ff ff ff ff ff
[ 7.721616] usb 1-1.3: 180: ff ff ff ff ff ff ff ff
[ 7.727662] usb 1-1.3: 188: ff ff ff ff ff ff ff ff
[ 7.733627] usb 1-1.3: 190: ff ff ff ff ff ff ff ff
[ 7.739564] usb 1-1.3: 198: ff ff ff ff ff ff ff ff
[ 7.745450] usb 1-1.3: 1a0: ff ff ff ff ff ff ff ff
[ 7.751315] usb 1-1.3: 1a8: ff ff ff ff ff ff ff ff
[ 7.757175] usb 1-1.3: 1b0: ff ff ff ff ff ff ff ff
[ 7.763005] usb 1-1.3: 1b8: ff ff ff ff ff ff ff ff
[ 7.768816] usb 1-1.3: 1c0: ff ff ff ff ff ff ff ff
[ 7.774538] usb 1-1.3: 1c8: ff ff ff ff ff ff ff ff
[ 7.780301] usb 1-1.3: 1d0: ff ff ff ff ff ff ff ff
[ 7.785989] usb 1-1.3: 1d8: ff ff ff ff ff ff ff ff
[ 7.791650] usb 1-1.3: 1e0: ff ff ff ff ff ff ff ff
[ 7.797291] usb 1-1.3: 1e8: ff ff ff ff ff ff ff ff
[ 7.802892] usb 1-1.3: 1f0: ff ff ff ff ff ff ff ff
[ 7.808524] usb 1-1.3: 1f8: ff ff ff ff ff ff ff ff
[ 7.814134] usb 1-1.3: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
[ 7.824421] usb 1-1.3: RTL8192EU MAC: 98:de:d0:09:a6:8f
[ 7.830775] usb 1-1.3: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
[ 7.840314] usb 1-1.3: Direct firmware load for rtlwifi/rtl8192eu_nic.bin failed with error -2
[ 7.851713] usb 1-1.3: Falling back to user helper
[ 7.876775] firmware rtlwifi!rtl8192eu_nic.bin: firmware_loading_store: map pages failed
[ 7.888680] usb 1-1.3: request_firmware(rtlwifi/rtl8192eu_nic.bin) failed
[ 7.897543] usb 1-1.3: Fatal - failed to load firmware
[ 7.904765] rtl8xxxu: probe of 1-1.3:1.0 failed with error -11

16.08.20181788Base systemBug ReportVery LowLowath79: PCI devices get the same IRQ that causes problem...TrunkUnconfirmed Task Description

I am testing ath79 image on DIR-825B1 device.
The device has 2 ath9k wireless adapters connected to PCI BUS.

After af3b1756f00bfd1e6726d85ce23336112201afce the IRQ is assigned, but one for both adapters. In my case IRQ 12.

I think that causes problems:

1. If I disable the 5GHz device in /etc/config/wireless, the other device is malfunctioning. It doesn’t send beacons and isn’t detected.

2. If both wireless adapters are enabled, 5Ghz works poorly.

16.08.20181787Base systemBug ReportVery LowHighiw doesn't support wep with ibss adhocTrunkUnconfirmed Task Description

VoCore2 / OpenWrt SNAPSHOT, r7866-8c91807

Works:

# iw phy phy0 interface add f00 type ibss
# ip link set up f00
# iw dev f00 ibss join foobar 2412
root@tolppaB8D812x67_27402:~# iwinfo f00 info
f00 ESSID: “foobar”

        Access Point: B8:D8:12:67:6B:0A
        Mode: Ad-Hoc  Channel: 1 (2.412 GHz)
        Tx-Power: 0 dBm  Link Quality: unknown/70
        Signal: unknown  Noise: unknown
        Bit Rate: unknown
        Encryption: unknown
        Type: nl80211  HW Mode(s): 802.11bgn
        Hardware: unknown [Generic MAC80211]
        TX power offset: unknown
        Frequency offset: unknown
        Supports VAPs: yes  PHY name: phy0

Does NOT work:

# iw dev f00 ibss join foobar 2412 key d:0:42325d294a
Usage: iw [options] dev <devname> ibss join <SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]

Join the IBSS cell with the given SSID, if it doesn’t exist create
it on the given frequency. When fixed frequency is requested, don’t
join/create a cell on a different frequency. When a fixed BSSID is
requested use that BSSID and do not adopt another cell’s BSSID even
if it has higher TSF and the same SSID. If an IBSS is created, create
it with the specified basic-rates, multicast-rate and beacon-interval.

Options:

  1. -debug enable netlink debugging
16.08.20181785WebsiteBug ReportVery LowMediumarchive.openwrt.org not reachable on IPv6TrunkUnconfirmed Task Description

Hello,

Today I found that my LEDE 17.01.4 router can no longer download packages. The router is on an IPv6-only network, and 17.01.4 stuff seems to have been moved to archive.openwrt.org, which does not support IPv6:

archive.openwrt.org is an alias for archive-01.infra.openwrt.org.
archive-01.infra.openwrt.org has address 81.0.124.218

whereas the normal download servers do:

$ host downloads.lede-project.org
downloads.lede-project.org is an alias for downloads2.lede-project.org.
downloads2.lede-project.org has address 148.251.78.235
downloads2.lede-project.org has IPv6 address 2a01:4f8:202:43ea::3

$ host downloads.openwrt.org
downloads.openwrt.org is an alias for mirror-01.infra.openwrt.org.
mirror-01.infra.openwrt.org has address 148.251.78.235
mirror-01.infra.openwrt.org has IPv6 address 2a01:4f8:202:43ea::2

Can you please add IPv6 on the archive as well.

Thanks!

16.08.20181784KernelBug ReportVery LowMediumMany 5Ghz channels are missing from the Linksys EA3500 AllUnconfirmed Task Description

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

 

As far as I am aware this issue has been present since 17.XX
On EA3500 and EA4500 only the lowest 4 5Ghz channels are available.

There is a [[Patch|https://patchwork.kernel.org/patch/10060831/]] which was accepted and fixed the issue 
but never merged/included in the source for these devices .
Steps to reproduce this issue is simply installing Lede on the device  , same on any Lede 17.XX version or 
even the newly released 18.06.0.
15.08.20181782Base systemBug ReportVery LowLowunable to boot ath79 GL-AR300M NANDTrunkUnconfirmed Task Description

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

 

ar71xx NAND works fine on GL-AR300M but ath79 target does not want to boot, it seems NAND is not detected even though kernel support seems to be there.

Loading from device 0: ath-spi-nand (offset 0x0)
   Image Name:   MIPS OpenWrt Linux-4.14.62
   Created:      2018-08-15   5:42:36 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1568489 Bytes =  1.5 MB
   Load Address: 80060000
   Entry Point:  80060000
## Booting image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.62
   Created:      2018-08-15   5:42:36 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1568489 Bytes =  1.5 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x81000040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 4.14.62 (dev@4530s) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7862-ae9c3105a3)) #0 Wed Aug 15 05:42:36 2018
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is GL.iNet GL-AR300M
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 123376K/131072K available (3660K kernel code, 136K rwdata, 856K rodata, 1228K init, 206K bss, 7696K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 650.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008228] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074858] pid_max: default: 32768 minimum: 301
[    0.079924] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.086897] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.098338] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.108751] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.115251] pinctrl core: initialized pinctrl subsystem
[    0.121243] NET: Registered protocol family 16
[    0.147164] clocksource: Switched to clocksource MIPS
[    0.153476] NET: Registered protocol family 2
[    0.158826] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.166184] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.172938] TCP: Hash tables configured (established 1024 bind 1024)
[    0.179786] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.185953] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.192867] NET: Registered protocol family 1
[    0.201100] Crashlog allocated RAM at address 0x3f00000
[    0.207850] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.219474] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.225616] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.244306] io scheduler noop registered
[    0.248491] io scheduler deadline registered (default)
[    0.256028] pinctrl-single 1804002c.pinmux: 576 pins at pa b804002c size 72
[    0.264336] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.271753] console [ttyS0] disabled
[    0.275559] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 1562500) is a 16550A
[    0.284705] console [ttyS0] enabled
[    0.284705] console [ttyS0] enabled
[    0.292263] bootconsole [early0] disabled
[    0.292263] bootconsole [early0] disabled
[    0.305162] ath79-spi 1f000000.spi: cs1 >= max 1
[    0.310002] spi_master spi0: spi_device register error /ahb/spi@1f000000/flash@1
[    0.317655] spi_master spi0: Failed to create SPI device for /ahb/spi@1f000000/flash@1
[    0.327827] m25p80 spi0.0: found mx25l12805d, expected w25q128
[    0.333942] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.339242] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.345803] Creating 4 MTD partitions on "spi0.0":
[    0.350775] 0x000000000000-0x000000040000 : "u-boot"
[    0.356716] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.362986] 0x000000050000-0x000000ff0000 : "reserved"
[    0.369111] 0x000000ff0000-0x000001000000 : "art"
[    0.375186] libphy: Fixed MDIO Bus: probed
[    0.717555] libphy: ag71xx_mdio: probed
[    1.007627] mdio-bus.0:1f: Found an AR934X built-in switch
[    1.013471] libphy: ar7240sw_mdio: probed
[    1.409381] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.419817] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.758809] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.768733] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    1.776980] NET: Registered protocol family 10
[    1.786051] Segment Routing with IPv6
[    1.790004] NET: Registered protocol family 17
[    1.794641] 8021q: 802.1Q VLAN Support v1.8
[    1.801927] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.809717] Please append a correct "root=" boot option; here are the available partitions:
[    1.818357] 1f00             256 mtdblock0 
[    1.818361]  (driver?)
[    1.825115] 1f01              64 mtdblock1 
[    1.825118]  (driver?)
[    1.831878] 1f02           16000 mtdblock2 
[    1.831881]  (driver?)
[    1.838635] 1f03              64 mtdblock3 
[    1.838638]  (driver?)
[    1.845390] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.854644] Rebooting in 1 seconds..
�

U-Boot 1.1.4-g36de7573-dirty (Jun  1 2017 - 09:14:12)


15.08.20181781Base systemBug ReportVery LowMedium"/sbin/block detect" reports improper uuid for raid par...AllUnconfirmed Task Description

This bug is device independent (I think).

As a result of this bug, /etc/config/fstab may contain damaged content, and also block mount may fail.

‘block detect’ reports bad uuid for /dev/sda1 (and others) mixing inside uuid of raid volume with outside of the partitions.
Bug is ‘block detect’ showing the same uuid for /dev/sda1 and /dev/md1 while they are different, as you can observe in /sbin/blkid output at the middle of output below.

Important: /sbin/blkid from busybox may have same/similar bug as its reporting even different uuid. The standalone /usr/sbin/blkid works properly (shown in the middle of below) and should be basis for comparison.

root@bee:/tmp# block detect
config 'global'
        option  anon_swap       '0'
        option  anon_mount      '0'
        option  auto_swap       '1'
        option  auto_mount      '1'
        option  delay_root      '5'
        option  check_fs        '0'

config 'mount'
        option  target  '/mnt/sda1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'

config 'mount'
        option  target  '/mnt/sdb1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'

config 'mount'
        option  target  '/mnt/md1'
        option  uuid    '48f38899-5efb-4477-adca-bf11d81df99f'
        option  enabled '0'


root@bee:/tmp# which blkid
/usr/sbin/blkid
root@bee:/tmp# blkid
/dev/mtdblock5: TYPE="squashfs"
/dev/sda1: UUID="8b2d137c-4973-133d-6de4-7e91c4a4cdb0" TYPE="linux_raid_member" PARTUUID="f6eb912c-6ef7-4b8b-90d7-3ccc4e05d0c3"
/dev/sdb1: UUID="8b2d137c-4973-133d-6de4-7e91c4a4cdb0" TYPE="linux_raid_member" PARTUUID="731a8023-5734-463e-8866-46ea97a3f928"
/dev/md1: LABEL="OVERLAYROOT" UUID="48f38899-5efb-4477-adca-bf11d81df99f" TYPE="ext4"


root@bee:/tmp# /sbin/blkid
/dev/md1: LABEL="OVERLAYROOT" UUID="48f38899-5efb-4477-adca-bf11d81df99f" TYPE="ext4"
/dev/sda1: UUID="7c132d8b-3d13-7349-917e-e46db0cda4c4" TYPE="linux_raid_member"
/dev/sdb1: UUID="7c132d8b-3d13-7349-917e-e46db0cda4c4" TYPE="linux_raid_member"
15.08.20181780Base systemBug ReportVery LowLowbrcm63xx: SR102 double entry in make infoTrunkUnconfirmed Task Description

/openwrt/snapshots/brcm63xx/generic

  make info
  [...]
  SR102:
      SKY SR102
      Packages: kmod-b43 wpad-mini kmod-usb2 kmod-usb-ohci iwinfo
  SR102:
      SKY-SR102
      Packages: kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
  [...]

I guess that’s an typo somewhere but as I don’t know about the deeper structure nor the model I can’t suggest a fix.

14.08.20181779ToolchainBug ReportVery LowMediumtools/include headers contain old, incomplete versions?AllUnconfirmed Task Description

I tried to add a package that includes <elf.h> on host and this comes from the tools/include files. The build failed because “AT_HWCAP2” was undefined.

After comparing the host distro against tools/include its clear that those files are quite old “1995-2012” vs “1995-2018”.
So why do we keep those few headers around in a old version anyway and not use the host headers?

If they are just some old copy’s, than maybe they should at least be updated?

14.08.20181778Base systemBug ReportVery LowHighrelease 18.06 does not work for recent RouterBoard 450G...openwrt-18.06Unconfirmed Task Description

OpenWrt 18.06. does not work on at least some RB45Gs, because the yaffs2-Image for the kernel in

openwrt-18.06.0-ar71xx-mikrotik-nand-large-squashfs-sysupgrade.bin

seems to be created with a pagesize of 2048, but my recent RB450G contains a NAND-Chip with a pagesize of 4096 (as displayed by the linux-kernel). Flashing this image onto this chip with “nandwrite -o”, inside function platform_nand_pre_upgrade() in file target/linux/ar71xx/base-files/lib/upgrade/platform.sh, screws up oop-data and renders the kernel-nand-partition unbootable, unreadable, unwritable and even unerasable (at least with “mtd erase”).

See attached File cap1.txt for an installation log. The Installation seemed to work just fine, but the device did not bool any more.
See attached File cap2.txt for a log of a netboot-session after that. The kernel showed up 6 new “Bad eraseblock”s and “mtd erase” did not work any more.
After restoring Mikrotik’s RouterOS to the device with their NetInstall-Application, the “bad eraseblock”s were gone, which prooves, that the NAND-Chip is not really defective and the “Bad eraseblock” are erroneous.

There seem to be RouterBoards with different NAND-Chips around: This page:

https://wikidevi.com/wiki/MikroTik_RouterBOARD_450G_%28RB450G%29

states that it is a “Hynix HY27UT084G2A”, but the Linux-Kernel states that
the Chip is from Toshiba. Hence the sysupgrade-procedure should probably prepared
for different yaffs2-page-sizes.

Workaround:

After quite some time, I figures out the following workaround:

  1. Netboot OpenWrt 18-06.
  2. Open the file /lib/upgrade/platform.sh with vi and comment out the nandwrite-call in line 760.
  3. Call sysupgrade as usual –> The Installation will not be bootable, but the kernel-Partition will still be accessable
  4. Netboot OpenWrt 14.07 (because v18.06 lacks yaffs2-kernel-support !)
  5. Manually install the kernel-file with:
mtd erase /dev/mtd5
mkdir /mnt/kernel
mount -t yaffs2 /dev/mtdblock5 /mnt/kernel
cd /mnt/kernel
wget -O kernel http://192.168.88.1:8080/openwrt-18.06.0-ar71xx-mikrotik-vmlinux-lzma.elf
chmod +x kernel
cd /
sync
umount /mnt/kernel

With this procedure I got a working installation.

14.08.20181777Base systemBug ReportVery LowVery Lowrelease 18.06 on RouterBoards (ar71xx/mikrotik): superf...openwrt-18.06Unconfirmed Task Description

The sysupgrade-procedure of release 18.06 for RouterBoards (ar71xx/mikrotik)
(as contained in openwrt-18.06.0-ar71xx-mikrotik-vmlinux-initramfs-lzma.elf) creates
a superfluous UBI volume named “none”.

Details:

The function platform_nand_pre_upgrade() intarget/linux/ar71xx/base-files/lib/upgrade/platform.sh sets
“CI_KERNPART=none” to bypass the normal kernel-install-procedure.
This works, but causes nand_upgrade_prepare_ubi() in package/base-files/files/lib/upgrade/nand.sh
to creat an UBI volume named “none”, containing a (supposedly defective) kernel-yaffs2-image.

Used command :

sysupgrade -n -v http://192.168.88.1:8080/openwrt-18.06.0-ar71xx-mikrotik-nand-large-squashfs-sysupgrade.bin

14.08.20181776Base systemBug ReportVery LowMediumImageBuilder for brcm47x-mips74k reports "WARNING: maxl...openwrt-18.06Unconfirmed Task Description

I am using OpenWRT Image Builder 18.06 for brcm47x-mips74k like this:

make image PROFILE=linksys-e2500-v3 PACKAGES="openvpn-openssl mini_snmpd dnsmasq-full luci-app-mwan3 luci-app-sqm usb-modeswitch -dnsmasq kmod-nf-nathelper kmod-nf-nathelper-extra luci-ssl-openssl luci-proto-3g luci-app-ddns openssl-util luci-theme-material"

and I get

mjn3's trx replacement - v0.81.1
WARNING: maxlen exceeds default maximum!  Beware of overwriting nvram!

more than a dozen times. I am unsure whether I should use the resulting images or if they are indeed broken.

13.08.20181772Base systemBug ReportVery LowMediumsunxi: broken sysupgradeAllUnconfirmed Task Description

Hi all
With both trunk (even pre 18.06.x) 18.06.x the sysupgrade for sunxi target (verified with BananaPi and new Orange Pi PC2) does not work
Tested with both ext4 and squashfs upgrade (of course only ext4 to ext4 and squashfs to squashfs) creating a dummy file under /usr/bin that remains after reboot
First log attempting to upgrade img.gz

root@MenionRouter:/# sysupgrade -v /tmp/openwrt-sunxi-cortexa53-sun50i-h5-orange
pi-pc2-squashfs-sdcard.img.gz
Image metadata not found
Reading partition table from bootdisk... gzip: stdout: Broken pipe
Reading partition table from image...
Saving config files...
/etc/config/.system.uci-AHDKKD
/etc/config/adblock
/etc/config/adblock-opkg
/etc/config/ddns
/etc/config/dhcp
/etc/config/dropbear
/etc/config/firewall
/etc/config/luci
/etc/config/luci-opkg
/etc/config/minidlna
/etc/config/mwan3
/etc/config/network
/etc/config/nlbwmon
/etc/config/ntpclient
/etc/config/openvpn
/etc/config/openvpn-opkg
/etc/config/openvpn_recipes
/etc/config/rpcd
/etc/config/squid
/etc/config/stunnel
/etc/config/system
/etc/config/ucitrack
/etc/config/ucitrack-opkg
/etc/config/uhttpd
/etc/config/uhttpd-opkg
/etc/config/upnpd
/etc/config/upnpd-opkg
/etc/config/wifi_schedule
/etc/config/wireless
/etc/dropbear/dropbear_rsa_host_key
/etc/easy-rsa/android.ovpn
/etc/easy-rsa/keys/01.pem
/etc/easy-rsa/keys/02.pem
/etc/easy-rsa/keys/ca.crt
/etc/easy-rsa/keys/ca.key
/etc/easy-rsa/keys/dh2048.pem
/etc/easy-rsa/keys/index.txt
/etc/easy-rsa/keys/index.txt-opkg
/etc/easy-rsa/keys/index.txt.attr
/etc/easy-rsa/keys/index.txt.attr.old
/etc/easy-rsa/keys/index.txt.old
/etc/easy-rsa/keys/my-Ros.crt
/etc/easy-rsa/keys/my-Ros.csr
/etc/easy-rsa/keys/my-Ros.key
/etc/easy-rsa/keys/my-Ros.p12
/etc/easy-rsa/keys/my-android.crt
/etc/easy-rsa/keys/my-android.csr
/etc/easy-rsa/keys/my-android.key
/etc/easy-rsa/keys/my-android.p12
/etc/easy-rsa/keys/my-lavoro.crt
/etc/easy-rsa/keys/my-lavoro.csr
/etc/easy-rsa/keys/my-lavoro.key
/etc/easy-rsa/keys/my-lavoro.p12
/etc/easy-rsa/keys/my-server.crt
/etc/easy-rsa/keys/my-server.csr
/etc/easy-rsa/keys/my-server.key
/etc/easy-rsa/keys/serial
/etc/easy-rsa/keys/serial-opkg
/etc/easy-rsa/keys/serial.old
/etc/easy-rsa/lavoro.ovpn
/etc/easy-rsa/openssl-1.0.0.cnf
/etc/easy-rsa/openssl-1.0.cnf
/etc/easy-rSending TERM to remaining processes ... sleep sleep ubusd askfirst logd rpcd monitor ovsdb-server monitor ovs-vswitchd netifd odhcpd minidlna uhttpd nlbwmon openvpn openvpn squid ntpd acpid hostapd hostapd miniupnpd miniupnpd[5112]: shutting down MiniUPnPd
sh dnsmasq sh
acpid: exiting
[ 175.976969] device wlan0 left promiscuous mode
[ 175.982039] br-lan: port 3(wlan0) entered disabled state
[ 176.032358] device wlan1 left promiscuous mode
[ 176.036984] br-lan: port 2(wlan1) entered disabled state
Sending KILL to remaining processes ... squid
Switching to ramdisk...
Performing system upgrade...
Reading partition table from bootdisk...
/usr/bin/zcat: exec: line 51: gzip: not found
[ 181.207511] kvm: exiting hardware virtualization
0+0 records in
0+0 records out
Reading partition table from image...
Invalid partition table on /tmp/image.bs
[ 181.217810] reboot: Restarting system

As you can see it seems that gzip is missing from the ramdisk, so the upgrade aborts. After having seen this, I first uncrompress the img.gz to img and tried again:

root@MenionRouter:/# sysupgrade -v /tmp/openwrt-sunxi-cortexa53-sun50i-h5-orange
pi-pc2-squashfs-sdcard.img
Reading partition table from bootdisk...
cat: write error: Broken pipe
Reading partition table from image...
Saving config files...
/etc/config/.system.uci-AHDKKD
/etc/config/adblock
/etc/config/adblock-opkg
/etc/config/ddns
/etc/config/dhcp
/etc/config/dropbear
/etc/config/firewall
/etc/config/luci
/etc/config/luci-opkg
/etc/config/minidlna
/etc/config/mwan3
/etc/config/network
/etc/config/nlbwmon
/etc/config/ntpclient
/etc/config/openvpn
/etc/config/openvpn-opkg
/etc/config/openvpn_recipes
/etc/config/rpcd
/etc/config/squid
/etc/config/stunnel
/etc/config/system
/etc/config/ucitrack
/etc/config/ucitrack-opkg
/etc/config/uhttpd
/etc/config/uhttpd-opkg
/etc/config/upnpd
/etc/config/upnpd-opkg
/etc/config/wifi_schedule
/etc/config/wireless
/etc/dropbear/dropbear_rsa_host_key
/etc/easy-rsa/android.ovpn
/etc/easy-rsa/keys/01.pem
/etc/easy-rsa/keys/02.pem
/etc/easy-rsa/keys/ca.crt
/etc/easy-rsa/keys/ca.key
/etc/easy-rsa/keys/dh2048.pem
/etc/easy-rsa/keys/index.txt
/etc/easy-rsa/keys/index.txt-opkg
/etc/easy-rsa/keys/index.txt.attr
/etc/easy-rsa/keys/index.txt.attr.old
/etc/easy-rsa/keys/index.txt.old
/etc/easy-rsa/keys/my-Ros.crt
/etc/easy-rsa/keys/my-Ros.csr
/etc/easy-rsa/keys/my-Ros.key
/etc/easy-rsa/keys/my-Ros.p12
/etc/easy-rsa/keys/my-android.crt
/etc/easy-rsa/keys/my-android.csr
/etc/easy-rsa/keys/my-android.key
/etc/easy-rsa/keys/my-android.p12
/etc/easy-rsa/keys/my-lavoro.crt
/etc/easy-rsa/keys/my-lavoro.csr
/etc/easy-rsa/keys/my-lavoro.key
/etc/easy-rsa/keys/my-lavoro.p12
/etc/easy-rsa/keys/my-server.crt
/etc/easy-rsa/keys/my-server.csr
/etc/easy-rsa/keys/my-server.key
/etc/easy-rsa/keys/serial
/etc/easy-rsa/keys/serial-opkg
/etc/easy-rsa/keys/serial.old
/etc/easy-rsa/lavoro.ovpn
/etc/easy-rsa/openssl-1.0.0.cnf
/etc/easy-rsa/opensslSending TERM to remaining processes ... sleep sleep ubusd askfirst logd rpcd monitor ovsdb-server monitor ovs-vswitchd netifd odhcpd minidlna uhttpd nlbwmon openvpn openvpn squid ntpd acpid hostapd hostapd miniupnpd miniupnpd[5126]: shutting down MiniUPnPd
sh sh dnsmasq
acpid: exiting
[ 92.437752] device wlan1 left promiscuous mode
[ 92.442327] br-lan: port 2(wlan1) entered disabled state
[ 92.448910] device wlan0 left promiscuous mode
[ 92.453768] br-lan: port 3(wlan0) entered disabled state
Sending KILL to remaining processes ... squid
Switching to ramdisk...
Performing system upgrade...
Reading partition table from bootdisk...
cat: write error: Broken pipe
Reading partition table from image...
1016+0 records in
1016+0 records out
Writing image to /dev/mmcblk0p1...
cat: write error: Broken pipe
40960+0 records in
20+0 records out
Writing image to /dev/mmcblk0p2...
38223+1 records in
18+1 records out
Writing new UUID to /dev/mmcblk0...
4+0 records in
4+0 records out
Upgrade completed
Rebooting system...
umount: can’t unmount /dev: Resource busy
umount: can’t unmount /tmp: Resource busy

Here something happen, but I get this write error due to broken pipe happening randomly in one or more of the mmc write. The result is a working SD card, I see the config being restored (even if with timestamp issue)

[ 9.963481] mount_root: switching to f2fs overlay
- config restore -
tar: etc/config/.system.uci-AHDKKD: time stamp 2017-08-21 21:02:25 is 1503349334.873834079 s in the future
tar: etc/config/adblock: time stamp 2018-03-02 18:15:32 is 1520014521.872032829 s in the future
tar: etc/config/adblock-opkg: time stamp 2018-02-24 14:13:16 is 1519481585.871617621 s in the future
tar: etc/config/ddns: time stamp 2018-03-02 08:48:43 is 1519980512.871290329 s in the future

But the temp file written in the overlay is still there:

root@MenionRouter:/# cd /usr/bin
root@MenionRouter:/usr/bin# ls foo
foo
root@MenionRouter:/usr/bin#

So apparently there are two issue (maybe correlated): there is no gzip in the ramdisk which prevent img.gz to work and the overlay filesystem that won’t get reset
Bye


13.08.20181771Base systemBug ReportVery LowLowError Log - mac80211/rx.c openwrt-18.06Unconfirmed Task Description

WAN stopped working then noticed this in dmesg not sure if to events related

[85451.573214] ————[ cut here ]———— [85451.576496] WARNING: CPU: 0 PID: 3 at backports-2017-11-01/net/mac80211/rx.c:4347 0x82c26514 [mac80211@82c00000+0x61ca0]
[85451.587239] Rate marked as an HT rate but passed status→rate_idx is not an MCS index [0-76]: 98 (0×62)
[85451.596538] Modules linked in: ltq_atm_ar9 ath9k ath9k_common ath9k_hw ath pppoe 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 pppox ppp_async owl_loader 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 ltq_deu_ar9 iptable_mangle iptable_filter ip_tables crc_ccitt compat drv_dsl_cpe_api ledtrig_usbport 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 br2684 atm usb_storage sd_mod scsi_mod ext4 jbd2 mbcache crc32c_generic dwc2 gpio_button_hotplug
[85451.667460] aead cryptomgr crypto_null
[85451.669954] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.9.111 #0
[85451.676117] Stack : 805e7892 00000036 00000000 00000001 00000000 00000000 00000000 00000000
[85451.684365] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85451.692659] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85451.700953] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85451.709248] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[85451.717542] ...
[85451.719962] Call Trace:
[85451.722309] [<8000edb0>] 0x8000edb0
[85451.725675] [<8000edb0>] 0x8000edb0
[85451.729200] [<800271c8>] 0x800271c8
[85451.732636] [<82c26514>] 0x82c26514 [mac80211@82c00000+0x61ca0]
[85451.738553] [<80027200>] 0×80027200 [85451.741994] [<82c26514>] 0x82c26514 [mac80211@82c00000+0x61ca0]
[85451.747876] [<802c9c3c>] 0x802c9c3c
[85451.751320] [<802c9e48>] 0x802c9e48
[85451.754782] [<833fc37c>] 0x833fc37c [ath9k_common@833fc000+0x2a80]
[85451.760992] [<82ce78ac>] 0x82ce78ac [ath9k@82ce0000+0x160f0]
[85451.766578] [<802d6a00>] 0x802d6a00
[85451.769951] [<82ce4d90>] 0x82ce4d90 [ath9k@82ce0000+0x160f0]
[85451.775622] [<8002a790>] 0x8002a790
[85451.779032] [<80029fc0>] 0x80029fc0
[85451.782482] [<800495cc>] 0x800495cc
[85451.785946] [<8002a118>] 0x8002a118
[85451.789399] [<80040568>] 0×80040568 [85451.792840] [<80044a28>] 0x80044a28
[85451.796337] [<800448b0>] 0x800448b0
[85451.799826] [<800448b0>] 0x800448b0
[85451.803222] [<80040974>] 0×80040974 [85451.806674] [<8014a005>] 0x8014a005
[85451.810205] [<8004085c>] 0x8004085c
[85451.813557] [<80009798>] 0×80009798 [85451.817048]
[85451.818496] —[ end trace 368f08669849794a ]—

# cat /etc/os-release
NAME=”OpenWrt” VERSION=”18.06.0” ID=”openwrt” ID_LIKE=”lede openwrt” PRETTY_NAME=”OpenWrt 18.06.0” VERSION_ID=”18.06.0” HOME_URL=”http://openwrt.org/” BUG_URL=”http://bugs.openwrt.org/” SUPPORT_URL=”http://forum.lede-project.org/” BUILD_ID=”r7188-b0b5c64c22” LEDE_BOARD=”lantiq/xway” LEDE_ARCH=”mips_24kc” LEDE_TAINTS=”” LEDE_DEVICE_MANUFACTURER=”OpenWrt” LEDE_DEVICE_MANUFACTURER_URL=”http://openwrt.org/” LEDE_DEVICE_PRODUCT=”Generic” LEDE_DEVICE_REVISION=”v0” LEDE_RELEASE=”OpenWrt 18.06.0 r7188-b0b5c64c22”

12.08.20181769PackagesFeature RequestVery LowMediumEnable built-in RADIUS support for full version of host...TrunkUnconfirmed Task Description

hostapd has built-in RADIUS server and capable to perform EAP authentication without external authenticator. Unfortunately OpenWRT package builds full version of hostapd with internal crypto backend. All functions related to EAP-TLS in internal crypto backend stubbed with empty bodies returning error immediately.

Recently I used FreeRADIUS running directly on my router, but it requires pretty remarkable amount of RAM. I ended up with patch for openwrt build specs in order to build fully functional hostapd. Also I made some ugly hacks in netifd scripts to compose proper hostapd.conf. Finally, I got working EAP-TLS auth virtually with no additional costs.

Probably support for internal RADIUS and some authentication methods should be added to LUCI/UCI configuration interface.

I guess secure WLAN is not a luxury feature and EAP auth is mandatory for modern secure networks.

My device is: TP-Link Archer C50 V1
My current OpenWRT version is: OpenWrt 18.06.0, r7188-b0b5c64c22

12.08.20181768Base systemBuild FailureVery LowVery LowCompile broken in latest openwrtTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Compile openwrt for VoCore2

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

commit: 31aeae07748254abf611f578efaced469c942dee, default setting, compile in MacOS.

- Steps to reproduce

 

Just choose VoCore2 and rest using default setting, call make, then when compile base-files, it will show error:

make[3]: Entering directory `/Volumes/VoCore2/openwrt/package/base-files’ rm -f /Volumes/VoCore2/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/base-files/.configured_*
rm -f /Volumes/VoCore2/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.base-files_installed
[ -s /Volumes/VoCore2/openwrt/key-build -a -s /Volumes/VoCore2/openwrt/key-build.pub ] || /Volumes/VoCore2/openwrt/staging_dir/host/bin/usign -G -s /Volumes/VoCore2/openwrt/key-build -p /Volumes/VoCore2/openwrt/key-build.pub -c “Local build key” [ -s /Volumes/VoCore2/openwrt/key-build.ucert ] || /Volumes/VoCore2/openwrt/staging_dir/host/bin/ucert -I -c /Volumes/VoCore2/openwrt/key-build.ucert -p /Volumes/VoCore2/openwrt/key-build.pub -s /Volumes/VoCore2/openwrt/key-build
dyld: Library not loaded: libubox.dylib

Referenced from: /Volumes/VoCore2/openwrt/staging_dir/host/bin/ucert
Reason: image not found

bash: line 1: 15539 Abort trap: 6
/Volumes/VoCore2/openwrt/staging_dir/host/bin/ucert -I -c /Volumes/VoCore2/openwrt/key-build.ucert -p /Volumes/VoCore2/openwrt/key-build.pub -s /Volumes/VoCore2/openwrt/key-build
make[3]: * [/Volumes/VoCore2/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/base-files/.configured_f8a7ef425d28326c27dae6762b223070_8e081b74cf069e1e6800a5bbcbb282f0] Error 134
make[3]: Leaving directory `/Volumes/VoCore2/openwrt/package/base-files’ time: package/base-files/compile#0.19#0.14#0.37
make[2]:
* [package/base-files/compile] Error 2
make[2]: Leaving directory `/Volumes/VoCore2/openwrt’ make[1]: * [/Volumes/VoCore2/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/Volumes/VoCore2/openwrt’ make:
* [world] Error 2

This only happens to the latest version of openwrt, one monthes ago that openwrt version still works.


12.08.20181766Base systemBug ReportVery LowLowopkg fails signature check on already downloaded and ve...TrunkUnconfirmed Task Description

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

opkg fails signature check on already downloaded and verified package lists, which makes `opkg upgrade` impossible.

```
root@OpenWrt:~# ls /tmp/opkg-lists/
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig Signature check passed.
root@OpenWrt:~# ls /tmp/opkg-lists/
openwrt_base openwrt_core.sig openwrt_packages openwrt_routing.sig
openwrt_base.sig openwrt_luci openwrt_packages.sig openwrt_telephony
openwrt_core openwrt_luci.sig openwrt_routing openwrt_telephony.sig
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.sig Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig Signature check failed.
Remove wrong Signature file.
root@OpenWrt:~# ls /tmp/opkg-lists/
root@OpenWrt:~#
```

```
root@OpenWrt:~# ls /tmp/opkg-lists/
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/x86/64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/packages/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/routing/Packages.sig Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/telephony/Packages.sig Signature check passed.
root@OpenWrt:~# opkg list-upgradable
luci-lib-ip - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-theme-bootstrap - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
netifd - 2018-05-30-a580028d-1 - 2018-07-30-a0a1e52e-1
luci-app-firewall - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
libuci - 2018-03-24-5d2bf09e-1 - 2018-08-11-4c8b4d6e-1
uclient-fetch - 2017-11-02-4b87d831-1 - 2018-08-03-ae1c656f-1
libuclient - 2017-11-02-4b87d831-1 - 2018-08-03-ae1c656f-1
uci - 2018-03-24-5d2bf09e-1 - 2018-08-11-4c8b4d6e-1
luci-proto-ppp - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-mod-admin-full - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-base - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-proto-ipv6 - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-lib-nixio - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci-lib-jsonc - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
luci - git-18.210.69179-6df9a57-1 - git-18.219.52706-a49e4e4-1
root@OpenWrt:~# opkg list-upgradable | cut -d ' ' -f 1 | xargs opkg upgrade
Upgrading luci-lib-ip on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-lib-ip_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci-theme-bootstrap on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-theme-bootstrap_git-18.219.52706-a49e4e4-1_all.ipk Upgrading netifd on root from 2018-05-30-a580028d-1 to 2018-07-30-a0a1e52e-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/netifd_2018-07-30-a0a1e52e-1_x86_64.ipk Upgrading luci-app-firewall on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-app-firewall_git-18.219.52706-a49e4e4-1_all.ipk Upgrading libuci on root from 2018-03-24-5d2bf09e-1 to 2018-08-11-4c8b4d6e-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/libuci_2018-08-11-4c8b4d6e-1_x86_64.ipk Upgrading uclient-fetch on root from 2017-11-02-4b87d831-1 to 2018-08-03-ae1c656f-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/uclient-fetch_2018-08-03-ae1c656f-1_x86_64.ipk Upgrading libuclient on root from 2017-11-02-4b87d831-1 to 2018-08-03-ae1c656f-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/libuclient_2018-08-03-ae1c656f-1_x86_64.ipk Upgrading uci on root from 2018-03-24-5d2bf09e-1 to 2018-08-11-4c8b4d6e-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/base/uci_2018-08-11-4c8b4d6e-1_x86_64.ipk Upgrading luci-proto-ppp on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-proto-ppp_git-18.219.52706-a49e4e4-1_all.ipk Upgrading luci-mod-admin-full on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-mod-admin-full_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci-base on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-base_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci-proto-ipv6 on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-proto-ipv6_git-18.219.52706-a49e4e4-1_all.ipk Upgrading luci-lib-nixio on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-lib-nixio_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci-lib-jsonc on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci-lib-jsonc_git-18.219.52706-a49e4e4-1_x86_64.ipk Upgrading luci on root from git-18.210.69179-6df9a57-1 to git-18.219.52706-a49e4e4-1...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/x86_64/luci/luci_git-18.219.52706-a49e4e4-1_all.ipk Collected errors:
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_base.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
* opkg_install_pkg: Failed to verify the signature of /var/opkg-lists/openwrt_luci.
xargs: opkg: exited with status 255; aborting
root@OpenWrt:~#
```

10.08.20181765Base systemBug ReportVery LowMediumdnsmasq-full fails to listen on dhcp socket after reboo...openwrt-18.06Waiting on reporter Task Description

When I restart my router, dnsmasq comes up and works for IPv6, but fails to serve out dhcp for ipv4.

Supply the following if possible:
- Device problem occurs on

Ubiquiti Edgerouter Lite

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

OpenWrt 18.06.0, r7188-b0b5c64c22
dnsmasq-full - 2.80test3-1

- Steps to reproduce

Reboot the router. When it comes up just after reboot, it fails to respond to DHCP requests. lsof shows that it’s not listening on port 67, and does not have /tmp/dhcp.leases open:

root@junction:~# lsof -p 1792 -P
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 1792 dnsmasq cwd DIR 0,15 3488 1166 /
dnsmasq 1792 dnsmasq rtd DIR 0,15 3488 1166 /
dnsmasq 1792 dnsmasq txt REG 7,0 349744 1526 /usr/sbin/dnsmasq
dnsmasq 1792 dnsmasq mem REG 7,0 16776 189 /usr/lib/libmnl.so.0.2.0
dnsmasq 1792 dnsmasq mem REG 8,2 117320 1033 /lib/libgcc_s.so.1
dnsmasq 1792 dnsmasq mem REG 8,2 25440 1114 /lib/libubus.so
dnsmasq 1792 dnsmasq mem REG 8,2 46168 1029 /lib/libubox.so
dnsmasq 1792 dnsmasq mem REG 7,0 466112 696 /usr/lib/libgmp.so.10.3.2
dnsmasq 1792 dnsmasq mem REG 7,0 206656 702 /usr/lib/libhogweed.so.4.3
dnsmasq 1792 dnsmasq mem REG 7,0 231888 704 /usr/lib/libnettle.so.6.3
dnsmasq 1792 dnsmasq mem REG 7,0 22232 216 /usr/lib/libnfnetlink.so.0.2.0
dnsmasq 1792 dnsmasq mem REG 7,0 111864 561 /usr/lib/libnetfilter_conntrack.so.3.6.0
dnsmasq 1792 dnsmasq mem REG 8,2 650896 1012 /lib/libc.so
dnsmasq 1792 dnsmasq mem REG 0,14 23 713 /tmp/TZ
dnsmasq 1792 dnsmasq 0u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 1u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 2u CHR 1,3 0t0 1226 /dev/null
dnsmasq 1792 dnsmasq 3u netlink 0t0 3561 ROUTE
dnsmasq 1792 dnsmasq 4u IPv4 3568 0t0 UDP junction:53
dnsmasq 1792 dnsmasq 5u IPv4 3569 0t0 TCP junction:53 (LISTEN)
dnsmasq 1792 dnsmasq 6u IPv4 3570 0t0 UDP localhost:53
dnsmasq 1792 dnsmasq 7u IPv4 3571 0t0 TCP localhost:53 (LISTEN)
dnsmasq 1792 dnsmasq 8u IPv6 3572 0t0 UDP localhost:53
dnsmasq 1792 dnsmasq 9u IPv6 3573 0t0 TCP localhost:53 (LISTEN)
dnsmasq 1792 dnsmasq 10r FIFO 0,8 0t0 3574 pipe
dnsmasq 1792 dnsmasq 11w FIFO 0,8 0t0 3574 pipe
dnsmasq 1792 dnsmasq 12u unix 0x800000041d16ca00 0t0 3576 type=DGRAM
dnsmasq 1792 dnsmasq 13u a_inode 0,9 0 14 [eventpoll]
dnsmasq 1792 dnsmasq 14r FIFO 0,8 0t0 3598 pipe
dnsmasq 1792 dnsmasq 15w FIFO 0,8 0t0 3598 pipe
dnsmasq 1792 dnsmasq 16u unix 0x800000041d16d900 0t0 3599 type=STREAM
dnsmasq 1792 dnsmasq 21u IPv6 3729 0t0 UDP fe80::822a:a8ff:fe4c:9dc1:53
dnsmasq 1792 dnsmasq 22u IPv6 3730 0t0 TCP fe80::822a:a8ff:fe4c:9dc1:53 (LISTEN)
dnsmasq 1792 dnsmasq 26u IPv6 3745 0t0 UDP fd90:79d3:5065:f00d::1:53
dnsmasq 1792 dnsmasq 27u IPv6 3746 0t0 TCP fd90:79d3:5065:f00d::1:53 (LISTEN)
dnsmasq 1792 dnsmasq 35u IPv6 6049 0t0 UDP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:53
dnsmasq 1792 dnsmasq 36u IPv6 6050 0t0 TCP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:53 (LISTEN)

...if I then restart it with “/etc/init.d/dnsmasq restart”, it comes up properly. The router

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 6861 dnsmasq cwd DIR 0,15 3488 1166 /
dnsmasq 6861 dnsmasq rtd DIR 0,15 3488 1166 /
dnsmasq 6861 dnsmasq txt REG 7,0 349744 1526 /usr/sbin/dnsmasq
dnsmasq 6861 dnsmasq mem REG 7,0 16776 189 /usr/lib/libmnl.so.0.2.0
dnsmasq 6861 dnsmasq mem REG 8,2 117320 1033 /lib/libgcc_s.so.1
dnsmasq 6861 dnsmasq mem REG 8,2 25440 1114 /lib/libubus.so
dnsmasq 6861 dnsmasq mem REG 8,2 46168 1029 /lib/libubox.so
dnsmasq 6861 dnsmasq mem REG 7,0 466112 696 /usr/lib/libgmp.so.10.3.2
dnsmasq 6861 dnsmasq mem REG 7,0 206656 702 /usr/lib/libhogweed.so.4.3
dnsmasq 6861 dnsmasq mem REG 7,0 231888 704 /usr/lib/libnettle.so.6.3
dnsmasq 6861 dnsmasq mem REG 7,0 22232 216 /usr/lib/libnfnetlink.so.0.2.0
dnsmasq 6861 dnsmasq mem REG 7,0 111864 561 /usr/lib/libnetfilter_conntrack.so.3.6.0
dnsmasq 6861 dnsmasq mem REG 8,2 650896 1012 /lib/libc.so
dnsmasq 6861 dnsmasq mem REG 0,14 23 713 /tmp/TZ
dnsmasq 6861 dnsmasq 0u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 1u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 2u CHR 1,3 0t0 1226 /dev/null
dnsmasq 6861 dnsmasq 3u REG 0,14 0 806 /tmp/dhcp.leases
dnsmasq 6861 dnsmasq 4u IPv4 10060 0t0 UDP *:bootps
dnsmasq 6861 dnsmasq 5u netlink 0t0 10061 ROUTE
dnsmasq 6861 dnsmasq 6u IPv4 10063 0t0 UDP junction:domain
dnsmasq 6861 dnsmasq 7u IPv4 10064 0t0 TCP junction:domain (LISTEN)
dnsmasq 6861 dnsmasq 8u IPv4 10065 0t0 UDP localhost:domain
dnsmasq 6861 dnsmasq 9u IPv4 10066 0t0 TCP localhost:domain (LISTEN)
dnsmasq 6861 dnsmasq 10u IPv6 10067 0t0 UDP fe80::822a:a8ff:fe4c:9dc1:domain
dnsmasq 6861 dnsmasq 11u IPv6 10068 0t0 TCP fe80::822a:a8ff:fe4c:9dc1:domain (LISTEN)
dnsmasq 6861 dnsmasq 12u IPv6 10069 0t0 UDP fd90:79d3:5065:f00d::1:domain
dnsmasq 6861 dnsmasq 13u IPv6 10070 0t0 TCP fd90:79d3:5065:f00d::1:domain (LISTEN)
dnsmasq 6861 dnsmasq 14u IPv6 10071 0t0 UDP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:domain
dnsmasq 6861 dnsmasq 15u IPv6 10072 0t0 TCP cpe-2606-A000-1100-DB-0-0-0-1.dyn6.twc.com:domain (LISTEN)
dnsmasq 6861 dnsmasq 16u IPv6 10073 0t0 UDP localhost:domain
dnsmasq 6861 dnsmasq 17u IPv6 10074 0t0 TCP localhost:domain (LISTEN)
dnsmasq 6861 dnsmasq 18r FIFO 0,8 0t0 10075 pipe
dnsmasq 6861 dnsmasq 19w FIFO 0,8 0t0 10075 pipe
dnsmasq 6861 dnsmasq 20u unix 0x800000041c446300 0t0 10077 type=DGRAM
dnsmasq 6861 dnsmasq 21u a_inode 0,9 0 14 [eventpoll]
dnsmasq 6861 dnsmasq 22r FIFO 0,8 0t0 10078 pipe
dnsmasq 6861 dnsmasq 23w FIFO 0,8 0t0 10078 pipe
dnsmasq 6861 dnsmasq 24u unix 0x800000041c445e00 0t0 10079 type=STREAM

When I restart the daemon, I see these messages in the log as well:

Fri Aug 10 09:46:50 2018 daemon.info dnsmasq-dhcp[6861]: DHCP, IP range 192.168.1.100 – 192.168.1.249, lease time 12h
Fri Aug 10 09:46:50 2018 daemon.info dnsmasq-dhcp[6861]: DHCP, sockets bound exclusively to interface br-lan

...but they are absent when the daemon starts on a clean boot.

Attaching my /etc/config/dhcp, and the output from logread.

10.08.20181764Base systemBug ReportVery LowLowftp helper from kmod-nf-nathelper doesn't workTrunkUnconfirmed Task Description

Hi, I use OpenWRT 18.06.0 on Archer C7 v2.

After upgrade from latest LEDE to new OpenWRT my ftp connection (inside to outside) isnt working any more.

kmod-nf-nathelper is installed and loaded - router also restarted.

But the connection isnt working any more....

thats my tcpdump from the connection:

.....%A@.7.5.P..._W..230 User user logged in.

15:36:03.477896 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 29:35, ack 89, win 260, length 6: FTP: FEAT
E.....@.......
.........7.5.%A@.P...p2..FEAT

15:36:03.489914 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 89:99, ack 35, win 65501, length 10: FTP: 211-FEAT
E..2D.@.v.........
.....%A@.7.5.P.......211-FEAT

15:36:03.539917 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [.], ack 99, win 260, length 0
E..(..@.......
.........7.5.%A@.P.............
15:36:03.551603 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 99:128, ack 35, win 65501, length 29: FTP:     SIZE
E..EE.@.v..<......
.....%A@.7.5.P...%s..    SIZE
    MDTM
211 END

15:36:03.555058 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 35:43, ack 128, win 260, length 8: FTP: TYPE I
E..0..@.......
.........7.5.%A@.P...2...TYPE I

15:36:03.566608 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 128:148, ack 43, win 65493, length 20: FTP: 200 Type set to I.
E..<E.@.v..4......
.....%A@.7.5%P...r...200 Type set to I.

15:36:03.567247 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 43:70, ack 148, win 260, length 27: FTP: PORT 192,168,10,5,208,165
E..C..@....{..
.........7.5%%A@.P...9...PORT 192,168,10,5,208,165

15:36:03.579094 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 148:178, ack 70, win 65465, length 30: FTP: 200 PORT command successful.
E..FE!@.v.........
.....%A@.7.5@P...H...200 PORT command successful.

15:36:03.580969 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 70:96, ack 178, win 260, length 26: FTP: SIZE user_mydat.csv
E..B..@....{..
.........7.5@%A@.P.......SIZE user_mydat.csv

15:36:03.592986 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 178:189, ack 96, win 65439, length 11: FTP: 213 15493
E..3E;@.v.........
.....%A@.7.5ZP.......213 15493

15:36:03.593395 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [P.], seq 96:122, ack 189, win 260, length 26: FTP: RETR user_mydat.csv
E..B..@....z..
.........7.5Z%AA.P.......RETR user_mydat.csv

15:36:03.604832 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 189:268, ack 122, win 65413, length 79: FTP: 150 Opening BINARY mode data connection for user_mydat.csv(15493 bytes).
E..wEL@.v.........
.....%AA.7.5tP....=..150 Opening BINARY mode data connection for user_mydat.csv(15493 bytes).

15:36:03.654419 IP rd1.xxx-local-xxx.local.53412 > pm-fw.xxx-remote-xxx.de.21: Flags [.], ack 268, win 259, length 0
E..(..@.......
.........7.5t%AAUP.............
15:36:24.767221 IP pm-fw.xxx-remote-xxx.de.21 > rd1.xxx-local-xxx.local.53412: Flags [P.], seq 268:301, ack 122, win 65413, length 33: FTP: 425 Can't open data connection.
E..I\.@.v.........
.....%AAU7.5tP...k/..425 Can't open data connection.
10.08.20181763Base systemBug ReportVery LowMedium18.06 doesn't obtain IPv6 address on mt76openwrt-18.06Unconfirmed Task Description

OpenWRT-18.06 doesn’t obtain an IPv6 address on the wan6 interface since commit 424a9ae128bd2045cd4bfd6e3229f2529d150a25. IPv6 works before that commit. The git bisect output is

$ git bisect good
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
424a9ae128bd2045cd4bfd6e3229f2529d150a25
bfed38254076d576914251689a2e1f85d514783d
We cannot bisect more!

The WAN6 interface status when not working is

root@OpenWrt:~# ifstatus wan6
{
	"up": false,
	"pending": true,
	"available": true,
	"autostart": true,
	"dynamic": false,
	"proto": "dhcpv6",
	"device": "eth0.2",
	"data": {		
	}
}

The device is a Netgear R6220, and my ISP is Comcast in Pennsylvania.

I attach dmesg when running the last working commit.

Other users also have this problem, see this forum thread. (I’m the OP of that thread.)

Would be great to have IPv6 working again. Thank you!

Steps to reproduce:
0. Delete .config file, in “make menuconfig” select appropriate target (MediaTek Ralink MIPS), subtarget (MT7621), and target profile (Netgear R6220).
1a. Compile image prior to above commits, upload to router
1b. Run “sysupgrade -v -n /tmp/*.tar” 1c. Confirm that IPv6 is working, e.g. by pointing browser to ipv6-test.com, or “ifstatus wan6” on the router
2a. Compile image from source after above mentioned commits, e.g. tag “v18.06.0”, upload to router
2b. Run “sysupgrade -v -n /tmp/*.tar” 2c. Confirm that IPv6 is not working

10.08.20181762Base systemBug ReportVery LowMedium18.06.1 openvpn (mbedtls and openssl) write to TUN/TAP ...openwrt-18.06Unconfirmed Task Description

I have tested this with a tl-wr842n-v3 (ar71xx/generic) and MikroTik rb750gr3 (ramips/mt7621). The problem seems to be architecture independant. This setup works fine with 17.05.1

There is already an issue filed with freifunk-berlin https://github.com/freifunk-berlin/firmware/issues/580

With 18.06.1 I have tested with openvpn-mbedtls and openvpn-openssl. With 17.01.5 I tested with openvpn-mbedtls. Attached are pcapng files for both the wan interface (host filtered) and the ffuplink (vpn) interface. On the ffuplink interface I simply ran a “ping <IPADDR> -I ffuplink”.

Attached is also an example log from 18.06.1 and the configuration for openvpn on the router.

Also worth noting is that there are crc errors being reported which I run tcpdump directly on the router

 ~# tcpdump  -nvvi br-wan host 217.197.83.193
tcpdump: listening on br-wan, link-type EN10MB (Ethernet), capture size 262144 bytes
22:50:56.042355 IP (tos 0x0, ttl 64, id 3801, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x8450!] UDP, length 108
22:50:57.050206 IP (tos 0x0, ttl 64, id 3838, offset 0, flags [DF], proto UDP (17), length 136) 
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0xcf66!] UDP, length 108
22:50:57.059920 IP (tos 0x0, ttl 59, id 62922, offset 0, flags [DF], proto UDP (17), length 66)
    217.197.83.193.1194 > 192.168.200.3.1194: [udp sum ok] UDP, length 38
22:50:58.058255 IP (tos 0x0, ttl 64, id 3859, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x0c0a!] UDP, length 108
22:50:59.066179 IP (tos 0x0, ttl 64, id 3941, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x3675!] UDP, length 108
22:51:00.074120 IP (tos 0x0, ttl 64, id 3973, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x8ba0!] UDP, length 108
22:51:01.082085 IP (tos 0x0, ttl 64, id 4039, offset 0, flags [DF], proto UDP (17), length 136)
    192.168.200.3.1194 > 217.197.83.193.1194: [bad udp cksum 0xb6b8 -> 0x0392!] UDP, length 108

I unfortunately can not be of much help with debugging this issue before the beginning of Sept (traveling). If anyone wants to test with the same server, you can apply for a freifunk-berlin tunnel cert at http://tunnel.berlin.freifunk.net (hopefully the cert will get approved quickly). To get the extra data files in the /etc/openvpn diretory, please temporarily install berlin-freifunk’s Hedy-1.0.1 firmware (tunnel-berlin version).

I unfortunately don’t have acces to the vpn server (217.197.83.193) so I cannot post the server config. A similar config from a peer server is attached.

10.08.20181760Base systemBug ReportVery LowLowLuci Overview page doesn't show any Associated StationsTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
ar71xx
- Software versions of OpenWrt/LEDE release, packages, etc.
18.06.0
- Steps to reproduce
Set up a router
- configure it for wifi
- associate some devices – phones, laptops, etc.
- confirm they are associated in /cgi-bin/luci/admin/network/wireless
- observe that nothing is showing as associated in /cgi-bin/luci/

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

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

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

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

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

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

Sample tc output after running the DSLreports speed test

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

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

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

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

                  Tin 0
  thresh     232750Kbit
  target          5.0ms
  interval      100.0ms
  pk_delay        245us
  av_delay         45us
  sp_delay          4us
  backlog            0b
  pkts           121003
  bytes       149019834
  way_inds            6
  way_miss          384
  way_cols            0
  drops             297
  marks               0
  ack_drop            0
  sp_flows            0
  bk_flows            1
  un_flows            0
  max_len         12112
  quantum          1514
09.08.20181757Base systemBug ReportVery LowLowag71xx crash on ath79 dir-825b1 with eth1 (ag71xx): tra...TrunkUnconfirmed Task Description

I am building ath79 image for DIR-825b1

The dts file

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT /dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

#include “ar7100.dtsi”

/ {

compatible = "dlink,dir-825-b1", "qca,ar7161";
model = "D-Link DIR825B1";
aliases {
	led-status = &orange_power;
};
chosen {
	bootargs = "console=ttyS0,115200";
};
extosc: ref {
	compatible = "fixed-clock";
	#clock-cells = <0>;
	clock-output-names = "ref";
	clock-frequency = <40000000>;
};
leds {
	compatible = "gpio-leds";
	blue_usb {
		label = "d-link:blue:usb";
		gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
		default-state = "off";
		trigger-sources = <&usb_ochi_port>, <&usb_echi_port>;
		linux,default-trigger = "usbport";
	};
	orange_power: orange_power {
		label = "d-link:orange:power";
		gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
	};
	blue_power {
		label = "d-link:blue:power";
		gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
		default-state = "off";
	};
	blue_wps {
		label = "d-link:blue:wps";
		gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
		default-state = "off";
	};
	orange_planet {
		label = "d-link:orange:planet";
		gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
		default-state = "off";
	};
	blue_planet {
		label = "d-link:blue:planet";
		gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
		default-state = "off";
	};
};
ath9k-leds {
	compatible = "gpio-leds";
	wlan2g {
		label = "d-link:blue:wlan2g";
		gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
		default-state = "off";
		linux,default-trigger = "phy0tpt";
	};
	wlan5g {
		label = "d-link:blue:wlan5g";
		gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
		default-state = "off";
		linux,default-trigger = "phy1tpt";
	};
};
keys {
	compatible = "gpio-keys-polled";
	poll-interval = <20>;
	reset {
		label = "reset";
		linux,code = <KEY_RESTART>;
		gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
		debounce-interval = <60>;
	};
	wps {
		label = "wps";
		linux,code = <KEY_WPS_BUTTON>;
		gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
		debounce-interval = <60>;
	};
};
rtl8366s {
	compatible = "realtek,rtl8366s";
	gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
	gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
	mdio-bus {
		status = "okay";
		phy-mask = <0x10>;
		phy4: ethernet-phy@4 {
			reg = <4>;
			phy-mode = "rgmii";
		};
	};

};

};

&usb1 {

status = "okay";
usb_ochi_port: port@1 {
	reg = <1>;
	#trigger-source-cells = <0>;
};

};

&usb2 {

status = "okay";
usb_echi_port: port@1 {
	reg = <1>;
	#trigger-source-cells = <0>;
};

};

&usb_phy {

status = "okay";

};

&pcie0 {

status = "okay";
ath9k0: wifi@0,11 {
	compatible = "pci168c,0029";
	reg = <0x8800 0 0 0 0>;
	qca,no-eeprom;
	#gpio-cells = <2>;
	gpio-controller;
};
ath9k1: wifi@0,12 {
	compatible = "pci168c,0029";
	reg = <0x9000 0 0 0 0>;
	qca,no-eeprom;
	#gpio-cells = <2>;
	gpio-controller;
};

};

&uart {

status = "okay";

};

&pll {

  clocks = <&extosc>;

};

&spi {

status = "okay";
num-cs = <1>;
flash@0 {
	compatible = "jedec,spi-nor";
	reg = <0>;
	spi-max-frequency = <25000000>;
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;
		partition@0 {
			label = "u-boot";
			reg = <0x000000 0x040000>;
			read-only;
		};
		partition@40000 {
			label = "config";
			reg = <0x040000 0x010000>;
			read-only;
		};
		partition@50000 {
			label = "firmware";
			reg = <0x050000 0x610000>;
		};
		caldata: partition@60000 {
			label = "caldata";
			reg = <0x660000 0x010000>;
			read-only;
		};
		partition@670000 {
			label = "unknown";
			reg = <0x670000 0x190000>;
			read-only;
		};
	};
};

};

&eth0 {

status = "okay";
pll-data = <0x11110000 0x00001099 0x00991099>;
fixed-link {
	speed = <1000>;
	full-duplex;
};

};

&eth1 {

status = "okay";
pll-data = <0x11110000 0x00001099 0x00991099>;
phy-handle = <&phy4>;

};

eth1 is connected to rtl8366s phy.

eth1 detects the link and its speed (100Mbit in my case), but fails to transmit.

Tue Aug 7 08:12:14 2018 daemon.info dnsmasq-dhcp[1579]: read /etc/ethers - 0 addresses
Tue Aug 7 08:12:17 2018 daemon.notice netifd: wan (1530): udhcpc: sending discover
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.153052] ————[ cut here ]———— Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.157706] WARNING: CPU: 0 PID: 1243 at net/sched/sch_generic.c:320 dev_watchdog+0×164/0×274 Tue Aug 7 08:12:25 2018 kern.info kernel: [ 43.166227] NETDEV WATCHDOG: eth1 (ag71xx): transmit queue 0 timed out
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.172733] Modules linked in: ath9k ath9k_common pppoe ppp_async option ath9k_hw ath usb_wwan pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD usbserial usbnet slhc owl_loader nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat cdc_wdm 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 ohci_platform ohci_hcd
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.243509] ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common mii
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.251509] CPU: 0 PID: 1243 Comm: dropbearkey Not tainted 4.14.60 #0
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.257937] Stack : 00000000 00000000 80637522 00000039 839c0854 804e78e7 804907c4 000004db
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.266291] 80633670 00000140 804f2cf4 804f2cb4 804f2ca0 00000001 83809db8 f31eff22
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.274647] 00000000 00000000 80630000 00004a40 00000000 00000000 00000007 00000000
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.282993] 000000ef 47176a4e 000000ee 00000000 80000000 00000000 804b77cc 8030e00c
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.291350] 00000009 00000140 804f2cf4 804f2cb4 00000000 8025d8b4 00000000 80630000
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.299706] ...
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.302148] Call Trace:
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.304613] [<8006a90c>] show_stack+0×58/0×100 Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.309060] [<80080900>] warn+0xe4/0×118 Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.313163] [<80080964>] warn_slowpath_fmt+0×30/0x3c
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.318124] [<8030e00c>] dev_watchdog+0×164/0×274 Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.322827] [<800b99e0>] call_timer_fn.isra.4+0×24/0×84 Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.328060] [<800b9bb0>] run_timer_softirq+0×170/0x1e8
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.333210] [<803fd088>]
do_softirq+0xe8/0x2bc
Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.337830] [<8020da10>] plat_irq_dispatch+0xc0/0×120 Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.342868] [<800658f8>] handle_int+0×138/0×144 Tue Aug 7 08:12:25 2018 kern.warn kernel: [ 43.347398] —[ end trace cf9dce7cdf8ae6a7 ]— Tue Aug 7 08:12:25 2018 kern.info kernel: [ 43.351998] eth1: tx timeout
Tue Aug 7 08:12:32 2018 kern.warn kernel: [ 50.795064] done.
Tue Aug 7 08:12:32 2018 kern.notice kernel: [ 50.797029] jffs2: notice: (1406) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Tue Aug 7 08:12:33 2018 kern.warn kernel: [ 51.339775] overlayfs: upper fs does not support tmpfile.
Tue Aug 7 08:12:33 2018 daemon.info mount_root: performing overlay whiteout
Tue Aug 7 08:12:33 2018 daemon.info mount_root: syncronizing overlay
Tue Aug 7 08:12:33 2018 daemon.err mount_root: failed to sync jffs2 overlay
Tue Aug 7 08:12:35 2018 daemon.info procd: - init complete -
Tue Aug 7 08:12:38 2018 authpriv.info dropbear[1724]: Not backgrounding
Tue Aug 7 08:12:48 2018 authpriv.info dropbear[1731]: Child connection from 192.168.1.2:35996
Tue Aug 7 08:12:48 2018 authpriv.info dropbear[1731]: Exit before auth: Exited normally
Tue Aug 7 08:12:56 2018 kern.info kernel: [ 74.113046] eth1: tx timeout

09.08.20181755Base systemBug ReportVery LowHighdata not flushed to persistent storage on ubifsTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Observed on a Meraki MR24 (apm821xx), with NAND flash and ubifs overlay

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

Seen on versions as old as 5979-gc9c2e4d78d and 6286-gf01b394266, and as recent as 7763-g9537c1a153.

- Steps to reproduce

 

Sysupgrade or factory reset, allow to boot fully, wait a few minutes if desired, yank power. When device comes up again, I found /overlay/upper/etc/config/dropbear was all NULL (also /overlay/upper/etc/config/horst and /overlay/upper/etc/config/batman-adv). If I login to a shell (over serial or ssh) and either reboot or ‘sync’ before yanking power, the files in /overlay survive intact. It seems the data is not making it out to persistent storage without an explicit sync even after considerable time. In my case, the corrupted /etc/config/dropbear was a big problem, because remote access wasn’t possible anymore (I initially had to crack the case to attach a serial console to figure out what was going wrong). It is possible to recover with a factory reset, followed by logging in and sync’ing or rebooting.

08.08.20181750DocumentationFeature RequestVery LowLowProvide notification channel for release announcementsAllUnconfirmed Task Description

After installing OpenWrt on any device, I have to actively monitor the project website to know whenever a new release is available, potentially fixing security issues with my installation.

I propose creating a release-announce mailinglist used only for that purpose, readable & subscribable for everyone.

There might already be other channels offering more push-like notifications, but I didn’t find any ones that are officially sanctioned thus reliably complete.

07.08.20181749PackagesBuild FailureVery LowHighe2fsprogs without --disable-threads needs -lpthreadTrunkUnconfirmed Task Description

/var/lib/jenkins/jobs/YunaPBX_Build_x86/workspace/staging_dir/toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to `sem_post’ /var/lib/jenkins/jobs/YunaPBX_Build_x86/workspace/staging_dir/toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to `sem_wait’ /var/lib/jenkins/jobs/YunaPBX_Build_x86/workspace/staging_dir/toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to `sem_init’ /var/lib/jenkins/jobs/YunaPBX_Build_x86/workspace/staging_dir/toolchain-i386_pentium4_gcc-7.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/7.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: ../lib/libcom_err.so: undefined reference to `sem_destroy’ collect2: error: ld returned 1 exit status

fixed by:

TARGET_LDFLAGS += -flto -lpthread

07.08.20181748ToolchainBug ReportVery LowMediumlibgcc_pic.a not autoincluded when building c++ staticTrunkUnconfirmed Task Description

I’m trying to build static C++ code using openwrt toolchain with gcc compiler 7.3.0 for x64 arch.
It works fine without “-static” , links against “libgcc_s.so.1” But with “-static” compiler does not link against libgcc_pic.a.

#include <stdio.h>

class CTest
{
public:
 CTest()
 {
 printf("Test\n");
 }
 ~CTest()
 {
 printf("unTest\n");
 }
};

void Test()
{
 CTest c;
 throw (int)1;
}

int main()
{
try
{
 Test();
}
catch(int Test)
{
}
 return 0;
}
/lib/../lib64/libstdc++.a(eh_alloc.o): In function `__gnu_cxx::__scoped_lock::~__scoped_lock()':
eh_alloc.cc:(.text._ZN9__gnu_cxx13__scoped_lockD2Ev[_ZN9__gnu_cxx13__scoped_lockD5Ev]+0x4b): undefined reference to `_Unwind_Resume'
/tmp/ccedkPfo.o: In function `Test()':
unwind.cpp:(.text+0x4d): undefined reference to `_Unwind_Resume'
/tmp/ccedkPfo.o: In function `main':
unwind.cpp:(.text+0x6f): undefined reference to `_Unwind_Resume'
/lib/../lib64/libstdc++.a(eh_personality.o): In function `base_of_encoded_value(unsigned char, _Unwind_Context*) [clone .part.3]':
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context.part.3+0x26): undefined reference to `_Unwind_GetDataRelBase'
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context.part.3+0x2c): undefined reference to `_Unwind_GetTextRelBase'
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context.part.3+0x32): undefined reference to `_Unwind_GetRegionStart'

If I include “-lgcc_pic” it compiles OK
I think compiler should autoinclude gcc_pic as it does in dynamic build

06.08.20181746Base systemBug ReportVery LowLowjffs2reset / firstboot has no effectopenwrt-18.06Unconfirmed Task Description

Device problem occurs on:
Arcadyan VGV7510KW22 (o2 Box 6431)

Software versions of OpenWrt/LEDE release:
OpenWrt 18.06.0, r7188-b0b5c64c22

Steps to reproduce:
Create a file in jffs2, then perform a factory reset as documented in the OpenWrt wiki:
root@OpenWrt:~# touch /overlay/blah
root@OpenWrt:~# umount /overlay && jffs2reset && reboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/mtdblock6 is not mounted
/dev/mtdblock6 will be erased on next mount
root@OpenWrt:~# Connection to openwrt.lan closed.

$ ssh root@openwrt.lan

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

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt 18.06.0, r7188-b0b5c64c22


WARNING!

There is no root password defined on this device!
Use the “passwd” command to set up a new password
in order to prevent unauthorized SSH logins.


root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 3.5M 3.5M 0 100% /rom
tmpfs 27.9M 976.0K 26.9M 3% /tmp
tmpfs 27.9M 48.0K 27.8M 0% /tmp/root
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock6 10.3M 4.3M 5.9M 42% /overlay
overlayfs:/overlay 10.3M 4.3M 5.9M 42% /

06.08.20181745Base systemBug ReportVery LowMediumtxpower config not applied on ath9kTrunkUnconfirmed Task Description

TP-Link TL-MR22U v1
OpenWrt SNAPSHOT r7410-d3a7587 4.9.111

add secondary wifi usb device with AR9271 chipset
configure txpower on primary ath9k interface to some value other than maximum reported
make configurations of secondary device
apply configurations or run command from console: wifi

first interface is set again to max txpower

this issue seems to exist since barrier breaker!

06.08.20181744Base systemFeature RequestVery LowMedium6rd - feature request - support subnetAllUnconfirmed Task Description

Depending on the providers deploying 6rd, there might be some subnet id bits available to the user if all of the first 64 bits of the IPv6 are not used.

In the example attached 64 - 28 - 32 = 4 bits are available to define subnets so the end user can use any network prefix from 2a02:1205:5050:7ab0:: to 2a02:1205:5050:7abf::

Currently the lowest prefix is chosen by default, without opportunity to specify the subnet.

The feature would add a new “subnet” field to 6rd, available through UCI and the UI. Appropriate checks are performed regarding the maximum value of the field given the constraints given by the ip6prefixlen and ip4prefixlen.

06.08.20181743Base systemBug ReportVery LowHighArcher C7 v1.1 is soft bricked with the 18.06 releaseopenwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: TP-Link Archer C7 v1.1

- Software versions of OpenWrt/LEDE release, packages, etc.
I tested this on the release version 18.06 and yesterday’s snapshot. (archer-c7-v1-squashfs-factory.bin)

- Steps to reproduce

 

Install OpenWRT 18.06 from the SSH command line (an older version is already running OK). The device will enter into a reboot loop.

I managed to enter safe mode and downgrade to an archived older version from December 2017 (https://archive.openwrt.org/snapshots/trunk/ar71xx/generic/openwrt-ar71xx-generic-archer-c7-v1-squashfs-factory.bin)

Back in October 2017 I also tried the then stable release from LEDE and it had the same issue (reboot loop).

06.08.20181742KernelBug ReportVery LowHighOpenWrt18.06 is not working on Netgear WNR1000 v2 due t...openwrt-18.06Unconfirmed Task Description

Netgear WNR1000 v2
OpenWrt 18.06 is unable to mount jffs2 with the following message:
daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock5 /rom/overlay: Invalid argument

Snapshot is working.

06.08.20181741Base systemBug ReportVery LowMediumHotplug events with ACTION=ifdown fail to set the DEVIC...openwrt-18.06Unconfirmed Task Description

Device: TP-Link Archer C7 V2
OpenWRT Version: 18.06 r7204-8be3af93b4

Description:

The scripts in /etc/hotplug.d/iface/ are called during ifdown/ifup events, setting
the environment variables ACTION, INTERFACE and DEVICE.

The problem is the DEVICE variable is not being set for ACTION=ifdown.

In my case this causes a problem for the /etc/hotplug.d/iface/11-sqm script, because if
the DEVICE variable is blank, ALL configured SQM devices are brought down on ACTION=ifdown.

I created a DEBUG version of 11-sqm to show the problem and fix the DEVICE variable, but the
underlying source of the problem remains.

Debug version of /etc/hotplug.d/iface/11-sqm

#!/bin/sh
# dell modified this file

if [ "${DEVICE}" = "" ]; then
    if [ "${INTERFACE}" = "" ]; then
        logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm Called with ACTION=${ACTION} INTERFACE=${INTERFACE} DEVICE=${DEVICE} ... EXITING
        exit 0
    else
        logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm Called with ACTION=${ACTION} INTERFACE=${INTERFACE} DEVICE=${DEVICE}
        if [ "$(uci -q get network.${INTERFACE}.type)" = "bridge" ]; then
            DEVICE="br-${INTERFACE}"
        else
            DEVICE="$(uci -q get network.${INTERFACE}.ifname)"
        fi
        if [ "${DEVICE}" = "" ]; then
            logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm Unable to determine DEVICE ... exiting
            exit 0
        fi
        logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm *MODIFIED* CALLING WITH ACTION=${ACTION} INTERFACE=${INTERFACE} DEVICE=${DEVICE}
    fi
else
    logger -t SQM-DEBUG /etc/hotplug.d/iface/11-sqm Called with ACTION=${ACTION} INTERFACE=${INTERFACE} DEVICE=${DEVICE}
fi

restart_sqm() {
    /usr/lib/sqm/run.sh stop ${DEVICE}
    /usr/lib/sqm/run.sh start ${DEVICE}
}

[ "$ACTION" = ifup ] && /etc/init.d/sqm enabled && restart_sqm

[ "$ACTION" = ifdown ] && /usr/lib/sqm/run.sh stop ${DEVICE}

OpenWRT Log showing the problem when different interfaces are brought down and up.

****
**** Log showing hotplug events with ACTION=ifdown called on scripts in /etc/hotplug.d/iface/ do not specify the DEVICE parameter.
**** One effect is this causes ALL SQM configured interfaces to be brought down.
****
**** Look for SQM-DEBUG lines (my 11-sqm debug script), and SQM lines (system) to see what is happeining.
**** My debug script inserts the proper DEVICE parameter ( see *MODIFIED* lines) so only the appropriate SQM interface is brouht down.
****
Sun Aug  5 21:50:57 2018 authpriv.info dropbear[19118]: Child connection from fd07:fb0e:52ba::db8:52120
Sun Aug  5 21:50:57 2018 authpriv.notice dropbear[19118]: Pubkey auth succeeded for 'root' with key sha1!! 11:f6:dc:6c:09:61:37:1d:9a:45:97:86:e5:c7:3a:b7:fa:d5:dc:7f from fd07:fb0e:52ba::db8:52120
Sun Aug  5 21:51:26 2018 daemon.err uhttpd[1763]: luci: accepted login on / for root from 192.168.1.167
****
**** Restart WAN interface from Luci
****
**** Note the hotplug event with ACTION=ifdown does not specify DEVICE (my debug script recreates the proper device).
****
Sun Aug  5 21:52:00 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifdown INTERFACE=wan DEVICE=
Sun Aug  5 21:52:00 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm *MODIFIED* CALLING WITH ACTION=ifdown INTERFACE=wan DEVICE=eth0.2
Sun Aug  5 21:52:00 2018 daemon.notice netifd: wan (16000): udhcpc: received SIGTERM
Sun Aug  5 21:52:00 2018 daemon.notice netifd: Interface 'wan' is now down
Sun Aug  5 21:52:00 2018 daemon.notice netifd: Interface 'wan' is setting up now
Sun Aug  5 21:52:00 2018 daemon.warn dnsmasq[15577]: no servers found in /tmp/resolv.conf.auto, will retry
Sun Aug  5 21:52:01 2018 user.notice SQM: Stopping SQM on eth0.2
Sun Aug  5 21:52:01 2018 daemon.notice netifd: wan (19350): udhcpc: started, v1.28.3
Sun Aug  5 21:52:01 2018 daemon.notice netifd: wan (19350): udhcpc: sending discover
Sun Aug  5 21:52:01 2018 daemon.err openvpn(torguard_client)[14487]: write UDP: Network unreachable (code=128)
Sun Aug  5 21:52:02 2018 daemon.notice netifd: wan (19350): udhcpc: sending select for 206.212.230.237
Sun Aug  5 21:52:02 2018 daemon.notice netifd: wan (19350): udhcpc: lease of 206.212.230.237 obtained, lease time 86400
Sun Aug  5 21:52:02 2018 daemon.notice netifd: Interface 'wan' is now up
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: reading /tmp/resolv.conf.auto
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain test
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain onion
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain localhost
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain local
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain invalid
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain bind
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using local addresses only for domain lan
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using nameserver 208.67.222.222#53
Sun Aug  5 21:52:02 2018 daemon.info dnsmasq[15577]: using nameserver 208.67.220.220#53
****
**** Note that hotplug event with ACTION=ifup correctly specifies the DEVICE parameter.
****
Sun Aug  5 21:52:02 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifup INTERFACE=wan DEVICE=eth0.2
Sun Aug  5 21:52:02 2018 user.notice SQM: Starting SQM script: layer_cake.qos on eth0.2, in: 9600 Kbps, out: 2000 Kbps
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - sch_cake
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - sch_ingress
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - act_mirred
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - cls_fw
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - cls_flow
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - cls_u32
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - sch_htb
Sun Aug  5 21:52:02 2018 daemon.err insmod: module is already loaded - sch_hfsc
Sun Aug  5 21:52:03 2018 user.notice SQM: layer_cake.qos was started on eth0.2 successfully
Sun Aug  5 21:52:03 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Sun Aug  5 21:52:06 2018 user.notice ddns-scripts[19866]: myddns_ipv4: PID '19866' started at 2018-08-05 21:52
Sun Aug  5 21:52:08 2018 user.warn ddns-scripts[19866]: myddns_ipv4: Service section disabled! - TERMINATE
Sun Aug  5 21:52:09 2018 user.warn ddns-scripts[19866]: myddns_ipv4: PID '19866' exit WITH ERROR '1' at 2018-08-05 21:52
****
**** Restarting the LAN interface from Luci
****
Sun Aug  5 21:52:32 2018 daemon.notice netifd: Interface 'lan' is now down
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.952265] br-lan: port 2(wlan1) entered disabled state
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.957785] br-lan: port 1(eth1.1) entered disabled state
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.983346] device eth1.1 left promiscuous mode
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.987984] device eth1 left promiscuous mode
Sun Aug  5 21:52:32 2018 kern.info kernel: [71559.992556] br-lan: port 1(eth1.1) entered disabled state
Sun Aug  5 21:52:32 2018 kern.info kernel: [71560.027381] IPv6: ADDRCONF(NETDEV_UP): eth1.1: link is not ready
****
**** Note the hotplug event with ACTION=ifdown does not include DEVICE parameter
****
Sun Aug  5 21:52:32 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifdown INTERFACE=lan DEVICE=
Sun Aug  5 21:52:32 2018 kern.info kernel: [71560.059335] eth1: link down
Sun Aug  5 21:52:32 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm *MODIFIED* CALLING WITH ACTION=ifdown INTERFACE=lan DEVICE=br-lan
Sun Aug  5 21:52:32 2018 kern.info kernel: [71560.081604] device wlan1 left promiscuous mode
Sun Aug  5 21:52:32 2018 kern.info kernel: [71560.086211] br-lan: port 2(wlan1) entered disabled state
Sun Aug  5 21:52:32 2018 daemon.notice netifd: Interface 'lan' is disabled
Sun Aug  5 21:52:32 2018 daemon.err odhcpd[1308]: setsockopt(IPV6_ADD_MEMBERSHIP): No such device
Sun Aug  5 21:52:32 2018 daemon.err odhcpd[1308]: setsockopt(SO_BINDTODEVICE): No such device
Sun Aug  5 21:52:32 2018 daemon.notice netifd: VLAN 'eth1.1' link is down
Sun Aug  5 21:52:32 2018 daemon.notice netifd: bridge 'br-lan' link is down
Sun Aug  5 21:52:32 2018 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sun Aug  5 21:52:32 2018 daemon.notice netifd: Network device 'eth1' link is down
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.176382] eth1: link up (1000Mbps/Full duplex)
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.214139] br-lan: port 1(eth1.1) entered blocking state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.219686] br-lan: port 1(eth1.1) entered disabled state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.225526] device eth1.1 entered promiscuous mode
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.230424] device eth1 entered promiscuous mode
Sun Aug  5 21:52:33 2018 daemon.info dnsmasq[15577]: read /etc/hosts - 4 addresses
Sun Aug  5 21:52:33 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/odhcpd - 0 addresses
Sun Aug  5 21:52:33 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/dhcp.cfg01411c - 7 addresses
Sun Aug  5 21:52:33 2018 daemon.info dnsmasq-dhcp[15577]: read /etc/ethers - 0 addresses
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.310085] br-lan: port 2(wlan1) entered blocking state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.315572] br-lan: port 2(wlan1) entered disabled state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.321326] device wlan1 entered promiscuous mode
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.367445] br-lan: port 2(wlan1) entered blocking state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.372845] br-lan: port 2(wlan1) entered forwarding state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.378527] br-lan: port 1(eth1.1) entered blocking state
Sun Aug  5 21:52:33 2018 kern.info kernel: [71560.384004] br-lan: port 1(eth1.1) entered forwarding state
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Interface 'lan' is enabled
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Interface 'lan' is setting up now
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Interface 'lan' is now up
Sun Aug  5 21:52:33 2018 daemon.notice netifd: bridge 'br-lan' link is up
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Interface 'lan' has link connectivity
Sun Aug  5 21:52:33 2018 daemon.notice netifd: Network device 'eth1' link is up
Sun Aug  5 21:52:33 2018 daemon.notice netifd: VLAN 'eth1.1' link is up
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: interface state ENABLED->DISABLED
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED 94:65:2d:6c:f7:34
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: AP-DISABLED
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Sun Aug  5 21:52:34 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Sun Aug  5 21:52:34 2018 kern.info kernel: [71561.433522] device wlan1 left promiscuous mode
Sun Aug  5 21:52:34 2018 kern.info kernel: [71561.438190] br-lan: port 2(wlan1) entered disabled state
****
**** Note the hotplug event with ACTION=ifup correctly specifies DEVICE
****
Sun Aug  5 21:52:34 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifup INTERFACE=lan DEVICE=br-lan
Sun Aug  5 21:52:34 2018 daemon.notice netifd: Network device 'wlan1' link is down
Sun Aug  5 21:52:35 2018 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sun Aug  5 21:52:35 2018 daemon.info dnsmasq[15577]: read /etc/hosts - 4 addresses
Sun Aug  5 21:52:35 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/odhcpd - 2 addresses
Sun Aug  5 21:52:35 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/dhcp.cfg01411c - 7 addresses
Sun Aug  5 21:52:35 2018 daemon.info dnsmasq-dhcp[15577]: read /etc/ethers - 0 addresses
Sun Aug  5 21:52:36 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy1.conf
Sun Aug  5 21:52:36 2018 kern.info kernel: [71563.789521] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Sun Aug  5 21:52:36 2018 kern.info kernel: [71563.994859] br-lan: port 2(wlan1) entered blocking state
Sun Aug  5 21:52:36 2018 kern.info kernel: [71564.000337] br-lan: port 2(wlan1) entered disabled state
Sun Aug  5 21:52:36 2018 kern.info kernel: [71564.006051] device wlan1 entered promiscuous mode
Sun Aug  5 21:52:36 2018 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Aug  5 21:52:36 2018 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->HT_SCAN
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: handle_probe_req: send failed
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: 20/40 MHz operation not permitted on channel pri=6 sec=10 based on overlapping BSSes
Sun Aug  5 21:52:38 2018 daemon.err hostapd: Using interface wlan1 with hwaddr 30:b5:c2:96:70:c9 and ssid "CatDen-router"
Sun Aug  5 21:52:38 2018 daemon.info dnsmasq[15577]: read /etc/hosts - 4 addresses
Sun Aug  5 21:52:38 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/odhcpd - 2 addresses
Sun Aug  5 21:52:38 2018 daemon.info dnsmasq[15577]: read /tmp/hosts/dhcp.cfg01411c - 7 addresses
Sun Aug  5 21:52:38 2018 daemon.info dnsmasq-dhcp[15577]: read /etc/ethers - 0 addresses
Sun Aug  5 21:52:38 2018 kern.info kernel: [71566.021420] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Sun Aug  5 21:52:38 2018 kern.info kernel: [71566.028048] br-lan: port 2(wlan1) entered blocking state
Sun Aug  5 21:52:38 2018 kern.info kernel: [71566.033444] br-lan: port 2(wlan1) entered forwarding state
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: wlan1: interface state HT_SCAN->ENABLED
Sun Aug  5 21:52:38 2018 daemon.notice hostapd: wlan1: AP-ENABLED
Sun Aug  5 21:52:38 2018 daemon.notice netifd: Network device 'wlan1' link is up
Sun Aug  5 21:52:41 2018 daemon.info hostapd: wlan1: STA 94:65:2d:6c:f7:34 IEEE 802.11: authenticated
Sun Aug  5 21:52:41 2018 daemon.info hostapd: wlan1: STA 94:65:2d:6c:f7:34 IEEE 802.11: associated (aid 1)
Sun Aug  5 21:52:41 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 94:65:2d:6c:f7:34
Sun Aug  5 21:52:41 2018 daemon.info hostapd: wlan1: STA 94:65:2d:6c:f7:34 WPA: pairwise key handshake completed (RSN)
Sun Aug  5 21:52:41 2018 daemon.info dnsmasq-dhcp[15577]: DHCPDISCOVER(br-lan) 94:65:2d:6c:f7:34
Sun Aug  5 21:52:41 2018 daemon.info dnsmasq-dhcp[15577]: DHCPOFFER(br-lan) 192.168.1.169 94:65:2d:6c:f7:34
Sun Aug  5 21:52:41 2018 daemon.info dnsmasq-dhcp[15577]: DHCPREQUEST(br-lan) 192.168.1.169 94:65:2d:6c:f7:34
Sun Aug  5 21:52:41 2018 daemon.info dnsmasq-dhcp[15577]: DHCPACK(br-lan) 192.168.1.169 94:65:2d:6c:f7:34 OnePlus_5
Sun Aug  5 21:52:42 2018 daemon.info hostapd: wlan1: STA dc:bf:e9:af:8a:9a IEEE 802.11: authenticated
Sun Aug  5 21:52:42 2018 daemon.info hostapd: wlan1: STA dc:bf:e9:af:8a:9a IEEE 802.11: associated (aid 2)
Sun Aug  5 21:52:42 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:42 2018 daemon.info hostapd: wlan1: STA dc:bf:e9:af:8a:9a WPA: pairwise key handshake completed (RSN)
Sun Aug  5 21:52:43 2018 daemon.info dnsmasq-dhcp[15577]: DHCPDISCOVER(br-lan) dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:43 2018 daemon.info dnsmasq-dhcp[15577]: DHCPOFFER(br-lan) 192.168.1.125 dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:43 2018 daemon.info dnsmasq-dhcp[15577]: DHCPREQUEST(br-lan) 192.168.1.125 dc:bf:e9:af:8a:9a
Sun Aug  5 21:52:43 2018 daemon.info dnsmasq-dhcp[15577]: DHCPACK(br-lan) 192.168.1.125 dc:bf:e9:af:8a:9a android-e91ad6b278c61985
Sun Aug  5 21:52:49 2018 daemon.info hostapd: wlan1: STA ac:22:0b:5d:b5:cf IEEE 802.11: authenticated
Sun Aug  5 21:52:49 2018 daemon.info hostapd: wlan1: STA ac:22:0b:5d:b5:cf IEEE 802.11: associated (aid 3)
Sun Aug  5 21:52:49 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:49 2018 daemon.info hostapd: wlan1: STA ac:22:0b:5d:b5:cf WPA: pairwise key handshake completed (RSN)
Sun Aug  5 21:52:50 2018 daemon.info dnsmasq-dhcp[15577]: DHCPDISCOVER(br-lan) ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:50 2018 daemon.info dnsmasq-dhcp[15577]: DHCPOFFER(br-lan) 192.168.1.142 ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:50 2018 daemon.info dnsmasq-dhcp[15577]: DHCPREQUEST(br-lan) 192.168.1.142 ac:22:0b:5d:b5:cf
Sun Aug  5 21:52:50 2018 daemon.info dnsmasq-dhcp[15577]: DHCPACK(br-lan) 192.168.1.142 ac:22:0b:5d:b5:cf android-41e25fe580fa511f
****
**** openvpn is restarted using /etc/init.d/openvpn restart
****
Sun Aug  5 21:53:03 2018 daemon.err openvpn(torguard_client)[14487]: event_wait : Interrupted system call (code=4)
Sun Aug  5 21:53:03 2018 daemon.notice openvpn(torguard_client)[14487]: /sbin/ifconfig tun0 0.0.0.0
Sun Aug  5 21:53:03 2018 daemon.notice netifd: Network device 'tun0' link is down
Sun Aug  5 21:53:03 2018 daemon.notice netifd: Interface 'vpn' has link connectivity loss
Sun Aug  5 21:53:03 2018 daemon.notice netifd: Interface 'vpn' is now down
Sun Aug  5 21:53:03 2018 daemon.notice openvpn(torguard_client)[14487]: /etc/openvpn/down.sh tun0 1500 1585 10.9.0.6 10.9.0.5 init
Sun Aug  5 21:53:03 2018 daemon.notice openvpn(torguard_client)[14487]: SIGTERM[hard,] received, process exiting
****
**** Note hotplug called with ACTION=ifdown and no DEVICE specified
****
Sun Aug  5 21:53:03 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifdown INTERFACE=vpn DEVICE=
Sun Aug  5 21:53:03 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm *MODIFIED* CALLING WITH ACTION=ifdown INTERFACE=vpn DEVICE=tun0
Sun Aug  5 21:53:03 2018 daemon.notice netifd: Interface 'vpn' is disabled
Sun Aug  5 21:53:03 2018 user.notice SQM: Stopping SQM on tun0
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: OpenVPN 2.4.5 mips-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: library versions: OpenSSL 1.0.2o  27 Mar 2018, LZO 2.10
Sun Aug  5 21:53:04 2018 daemon.warn openvpn(torguard_client)[21573]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: TCP/UDP: Preserving recently used remote address: [AF_INET]204.44.121.194:443
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: UDP link local: (not bound)
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: UDP link remote: [AF_INET]204.44.121.194:443
Sun Aug  5 21:53:04 2018 daemon.warn openvpn(torguard_client)[21573]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sun Aug  5 21:53:04 2018 daemon.warn openvpn(torguard_client)[21573]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1574', remote='link-mtu 1542'
Sun Aug  5 21:53:04 2018 daemon.warn openvpn(torguard_client)[21573]: WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500'
Sun Aug  5 21:53:04 2018 daemon.notice openvpn(torguard_client)[21573]: [TG-OVPN-CA] Peer Connection Initiated with [AF_INET]204.44.121.194:443
Sun Aug  5 21:53:05 2018 daemon.err openvpn(torguard_client)[21573]: Options error: option 'redirect-gateway' cannot be used in this context ([PUSH-OPTIONS])
Sun Aug  5 21:53:05 2018 daemon.err openvpn(torguard_client)[21573]: Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])
Sun Aug  5 21:53:05 2018 daemon.err openvpn(torguard_client)[21573]: Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])
Sun Aug  5 21:53:05 2018 daemon.err openvpn(torguard_client)[21573]: Options error: option 'route' cannot be used in this context ([PUSH-OPTIONS])
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Interface 'vpn' is enabled
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Network device 'tun0' link is up
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Interface 'vpn' has link connectivity
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Interface 'vpn' is setting up now
Sun Aug  5 21:53:05 2018 daemon.notice netifd: Interface 'vpn' is now up
Sun Aug  5 21:53:05 2018 daemon.notice openvpn(torguard_client)[21573]: TUN/TAP device tun0 opened
Sun Aug  5 21:53:05 2018 daemon.notice openvpn(torguard_client)[21573]: do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Sun Aug  5 21:53:05 2018 daemon.notice openvpn(torguard_client)[21573]: /sbin/ifconfig tun0 10.9.0.6 pointopoint 10.9.0.5 mtu 1500
Sun Aug  5 21:53:05 2018 daemon.notice openvpn(torguard_client)[21573]: /etc/openvpn/up.sh tun0 1500 1585 10.9.0.6 10.9.0.5 init
****
**** Note hotplug called with ACTION=ifup and correct DEVICE
****
Sun Aug  5 21:53:05 2018 user.notice SQM-DEBUG: /etc/hotplug.d/iface/11-sqm Called with ACTION=ifup INTERFACE=vpn DEVICE=tun0
Sun Aug  5 21:53:06 2018 user.notice SQM: Starting SQM script: piece_of_cake.qos on tun0, in: 8000 Kbps, out: 1700 Kbps
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - sch_cake
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - sch_ingress
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - act_mirred
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - cls_fw
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - cls_flow
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - cls_u32
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - sch_htb
Sun Aug  5 21:53:06 2018 daemon.err insmod: module is already loaded - sch_hfsc
Sun Aug  5 21:53:07 2018 user.notice SQM: piece_of_cake.qos was started on tun0 successfully
Sun Aug  5 21:53:07 2018 user.notice firewall: Reloading firewall due to ifup of vpn (tun0)
Sun Aug  5 21:53:07 2018 daemon.notice openvpn(torguard_client)[21573]: Initialization Sequence Completed


05.08.20181738Base systemFeature RequestVery LowLowPlease include Full Cone NAT packageAllUnconfirmed Task Description

The default OpenWrt netfilter implements “Port Restricted Cone” NAT. Sometimes it’s useful to have less restricted NAT.

Someone recently created a netfilter extension that implements “Full Cone” NAT. Please include it in the package feeds.

Full Cone NAT description:
https://tools.ietf.org/html/rfc3489#section-5

Netfilter extension:
https://github.com/Chion82/netfilter-full-cone-nat

OpenWrt package:

05.08.20181736Base systemBug ReportVery LowLow/etc/os-release: VERSION_ID should not include .fix num...openwrt-18.06Unconfirmed Task Description

Hello,

There is no info in /etc/os-release that tells directly which major version
of OpenWrt I’m using. Both VERSION and VERSION_ID are the same ‘18.06.0’

VERSION_ID should be a field for sw to know which version it is running on.
Generally, it cares about major releases, not “level of bug fixing”.

IMHO, VERSION_ID should be only ‘18.06’ as ubuntu does.

04.08.20181735Base systemFeature RequestVery LowLowdeprecate wiki.openwrt.org pages search optimalityTrunkUnconfirmed Task Description

Currently when searching for just about any technical question, the wiki.openwrt.org pages show up in google search before the newer pages that are on the main url. This is confusing and leads to out-of-date information. It should be possible to de-rank without delisting the wiki pages.

https://support.google.com/webmasters/answer/34437


04.08.20181728KernelBug ReportVery LowHighNewifi D1- Unable to rebootAllUnconfirmed Task Description

Newifi D1, openwrt trunk, 18.06, etc.

This device can not reboot and there is a patch that can fix this problem.
The official builds don’t include it, so the only way to solve it is to build the firmware by ourselves, which is very inconvenient.

I hope there is someone who can solve this problem.

Thank you!

The patch is from https://forum.openwrt.org/t/newifi-d1-unable-to-reboot/7910/8

--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1075,7 +1075,7 @@ static const struct flash_info spi_nor_i
 	{ "mx25u6435f",  INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) },
 	{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
 	{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
-	{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+	{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_READ_OP) },
 	{ "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) },
 	{ "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
 	{ "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
03.08.20181726Base systemBug ReportVery LowCriticalNetifd lockup when USB LTE modem was restartedopenwrt-18.06Unconfirmed Task Description

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

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


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


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

02.08.20181724Base systemBug ReportVery LowHigh18.06.0 release not working on ZyXEL NBG6616 (ar71xx)openwrt-18.06Unconfirmed Task Description

After flashing the firmware the device is not booting as it should.

 


01.08.20181723KernelBug ReportVery LowLowWARNING: CPU: 0 PID: 0 at backports-2017-11-01/drivers/...openwrt-18.06Unconfirmed Task Description

I am running openwrt-18.06 on Linksys EA8500 (ipq806x).

I see the following warning in the kernel log (nothing for 10+ minutes in dmesg prior to this, and nothing after):

[  745.944042] ------------[ cut here ]------------
[  745.944108] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/drivers/net/wireless/ath/ath10k/htt_rx.c:1015 0xbf2caf0c [ath10k_core@bf2b5000+0x3d000]
[  745.947840] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic 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_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform
[  746.009232]  sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[  746.031433] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.54 #0
[  746.040610] Hardware name: Generic DT based system
[  746.046865] Function entered at [<c030f7e8>] from [<c030ba24>]
[  746.051463] Function entered at [<c030ba24>] from [<c07a5138>]
[  746.057278] Function entered at [<c07a5138>] from [<c0318dcc>]
[  746.063094] Function entered at [<c0318dcc>] from [<c0318eb8>]
[  746.068908] Function entered at [<c0318eb8>] from [<bf2caf0c>]
[  746.074768] Function entered at [<bf2caf0c>] from [<bf2cc404>]
[  746.080544] Function entered at [<bf2cc404>] from [<bf2f5b48>]
[  746.086374] Function entered at [<bf2f5b48>] from [<c06956f8>]
[  746.092173] Function entered at [<c06956f8>] from [<c03015c8>]
[  746.097989] Function entered at [<c03015c8>] from [<c031d13c>]
[  746.103805] Function entered at [<c031d13c>] from [<c0359ba8>]
[  746.109621] Function entered at [<c0359ba8>] from [<c0301488>]
[  746.115436] Function entered at [<c0301488>] from [<c030c60c>]
[  746.121253] Exception stack(0xc0a01f48 to 0xc0a01f90)
[  746.127092] 1f40:                   00000001 00000000 00000000 c03154c0 ffffe000 c0a03c70
[  746.132225] 1f60: c0a03c24 00000000 00000000 c092da28 00000000 00000000 c0a01f90 c0a01f98
[  746.140369] 1f80: c0308844 c0308848 60000013 ffffffff
[  746.148510] Function entered at [<c030c60c>] from [<c0308848>]
[  746.153544] Function entered at [<c0308848>] from [<c034fc18>]
[  746.159273] Function entered at [<c034fc18>] from [<c034ff60>]
[  746.165087] Function entered at [<c034ff60>] from [<c0900c68>]
[  746.170998] ---[ end trace d7b584a1e69fa5ab ]---
[  746.179889] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 0, skipped old beacon
[  746.181533] ath10k_pci 0000:01:00.0: SWBA overrun on vdev 1, skipped old beacon

not sure what if anything provoked it, and wireless appears to work fine afterwards.

I looked at the backports-2017-11-01 tarball but apparently the source doesn’t quite correspond to what I’m actually running (prebuilt binary from openwrt release downloads):

 998 static void ath10k_htt_rx_h_undecap_raw(struct ath10k *ar,
 999                                         struct sk_buff *msdu,
1000                                         struct ieee80211_rx_status *status,
1001                                         enum htt_rx_mpdu_encrypt_type enctype,
1002                                         bool is_decrypted)
1003 {
1004         struct ieee80211_hdr *hdr;
1005         struct htt_rx_desc *rxd;
1006         size_t hdr_len;
1007         size_t crypto_len;
1008         bool is_first;
1009         bool is_last;
1010 
1011         rxd = (void *)msdu->data - sizeof(*rxd);
1012         is_first = !!(rxd->msdu_end.common.info0 &
1013                       __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU));
1014         is_last = !!(rxd->msdu_end.common.info0 &
1015                      __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU));
1016 
1017         /* Delivered decapped frame:
1018          * [802.11 header]
1019          * [crypto param] <-- can be trimmed if !fcs_err &&
1020          *                    !decrypt_err && !peer_idx_invalid
1021          * [amsdu header] <-- only if A-MSDU
1022          * [rfc1042/llc]
1023          * [payload]
1024          * [FCS] <-- at end, needs to be trimmed
1025          */
1026 
1027         /* This probably shouldn't happen but warn just in case */
1028         if (unlikely(WARN_ON_ONCE(!is_first)))
1029                 return;
1030 
1031         /* This probably shouldn't happen but warn just in case */
1032         if (unlikely(WARN_ON_ONCE(!(is_first && is_last))))
1033                 return;

I suspect one of those two warnings is what is being hit but neither of them is quite at line 1015...

01.08.20181722Base systemBug ReportVery LowLowRTL8366rb bridge on tp-link wr1043nd-v1 doesn't activat...TrunkUnconfirmed Task Description

This a very weird problem.

I am building a 4.14 ath79 image from trunk for wr1043nd-v1.
The dtsi file seems to be correct, because the device works properly without any issues when I boot from initramfs.

If I flash the same image to the router, switch stops working at all. Wireless and usb-net do work OK.

I compared logs, ethtool, swconfig, brctl and everything I could imagine and didn’t notice any differences between when boot form RAM or from flash except this one in syslog

overlayfs: upper fs does not support tmpfile.

There must be some tricky race condition. We discussed that at the forums and it is reproducible.

May be anyone has some idea how to debug it?


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

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

31.07.20181718KernelBug ReportVery LowMediumkmod-iwlwifi stacktrace in dmesgopenwrt-18.06Unconfirmed Task Description

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

 

I have observed the following on all recent versions of Openwrt 18.06 on X86_64. When I install the kmod-iwlwifi and the appropriate iwlwifi-firmware-iwl7265d I see numerous stack traces in the dmesg log when I load LuCI and the Wifi doesn’t appear to work. The hardware in question is an Intel M.2 3165 Wifi card inside a ZBOX Nano CI327.

Stack trace is as follows:

[ 258.880235] ————[ cut here ]———— [ 258.885301] WARNING: CPU: 2 PID: 5893 at 0xffffffffa02dd612 [cfg80211@ffffffffa02be000+0×36000]
[ 258.894725] Modules linked in: iwlmvm iwldvm mac80211 iwlwifi cfg80211 compat pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 lzo lz4 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc r8169 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache lzo_decompress lzo_compress lz4_decompress lz4_compress iptable_mangle iptable_filter ipt_ECN ip_tables e1000e crc_ccitt sch_cake nf_conntrack act_skbedit
[ 258.973086] act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress i2c_dev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables igb i2c_algo_bit e1000 ifb tun zram zsmalloc crypto_acompress button_hotplug ptp pps_core mii
[ 259.003308] CPU: 2 PID: 5893 Comm: luci Tainted: G W 4.14.54 #0
[ 259.010881] Hardware name: NA ZBOX-CI327NANO-GS-01/ZBOX-CI327NANO-GS-01, BIOS 5.12 01/16/2018
[ 259.020145] task: ffff8802737f0b00 task.stack: ffffc900050ac000
[ 259.026505] RIP: 0010:0xffffffffa02dd612 [cfg80211@ffffffffa02be000+0×36000]
[ 259.034106] RSP: 0018:ffffc900050afac8 EFLAGS: 00010202
[ 259.039790] RAX: 0000000000000000 RBX: ffff880270809400 RCX: 0000000000000000
[ 259.047388] RDX: ffff880271520008 RSI: 0000000000000000 RDI: ffff880271520300
[ 259.055062] RBP: ffffc900050afb00 R08: 0000000000000004 R09: ffff8802760e2014
[ 259.062700] R10: 0000000000000014 R11: 0000000000000ec0 R12: ffffc900050afb28
[ 259.070363] R13: ffff8802760e2014 R14: 0000000000000000 R15: ffff880271520300
[ 259.078040] FS: 00007f4dcf16fb88(0000) GS:ffff88027fd00000(0000) knlGS:0000000000000000
[ 259.086820] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 259.093050] CR2: 00007f0127cdd005 CR3: 00000002717da000 CR4: 00000000001406e0
[ 259.100674] Call Trace:
[ 259.103421] ? 0xffffffff814bdb01
[ 259.107062] 0xffffffff814dfdcd
[ 259.110514] 0xffffffff814dfe8f
[ 259.113940] ? 0xffffffff814dfe40
[ 259.117580] 0xffffffff814defdb
[ 259.121001] 0xffffffff814dfb43
[ 259.124474] 0xffffffff814de7e0
[ 259.127909] 0xffffffff814dec5c
[ 259.131369] 0xffffffff81493d55
[ 259.134845] 0xffffffff814943ca
[ 259.138291] ? 0xffffffffa02c034c [cfg80211@ffffffffa02be000+0×36000]
[ 259.145239] ? 0xffffffff81194739
[ 259.148918] ? 0xffffffff811947ad
[ 259.152547] ? 0xffffffff8126b3e6
[ 259.156150] ? 0xffffffff8115e4f8
[ 259.159823] ? 0xffffffff81152cfe
[ 259.163504] 0xffffffff81495612
[ 259.166977] ? 0xffffffff81495612
[ 259.170578] 0xffffffff81495649
[ 259.174049] 0xffffffff81002f45
[ 259.177467] 0xffffffff81600081
[ 259.180921] RIP: 0033:0x7f4dcef563f2
[ 259.184828] RSP: 002b:00007ffe31e06528 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 259.193073] RAX: ffffffffffffffda RBX: 00007f4dcf16fb88 RCX: 00007f4dcef563f2
[ 259.200707] RDX: 0000000000000000 RSI: 00007ffe31e06578 RDI: 0000000000000007
[ 259.208347] RBP: 000000000000002e R08: 0000000000000000 R09: 0000000000000000
[ 259.216006] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 259.223607] R13: 0000000000a5dc0c R14: 0000000000a793b0 R15: 0000000000a5dc08
[ 259.231171] Code: 00 00 4c 8d b8 00 03 00 00 8b 80 38 0b 00 00 4c 89 ff c0 e8 07 88 45 c8 e8 7c 65 fe ff 48 85 c0 49 89 c6 75 1a 80 7d c8 00 74 14 <0f> 0b 48 89 df e8 74 05 1c e1 b8 ea ff ff ff e9 45 01 00 00 49
[ 259.251522] —[ end trace 0a9a5b29bb2beae3 ]—

31.07.20181717Base systemBug ReportVery LowLowZyxel Keenetic doesn't save any settingsTrunkUnconfirmed Task Description

Zyxel Keenetic (ramips, rt305x, kn-squashfs-sysupgrade.bin)
After 18.06.00 RC1 this router doesn’t save any settings. May be it occurs due to low memory (4MB) and LUCI installed in RC versions. After reboot it have factory setting again ang again. Also it doesn’t have Factory reset button in LUCI and doesn’t react on Reset button.

31.07.20181716Base systemBug ReportVery LowHighZyxel Keenetic doesn't save any settingsopenwrt-18.06Unconfirmed Task Description

OpenWRT 18.06.00 RC1, RC2...
Zyxel Keenetic (ramips, rt305x, kn-squashfs-sysupgrade.bin)

Probably due to low memory (4MB) router does not save any settings and after reboot it have factory settings again and again. Also it doesn't have factory reset button in LUCI and does not react on Reset button.

31.07.20181715Base systemBug ReportVery LowLowMikrotik RBM33G: unrecognized JEDEC id bytesTrunkUnconfirmed Task Description

Platform: Mikrotik RBM33G
OS: Openwrt Distrib Revision r7579-fc89831

Do not support module m25p80 and m25p128 on platform based MT7621.
Error in dmesg:

m25p80 spi0.1: unrecognized JEDEC id bytes: ef, 70, 18
m25p80 spi0.1: using Read Manufacturer / Device ID Command (0×90) returned 17 ef
m25p80 spi0.1: probe of spi0.1 failed with error -2

31.07.20181714Base systemBug ReportVery LowLowath79: wifi is broken with wndr3800TrunkUnconfirmed Task Description

wifi of ath79 wndr3800 is broken with latest sources at master branch.


30.07.20181713PackagesBug ReportVery LowMediumlevel of deamon log messagesAllUnconfirmed Task Description

during some driver tests noticed these:

Sat Jul  7 13:41:52 2018 daemon.err hostapd: Using interface wlan0-2 with hwaddr <mac_addr> and ssid "9531_3"
Sat Jul  7 13:41:52 2018 daemon.err hostapd: Using interface wlan1-2 with hwaddr <mac_addr> and ssid "OpenWrt3"

this was not an error but rather notice.
Sat Jul  7 13:10:06 2018 daemon.notice hostapd: nl80211: Failed to remove interface wlan1-1 from bridge br-lan: No such device
Sat Jul  7 13:11:01 2018 daemon.notice hostapd: wlan1: STA <mac_addr> IEEE 802.11: Could not set STA to kernel driver
Sat Jul  7 13:11:28 2018 daemon.notice hostapd: wlan1: STA <mac_addr> IEEE 802.11: did not acknowledge authentication response

this is most likely an error isn't it rather than just notice?
30.07.20181712Base systemBug ReportVery LowCriticalLEDE 17.01.05 on BCM2710 (Raspberry Pi 3) defaults conf...lede-17.01Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

  1. BCM2710 (Raspberry Pi 3B)

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

  1. LEDE 17.01.05 → Directly from download page, and from clean build

- Steps to reproduce

  1. Perform initial flash of software.
  2. Boot device up and confirm interfaces work correctly, and DHCP is server properly from eth0
  3. Confirm that configuration for /etc/dhcp and /etc/network looks correct
  4. Reboot device (either via LuCI or console reboot)
  5. Upon start, confirm that dhcp config is empty, network config is defaulted (missing wlan0, etc).
  6. Confirm that interfaces do not work correctly, GUI is no longer navigable even with a static IP fixed on PC.


Showing tasks 1 - 50 of 556 Page 1 of 121 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing