Tapper has quit [Quit: Instantbird 1.5 -- http://www.instantbird.com]
plntyk2 has quit [Read error: Connection reset by peer]
plntyk2 has joined #openwrt-devel
snh has quit [Read error: Network is unreachable]
snh has joined #openwrt-devel
f12 has quit [Read error: Connection reset by peer]
f12 has joined #openwrt-devel
dorf has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
philipp64|work_ has joined #openwrt-devel
philipp64 is now known as Guest536
philipp64 has joined #openwrt-devel
philipp64|work has quit [Ping timeout: 480 seconds]
philipp64|work_ is now known as philipp64|work
Guest536 has quit [Ping timeout: 480 seconds]
<digitalcircuit> In particular, others have identified this ipq806x CPU governor patch set as potentially relevant: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=6e411b8416388a9c8be1b2291be9b5adeeb07784 And the wiki seems to have clear instructions on how to integrate these kernel patches ( https://openwrt.org/docs/guide-developer/build-system/use-patches-with-buildsystem#adding_or_editing_kernel_patches )
<digitalcircuit> If there's a simpler approach (e.g. can I simply compile a new kernel image like on LineageOS and squash it into the 21.02.0rc2 official build?), or if I'm overlooking anything, feel free to call me out!.
<digitalcircuit> I'm looking to try to help find the relevant difference between OpenWRT 21.02.0rc2 and the current snapshots given 21.02.0rc2 is broken for a specific use case on the NBG6817 ( https://bugs.openwrt.org/index.php?do=details&task_id=3099#comment9712 - that's me), yet the snapshot works.
<digitalcircuit> To confirm, is it reasonable to simply copy the official image settings for 21.02.0rc2 (as per https://openwrt.org/docs/guide-developer/build-system/use-buildsystem#compile_with_the_same_packages_as_the_official_image ), add the kernel patches (fixing conflicts if needed), then add additional packages I'd usually opkg install (e.g. SQM, USB 3.0 support)..?
<digitalcircuit> (I also have a hardware serial console via USB TTL adapter, so if I soft-brick the device I can access the bootloader. Hopefully I won't do that :)
<slh> serial console access can help you a lot for debugging, catching potential error messages/ kernel panics, but it's fortunately (usually) not needed for recovering this device, push-button tftp recovery works reliably there
<slh> in general, larger work on the kernel is not easy - the wiki helps a bit on the syntactical mechanics, but not for dealing with the semantics, actual rebasing, etc.
<digitalcircuit> slh: Glad to hear I likely won't need to break out the serial console to recover, though having a failsafe is good anyways. And, ah, understood! I figured if this was gonna be easy, someone more skilled than I would've backported the CPU governor patchset by now :)
<digitalcircuit> It's very likely I won't succeed, but given my frustration with this issue, I feel I should try to help out beyond simply filling the bug tracker issue 3099 with rambling commentary and bizarre serial console logs. The other notion that came to mind was git bisecting between the 21.02 branch off from the main branch and snapshot current, though that sounds even messier thanks to the multiple repos.
<plntyk2> digitalcircuit, the cpu governor patch might really be a good starting point - also if there are frequency / voltage tables like on many ARM platforms those might be worth to look at
<plntyk2> for those errors you probably should use a custom compile (no opkg install) - and you might want to modify the kernel cmdline (for debug / verbose outputs) and maybe enable some debug config symbols to check
<plntyk2> digitalcircuit, also maybe run a memtester or something that does checksumming / high cpu & mem load tests (stress-ng package ?)
<slh> digitalcircuit: also add (you don't need to build a new image for that, just run line 12-15 on a shell at runtime) https://github.com/openwrt/openwrt/pull/4033/commits/59402b107b4dc8cb970335adbb2f0a027bc1ba98
<digitalcircuit> On stress-ng - thanks, too! I had tried iperf3 + openssl benchmark in loops, which didn't seem to trigger the issue, but I hadn't considered memory pressure (SFTP backup uploads also heavily exercise the RAM cache, and it's a bursty workload - local encrypt+compress, SFTP upload to router). Putting the time into figuring out stress-ng makes sense.
<digitalcircuit> plntyk2: Thank you! I'm glad that trying backporting the CPU frequency driver changes makes sense, and checking for frequency/voltage tables also is a good idea if they exist.
<digitalcircuit> slh: Thanks as well! I tried the /etc/init.d/cpufreq script on 21.02.0rc1 (verified applied with "cat /sys/devices/[...]"), and I also upgraded to 21.02.0rc2 with that script built in, and neither fixed the issue, unfortunately. It might have bought me a bit more time before crashes, but it's hard to tell if it made any difference given the non-deterministic nature of this.
gch981213 has joined #openwrt-devel
rmilecki has joined #openwrt-devel
<digitalcircuit> I've also noticed load averages during SFTP bursty uploads go higher (above 1.0) at times with the snapshot, whereas 21.02.0rc2 (and rc1) usually stayed around/under 0.7, hence another vague suspicion for something with the CPU frequency driver. That's uncertain, though. I think my next goal (after making a full, safe backup of my desktop) is to play with stress-ng and try to recreate the crash without risking my backup data :)
nitroshift has joined #openwrt-devel
<digitalcircuit> (Crashes happen within 1-7 hours with the Deja Dup SFTP-to-router backup session; a full backup takes 7-ish hours)
decke has joined #openwrt-devel
<digitalcircuit> I missed the remarks on custom compile (no opkg), modified kernel cmdline, and debug config symbols too - those are good points. I'll focus on learning how to do all that once I recreate the issue with stress-ng (unless that takes too long).
feriman has joined #openwrt-devel
<russell--> blocktrron: http://paste.debian.net/1199718/
enyc is now known as enyc2
enyc2 is now known as enyc
Dracos-Carazza has joined #openwrt-devel
netprince__ has joined #openwrt-devel
goliath has joined #openwrt-devel
pmelange has joined #openwrt-devel
netprince_ has quit [Ping timeout: 480 seconds]
pmelange has left #openwrt-devel [#openwrt-devel]
pmelange has joined #openwrt-devel
pmelange has left #openwrt-devel [#openwrt-devel]
silver has quit [Quit: One for all, all for One (2 Corinthians 5)]
<jow> Package ip-tiny is missing dependencies for the following libraries:
<jow> libselinux.so.1
<jow> that reads like ... a contradiction
<jow> since when do we require selinux in ip-tiny? and since when is it enabled by default? I don't recall enabling anything selinux
<jow> just trying to rebuild my tree after 7 weeks or so
<jow> CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
<jow> o_O
<jow> where do I get "ninja" ?
<jow> ah, it needs to be installed fro mfeeds
<jow> weird stuff
<nbd> which package needs ninja?
<jow> cgi-io, apparently
<jow> my feed mirror was too old it seems, after pulling latest I had to manually feeds install a a bunch of things due to changed deps
<jow> among them ninja
<jow> its likely no issue for someone starting from scratch
<blocktrron> russell--: this is vastly different hardware
<nbd> jow: can you try changing cmake.mk to set CMAKE_GENERATOR to "Unix Makefiles"?
<nbd> that should hopefully get rid of the ninja stuff
<blocktrron> The speed in dmesg is the one reported from the PHY device, in your case the switch IC
<jow> nbd: it won't work. The package has been patched in the feed to include an additional cmake-ninja.mk after cmake.mk which does various overrides
<nbd> oh
<nbd> weird
<jow> it also introduces PKG_BUILD_DEPENDS += ninja/host and HOST_BUILD_DEPENDS += ninja/host so I suppose a selectinve feeds install cgi-io (or wahtever else uses ninja) will pull in the ninja package as well
<nbd> o_O
<mangix> the ninja stuff is courtesy of me
<jow> hmm, still failing at Package ip-tiny is missing dependencies for the following libraries:
<jow> libselinux.so.1
<jow> how can I get rid of it?
<nbd> i think for something like this, we should move ninja to tools/
<mangix> nbd: the reason I placed it in feeds is because it got rejected for tools/
<mangix> and actually, it might be better to use samurai, a C fork of ninja (C++)\
<jow> hmm, iproute2 performs a naive pkg-config check for libselinux, if it finds one, it gets enabled
<jow> looks like a packaging fail to me
<jow> whoever introduced libselinux should've forcibly disabled it in packages that might automatically pick it up
nitroshift has quit [Remote host closed the connection]
nitroshift has joined #openwrt-devel
<russell--> blocktrron: eth1 worked at gigabit before 5.4
<russell--> eth1 isn't connected to the switch
<jow> my fault, was running from an older tree. selinux is properly disabled in iproute2 in master
<blocktrron> Where is it connected to?
<russell--> the external wan port
<blocktrron> Which PHY does it use?
<nbd> mangix: seems like the meson/ninja PR got rejected for tools because nothing in the main tree was using it
<russell--> not sure, how do i tell?
<nbd> mangix: for ninja (or samurai) it could be different if the PR also includes the cmake.mk changes to enable it by default
<blocktrron> THE WAN Port is also connected to the ar8316 switch
<mangix> nbd: it did
<nbd> okay, maybe i looked at the wrong PR
<nbd> got a link?
<russell--> blocktrron: "swconfig dev switch0 show | grep port" only shows eth0
<mangix> that ninja PR needs some work to modern standards
rejoicetreat has joined #openwrt-devel
<blocktrron> yes, because even though all ports are connected to the switch-ic, the WAN port might not be connected to the switch fabric
<nbd> mangix: the build time comparison in that PR makes it seem like the typical time difference between ninja and gnu make is usually rather small
<blocktrron> the SoC isn't very relevant in your case, as the Link speed on copper side is reported by the switch phy
<blocktrron> Do you have a complete dmesg output?
<russell--> yes
<blocktrron> Personally, i have no experience with ar8316
* russell-- just popped one of the cans on the board, id'd the ar8316
<mangix> nbd: right. the package that was tested is now removed. With https://github.com/openwrt/packages/commit/a31b7320077c340268d31642ded69cc66fbc230c , a larger set was used.
<blocktrron> russell--: this is 5.10, not 5.4
<russell--> yeah, but the regression appeared with 5.4
<russell--> was working on 4.19
Pepes has quit [Quit: WeeChat 2.3]
<blocktrron> This would be odd
* russell-- not denying it's odd
<blocktrron> for 5.10, the PHY driver would need refactoring, as the driver overwrites the supported link modes in it's probe function, while the phy subsys overwrites it again directly after.
<blocktrron> However, this change is only present in 5.10, not 5.4. So i have no clue why it broke there.
<russell--> i can build a 5.4 and grab a dmesg from there too
<blocktrron> russell--: okay, i was holding it wrong
root4 has joined #openwrt-devel
<blocktrron> This change broke it, which was introduced in 5.1
<blocktrron> I'll prepare a patch for that, can you test it on your device?
<russell--> cool, thanks!
<blocktrron> Will probably be around this evening (EU)
<russell--> okay, np
<russell--> i only noticed this after 1+ year, so it's not super urgent ;-)
pmelange1 has joined #openwrt-devel
<blocktrron> 100 Mbit/s > 0 Mbit/s
<stintel> :P
<stintel> what degree do you have that you come up with these complex facts :P
<blocktrron> shall i paint you a conspiracy based on my compley logic?
<stintel> oooh
<stintel> fits the time we live in
<stintel> I like it ;)
<blocktrron> It's all a plot from the wireless industry to break our hardwaired connections so we are forced to buy their 5G products
<russell--> i've been vaccinated, so i'm 5G ready
<russell--> one shot in each arm for spatial diversity
<blocktrron> I was enjoying the tinfoil head proclaiming we all need fiber in my village so we can skip 5g. Can't disagree with him completely.
<stintel> russell--: haha me too. one shot in my left arm and one in my right arm, so I have now 2 5G antennas
<mangix> hmm github is acting up
pmelange1 has quit [Quit: Leaving.]
<stintel> russell--: I have now 6 out of 5 bars signal strength!
<russell--> rock on!
root4 is now known as Pepes
<russell--> fwiw, someone was testifying for an anti-wifi bill in my state's legislature a couple years ago and was citing research that i actually worked on (i did the data management and data reduction, another group did the association), involving 60Hz magnetic fields (not GHz, Hz) and that purported to show a link between exposure and pregnancy miscarriage (which was probably erroneous anyway) *facepalm*
<russell--> ... they were using the brainmelting baby poster too.
fenrig has quit [Quit: Page closed]
<rmilecki> Broadcom's Northstar failed me on USB controller / driver stability, I need to buy some other platform device for daily office use
<rmilecki> very low requirements: any speed WiFi, USB port for modem, CPU fast enough for wireguard (so basically any)
<rmilecki> i guess ramips + mt7621 is the best option those days?
<rmilecki> any recommendation for a cheap device I can actually buy? i checked for few models I found by DTS files and they are not available in shopts anymore or second hand
<rmilecki> Cudy? first time I hear
<rmilecki> thanks
<blocktrron> The MU-MIMO claim is a bit strange
<rmilecki> any other recommendations still welcome, maybe I can find someth else cheaper / more easily accesible in Poland
<rmilecki> blocktrron: 802.11n would be sufficient for my needs, i don't care ;)
<blocktrron> I mean in regard to "maybe they've updated the board"
<blocktrron> anyways, you can order from any countries amazon to your own country, you only have to pay shipping
<karlp> plus whatever amazon declares is "estimated customs and handling charges"....
<karlp> which is not always reasonable or sane...
<karlp> but sure, yes, it's "possible"
<karlp> (oh, and lots of sellers won't actually sell to other coutnries anyway...)
<blocktrron> karlp: this shouldn't matter within EU
<blocktrron> At least I've ordered multiple times from ES, FR and in the past UK to germany and it was always only the ~5 EUR shipping that had to be paid.
Tapper has joined #openwrt-devel
<johnf> if anyone can offer advice as to why my fresh port is getting invalid tar magic when I attempt to sysupgrade I'd really appreciate it
<johnf> want to get this done and submitted
aleksander has quit []
rejoicetreat has quit [Ping timeout: 480 seconds]
SamantazFox__ has joined #openwrt-devel
SamantazFox has joined #openwrt-devel
SamantazFox has quit []
SamantazFox__ has quit [Quit: Bye]
SamantazFox has joined #openwrt-devel
SamantazFox has quit []
SamantazFox has joined #openwrt-devel
<rmilecki> according to that report imagebuilder images use different (older & broken) LuCI
Tapper has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
kabel has quit [Ping timeout: 480 seconds]
decke has quit [Quit: Leaving.]
Borromin1 has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
kabel has joined #openwrt-devel
<rmilecki> is that expected for packages for releases to be replaced with newer version as development goes on?
<rmilecki> ynezz? jow?
Tapper has joined #openwrt-devel
<rmilecki> wait, those versions seem to be from the rc2 buld day
<rmilecki> so it seems like they were just uploaded with delay
<ynezz> rmilecki: there are two build steps, one for images, 2nd for packages
<rmilecki> oh
<ynezz> first step builds images and SDK, 2nd builds packages with that SDK
<rmilecki> so I guess lesson learnt is: don't announce release until packages are built
<rmilecki> that guy from forum build his image (with Image Builder) and got outdated luci-mod-network in his image
<rmilecki> that outdated version (with known bug) has corrupted his /etc/config/network
angelsl has quit [Ping timeout: 480 seconds]
<ynezz> there is no such thing as release version of packages repository
angelsl has joined #openwrt-devel
Borromin1 has quit [Quit: Lost terminal]
danitool has joined #openwrt-devel
pmelange has joined #openwrt-devel
rejoicetreat has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
JohnA has quit [Ping timeout: 480 seconds]
Tapper has quit [Quit: Instantbird 1.5 -- http://www.instantbird.com]
nitroshift has quit [Quit: Gone that way --->]
pmelange1 has joined #openwrt-devel
<jow> rmilecki: yes it is possible that for a brief period of time the release image contain newer builtin packages that what is available in the online package repos
<jow> *contain builtin packages that are newer than the ones avaialble in the package repos
<jow> until the phase2 builders catched up
<jow> stuff like this happens because people start using releases pre-announced
pmelange has quit [Read error: Connection reset by peer]
pmelange has joined #openwrt-devel
<rmilecki> jow: luci-mod-network was built *today*
pmelange1 has quit [Ping timeout: 480 seconds]
JohnA has joined #openwrt-devel
JohnA_ has joined #openwrt-devel
<jow> rmilecki: yes, packages are continuously rebuilt
<rmilecki> jow: ok, i can't be sure what has happened then
<rmilecki> jow: user on the forum has claimed that "I built the image between 1am and 2am on June 1st (CEST)."
<jow> nbd: it seems the abi version propagation to package dependencies does not work anymore
<zulukilobravo> if phase2 is derived from phase1 how can packages exist there at all?
<rmilecki> zulukilobravo: what packages?
<rmilecki> zulukilobravo: i guess phase1 builts only required (default) packages
<rmilecki> zulukilobravo: not all of them
<zulukilobravo> the ones needing to be 'caught up'
<jow> nbd: I have a package here which depends on a lib that specifies an ABI version, yet the ipk dependencies just state "Depends: libfoo" instead of the expected "Depends: libfoo20210526"
jlsalvador has quit [Ping timeout: 480 seconds]
<rmilecki> can someone remind me why master snapshots don't include LuCI?
<zulukilobravo> the stale packages preceed the phase1 package dates
<jow> nbd: was the behaviour changed here?
<jow> zulukilobravo: phase2 uses SDKs from phase1 branch builders, they don't depend on tagged builds
JohnA has quit [Ping timeout: 480 seconds]
<zulukilobravo> ok...
<jow> these exist as soon as the branch is forked
<zulukilobravo> understood... thanks jow
jlsalvador has joined #openwrt-devel
jlsalvador2 has joined #openwrt-devel
goliath has joined #openwrt-devel
<rmilecki> ping wulfy23
<zulukilobravo> pong rmilecki im new to this irc jazz
<rmilecki> zulukilobravo: you may also post info that packages are being rebult contantly
<rmilecki> zulukilobravo: so imagebuilder is actually NOT expected to provide the same images as prebuilt ones
jlsalvador has quit [Ping timeout: 480 seconds]
jlsalvador2 is now known as jlsalvador
<zulukilobravo> on it
<rmilecki> thank you
<jow> nbd: you also reworked the GetABISuffix macro and changed its logic
<jow> the current implementation fails to add a leading dash if the package basename ends with a digit
<jow> libfoo2$(ABI_VERSION) is wrong, it must be libfoo2-$(ABI_VERSION)
olmari has quit [Quit: authenticating]
olmari has joined #openwrt-devel
<JohnA_> jow, Sorry for the delay. pastebin id zzz2002
<jow> JohnA_: can you give me the full url?
<JohnA_> jow, that was a little criptic, sorry! i posted yesterday about problem with pppOe ON A WRT3200ACM. You asked for f4 files on pastebin. https://pastebin.com/u/zzz2002
<JohnA_> jow, f4 = 4
<blogic> network.@device[1].name='wan'
<blogic> that is missing the ports field
<jow> no its fine
<blogic> is it ?
<jow> wan is no bridge
<blogic> but the name=wan does not tell it the ifname/port ?!
<jow> I believe it has something to do with the fact that both the logical interface and the netdev are called wan
<jow> this trips up the pppoe proto handler somewhere, this has been reported here a few weeks ago already
<blogic> ah ok
<jow> blogic: ifname is device now
<jow> s/option ifname netdev/option device netdev/
<blogic> jow: yes but the device has no port
<blogic> network.@device[1]=device
<blogic> network.@device[1].name='wan'
<blogic> network.@device[1].macaddr='62:38:e0:bd:5f:c8'
<jow> it is matched "name" iirc
<jow> unless it has a type, then name is the name of the device to be created and ifname is the basename
<jow> or if it s a bridge, then its list ports
<jow> or something like that
<jow> I lost track of it
<blogic> oh of course totally intuitive
<rmilecki> blogic: that device has "name" set to "wan", so it refers to Linux's "wan" interface
<rmilecki> blogic: AKA switch port called "wan"
<nbd> jow: can you show me the package for which dependency propagation doesn't work?
<rmilecki> blogic: it has no "ports" list as it isn't a bridge
<rmilecki> blogic: you usually don't need bridge for a WAN
<blogic> rmilecki: ifname or netdev would be more intuitive
<blogic> anyhow, dont really care
<blogic> ;)
<rmilecki> blogic: "ifname" was already used in the past for god knows what
<rmilecki> blogic: i don't care enough to rename it to "netdev"
<blogic> yeah, all good I was making totally useless and unqualified comments
<rmilecki> ;)
<nbd> jow: btw. why did we add the - only for packages ending with a digit? wouldn't it be better to add it unconditionally?
<jow> only for packages ending with a digit, to follow debian naming policies
<jow> libfoo + abi version 123 -> libfoo123
<jow> libfoobar2000 + abi version 123 -> libfoobar2000-123
Tapper has joined #openwrt-devel
<nbd> i'll add back the dash later
Dracos-Carazza has quit [Ping timeout: 480 seconds]
<jow> should be just a matter of adding the filter %0 %1 .. %9 thing
<jow> *readding
<nbd> right
<nbd> just need to check if it should be added in just one place or in multiple places
<nbd> i don't remember right now
<jow> it needs to be added to multiple places since some former GetABISuffix calls now use ABIV_* directly
<JohnA_> jow, do you need me to stay online. I will have to switch back to 19.07, or the family will lynch me.
<jow> JohnA_: no its fine, thank you
<JohnA_> i will sitch and cme bak.
<jow> JohnA_: this gives me enough info to reproduce it (if I can finally find my mir3g)
<jow> nbd: intra-package abi-version propagation appears to work now, maybe my tree was unclean
<JohnA_> if you need anthing else, post here or I could give you my "I never want to hear from you again email" and I will selectively forward you to me.
<jow> I was introducing an ABI_VERSION:=... in a preexisting package, maybe metadata was not preoperly refreshed
<jow> JohnA_: I'll post here. My plan is to setup an pppoe-server locally here later and hook a mir3g to it (which uses the same netdev naming convetion) to see if it is a generic issue
<jow> JohnA_: if that works we at least now that your issue is specific to your device. The switch/dsa driver might be something to look into then
<jow> s/now/know/
<jow> "daemon.warn pppd[9409]: Timeout waiting for PADO packets"
<jow> that basically means "nothing received on wan"
<jow> or at least nothing PPPoE related
Dracos-Carazza has joined #openwrt-devel
JohnA_ has quit [Ping timeout: 480 seconds]
rejoicetreat has quit [Ping timeout: 480 seconds]
JohnA has joined #openwrt-devel
<JohnA> jow, could this have anything to do with the device having 2 cpu/eth - setup as vlans 1 & 2? under 19.7 the lan is vlan eth0.1, while the wan is on eth1.2.
<JohnA> jow, if I am talking drivel don't hesitate to say so!
JohnA has left #openwrt-devel [Leaving]
JohnA has joined #openwrt-devel
dorf has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (99.1% images and 95.1% packages reproducible in our current test framework.)
nlowe has joined #openwrt-devel
SamantazFox has quit [Ping timeout: 480 seconds]
SwedeMike has joined #openwrt-devel
rsalvate_ has joined #openwrt-devel
rsalvaterra has quit [Ping timeout: 480 seconds]
_715178329 has joined #openwrt-devel
_715178329 has quit []
pmelange has left #openwrt-devel [#openwrt-devel]
<jow> JohnA: maybe, maybe not. Would be interesting to know if the wan port works at all, e.g. by setting wan to DHCP and connect it to another router. Or by giving it a static IP and trying to ping it from a laptop connected to it or so
<aparcar[m]> jow: can i merge this? https://github.com/openwrt/luci/pull/2637
<aparcar[m]> It's old and seemingly helpful for downstream protects
<aparcar[m]> And simple
<jow> aparcar[m]: yep, fine with mwe
<JohnA> jow, it works with dhcp, quit nicely.
<JohnA> jow, would the dhcp network config help?
<jow> nope
<JohnA> jow, OK. I have been called out! TTYL
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<blocktrron> russell--: see the latest commit in my staging tree
nlowe has joined #openwrt-devel
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dedeckeh has joined #openwrt-devel
nlowe has joined #openwrt-devel
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<russell--> blocktrron: build failure http://paste.debian.net/1199785/
<russell--> added struct ar8xxx_priv *priv = phydev->priv;
<aparcar[m]> goliath: ping
<goliath> aparcar[m], pong
angelsl has quit [Quit: ZNC - https://znc.in]
Tapper has quit [Ping timeout: 480 seconds]
<goliath> is there something in the backlog I'm supposed to be finding?
DLange has joined #openwrt-devel
<aparcar[m]> goliath: I updated to your latest squash release and it stopped packing things
<aparcar[m]> while it used to work before
<aparcar[m]> any recent changes? I'm using both pack-file and pack-dir
<aparcar[m]> if I remove the pack-file, it packs the folder as expected, however we need some special parts like /dev
<goliath> upgrade from 1.0.x to 1.1.x I assume? Is there some log output?
<goliath> One thing that was added in 1.1.0 was the abillity to do globs from the pack file
<goliath> By default, the earlier versions only packed what was explicitly listed, when using the pack-file option
<aparcar[m]> currently the pack file only contains the following two lines
<aparcar[m]> dir /dev 0755 0 0
<aparcar[m]> nod /dev/console 0600 0 0 c 5 1
<goliath> yes, if those are the only lines in the file, it will only pack those, I mentioned this here: https://github.com/openwrt/openwrt/pull/2916#issuecomment-806975770
<goliath> The idea behind the pack-file was to work exactly like gen_init_cpio
Tapper has joined #openwrt-devel
<goliath> With the 1.1.x version it should be possible to add a "glob / * * *" line to recursively pack everything in the underlying pack-dir
<aparcar[m]> goliath: I'll give it a try
Dracos-Carazza has quit [Read error: Connection reset by peer]
<aparcar[m]> expected: <type> <path> <mode> <uid> <gid> [<extra>]
<aparcar[m]> Oh wait sorry rebase issue
<aparcar[m]> The upgrade to 1.1 was lost
Tapper has quit [Remote host closed the connection]
Tapper has joined #openwrt-devel
<aparcar[m]> goliath: side quest, do you see a possibility to give the squashfs labels?
<aparcar[m]> I'm wondering if it's possible to add a post generation label which can be later read by the running system
<goliath> something like a free text field stored in the image?
<aparcar[m]> I think some other filesystems support labels of some kind
<aparcar[m]> no real experience with that, I'm just thinking of how to store the openwrt "build profile" within the image, but since the same squashfs file is used for multiple devices, it has to happen post generation
<goliath> In theory, there are many places in a SquashFS image where additional information could be stored
<goliath> most easily e.g. directly after super block in the data area as long as no inode references it
<aparcar[m]> is there tooling to write this during generation and read this on a running device?
<goliath> The format itself has no direct way to store something like that, in a clean and portable way, but a patch against squahshfs-tools[-ng] could be added and a small custom tool could be written that locates the data again.
<goliath> If the SquashFS format itself should ever be extended, a "comment" field would a good idea (in addition to e.g. ACL support).
<aparcar[m]> ok I hoped for something existing...
<aparcar[m]> I'll check on ext4, in case it supports labels and you have the time maybe we can look into it
<aparcar[m]> goliath: works!
<aparcar[m]> I'll upate the PR, thanks for working on this!
angelsl has joined #openwrt-devel
<aparcar[m]> zorun: ping, I'm still confused with the JSON patch you mentioned some time ago
<zorun> aparcar[m]: pong, sorry, I'm swamped with work this week, not much I can do on the openwrt side
<zorun> aparcar[m]: I'm also still confused because I don't understand which difference between master and 21.02 explains the difference
<zorun> (that is, that the json generation works on master but generates incorrect data in 21.02)
<aparcar[m]> what values are wrong?
<aparcar[m]> to me it looks like IMG_PREFIX is partly wrong but that variable is already is the defaults
<zorun> device_packages and image_prefix
<aparcar[m]> yea IMG_PREFIX is already in the list, so that's not the actual fix sadly :(
<zorun> aparcar[m]: it's there only on master, not on 21.02
<russell--> blocktrron: good news and bad news
<aparcar[m]> zorun: ohh so b6c366efa89 is missing in 21.02?
<zorun> what bugged me is that DEVICE_PACKAGES is missing from master but it still works there
<blocktrron> russell--: -v
<russell--> good news, interface shows up at 1000Mbps. bad news, no dhcp
<russell--> tcpdump seems to be showing outgoing, but not incoming (but not sure)
<blocktrron> Forcing the link to 100 Mbit/s fixes this?
rejoicetreat has joined #openwrt-devel
<aparcar[m]> zorun: I assue that it's a bit of a random issue, depending what file is merged first and if the files have an initramfs or not
<aparcar[m]> so I'd suggest to add the DEVICE_PACKAGES and backport the patch from dango
<russell--> how do i force the link to 100Mbps?
<russell--> i seem to see some incoming traffic, multicast mostly
<russell--> 11:10:42.580807 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 10:6f:3f:88:f3:9e, length 300
<zorun> aparcar[m]: it requires another patch from adrian iirc
<russell--> no replies to DHCP requests
<zorun> which renames many variables
<aparcar[m]> zorun: so we can do a minimal patch only including those two vars
<blocktrron> either on the other side or alternatively by installing ethtool
<russell--> one sec
<zorun> aparcar[m]: yup that's better I think, thanks
<aparcar[m]> zorun: I'll work on that real quick
<russell--> blocktrron: yes, plugged into a 100Mbps peer, i get DHCP can pass other traffic
<russell--> fwiw, i have /dev/mem turned on and io installed, so reading registers is also possible
<aparcar[m]> zorun: you got mail
<aparcar[m]> zorun: ugh awkward typo, ideally fix that before merging
Tapper has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
<aparcar[m]> zorun: I sent a v2
Tapper has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
<blocktrron> russell--: do you have dmesg?
<blocktrron> I've fucked up the first try and forgot to remove features altogether
<russell--> blocktrron: standby for dmesg
<blocktrron> russell--: Atheros AR8216/AR8236/AR8316: features and get_features must not both be set
<blocktrron> Call me a derp
<russell--> i maybe should have noticed that stack trace in there too, lol
Borromini has joined #openwrt-devel
<blocktrron> russell--: I've updated the patch in my staging tree
<blocktrron> I assume dropping this altogether and using the generic phy capability detection would also work
<russell--> okay, trying ...
Tapper has quit [Ping timeout: 480 seconds]
<blocktrron> But i can't test all ICs, so this should hopefully do it
SamantazFox has joined #openwrt-devel
<russell--> building ...
<nick[m]4> anyone with experience in the githubworkflow CI?
<nick[m]4> for whatever reason the package name has a "/" at the end
<nick[m]4> so the CI is thinking it
<russell--> hmm. still no normal traffic on eth1 in 1000Mbps mode
<russell--> blocktrron: ^^^
<blocktrron> russell--: dmesg?
<zorun> aparcar[m]: applied, thanks a lot!
Tapper has joined #openwrt-devel
<zorun> so you're right, it seems kind of random
<zorun> tomorrow's 21.02 snapshots should be fine I hope
<blocktrron> russell--: i forgot to remove the features again
Grommish_ has joined #openwrt-devel
SamantazFox has quit [Ping timeout: 480 seconds]
<blocktrron> russell--: one more try
<blocktrron> updated my staging tree
<JohnA> jow, sorry to bug you. any news?
<russell--> blocktrron: fetching ...
Grommish__ has joined #openwrt-devel
<russell--> building...
Tapper has quit [Ping timeout: 480 seconds]
Grommish__ has quit []
Grommish has quit [Ping timeout: 480 seconds]
<aparcar[m]> zorun thanks
Grommish_ has quit [Ping timeout: 480 seconds]
<russell--> flashing...
<russell--> no stack trace this time, so that's good
dedeckeh has quit [Remote host closed the connection]
<russell--> and it's working
<blocktrron> yay
<russell--> indeed, thanks!
* russell-- is going to try it on a wdr3600 also
Tapper has joined #openwrt-devel
<russell--> blocktrron: no obvious regressions on wdr3600 which also has an Atheros AR8216/AR8236/AR8316
<russell--> (switch0: Atheros AR8327 rev. 2 switch registered on mdio.0)
<blocktrron> russell--: pushed to master
<blocktrron> ping me in case i forget to pick it to 21.02
KGB-2 has quit [Quit: KGB-2]
KGB-2 has joined #openwrt-devel
<nick[m]4> "The source directory contains no quilt patches." is a ci errror?
Grommish has joined #openwrt-devel
Borromini has quit [Quit: leaving]
rejoicetreat has quit [Remote host closed the connection]
rejoicetreat has joined #openwrt-devel
<nick[m]4> lol there was a .gitignore in the patches directoy
<nick[m]4> forget it. ^^
nlowe has joined #openwrt-devel
rejoicetreat has quit [Remote host closed the connection]
rejoicetreat has joined #openwrt-devel
Tapper has quit [Quit: Instantbird 1.5 -- http://www.instantbird.com]
rejoicetreat has quit [Remote host closed the connection]
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nlowe has joined #openwrt-devel
nlowe has quit []
<owrt-2102-builds> Build [#59](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/28/builds/59) of `at91/sama5` failed.
rejoicetreat has joined #openwrt-devel
rmilecki has quit [Ping timeout: 480 seconds]
nlowe has joined #openwrt-devel
russell-- is now known as russell_
russell_ is now known as russell--
rejoicetreat has quit [Remote host closed the connection]
rejoicetreat has joined #openwrt-devel
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nlowe has joined #openwrt-devel
jlsalvador has quit [Quit: jlsalvador]
jlsalvador has joined #openwrt-devel
dorf_ has joined #openwrt-devel
rejoicetreat has quit [Ping timeout: 480 seconds]
dorf has quit [Remote host closed the connection]
jlsalvador has quit [Quit: jlsalvador]
jlsalvador has joined #openwrt-devel
jlsalvador has quit []
jlsalvador has joined #openwrt-devel
nlowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nlowe has joined #openwrt-devel