OpenWrt 18.06.1 Service Release

Why you use the factory image ?
Just use the sysupgrade -> openwrt-18.06.1-mvebu-cortexa9-linksys-wrt1900acs-squashfs-sysupgrade.bin

Thank you that's a very good point :blush: :blush:

Works now :slight_smile:

The squashfs-factory.img, as I understood it, is only, if you buy a new router, that still has its factory firmware (mostly crappy lol), its the one you use for flashing, wiping the factory Firmware to OpenWRT ..if you have openWRT already installed, the sysupgrade.bin is the right one to go for =D

1 Like

Weird LuCI performance hit: When I tried to upload some big distro images to my samba server/USB hdd on my WR1043ND_V1 I noticed a very bad WiFi throughput (jumping between 0 and 1MB/sec in gkrellm). I used Firefox to have a look on the status overview and as I connected to LuCI the throughput went up to steady 5.7-5.9 MB/sec (150 Mbps WiFi in my laptop). Then I closed the Firefox tab and WiFi speed was slowed down again. If you don´t logout before closing the Firefox tab LuCI will wait for hours for the connection to be closed and will slow down. I hope this isn´ t made intentionally for lazy people that should learn to use the logout button.

This is not really an issue with 18.06.1 (although it won't exactly get better with newer software versions).

The TL-WR1043NDv1 has a 400 MHz MIPS 24K SOC (AR9132) and 32 MB RAM, USB (especially USB <3.0) is a quite compute intensive protocol, so is serving wlan cards (interrupts), routing/ NAT/ firewalling at >50 MBit/s or even just refreshing the luci overview page. Whenever you push one of those parameters, the others suffer (single-core CPU), this is particular obvious on devices are are already pretty marginal to begin with.

I understand that this router is the bare minimum hardware supported but why is there still a connection to LuCI hours after the browser tab has been closed. Connecting to LuCI cured the problem even before logging out when the overview page was active. Neither side (browser or LuCI) seems to want to drop the connection even after hours. This polling for a non existent browser tab was ten times worse than a nicely refreshing overview page. This is a thing maybe even more powerful shouldn´t waste cpu cycles on. Powerful hardware might mask it or run a little hot(ter).

@Schugy I don't observe the behavior you are describing.

If you run top in a ssh session, what measurements do you get for CPU% and Load Average before you start Luci, while you run Luci ( say for 5 minutes ) and after you close Luci and wait 5 minutes.

How are you detecting connections are not closing?

Hello mbo2o, thank you for your reply. Luckily I kept the xterm window open and can present you some numbers. The dmesg output is clean. When I added swap the dmesg output was prolonged a single line without errors in between. This unclosed connection theory is only a guess because I used LuCI hours earlier, then closed the browser tab without ever closing the whole browser and the performance hit went away when I logged into LuCI again. Usually I´d guess cpu usage goes up when a LuCI page is actively in use and not running mad in the background.

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

Mem: 24400K used, 3432K free, 1176K shrd, 1332K buff, 3364K cached
CPU:   1% usr  95% sys   0% nic   0% idle   0% io   0% irq   3% sirq
Load average: 7.08 4.89 2.66 6/59 27910
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
27908 27901 root     R     1912   7%  19% [fw3]
27816  1259 root     R     3104  11%  17% /usr/sbin/smbd -F
  112     2 root     RW       0   0%  17% [kworker/0:1]
27909 27896 root     R     1912   7%  16% [fw3]
27895 27887 root     R     1200   4%   5% top
  922     1 root     S     1420   5%   4% /usr/sbin/odhcpd
 2628     1 root     R     1704   6%   3% /usr/sbin/hostapd -s -P /var/run/wifi-
27886   977 root     S     1132   4%   3% /usr/sbin/dropbear -F -P /var/run/drop
  885     1 root     S     1720   6%   3% /sbin/netifd
  119     2 root     DW       0   0%   3% [kswapd0]
27901  1157 root     R     1344   5%   2% [sh]
  543     1 root     S     1204   4%   2% /sbin/ubusd
    1     0 root     S     1548   6%   2% /sbin/procd
    3     2 root     SW       0   0%   1% [ksoftirqd/0]
 1260     1 root     S     2460   9%   1% /usr/sbin/nmbd -F
  439     2 root     DW       0   0%   1% [usb-storage]
  552     2 root     DW       0   0%   0% [jbd2/sda1-8]
 6583     2 root     SW       0   0%   0% [kworker/u2:0]
 1259     1 root     S     2672  10%   0% /usr/sbin/smbd -F
^C776     1 root     S     1528   5%   0% /sbin/rpcd

root@OpenWrt:~# free
             total       used       free     shared    buffers     cached
Mem:         27832      23612       4220       1176        904       2896
-/+ buffers/cache:      19812       8020
Swap:            0          0          0

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.9.120 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9) ) #0 Thu Aug 16 07:51:15 2018
[    0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=00000000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9132 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] 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-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80442044, node_mem_map 81000020
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: board=TL-WR1043ND  console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27532K/32768K available (3363K kernel code, 172K rwdata, 444K rodata, 300K init, 219K bss, 5236K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007910] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.090608] pid_max: default: 32768 minimum: 301
[    0.095368] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.101975] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.112532] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.122370] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.130018] NET: Registered protocol family 16
[    0.136354] MIPS: machine is TP-LINK TL-WR1043ND
[    0.426887] Can't analyze schedule() prologue at 803a5594
[    0.448761] clocksource: Switched to clocksource MIPS
[    0.455210] NET: Registered protocol family 2
[    0.460811] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.467789] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.474210] TCP: Hash tables configured (established 1024 bind 1024)
[    0.480722] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.486565] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.493144] NET: Registered protocol family 1
[    0.497537] PCI: CLS 0 bytes, default 32
[    0.501874] Crashlog allocated RAM at address 0x1f00000
[    0.508379] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.525046] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.530905] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.552044] io scheduler noop registered
[    0.555968] io scheduler deadline registered (default)
[    0.561653] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.571702] console [ttyS0] disabled
[    0.595300] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12500000) is a 16550A
[    0.604001] console [ttyS0] enabled
[    0.611020] bootconsole [early0] disabled
[    0.626372] m25p80 spi0.0: found m25p64, expected m25p80
[    0.631803] m25p80 spi0.0: m25p64 (8192 Kbytes)
[    0.637237] 5 tp-link partitions found on MTD device spi0.0
[    0.642889] Creating 5 MTD partitions on "spi0.0":
[    0.647721] 0x000000000000-0x000000020000 : "u-boot"
[    0.655099] 0x000000020000-0x00000016fd1c : "kernel"
[    0.662678] 0x00000016fd1c-0x0000007f0000 : "rootfs"
[    0.669726] mtd: device 2 (rootfs) set to be root filesystem
[    0.675478] 1 squashfs-split partitions found on MTD device rootfs
[    0.681784] 0x0000003c0000-0x0000007f0000 : "rootfs_data"
[    0.689945] 0x0000007f0000-0x000000800000 : "art"
[    0.697230] 0x000000020000-0x0000007f0000 : "firmware"
[    0.705522] Realtek RTL8366RB ethernet switch driver version 0.2.4
[    0.828782] rtl8366rb rtl8366rb: using GPIO pins 18 (SDA) and 19 (SCK)
[    0.835537] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[    1.080708] libphy: rtl8366rb: probed
[    1.085239] libphy: Fixed MDIO Bus: probed
[    1.430790] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    1.439227] NET: Registered protocol family 10
[    1.448248] NET: Registered protocol family 17
[    1.452864] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.466015] 8021q: 802.1Q VLAN Support v1.8
[    1.472407] hctosys: unable to open rtc device (rtc0)
[    1.483742] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.492729] Freeing unused kernel memory: 300K
[    1.497202] This architecture does not have kernel memory protection.
[    2.397951] init: Console is alive
[    2.401729] init: - watchdog -
[    2.548774] random: fast init done
[    3.666925] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.754072] usbcore: registered new interface driver usbfs
[    3.759789] usbcore: registered new interface driver hub
[    3.765233] usbcore: registered new device driver usb
[    3.776491] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.784949] ehci-platform: EHCI generic platform driver
[    3.790392] ehci-platform ehci-platform: EHCI Host Controller
[    3.796223] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    3.804335] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    3.838805] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    3.846288] hub 1-0:1.0: USB hub found
[    3.850525] hub 1-0:1.0: 1 port detected
[    3.855590] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.865789] init: - preinit -
[    4.578977] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    4.859457] random: procd: uninitialized urandom read (4 bytes read)
[    4.947121] ar71xx: pll_reg 0xb8050014: 0x1a000000
[    4.947143] eth0: link up (1000Mbps/Full duplex)
[    8.210360] jffs2: notice: (411) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.236422] mount_root: loading kmods from internal overlay
[    8.557856] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    9.023786] SCSI subsystem initialized
[    9.108588] usb-storage 1-1:1.0: USB Mass Storage device detected
[    9.115639] usb-storage 1-1:1.0: Quirks match for vid 152d pid 2329: 8020
[    9.122762] scsi host0: usb-storage 1-1:1.0
[    9.127658] usbcore: registered new interface driver usb-storage
[    9.134949] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    9.406313] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    9.416765] block: extroot: not configured
[    9.422185] mount_root: switching to jffs2 overlay
[    9.464988] urandom-seed: Seeding with /etc/urandom.seed
[    9.646282] eth0: link down
[    9.666866] procd: - early -
[    9.669970] procd: - watchdog -
[   10.214643] scsi 0:0:0:0: Direct-Access     WDC WD10 EARS-00MVWB0          PQ: 0 ANSI: 2 CCS
[   10.226696] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[   10.257344] sd 0:0:0:0: [sda] Write Protect is off
[   10.262266] sd 0:0:0:0: [sda] Mode Sense: 28 00 00 00
[   10.265937] sd 0:0:0:0: [sda] No Caching mode page found
[   10.271394] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   10.302564]  sda: sda1
[   10.311484] sd 0:0:0:0: [sda] Attached SCSI disk
[   10.807725] procd: - watchdog -
[   10.816970] procd: - ubus -
[   10.971745] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.984063] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.995938] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.010320] procd: - init -
[   11.279636] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   11.641153] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
[   11.885793] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.000605] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.035946] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   12.044088] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   12.071672] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.100112] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   12.261073] xt_time: kernel timezone is -0000
[   12.392224] PPP generic driver version 2.4.2
[   12.409179] NET: Registered protocol family 24
[   12.530881] ath: EEPROM regdomain: 0x0
[   12.530892] ath: EEPROM indicates default country code should be used
[   12.530897] ath: doing EEPROM country->regdmn map search
[   12.530914] ath: country maps to regdmn code: 0x3a
[   12.530921] ath: Country alpha2 being used: US
[   12.530927] ath: Regpair used: 0x3a
[   12.572214] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.577108] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
[   12.606526] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.256038] Adding 262140k swap on /mnt/sda1/swap.  Priority:-1 extents:18 across:642586176k 
[   26.438721] ar71xx: pll_reg 0xb8050014: 0x1a000000
[   26.444503] eth0: link up (1000Mbps/Full duplex)
[   26.449336] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   26.485166] br-lan: port 1(eth0.1) entered blocking state
[   26.490679] br-lan: port 1(eth0.1) entered disabled state
[   26.496626] device eth0.1 entered promiscuous mode
[   26.501507] device eth0 entered promiscuous mode
[   26.552892] br-lan: port 1(eth0.1) entered blocking state
[   26.558344] br-lan: port 1(eth0.1) entered forwarding state
[   26.564227] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   27.448863] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   27.455916] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   30.444849] ath: EEPROM regdomain: 0x8114
[   30.448955] ath: EEPROM indicates we should expect a country code
[   30.455076] ath: doing EEPROM country->regdmn map search
[   30.460435] ath: country maps to regdmn code: 0x37
[   30.465253] ath: Country alpha2 being used: DE
[   30.469729] ath: Regpair used: 0x37
[   30.473243] ath: regdomain 0x8114 dynamically updated by user
[   35.048312] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   35.204178] br-lan: port 2(wlan0) entered blocking state
[   35.209617] br-lan: port 2(wlan0) entered disabled state
[   35.215498] device wlan0 entered promiscuous mode
[   39.008883] random: crng init done
[   39.012330] random: 6 urandom warning(s) missed due to ratelimiting
[   50.391868] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   50.398491] br-lan: port 2(wlan0) entered blocking state
[   50.403907] br-lan: port 2(wlan0) entered forwarding state

