Tapper has quit [Ping timeout: 480 seconds]
danitool has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
isak has quit [Remote host closed the connection]
minimal has quit [Quit: Leaving]
drikus_ has quit [Ping timeout: 480 seconds]
drikus has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
<Mangix> hmmm
<Mangix> what is this safeloader-partitions
rua1 has quit [Quit: Leaving.]
isak has joined #openwrt-devel
cbeznea has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
valku has quit [Quit: valku]
dangole has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest2076
floof58 has joined #openwrt-devel
Guest2076 has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PaulFertser has quit [Read error: Connection reset by peer]
PaulFertser has joined #openwrt-devel
Tapper has joined #openwrt-devel
PaulFertser has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
PaulFertser has joined #openwrt-devel
cbeznea has joined #openwrt-devel
bluew has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
robimarko has joined #openwrt-devel
Borromini has joined #openwrt-devel
<robimarko> What is the situation with targets moving to 5.15?
srslypascal is now known as Guest2105
srslypascal has joined #openwrt-devel
<robimarko> Especially now that 6.1 is actual
Guest2105 has quit [Ping timeout: 480 seconds]
<\x> any platforms that have 6.1 as testing?
<robimarko> None as generic 6.1 is just a PR for now
<robimarko> But I am asking as so far we did not have a case with 3 kernel versions
<\x> ah
<\x> 807x prepped for 6.1?
<\x> oooooooooooooo it is
<robimarko> Havent really made a 6.1 build as I constantly rolling on next
<robimarko> But its not hard as a lot of stuff made it into 6.1
srslypascal has quit [Ping timeout: 480 seconds]
<Borromini> :)
* Borromini still thinks mvebu should be migrated to 5.15 and the all kmods thing fixed
<robimarko> mvebu has to be migrated to 5.15 by default
<robimarko> I forgot that got reverted
<Borromini> yes, I understand it's broken but bmork provided a quick fix... that seemed less pain to me than keeping it on 5.10 with the WRT AC series switch bug
<robimarko> Seems like a reasonable fix has a PR: https://github.com/openwrt/openwrt/pull/11486
<Borromini> :)
<Borromini> not just mvebu that's affected apparently.
csrf has quit [Ping timeout: 480 seconds]
<Borromini> I believe mt7621 is close to migrating too but other ramips targets might be more problematic
PaulFertser has quit [Ping timeout: 480 seconds]
<stintel> same story as before. 23.* release will be 5.15 LTS, until branch no bump to 6.1 in master
<robimarko> Then its time to get all of the stragglers to 5.15
<stintel> yes
<\x> tfw maybe it will be 5.10 and 6.1
<stintel> robimarko: I wanted to do qoriq a few times but have this crash - I now found what causes it, will try repro on 5.10, if it crashes there too I'll bump, it's the only problem it has
<\x> oh, that hostad mbedtls finally a thing now?
<\x> based
<stintel> https://github.com/openwrt/openwrt/issues/10672 is tracking 5.15 status
<\x> any chance to get wpa3 on 4/32?
<Znevna> lol
<Borromini> \x: I was able to on 21.02, last
<Borromini> including SSL certificates though, so with some tinkering 22.03 might be possible, who knows.
<\x> b-b-b-but mbedtls only 240 then you can remove dropbear and have 4/32 users access shell via uart
<\x> ahaha
<Borromini> yeah i'm hoping mbedtls can be a viable alternative for shitty wolfssl
<robimarko> I would like to point out that mbedtls patchset has not been merged into hostapd
<robimarko> I would hate it to get burned by that
<stintel> I could look into octeon too
<stintel> even though I gave away my ERL :P
<Borromini> :D
<Borromini> i have my ERL still
<stintel> Habbie: are you running master w/ testing kernel on the ERL by chance?
<Borromini> but other stuff to bother with :(
robimarko has quit [Remote host closed the connection]
PaulFertser has joined #openwrt-devel
robimarko has joined #openwrt-devel
<Habbie> stintel, not sure, but one of them is not in production, so i can test things if you like
<Habbie> stintel, in fact i'm quite sure i'm not running master+testing right now :)
<stintel> mind giving that a go ?
<Habbie> sure
<Habbie> CONFIG_EXPERIMENTAL=y?
<stintel> not sure that's even needed? CONFIG_TESTING_KERNEL IIR
<stintel> iirc*
<Habbie> i see it
<Habbie> feel free to remind me in a few days
<stintel> [1634655.833748] Call Trace:
<stintel> [1634655.836368] [<ffffffff81928364>] __mutex_lock+0x5c/0x288
<stintel> right
<Habbie> should i wait? :)
<stintel> I was toying with snic last time
<stintel> no no
<Habbie> ok :D
<stintel> I made an attempt at a GPIO driver for the GPIO controller on the PHY of the SNIC10e
<stintel> that should have been "a failed attempt"
<stintel> ;)
<Habbie> :D
aleksander has joined #openwrt-devel
srslypascal has joined #openwrt-devel
<robimarko> hauke, nbd: Finally made a PR for ath11k PCI support
<robimarko> Wanted to make that a start for ipq807x
<\x> next pr be 807x with 5.15 or 6.1?
<robimarko> 5.15
<\x> with no testing or 6.1 as testing?
<robimarko> No testing
<robimarko> There is no 6.1 in OpenWrt
<\x> :thumbsup:
<nbd> robimarko: will take a look, thx
<nbd> robimarko: btw. please use @!LINUX_5_10 instead of @LINUX_5_15
<robimarko> nbd: Yeah, good idea
<robimarko> I found a bunch of those while helping Ansuel with 6.1
<stintel> we should probably set some deadline for targets to be on 5.15
<robimarko> I guess that would depend on the timeline for 23.x
<nbd> robimarko: also, for the mhi/qrtr removal, please drop the removed files from the patch and remove them via commands in Build/Prepare
<nbd> otherwise the patch gets annoying on every update
<nbd> robimarko: other than that, the PR looks good to me
<nbd> actually, one more thing
<nbd> i think the ethernet encap/decap offload is a bad default as long as it breaks WDS
<nbd> better to tell users to enable it only if they know that they're not going to use WDS
<nbd> otherwise i expect a number of annoying bogus bug reports
<nbd> maybe even patch the driver to complain loudly if WDS is enabled when encap/decap offload is enabled
<robimarko> Yeah, that is why I kept that commit separate
<robimarko> I was thinking of maybe adding a config option for that in menuconfig
<nbd> please don't. people can use /etc/modules.conf for it
<nbd> it would also be a good idea to keep reporting the WDS breakage with encap offload upstream
<stintel> linux-firmware change should probably go before mac80211: add ath11k PCI support ?
<robimarko> Ok, I will just drop it for now
<Borromini> is this WDS breakage general across all drivers?
<robimarko> stintel: FW doesnt really matter
<stintel> robimarko: is it not needed?
<nbd> Borromini: it's just ath11k being crappy
<robimarko> It is
<\x> Borromini: happens with ahb too
<robimarko> but nothing is pulling it by default
<stintel> still, adding a driver before adding firmware that needs it seems backwards
<robimarko> Ok, its easy to change
<stintel> that it needs*
<nbd> Borromini: mac80211 handles wds with encap/decap offload just fine, and it works with mt76
<stintel> it's not going to break bisecting, but I'd add the firmware first, so that as soon as the ath1k pci support commit is in, it is actually usable from that commit
<robimarko> Yeah, i will flip the ordering
<stintel> thanks
<stintel> now I should *really* have another go at the bsap3040 :P
<stintel> I have some ath11k cards collecting dust and the bsap3040 is the only device that can take them (if I figure out the extra power requirement)
<robimarko> Depends on the cards you get
<robimarko> QCA6390 is light
<stintel> it's those 8devices with external power header
<robimarko> Yeah, forget those
<robimarko> Those are monsters
<Borromini> nbd: \x: ok thanks
<robimarko> BTW, did they fuse the board-id in yours
<stintel> robimarko: asking me?
<robimarko> Yeah
<stintel> haven't been able to check
<robimarko> You will want to
<robimarko> So you can have it replaced if its one of the early ones
<stintel> because a/ haven't been able to boot OpenWrt on the bsap3040 yet and b/ no idea how to check that
<robimarko> Driver will tell you during boot
<robimarko> If its 0xff
<stintel> aight, thanks
<robimarko> Then you know they did not fuse it
<stintel> I ordered those a long time ago, probably should have just cancelled that order
<stintel> but on the day I wanted to do that they sent me a shipping notification
<robimarko> Hehe
<robimarko> Compex now have miniPCI-e ones
<robimarko> That only need 3.3V
<robimarko> Obviously TX power is reduced
<stintel> maybe I could have another look at the AP7060DN
<stintel> that's not 6G but still 8x8 5GHz ax seems like a fun toy
PaulFertser has quit [Read error: Connection reset by peer]
PaulFertser has joined #openwrt-devel
<robimarko> Is that the fancy IPQ8074 one with SFP?
<stintel> no SFP but 10GbE PoE++ uplink
<robimarko> Even better
<stintel> the u-boot is completely crippled though
<stintel> so the first step would be to figure out how to build u-boot, then clamp-flash it
<stintel> on the SPI NOR
<robimarko> Thats easy if its close enough to one of the reference designs
<stintel> robimarko: what's the best way to figure that out?
<robimarko> By looking at what the stock FW firmware uses
<robimarko> If you have acess to bootlog its easy
<stintel> I do
<robimarko> Just check the model
<robimarko> But that does not guarantee that they did not modify the board too much
<robimarko> nbd: requested changes done
srslypascal has quit [Quit: Leaving]
<robimarko> Ok, so massacred the bootlog
<stintel> massacred everything ;)
<robimarko> WTF, they are using kernel 4.1
<robimarko> AFAIK, QCA newer ever used that
<\x> you can maybe just put the driver in, without any boarfile, it will show what it wants iirc
<stintel> this device is _old_
<robimarko> stintel: doesnt matter
<stintel> I haven't even booted it in more than a year probably
<robimarko> They always used 4.4.60
<robimarko> Only recently went to 5.4
<stintel> they managed to get 5.4 stable? :)
<robimarko> If they did not fake the machid
<nbd> robimarko: LGTM
<robimarko> Then its HK02 reference
<robimarko> stintel: Yeah, they have been working on it for a while
<robimarko> SPF/QSDK 12.0 is now using 5.4
<robimarko> nbd: thanks
dangole has joined #openwrt-devel
<stintel> I'm currently building qoriq with 5.10 kernel to see if I can repro the xfrm issue there
<\x> I remember it will show some sort of failure
<\x> so you can grab the boardnumber it wants
<robimarko> \x: Not really
<\x> when its successful its like
<\x> [ 9.280620] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
<\x> so this one wanted 0xff
<robimarko> Thats for ath11k
<robimarko> We were talking about the refence board
<\x> oh
<\x> sorry
<robimarko> BTW, 0xff just means that nothing was fused
<stintel> so is there a tree that builds u-boot with 8074 support ?
<robimarko> Not reallyy
<robimarko> However, you need older U-boot
<robimarko> I have a docker container for building this
<stintel> public container or mind sharing the Dockerfile?
<hgl_> tohojo: let's discuss here if you're there?
<robimarko> I just manually made one
<robimarko> So I dont have a dockerfile
<stintel> k
<robimarko> Just used the standard 16.04 ubuntu with a volume with the u-boot directory
<stintel> got it
<hgl_> about if we should expose /var/run/acme/challenge or $run_dir/challenge
<robimarko> I can build an image
<robimarko> If you want
<stintel> no need, I'm fluent in docker/podman
<robimarko> Thats not the hard part
<tohojo> hgl_: sure, I'm here
<stintel> ah you meant u-boot image
<robimarko> Yeah
<stintel> I thought you meant container image ;p
<hgl_> cool, which one do you think is better, absolute value or a variable?
<stintel> well if you have everything set up for it and know the landmines, sure
<robimarko> stintel: Recently had to build images so I have everything ready
<robimarko> Can you just interrupt u-boot and run version
<robimarko> I think they are still running 32 bit U-boot images
<stintel> give me 5-10 minutes
<tohojo> hgl_: my thought is that since everything else comes from exported variables, it seems odd that this particular value should be hard-coded?
<stintel> need to reassemble :P
<tohojo> hgl_: also makes it harder to change in the future, say if we need to move from /var/run to /run or something
<hgl_> tohojo: i see your point. i think the difference is that the values we export are all user options, were the challenge dir value isn't
<hgl_> tohojo: actually, i forgot that think value is actually a standardized value should be hard coded, because httpds need to specify this value in their conf to serve acme challenges
<hgl_> *this value
<hgl_> so we can't really make it into a variable
schwicht has joined #openwrt-devel
<tohojo> yuck
<hgl_> yeah, we have to standardize it like we did with /etc/ssl/acme
<tohojo> doesn't have to mean it can't be a variable in the code, though...
<hgl_> tohojo: do you think we should use a better path?
<stintel> gahhh I really need to order me 10 USB to RJ45 console adapters
aleksander has quit [Quit: Leaving]
<hgl_> tohojo: if it's a standardized value, I'm not sure giving acme-clients an extra value to depend on for the same value is that useful.
<tohojo> hgl_: having hardcoded paths scattered everywhere is a terrible practice regardless of the stability of those paths 🙂
<hgl_> tohojo: well, they serve different purposes, kinda unavoidable 😂
<stintel> o-oh
<stintel> no output
<tohojo> hgl_: no it isn't, just export it and use $run_dir ? 🙂
<stintel> ah, default baud rate
<hgl_> tohojo: so that means, acme-client hooks should use $run_dir, but httpds should use /var/lib/acme/challenge?
<stintel> robimarko: Password for uboot cmd line :
<stintel> sigh
<stintel> aha
<tohojo> hgl_: yup - human-facing configuration uses the path, code uses the variable...
<stintel> robimarko: probably not helpful? https://gist.github.com/stintel/786af28d5c1e07382cddc2c366d06f8b
<hgl_> tohojo: in that case how about an explicit variable for the challenge dir?
<robimarko> stintel: Are they really serious
<hgl_> there really isn't anything that gets used in the $run_dir
<stintel> robimarko: ;)
<tohojo> hgl_: sure, can do that too
<robimarko> stintel: Other boards are still on 32 bit U-boot images
<robimarko> So lets go with that
<stintel> alright so the xfrm crash seems to be very reproducible on 5.15
<stintel> time to flash 5.10
<stintel> robimarko: you're the expert, I trust you ;)
<hgl_> tohojo: PR updated
<robimarko> stintel: https://we.tl/t-KsFsBU3n4J
<robimarko> Thats the image with full defconfig
<robimarko> Make sure to have a full NOR backup
<stintel> this I have already
<stintel> time to remember how to use clamps :P
GNUmoon2 has quit [Remote host closed the connection]
<robimarko> Make sure to only replace the bootloader in the dump
GNUmoon2 has joined #openwrt-devel
<robimarko> Or maybe Huawei left the sf command working?
<stintel> Unknown command 'sf' - try 'help'
<robimarko> So they wanted to make sure nobody messes with it
<hgl_> tohojo: actually, this variable feels kinda weird. many paths don't come from the exported values, /etc/ssl/acme, /usr/lib/acme/hook.sh, etc
winternull has joined #openwrt-devel
<hgl_> tohojo: only user options are exported, $challenge_dir seems to be the only one that saves typing out standardarized path it seems.
<stintel> ok so 5.10 doesn't have the xfrm crash
<stintel> should be easy enough to find
<robimarko> Is it at least crashing with the same trace?
<hgl_> tohojo: /usr/lib/acme/function.sh is another one
<tohojo> hgl_: yeah, we should probably clean up all those as well 🙂
<hgl_> tohojo: IMHO, they're pretty clean, the paths should make it clear what they are for.
<hgl_> tohojo: do you propose we provide a variable like $acme_functions? so acme-clients can do . $acme_functions
<tohojo> hgl_: was mostly thinking about /etc/ssl/acme
<hgl_> tohojo: hmm, i presume you don't find that location appropriate?
<tohojo> no, the location is fine, just the repeated hard-coded paths that bother me...
<hgl_> what do you mean by repeated?
<hgl_> you mean so many hard-coded paths?
<tohojo> and another handful at the end of the file
<hgl_> well, that could be optimized by define a variable in the acme-client itself. I'm asking if you think we defined too many standard paths?
<hgl_> and to be honest, you don't see people complaining repeating nine times of /usr/lib/python something, once they get used to the paths :)
<stintel> fatal: bad revision 'v5.10.158..v5.15.80'
<stintel> what am I doing wrong again
<stintel> ah, git fetch linux-stable
<hgl_> tohojo: If you don't object, I'm going to remove the $challenge_dir variable, since it doesn't really fit in with the rest variable we export...
<tohojo> hgl_: in terms of consumers I think we only define two integration points, right? /etc/ssl/acme and /var/lib/acme/challenge ? so export those as $cert_dir and $challenge_dir ?
<hgl_> tohojo: we also define /usr/lib/acme/hook and /usr/lib/acme/functions.sh integration points, oh and /usr/lib/acme/notify
<tohojo> hgl_: not for consumers of the certificates - those are only used for people two implement a backend
<tohojo> i.e., everything that's not part of an acme-* package
<hgl_> tohojo: i see. how they going to use $cert_dir and $challgen_dir if, for example, they need to use it in a nginx conf?
<tohojo> in configuration files would still need to enter them manually, obviously...
<hgl_> i don't understand, so what's the use for exporting them?
<tohojo> for hook scripts
<hgl_> isn't hook script only for acme-* packages?
<tohojo> sorry, hotplug scripts
Kiste has left #openwrt-devel [#openwrt-devel]
<tohojo> although we only really have one, for haproxy
<tohojo> and what it's doing really should be in a service hotplug script (writing into certs_dir)
<hgl_> tohojo: i'm not sure using hard-coded value in configs, but variabels in hotplug scripts in the same package is a good practice to encourge to be honest.
<tohojo> hgl_: the difference is that hotplug scripts is something that ships with the package and users are not expected to modify them
<tohojo> whereas daemon config is something we expect users to input manually
<hgl_> tohojo: the point of using variables, IMHO, is to signal that they shouldn't care about the real value, because it can change, but we have standardarized the value, if we change them we break httpd config files, do I really see a value of providing variables here. but maybe I missed your side of views? Why do you favor variables in this case?
<hgl_> *so I don't really
<tohojo> hgl_: every value used in a piece of code should be set exactly once in that codebase; if it's being used in multiple places that implies a variable
<tohojo> otherwise you get bugs because values diverge
<tohojo> your update to the PR already fixed one such bug, in fact...
<hgl_> tohojo: I respectfully disagree. FHS paths are really defined in variables. If consumers want to save some typing, they could define the variable themselves.
<hgl_> *aren't
<tohojo> hgl_: it's not about saving typing, it's about exporting a consistent interface. anyway, I don't really want to spend more time on endless bikeshedding of this issue; I'll just merge your PR as-is and fix up the rest myself...
shibboleth has joined #openwrt-devel
<stintel> [ 9.909675] F2FS-fs (loop0): inconsistent node block, nid:3, node_footer[nid:97,ino:97,ofs:0,cpver:2154653671038480467,blkaddr:5649]
<stintel> [ 9.921659] F2FS-fs (loop0): Failed to read root inode
<stintel> FFS
<stintel> karlp: ^
<stintel> now hitting this on qoriq
<stintel> so yeah, definitely something hosed in f2fs
<hgl_> tohojo: there is already a consistent interface, it's the path we define. You're of couse free to modify the package since you're the maintainer, but since I also contributed some siginificent code, I'd appreciate if you don't try to big-foot. I'm not fan of bike shedding too, and I appreciate the time you took to review code. But we are talkign about designing a base package
<hgl_> for other packages to depend on. What we choose to expose can have a big impact here.
<tohojo> hgl_: not really? the main contract remains the same: packages depend on /etc/ssl/acme and /var/run/acme/challenge - exporting those just makes that explicit
<Borromini> stintel: do you have VLANs set up on your GS108T v3?
<Borromini> my GS1900-10HP is fine but my GS108t v3 isn't cooperating
<hgl_> tohojo: I think I see your point. So it's really in hotplug scripts that we should make the paths more explicit? Then the $challenge_dir in my PR really didn't do that, and in hotplug scripts maybe the variables should be in upper case? The lower case convention we took were really for user options.
<tohojo> hgl_: yeah, I'm OK with upper-casing them 🙂
<hgl_> tohojo: so CERT_DIR and CHALLENGE_DIR?
<hgl_> tohojo: do you want to write the fix or I should send the PR?
<tohojo> hgl_: yeah; I'll push a PR in a sec
<hgl_> cool
<tohojo> hgl_: I also think we should move the combined certificate thing out of the haproxy hotplug script... a combined bundle seems like something the framework should provide?
<tohojo> also not great that it's writing into CERT_DIR
<Borromini> stintel: nevermind, PEBKAC.
<hgl_> my rationale was to stick with what certbot provides, but I'm not against doing it in the base package since haproxy is popular. I just hope that doesn't mean we have to support other kinds of combined certificate for other new httpds.
<Borromini> :facepalm:
<stintel> Borromini: :D
<tohojo> hgl_: what other kinds of combined certificates are there? 🙂
<hgl_> we will only know when the PRs come in :)
<stintel> dd: invalid argument 'sync' to 'oflag'
<stintel> ugh busybox
minimal has joined #openwrt-devel
<Borromini> :P
<tohojo> hgl_: well the 'cat' bundle is pretty common; if there are other bespoke things, hotplug scripts can create them, but store them somewhere private to that daemon
<stintel> this f2fs bug is seriously annoying though
<stintel> [ 9.897490] mount_root: overlay filesystem in /dev/loop0 has not been formatted yet
<hgl_> tohojo: sure. I'll leave that to you as well?
<stintel> I added f2fsck to the image and that made it big enough to overwrite the start of the previous overlay
<stintel> but now I don't have a repro anymore
<stintel> sigh
<tohojo> hgl_: yup
<tohojo> hgl_: and sorry for being terse, didn't mean to just override you; I do really appreciate all the work you've done on refactoring the acme scripts! 🙂
valku has joined #openwrt-devel
<stintel> yep. f2fs is definitely very broken
<stintel> flash my 2nd m300, dead
<jow> let's drop it then?
<jow> we have far too many variations anyway
<stintel> well it's been working quite well for long enough
<stintel> but some bug crept in a recent kernel
<stintel> and it seems to hit very often
<stintel> I guess the mass users of this aren't on 5.15 kernel yet
<jow> yeah, but it's a niche usecase within a niche usecase
<jow> ... within a niche usecase
<shibboleth> stintel, we last spoke a few months back re wpa8630 sysupgrade
<shibboleth> seems something is broken, there's just no way this device will retain config. free space=98%
<stintel> jow: what bothers me more is that procd tears down the loopback device and it's impossible to even fsck
<stintel> shibboleth: probably we should increase the thresholds that decides jffs2 vs f2fs overlay
<jow> stintel: then let's change procd?
<stintel> jow: I will look into it
<shibboleth> dunno about that, but the status quo has been a shit-show ever since this device was moved to "tiny". also, "jwmulwalleysomething" is not on irc
<jow> still, having to support two overlay fs choices which are seemingly randomly (I know,, based on size threshold) chosen is just a recipe for future issues
<stintel> jow: just didn't have a repro ... and now it's on my main router - needs to be fixed
<jow> it duplicates the likelyhood of bugs and halves the attention/avaialöble manpower for fixes
<stintel> but I'll spin up a VM and see if I can repro there
<jow> coupled with the additional complexitly of the offsetted-loopback setup etc. it quickly becomes an unmaintable mess
<stintel> so we should drop f2fs and go back to jff2s and block2mtd ?
<stintel> not sure I'm really in favor
<jow> would be the most straightforward course of action ihmo
<jow> or always use f2fs and fix it for good
<jow> I like arch linux' intro to f2fs
<jow> "F2FS has a weak fsck that can lead to data loss in case of a sudden power loss" "If power losses are frequent, consider an alternative file system."
<jow> sounds like a prime choice for embedded targets not even featuring a proper shutdown :)
<jow> possible that the above info is outdated though
<stintel> f2fs doesn't work on really small so we can't always use it
Borromin1 has joined #openwrt-devel
* stintel labels today as another yak shaving day
<jow> but isn't data loss a higher risk on larger storages? on small ones you wouldn't store valuable data to begin with
<stintel> data loss is always a risk, if it's valuable data you should have backups
<jow> anyhow, I understand that this wasn't your choice, it just broke on you
<stintel> can't really speak for the data loss on power loss - I have a big UPS here
<stintel> but it's been working quite well
<stintel> and right now this happens just on sysupgrade
<stintel> so it's just a bug that needs tracking down
<stintel> and procd handling improved
<stintel> I'll have a go at the latter
<stintel> and maybe report it on some mailinglist
<stintel> shibboleth: what's the size of your overlay ?
Borromini has quit [Ping timeout: 480 seconds]
<shibboleth> stintel, sure, but "oh snap, RCE in wpad, gotta flash" -> "fiddlesticks, reverted to default config" = "bad times all around"
<shibboleth> lemme check
<stintel> :P
<shibboleth> /dev/mtdblock5 824 88 736 11% /overlay
<stintel> ok so I found the commit that causes the xfrm crash
<shibboleth> Filesystem 1K-blocks Used Available Use% Mounted on
<shibboleth> dunno if these figures are sufficient?
<stintel> I'll look at it later, want to fix this xfrm bug first so I can bump qoriq to 5.15
<shibboleth> k
<mrkiko> stintel: yeah, and before that you might look at the f2fs changes from 5.15 to 6.1. Not a straightforward process maybe, but may save you some time later
<Slimey> interesting adtran is saying its something in our environment at all three campuses thats causing these waps to die with more details coming soon
<stintel> mrkiko: pretty sure this is something that was introduced in an LTS bump so it should be fixed there
<Slimey> stintel nice i can test that out, 5.15 bump
<stintel> Slimey: been running that for months, only problem is the xfrm crash when my phone is connected to strongswan via WAN then I come home and it connects to wifi (lan)
<stintel> *poof*
<stintel> this introduced the crash
<Slimey> on the bsap3040
<stintel> on m300
<stintel> never managed to boot OpenWrt on bsap3040
<Slimey> right, still trying to figure out why network never inits on the 3040
shibboleth has quit [Quit: shibboleth]
<Slimey> i can use a rlt usb to eth fine
<Slimey> im guessing something dts related
<stintel> do you have the same problem like m200? rx works but tx doesn't? or was it the other way around, don't recall
<Slimey> nothing at all
<Slimey> link gets detected thats it
<stintel> ah that might be wrong phy <-> mac
<Slimey> unlike previous bsap models these have the mac burned into the phy so maybe
<stintel> hmmm
<Slimey> the correct mac that is
<Slimey> others pulled from a saneo mtd part
<stintel> you're talking about mac address?
<Slimey> ya i could try swapping them eth0 and 1
<stintel> that's not going to cause this problem, I'm not talking about that mac
<Slimey> oh then i dunno what you mean ;)
<stintel> shuffle those around
<Slimey> ok thats what i was thinking just long way to explain it lol
<stintel> same, that's why I dug up the link :P
schwicht has quit [Quit: Textual IRC Client: www.textualapp.com]
<stintel> surely we can test -f earlier :P
<stintel> hmmm, we actually do something similar
<stintel> hmm no
<stintel> readline -f /tmp/foo returns /tmp/foo even if /tmp/foo doesn't exist
<stintel> readlink*
<stintel> $ readlink -f /tmp/sejkfiosdfhfiow
<stintel> /tmp/sejkfiosdfhfiow
<stintel> aaand busybox readlink doesn't support -e
DeadEnd has joined #openwrt-devel
<DeadEnd> Question... I'm working on the DTS file for a new device... it has spi0.0 and spi0.1. Do these need to be separated in the DTS file as well?
<DeadEnd> I assumed yes... and have been looking through DTS files to find an example to mimic.
borek has joined #openwrt-devel
danitool has quit [Remote host closed the connection]
gladiac has joined #openwrt-devel
borek has quit [Remote host closed the connection]
gromero has quit [Quit: Leaving]
Gaspare has joined #openwrt-devel
<stintel> ok the xfrm bug is fixed in 5.15.82, good, I can bump qoriq to 5.15 :)
srslypascal has joined #openwrt-devel
schwicht has joined #openwrt-devel
tlj_ has quit [Remote host closed the connection]
tlj_ has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
cc0 has quit [Remote host closed the connection]
Gaspare has quit [Read error: Connection reset by peer]
<robimarko> What was the culprit?
<stintel> lolwut, this references a strongswan bug which claims to run OpenWrt 21.0.2 with kernel 5.15.32
Gaspare has joined #openwrt-devel
<robimarko> That looked "fun" to figure out
<robimarko> Ask the reporter which Chinese flavor is he running
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<stintel> > There is no such thing. OpenWrt 21.02 only supports kernel 5.4. Please ask whoever supplied you with this OS to stop using the OpenWrt name.
<stintel> not too harsh?
<robimarko> Too light for my approach
<robimarko> I am sick of the various china forks
<robimarko> Conviently they also like to change the authors of stuff they pick
<stintel> seriously?
<robimarko> Yeah
<f00b4r0> yeah they do that. I've seen it too
<robimarko> The "coolsnowwolf LEDE" had stolen most of the ipq807x target
<f00b4r0> can't tell for sure whether it's malice or sheer incompetence. The latter requiring less smarts of course, so more common ;P
<robimarko> I am trying to believe its just incompetence
<f00b4r0> same
<robimarko> I am having people open issues against my repo but they are running QSDK or more common one of the China QSDK/OpenWrt monstruosities
<stintel> I guess incompetence could be .. squash a whole bunch of commits, lose the history, and original authors
<robimarko> I wish they squashed
<stintel> this squashing seems to be common practice in a whole lot of oss projects
<f00b4r0> stintel: it looks for the most part as if they never heard of "git am"
<f00b4r0> or a proper git pull+merge from foreign repo
<robimarko> They just dont care
<f00b4r0> *nod*
<robimarko> My issue is that they just take, and take, and take
<robimarko> But never contribute back
<robimarko> However they like to make requests for support or that they are missing something
<stintel> :)
<stintel> I closed some issue like that recently
<robimarko> I have to say closing issues like that gives me some satisfaction
<stintel> I fixed that and that commit is in 22.03, it was broken again later but with the 5.15 bump
<Znevna> the dir structure that guy has
<stintel> :P
<stintel> let's see if output of scripts/getver.sh shows that this is also a fork :P
<Znevna> what would be the proper way to submit a PR that's made of stuff from a few other still open PRs and stuff from comments in those PRs?
<stintel> robimarko: feel like closing this one? https://github.com/openwrt/openwrt/issues/11384
<stintel> as long as it's not in openwrt that tracker is not the place for it, but in this case, I would probably just refer him to here or the forum?
<robimarko> stintel: Oh another one of those
<robimarko> I will just point him to the forum thread
<stintel> excellent
<robimarko> Now you can close it
<stintel> ah you don't have privs to do so?
<robimarko> Nope
<stintel> gotcha
<stintel> ah right, this is not /packages and voting ... :(
schwicht has joined #openwrt-devel
<stintel> I would not be super amused being referred to that godzilla forum thread though :D
<robimarko> Well, thats kind of best place for a support
<robimarko> And the reason is ath11k
<robimarko> It takes long time to timeout flushing the packets
<stintel> yeah, I'm just not a fan of forums, gets out of hand really easily, lots of noise, etc
<robimarko> I used to love the forum, lots of good people
<stintel> then again github issue tracker shows this also ;p
<robimarko> And then they turned the forum thread into a wish list one
<robimarko> And then they complain if you point that out
zatwai has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
zatwai has joined #openwrt-devel
cbeznea has joined #openwrt-devel
danitool has joined #openwrt-devel
DeadEnd has quit [Remote host closed the connection]
cc0 has joined #openwrt-devel
cc0 has quit [Read error: Connection reset by peer]
cc0 has joined #openwrt-devel
cc0 has quit [Remote host closed the connection]
cc0 has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
<Znevna> let's crash my wifi
<Znevna> yup, still crashes
<Borromin1> Znevna: with the lowered flash speed?
<Znevna> oh, no, that ppe0 thing
<Znevna> c6u was stable with spi freq lowered to 66MHz
<Znevna> no more missing pcie devices
<Znevna> how are those related beats me
<Znevna> could it be it was trying to read something from spi and failing silently but kept something busy just enough to miss the pcie detection?
<Borromin1> :)
Borromin1 is now known as Borromini
<Znevna> ¯\_(ツ)_/¯
vglfrei1 has joined #openwrt-devel
vglfrei1 has quit []
vglfrei1 has joined #openwrt-devel
<ukleinek> I have a temperature + humidity sensor here, the temperature value is shown just fine in the webif, the humidity sensor however doesn't appear.
<ukleinek> With https://paste.debian.net/hidden/82a06952/ the sensor appears in the configuration dialog, but I don't get a graph.
<ukleinek> I guess I need to expand applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/sensors.js, but I have no idea and would welcome a hint.
vglfrei1 is now known as dether_
dether_ is now known as dether
dether has quit [Quit: Bye!]
dether has joined #openwrt-devel
dether is now known as Guest2164
Gaspare has joined #openwrt-devel
vglfrei has quit [Quit: Bye!]
Guest2164 is now known as dether
dether has quit [Quit: Bye!]
dether has joined #openwrt-devel
Borromini has left #openwrt-devel [#openwrt-devel]
cbeznea has quit [Quit: Leaving.]
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
<rmilecki> Mangix: feel free to ask me about safeloader-partitions
<rmilecki> Mangix: basically we have a Linux MTD parser that reads partitions table from flash and registers MTD partitions as specified there
<rmilecki> Mangix: that doesn't require to hardcode any offsets that may actually change
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gaspare has quit [Quit: Gaspare]
robimarko has quit [Quit: Leaving]
csrf has joined #openwrt-devel
gladiac has quit [Quit: k thx bye]
bluew has joined #openwrt-devel
<jow> stintel: dunno. users should set firewall.wan.forward=accept if they need it...
<jow> speaking of tickets... do we have any policy for tickets like this? https://github.com/openwrt/openwrt/issues/11471
<jow> it is almost certain that nobody will pick up such vague suggestions and that these tickets will rot
<jow> and the very low effort that went into writing this feature request does not exactly inspire volunteers to do it
<stintel> jow: I agree that the user should set it if needed
<stintel> but they could do things properly and use xfrm interfaces
<stintel> I closed it
<stintel> I also closed one issue today and referred the user to the forum/ML/IRC, as it's clear they had no idea what they were doing, or how to produce the data we need to actually help them
<stintel> the issue tracker is not the place for this kind of help
<stintel> no luck so far injecting a non-crippled u-boot in the AP7060DN NOR
<stintel> now I found 2 locations with an "OpenWrt" FIT image
<stintel> maybe I can inject a kernel instead
<stintel> wait we have no issue template whatsoever?
<jow> maybe we should discourage feature requests in the issue template
<jow> once we add one, that is
<jow> a feature request should come in the form of a proposal that explains function, scope, requirements and drawbacks
<jow> and not "hey guys, plz do vepa"
<jow> if discourage is too harsh then maybe a standard text to autoclose such tickets
<jow> or rather to close that tickets manually, referring users to forum and mailing lists for discussion
<stintel> I'll play a bit with issue template
<stintel> also discourage first-time builders from opening an issue because their build fails
<stintel> they're almost certainly doing something wrong
<jow> also explaining that questions for help/support will be closed
<jow> but I fear that the result will be intimidating
<jow> the "plz do $feature" guys won't read it anyway and just dump their thoughts into an issue
<jow> and those with a legitimate concern will potentially refrain from posting an issue due to the long list of "don't" points
<dwfreed> heh
<stintel> I like that you can split this up
<jow> so maybe a set of standard replies would be better, and then simply close such issues with a standard reply and no further consideration
ptudor_ has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
<hauke> stintel: aparcar[m] is working on an issue template: https://github.com/openwrt/openwrt/pull/11401
<stintel> hauke: ok I'll link my proposal there
<schmars[m]> is Marty Jones / github.com/mj22226 here
Gaspare has joined #openwrt-devel
<Mangix> rmilecki: I only see it used for bcm63xx
mcbridematt has joined #openwrt-devel