Misanthropos has joined #openwrt-devel
dangole has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
Misanthropos has quit [Ping timeout: 480 seconds]
minimal has quit [Remote host closed the connection]
minimal has joined #openwrt-devel
minimal has quit [Quit: Leaving]
mangix has joined #openwrt-devel
KGB-0 has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
felix has quit []
felix has joined #openwrt-devel
philipp64 has joined #openwrt-devel
ekathva has joined #openwrt-devel
snh_ has quit [Read error: Connection reset by peer]
snh has joined #openwrt-devel
snh has quit [Read error: Connection reset by peer]
aiyion has joined #openwrt-devel
aiyion_ has quit [Ping timeout: 480 seconds]
valku has quit [Quit: valku]
snh has joined #openwrt-devel
ecloud_ has quit [Ping timeout: 480 seconds]
snh has quit [Read error: Connection reset by peer]
snh has joined #openwrt-devel
<nick[m]1234> anyone any idea why bcm53xx does not build initramfs (noob question). they are defined in the makefile (at least I think they are), however not available after building
aiyion_ has joined #openwrt-devel
<mrkiko> rmilecki may be able to help you out with this
aiyion has quit [Ping timeout: 480 seconds]
<owrt-snap-builds> Build [#525](https://buildbot.openwrt.org/master/images/#builders/36/builds/525) of `mediatek/mt7629` failed.
Rayyan has quit [Read error: Connection reset by peer]
Rayyan has joined #openwrt-devel
ecloud_ has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
cbeznea has joined #openwrt-devel
rua has joined #openwrt-devel
<nick[m]1234> selecting ramdisk works. however it is not selected by default
<Grommish> nick[m]1234: Could it be because those devices have file-type specific firmware to flash?
<Grommish> .trx files?
<Grommish> Or would that not make a difference?
<Grommish> It's been a while since I've messed with that tree (R8000) so I'll have to keep that in mind for the next time I'm there
<nick[m]1234> don't ask me ^^ I just started looking at the soc since I wanted to try proting openwrt to the ubiquiti unifi switch 8
<Grommish> Looks like some have .bin extensions, but I think they are all designed for flashing thru the OEM firmware perhaps
<nick[m]1234> I still wonder if I can boot openwrt and then dd edgeos to the flash
<nick[m]1234> Ah okay, that explains it
<Grommish> I abandoned my R8000 persuit once I found out cto.ko wasn't available for the Netgear
<Grommish> err cts.ko
<nick[m]1234> hmmm :/ understandable. you talk about performance penalty?
Tapper has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 99.8% packages reproducible in our current test framework.)
<Grommish> nick[m]1234: it cut the wifi throughout in half because of the proprietary Broadcom drivers :(
mangix has quit [Read error: Connection reset by peer]
mangix has joined #openwrt-devel
<Grommish> And the only way I could find them was to use a super old Tomato load with like a 3.x kernel
<Grommish> I bailed on it at that point and just set the thing up as a dumb AP
<nick[m]1234> the unifi switch 8, is just some PoE device
<Grommish> Shouldn't be an issue without Wifi.. At least, I didn't notice a wired drop
<Grommish> but that's one of my primary wifi devices so I couldn't lose it
<nick[m]1234> interestingly the device has linux upstream support ^^
<nick[m]1234> which wifi device are you now using?
<Grommish> I've got the R8000 running OEM firmware and a Zyxel running OEM.. both in dump AP mode.. I have the Itus with OpenWrt playing overseer and an ER10x with EdgeOS I'll eventually get back to
<Grommish> er dumb*
<nick[m]1234> hmmmm, but wpa3 and owe?
<Grommish> wpa2
<Grommish> I don't do handoff, I just have 2 Wifi neworks across 2.4/5ghz on opposite sides of the house
<Grommish> The Itus and Er10x are no wifi, so it keeps it easy
<Grommish> The Zyxel is what my ISP wants me to use, but they can sod-off
<Grommish> It's a EMG3415-B10A which seems to be a one-off for ISPs
Tapper has quit [Read error: Connection reset by peer]
Tapper has joined #openwrt-devel
<Tapper> ksmbd stil not working in master.
<Tapper> Wed Apr 20 07:38:56 2022 kern.err kernel: [ 170.090512] ksmbd: No IPC daemon response for 20s
<Tapper> the ksmbd crashes are under Kernel 5.10 because know one seems to know how to how I should get ksmbd to work under kernel 5.15
<Tapper> ksmbd is all so fucked under OpenWrt 21.xx and 22.xx
<Tapper> BTW ksmbd is so broken network shares does not even show up under luci even tho I have th eluci-app-ksmbd package installed
Vavooon has joined #openwrt-devel
goliath has joined #openwrt-devel
shibboleth has joined #openwrt-devel
Vavooon has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Vavooon has joined #openwrt-devel
<ynezz> Tapper: I assume, that with 5.15 as a quick workaround, until it's properly packaged, you can just compile it in into your kernel using `make kernel_menuconfig`
<Tapper> ynezz So I have to remove the ksmbd packages and just use the kmod-ksmbd?
<Tapper> Will luci-app-ksmbd work then?
<Tapper> ynezzThe thing is I used samba but it's so dam big.
<Tapper> I think samba takes up about 5 mb
<ynezz> I assume, that luci is just a layer above that kernel/userspace stuff, so once you get kernel and userspace working together, then luci should work
* Tapper nods.
<Tapper> I will giv it a go later thanks
<Tapper> Some one should look at fixing ksmbd for 21.xx and 22.xx tho
<ynezz> so IIUC 5.15.17+ should work with latest ksmbd-tools v3.4.4, for 5.10 you probably need to downgrade ksmbd-tools to version 3.4.2
srslypascal is now known as Guest2361
srslypascal has joined #openwrt-devel
Guest2361 has quit [Ping timeout: 480 seconds]
<rsalvaterra> ynezz: Mind if I merge this? I was hoping for your ack… :) https://patchwork.ozlabs.org/project/openwrt/patch/20220407194143.5333-1-rsalvaterra@gmail.com/
<mangix> ynezz: I have avoided updating ksmbd-tools to 3.4.4 because of other bugs. Fixed in master but upstream needs to cut a new release.
danitool has joined #openwrt-devel
<shibboleth> any chance openvpn-dco will be pulled into master in time for 22.x release branch?
isak has quit [Ping timeout: 480 seconds]
isak has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
danitool has joined #openwrt-devel
robimarko has joined #openwrt-devel
<f00b4r0> ynezz: FTTH subscription started for the slashdirt buildbots location. Hopefully completed within the next 2-4 weeks :)
dangole has joined #openwrt-devel
<owrt-1907-builds> Build [#7](https://buildbot.openwrt.org/openwrt-19.07/images/#builders/38/builds/7) of `x86/64` failed.
<owrt-snap-builds> Build [#69](https://buildbot.openwrt.org/master/images/#builders/77/builds/69) of `realtek/rtl839x` failed.
KGB-0 has quit [Ping timeout: 480 seconds]
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<mrkiko> shibboleth: is any plan to upstream ovpn-dco in the kernel at all? I am keeping an eye on the projects repo but didn't notice anything so far
<shibboleth> <BtbN> it's been generally working for a while now
<shibboleth> <BtbN> just a lot of stuff to polish until it's release ready
<shibboleth> <ordex> yeah, people are testing and hopefully it will get a final review these days..
<shibboleth> <ordex> shibboleth: it's planned for 2.6
<shibboleth> <ordex> shibboleth: there is already a package for ovpn-dco
<shibboleth> <ordex> and I have also created a owrt testing feed for those willing to test on openwrt
<shibboleth> <ordex> shibboleth: https://github.com/OpenVPN/openvpn-dev-openwrt
<shibboleth> kmod-ovpn-dco - 5.10.111+2021-10-05-1017d4ad-2 - This module enhances the performance of the OpenVPN userspace software by offloading the data channel processing to kernelspace.
<mrkiko> shibboleth: thanks!!
<shibboleth> it'd be great to have dco as an option in master though
<ynezz> rsalvaterra: sure, you've my ack, thanks
<ynezz> Mangix: can't you just backport the fix commit?
<ynezz> f00b4r0: cool
c0sm1cSlug has joined #openwrt-devel
rua has quit [Quit: Leaving.]
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<rsalvaterra> ynezz: Great! Will merge, then.
<f00b4r0> ha!
<f00b4r0> bisecting is giving results
<f00b4r0> I'm back to a working config with chilli + mt7915e
c0sm1cSlug has joined #openwrt-devel
Vavooon has quit [Ping timeout: 480 seconds]
GNUmoon has quit [Remote host closed the connection]
<f00b4r0> so the bug involves bridge-vlan. It doesn't show up without it
* f00b4r0 keeps digging
Vavooon has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
<grift_> security marking on OpenWrt - pairing netfilter and selinux demo: https://kubus.defensec.nl/~kcinimod/recording-156031.mp4
valku has joined #openwrt-devel
KGB-0 has joined #openwrt-devel
valku has quit []
rua has joined #openwrt-devel
<f00b4r0> ok so if I create a standard bridge and enslave the mt7915e wifi iface to it with chilli listening on the bridge, it works. If I create a bridge-vlan with chilli listening on the vlan interface, the wireless packets are mangled
<f00b4r0> and this only happens (so far) with mt7915e
<nbd> f00b4r0: are received packets mangled, or transmitted packets?
<f00b4r0> in other words it fails when the wireless device is a member of a bridge-vlan, and works when it's a member of a normal bridge
<f00b4r0> transmitted ones
<f00b4r0> received are ok
<nbd> how are they mangled?
<f00b4r0> the ethertype is replaced with payload lenght
<nbd> hm
<nbd> please try creating a monitor mode interface on the same mt7915 card and bring it up
<f00b4r0> i've tried manually bisecting mt76 but I can go as far as october 23 2021 before it no longer builds with current master
<nbd> no need to capture any packets on it
<nbd> just make sure it's there and active
<nbd> and see if that affects packet mangling
<f00b4r0> ok i want to reboot to make sure the result is positive, but it seems to be
<nbd> ok, so encapsulation offload is messing it up
<nbd> and i may have an idea why
minimal has joined #openwrt-devel
<nbd> maybe skb->protocol is not properly initialized for transmitted packets
<f00b4r0> ok I can confirm that having the monitor interface makes the bug disappear
<nbd> this should fix the bug
<nbd> hopefully
<f00b4r0> ok so super silly question but how do I apply this on top of openwrt master?
<nbd> you could put it in the tree as package/kernel/mt76/patches/100-test.patch
<f00b4r0> ok thanks
<f00b4r0> building
rua has quit [Ping timeout: 480 seconds]
<f00b4r0> flashing
mattytap_ has joined #openwrt-devel
mattytap has quit [Read error: Connection reset by peer]
<f00b4r0> nbd: success! :)
rua has joined #openwrt-devel
<nbd> yay
<f00b4r0> yay indeed. That bug had me going nuts ;)
<nbd> thanks for tracking it down
<f00b4r0> thanks for fixing it ;)
<nbd> i'll prepare the fix, will be included in the next mt76 update
<f00b4r0> great, thanks!
<nbd> what should i put in as reported-by?
<nbd> (name / email address)
<nbd> or should i skip it?
<f00b4r0> Thibaut VARÈNE <hacks+kernel@slashdirt.org>
<f00b4r0> lunch time, bbiab :)
mattytap__ has joined #openwrt-devel
mattytap_ has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
Misanthropos has joined #openwrt-devel
GNUmoon has joined #openwrt-devel
rua has joined #openwrt-devel
ekathva has quit [Quit: Leaving]
Misanthropos has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
arthur_melo has joined #openwrt-devel
rua has joined #openwrt-devel
Misanthropos has joined #openwrt-devel
Tapper has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
floof58 is now known as Guest2427
floof58 has joined #openwrt-devel
Guest2427 has quit [Ping timeout: 480 seconds]
grift has joined #openwrt-devel
grift_ has quit [Remote host closed the connection]
StifflersMagic has joined #openwrt-devel
<philipp64> Is Toke ever on IRC? What's his handle?
philipp64 has quit [Quit: philipp64]
Tapper has quit [Ping timeout: 480 seconds]
philipp64 has joined #openwrt-devel
<tohojo> philipp64: I am indeed 🙂
<philipp64> ah, hi. was trying to tweak my config and noticed `qdisc_really_really_advanced` and couldn't figure out what it does because it doesn't seem to be in /etc/init.d/sqm ...
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
<tohojo> iirc, it's just the thing in luci that hides part some of the UI?
<philipp64> ah.
<philipp64> so it doesn't affect performance.
<tohojo> nah
<philipp64> okay. and how does `overhead` default if it's not set?
<philipp64> I've got G.PON so I'm assuming it's 14 (6+6+2... i.e. Ethernet V2)
<tohojo> it defaults to 0
<philipp64> Hmm... 40 bytes of overhead in native encapsulation mode...
<philipp64> what are valid values for `linklayer`?
<philipp64> I see `none` and `atm`...
Tapper has joined #openwrt-devel
<f00b4r0> nbd: I've successfully backported your patch to 21.02. I understand mt76 will not be updated in 21.02: is it ok if I submit this patch cherry-picked (in packages/kernel/mt76/patches) for inclusion in next point release?
<f00b4r0> "successfully backported" == it works there too
<nbd> sure
<f00b4r0> ok, I'll send to m-l then
jlsalvador has quit [Read error: Connection reset by peer]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<mirko> is peter stadler around here by any chance?
jlsalvador has joined #openwrt-devel
danitool has joined #openwrt-devel
ecloud_ has quit [Ping timeout: 480 seconds]
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #openwrt-devel
<jow> nbd: I'm investigating spurious rpcd issues on very large ubus messages again. From what I've observed, the root cause is that the ubus client code receives an -1/EPIPE in sendmsg(), this causes the ubus client socket to get deregistered from the uloop while the higher level logic still assumes that it is alive
<jow> the series of events is basically this: https://pastebin.com/idZJtV4H
<jow> any idea how to handle it in the client?
<jow> apparently libubus presumes an established ubus connection fd to be dead if a write operation on it fails
<jow> I suppose I could check ctx->sock.eof after each ubus_complete_deferred_request() / ubus_send_reply() and reconnect if the flag is true
<jow> but apart from that; why is ubusd capping the connection in the first place? I though message sizes are practically unlimited now?
<mangix> mirko: nope
gladiac is now known as Guest2434
gladiac has joined #openwrt-devel
<nick[m]1234> dangole: did you see that @apacar pinged you in the wndap360 pr? ;)
ecloud_ has joined #openwrt-devel
Guest2434 has quit [Ping timeout: 480 seconds]
<aparcar[m]> nick: who was the person initially approving it?
<nbd> jow: what's the message size that triggers this?
<jow> nbd: 3144021
<nick[m]1234> aparcar: I guess it was negglesand some other people
<aparcar[m]> nick: do they have commit access? if so they should do the merge, if not I'll do it
<nick[m]1234> I guess not
<jow> nbd: just stumbled over UBUS_MAX_MSGLEN which is well below that, so it's kind of expected that this large message is rejected
<jow> nbd: and I suppose ubusd's only way to deal with such overlong/invalid messages is kicking the connection
<nbd> yes
<nbd> what's the use case for these large messages anyway?
<KGB-2> 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.)
<jow> nbd: it's a conntrack list dump, part of some real time data exposed by luci via ubus
<jow> nbd: I'll switch that to cgi-io later, but still I'd like to make rpcd a bit more resillient against this, in order to prevent single plugins/procedures taking down the whole daemon
<nbd> maybe just split the results into multiple messages
<jow> is the protocol allowing multiple replies for a single request?
<jow> or do you mean implementing paging in higher level application logic?
<nbd> multiple replies per request is alloweed
Tapper has quit [Ping timeout: 480 seconds]
<jow> hm
<nbd> you'll get multiple calls to the data_Cb
<jow> yep, I see
<jow> usefulnes depends on how the receiver is merging the data though
<jow> in uhttpd-mod-ubus each reply's attributes will overwrite the previous ones in the result blob buffer, but that can be worked around byx using unique toplevel keys for the partial messages
<nbd> one possiblity would be to change the code so that on a request you can specify that you want an array of result data tables (one entry per data cb)
<nbd> so it would be backwards compatible
<jow> right, some kind of multipart signalling would be needed
<jow> nbd: thanks, I'll think some more about it and plan for a mitigation
minimal has quit [Quit: Leaving]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Tapper has joined #openwrt-devel
floof58 has quit [Quit: floof58]
c0sm1cSlug has joined #openwrt-devel
Borromini has joined #openwrt-devel
Vavooon has quit [Ping timeout: 480 seconds]
<Habbie> hurricos, final score with the WL-330 (after a dump via uboot and fighting squashfs until I found sasquatch) - https://wikidevi.wi-cat.ru/Sitecom_WL-330 :)
<Habbie> hurricos, given that it's 4 MB, i think i won't bother with actual openwrt efforts
Vavooon has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #openwrt-devel
robimarko has quit [Quit: Leaving]
philipp64 has quit [Quit: philipp64]
shibboleth has quit [Quit: shibboleth]
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 99.8% packages reproducible in our current test framework.)
Tapper has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
Vavooon has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
floof58 has joined #openwrt-devel
mirko has quit [Remote host closed the connection]
<mangix> https://gist.github.com/neheb/ffa2da1b87ddf8fdb123ea15e370f8bb <-- only the first is supported in OpenWrt. hmmmmmm
mirko has joined #openwrt-devel
<slh> at least the ath9k hw rng isn't really 'good' (talking about its raw output, not how it's weighed), but it does improve the situation for these devices - so someone pushed for it to become available. carl9170 is a USB device (and a rather short lived chipset generation), popular, but not really common to be used in routers (I did, for a while, don't want to repeat that again), so probably no one felt
<slh> it was necessary. similar thinking has probably gone on for b43, no one really knows how 'good' the rng is, the SOCs are aging and don't see that much interest anymore, so probably a reason for no one pushing for it
<mangix> slh: b43 RNG is enabled by default
<mangix> Althought that commit will go in a mac80211 update anyway