isak has joined #openwrt-devel
zorun has quit [Server closed connection]
zorun has joined #openwrt-devel
dangole has quit [Ping timeout: 480 seconds]
jlsalvador2 has joined #openwrt-devel
jlsalvador has quit [Read error: Connection reset by peer]
jlsalvador2 is now known as jlsalvador
jlsalvador2 has joined #openwrt-devel
jlsalvador has quit [Read error: Connection reset by peer]
jlsalvador2 is now known as jlsalvador
jlsalvador2 has joined #openwrt-devel
jlsalvador has quit [Read error: Connection reset by peer]
jlsalvador2 is now known as jlsalvador
Rentong has joined #openwrt-devel
embargo has quit [Read error: Connection reset by peer]
Grommish has quit [Read error: Connection reset by peer]
Grommish has joined #openwrt-devel
Grommish_ has joined #openwrt-devel
Grommish has quit [Read error: Connection reset by peer]
Grommish_ has quit []
Rentong has quit [Ping timeout: 480 seconds]
Grommish has joined #openwrt-devel
Grommish has quit [Ping timeout: 480 seconds]
Grommish has joined #openwrt-devel
jlsalvador has quit [Read error: Connection reset by peer]
jlsalvador has joined #openwrt-devel
carnil has quit [Server closed connection]
carnil has joined #openwrt-devel
<digitalcircuit> ipq8065 L2 cache 1.4 GHz frequency brief update: now testing a slightly raised microvolt level with 1.4 GHz enabled, as per last commit in: https://github.com/openwrt/openwrt/compare/openwrt-21.02...digitalcircuit:openwrt-21.02-cpufreq-dtsivolt-cache-voltboost (I have no idea what's a "safe" level, so I tried something conservative)
<digitalcircuit> Of course, the first time I start the test by beginning a backup to the USB 3.0 HDD via SFTP, I have a power interruption. Thankfully, on to testing now.
bookworm has quit [Server closed connection]
bookworm has joined #openwrt-devel
<slh> digitalcircuit: perhaps this helps http://paste.debian.net/1208065/
<digitalcircuit> slh: Thank you! Looking at "l2_freq_tbl", now I understand why Ansuel had to delete the opp-1200... 1.2 GHz level, and that also suggests that the jump from 1.0 GHz to 1.2 GHz involved a 1.00 to 1.15 volt jump. I guess that jumping to 1.175 volt for 1.4 GHz might actually not be too unreasonable.
<slh> I've been looking through the nbg6817 OEM GPL source, I don't really see anything else jumping at me. more or less a normal AP-161/ Akronyte derivative
Acinonyx has joined #openwrt-devel
Acinonyx_ has quit [Ping timeout: 480 seconds]
Slimey has quit [Remote host closed the connection]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
StifflersMagic has quit [Server closed connection]
StifflersMagic has joined #openwrt-devel
* digitalcircuit nods!
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
rmilecki has joined #openwrt-devel
awgh has joined #openwrt-devel
<digitalcircuit> /bin/cat /sys/kernel/debug/regulator/regulator_summary && /bin/cat /sys/kernel/debug/clk/clk_summary | grep "l2"
<digitalcircuit> What's strange is looking at the L2 cache voltage levels.. it doesn't appear to be hitting------ Derp, nevermind. Lesson learned, whenever you flash a new firmware, make sure it actually applied before trying to diagnose it. On the upside, I've learned a useful "is the thing doing what I expect" command of...
<digitalcircuit> To check the voltage levels ("s1a", "soc:l2-cache") and the L2 cache frequency ("hfpll_l2"). Learned via https://forum.openwrt.org/t/netgear-r7800-exploration-ipq8065-qca9984/285/2772
<awgh> hey folks, I'm attempting to build latest firmware and put it on a skw92a module for a custom hardware project... wrote a ckermit script to load it into RAM and boot it, which works right up until it tries to load the rootfs...
<awgh> then I get "Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100"
<awgh> I think I'm missing a kernel bootarg or something... does anyone have an idea?
<awgh> Loading the kernel+initrd image, not the sysupgrade
Forst has quit [Server closed connection]
Forst has joined #openwrt-devel
nitroshift has joined #openwrt-devel
goliath has joined #openwrt-devel
nbd has quit [Server closed connection]
nbd has joined #openwrt-devel
<slh> awgh: you generally need to load the initramfs image, which contains of kernel, DTB and initramfs
decke has joined #openwrt-devel
FLD has quit [Server closed connection]
rua has quit [Quit: Leaving.]
FLD has joined #openwrt-devel
rua has joined #openwrt-devel
abiliomarques has joined #openwrt-devel
owrt-1907-builds has quit [Server closed connection]
owrt-1907-builds has joined #openwrt-devel
owrt-snap-builds has quit [Server closed connection]
owrt-snap-builds has joined #openwrt-devel
<awgh> slh Yeah, I guess what I'm really asking is if there is any way to load a kernel and also a rootfs from RAM, so that I can test it before writing to flash
<awgh> from what I'm reading, it seems like the only way is to write the sysupgrade image to flash and then try to boot from it
rua1 has joined #openwrt-devel
<awgh> and... that kind of makes sense, if I load the kernel+initramfs, I get the above error
<awgh> if I load the sysupgrade image into RAM, I get a similar error where it asks which of the mtdimage devices I want to be the root, but it's just the three partitions for uboot,uboot config, and kernel
<awgh> but I guess if I'm careful not to mess up the uboot partitions... I should be able to recover
<awgh> I'm just being a bit precious because I only have one working prototype at the moment
dangole has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
_lore_ has quit [Ping timeout: 480 seconds]
rua1 has quit [Quit: Leaving.]
Tapper has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<slh> awgh: initramfs images can be loaded and booted by the (well, many-) bootloader(s), as mentioned before, those do contain kernel, DTB, full rootfs
danitool has joined #openwrt-devel
valku has quit [Quit: valku]
<digitalcircuit> ...oops. For over 3 entire months I've neglected dynamic debugging ( https://www.kernel.org/doc/html/v5.4/admin-guide/dynamic-debug-howto.html ). I'll be playing with things like... echo "file drivers/regulator/* =p" > /sys/kernel/debug/dynamic_debug/control && echo "file drivers/cpufreq/* =p" > /sys/kernel/debug/dynamic_debug/control # to catch more info, alongside L2 cache voltage tweaks.
<digitalcircuit> (I suspect my change to raise the L2 cache voltage at 1.4 GHz is incomplete, since it never raised above 1.0 GHz. I'll need to see if I have to adjust the regulator voltage range or such.)
<awgh> slh yes, I was loading one in the first place.
<awgh> have moved on to trying to write an image to the flash... but there's a silly Mediatek fork of U-boot with non-standard commands
rsalvaterra has joined #openwrt-devel
rsalvaterra has quit []
goliath has joined #openwrt-devel
rua has joined #openwrt-devel
guidosarducci has quit [Server closed connection]
guidosarducci has joined #openwrt-devel
_lore_ has joined #openwrt-devel
noltari has quit [Server closed connection]
noltari has joined #openwrt-devel
rua1 has joined #openwrt-devel
gladiac has quit [Server closed connection]
gladiac has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
mrkiko has joined #openwrt-devel
rua1 has quit [Remote host closed the connection]
rua has joined #openwrt-devel
clef 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
swegener has quit [Server closed connection]
swegener has joined #openwrt-devel
fda has quit [Server closed connection]
fda has joined #openwrt-devel
rage has joined #openwrt-devel
rua1 has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
<abiliomarques> hi, I actually found that the boot performance penalty I was seeing was caused by vm.min_free_kbytes set to a too high value compared to the old system. 16MB vs < 1MB
<abiliomarques> does anyone know where to set that compile time?
<PaulFertser> abiliomarques: are you talking about what's getting set up on boot by package/base-files/files/etc/init.d/sysctl ?
Rentong has joined #openwrt-devel
<abiliomarques> that might be one option, the other is maybe a kernel setting?
<PaulFertser> abiliomarques: but the kernel settings will be quickly overriden on boot by that script
<PaulFertser> abiliomarques: are you on a 128 MiB device?
rua1 has quit [Quit: Leaving.]
<abiliomarques> well, not in my experimental hardware. It has 64 MB ... I wanted to finish what I started 3 years ago, and so I moved to 19.07 first
rua has joined #openwrt-devel
<PaulFertser> abiliomarques: I mean see that script, it sets the value depending on RAM, probably it does the wrong thing on your hardware?
<abiliomarques> my /etc/sysctl.conf didn't have any value set
<PaulFertser> abiliomarques: 057369ae1f3ad8d10b1a9e0baa5b63bc2b9087f5
<abiliomarques> for the min free kb
<PaulFertser> Script does that anyway
<abiliomarques> is that the full filename?
<PaulFertser> abiliomarques: in the git tree yes
<abiliomarques> thanks Paul, will look at it in a bit
minimal has joined #openwrt-devel
cp- has joined #openwrt-devel
<rage> Looking to contribute documentation, specifically for procd and all of the tools in that repository, e.g. uxc. Is there any reason why we don't already have man pages in that repository? Or would it be better to contribute to the Wiki?
valku has joined #openwrt-devel
valku has quit [Remote host closed the connection]
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
Rentong has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
nitroshift has quit [Quit: Gone that way --->]
Rentong has joined #openwrt-devel
Tusker has quit [Quit: Time wasted on IRC: 14 hours 19 minutes 17 seconds]
Rentong has quit [Ping timeout: 480 seconds]
<owrt-snap-builds> Build [#291](https://buildbot.openwrt.org/master/images/#builders/1/builds/291) of `ath79/generic` completed successfully.
Slimey has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Tapper has joined #openwrt-devel
clef has quit [Read error: No route to host]
clef has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
decke has quit [Quit: Leaving.]
<mrkiko> rage: I guess wiki.
<rage> If I created man pages and sent a patch would it be accepted?
<rage> Man pages are really helpful
<greearb> _lore_, +rate->he_gi = (val & (0x3 << offs)) >> offs;
<greearb> +if (val & BIT(12 + bw))
<greearb> +} else if (rate->flags & RATE_INFO_FLAGS_VHT_MCS) {
<greearb> +rate->flags |= RATE_INFO_FLAGS_SHORT_GI;
<greearb> +else
<greearb> +rate->flags &= ~RATE_INFO_FLAGS_SHORT_GI;
<greearb> +}
<greearb> you need to check HT as well? Same bug as was previously fixed in 7915
goliath has joined #openwrt-devel
<_lore_> greearb: ack, thx
<_lore_> I will fix it
Rentong has joined #openwrt-devel
clef_ has joined #openwrt-devel
clef has quit [Read error: Connection reset by peer]
Rentong has quit [Remote host closed the connection]
<owrt-snap-builds> Build [#238](https://buildbot.openwrt.org/master/images/#builders/56/builds/238) of `kirkwood/generic` failed.
Tapper has quit [Ping timeout: 480 seconds]
Rentong has joined #openwrt-devel
rage has quit [Remote host closed the connection]
rage has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
ewrfsgb has joined #openwrt-devel
ewrfsgb has quit []
Tapper has joined #openwrt-devel
Rentong has joined #openwrt-devel
crz has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
Tapper has quit [Ping timeout: 480 seconds]
Rentong has joined #openwrt-devel
crz has quit [Quit: WeeChat 3.2]
Tapper has joined #openwrt-devel
dangole has joined #openwrt-devel
<stintel> gcc10 by default pushed to master
Rentong has quit [Ping timeout: 480 seconds]
dangole_ has joined #openwrt-devel
<fda> on my white there are no labels for it
dangole has quit [Remote host closed the connection]
Borromini has joined #openwrt-devel
danitool has joined #openwrt-devel
KGB-0 has quit [Remote host closed the connection]
abiliomarques has quit [Ping timeout: 480 seconds]
Rentong has joined #openwrt-devel
<slh> fda: that's the only real difference between those two devices, the e8450 has those LEDs, the rt3200 doesn't (at least according to the FCC images)
crz has joined #openwrt-devel
<slh> you could probably solder LEDs to the board, the footprints are there
Tapper has quit [Ping timeout: 480 seconds]
<dangole_> fda: yes e8450 has got lan switch port leds. i got it here, LEDs: power (yellow, blue), WAN (yellow, blue), 4x LAN (blue) and those are connected via the switch
dangole_ is now known as dangole
clef_ has quit [Remote host closed the connection]
Tapper has joined #openwrt-devel
* Borromini wants a nice in-wall ax AP
<owrt-snap-builds> Build [#238](https://buildbot.openwrt.org/master/images/#builders/52/builds/238) of `x86/legacy` failed.
Rentong has quit [Ping timeout: 480 seconds]
<stintel> Borromini: me too. with RJ45 console port preferably
<stintel> and without qualcomm shitware
<Borromini> =)
<Borromini> well let's hope the MT76 ax hype train continues :)
<owrt-snap-builds> Build [#243](https://buildbot.openwrt.org/master/images/#builders/59/builds/243) of `x86/geode` failed.
rmilecki has quit [Ping timeout: 480 seconds]
<hauke> stintel: wolfssl-4.7.0-stable is not building
<stintel> hauke: how did you spot that ?
<hauke> fgrep Error ~/Downloads/stdio\(1\) |grep -v ignored
<hauke> this should show all error execpt if they are getting ignored
<stintel> I see, thanks
<hauke> but I do not understand the problem, it only says:
<hauke> lto-wrapper: fatal error: i486-openwrt-linux-musl-gcc returned 1 exit status
<hauke> some lines up is the error: wolfcrypt/src/tfm.c:3142:11: error: 'asm' operand has impossible constraints
<stintel> I guess we should report that upstream ?
<hauke> yes
<stintel> apparently already reported
Borromini has quit [Quit: leaving]
<stintel> hauke: if -O2 fixes it we could temporarily add that as a workaround, for x86 size doesn't really matter that much. what do you think?
<hauke> stintel: yes should be ok, could you add a comment on the github issue that we see this too afetr switching from gcc 8 to 10
<stintel> done
<hauke> stintel: thanks
f5- has quit [Remote host closed the connection]
f5- has joined #openwrt-devel
<owrt-2102-builds> Build [#103](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/46/builds/103) of `ath79/nand` failed.
rua has quit [Quit: Leaving.]
rsalvaterra has joined #openwrt-devel
<stintel> hmmm vague, all rx packet show up in dropped statistics :/
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
<stintel> heh
<stintel> that's caused by SQM o_O
<rsalvaterra> stintel: Uh?
<stintel> what vague issue geez
<stintel> when I start SQM on WAN (eth1), all packets appear in dropped, not in rx
<stintel> RX: bytes packets errors dropped missed mcast
<stintel> 2803087 7190 2 72753 0 0
<stintel> this must be some kind of recent kernel regression as I did not have this initially with the m300
<stintel> it's just the stats that go fubar though
<stintel> internet keeps working
<rsalvaterra> Interesting. That's with 5.10, right?
<stintel> yeah
<rsalvaterra> How are you viewing those eth1 stats?
* rsalvaterra wants to take a look at his machines
Rentong has joined #openwrt-devel
<stintel> rsalvaterra: ip -s link show dev eth1
<rsalvaterra> Hm. Not with BusyBox ip, unfortunately. :/
<stintel> ip-full :)
<rsalvaterra> How about ethtool -S eth1?
<stintel> ugh, now it's even happening partially with sqm disabled
<stintel> wtf
<stintel> memory corruption?
<rsalvaterra> stintel: Pause frames, maybe?
<stintel> ughh and I forgot to update sysupgrade to legacy-sdcard in my qoriq branch
<stintel> fuck me
<rsalvaterra> stintel: The M300 does ECC, if I'm not mistaken. Memory corruption would be highly unlikely.
goliath has quit [Quit: SIGSEGV]
<stintel> rsalvaterra: I meant due to a kernel bug or so
<stintel> fucking hell, and this is messing up my network stats so now I can't go to sleep
<rsalvaterra> That would still be very strange, though...
<rsalvaterra> Come on, it's just stats... :P
* rsalvaterra runs
Rentong has quit [Ping timeout: 480 seconds]
<stintel> oh bummer
<stintel> apparently this has been going on since I started using the m300
<stintel> but not 100% of the time, as I see some spikes of ~300Mbps RX
<rsalvaterra> Wait, but it's just the stats being miscalculated, the frames aren't actually being dropped, right?
<rsalvaterra> Or have I misunderstood?
<mangix> rsalvaterra: got ath79 devices?
<rsalvaterra> mangix: Connected through one as we speak (TL-WDR3600).
<stintel> rsalvaterra: it's just the stats that are wrong
<stintel> rsalvaterra: if the frames were being dropped I'd have a very flakey internet connection
<mangix> rsalvaterra: which version??
<rsalvaterra> mangix: Uh, the only one, I think?
* rsalvaterra goes to check
<mangix> ah nvm then
<rsalvaterra> mangix: The barcode sticker says 1.4.
<mangix> oh actually, the switch is the same
<rsalvaterra> AR8327
<mangix> yeah
<mangix> I'm trying and failing to convert users of that switch to qca8k
<rsalvaterra> Ooooh! DSA!
* rsalvaterra wants
<mangix> problem I currently have is that the ethernet interface isn't connecting to the switch
<mangix> I have no idea what's going on
dangole has quit [Remote host closed the connection]
<rsalvaterra> Oh, I thought the qca8k didn't support the AR8327 yet.
<mangix> it does with Ansuel's patches
<rsalvaterra> Nice!
<rsalvaterra> [ 1.099439] switch0: Atheros AR8327 rev. 4 switch registered on mdio.0
<rsalvaterra> This is what I see in the dmesg.
<mangix> yeah. that's the ar8216 driver.
<mangix> If nothing else, the experience taught me that with these older mips units, the second interface is not part of the switch.
<rsalvaterra> And in my system, it's connected to eth0, that's for sure.
<mangix> you don't have eth1?
<rsalvaterra> Nope. One-armed router.
<mangix> I assume this router is not to be used for testing? :)
<rsalvaterra> It is, but not until I return home from holidays. :)
<rsalvaterra> Until then, I can't afford to break it, since it's driving my internet connection (through a 4G USB modem).
<mangix> I'm currently testing with a serial connection to see if any lan1-4 interfaces show up.
<rsalvaterra> I've soldered a pin header too. :)
<mangix> No matter what I change it to I can't get the ethernet interface to connect to the switch
rua has joined #openwrt-devel
<rsalvaterra> The link is missing the line. :(
<stintel> it gets funkier
<stintel> I have a macvlan interface on top of eth1. stats for the macvlan interface are OK
<rsalvaterra> stintel: Am I safe to assume I can drop this now? https://github.com/rsalvaterra/openwrt/commit/24e7422a180727397471d8d6045fcfe261f5248f
Tianling_Shen has joined #openwrt-devel
<stintel> rsalvaterra: yes
<rsalvaterra> Thanks, dropped.
guifipedro has joined #openwrt-devel
<rsalvaterra> This laptop I'm using has the <> key broken, which is just peachy for working in the terminal. :P
guifipedro__ has quit [Read error: Connection reset by peer]
Tianling_Shen has left #openwrt-devel [#openwrt-devel]
CN_SZTL has joined #openwrt-devel
<stintel> rsalvaterra: this might as well be a 5.10 issue
<stintel> (the dropped packets)
<rsalvaterra> stintel: Hard to believe nobody noticed it, especially being a LTS kernel.
<stintel> rsalvaterra: it's macvlan related though
<rsalvaterra> Ok, that's probably why I haven't noticed it. :)
<rsalvaterra> What's your use case for macvlan in OpenWrt?
<rsalvaterra> Do you have containers, or something?
<stintel> basically if failover happens, backup router does DHCP on macvlan interface with same MAC as on the main router
<stintel> neat trick to survice TCP connections during failover :P
<rsalvaterra> Oh, neat!
<stintel> mentioned it earlier today, my network is probably more advanced than the average sme network :P:
<rsalvaterra> "Probably". :P
<rsalvaterra> I think you misspelled "provably". :D
<stintel> LOL