Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
MatrixTravelerbot[m]1 has quit []
minimal has quit [Quit: Leaving]
cmonroe_ has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schwicht has joined #openwrt-devel
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schwicht has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
nixuser has quit [Ping timeout: 480 seconds]
nixuser has joined #openwrt-devel
gladiac has quit [Quit: k thx bye]
schwicht has joined #openwrt-devel
<owrt-2203-builds> Build [#150](https://buildbot.openwrt.org/openwrt-22.03/images/#builders/19/builds/150) of `ipq806x/generic` completed successfully.
schwicht has quit [Ping timeout: 480 seconds]
schwicht has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
schwicht has joined #openwrt-devel
<owrt-2203-builds> Build [#149](https://buildbot.openwrt.org/openwrt-22.03/images/#builders/22/builds/149) of `bcm4908/generic` completed successfully.
rua has quit [Quit: Leaving.]
goliath has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
schwicht has joined #openwrt-devel
MaxSoniX has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
<neggles> karlp: oh sorry i missed that last night
<neggles> it's not a laptop, it's a Lenovo IdeaPad Duet / Chromebook Duet chromeOS tablet
<neggles> the little adapter board is for Closed Case Debug https://chromium.googlesource.com/chromiumos/third_party/hdctools/+/main/docs/ccd.md
<neggles> when you pull the CC pins up to VCC with a specific pair of resistances, it exposes the Cr50's debug USB interface on SBU1 and SBU2; that little board has the right resistors and the micro-USB is hooked to the SBU pins
<neggles> google sold a cable for this, SuzyQable, with a USB hub chip in it so you can access the CCD USB as well as the regular one at the same time, but the USB hub chip they chose is out of stock until "uhh....." so it's been discontinued, so i had to make my own
schwicht has joined #openwrt-devel
Tapper has joined #openwrt-devel
goliath has joined #openwrt-devel
danitool has joined #openwrt-devel
<owrt-2203-builds> Build [#147](https://buildbot.openwrt.org/openwrt-22.03/images/#builders/31/builds/147) of `bcm27xx/bcm2710` completed successfully.
<owrt-2203-builds> Build [#148](https://buildbot.openwrt.org/openwrt-22.03/images/#builders/56/builds/148) of `bcm47xx/mips74k` completed successfully.
<ynezz> can please anyone merge https://github.com/openwrt/packages/pull/19513 so it can be backported to 22.03 ASAP?
<Mangix> ynezz: you don't have merge access?
<ynezz> Mangix: sure I do, but folks there are little bit more sensitive, so I prefer not to do that myself :P
<ynezz> thanks!
<Mangix> ynezz: backported to 22.03
<ynezz> Mangix: pls don't do it yet
MaxSoniX has quit [Quit: Konversation terminated!]
<ynezz> IIUC we first need to build fixed libwolfssl package on buildbots https://buildbot.openwrt.org/openwrt-22.03/images then we can bump the packages in 22.03
<Mangix> hrm I misunderstood ASAP
torv has quit [Remote host closed the connection]
<ynezz> sorry, I didn't anticipated, that anyone would do that :)
torv has joined #openwrt-devel
<Mangix> anyway, time to test mbedtls hostapd again
<ynezz> Mangix: I've just reverted that 22.03 backport
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #openwrt-devel
<Mangix> good news, hostapd+mbedtls+WPA3 works
<\x> Mangix: got something where I can just pull and try it? I can try that on a spare AP I have here
<\x> is is smaller than wolfssl?
<\x> it*
<Mangix> yes
<\x> ill try in an hour or two hehe
schwicht has quit [Ping timeout: 480 seconds]
csrf1 has quit [Ping timeout: 480 seconds]
xback has joined #openwrt-devel
<xback> blocktrron: ping
schwicht has joined #openwrt-devel
robimarko has joined #openwrt-devel
<owrt-2203-builds> Build [#149](https://buildbot.openwrt.org/openwrt-22.03/images/#builders/50/builds/149) of `apm821xx/sata` completed successfully.
cmonroe has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
<xback> blocktrron: nbd: https://git.openwrt.org/?p=openwrt/staging/xback.git;a=commit;h=4e892b1e0f5ae0ef3d2fd08d22afc92ba49d588e
cmonroe_ has quit [Ping timeout: 480 seconds]
<nbd> xback: the #endif is misplaced
<nbd> it disabled amsdu capab for all interfaces if CONFIG_MESH is disabled
<xback> nbd: ow .. right!
<xback> nbd: thanks for checking that fast
<xback> nbd: should be better .. https://git.openwrt.org/?p=openwrt/staging/xback.git;a=blobdiff;f=package/kernel/mac80211/patches/subsys/800-mac80211-mask-nested-A-MSDU-support-for-mesh.patch;h=e7da94c9cdaf5bf85600ae95a647e8b94dc5ae11;hp=415c6dfb803639cd726ee3f9b35359712b3e075d;hb=b1ef0b4999ac40d6de5113bb7681024a0d9bcc25;hpb=ab077301969b8a25ac7403eecdc490fbde673782
<nbd> yep
schwicht has joined #openwrt-devel
<karlp> neggles: cool thanks, is that standard usb-c debug mode or is that a google variat?
felix_ has joined #openwrt-devel
felix has quit [Read error: Connection reset by peer]
bluew has quit [Ping timeout: 480 seconds]
xback has quit [Remote host closed the connection]
rua has joined #openwrt-devel
borek has joined #openwrt-devel
borek1 has joined #openwrt-devel
borek has quit [Ping timeout: 480 seconds]
borek1 is now known as borek
danitool has quit [Remote host closed the connection]
<neggles> karlp: it's standards-compliant
<neggles> the standard is quite loose, though
<neggles> normal usb-c operating modes only pull one CC line, or put an e-marker chip across both, and that's how orientation detection is handled
<neggles> if you pull both CC lines high, or both low, that's debug accessory mode
<neggles> in debug accessory mode all of the data line pins are undefined and can be used for whatever you want
<PaulFertser> btw, it hurts me to look at that picture, feels like the dongle can get broken off any time
<neggles> heh
<neggles> i did break one already
<neggles> so now i'm using a very light cable and it's supported by the QuartzPro64 sitting next to it :P
schwicht has quit [Ping timeout: 480 seconds]
<neggles> even with the PCB and shipping costs they cost maybe $3 so it's not a big deal, it's just annoying that it has to be a 0.7mm thick PCB
<neggles> all of the type-C connectors that expose both SBU/CC pins require a 0.7mm PCB, save for a couple which have a hidden row of pins that would *suck* to reflow by hand
schwicht has joined #openwrt-devel
<neggles> probably should've made it shorter, but i made two designs, one with an 80 cent usb hub chip on it
<neggles> Macs with type-C use this + special debug messges sent over USB-PD to mux out a bunch of UARTs, some JTAG, and a couple of USB device endpoints in this mode, kinda neat
<neggles> chromebook CCD is actually quite tame, it only uses SBU1/SBU2 which are explicitly "do whatever you want with these" pins even in normal mode
srslypascal is now known as Guest2252
srslypascal has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
Guest2252 has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
Ansuel has joined #openwrt-devel
hanetzer has joined #openwrt-devel
schwicht has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<ynezz> neggles: last time I've tried, there was no linux distro available for chromestar, did the situation changed lately?
<neggles> ynezz: you can run a mostly-mainline kernel on these ones, MT8183, and if you're happy with using Depthcharge to load the kernel you can run any arm64 userland you like
<ynezz> ah, thanks, wasnt aware about that
<neggles> and with the CCD adapter, you can disable flash write protection and flash your own coreboot build with whatever payload you like
<karlp> neggles: if you want a stronger pcb, this happily exposes SBU and CC, (I'm using SBU on another project) and doesn't require a 0.7mm pcb. not sure where you got that limit from? GCT USB4105-GF-A (from mouser7digikey) or XKB u262-16 (all variants) from lcsc..
<neggles> needs to be a male connector
<karlp> oh, right.
<neggles> standards-compliant USB-C cables don't have both CC lines connected
<neggles> so you have to have the plug right there
<karlp> I admit, I've not needed the male parts much :) but I do use SBU on our own stuff.
<neggles> the GCT USB4155 is an option, along with various similar ones from XKB et al, but they're harder to solder
<karlp> I take it you've got a board straddle one now, hence the thin pcb requirement?
<neggles> yep
<karlp> but easier to solder only one row on each side?
<neggles> yahuh
<karlp> faire nough, I'll leave you to it then :)
<neggles> I did find one design where someone is abusing a vertical-mount
<neggles> if you carefully straighten out the pins on a molex vertical-mount connector, it's got a ~1.2mm gap
<neggles> and can be coerced into working with 1.6mm
<karlp> meh, hand straightening things sounds worse.
<neggles> yeah
<neggles> it's not a big deal, just gotta be careful
xback has joined #openwrt-devel
<neggles> maybe should've gone with the "just put pads on there and solder a cable to it" option
<neggles> but it works :)
janvenekamp has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
<neggles> worked first try, too!
schwicht has joined #openwrt-devel
<robimarko> Mangix: Are you neheb on github?
<Habbie> (yes)
<stintel> robimarko: he is - it's transliteration of Пенев
<robimarko> Ok, got me a bit confused
<stintel> it's not just you :)
<robimarko> Just wanted to let him know that SAE works with mbedtls now
<karlp> in the past mbedtls was qutie a bit slower as well? no obvious issues with it?
<robimarko> karlp: I havent tested performance, just whether it works
<robimarko> I am getting 770 Mbps on my phone via speedtest, so not bad
<Ansuel> main problem of mbedtls is no hw crypto support right?
<robimarko> For certain it doesnt support ARMv8 crypto extensions
<robimarko> But for those OpenSSL or WolfSSL are the ones to go for
<Ansuel> honestly i would just install openssl for new target
<Ansuel> we have the space sooo
goliath has joined #openwrt-devel
<svanheule> Ansuel: I sent you a mail about the LED trigger offloading a while back, maybe it got lost. Feel free to leave some comments on the Realtek port LED patches I posted yesterday.
<Ansuel> svanheule if i didn't answer it it probably got lost for some reason
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schwicht has joined #openwrt-devel
robimarko has quit [Read error: No route to host]
robimarko has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
<janvenekamp> Hi. Back in august I submitted a patchset for uci.
<janvenekamp> I have not received any feedback since. I was wondering if there is anything wrong with it?
<janvenekamp> How do I go about?
<svanheule> Ansuel: sent you an updated mail. I hope the summary of the Realtek port LED HW can help with designing a generic offloading interface.
minimal has joined #openwrt-devel
<Ansuel> did you found by chance the generic implementation that i proposed at times?
<svanheule> Ansuel: I did see it, but I haven't look at it since June/July
<svanheule> I'll try to have a look this evening, see how it compares to my current implementation
<stintel> janvenekamp: I guess nobody feels comfortable enough with UCI codebase to review / accept
zorun has quit [Ping timeout: 480 seconds]
felix has joined #openwrt-devel
felix_ has quit [Read error: Connection reset by peer]
<Ansuel> svanheule it changes a bit due to request from a marvell guy that required some handling for his device...
<Ansuel> so wonder if the changes would benefits for you
<[Pokey]> neggles: That looks like an interesting little bit of kit
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
fieryeagle954[m] has quit [Write error: connection closed]
decke[m] has quit [Write error: connection closed]
whatevs111[m] has quit [Write error: connection closed]
ctdvqgg445[m] has quit [Write error: connection closed]
olmari has quit [Remote host closed the connection]
schmars[m] has quit [Write error: connection closed]
oliv3r[m] has quit [Write error: connection closed]
will[m]1 has quit [Write error: connection closed]
domon has quit [Write error: connection closed]
lipnitsk has quit [Write error: connection closed]
barhom has quit [Write error: connection closed]
Jonny[m] has quit [Write error: connection closed]
pavlix has quit [Write error: connection closed]
Q__ has quit [Write error: connection closed]
MatMaul[m] has quit [Write error: connection closed]
nick[m]1 has quit [Write error: connection closed]
bluse-blue[m] has quit [Write error: connection closed]
tohojo has quit [Write error: connection closed]
Kiste has quit [Write error: connection closed]
hexagonwin[m] has quit [Write error: connection closed]
JuniorJPDJ has quit [Write error: connection closed]
mkg20001 has quit [Write error: connection closed]
t4h4[m] has quit [Write error: connection closed]
John[m]123456 has quit [Write error: connection closed]
fpsusername[m] has quit [Write error: connection closed]
evils[m]1 has quit [Write error: connection closed]
znullptr[m] has quit [Write error: connection closed]
gnustomp[m] has quit [Write error: connection closed]
aparcar[m] has quit [Write error: connection closed]
dfceaef[m] has quit [Write error: connection closed]
Movedtomkg20001mkg20001io[m] has quit [Write error: connection closed]
aparcar[m] has joined #openwrt-devel
<Ansuel> i'm experiemnting with ccache on our kernel workflow and wow 10 less minute to build the kernel
<neggles> [pokey]: what, the cable?
<Ansuel> (only problem is that for some reason ccache is getting recompiled but i need to check why
<neggles> robimarko: somehow I doubt anything that supports ARMv8 crypto extensions doesn't have sufficient storage for OpenSSL
<[Pokey]> neggles: The little transparent plastic cased doodad
<neggles> ah, Servo?
<neggles> you can't have one
<neggles> google won't sell them and even if they did, they'd be like $500
<neggles> Ansuel: I wonder if this can beat your ccache time, without ccache
<Mangix> Ansuel: mbedtls is useful for 8MB units though
<Mangix> On an unrelated note, I bet a bunch of software breaks with mbedtls 3.0
cmonroe has quit [Read error: Connection reset by peer]
<jow> stintel: series looks fine to me but I hoped nbd will pick it up as he's the author of the current uci implementaition
_Lechu has joined #openwrt-devel
Lechu has quit [Quit: changing servers]
MaxSoniX has joined #openwrt-devel
<robimarko> neggles: Well, pretty much every A53 CPU besides RPi supports crypto extensions
<robimarko> But yeah, they at least sport 32MB of NOR so OpenSSL will fit
<Mangix> What are they useful for?
<neggles> robimarko: are there even any aarch64 devices with <16MiB
floof58 is now known as Guest2281
floof58 has joined #openwrt-devel
<janvenekamp> Also regarding the patch series for uci... long after I posted I noticed a minor thing that may need to be changed in the patch.
<janvenekamp> I am new to this.. do I first await feedback? do I repost the whole series? do I submit an additional patch?
Guest2281 has quit [Ping timeout: 480 seconds]
<\x> neggles: atleast on ipq60xx, they all ship with atleast 128M nand, some have SPI-NOR+NAND where bootloader is on SPI
<robimarko> Manigx: ARMv8 crypto extensions?
<robimarko> neggles: I hope there are not any
Gaspare has joined #openwrt-devel
<Mangix> robimarko: yeah
<slh64> 128 MB NAND does not necessarily mean that much of it is usable, xiaomi is roundabout 20 MB
<Mangix> AFAIK they're only useful for sustained loads
<Ansuel> slh64 that is fixable
<robimarko> Mangix: Not really, benching them showed drastic improvements for stuff they support like SHA1, AES etc
<slh64> Ansuel: yeah, but the partitioning limits are similar for other vendors as well
<Mangix> Would this be with openssl?
<robimarko> Mangix: OpenSSL and WolfSSL
<robimarko> But results should be the same as its a CPU feature
<Mangix> I would assume it's slower at low block sizes
<robimarko> Shouldnt really be
<robimarko> I posted benches before, let me run a quick benchmark
<Mangix> That's how it is with mvebu CESA
<robimarko> This is a different thing
<robimarko> CESA is a crypto engine, this is an ARM instruction extension
<Ansuel> mhh think since these are direct instruction it much better
<Mangix> Oh
<Mangix> NVM then
<Ansuel> this is a joke... with ccache kernel build is just 2 minute o.O
<Mangix> It is not. There's a reason I use it.
<Ansuel> i'm trying to implement it in our kernel workflow
nixuser has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
<Mangix> Wonder if I should convert it to use meson
<robimarko> Mangix: https://pastebin.com/PA5Faw3w
<stintel> janvenekamp: send a v2 series, add "Changes since v1 ..." in the cover letter
<Mangix> That's a big difference indeed
<Ansuel> btw Mangix: btw do you have by chance the error you had with zlib ?
<Mangix> What error?
<Ansuel> zstd sorry
<robimarko> That smells like Cannonical carrying some patches
<Ansuel> i'm trying to repro
<Mangix> It's specific to Ubuntu it seems, yes
<Ansuel> i have a wsl2 image with 22.04.1
<Ansuel> stopped at gcc-final
<Mangix> I'm guessing you're just doing --with-zstd in common.mk without the ptheead patch
<Ansuel> i just applied the pr
<Ansuel> on top of master nothing else
* Mangix looks
<Mangix> PR is correct
<Mangix> what does make V=s show?
<neggles> the ARMv8 crypto extensions are like the aarch64 equivalent of "having AES-NI" aren't they?
<Ansuel> neggles more or less yes
<neggles> not literally but conceptually
<Mangix> Ansuel: that says nothing. clean and recompile
<neggles> also I don't suppose anyone's put any work into bringing layerscape up to 5.15 yet?
<Ansuel> in theory i can just clean gcc right?
<Mangix> Sure
<Ansuel> i wonder if could be useful the config.log
<Ansuel> in gcc/zlib
<Ansuel> god damn me problem is with zstd....
<Mangix> Hrm?
<Ansuel> nothing just me getting confused by zlib and zstd
<Ansuel> https://github.com/Ansuel/openwrt/actions/runs/3182945470/jobs/5190083693 btw no idea why bcm4908 doesn't like ccache...
<Ansuel> it's forced disabled for this target?
Gaspare has joined #openwrt-devel
<Mangix> Doubt it
<neggles> is that one of the broadcoms with the weird "it's a cortex-A53, but just different enough to not be a cortex-A53"
<Ansuel> also cortex a53 no ccache
<neggles> broadcom "B53"
* neggles rolls eyes
<Ansuel> https://github.com/Ansuel/openwrt/actions/runs/3182945470 as you can see some target just don't use ccache at all (.ccache dir is just 1mb)
Gaspare has quit [Quit: Gaspare]
<Ansuel> Mangix wth gcc compiled correctly o.O
<Mangix> Probably some parallel bug
<Ansuel> totally
<Ansuel> for example i discovered we are missing cmake deps for ccache
<Mangix> Huh?
<Ansuel> ccache require cmake
<Mangix> The deps are there. Look down
hanetzer has quit [Quit: WeeChat 3.6]
<Ansuel> o.O right... i'm testing the ci with old commit and didn't notice
<Ansuel> anyway unrelated to the ubuntu problem
<Mangix> Right
valku has joined #openwrt-devel
<Ansuel> anyway this is strange... any idea how to check if i'm using static zstd ?
<Ansuel> instead of the host one?
cmonroe has joined #openwrt-devel
gladiac has joined #openwrt-devel
<Mangix> ldd gcc
<Ansuel> ansuel@Ansuel-xps  ~/openwrt   master ± ldd staging_dir/host/bin/gcc
<Ansuel> linux-vdso.so.1 (0x00007ffee85ad000)
<Ansuel> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc5bc013000)
<Ansuel> /lib64/ld-linux-x86-64.so.2 (0x00007fc5bc22e000)
<Mangix> Not that one
<Mangix> The toolchain one
<Mangix> The error message is with lto-compiler. No idea if there's such a binary
<Ansuel> i'm rebuilding everything
<Ansuel> btw seems strange that it can be a parallel problem
hanetzer has joined #openwrt-devel
guidosarducci has joined #openwrt-devel
<Mangix> What?
<Mangix> The zstd+Ubuntu error is when compiling packages that use fLTO
<Mangix> Not when compiling gcc
guidosarducci_ has quit [Ping timeout: 480 seconds]
gladiac has quit [Quit: k thx bye]
Gaspare has joined #openwrt-devel
<stintel> anyone aware of broken sysupgrade on x86/64?
<stintel> in master at least?
<stintel> fails with ENOSPC, reboots without flashing
<stintel> I've compared OpenWrt image size and VM storage image size, it's not too small, to be sure I also started over with a clean OpenWrt image, boot that, try sysupgrade, fails
cmonroe has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
minimalist has joined #openwrt-devel
minimal has quit [Read error: Connection reset by peer]
minimalist has quit [Remote host closed the connection]
<Ansuel> stintel we should be able to repro that with qemu
<stintel> (it's happening in qemu)
<stintel> nothing useful
<stintel> sysupgrade -b /tmp/foo.tar.gz -> -rw-r--r-- 1 root root 22645 Oct 4 16:49 /tmp/foo.tar.gz
<stintel> /dev/sda1 247.9M 6.7M 236.2M 3% /boot
<stintel> so it's not the backup archive copy to /boot
minimal has joined #openwrt-devel
philipp64 has joined #openwrt-devel
<stintel> tested sysupgrade -n, also fails
<aparcar[m]> jow: do you have some kind of test framework for luci?
<stintel> so looking at the sysupgrade code, in install_file() we loop over a bunch of files, trying to cp them
danitool has joined #openwrt-devel
_Lechu is now known as Lechu
<Ansuel> Mangix example of an fLTO package?
barhom has joined #openwrt-devel
bluse-blue[m] has joined #openwrt-devel
ctdvqgg445[m] has joined #openwrt-devel
decke[m] has joined #openwrt-devel
dfceaef[m] has joined #openwrt-devel
domon has joined #openwrt-devel
evils[m]1 has joined #openwrt-devel
fieryeagle954[m] has joined #openwrt-devel
fpsusername[m] has joined #openwrt-devel
gnustomp[m] has joined #openwrt-devel
hexagonwin[m] has joined #openwrt-devel
John[m]12345 has joined #openwrt-devel
Jonny[m] has joined #openwrt-devel
JuniorJPDJ has joined #openwrt-devel
Kiste has joined #openwrt-devel
Q__ has joined #openwrt-devel
lipnitsk has joined #openwrt-devel
MatMaul[m] has joined #openwrt-devel
Movedtomkg20001mkg20001io[m] has joined #openwrt-devel
mkg20001 has joined #openwrt-devel
nick[m]12 has joined #openwrt-devel
oliv3r[m] has joined #openwrt-devel
olmari has joined #openwrt-devel
pavlix has joined #openwrt-devel
schmars[m] has joined #openwrt-devel
t4h4[m] has joined #openwrt-devel
tohojo has joined #openwrt-devel
MatrixTravelerbot[m]1 has joined #openwrt-devel
whatevs111[m] has joined #openwrt-devel
will[m]1 has joined #openwrt-devel
znullptr[m] has joined #openwrt-devel
<stintel> Ansuel: git grep -i flto
<Mangix> Ansuel: ubox, iperf
<Ansuel> solution drop the package :D /s
<Ansuel> well ubox compile correctly..... am i missing something to repro this or wsl ubuntu is not affected by this problem
<Ansuel> guess i have to test with docker....
<Mangix> it's ubus actually
<Mangix> git grep -i flto | wc -l
<Mangix> 53
<stintel> I have some WIP to add an option to enable LTO globally: https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=shortlog;h=refs/heads/lto
<Mangix> stintel: it's not just about failing to build. Some packages get larger.
<stintel> most get smaller
<Mangix> rright
cmonroe has joined #openwrt-devel
<jow> aparcar[m]: no
f00b4r0 has joined #openwrt-devel
cmonroe has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
_whitelogger has joined #openwrt-devel
borek has quit [Ping timeout: 480 seconds]
fieryeagle954[m] has quit [Write error: connection closed]
Kiste has quit [Write error: connection closed]
lipnitsk has quit [Remote host closed the connection]
schmars[m] has quit [Remote host closed the connection]
dfceaef[m] has quit [Remote host closed the connection]
barhom has quit [Remote host closed the connection]
olmari has quit [Remote host closed the connection]
hexagonwin[m] has quit [Write error: connection closed]
ctdvqgg445[m] has quit [Write error: connection closed]
MatMaul[m] has quit [Write error: connection closed]
MatrixTravelerbot[m]1 has quit [Write error: connection closed]
whatevs111[m] has quit [Write error: connection closed]
znullptr[m] has quit [Write error: connection closed]
JuniorJPDJ has quit [Write error: connection closed]
gnustomp[m] has quit [Write error: connection closed]
Movedtomkg20001mkg20001io[m] has quit [Write error: connection closed]
evils[m]1 has quit [Write error: connection closed]
mkg20001 has quit [Write error: connection closed]
t4h4[m] has quit [Write error: connection closed]
oliv3r[m] has quit [Write error: connection closed]
nick[m]12 has quit [Write error: connection closed]
Jonny[m] has quit [Write error: connection closed]
John[m]12345 has quit [Write error: connection closed]
fpsusername[m] has quit [Write error: connection closed]
pavlix has quit [Write error: connection closed]
tohojo has quit [Write error: connection closed]
will[m]1 has quit [Write error: connection closed]
Q__ has quit [Write error: connection closed]
domon has quit [Remote host closed the connection]
bluse-blue[m] has quit [Remote host closed the connection]
decke[m] has quit [Write error: connection closed]
aparcar[m] has quit [Write error: connection closed]
aparcar[m] has joined #openwrt-devel
Slimey has quit [Read error: Connection reset by peer]
Slimey has joined #openwrt-devel
<Ansuel> any clue why it seems ccache doesn't work for many target? target limitation ?
nixuser has joined #openwrt-devel
goliath has joined #openwrt-devel
csrf1 has joined #openwrt-devel
<Ansuel> Mangix can't repro on ubuntu 22.04.1 wth....
MaxSoniX has quit [Quit: Konversation terminated!]
Gaspare has quit [Quit: Gaspare]
tlj has joined #openwrt-devel
ekathva has joined #openwrt-devel
Gaspare has joined #openwrt-devel
Tapper1 has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
csrf1 has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
xes has quit [Quit: bye..]
cbeznea has quit [Quit: Leaving.]
xes has joined #openwrt-devel
tlj has quit [Remote host closed the connection]
csrf1 has joined #openwrt-devel
<Borromini> stintel: ping
<Mangix> Ansuel: yeah I don't know. Maybe some random package is installed in both mine and the other guy's ubuntu
csrf1 has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
ekathva has quit [Quit: Leaving]
bluew has joined #openwrt-devel
robimarko has quit [Quit: Leaving]
tlj has joined #openwrt-devel
Ansuel has quit [Read error: Connection reset by peer]
Ansuel has joined #openwrt-devel
minimal has quit [Read error: Connection reset by peer]
minimal has joined #openwrt-devel
tlj has quit [Remote host closed the connection]
tlj has joined #openwrt-devel
<[Pokey]> Could I point some peeps at https://forum.openwrt.org/t/two-jobs-lan-dumb-ap-together/138749/5?u=ahorner where there may be something that can be done with LuCI to prevent user (my) stupidity?
Ansuel has quit [Quit: Probably my PC decided to sleep or I decided to sleep.]
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
<jow> [Pokey]: mk24 latest reply summarizes it very well
<[Pokey]> jow: Indeed, my issue is resolved, but I don't know why my previous setup did not work and LuCI did not warn me about any incompatibility. It would be nice to understand why what I did didn't work and maybe if LuCI could detect this?
<jow> there is little chance for LuCI to "detect" such issues
<jow> the required complexity for recognizing all potential misconfigurations would far outweigh the complexity of the existing codebase
<[Pokey]> Not even "this port is also in a bridge which is part of the interface. For (reason I don't understand) this isn't going to work"
Gaspare has quit [Quit: Gaspare]
Borromini has quit [Quit: Lost terminal]
<[Pokey]> I'm also curious why it didn't work too
<jow> "lower" devices enslaved into a bridge usually cannot do their own l3 communication anymore
<Ansuel> Mangix btw i think i found a way to repro... mips work correctly but arm fails
<Mangix> that is...interesting
<jow> receveived packets destined for the lower device netdev will be "swallowed" by the bridge device netdev
<Mangix> on fedora, my config is mipsel. on ubuntu, it's mips64
<jow> and userspace software expecting to receive frames on the lower dev will never receive anything
<Ansuel> Mangix i got the hint by checking the issue and the other guy also was compiling arm stuff
<Ansuel> i'm checking by compiling ipq806x on ubuntu 22.04
<jow> this is why things like dhcp clients etc. will never receive a lease
<jow> when they operate on a netdev which is part of a bridge
<Ansuel> Mangix btw the error doesn't make sense https://pastebin.com/nTYZqB2V
<Mangix> that is an ncurses error
<Ansuel> yes and it doesn't make sense o.O
barhom has joined #openwrt-devel
bluse-blue[m] has joined #openwrt-devel
ctdvqgg445[m] has joined #openwrt-devel
decke[m] has joined #openwrt-devel
dfceaef[m] has joined #openwrt-devel
domon has joined #openwrt-devel
evils[m]1 has joined #openwrt-devel
fieryeagle954[m] has joined #openwrt-devel
fpsusername[m] has joined #openwrt-devel
gnustomp[m] has joined #openwrt-devel
hexagonwin[m] has joined #openwrt-devel
John[m]123456 has joined #openwrt-devel
Jonny[m] has joined #openwrt-devel
JuniorJPDJ has joined #openwrt-devel
Kiste has joined #openwrt-devel
Q__ has joined #openwrt-devel
lipnitsk has joined #openwrt-devel
MatMaul[m] has joined #openwrt-devel
Movedtomkg20001mkg20001io[m] has joined #openwrt-devel
mkg20001 has joined #openwrt-devel
nick[m]1 has joined #openwrt-devel
oliv3r[m] has joined #openwrt-devel
olmari has joined #openwrt-devel
pavlix has joined #openwrt-devel
schmars[m] has joined #openwrt-devel
t4h4[m] has joined #openwrt-devel
tohojo has joined #openwrt-devel
MatrixTravelerbot[m]1 has joined #openwrt-devel
whatevs111[m] has joined #openwrt-devel
will[m]1 has joined #openwrt-devel
znullptr[m] has joined #openwrt-devel
<[Pokey]> jow: surely that suggests that whether or not it works is on a per device basis, and a flag could be included in the firmware to indicate so, so if a device is detected in a bridge it cannot be selected in any interface?
<[Pokey]> Also am I right in thinking that this means devices are L2 and Interfaces are L3 and the only time that is not true is for the sake of WiFi networks, which have to be assigned to interfaces? And that would also mean the sole purpose of an Unmanaged interface is either to allow WiFi or to provide an interface for a custom Daemon to control such as OpenVPN?
<jow> [Pokey]: probably a flag could be added, but that covers only one probably misconfiguration
<jow> there's countless others
<[Pokey]> jow: I do feel like that specific one is pretty important
<jow> yeah because you've just encountered it
<jow> others deems their recent misconfiguration to be important to handle
<[Pokey]> Indeed, of course, just an entire device becomes unusable would be at the very least a good note on the bridge configuration modal
<jow> yeah maybe, but as I wrote initially, the logic would be complex
<jow> also not only in the modal, you'd also need to warn in the interface config when selecting an interface which is part of a bridge
<jow> and when creating a rule
<jow> *ip rule
<jow> and when creating a route
<jow> and when setting firewall zone device matches
<[Pokey]> Fair, yea, there's a lot of places. Maybe I could add it to the Wiki?
<jow> I do think a warning would make sense, I can't think of any constellation where assigning a bridge-port device to it's own logical network would be useful
<jow> but I don't see it happening anytime soon unless someone provides a patch which in turn is highly unlikely as there's not many people experienced with the relevant openwrt/luci internals
<jow> and those who are, do not require such warnings
<[Pokey]> Just too much work to put it in the interface though I understand
<[Pokey]> Yea
<[Pokey]> I might have a peek as I know lua but no guarantees
<jow> it's JS these days
<[Pokey]> Oh fair
<jow> at least all he relevant code is
<[Pokey]> I know that too
<[Pokey]> Hmm. Edge case? Can you put one in more than one bridge?
<[Pokey]> Kinda pointless I know
<jow> but it's not so much about the language, but about understanding LuCI's internal state and how to acquire the relevant data
<[Pokey]> Yea
<jow> no, on Linux a netdev cannot be part of more than one bridge
<[Pokey]> And the only other edgecase I can think of is virtual ethernet for VLANs on one specific device
<jow> as soon as ypu put a netdev such as eth0 into a bridge you can consider it "deaf"
<jow> the containing bridge will receive all the frames for it
<jow> the eth0 (or whatever) itself can tx but will not rx
<[Pokey]> So you'd put the VLAN virtual ethernet on the bridge instead
<jow> yes
<jow> or you do a vlan on the netdev and put that into the bridge
<jow> but that only works on some hardware
<jow> (afair)
<[Pokey]> New edgecase! XD
<[Pokey]> I'll try that on all of my devices actually
<jow> I honestly don't remember if that is supposed to work or not
Tapper1 has quit [Ping timeout: 480 seconds]
<[Pokey]> I can't think why it wouldn't
<[Pokey]> As soon as it comes out of that virtual interface it basically becomes untagged right?
<[Pokey]> And tagged in the way in too
<jow> consider eth0 having it's ip config etc.
<jow> thne eth0.10 being part of a bridge
<jow> now a frame arrives, vlan 10 tagged
<jow> kernel has to decide where to deliver it
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
<[Pokey]> I'd consider eth0 at that point to just be a "virtual ethernet" equivalent which is configured for all untagged
<jow> both eth0 and eth0.10 would be valid
<[Pokey]> Not sure if the kernel would agree with my logic though
<jow> in the former case it would nto end up in the bridge
<jow> if I do tcpdump -i eth0 -e vlan I do see all vlan tagged traffic on eth0
<jow> so I would expect that "eth0" sees all traffic
<jow> even vlan tagged one
Ansuel has quit [Quit: Probably my PC decided to sleep or I decided to sleep.]
<[Pokey]> Which also makes sense
<jow> but that would mean that eth0.10 simulatenously within a bridge wouldn't work
<jow> unless there's expections, which would be counter-intuitive
<[Pokey]> You can't create a vether as untagged right?
<jow> not sure what you mean with vether
<[Pokey]> Virtual ethernet
<jow> well there's macvlan
<[Pokey]> I'm just being lazy
<jow> which is yet another cna of worms
<[Pokey]> Yea I don't have a clue with that
<[Pokey]> All interesting things to consider
<[Pokey]> Oh there was one other thing I was curious about. Why are WiFi devices restricted to interfaces and not bridges like ethernets
<jow> due to their dynamic nature
<jow> the resulting wireless interface name is not known in advance
<jow> and some wireless operation modes might result in more than wireless interface name
<jow> that's why you can't select wifi device from bridge config
<jow> which means you can only indirectly attach logical wireless networks (which might result in 1+n arbitrarily named netdevs) to logical networks
<[Pokey]> In that case if you wanted to connect an ethernet and a WiFi together but have the router not mess or interact with them you would need an unmanaged interface configured?
<jow> which might either be "empty" l3 config containers or l3 config containers referring to a bridge device
<jow> yes, you would need an unmananged dummy interface whose sole purpose would be holding a bridge the wifi can attach onto
<[Pokey]> Nice, understood
<jow> this specific requirement is an openwrt implementation detail though
<[Pokey]> It literally is a case of interfaces being L3 except for that one circumstance then
<jow> on a traditional linux system with bare hostapd you'd tell the target bridge device in the cnfig directly
<jow> but in openwrt's netifd the ownership/refcount model for network entities requires bridge devices to have an "owner" in order to "come into existence"
<jow> he3nce the need for unmananged dummy networks
<jow> which complicates the ui design a lot
<[Pokey]> Ah I get you. So OpenWRT does not command the kernel to create the bridge device if it is not "owned" by an interface
<jow> because now you can potentially have multiple logical networks (unmananged or not) sharing the same bridge device
<[Pokey]> Ye
<jow> so you also can't fake assigining wifi's to bridges in the bridge config dialog because you don't know, from a ui pov, which transient logical network to use
<[Pokey]> Would you agree the term "interface" is confusing?
<[Pokey]> Or rather, misleading
<jow> either create an unmananged one on demand, or reuse an existing one which happens to use the bridge device already or if there's multiple logical networks sharing the bridge device (think dhcp + dhcpv6) it's not clear which one to refer to in order to link a wifi-iface to a bridge
<jow> yeah, there's some discussion on the ml
<[Pokey]> Ah okay nice
<jow> interface in luci is actually "logical network" (as in layer 3 config container)
<jow> and device is linux netdev (as in "eth0") which people outside of openwrt usually refer to as "interface"
<[Pokey]> That's what initially really confused me
<jow> since we cannot simply swap or replace those terms in order to retain backwards compat, the way forward would be rebranding "interface" as "network"
<jow> in luci and uci (while still accepting "interface" as keyword)
<[Pokey]> That's exactly the word I expected after I learned what it actually meant
<jow> and keeping "device" as "device"
<[Pokey]> Yea
<jow> there's some proposals to add versiong to configs in order to be able to introduce an entirely new vocabulary
<jow> but imho this is not viable
<jow> *versioning
<[Pokey]> I'm guessing that the network config container you mention doesn't actually create any kind of Linux netdev under the hood, it's just a visual construct to represent the configuration OpenWRT will use to assemble and configure all the routing rules and daemons
<jow> kind of
<jow> the distrinction is blurred
<[Pokey]> Hrm
<jow> there's still "network" protocol handlers which do spawn netdevs or deal with l2 specific pecularities
<jow> mainly due to the fact that in netifd "network" protocol handlers can be implemented in shell and shipped as runtime extensions
<jow> while "device" type handlers require C code additions
<jow> so the former was abused to achieve the altter
<jow> example: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/config/gre/files/gre.sh
<jow> arguably, gretap is a device type and not a "network" protocol
<jow> or gre
<jow> for l3 tunnels the question is particularily difficult
<[Pokey]> It's not until you look at this you appreciate how much work OpenWRT does behind the scenes when you mash a button on LuCI
<jow> due to their p2p nature, it does not really make sense to fully seaprate them into a l2 part and a l3 part, since you can't really run e.g. a dhcp client on the resulting tunX device
<[Pokey]> That makes sense
<[Pokey]> What would happen if you tried?
<jow> afair it simply wouldn't work, the dhclient would get an EAFNOTSUPP or simular when attempting to bind to the netdev
<jow> *similar
<jow> there's also network protocol handlers that steer daemons which in turn do spawn netdevs
<jow> such as ppp, openconnect
<[Pokey]> Not too dissimilar to a VPN would I imagine
<jow> yes
<jow> anyhow, lots of food for thought, I do need to hit the bed now
<[Pokey]> No worries, thank you for going into it all for me
<[Pokey]> I will never properly have the time to master openwrt but I can site work slowly to get there
<[Pokey]> s/site/still