OpenWrt/LEDE v17.01.5 service release

imagebuilder 17.01.5 return error on Manjaro 17.1.11.
imagebuilder 17.01.4 works fine.

Cleaning up

Activating init scripts

Building images...
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /home/cy/workspace/lede/imagebuilder/lede-imagebuilder-17.01.5-x86-64.Linux-x86_64/build_dir/target-x86_64_musl-1.1.16/linux-x86_64/root.squashfs, block size 262144.
Pseudo file "/dev" exists in source filesystem "/home/cy/workspace/lede/imagebuilder/lede-imagebuilder-17.01.5-x86-64.Linux-x86_64/build_dir/target-x86_64_musl-1.1.16/root-x86/dev".
Ignoring, exclude it (-e/-ef) to override.
[===============================================================================================================================================================================================================\] 570/570 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, no xattrs
	duplicates are removed
Filesystem size 1999.98 Kbytes (1.95 Mbytes)
	35.32% of uncompressed filesystem size (5661.80 Kbytes)
Inode table size 6248 bytes (6.10 Kbytes)
	22.63% of uncompressed inode table size (27613 bytes)
Directory table size 7906 bytes (7.72 Kbytes)
	47.37% of uncompressed directory table size (16689 bytes)
Number of duplicate files found 81
Number of inodes 828
Number of files 571
Number of fragments 21
Number of symbolic links  197
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 59
Number of ids (unique uids + gids) 1
Number of uids 1
Inconsistency detected by dl-open.c: 689: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
make[3]: *** [/home/cy/workspace/lede/imagebuilder/lede-imagebuilder-17.01.5-x86-64.Linux-x86_64/include/ /home/cy/workspace/lede/imagebuilder/lede-imagebuilder-17.01.5-x86-64.Linux-x86_64/build_dir/target-x86_64_musl-1.1.16/linux-x86_64/root.squashfs] Error 127
make[2]: *** [Makefile:178: build_image] Error 2
make[1]: *** [Makefile:118: _call_image] Error 2
make: *** [Makefile:203: image] Error 2

I just updated my TP-Link WDR4300 to 17.01.5 and SQM QoS with cake is broken. I'm using the same configuration I used in 17.01.4 but it does nothing, selecting cake as qdisc is the same as having SQM QoS completely disabled. If I switch to fq_codel, however, SQM works fine. I've set the logs to trace level but there's nothing wrong with SQM, the required modules are properly loaded and the SQM instance is successfully started without any error, but if cake is selected as the qdisc I'll get the same bufferbloat as I would get with SQM disabled...

Has anyone else experienced this issue? SQM QoS with cake is a must for me and I'm seriously considering downgrading back to 17.01.4 where it worked flawlessly if there's no solution for this...

As a workaround, run the following command once within the IB/SDK directory:
sed -i -e 's,/\(usr\|lib\|etc\)/,/###/,g' ./staging_dir/host/lib/

I can confirm Cake discipline in SQM doesn't work too on Home Hub 5A for 17.01.5.

fq_codel works fine.

Is this similar to the issue that afflicted 18.06.0-rc1 for MIPS platforms?

Update: Following @hnyman post further down this page, I installed 17.01 r3925 snapshot, and can confirm 'cake' appears to be working.

1 Like

Thanks, works now!

@ldir has pushed cake fixes to 17.01 branch after the 17.01.5 release tag, so it is possible that there has been an issue with cake on 17.01.5, but that it would have been fixed for subsequent 17.01 builds.;a=shortlog;h=refs/heads/lede-17.01

PLease post the output of:
tc -s qdisc
with cake/piece_of_cake, I assume you hit an already fixed bug, but we might find a way to work around this (IIRC the bug is depending on the number of keywords passed to cake, or rather the aligmnent of Netlink attributes that can be affected by the number of keywords).

It's a 'kernel version v kmod version v userspace tc util' API mismatch issue caused by just missing the 17.01.5 tag (I think) So userspace is speaking 'newer cake' (actually upstreamed-cake API) whilst kmod is speaking 'older style'. As I understand the openwrt release/build mechanism, the kernel & hence kmods (think cake) stay at the tagged release point, but userspace utilities (think tc) follow package bumps. So even if kmod & userspace are bumped, unless a new release is made the kmods will still be at the old version.

People who build their own will of course be happy because they get latest kernel (&kmod) and latest userspace packages too.

This sadly is unavoidable API hell due to the upstreaming requirements...namely passing of nested netlink attributes, which itself exposed a kernel 64 bit attribute data alignment bug in k4.9> for MIPS. That bug doesn't exist for k4.4 'cos netlink at that point didn't worry about trying to align 64 bit data values to 8 byte offsets.

For the moment I have reverted both kmod & tc bumps. This means the userspace packages should sort themselves out in a day or so. @jow and I are trying to come up with a cunning plan for 17.01.6

1 Like

@ldir thanks for clearing this up, so ATM the recommendation is simply do not use cake on 17.01.5 then?

Update, ATM meaning the next 24 hours only :wink:
@ldir, @jow thanks for the quick reaction!

The recommendation is to wait for 24 hours, then opkg install the up- (downgraded) tc package.


My mistake in this is that I shouldn't have felt pressured into committing the tc & cake bumps. Just after release tag was the worst time to do it. Lesson learned (hopefully)


Upgraded my TP-Link WDR4300 to this release, from v17.01.4, no problems.
Just had to reinstall my custom packages (upnp, ddns and sqm), and good to go!

(Update: I couldn't wait and updated the TP-Link WDR 4300 to 18.06 rc2 - which went smooth as well.)

Upgraded WRT3200ACMv1 from .4 without issue. Kept settings.

P.S. Anyone tried 18.06.00 RC2? I might give it a go on a backup WRT1900ACSv1

No idea about WRT1900, but I've been running rc1 and rc2 on WRT32000 (with eduperez'es updated WiFi drivers) and both release candidates have been great for me.

1 Like

thanks for fixing it :slight_smile:

@stangri Thanks. Loaded 18.06.00 RC2 on WRT1900ACSv1. Kept settings. So far so good.

17.01.05 is installed and working without problems on these TP-LINK access points:

TL-WR741ND version 4

No problems observed.

Thanks everyone for the excellent work!

sit (6in4 kernel driver) is broken in 17.04.5, because an upstream commit.
It should be fixed in 4.4.143. The patch is pending now.

I uploaded the system upgrade bin, verified the sha, and flashed the new firmware. When the router reboots, it shows I am still running 17.01.4 with kernel 4.4.92. I see no errors in the logs. Has anyone else experienced this? This is for the WRT3200ACM v.1. Bin file uploaded: lede-17.01.5-mvebu-linksys-wrt3200acm-squashfs-sysupgrade.bin