danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
goliath has quit [Quit: SIGSEGV]
minimal has quit [Quit: Leaving]
Grommish has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Gaspare has joined #openwrt-devel
Grommish has joined #openwrt-devel
Grommish has quit [Read error: No route to host]
Grommish has joined #openwrt-devel
* enyc meeps
<enyc> curious why 22.03-rc3 not being shown on openwrt pages yet... ;o
<dwfreed> because it's not announced yet
<dwfreed> and it may not be
Gaspare has quit [Quit: Gaspare]
<dwfreed> there are various regressions in fw4 that are fixed after the tag, so rc3 may just be skipped and rc4 tagged
<dwfreed> the git tag and the builds come before the announcement; and sometimes the builds, or early testers, discover something that means the release doesn't get announced
<dwfreed> and builds take a long time because there's only so many builders
<enyc> Snuupy: dwfreed: ok!
<enyc> oops
<enyc> dwfreed: thankyou... useful to know since friend ere involved in fw4 based fun, may come back to that after fw4 .....
<enyc> dwfreed: that also figures... I wonder if project could do with more sponsors etc. hrrm
<enyc> thankyou
philipp64 has joined #openwrt-devel
ptudor has joined #openwrt-devel
ptudor_ has quit [Ping timeout: 480 seconds]
lmore377 has quit [Read error: Connection reset by peer]
lmore377 has joined #openwrt-devel
ekathva has joined #openwrt-devel
Grommish_ has joined #openwrt-devel
Grommish__ has joined #openwrt-devel
Grommish has quit [Ping timeout: 480 seconds]
Grommish_ has quit [Ping timeout: 480 seconds]
<nick[m]1234> @robimarko Can you give me workflow run permissions in your sartura repository? I started adding workflows for building directly the images. https://github.com/sartura/openwrt/pull/26
Grommish has joined #openwrt-devel
srslypascal has quit [Ping timeout: 480 seconds]
Grommish_ has joined #openwrt-devel
Grommish__ has quit [Ping timeout: 480 seconds]
Grommish has quit [Read error: Network is unreachable]
Grommish has joined #openwrt-devel
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
Grommish_ has quit [Ping timeout: 480 seconds]
frwol has joined #openwrt-devel
<frwol> hi
Grommish_ has joined #openwrt-devel
mangix_ has joined #openwrt-devel
mangix has quit [Read error: Connection reset by peer]
embargo has quit [Ping timeout: 480 seconds]
embargo has joined #openwrt-devel
Grommish has quit [Ping timeout: 480 seconds]
<owrt-snap-builds> Build [#575](https://buildbot.openwrt.org/master/images/#builders/26/builds/575) of `apm821xx/sata` completed successfully.
<jow> grift: in your selinux policy for openwrt, did you allow fw3 to write to /proc/net/nf_conntrack ?
<jow> I assume the issue reported here: https://forum.openwrt.org/t/selinux-write-denied-on-every-firewall-restart-how-to-resolve/128755/2 - is that a write to this file is denied
srslypascal has joined #openwrt-devel
<jow> openwrt has a custom kernel patch that allows writing certain values to /proc/net/nf_conntrack in order to (selectively) flush the conntrack table, on a vanilla linux kernel that proc file is read-only
<grift> its allowed now, but it might have been denied earlier
<jow> okay, thank you
biboc has joined #openwrt-devel
<grift> i can do a git blame see if it comes up with a commit
<biboc> Hi,
<jow> grift: knowing that you're aware of the requirement is good enough for me :)
<biboc> hi
<biboc> I have disabled serial console on my mt7688 board. bootargs = "console=none"; in .dts . It works well, serial prints message but there is no console. However, I wonder if I can re-enable it when I'm connected by ssh to my board for debug purpose? Thanks
<grift> jow , actually there is something fishy about it though:
<grift> https://git.defensec.nl/?p=selinux-policy.git;a=blob;f=src/agent/fw3.cil;h=4c9193f48afbc56a1d03eebf64442debbfb9943d;hb=HEAD#l116
<grift> if /proc/net/nf_conntrack exists then its allowed to write it, but its not allowed to create it if it does not exist
<grift> because to me that doesnt make sense to create files on /proc/net
<jow> whcih totally makes sense
<jow> it's just a naive fopen("/proc/net/nf_conntrack", "w") - hence the implicit create attempt by libc
<grift> i see
<biboc> Should I ask my question in #openwrt instead of here? Thanks
<jow> biboc: tried something like /sbin/askfirst /usr/libexec/login.sh </dev/tyyS0 &>/dev/ttyS0 ?
<grift> i will reply to that thread
<grift> if i can find my login details
Snuupy has joined #openwrt-devel
mangix_ has quit []
mangix has joined #openwrt-devel
frwol has quit [Quit: leaving]
frwol has joined #openwrt-devel
frwol has quit []
<biboc> @jow thanks, seems there is a problem with ttyS speed
<owrt-snap-builds> Build [#563](https://buildbot.openwrt.org/master/images/#builders/29/builds/563) of `pistachio/generic` completed successfully.
<biboc> #jow, it seems to works but as soon as I run /sbin/askfirst /bin/ash --login </dev/ttyS2 &>/dev/ttyS2, the serial print weird char, like speed has changed
<rsalvaterra> To whom it may concern, I think the 5.15 kernel bumps are good to go. I was slightly wary about arm targets, due to the removal of the crypto-lib-blake2s kmod package, but I just compared /proc/crypto in .43 and .44 and they're the same.
<jow> biboc: you might be able to use getty instead of askfirst
<jow> biboc: with getty you can specify the serial port parameters
<jow> biboc: alternatively you might be able to run stty before alunching askfirst to configure ttyS0 parameters
<jow> in any case, askfirst simply usses ttyS0 as-is, you likely need to set its baud rate, parity etc. before it is usable in case the bootloader or kernel does not already initialize it to sane values
frwol has joined #openwrt-devel
<jow> or maybe it is sanely initialized but just to a different baudrate that what you expect
<rsalvaterra> jow: I suggest removing urngd from the basic set of packages after 5.15.44 and 5.10.119. Jason's kernel random work made it pretty much moot.
<jow> rsalvaterra: totally fine with me, I'm always in favor of less moving parts
<rsalvaterra> I know you are. :)
<rsalvaterra> I'll cook a follow-up patch after the kernel merges, then.
<rsalvaterra> And freeing up about 700 kiB of RAM is always nice.
<grift> by the way i think this is pretty cool, yesterday i stumbled upon a paper/proposal to enhance the policy language i used to write openwrt selinux-policy. the paper actually references that openwrt and the policy, and the code actually uses it as well in its examples
<biboc> Thanks jow, I'll try
ptudor has quit [Remote host closed the connection]
<biboc> (BTW how do you tag somebody here? # @ does not seem to work? thanks)
ptudor has joined #openwrt-devel
<grift> biboc, just type the name and if the user wants to be notified than most irc clients will allow the user to configure that
robimarko has joined #openwrt-devel
<biboc> ok thanks
<PaulFertser> biboc: why do not you change system.@system[0].ttylogin to control serial log in?
<aparcar[m]> zx2c4: since you're working on the random generator stuff, are you aware of a way to "fake" entropy so qemu images boot faster? Currently it takes about 20 seconds until rng is ready, would be nice to have it there instantly. It's just for unit tests and no actual container or anything
<zx2c4_> aparcar[m]: check out init.c in the wg test suite
<zx2c4_> jow: rsalvaterra let me know if you guys experience boottime issues as a result
<rsalvaterra> zx2c4_: No boot hangs waiting for the crng on my Redmi AC2100 (MIPS 1004Kc).
<biboc> PaulFerster : I don't have this parameter in uci, how is it interpreted and what's the value I should use? /dev/ttyS2,57600 like in console ?
<aparcar[m]> zx2c4_: I'm not familiar with the test setup of wireguard, would I add such function to procd and with a boot parameter i'd fake /random?
<aparcar[m]> [ 20.351737] random: crng init done
<PaulFertser> biboc: this parameter is in /etc/config/system in config system section. Either 1 or 0, and you do not need to change DTS to disable serial login if you use it.
<PaulFertser> biboc: documented here: https://openwrt.org/docs/guide-user/base-system/system_configuration?s[]=ttylogin
<f00b4r0> ugh. Need to install perl to get a telnet client on openwrt?
aleksander has quit [Quit: Leaving]
* f00b4r0 uses nc instead :P
<grift> the swiss army knife
<stintel> aparcar[m]: why not give your qemu vm a virtio-rng ?
<aparcar[m]> stintel: I tried but it doesn't seem to speed up things at all
<biboc> PaulFertser my /etc/inittab contains: ::askconsole:/bin/ash --login and not ::askconsole:/usr/libexec/login.sh
<stintel> aparcar[m]: which target/subtarget?
<biboc> Will it still work if I enable ttylogin?
<aparcar[m]> stintel: malta/be, adding -device virtio-rng-pci I'm seing `[ 8.083569] urngd: jent-rng init failed, err: 2` not sure if that's progress
<aparcar[m]> the "interesting" part aka network availability still happens after 18 seconds which I'd consider "slow", right?
biboc has quit [Remote host closed the connection]
<stintel> aparcar[m]: malta doesn't have CONFIG_HW_RANDOM_VIRTIO enabled
<aparcar[m]> I'll recompile and check again
pepe2k has joined #openwrt-devel
danitool has joined #openwrt-devel
ekathva has quit [Quit: Leaving]
<aparcar[m]> stintel: whoops actually i tested x86/64, anyway so the build virtio-rng-pci doesn't show any improvement
<aparcar[m]> here is the full boot log https://paste.debian.net/1242786/
<aparcar[m]> also is there a reason to disable it for malta/be?
<stintel> it's enabled for armvirt and x86 because those platforms usually have plenty of storage - I have no clue if the same is also true for malta
<stintel> if it is, enable it. if it's not we might need to consider a kmod for it
<aparcar[m]> afaik malta/be is mostly used for testing, hauke ?
goliath has joined #openwrt-devel
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_sunxi.html has been updated. (0% images and 99.9% packages reproducible in our current test framework.)
bluew has quit [Quit: Leaving]
guidosarducci has quit [Ping timeout: 480 seconds]
guidosarducci has joined #openwrt-devel
arinc9 has joined #openwrt-devel
pepe2k has quit [Remote host closed the connection]
<zx2c4_> rsalvaterra: after removing urngd?
<zx2c4_> But if youre on x86 just enable random trust cpu in .config
<rsalvaterra> zx2c4_: Yes, without urngd.
<rsalvaterra> zx2c4_: And neither on my Omnia (Cortex-A9), as you can see… https://paste.debian.net/1242806/
biboc has joined #openwrt-devel
GNUmoon has quit [Ping timeout: 480 seconds]
robimarko_ has joined #openwrt-devel
Techmeology has joined #openwrt-devel
robimarko has quit [Ping timeout: 480 seconds]
<biboc> Ok, this works: stty -F /dev/ttyS2 57600 && /sbin/askfirst /bin/ash < /dev/ttyS2 &> /dev/ttyS2
<biboc> So I can disable my serial for all my boards and only when I want I can re-enable it by ssh
embargo has quit [Quit: ZNC - https://znc.in]
embargo has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
<PaulFertser> biboc: how does it happen that you have custom contents in inittab? Or are you running an old OpenWrt version?
Misanthropos has quit [Ping timeout: 480 seconds]
GNUmoon has joined #openwrt-devel
indy_ has joined #openwrt-devel
indy has quit [Ping timeout: 480 seconds]
indy_ is now known as indy
indy has quit [Ping timeout: 480 seconds]
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (11.1% images and 99.9% packages reproducible in our current test framework.)
Misanthropos has joined #openwrt-devel
Gaspare has joined #openwrt-devel
frwol has quit [Quit: leaving]
<biboc> PaulFertser Just checked, it is OpenWrt 19.07.2. In fact, we've made multiple upgrade and as files in /etc are saved, inittab didn't change. On new board, it is ::askconsole:/usr/libexec/login.sh
Grommish_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
valku has joined #openwrt-devel
* enyc meeps
minimal has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
<hauke> aparcar[m]: yes, there are some malta eval systems from MIPS, but I think most if not all people use it in qemu or in some container
indy has joined #openwrt-devel
arinc9 has quit [Quit: Leaving]
Borromini has joined #openwrt-devel
<rsalvaterra> This is funny…
<rsalvaterra> [ 3.180301] gpio-keys-polled gpio-keys-polled: unable to claim gpio 0, err=-517
<rsalvaterra> … I see exactly four of these in the dmesg when booting an APU2C4 board…
<rsalvaterra> … but *only* if the pcengines-apuv2 platform driver is built-in.
<dwfreed> that's a really high errno
<tmn505> do You miss that GPIO_AMD_FCH as built-in?
<rsalvaterra> tmn505: I have everything built-in. If it's a dependency, it must be. Let me see if it's not and I forgot to enable it…
<rsalvaterra> CONFIG_GPIO_AMD_FCH=y
<tmn505> it's selected but does not depend
<rsalvaterra> Yep.
<tmn505> then probably the pcengines-apuv2 probes to early
<rsalvaterra> Maybe I should email the maintainer about it…?
Borromini has quit [Ping timeout: 480 seconds]
<tmn505> these are dependencies https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/Kconfig#n765, check if You've got it right, then email the maintainer.
Gaspare has joined #openwrt-devel
<rsalvaterra> Well, if the dependencies weren't correct, kconfig wouldn't let me select the driver. That's how the "depends" directive works. :)
<dwfreed> I think tmn505 is referring to the selects
<tmn505> yes, the selects will select the symbol but nothing forbids You to disable it.
<rsalvaterra> tmn505: That's "imply", not "select".
<dwfreed> ah, yeah, select is reverse-depends
<tmn505> indeed, sorry for confusion. Must have remembered old docs when last time i looked at it.
<rsalvaterra> Heh, to be honest, I only recently discovered "imply" even exists. :)
<dwfreed> it is relatively recent on the scale of things
<dwfreed> 4^H6 years old
<rsalvaterra> Oh, wait…! In Linux 5.15, I do have *one* GPIO error even if it's a module. So that definitely looks like a race.
<rsalvaterra> Interestingly, I didn't have errors with Linux 5.4.
ekathva has joined #openwrt-devel
ekathva has quit [Remote host closed the connection]
Borromini has joined #openwrt-devel
<philipp64> Can someone have a look at PR #9951?
<philipp64> It's adding a kmod definition for chapoly1305 ...
<philipp64> It's not my PR but one of my packages would benefit from it.
rmilecki has quit [Remote host closed the connection]
rmilecki has joined #openwrt-devel
schwicht has quit [Quit: Textual IRC Client: www.textualapp.com]
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #openwrt-devel
srslypascal is now known as Guest1028
srslypascal has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
Guest1028 has quit [Ping timeout: 480 seconds]
dedeckeh has quit [Remote host closed the connection]
Gaspare has quit [Quit: Gaspare]
robimarko_ has quit [Quit: Leaving]
csrf has joined #openwrt-devel
minimal has quit [Quit: Leaving]
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 99.5% packages reproducible in our current test framework.)
<enyc> hrrm... any development / DSA issues known with marvell switch in WRT3200ACM ? Experiencing behaviour where switched-traffic is coming out a port that doesn't make sense, as if the switch is in some sort of promisc-mode at the switch....
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
c0sm1cSlug has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
c0sm1cSlug has joined #openwrt-devel