bluew has joined #openwrt-devel
Luke-Jr has quit [Read error: Connection reset by peer]
<mangix> this nand driver fix makes me thing i should flash a new build
Luke-Jr has joined #openwrt-devel
<Slimey> how does the persistent /var option work? I enabled it but /var goes to temp
<Grommish> neggles: https://paste.pics/G24N0
<Slimey> how long did that take to draw :P
<Grommish> Slimey: Ah, neggles decided on a fractal pattern for whatever reason :) (probably because he could).. it's a test package for verifying rust-lang on a target
<Slimey> lol oh
atomiclycursed has joined #openwrt-devel
minimal has quit []
grid has joined #openwrt-devel
atomiclycursed has quit [Remote host closed the connection]
<owrt-snap-builds> Build [#465](https://buildbot.openwrt.org/master/images/#builders/20/builds/465) of `gemini/generic` completed successfully.
philipp64 has joined #openwrt-devel
valku has quit [Quit: valku]
valku has joined #openwrt-devel
valku has quit []
goliath has joined #openwrt-devel
GNUmoon has quit [Ping timeout: 480 seconds]
guidosarducci has joined #openwrt-devel
guidosarducci_ has quit [Remote host closed the connection]
cbeznea has left #openwrt-devel [#openwrt-devel]
GNUmoon has joined #openwrt-devel
Yuanandyuan has joined #openwrt-devel
Yuanandyuan has quit []
goliath has quit [Quit: SIGSEGV]
<ynezz> since 5.10 seems to be almost complete, it makes me wonder if it was already decided what are next LTS kernel is going to be
goliath has joined #openwrt-devel
<ynezz> I've noticed some efforts with 5.15 but it doesn't seem like LTS kernel since it has projected EOL next year
<mangix> ynezz: weird
<ynezz> that's what I'm reading here https://www.kernel.org/category/releases.html
<rsalvaterra> All LTS releases start as normal releases.
<ynezz> ok, so it's undecided, it's a proposal
<rsalvaterra> Yes, as it's always been.
<rsalvaterra> The exact same thing happened with 5.10: https://lore.kernel.org/lkml/YA%2FE1bHRmZb50MlS@kroah.com/
dedeckeh has joined #openwrt-devel
rua has quit [Quit: Leaving.]
<rsalvaterra> Maybe it wouldn't be a bad idea to reach out to gregkh and tell him exactly OpenWrt is planning on using 5.15 as an LTS release.
<Pepes> Guys, can we update mac80211 and rpcd (there is pending pull request for ax support) in OpenWrt 21.02?
<ynezz> Pepes: it's always better to reply to those emails https://lists.infradead.org/pipermail/openwrt-devel/2022-February/037904.html
<Pepes> Ok, I will do. I didn't want to annoy anyone with my email that's why I mentioned hauke directly on GH
<ynezz> I would normally merge them, but AFAIK hauke plans to tag 21.02.2 today if the builds looks good, so don't want to delay it with more merges
<neggles> Grommish: yay!
<mangix> hmm sounds like ksmbd's not going to get merged then
Misanthropos has quit [Ping timeout: 480 seconds]
<f00b4r0> jow: ping?
<neggles> ynezz: 5.15 is definitely the next LTS, it's always the last release of the calendar year, and it will be the kernel for ubuntu 22.04 which more than meets gregkh's annoying noncommittal requirements
goliath has quit [Quit: SIGSEGV]
<neggles> Slimey: yeah i just ganked some code i found in a gist, fractals were the first-ish thing that came to mind for "what needs floats"
<ynezz> Pepes: I've just reviewed that PR#5043, what's the other one, I can't see it tagged with 21.02
<owrt-snap-builds> Build [#422](https://buildbot.openwrt.org/master/images/#builders/71/builds/422) of `bcm4908/generic` completed successfully.
<Pepes> ynezz: Thanks! There is no PR for mac80211 since hauke is doing some magic (just kidding) in the official repository: https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/ so it is a question if adding patches to OpenWrt is better or even reach Hauke how it is possible to help him on this one with some Wi-Fi highlighted issues
<Pepes> and then just simply bump the version
eduardo010174 has joined #openwrt-devel
slh has quit [Ping timeout: 480 seconds]
slh64 has quit [Ping timeout: 480 seconds]
slh has joined #openwrt-devel
slh64 has joined #openwrt-devel
dedeckeh has quit [Remote host closed the connection]
<aparcar> jow: could you please comment on this? https://github.com/openwrt/luci/pull/5679
danitool has joined #openwrt-devel
nitroshift has joined #openwrt-devel
goliath has joined #openwrt-devel
pmelange has joined #openwrt-devel
<aparcar> mangix: did you try to back port meson to 21.02?
pmelange1 has joined #openwrt-devel
pmelange1 has left #openwrt-devel [#openwrt-devel]
<rsalvaterra> aparcar: Holy smokes, that was fast. I switched to master to sync and it was already there. :P
<aparcar> rsalvaterra: obviously I set all notifications coming from you to highest priority
<aparcar> mangix: never mind https://github.com/openwrt/openwrt/pull/4736 did the trick!
<rsalvaterra> You give me way too much credit. :P
pmelange has quit [Ping timeout: 480 seconds]
<jow> aparcar: hm, I don't see anything actionable about the PR
<aparcar> jow: it's about dropping the hash from the versions since APK (and apk devs) don't like it
<jow> aparcar: the dependencies obviously can't be changed yet, dropping the "git-" prefix... maybe
<jow> oh
<aparcar> I mean we can patch it downstream
<jow> I need the hash
<aparcar> whyy
<aparcar> it makes stuff less.. comparable
<jow> to know which commit a user runs specifically and if LuCI was built from a vanilla tree or a custom fork
<jow> maybe you can patch it in a way that it appears in LuCI but not as part of the package version
<aparcar> so you need it more like a debugging information?
<jow> well actually I need it so that versions are unique
<jow> but I can live with builds from different commits sharing the same versdion
<neggles> hide the commit hash in package metadata somewhere
<jow> that's what I said
<jow> another problem with dropping the hash is that two builds from different branches with the same HEAD commit date wil lhave the same version
<aparcar> jow: well it'd contain seconds
<aparcar> we can make it mili seconds and should be fine for most cases?
<aparcar> I guess source date epoch only supports seconds
<aparcar> but still unlikely to collide
<neggles> milliseconds is probably excessive
<jow> well if we drop the hash for the sake of making the versions comparable then we should do it properly
<aparcar> properly as in?
<jow> that means extracing the base version from the branch, append current year, date of year and second timestamp as minor and micro version
<jow> e.g. 21.02.22025.79016 where 21.02 is the base, 22 the year of the HEAD commit, 025 the day of the year, 79016 the second of day
<jow> master will then need to use a base that apk always consider larger than any digit, not sure if letters are allwoed
<jow> if yes, then master.22025.79016
<jow> then you can actually compare versions (master.22025.79016 >> 21.02.22025.79016)
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
<aparcar> I guess APK understand stuff as alpha and beta to be newer
<aparcar> I'll try to figure something out
<neggles> letters are fine, it normalizes to lowercase then treats 'a' as 9+1, 'b' as 9+2
<neggles> it also allows for a '-git' post-suffix
<jow> which is ignored I guess
<jow> then let's do master.22025.79016-git22e2bfb
<jow> and everyone should be happy
<neggles> a revision number is allowed as well
<aparcar> errr neggles are you sure?
<neggles> aparcar: no, no i am not, trying to wrap my head around this
<jow> it seems to allow only version strigns with leading digits
<jow> and one of the special suffices "alpha", "beta", "pre" or "rc"
<aparcar> it has some corner cases build in like for openssl with 1.1.1<letter>
<aparcar> so we can also extend it
<aparcar> but adding a hash...
<neggles> alpha is a prefix, so you can have e.g. 1.2.3.beta5 or 2.3.4-git
<neggles> looks like it still needs every token before that to be a regular ole number
<aparcar> we could set 99 instead of master
<neggles> or 999
<jow> which is ugly
<neggles> if you want to be optimistic/paranoid
<jow> and technically unnecessary
<aparcar> well it bows to the current system
<jow> I really hate working around tool deficiencies
<neggles> oh hey you can compare version strings with `apk version -t "1.2.3.4" "1.2.3.5"`
<neggles> and it'll tell you what its opinion is
<aparcar> neggles: correct, you can also have `apk version --check`
<jow> imho a tool should simply split a version on `.`, `-`, `~`, `_` and strcmp() each part
<jow> abc.999 > 0.1; 99.4-wahteveriplease < 100.123
<jow> I really don't get the reason why apk imposes such strict version format requirements
robimarko has joined #openwrt-devel
<jow> it's a little bit as if they want to enforce packages to adopt semantic versioning
<aparcar> jow: I'll ask but your guess seems right, semantic versioning could be the goal
<robimarko> Borromini: Just saw that you had questions about RB5009 yesterday
<jow> (the strcmp() each part was too simple, the shorter token has to be leading-zero-padded to the length of the longer one, so "99" vs. "100" becomes "099" vs. "100"
<aparcar> jow: how do we teach apk that `master` is bigger than `21`?
<jow> otherwise 99 > 100
<robimarko> We have a patched RouterBoot with enabled UART, so that can be flashed using jailbroken ROS, via CH341A or you can boot it via XMODEM on UART
<jow> aparcar: strcmp("master", "000021") > 0
<neggles> jow: it checks the tokens individually, so it'd be 99.99, which has the benefit of never being a valid version
<jow> neggles: yeah and why should I use a version that is not a valid version
<neggles> however
<neggles> that's interesting
<neggles> apk version -t master.21.02.22025.79016 master.99.99.22025.79016 reports =
<jow> lilely because internally invalid == invalid
<neggles> nup, it prints nothing if it's invalid
<neggles> i think? i should be checking exit codes
<aparcar> neggles: so it's broker overall...
<neggles> not quite
<aparcar> try version --check
<neggles> ah yes
<neggles> invalid
<neggles> thankyou
<neggles> so if you put
<neggles> _git
<neggles> at the end of the version number it ignores everything that comes after
<neggles> ah not quite
<neggles> i think the idea is that you set the version of git packages to <your next major version>_alpha<some monotonically incrementing thing>
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (99.2% images and 95.3% packages reproducible in our current test framework.)
Tapper has joined #openwrt-devel
mattytap has quit [Read error: No route to host]
mattytap has joined #openwrt-devel
<neggles> aparcar / jow: perhaps use XX.13.YYDDD.SSSSS for master builds? it will read higher than any YY.MM.P.YYDDD.SSSSS build (from a release) but could be problematic if there's more than one release in a year (unlikely?)
<stintel> are there any WiFi6 USB adapters with Linux + monitor mode support?
gladiac has quit [Quit: k thx bye]
<rsalvaterra> stintel: Do you want a unicorn to go with that? :)
gladiac has joined #openwrt-devel
<rsalvaterra> Tough combination…
<stintel> nbd: if qosify_dscp_default[2] = { 0xff, 0xff } and I do not have dscp_default_tcp set, how come all non-specified ports are using DSCP value 144 in /sys/fs/bpf/qosify_data/tcp_ports ?
<stintel> nbd: also, seems https://git.openwrt.org/918d4ab4 fixes the NAND issue I had on the Z-Router device I was working on
<stintel> ugh. spoke too soon
<stintel> a few reboots down the line again hitting [ 39.841573] jffs2: cannot read OOB for EB at 01ea0000, requested 8 bytes, read 0 bytes, error -77
<stintel> so did nobody ever hit this yet because pure luck?
<stintel> in a previous boot I saw this: [ 37.578144] jffs2: warning: (2251) jffs2_sum_write_data: Not enough space for summary, padsize = -990
reiffert has quit [Ping timeout: 480 seconds]
<ynezz> hauke: while working on wolfssl version bump for 19.07 I've noticed, that ustream-ssl isn't ABI version aware in master/19.07/21.02 and I'm working on a fix, this is probably important fix for 21.02 as well
<stintel> ok I have the exact same issue on my other unit
<ynezz> jow: can you please review http://sprunge.us/p7jjV9 (ustream-ssl: make library ABI version aware)
<ynezz> jow: rather this one http://sprunge.us/IE29ew with hopefully better commit message
<cotequeiroz> ynezz: I don't think it will work with uclient-fetch as is: https://git.openwrt.org/?p=project/uclient.git;a=blob;f=uclient-fetch.c;h=282092e2f556a54c9a74366840231c57450c1428;hb=HEAD#l516
<ynezz> cotequeiroz: ah, good point
<ynezz> cotequeiroz: BTW I've prepared following for that wolfssl version bump https://gitlab.com/ynezz/openwrt/-/commit/b1b0a98a90e07421440b324458355ff3e5ccf917
<ynezz> actually don't know how to handle that uclient-fetch dynloading, we would probably need to use some fixed version string and pass it from CMake define, which seems very brittle to me
<ynezz> so the ABIVERSION in uclient-fetch would need to match ABIVERSION in ustream-ssl
Tapper has quit [Ping timeout: 480 seconds]
<cotequeiroz> ynezz: wolfssl looks good. As for libustream, I would leave it without a version, creating a dogma not to change the current API--only use new names. Introduce ABI-version symbols. Then uclient-fetch (and other users) should just check the existence of that symbol to decide if it is compatible or not.
<ynezz> but if you have libustream-ssl linked against wolfssl 4.7.0, how could another one linked against wolfssl 5.1.1 coexist?
<ynezz> you would need different filename, don't you?
<jow> yes
<cotequeiroz> Yeah
<jow> lesson learned: deal with lirbary vesioning before the fact :)
<ynezz> :D
<jow> and we should really recnsider wolfssl
<jow> I didn't thoroughly track that tpic recently but from what I gathered it appeared to be *very* volatile with little regard for long term stability
<jow> as in, maintaining some version with a fixed api/abi for some time
Gaspare has joined #openwrt-devel
<ynezz> yes, if they didn't improved that, then we should reconsider it
<cotequeiroz> They seem to be chasing many moving targets: openssl, plus the different applications they have to acommodate
srslypascal is now known as Guest69
srslypascal has joined #openwrt-devel
<ynezz> we've told them, that this is insane and they've promised to improve it
Guest69 has quit [Ping timeout: 480 seconds]
<eduardo010174> Good morning, ups Afternoon xD.
<ynezz> "all current versions of wolfSSL strive to remain backwards compatible with all previous versions" :D
<ynezz> so one year has passed already since then and if they're not able to keep that promise, please let me know or update that ticket
<ynezz> this might be a good candidate https://github.com/openwrt/openwrt/issues/9247 if someone can track it to the root of the problem
<eduardo010174> rsalvaterra: This pull request add for ipv6 routing on HW. https://github.com/openwrt/openwrt/pull/4918. What is more need for merge?
<rsalvaterra> eduardo010174: nbd says it's fine, that's good enough for me. However. I'd like to know if the patch was also sent upstream.
<nbd> stintel: i recommend getting rid of jffs2 on your nand based device
<nbd> replace it with ubi
<nbd> i've seen the same kind of jffs2 issues on mt7622 devices with nand as well
<stintel> nbd: it's not possible, the bootloader looks for the squashfs
<nbd> does it read anything from squashfs?
<nbd> or does it just look for a magic
<stintel> it checkfs for the magic iirc
<nbd> then that should be easy to trick
<nbd> is that device supported in openwrt yet, or using out-of-tree patches?
<stintel> I am trying to add support for it
<nbd> does it look for squashfs directly after the kernel, or in a fixed location?
<nbd> what's the flash layout?
<stintel> https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=blob;f=target/linux/ramips/dts/mt7621_zrouter_zr-2662-v1.dts;h=20f5e59804af6792d546fd318c661d871502de22;hb=b01a724f0eec50a00a68ae5539fcca85403a4eec
<stintel> iirc when I was trying with UBI I got this: https://gist.github.com/stintel/88a34e573ef282e9a0279c4cb285af81
<stintel> that's the u-boot code that does the checks
<rsalvaterra> eduardo010174: I don't see the patch in linux-netdev at all. If this was a hack, I wouldn't mind. However, since is supposed to be a patch for upstream, I'd *really* like to see it merged upstream first, and *then* backported to 5.10.
<eduardo010174> rsalvaterra after search only find this links, original https://lkml.org/lkml/2021/3/22/496 and depends for link in the description
<eduardo010174> probably you is correct and it's not in "Awaiting Upstream"
mattytap has quit [Ping timeout: 480 seconds]
<rsalvaterra> I'm pretty sure it hasn't been sent upstream.
<eduardo010174> I agree
<nbd> stintel: here's my suggestion: create a fake squashfs image header that is very short. place it after the kernel image
<nbd> make the kernel partition fixed size
<nbd> e.g. 4 MB or something like that
<nbd> use the area after that for ubi
<nbd> boot loader only checks the size and checks if there is data present at the end of the fs
<nbd> i guess this was made to detect if flashing an image was aborted
<rsalvaterra> eduardo010174: There. Now it's explicit.
<stintel> nbd: thanks, will have a go at it
<stintel> already had fixed kernel partition of 4MB in my UBI attempt
<stintel> hmmmz, don't really remember how this all worked in combination with fit images
<nbd> i looked at your image building code
<nbd> the fs is simply appended to the image
<nbd> so you can leave the kernel as-is
<nbd> and instead of appending the rootfs, you append the fake header + padding to 4 MB
<nbd> then the ubi part
Tapper has joined #openwrt-devel
aleksander has joined #openwrt-devel
<eduardo010174> rsalvaterra: Thanks. Now it's wait for others.
Guest33 is now known as Rayyan
eduardo010174 has quit [Remote host closed the connection]
nitroshift has quit [Quit: Gone that way --->]
<owrt-snap-builds> Build [#454](https://buildbot.openwrt.org/master/images/#builders/57/builds/454) of `octeon/generic` completed successfully.
slh_ has joined #openwrt-devel
slh64 has quit [Ping timeout: 480 seconds]
slh has quit [Ping timeout: 480 seconds]
slh has joined #openwrt-devel
rua has joined #openwrt-devel
<stintel> bash: line 1: /home/stijn/Development/OpenWrt/openwrt/staging_dir/host/bin/mksquashfs-lzma: No such file or directory
<stintel> this is from tools/squashfs
<stintel> any idea why this wouldn't be buikt ?
<stintel> ah, that's only built for ath79
Tapper has quit [Ping timeout: 480 seconds]
<Grommish> stintel: ping. You wouldn't have a mips_24kc/mipsel_24kc test bed, would you?
<stintel> I do
<Grommish> stintel: Any chance you'd be willing to run this float-test ipk on them? neggles wrote it to help test rust-lang output crossed bins. mips64 requires kernel fpu being set
<Grommish> It'll either work or SIGILL from the missing float instructions hehe
<stintel> ask me again in 3h
<Habbie> Grommish, i have a mips_24kc 19.07 that i can try things on
<Habbie> Grommish, or if you're very patient, i could have a 21.02 or master mips_24kc
<Habbie> Grommish, but stintel is likely a better bet in that case
<Grommish> Habbie: It'll either work or SIGILL
<Habbie> well, hit me :)
pmelange has joined #openwrt-devel
<Grommish> I know that mips64 requires kernel config changes to enable FPU, but I don't know about the rest of the mips family
<Grommish> and I'm stalling in starting arm
pmelange has left #openwrt-devel [#openwrt-devel]
<Habbie> Grommish, i see a fractal
<Grommish> Then, it works.. for mips_24kc? Sweet! Thank you
<Grommish> and on 19.07??
<Habbie> running on linux mips with 106x32 terminal, aspect ratio 0.37735849056603776
<Habbie> Grommish, this is 19.07
<Grommish> Nice! Thank you!
<Habbie> Grommish, i can try 21.02/master later if necessary, but not right now
<Habbie> Grommish, for your notes, this is the archer c7 v5
<Grommish> Habbie: In theory it should work on anything, I run master only for example
<Habbie> ack
<stintel> nbd: right, ubi didn't work either: https://gist.github.com/stintel/d9613cd6db4d264e93c096c9677c5fcf
<stintel> same error -77
<Grommish> Habbie: But it's very cool to know it at least works on 19.07. rust-lang should be like any other C/C++ compiled though, as long as I set it up right
<Habbie> Grommish, indeed
Tapper has joined #openwrt-devel
minimal has joined #openwrt-devel
<owrt-snap-builds> Build [#487](https://buildbot.openwrt.org/master/images/#builders/6/builds/487) of `lantiq/xway` completed successfully.
Gaspare has quit [Ping timeout: 480 seconds]
dangole has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
lucenera has joined #openwrt-devel
<owrt-snap-builds> Build [#462](https://buildbot.openwrt.org/master/images/#builders/47/builds/462) of `bcm27xx/bcm2710` completed successfully.
mattytap has joined #openwrt-devel
<stintel> > The boot files which are used by WatchGuard are proprietary and does not use the files noted. WatchGuard Development will need to make a change to the code so that it can boot with the noted files. This will take some time to get completed, I will post the links to the files once they have been updated.
<stintel> right
<stintel> neggles: WatchGuard support be trolling us or what? I told them if they refuse to comply I'll report them to the copyright owners, gpl-violations.org and SFC
cmonroe has joined #openwrt-devel
cmonroe_ has quit [Ping timeout: 480 seconds]
owrt-1907-builds has quit [Remote host closed the connection]
owrt-2102-builds has quit [Remote host closed the connection]
owrt-snap-builds has quit [Remote host closed the connection]
owrt-2102-builds has joined #openwrt-devel
owrt-1907-builds has joined #openwrt-devel
owrt-snap-builds has joined #openwrt-devel
dansan has quit [Remote host closed the connection]
mangix has joined #openwrt-devel
mangix has quit [Remote host closed the connection]
dansan has joined #openwrt-devel
eduardo010174 has joined #openwrt-devel
ecloud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<stintel> Grommish: still need that testing ?
<Grommish> and, I could use a aarch64 target to pick for testing if you have one off the top of your head
ecloud has joined #openwrt-devel
danitool has joined #openwrt-devel
goliath has joined #openwrt-devel
<stintel> Grommish: I have aarch64 too
<stintel> but ugh google drive, can we simply add that thing to the packages feed for the time being ?
<Grommish> stintel: If you also want to build out the toolchain to build the package
<Grommish> stintel: That's just the ipk.
<stintel> > Yes that is true but these are not what is being used to Boot the system, you can see in your details the WatchGuard U -Boot which is the propriety.
<stintel> wtf
<ynezz> Proprietary GPL v2.0 or later
<hauke> Pepes: ynezz: I plan to tag 21.02 today
<stintel> > As I stated we are modifying the GPL software so that the appliance can boot up with the U-Boot - At current this is not possible, once we have removed the WatchGuard software we will provide you with the GPL version which will boot the appliance.
<hauke> I will look into wireless update in the next days
<hauke> there are also some patches pending on the backportes list
<stintel> Grommish: is there a wget-able URL for those ipk's?
<Grommish> stintel: Dunno.. Gimme a min and I'll just repo them
<stintel> Grommish: I responded to the thread
<stintel> but that's what I meant with add it to the packages feed: it will be built by the buildbots and anyone can just opkg install it
<stintel> no google drive nor the need to provide a wgetable url :)
<Grommish> stintel: It requires rust-lang, which the build bot woukdn't have and wnt' be in packages for a long time, if ever
<stintel> oh
<Grommish> But, You raise a good point about repo and versioning control on my end
<Grommish> Yah, that's a rust-lang bin you ran :D
<stintel> I did not realize it's built with rust
<Grommish> It does work for the arches I've verified at least
<Grommish> stintel: https://github.com/Itus-Shield/float_test This should be better foir the future
<stintel> Grommish: is there a Makefile / feed so I can build it myself?
<Grommish> stintel: Yes, but I'll need to update the PR before you will want to
<stintel> I can test arm_arm1176jzf-s+vfp arm_cortex-a7+neon-vfpv4 aarch64_cortex-a53 aarch64_cortex-a72 if helpful
<Grommish> Which I can do before I kick this aarch64 build off
<Grommish> Oh god.. Not arm
<Grommish> I'm stalling on arm
<Grommish> Have fun.. be warned it will take longer than you think it should
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
<stintel> Grommish: how do I build float-test itself ?
<Grommish> Working on it :) One sec
<stintel> Grommish: can you make it so it can be added as a feed? :P
<Grommish> stintel: Show me how?
<Grommish> Just as part of a standard packages?
<stintel> afaik just move everything in a subdir
<Grommish> Oh
<Grommish> Like that?
<stintel> I believe that should work
<stintel> PKG_MIRROR_HASH:=skip :D
<Grommish> I hadn't bothered to rerun check after the update :D and I never expected to put it up hehe
Borromini has joined #openwrt-devel
<stintel> rsalvaterra: # logread
<stintel> Illegal instruction
<stintel> hmmm, netifd/udhcpc problem ... when a router transitions to backup state, it runs "ifdown wan" ... apparently that doesn't stop netifd or udhcpc from renewing the lease later on, hijacking the lease from the active router and causing all kinds of weirdness
<jow> stintel: ifdown wan should terminate all associated processes
<jow> if it does not there's a bug
<jow> but your log show a new pid for udhcpd after the ifdown, so the more likely explanation is that something simply ifup'd wan again
<jow> or the "Feb 17 14:37:39 10.x.x.253 netifd: wan (19581): Command 'call' failed: Permission denied" is the culprit
<stintel> that pid shows up the first time in that renew log line
<stintel> there is also no netifd: wan (19581): udhcpc: started, v1.35.0 line
<stintel> ok, I did do a sysupgrade between the 2, so it appears it is bringing up wan during boot, even if it's configured not to
<stintel> option auto '0' no longer works for interface?
<jow> it does for me
<jow> that call failed error message is odd
<jow> can't find anything in netifd, procd, the various support scripts, base-files etc. generating such a message
<jow> do you run any customizations?
Misanthropos has joined #openwrt-devel
<stintel> Thu Feb 17 12:18:18 2022 daemon.info Keepalived_vrrp[5237]: (VI_2) Entering MASTER STATE
<stintel> goddamnit
<stintel> jow: that call failed is generated by procd iirc, very annoying to track down
robimarko has quit [Quit: Leaving]
<stintel> actually that might be modified, to try and track down what is causing it
<stintel> the original should probably be "Command failed: Permission denied"
<stintel> probably a racy config
<stintel> I suspect keepalived now starts before the network interface to communicate with other vrrp members is brought up properly
<stintel> so it transitions to master while it shouldn't
<stintel> interfaces are brought up before keepalived ... I do notice keepalived transitions to backup again after chronyd corrected the time
eduardo010174 has quit [Remote host closed the connection]
srslypascal is now known as Guest132
srslypascal has joined #openwrt-devel
Guest132 has quit [Ping timeout: 480 seconds]
srslypascal is now known as Guest135
danitool has joined #openwrt-devel
Guest135 has quit [Ping timeout: 480 seconds]
<stintel> jow: Command (call) failed ... -> https://gist.github.com/40b7131c9025dc64dab8058d22645276
<stintel> it was ubus, I modified that in an attempt to trackdown the completely useless "Command failed: foo" messages
pmelange has joined #openwrt-devel
<stintel> have not bothered after the initial attempt
<jow> :D
<jow> problem is that "cmd" contains "call" or "List"
<stintel> yeah
srslypascal has joined #openwrt-devel
<jow> your probably want to dump argv[0] && argv[1]
<stintel> so this is from something calling "ubus call foo bar" right ?
<jow> fprintf(stderr, "Command failed: %s %s %s %s\n", cmd, argc > 0 ? argv[0] : NULL, argc > 1 ? argv[1] : NULL, ubus_strerror(ret));
<jow> yes
<jow> the proper solution is moving the error printing into the callbacks
<jow> because args are interpreted differently
<jow> change to ret = ubus_invoke(...);
<jow> if (ret)
<jow> fprintf(stderr, "Call to %s %s failed: %s\n", argv[0], argv[1], ubus_strerror(ret));
<jow> return ret;
<jow> actually if (ret && !simple_output)
<jow> and while being at it, the "failed to parse message data" could be changed into "Failed to parse message for call to %s %s\"
<stintel> if (argc < 2 || argc > 3), so there could be 2 or 3 arguments
srslypascal has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
Thagabe has joined #openwrt-devel
<jow> the 3rd would be the json message
<jow> you likely do not want to dump that
pmelange1 has joined #openwrt-devel
pmelange has quit [Read error: Connection reset by peer]
pmelange has joined #openwrt-devel
pmelange1 has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
<Grommish> stintel: You thinking of building everything out? Let me know how it goes, if you could :)
<stintel> Grommish: probably not for tonight anymore, tracking some bugs in my HA setup
<Grommish> stintel: Eek, GL!
<stintel> Grommish: thanks
<stintel> Thu Feb 17 23:02:08 2022 daemon.info Keepalived_vrrp[5447]: Delaying startup for 5 seconds
<stintel> this seems to help but don't really like it
<stintel> jow: actually, without the json that log entry is still not very useful
<stintel> Call failed: system sysupgrade { "prefix": "\/tmp\/root", "path": "\/tmp\/openwrt-qoriq-generic-watchguard_firebox-m300-squashfs-sysupgrade.img.gz", "backup": "\/tmp\/sysupgrade.tgz", "command": "\/lib\/upgrade\/do_stage2", "options": { "save_partitions": 1 } } (Connection failed)
<stintel> Call failed: system sysupgrade"
GNUmoon has quit [Ping timeout: 480 seconds]
<stintel> imo these calls should never fail, and if they do, we should try to fix them, and giving the full call including the json is the only useful thing to help tracking that down
<stintel> I'll sit on it for a bit longer, probably send a patch for review in the coming days
Luke-Jr has quit [Ping timeout: 480 seconds]
eduardo010174 has joined #openwrt-devel
eduardo010174 has quit [Remote host closed the connection]
Borromini has quit [Quit: Lost terminal]
arnd has quit [Read error: Connection reset by peer]
arnd has joined #openwrt-devel
al has quit [Ping timeout: 480 seconds]
al has joined #openwrt-devel
Luke-Jr has joined #openwrt-devel
Thagabe has quit [Quit: Connection closed for inactivity]
GNUmoon has joined #openwrt-devel
<neggles> stintel: i saw there'd been a reply but i didn't open it yet
<neggles> > WatchGuard will need to create GPL builds with the boot files, all existing boot files are WatchGuard proprietary so our Development team has to adjust the system to use the boot file. This will take some time and we will update the case once we have a GPL build with a boot file.
<neggles> I am going to give them the benefit of the doubt and assume that "all existing boot files are WatchGuard proprietary" is *meant* to be "all existing u-boot binaries and source trees contain watchguard proprietary code"
<neggles> which is fine *if* their proprietary code is only interfacing via the u-boot API which explicitly has an exclusion
<neggles> ...it doesn't seem to be, but
<neggles> Grommish: interesting that it reports a 0x0 terminal :P
<Grommish> neggles: Tera-Term
<Grommish> neggles: over roll-over console
<neggles> odd, it should be able to read out the dimensions, but idk if teraterm implements that part of the protocol
<neggles> PuTTY does
<Grommish> Does report correctly on a ssh connection though
<neggles> i am glad i clamped the minimum output size to 64x64 then :P
<neggles> the crate i'm using for terminal info has another function which indicates whether there's terminfo or not
<neggles> should probably use that so it doesn't say '0x0 terminal' but meh details
<Grommish> I'm building a test package for aarch64, and then x86 I think, which will then circle me back to arm :(
<neggles> I suspect on 32-bit you'll have Problems
<neggles> since i'm using float64s
<Grommish> neggles: Works for mips/mipsel *shrug*
<neggles> neat
<Grommish> Even worked under 19.07
<neggles> I should be checking to see if the system is 32 or 64-bit
<neggles> or i should just search/replace f64 with f32 and see if it makes any difference to the output
<neggles> i suspect not
<neggles> it does not
<Grommish> I wouldn't think it would make a difference to the output, but unless I run into issues, no reason to "fix" it unless you want to. Once i build the toolchains out, it's trivial to rebuild the test package
<Grommish> I'm still trying to decide how best to handle arm and how it's laid out in the build system
<neggles> iirc i came up with some fairly simple rules for that which don't require much to be changed/updated
cotequeiroz has quit [Remote host closed the connection]
valku has joined #openwrt-devel
valku has quit []
valku has joined #openwrt-devel
pmelange has left #openwrt-devel [#openwrt-devel]
Tapper has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
c0sm1cSlug has joined #openwrt-devel
<stintel> Fri Feb 18 01:55:33 2022 daemon.notice netifd: wan (20019): Command failed: ubus call network.interface notify_proto '{ "action": 0, "link-up": false, "keep": false, "interface": "wan" }' (Permission denied)
<neggles> Grommish: reckless abuse of discord as a CDN but https://cdn.discordapp.com/attachments/475129568903036928/944019816287727616/unknown.png
Luke-Jr has quit [Ping timeout: 480 seconds]
<neggles> with the exception of four targets/subtargets, easily fixed, "if arch == arm64, use fp. if arch == arm and 'fpu' in FEATURES, use fp."
<Grommish> Except..
<Grommish> ARCH is always arm for openwrt
<Grommish> the tuple is always returned arm-openwrt-linux-musl, it never splits out the arch to arm/armv5/v6/v7
<neggles> do you not have access to the target arch/info in the build system?
<Grommish> aarch64 is each enough for Armv8 though