<owrt-images-builds> Build [#172](https://buildbot.openwrt.org/images/#/builders/149/builds/172) of `master_mediatek/filogic` completed successfully.
goliath has quit [Quit: SIGSEGV]
thejoker8814 is now known as Guest2257
thejoker8814 has joined #openwrt-devel
Guest2257 has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#180](https://buildbot.openwrt.org/images/#/builders/45/builds/180) of `master_sunxi/cortexa7` failed.
kwz has quit [Remote host closed the connection]
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
kwz has joined #openwrt-devel
SwedeMike has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
<owrt-images-builds> Build [#180](https://buildbot.openwrt.org/images/#/builders/126/builds/180) of `master_tegra/generic` completed successfully.
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
bbezak has quit [Ping timeout: 480 seconds]
gch981213 has joined #openwrt-devel
bbezak has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
<mrkiko> colo: f00b4r0: thanks a lot
rua has joined #openwrt-devel
robimarko has joined #openwrt-devel
<wigyori> stintel: i recall routing was about 7-800mbits or so, can't recall the NAT performance tbh
<stintel> hmmm so not ideal if you're on a gigabit uplink
<stintel> wigyori: thanks for letting me know
<f00b4r0> quickie: due to apk and/or zst changes, my understanding is that we can no longer "blindly" cherry-pick a package master commit into 23.05, is this correct?
<f00b4r0> (because of PKG_HASH)
<wigyori> stintel: yep, np
<owrt-images-builds> Build [#183](https://buildbot.openwrt.org/images/#/builders/164/builds/183) of `master_ath79/nand` failed.
<Mangix> f00b4r0: correct
tmn505 has quit [Quit: Lost terminal]
<robimarko> nbd: It seems that your new patches for GRO conflict with some existing ones
tmn505 has joined #openwrt-devel
<rsalvaterra> Guys, was the p1020 generic target dropped somewhere along the way?
<rsalvaterra> I have a P1020EWLAN with me, and I'm trying to build an image for it.
<slh> did you already look at mpc85xx?
<owrt-images-builds> Build [#172](https://buildbot.openwrt.org/images/#/builders/219/builds/172) of `master_ath79/generic` failed.
<rsalvaterra> slh: Yes, obviously.
<slh> without looking any deeper, I see 5+ devices with Freescale P1020 SoC in the DTS there
<rsalvaterra> It should generate an image for a p1020rdb generic target.
<rsalvaterra> Yeah, but those are specific.
<robimarko> It seems that only FDT was being generated for p1020rdb before
<rsalvaterra> I wonder if it was ever officially supported… it's a reference development platform, not really a consumer device…
<robimarko> I dont see a full image ever being generated
<slh> reference board support is often very basic (or basically non-existent)
<nbd> robimarko: thanks for pinging me. i forgot that ath79 was touching this code
<robimarko> nbd: bcm53xx also touches GRO by disabling it by default
<nbd> thanks. we should probably get rid of that
<robimarko> For bcm53xx its intentional, I think rmilecki did that
<robimarko> After a long investigation as the performance with GRO was bad
<nbd> i know, but my changes should address the reason why it was disabled
bbezak has quit [Ping timeout: 480 seconds]
<rmilecki> nbd: i'll try to test it over weekend
<rmilecki> if it's safe to drop bcm53xx patch
<nbd> GRO was bad because it forced a data copy + checksum recalc on segmentation
<nbd> and with my changes, those two sources of slowdown are gone
<rsalvaterra> slh: I'll try to give it some love, then. Hopefully making it a first class citizen. :)
<rmilecki> hopefully, still I prefer to verify it in real life ;)
<nbd> with my changes, GRO enabled should be faster than GRO disabled, even on bcm53xx
<robimarko> nbd: Oh, that will help qualcommax a lot then
<robimarko> Since it doesnt have checksum offloading in the driver
<nbd> i ran tests with routing from eth to pppoe with cake enabled on mt7622
<nbd> pppoe forces software segmentation
<nbd> and throughput jumped from 640 mbit/s to >900 mbit/s
<robimarko> Yeah, that was the issue on qualcommax
<f00b4r0> wow that's nice. pppoe has been a perf killer for me
<robimarko> As PPPoE will force checksum recalculation after segmentation
<nbd> with my changes, the original segments and their checksum are preserved for the lifetime of the GRO packet
<nbd> i'm also making good progress upstreaming the change
<nbd> lots of comments as expected, but useful ones
<robimarko> Great news :)
<rsalvaterra> nbd: Any noticeable improvements for standard TCP forwarding (no PPPoE)?
<rsalvaterra> (Just curious, I saw the upstreaming effort.)
<nbd> rsalvaterra: definitely also for forwarding to WLAN devices
<nbd> since they usually don't have TSO or checksum offload
<rsalvaterra> Oh, nice!
<rsalvaterra> I "stole" your patch minutes after you commited it, for my builds. :)
Ansuel has quit [Quit: ZNC 1.9.x-git-253-750eac08 - https://znc.in]
Ansuel has joined #openwrt-devel
<nbd> ath79 is fixed now
<nbd> checking bcm53xx next
<\x> i guess a nice 2280 adapter for owrt one https://i.imgur.com/1laXDkb.png will likely block mikrobus though
<wigyori> nbd: on ath79 all socs benefit from the gro patch, or just certain ones?
<nbd> needs to be tested
<wigyori> ack, thanks
<nbd> theoretically, all socs might benefit, but GRO performs checksum validation on input
<nbd> which i think is skipped due to some patches in the common path
<nbd> but the benefit of pushing bigger GRO packets through the stack might be bigger than the cost of csum validation
<nbd> especially with the poor icache on ath79 chips
<Ansuel> wonder if that will improve perf with dsa
<nbd> i don't think DSA makes much of a difference here. GRO is DSA aware
bbezak has joined #openwrt-devel
<nbd> bcm53xx fixed now
<aparcar> anyone advise how to call the ubus from one openwrt router to another? like i want my gateway to control poe of a openwrt poe switch
<owrt-images-builds> Build [#185](https://buildbot.openwrt.org/images/#/builders/85/builds/185) of `master_bcm53xx/generic` failed.
<nbd> uhttpd ubus rpc
<stintel> q
<owrt-images-builds> Build [#181](https://buildbot.openwrt.org/images/#/builders/45/builds/181) of `master_sunxi/cortexa7` completed successfully.
<stintel> ugh, keepalived uci config notify script handling is completely broken
<stintel> the example config suggests you can put a script, e.g. option notify_backup"<switch-backup-state-script>"
<stintel> while in practice it uses hotplug-call which results in always calling /etc/keepalived.user
<stintel> no wonder my failover was completely broken
<stintel> rsalvaterra: since you're playing around with ppc, can you test if package/devel/perf builds for you?
<stintel> it fails on qoriq (ppc64) in intel-pt-decoder
<stintel> I will probably fix it by setting NO_AUXTRACE=1 for ppc64
<stintel> but if it doesn't build on ppc either might fix that as well while at it
<rsalvaterra> stintel: I'm playing with mpc85xx, which is 32-bit, though. Let me see if it builds here…
<stintel> that's exactly why I'm asking, I am qoriq, which is ppc64, and I already know it doesn't build there ;)
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
goliath has joined #openwrt-devel
<Ansuel> stintel SDK to the rescue to quickly check ?
<rsalvaterra> stintel: Hm, can't select it, having some issues with the dependencies (never used perf in OpenWrt), let me see…
<rsalvaterra> I think it's the kernel perf events…
<rsalvaterra> Yep, it is. Building an image now.
<stintel> tempted to remove source-only for qoriq so these things can hopefully be detected automatically / sooner
<stintel> Ansuel: no time for extended yak shaving right now
<stintel> rsalvaterra: thanks
<rsalvaterra> stintel: undefined reference to `__cpu_to_le32'
<rsalvaterra> Lots of these.
<rsalvaterra> Build fails.
<stintel> rsalvaterra: alright
<rsalvaterra> Also the other way around, undefined reference to `__le32_to_cpu'
<stintel> rsalvaterra: can you try https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=commitdiff;h=edadcc5f1ab43d80a57710050f5d3c021db20c5d;hp=f10d55df9e0a2622d4b2d08b79b9a8c9c585cfef
<rsalvaterra> Endianness… :P
<rsalvaterra> Sure, let me cherry-pick that…
<rsalvaterra> stintel: That fixes the build for me too.
<stintel> rsalvaterra: thanks for testing!
<rsalvaterra> My pleasure. :)
<stintel> shall I add a Something-by: ?
<rsalvaterra> Build-tested-by…? :P
<rsalvaterra> But that isn't a thing, I guess. No need. xD
<stintel> so maybe just Tested-by: ?
<rsalvaterra> That wouldn't be true, since I haven't run-tested…
<stintel> ok
* enyc meeps
wille-io has joined #openwrt-devel
PaulFertser has joined #openwrt-devel
<PaulFertser> Ansuel: hey! Re https://github.com/openwrt/openwrt/pull/15272 it seems to be already properly rebased 4 hours ago, is there anything wrong with that?
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
<Ansuel> PaulFertser yes i dropped 6.1 and that needs to rebased to drop the 6.1 patch
<robimarko> Ugh, W25Q256 and 4byte mode bit me again
<robimarko> U-Boot leaves it in 4byte mode and then CPU cannot read it
<robimarko> What makes it worse is that I "fixed" it by detecting the JV revision and then using 4Byte specific OPCODE-s
<robimarko> And that works on one board (The one that I can easily recover) but not on the second one
<PaulFertser> Ansuel: ah, I see, just one hour after the PR was pushed.
<Ansuel> robimarko can't additional logic be added to detect if 4byte mode is already enabled?
<robimarko> Ansuel: The issue is that U-Boot does not leave 4byte mode when resetting
<robimarko> And there isnt really a proper way to do it
<jakllsch> can it just not enter 4 byte mode?
<robimarko> In theory by using 3byte mode and extended register
<robimarko> Or by using 4byte OPCODE-s
<robimarko> That is what I did and it worked on one board that uses W25Q256JV while on the second one where its stupid QFN package it doesnt work
<robimarko> Worst part is that it looks like the 8 pin WSON package does not have HW reset so it never goes back to 3byte more
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
sestowner has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
<f00b4r0> aparcar: are you the ToH guru? https://openwrt.org/toh/views/toh_available_16128_ax-wifi does not list the EAP615 which has the ax tag https://openwrt.org/toh/tp-link/eap615-wall
<f00b4r0> I haven't checked if other devices are missing but maybe it's the case
<f00b4r0> not sure how that page works
* f00b4r0 is hunting for well supported AX devices
<schmars[m]> i think you get a wiki account and edit the respective data page for the device
<PaulFertser> f00b4r0: it's not about the tags most probably but about the right data in hwdata entry.
<PaulFertser> You can see what that page does with https://openwrt.org/toh/views/toh_available_16128_ax-wifi?do=export_raw
<PaulFertser> "wlan50ghz": "ax" might indeed be wrong for the purpose
<PaulFertser> It's weird and tricky this wiki :/
<owrt-images-builds> Build [#65](https://buildbot.openwrt.org/images/#/builders/214/builds/65) of `openwrt-23.05_lantiq/xway_legacy` failed.
<PaulFertser> Hm, looks like now it's using additional JS from openwrt website + datatables.net
<PaulFertser> https://github.com/openwrt/toh instead of the old fragile dokuwiki plugin
<f00b4r0> nbd: another datapoint: I tested again with all SSIDs enabled *and* option uapsd=0. It crashed within 48h
<nbd> f00b4r0: thanks for the info
<f00b4r0> np. sorry I can't be more helpful
<mrnuke> f00b4r0: Been using the EAP615-wall for a while now. Definitely "well supported"
<jakllsch> also wall supported :-P
<Habbie> lol
* mrnuke takes his hat off for jakllsch
Rondom has joined #openwrt-devel
<owrt-images-builds> Build [#65](https://buildbot.openwrt.org/images/#/builders/91/builds/65) of `openwrt-23.05_imx/cortexa9` failed.
hitech95 has joined #openwrt-devel
<antonkh> @robimarko I don't know much about this stuff but I'm curious, isn't it possible to read the register S16 which according to the datasheet indicates the current address mode?
<robimarko> ntonkh: Thats not the issue, issue is a systematic way for U-Boot to switch back to 3byte adressing when resetting
<robimarko> As there is no way to do that currently
<hitech95> nbd, dumb question is the netifd bonding implementation stable? I've seen that there is no documentation in the wiki.
<hitech95> the "proto-bonding" package has some issues on my user case and I was wondering if is safe to use the built in netifd version.
<hitech95> I'm working on the luci support in the luci-module-network
<antonkh> @robimarko the datasheet says there are instructions to switch the mode. So if you can detect the mode, and there are instructions to switch it, if it's not the mode you want, then why doesn't it work?
<robimarko> antonkh: It does work if you actually send the opcode to switch
<robimarko> The issue is that U-Boot does not have restart equivelant to Linux
<robimarko> There is no teardown of drivers
<robimarko> It just calls do_reset which then depends on the exact driver but it literaly usually resets the CPU
<robimarko> So you have no place to make the switch back to 3byte, there is no driver removal
<robimarko> And in the current code it will enter 4byte mode and never exit it
<Ansuel> robimarko if you have control of uboot... you already know the only way is to do what OEM usually does and mess with tweaking the stuff done in the bootm command
sestowner has quit [Ping timeout: 480 seconds]
<hurricos> rsalvaterra: I mean, when am I not? What've you found
<hurricos> mrnuke: i'm bad at c :(((((
<hurricos> mrnuke: reading it, I'm fine, even inspecting it during operation. But writing? every time I have to do a man 3 calloc I die a little inside
<hurricos> honestly, my problem really is just thinking about memory management.
<hurricos> or, ... no ... buffers.
<hurricos> > P1020EWLAN
<hurricos> how did you get that rsalvaterra? It doesn't really matter, but ... TL;DR p1020rdb is upstream-supported AFAIK, we just don't have a generic image build for it
<robimarko> Ansuel: This is with mainline U-Boot, hacking it is rather easy but that doesnt fix it for anybody else
<robimarko> And I have been upstreaming IPQ4019 to U-Boot, its now fully usable for SPI-NOR and SPI-NAND devices
<robimarko> No NAND nor eMMC for now
<mrnuke> hurricos: C is an art for those who like to self-punish
<hurricos> ;^)
<hurricos> I like going above and below it. I wrote most of a complete H8/538 model SLASPEC up in Ghidra!
<hurricos> But doing real C, real well? cursed, sucks. I'd be better at it if I were better at the tooling.
<mrnuke> I think it's perfectly normal ro be confused by C. C lets one take shortcuts that most languages wouldn't allow.
<mrnuke> So then it's really consufing as to what the "proper way is... and most people end up using the wrong way anyway
<hurricos> I feel that.
<Ansuel> well it seems my mt7621 wax201 is now in bootloop and is in a remote location....
<Ansuel> very nice....
<hurricos> Ansuel: RIP :(
<Ansuel> problem is that it's a snapshot image... but looking at the recent changes i can't find one that might cause the bootloop...
<mrnuke> Ansuel: Any way to powder cycle it remotely?
<Ansuel> already tried no luck
<mrnuke> hurricos: I'm getting close on that RTL8238 dialect for realtek-poe. There is this one initialization command that I haven't yet figured out, and it's driving me nutz
<Ansuel> but failsafe works interesting...
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Ansuel> it seems there is something wrong with mounting the root... scary thing happen
<Ansuel> wtf o.O
<Ansuel> let me read that
<Mangix> the guy wants that in to fix p910nd mdns
<Mangix> ffontaine's PKG_CPE_ID fixes all look good
<hitech95> hey dumb question is there a way in openwrt a way to pin an interface name by the mac address like i can do with other distros? I've seen that when the kernel changes can happends that enumeration is different, this makes the configuration broken. (I'm on x86)
gch981213 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<tmn505> target/linux/x86/base-files/etc/board.d/02_network, take a look at the ones with pci paths
<hitech95> tmn505, yea but that require a custom device I was talking something I can do manually in the config after the first boot.
antonkh has quit [Ping timeout: 480 seconds]
<stintel> anyone here related to altermundi.net ?
hitech95 has quit [Read error: Connection reset by peer]
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (11.1% images and 100.0% packages reproducible in our current test framework.)
<stintel> thanks for the ack, Danie
<stintel> Daniel*
<stintel> I'll probably push that change to master early
<stintel> so that if it breaks something for someone, they can report it
<stintel> I've some other WIP changes that I'm not sure about
<stintel> would be nice to have a chat about those
<stintel> so please poke me next time you're on here
Rondom has quit [Remote host closed the connection]