dangole has quit [Ping timeout: 480 seconds]
guerby_ has quit [Read error: Connection reset by peer]
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_sunxi.html has been updated. (0% images and 100.0% packages reproducible in our current test framework.)
GNUmoon has quit [Ping timeout: 480 seconds]
GNUmoon has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
tSYS has quit [Quit: *squeak*]
goliath has quit [Quit: SIGSEGV]
tSYS has joined #openwrt-devel
<guidosarducci> I'm losing track of the various CI issues plaguing PR submissions now. Are failing CDN downloads a known issue?
minimal has quit [Quit: Leaving]
tlj has quit [Remote host closed the connection]
tlj has joined #openwrt-devel
xdarklight has quit [Quit: ZNC - https://znc.in]
xdarklight has joined #openwrt-devel
<djfe> I want to fix support for the Zyxel NBG6716 https://github.com/openwrt/openwrt/pull/12732
<djfe> Some NBG6716 do not have ath10k calibration data in flash, only in chip OTP
<djfe> in ar71xx they validated the length by checking the header on flash (essentially caldata_validate() nowadays)
<djfe> But they did it before extracting the calibration data
<djfe> I don't want to wear down the nand flash by extracting and deleting the empty caldata partition on every boot. What should be done here? it's ath79-nand
<djfe> empty meaning it's mostly full of 1s
<djfe> caldata_validate() currently requires the caldata to be extracted before being run: it reads the header/magic from /lib/firmware/$FIRMWARE (fixed path)
<PaulFertser> [Pokey]: I wonder how come you decided to try it with "Client (WDS)" as the driver isn't mac80211-based it doesn't support 4addr mode. It shouldn't have affected the test results though. And another fellow on #openwrt reported same problem as you with this binary on raspberrypi3. So it looks like here's some essential difference in the base kernel, probably 5.10 used by OpenWrt doesn't handle
<PaulFertser> something on the USB level compared to the latest raspbian you tried.
<[Pokey]> PaulFertser: probably because I am a forgetful derp
<[Pokey]> PaulFertser: Hmm, okay, I wonder what could be done here... I should ask, do you intend to bring this into OpenWrt as a package at all, or purely for this one instance you are building for my benefit?
<PaulFertser> [Pokey]: I would consider trying to add it properly but if it doesn't really work on the most common target then it makes no sense.
<[Pokey]> I am wondering if a newer kernel would fix it, and I haven't checked at all but I would assume the snapshot is a newer kernel?
<[Pokey]> I also plan to try stock Debian tonight on the Pi, not sure that makes much difference to anything but I suppose if it works there too, that provides additional confidence in the driver at least
<PaulFertser> [Pokey]: not much https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/bcm27xx/Makefile;h=e408c9040cd9e4168e1bf9fac81bc1a38a883b71;hb=HEAD#l14
<PaulFertser> [Pokey]: probably when the target is migrated to 6.1 it's worth a retry.
<PaulFertser> [Pokey]: the driver is crap either way :)
<[Pokey]> PaulFertser: Fair! The driver claims to support 5.10, however the difference is 5.10 falls into the range of Realtek support, whereas 5.12 onwards is community support. Not sure how much difference that makes
<[Pokey]> Either way, shame that it would need additional debugging. Thank you for spending the time to build the package for me
<PaulFertser> [Pokey]: and OpenWrt version you tried is actually 5.10 but wireless subsystem is from 5.15.92.
<[Pokey]> Backported, interesting, I guess that could have interesting side effects
<PaulFertser> Yes, but OpenWrt is using backports for wireless drivers since like forever so it's solid enough. I had to patch out the checks for LINUX_VERSION_CODE inside the driver to make it think that it's on 5.15 rather than 5.10 and it was all building cleanly, without warnings.
<PaulFertser> One last thing to try would probably be using exactly the same config preprocessor defines as the raspbian build is using. I'll about it a bit later.
Tapper has joined #openwrt-devel
<PaulFertser> [Pokey]: please re-download from https://paulfertser.info/kmod-rtl88x2bu_5.10.176+cfbebf74-1_arm_arm1176jzf-s_vfp.ipk , I recompiled without "concurrent mode" enabled, who knows, might make a difference. The next idea would be to run make on raspbian with V=1 to see all the preprocessor command lines to try to reproduce them on OpenWrt exactly.
<[Pokey]> PaulFertser: I'm currently at my work's office at the moment so I'll have to try it out tonight when I am home again I'm afraid, sorry!
danitool has joined #openwrt-devel
<[Pokey]> I can certainly do a V=1 on the pi as well if necessary, though being a Pi 1 it'll probably take a few hours
<PaulFertser> [Pokey]: cool
Lynx- has joined #openwrt-devel
<ynezz> guidosarducci: S in CDN stands for Stable :P joys of cloud based computing, just get used to it rebase/force-push and move on
<ynezz> guidosarducci: sure, we could add longer delays between those 3 retry attempts, but if you get 503, then something got likely broken. I'm quite surprised, that we don't sha256sum the download, it might be corrupted
Misanthropos has quit [Ping timeout: 480 seconds]
Misanthropos has joined #openwrt-devel
Tapper has quit [Quit: Tapper]
romany047 has quit [Quit: Ping timeout (120 seconds)]
robimarko has joined #openwrt-devel
<guidosarducci> ynezz: what's to get used to? This hasn't been happening for years... started only a few days ago with the master/main and CI changes, and makes progress on PRs very difficult. Each rebase/force-push now seems to bring a new CI failure: e.g. now some checks are just "cancelled" in https://github.com/openwrt/openwrt/pull/12705.
<ynezz> its is happening all the time
<robimarko> CI has been crapping out regularly
<ynezz> Canceling since a higher priority waiting request for 'Build Kernel-refs/pull/12705/merge' exists
<ynezz> IMO CI is dead now
<ynezz> page with information about the runners returns 500
<ynezz> status.github.com is happy as always :P
<ynezz> lets call it a weekend already
robimarko has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
<f00b4r0> looks like SNAFU :)
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
robimarko has joined #openwrt-devel
hellotherehello has joined #openwrt-devel
<hellotherehello> Hey, how do i try and compile nmap-full for openwrt 22? Says here it's just for the 19 version. https://forum.openwrt.org/t/installing-nmap-with-script-support/65301/4 What packages and other is needed to compile it for the lastest?
<hellotherehello> Mostly want to learn, i'm new to this.
<hellotherehello> make[3]: Leaving directory '/home/-/openwrt/feeds/packages/net/nmap' time: package/feeds/packages/nmap/full/compile#0.33#0.23#0.51 * Getting build dependencies for wheel... Traceback (most recent call last): File "/home/-/openwrt/staging_dir/target-mipsel_24kc_musl/usr/lib/python3.11/subprocess.py", line 1917, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or d
<PaulFertser> hellotherehello: please use some pastebin service to show full output from -j1 V=s
<hellotherehello> how do one downloadthe packages? And the compile packages?
<hellotherehello> ok
<ynezz> python 3.11 looks like snapshot then openwrt 22.03
<ynezz> which build guide are you following?
<hellotherehello> ynezz, i'mjust experimentingon my own..Can you link build guides? trying to compile nmap i openwrt on the latest version so i need many broken packages for that do work i reckon, where do i use some command to download all of them? Old packages and compiling don't seem easy
<ynezz> openwrt.org has them
<hellotherehello> ynezz, i'mjust experimenting on my own.. Can you link build guides? Just trying to compile nmap in openwrt on the latest version so i need many broken packages for that do work i reckon, where do i use some command to download all of them? Old packages and compiling don't seem easy.
<hellotherehello> ynezz yes i'm aware, but could you be more specific?
<ynezz> can you share some details about your build host? how many CPU cores do you use for compilation?
<hellotherehello> Got any solutions?
<hellotherehello> thanks
<ynezz> there are known race conditions with python3 package
<ynezz> so try `make -j1 nmap` and see if it helps overcome the issue
<ynezz> make -j1 package/nmap/compile
<hellotherehello> thanks, same with make -j1 nmap-full ? It's the nmap-full. Does that download all of the missing dependencies and such?
<hellotherehello> thank you
<hellotherehello> make -j5 package/nmap/compile would also work but be faster right?
<hellotherehello> is it the number of cou's?
<hellotherehello> cpu's
<hellotherehello> -j4
<ynezz> sometimes just retry of the failed command helps
<ynezz> those concurency issues are hard to reproduce
<ynezz> it might be something else as well, I'm just wild guessing here
<hellotherehello> ok thanks
<hellotherehello> if not i will skip the package, but wanted to test it out on a router, seems cool
<hellotherehello> because here is said: Sopalajo Jun '20 Solved: The nmap-full package is only available on OpenWrt v19 repository. Thanks you all for helping.
<ynezz> so why are you compiling then? just `opkg install nmap-full` it?
<ynezz> its should be available
<ynezz> that "19.07 only" is likely nonsense
<ynezz> but the compilation might be failing, so then it wont be available, I didn't checked it
<hellotherehello> it might work now after your command..
<hellotherehello> i just wanna learn mostly..
<ynezz> then just read the fine manual
<hellotherehello> seems interesting that the openwrt is very flexible. thanks for the help. Yeah i should, but mostly just testing it out i might not evenuse it.. just want to try and compile but it will work soon i reckon, thanks again for the answer
<hellotherehello> thank you
<hellotherehello> i could just put the ipk in the packages folder if i can't get this to work also then soon. Well it's impressive with how flexible openwrt seems overall in compiling! Fun to try and learn some compiling.
<hellotherehello> "fun" and fun..
<hellotherehello> :) Gotta go bye
hellotherehello has quit [Quit: Page closed]
djfe is now known as Guest1406
djfe has joined #openwrt-devel
Guest1406 has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
<djfe> I either need to adjust it's code or work around it's limitations
<ynezz> Ansuel: I don't have that file localy
<ynezz> ah, it's packages repository, sorry
<Ansuel> yep notice we have tons of redundant build on packages
<robimarko> Ansuel: Its been a while since the last thread
<robimarko> Usually QSDK pops-up every few days
<ynezz> Ansuel: https://github.com/openwrt/packages/actions?query=is%3Ain_progress the same 0 is for openwrt/openwrt project, quite puzzled
<ynezz> https://github.com/organizations/openwrt/settings/actions/hosted-runners does not 500 anymore and shows 20 builds in openwrt/openwrt with status in_progress
<ynezz> so likely the filtering is broken?
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
<ynezz> I've to admit, that the number of breakages is astonishing "Unable to find image 'openwrtorg/sdk:ath79-generic-master'"
<ynezz> ^ aparcar[m] did I missed openwrtorg deprecation notice and shutdown?
<Ansuel> yes it's there
<Ansuel> where is the broken thing?
<f00b4r0> ynezz: I think there was a mail to the m-l about this
<f00b4r0> couple months ago iirc
minimal has joined #openwrt-devel
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
lucenera has joined #openwrt-devel
<Ansuel> robimarko do you use ccache?
<Ansuel> or someone that use ccache?
rmilecki has quit [Remote host closed the connection]
rmilecki has joined #openwrt-devel
<robimarko> Ansuel: Nope, had it break before so I just gave up
<Ansuel> ok ccache is just broken
<Ansuel> 12.4 will fix that
xback has quit [Ping timeout: 480 seconds]
<Ansuel> fun thing
<Ansuel> broken version are gcc 12.3 and gcc 13.0
<Ansuel> so using 13.1 or 12.2 works correctly
<Ansuel> ubuntu devel for some reason still didn't switch to gcc13
<ynezz> fedora38 has 13.1.1
<ynezz> it builds fine x86/64
rmilecki has quit [Read error: Connection reset by peer]
rmilecki has joined #openwrt-devel
<ynezz> once time allows I plan to create (bi)weekly scheduled workflow to check build on ubuntu:devel and fedora:rawhide to find out what breaks in the future releases
<ynezz> like that Make 4.4 foo recently
<Ansuel> they would be full build? so packages workflow?
<ynezz> yes
<Ansuel> we should add some kind of notification or email to warn if these build fail or we would not notice them i think
<ynezz> maybe have some issue for that purpose?
<Ansuel> mh yes we can set to create an issue with the error
<Ansuel> nice idea
<Ansuel> there should be some actions for that already there
<aparcar[m]> ynezz: where do you see the breakages?
<jakllsch> dangole: arround? i'm trying to figure out why the PHY on my RTL8125B card isn't detected
<jakllsch> i think it's due to local patches from you
<hauke> ynezz: nice feature, please add arch Linux too they often also have recent tools
<hauke> Ansuel: If that GCC bug is hitting us we can backport the fix
<Ansuel> hauke nope we can't
<Ansuel> host tool are broken
<robimarko> ynezz: I am using Fedora 38, been since the start and so far only SSDK broke due to make 4.4 but its SSDK-s fault
<Ansuel> i mean to prevent that kind of problem... we should use our own make but it's overkill honestly
<robimarko> Nah, that is just more work than is worth
<robimarko> Especially since make gets updated so rarely
<Ansuel> ynezz do you have access to coverity? can you accept my request ?
<hauke> Ansuel: done
<Ansuel> thanks! curious to check those defects
minimal has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
Tapper has joined #openwrt-devel
rmilecki has quit [Remote host closed the connection]
rmilecki has joined #openwrt-devel
<Znevna> you're all evil for not helping that dude with qsdk
<Znevna> :P
<Slimey> lol
<Slimey> ah the good ole days https://www.youtube.com/watch?v=kIQ2_JHbwzI
<Slimey> they knocked that ap off its mount and tried for a long time to get it back on but failed
danitool has quit [Read error: No route to host]
danitool has joined #openwrt-devel
<ynezz> robimarko: it likely depends on the state of your host packages https://github.com/openwrt/openwrt/pull/12736
<robimarko> Well, I have accumulated a lot of packages over the time
<ynezz> and seems like macOS is not able to build full image as well, so we should consider adding it to the mix https://github.com/ynezz/openwrt/actions/runs/5090605078/jobs/9149635380
<ynezz> I'm seeing those libtool strange looking libtool errors as well, but the build then continues fine
<ynezz> aparcar[m]: https://github.com/jow-/ucode/pull/151 one such example, going to fix few other private projects over weekend
<ynezz> its needs to be done, indeed, but its usually better to have some migration plan :]
goliath has joined #openwrt-devel
Borromini has joined #openwrt-devel
<ynezz> aparcar[m]: BTW it seems like there are some dangling -snapshot containers
<ynezz> not sure how to delete those
<[Pokey]> PaulFertser: I have no tried the package, and unfortunately, it is experiencing the same issue
<[Pokey]> Also, if you are wondering how it is built and runs for Raspbian, I just run the installer script https://github.com/morrownr/88x2bu-20210702/blob/main/install-driver.sh
Lynx- has quit [Quit: Going offline, see ya! (www.adiirc.com)]
dangole has quit [Ping timeout: 480 seconds]
ptudor has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
tlj has quit [Remote host closed the connection]
tlj has joined #openwrt-devel
goliath has quit [Ping timeout: 480 seconds]
Borromini has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
Borromini has joined #openwrt-devel
<PaulFertser> [Pokey]: I thought about trying to compare the parameters in the compile command itself, like https://paste.debian.net/1281222/
<PaulFertser> [Pokey]: as probably there's some essential difference in CONFIG_<something> present or not there.
<PaulFertser> [Pokey]: and I can't easily get this info as install-driver.sh is meant to be run natively on hardware I do not have.
dangole has joined #openwrt-devel
<[Pokey]> PaulFertser: I am more than happy to take logs and such
<[Pokey]> I'd just need to work out how to get out of that script what options are set
<PaulFertser> [Pokey]: I think if you add V=1 to the make command on https://github.com/morrownr/88x2bu-20210702/blob/main/Makefile#L2514 line you'll see full gcc invocations when doing "make modules".
<[Pokey]> Would you like me to log the output of that to a file?
<[Pokey]> It'll probably take a few hours
<PaulFertser> [Pokey]: just few first .c files would be enough
<PaulFertser> [Pokey]: also, building a single driver like that even on rpi is probably less than half an hour.
goliath has quit [Quit: SIGSEGV]
<[Pokey]> PaulFertser: Okay, I will do as requested and obtain the output
danitool has quit [Ping timeout: 480 seconds]
<[Pokey]> PaulFertser: https://pastebin.com/nBQ76zr5 Hopefully this is enough, let me know if it isn't. I just invoked make instead of the installer script
<PaulFertser> [Pokey]: yep, that's what I wanted.
<[Pokey]> Sweet!
<PaulFertser> [Pokey]: would be funny if it's really -O2 vs -O1
<[Pokey]> PaulFertser: I have personally experienced a difference between 2 and 1 being the difference between an MCU booting and locking up
<[Pokey]> I do not doubt it
<PaulFertser> No, I see -O1 is present in OpenWrt command too and it's later than -O2 so should override.
<PaulFertser> [Pokey]: yeah, so when I was dealing with MCU firmwares I always tried working with -O2 right from the beginning, and during debugging too, to catch bugs as soon as they're introduced.
<[Pokey]> Turned out to be a clock initialisation race condition in the vendor's HAL
<PaulFertser> Heh, gotta love those vendors
<[Pokey]> PaulFertser: They aren't that old, very receptive to the community and it is a very indev SDK, I don't blame them (Bouffalo)
<PaulFertser> [Pokey]: is that the same vendor where Ralim can't find why some Pinecils can't boot with BLE enabled?
<[Pokey]> PaulFertser: I'm not sure!
<[Pokey]> Possibly
<[Pokey]> PaulFertser: If it is the V2, the current one, thats a BL702 so yes
<PaulFertser> [Pokey]: re realtek options, will check them tomorrow, but, again, I do not have much hopes about it.
<[Pokey]> PaulFertser: No worries, thank you
<aparcar[m]> ynezz: please have a look at the buildbot webhook PR https://github.com/openwrt/buildbot/pull/11
<Ansuel> ohhhh
<Ansuel> we are linking github with buildbot
<Ansuel> interesting
Borromini has quit [Quit: Lost terminal]
<aparcar[m]> what do you mean?
goliath has joined #openwrt-devel
robimarko has quit [Quit: Leaving]
_lore_ has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
cmonroe has quit [Ping timeout: 480 seconds]
bluew has joined #openwrt-devel
<f00b4r0> ynezz: also please eventually restart the buildmaster. It makes no sense to run a partly hand-patched version that doesn't match git HEAD...
<f00b4r0> if buildbot cannot correctly handle being restarted in a container, then maybe the master shouldn't be run from one?
<jow> worked fine with the old version
rotanid has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (11.1% images and 99.9% packages reproducible in our current test framework.)
<Slimey> does 23.x use 6.1 kernel by default?
<slh> no, it doesn't at all
valku has joined #openwrt-devel