<Slimey> heh
<Slimey> time to short some pins
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
ptudor has quit [Ping timeout: 480 seconds]
ptudor has joined #openwrt-devel
Tapper has joined #openwrt-devel
<neggles> hurricos: IT'S OCTEONS ALL THE WAY DOWN
* neggles sobs
<neggles> stintel: interesting, a dodgy nanoHD I have here says the same but it works
<neggles> (it is also mt7621 but this one keeps locking up, suspect the flash is worn out)
goliath has quit [Quit: SIGSEGV]
<Tapper> hauke you taged 21.02.3? and ksmbd is stil broken.
Tapper has quit [Ping timeout: 480 seconds]
minimal has quit [Quit: Leaving]
Tapper has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
wus has quit [Quit: Page closed]
cbeznea has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
rua has joined #openwrt-devel
ecloud_ has quit [Ping timeout: 480 seconds]
ecloud_ has joined #openwrt-devel
GNUmoon has quit [Remote host closed the connection]
<mangix> some dude wants help with mining crypto on openwrt. kick rocks.
<Grommish> neggles: One of the Itus devices died yesterday
<neggles> oh no
<Grommish> Console is spitting out gibberish like it's got the wrong line-speed
<Grommish> Port lights never come up, front panel does, but nothing else
<Grommish> Verfieid the cable is fine, plugged it into the 10x and dropped it to 576 and it read fine
<neggles> ouch
<neggles> sounds like eeprom corruption or something
felix has quit []
felix has joined #openwrt-devel
Tapper has joined #openwrt-devel
srslypascal is now known as Guest2186
srslypascal has joined #openwrt-devel
srslypascal is now known as Guest2187
srslypascal has joined #openwrt-devel
Guest2186 has quit [Ping timeout: 480 seconds]
Guest2187 has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
danitool has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
srslypascal has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
hitech95 has joined #openwrt-devel
robimarko has joined #openwrt-devel
GNUmoon has joined #openwrt-devel
Borromini has quit [Quit: leaving]
GNUmoon has quit [Quit: Leaving]
GNUmoon has joined #openwrt-devel
goliath has joined #openwrt-devel
srslypascal is now known as Guest2191
srslypascal has joined #openwrt-devel
GNUmoon2 has joined #openwrt-devel
Guest2191 has quit [Ping timeout: 480 seconds]
GNUmoon has quit [Ping timeout: 480 seconds]
ekathva has joined #openwrt-devel
ekathva has quit []
<neggles> is there a trick to using an external kernel tree with the buildsystem?
Tapper has quit [Ping timeout: 480 seconds]
ekathva has joined #openwrt-devel
MAbeeTT5 has quit [Quit: WeeChat 2.3]
MAbeeTT has joined #openwrt-devel
mattytap__ has joined #openwrt-devel
dave14305 has joined #openwrt-devel
mattytap_ has quit [Ping timeout: 480 seconds]
dave14305 has quit [Remote host closed the connection]
GNUmoon2 has quit [Remote host closed the connection]
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
shibboleth has joined #openwrt-devel
GNUmoon has joined #openwrt-devel
<robimarko> neggles: There is a option in menuconfig to use an external tree
<robimarko> However, make sure to not enable GPIO key hotplug driver
<neggles> robimarko: ahhhh is THAT the problem?!
<neggles> whenever I've tried it's thrown a weird error with user_headers or somesuch
Vavooon has joined #openwrt-devel
<robimarko> It is a problem for sure as OpenWrt uses a hotplug based custom driver instead of the event based one
<robimarko> Not sure if its your problem
<neggles> well i've definitely had it turned on every time i've tried so :P
<neggles> oh god. my embarassment of a DSA driver successfully compiled.
<neggles> guess it's time to see if it works
<Vavooon> Hi. I'm having a strange problem with `glib2` on 22.03 branch: when using `g_cond_wait_until` call, it never waits specified amount of time, instead it just returns `FALSE`(which stands for timeout) immediately. It is affecting underlying software which is using this method, `gst-rtsp-server` in my case. I have prepared an example app which reproduces the issue, while it is working completely fine when executed on my PC
<dwfreed> pastebin your example code?
srslypascal is now known as Guest2205
srslypascal has joined #openwrt-devel
<dwfreed> add a line to check the value of g_get_monotonic_time() when the timeout happens
Guest2205 has quit [Ping timeout: 480 seconds]
<Vavooon> @dwfreed When I add it into my example, here's what it says:
<Vavooon> start timer: 6239454209 wait until: 6244454856 while timeout: 6239456027
<Vavooon> Updated pastebin https://pastebin.com/00sxYzYe
<dwfreed> most likely it's a musl bug
<dwfreed> if you can, try to test on eg alpine linux
<stintel> often getting things like this: * pkg_hash_check_unresolved: cannot find dependency libucode20220206 for ucode
<stintel> can we fix that by autorebuild somehow? very annoying
<neggles> um, glib documentation says this is expected behaviour
<neggles> i, think? it's not clear, but it does want the mutex to be locked before you go checking it
<Vavooon> @neggles When I lock the mutex, it does not proceed into the `while` loop
<Vavooon> @neggles Could you point me to the place where it says it's expected behaviour
<dwfreed> that's because your mutex nor your cond are initialized
<dwfreed> because neither*
<dwfreed> you're allocating them on the stack, so they're random data; they need to be init'ed
<neggles> yeah i was about to say that
<Vavooon> Thanks a lot, however I've just added `g_cond_init(&data_cond);` as well as `g_mutex_init(&data_mutex);` and `g_mutex_lock (&data_mutex);` but the issue is still happening
<neggles> the examples show the GCond and GMutex being declared globally
srslypascal is now known as Guest2209
srslypascal has joined #openwrt-devel
<dwfreed> after correctly initializing the mutex and cond, and locking the mutex before the loop, what does the timeout report for the new value of g_get_monotonic_time, and how does that compare to the expected end time?
<Vavooon> start timer: 7063974018 wait until: 7068974664 while timeout: 7063975922
Guest2209 has quit [Ping timeout: 480 seconds]
<stintel> ugh, unifi 6 lite, what an annoying little device, single port device using DSA
<neggles> this https://paste.neggles.dev/idQz9 does not work, and hangs forever on attempting to lock the uninitialized mutex
<neggles> this https://paste.neggles.dev/4t5YZ does work as expected
<neggles> and is basically a carbon copy of the glib example
<neggles> a mutex declared inside a function isn't very useful...
<neggles> stintel: which phy did they hook to the physical port?
<Vavooon> @neggles Just tried your code, still doesn't wait (but works fine on PC too)
<neggles> interesting. might be a musl bug then like dwfreed suggested
<neggles> i have an alpine chroot lets see
<stintel> neggles: dunno, didn't look, just trying to recover asap, only here 2 days + need to meet with a lot of people
<neggles> ...actually it's just past midnight and somehow I've managed to trigger a kernel panic on `mutex_lock_nested(&bus->mdio_lock, MDIO_MUTEX_NESTED);`
<neggles> but good luck Vavooon
<Vavooon> Ok, thanks for the help, trying on Alpine too
<neggles> if it doesn't work on alpine, musl bug
<neggles> (probably)
arthur_melo has joined #openwrt-devel
<neggles> stintel: fair enough, mt7621 so shouldn't be too much fuss
<neggles> tftp recovery it back to unifi fw, ssh in, flash back to openwrt? :P
<stintel> neggles: had to fix the TTL header, soldering wasn't done properly apparently, running OpenWrt again already
<neggles> nice :)
<stintel> but don't find a backup of the config (device has been down for months, 2000+ km away and down due to someone breaking mt7621
<neggles> ah
<neggles> (are they held together with just glue like the nanoHDs?)
<stintel> nah, secondary location, not here for long back then either, lack of proper equipment, rush job basicallt
<stintel> not amused that I can't find a backup of the config, it was my only working wpa enterprise setup
<neggles> ouch
srslypascal is now known as Guest2213
srslypascal has joined #openwrt-devel
Guest2213 has quit [Ping timeout: 480 seconds]
srslypascal is now known as Guest2214
srslypascal has joined #openwrt-devel
<Vavooon> Weird, it works fine on Alpine linux, waits till the timeout
<neggles> what arch are you running on where it erros
<neggles> errors*
<Vavooon> ath79
<neggles> mipsel hmm
<Vavooon> mips24 yep
<neggles> wait is ath79 LE or BE?
<PaulFertser> BE
<PaulFertser> ramips is LE
<neggles> ah
<neggles> wonder if that's got anything to do with it
Guest2214 has quit [Ping timeout: 480 seconds]
<Vavooon> Possibly, I probably need to try it on older versions, I was running the same software yet on 19.07 and 21.x without any issues, I'm sure here
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_mediatek.html has been updated. (100.0% images and 99.8% packages reproducible in our current test framework.)
<neggles> i am honestly rather impressed at how badly I have screwed this up https://paste.neggles.dev/jY7jJ
<hitech95> I was folowing te guide: https://openwrt.org/docs/guide-developer/helloworld/chapter4 to create my own repository to test out some changes on an ustream package. feeds update generate the index file but running feeds install -a -p myrepo is not doing what it should (No Installing package 'helloworld' from mypackages message)
<hitech95> Any idea?
minimal has joined #openwrt-devel
<PaulFertser> hitech95: installing a package is just creating a symlink in packages/
<PaulFertser> hitech95: probably a symlink already exists there
<PaulFertser> hitech95: package/feeds
<hitech95> yea I know but taht symlink should not exist for the helloworld example. For reference with ctrl+/ I cannot find anything.
<hitech95> PaulFertser: I'm literally following the tutorial with the exception of the basepath that is different:
<hitech95> ./scripts/feeds install -a -p crowdsec print only Installing all packages from feed crowdsec. and not the installing "helloworld"
<PaulFertser> hitech95: try reversing the argument order, putting -p first
<PaulFertser> hitech95: hm, all packages should include yours too. Probably feeds update step is missing something, not creating the index or similar.
<hitech95> ok reversing the order fixed the issue. dam it was 2 days that I was stuck there!
<neggles> ./scripts/feeds update -a && ./scripts/feeds install -a && ./scripts/feeds install -a
<neggles> :P
<hitech95> PaulFertser: thanks a lot!
<hitech95> neggles: that was also not working, no idea why!
<neggles> pixies
<neggles> makefile pixies
<hitech95> lol!
<hitech95> The fixeies that I'm facing is with fw4 that broke somehow with some packages requiring reboot and the parsing of the .data field in the net protocol/interface. That is really annoing!
<hitech95> *pixies
SamantazFox has quit [Ping timeout: 480 seconds]
<Vavooon> @neggles In case you're still here, I managed to find the root (not completely, but I can work with it) cause: there is some USE_NATIVE_MUTEX identifier defined here https://github.com/GNOME/glib/blob/main/glib/gthread-posix.c#L77 and everything works fine if I disable it
<neggles> I, for one, blame endianness
<neggles> and/or musl/glib not getting along
<Vavooon> If it is defined, then Glib tries to use some futex syscalls
<Vavooon> Not sure where should I report this issue to: OpenWRT or GLib?
<neggles> i would go with glib and see if they point you to musl
<Vavooon> Thx, will do
<neggles> ah goddamnit i think i worked out where my kernel panic came from
cbeznea1 has joined #openwrt-devel
cbeznea has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
ekathva has quit [Remote host closed the connection]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
grift has quit [Quit: Bye]
grift has joined #openwrt-devel
mattytap_ has joined #openwrt-devel
mattytap__ has quit [Read error: Connection reset by peer]
shibboleth has quit [Quit: shibboleth]
mattytap__ has joined #openwrt-devel
Borromini has joined #openwrt-devel
mattytap_ has quit [Read error: No route to host]
hitech95 has quit [Remote host closed the connection]
srslypascal is now known as Guest2234
srslypascal has joined #openwrt-devel
srslypascal has quit []
Guest2234 has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
SamantazFox has joined #openwrt-devel
ecloud_ has quit [Ping timeout: 480 seconds]
<grift> secmark experiment turned out not ideal due to odhcp rawip socket use but other than that ive label-based packet filtering to work on my router: https://git.defensec.nl/?p=selinux-policy.git;a=commitdiff;h=bead9376af9cc87e54ee77bc467b19449ea02c20
Vavooon has quit [Quit: Page closed]
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 99.8% packages reproducible in our current test framework.)
ecloud_ has joined #openwrt-devel
shibboleth has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
svanheule has quit [Remote host closed the connection]
svanheule has joined #openwrt-devel
Misanthropos has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
GNUmoon has quit [Remote host closed the connection]
Borromini has quit [Quit: Lost terminal]
srslypascal has quit [Quit: Leaving]
srslypascal has joined #openwrt-devel
shibboleth has quit [Quit: shibboleth]
Luke-Jr has quit [Ping timeout: 480 seconds]
cbeznea1 has quit [Quit: Leaving.]
robimarko has quit [Quit: Leaving]
Luke-Jr has joined #openwrt-devel
AtomiclyCursed has quit [Quit: ZNC 1.8.2 - https://znc.in]
AtomiclyCursed has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
bluew has joined #openwrt-devel
embargo has quit [Ping timeout: 480 seconds]
embargo has joined #openwrt-devel
valku has joined #openwrt-devel
* f00b4r0 notices he has a runaway urngd process eating an avg 25% cpu on an old device running 19.07.7, scratches head
<f00b4r0> and restarting urngd keeps the same CPU usage. Scratching harder.
arthur_melo has quit []
Grommish has quit [Read error: Connection reset by peer]
Grommish has joined #openwrt-devel
<Slimey> what are valid options for phy-mode = "x" where x is rgmii for example
<Slimey> rgmii-id, rgmii-txid, rgmii-rxid
<Slimey> nice thank you
<hauke> all possible options in the device tree should be documented
bluew_ has joined #openwrt-devel
bluew has quit [Read error: Connection reset by peer]
bluew_ has quit [Read error: Connection reset by peer]
bluew_ has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
danitool has joined #openwrt-devel
MAbeeTT has quit [synthon.oftc.net reflection.oftc.net]
felix has quit [synthon.oftc.net reflection.oftc.net]
cmonroe has quit [synthon.oftc.net reflection.oftc.net]
dansan has quit [synthon.oftc.net reflection.oftc.net]
torv has quit [synthon.oftc.net charm.oftc.net]
dwfreed has quit [synthon.oftc.net reflection.oftc.net]
chder has quit [synthon.oftc.net reflection.oftc.net]
dvn has quit [synthon.oftc.net reflection.oftc.net]
Spr0cket has quit [synthon.oftc.net reflection.oftc.net]
noahm has quit [synthon.oftc.net reflection.oftc.net]
arnd has quit [synthon.oftc.net reflection.oftc.net]
Grommish has quit [synthon.oftc.net larich.oftc.net]
valku has quit [synthon.oftc.net larich.oftc.net]
ptudor has quit [synthon.oftc.net larich.oftc.net]
mangix has quit [synthon.oftc.net larich.oftc.net]
hanetzer has quit [synthon.oftc.net larich.oftc.net]
Slimey has quit [synthon.oftc.net larich.oftc.net]
lmore377 has quit [synthon.oftc.net larich.oftc.net]
awgh_ has quit [synthon.oftc.net larich.oftc.net]
zx2c4 has quit [synthon.oftc.net larich.oftc.net]
norris has quit [synthon.oftc.net larich.oftc.net]
Rayyan has quit [synthon.oftc.net larich.oftc.net]
jbowen has quit [synthon.oftc.net larich.oftc.net]
kenny has quit [synthon.oftc.net larich.oftc.net]
swalker has quit [synthon.oftc.net larich.oftc.net]
Vaughn has quit [synthon.oftc.net larich.oftc.net]
grid has quit [synthon.oftc.net larich.oftc.net]
Luke-Jr has quit [synthon.oftc.net weber.oftc.net]
linusw__ has quit [synthon.oftc.net weber.oftc.net]
eigma has quit [synthon.oftc.net weber.oftc.net]
johnf has quit [synthon.oftc.net weber.oftc.net]
hubvu has quit [synthon.oftc.net weber.oftc.net]
tchebb has quit [synthon.oftc.net weber.oftc.net]
pekster has quit [synthon.oftc.net weber.oftc.net]
kkurbjun has quit [synthon.oftc.net weber.oftc.net]
_0x4a6f has quit [synthon.oftc.net weber.oftc.net]
russell-- has quit [synthon.oftc.net weber.oftc.net]
russell2 has quit [synthon.oftc.net weber.oftc.net]
aparcar has quit [synthon.oftc.net weber.oftc.net]
sauce has quit [synthon.oftc.net weber.oftc.net]
kerneltoast has quit [synthon.oftc.net weber.oftc.net]
agb has quit [synthon.oftc.net weber.oftc.net]
hurricos has quit [synthon.oftc.net weber.oftc.net]
aparcar has joined #openwrt-devel
Luke-Jr has joined #openwrt-devel
russell2 has joined #openwrt-devel
sauce has joined #openwrt-devel
hurricos has joined #openwrt-devel
johnf has joined #openwrt-devel
eigma has joined #openwrt-devel
kerneltoast has joined #openwrt-devel
linusw__ has joined #openwrt-devel
kkurbjun has joined #openwrt-devel
_0x4a6f has joined #openwrt-devel
hubvu has joined #openwrt-devel
agb has joined #openwrt-devel
pekster has joined #openwrt-devel
tchebb has joined #openwrt-devel
russell-- has joined #openwrt-devel
chder has joined #openwrt-devel
noahm has joined #openwrt-devel
cmonroe has joined #openwrt-devel
MAbeeTT has joined #openwrt-devel
dansan has joined #openwrt-devel
dwfreed has joined #openwrt-devel
dvn has joined #openwrt-devel
felix has joined #openwrt-devel
arnd has joined #openwrt-devel
Spr0cket has joined #openwrt-devel
Grommish has joined #openwrt-devel
valku has joined #openwrt-devel
ptudor has joined #openwrt-devel
hanetzer has joined #openwrt-devel
mangix has joined #openwrt-devel
Slimey has joined #openwrt-devel
lmore377 has joined #openwrt-devel
awgh_ has joined #openwrt-devel
grid has joined #openwrt-devel
swalker has joined #openwrt-devel
Rayyan has joined #openwrt-devel
jbowen has joined #openwrt-devel
Vaughn has joined #openwrt-devel
kenny has joined #openwrt-devel
norris has joined #openwrt-devel
zx2c4 has joined #openwrt-devel
torv has joined #openwrt-devel
GNUmoon has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
torv_ has joined #openwrt-devel
torv has quit [Remote host closed the connection]
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 99.6% packages reproducible in our current test framework.)
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
c0sm1cSlug has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]