root@OpenWrt:~# free
             total       used       free     shared    buffers     cached
Mem:         27832      23760       4072       1176       1056       3488
-/+ buffers/cache:      19216       8616
Swap:            0          0          0

root@OpenWrt:~# uptime
 04:03:02 up 4 days, 11:12,  load average: 5.83, 5.21, 3.18
root@OpenWrt:~# swapon /mnt/sda1/swap
root@OpenWrt:~# free
             total       used       free     shared    buffers     cached
Mem:         27832      22048       5784        212       1176       2388
-/+ buffers/cache:      18484       9348
Swap:       262140       1840     260300
root@OpenWrt:~# swapoff /mnt/sda1/swap 
root@OpenWrt:~# uptime
 04:50:21 up 4 days, 11:59,  load average: 0.14, 0.04, 0.33

root@OpenWrt:~# dmesg 
[   50.403907] br-lan: port 2(wlan0) entered forwarding state
[386014.416271] Adding 262140k swap on /mnt/sda1/swap.  Priority:-1 extents:18 across:642586176k 

root@OpenWrt:~# uptime
12:45:41 up 4 days, 19:54,  load average: 0.19, 0.05, 0.01 (before)
12:55:14 up 4 days, 20:04,  load average: 0.94, 0.83, 0.37 (while running status overview for 5 minutes)
13:03:08 up 4 days, 20:12,  load average: 0.00, 0.20, 0.25 (5 minutes after logout)
13:19:09 up 4 days, 20:28,  load average: 0.00, 0.01, 0.07 (running static LuCI page for 5 mins http://192.168.0.1/cgi-bin/luci/admin/services/samba of luci-app-samba - git-18.228.31946-f64b152-1)
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
27908 27901 root     R     1912   7%  19% [fw3]
27816  1259 root     R     3104  11%  17% /usr/sbin/smbd -F
  112     2 root     RW       0   0%  17% [kworker/0:1]
27909 27896 root     R     1912   7%  16% [fw3]

@Schugy That looks like Samba smbd ( NAS Drive ) working away real hard.

So most likely samba is using up quite a bit of CPU to to write to your disk drive and WLAN is doing the same. It has nothing to do with Luci. Your just pushing your router to its limit.

The firewall fw3 is also has high load but I don't enough about that.

TP-Link WDR4300 updated without problems here.

Upgraded 18.06.1 on TP-Link AC2600 without problem.
Upgraded 18.06.1 on Huawei HG556a with Wifi lost because of cal_data partition corruption, and rollback to 17.01.5.

And Xiaomi Mini upgraded 18.06.1 without problem, too.

Hey,

First off: Thank you all for the new releases!

I'm still running Chaos Calmer on my Linksys WRT1200AC but I finally have the time to upgrade. One question though: The wiki page for the WRT AC series still states LEDE 17.01.5 as the latest stable and OpenWRT 18.06 RC2 as testing. Is the wiki page simply outdated, or is there some reason why I shouldn't flash OpenWRT 18.06.2?

1 Like

Thanks, 18.06.1 it is. :slight_smile:

Hi,

I'm currently using LEDE 17.01 release on a TP-Link TL-MR3020 and wish to update to this 18.06.1 version. Unfortunately there is no image for this router in download area.
Have you dropped support for this device in this version or is it just a temporal failure? I cannot see that fact in Changelog.

https://openwrt.org/supported_devices/432_warning

Your device doesn't have enough flash to fit the full release build anymore, while it is still attempted to be built, it fails. You will have to use imagebuilder to strip down the installed packages or use a snapshot image (which don't include the webinterface, luci, by default and are therefore slightly smaller):

Thanks for the answer, I'll try the imagebuilder :slight_smile:

@pkreuzt - I have been meaning to upgrade my MR3020 to OpenWRT 18.06.1 from LEDE 17.01.4 as well (just haven't had the time). RAM could still be an issue, but the primary problem is the 4MB flash.

With that said, my recommendation would be to only perform the upgrade if you either plan to use extroot or if a non-LuCI + very bare-bones installation is sufficient for your needs.

Assuming you're going to utilize extroot, you may want to include the packages for the extroot process to make the process a bit easier. There are a few threads about this, such as this one, where there are some recipies suggested (mine is in post #12 of that thread, my last attempt was successful on 17.01.4, haven't tried with 18.06.x).

good luck!