<Grommish>
The patch I linked matches up except where OpenWrt made struct changes and split off some of the defines
rua has quit [Ping timeout: 480 seconds]
<Grommish>
So dunno if it was just upstream changes and that debugfs dsa patch is just old, or if things were done inhouse to better define certain switches
<Grommish>
But.. I just know it's beyond my abilities right now to fix
<stintel>
I blame acme.sh for not automatically start using v2
<fda>
for my personal domains im using DNS-01 to be able to get wildcard certs. so the subdomains are no listed in official logs and dont get scanned all the time...
<stintel>
we seem to be using a mix of DNS-01 and HTTP-01
<stintel>
with acme.sh
<fda>
if you dont want wildcard, there is also a way to add custom hostnames
<stintel>
I use dehydrated myself, looks a bit cleaner than acme.sh imo
<fda>
btw i update acme.sh only if i have much time
<stintel>
anyway, I fixed it manually
<stintel>
our problem is that we don't have any monitoring at all
<stintel>
this would have catched the cert expiration before happening
<stintel>
DNS-01 HTTP-01 wildcard or not is not relevant here
<fda>
if you have only 1 cert for all subdomains, only 1 cert has to be monitored
<fda>
is there openwrt "status" page of all the servers?
<stintel>
fda: you're assuming everything runs on 1 server?
clef has joined #openwrt-devel
<fda>
i have a revers https-proxy for encryption
<fda>
so all (the) certs are on 1 device
<stintel>
yeah, single point of failure is not a great idea
<stintel>
that's almost enough to cover our entire DO cost
<stintel>
I'll just setup a new droplet with icinga
Acinonyx_ has joined #openwrt-devel
<fda>
i know only cacti and nagios
<fda>
and have never herad about icinga
<aiyion>
Good morning everyone. I got mail to verify a part of a partition was "writable U-boot environment" or not. How do I verify this using my serial console?
Acinonyx has quit [Ping timeout: 480 seconds]
<aiyion>
I saw uboot had some simple measures to write memory, (mm, mw, nm), is it about them?
clef has quit [Remote host closed the connection]
<aiyion>
Within the region to test there's a string "OMEGA" at 0x9F01FD00.
<aiyion>
I use "cp 0x9F01FD00 0x9F01FE00 3"
<aiyion>
and verify 0x9F01FE00 has not changed using "md 0x9F01FE00" which still just contains "FF"
danitool has joined #openwrt-devel
<PaulFertser>
aiyion: writable U-boot environment is the partition where it stores the variables you see with "printenv". In u-boot you modify them with "setenv" and store to flash with "saveenv".
<aiyion>
And in case saveenv does not exist?
<aiyion>
"## Error: unknown command 'saveenv'"
<aiyion>
setenv works; until I reboot. I suspect there is no environment for u-boot to store config.
<blocktrron_>
aiyion: there is none for your device
<aiyion>
Any ideas on how I should alter the partition layout regarding to the thread?
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
blocktrron has joined #openwrt-devel
blocktrron has quit []
goliath has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
<stintel>
hauke: thanks for review. fixed in https://git.openwrt.org/?p=openwrt/staging/stintel.git;a=shortlog;h=refs/heads/gcc10 - want me to respam everyone with a v2?
<hauke>
it could be a problem because the unpackged struct mbim_string was embedded into a packed structure
<ldir>
IIUIC the source buffer may not be aligned, that's what the compiler is warning about. The pointer to the structure may not be on a 4 byte boundary
<ldir>
And I guess we have no control of the source string(s)
<ldir>
I suspect the 'technically correct' solution is as I suggested, have a local ptr var (to mbim_string struct) and memcpy the source structure pointer value to that temp pointer var. The local ptr variable will be architecture aligned.
<ldir>
a very quick look at mbim_get/encode_string suggests to me we can guarantee 2 byte alignment but not 4
<ldir>
on the other hand I could be talking balls.
<stintel>
right, that sounds like something I stumbled upon, but couldn't find that anymore
<stintel>
alright, figured out the MTU thing on the M300
<stintel>
and now all the DSA MTU warnings are gone
<stintel>
woooot
<stintel>
there seems to be a brainfart in the dpaa/fman mtu handling
<stintel>
default fsl_fm_max_frm is 1522 but they substract (VLAN_ETH_HLEN + ETH_FCS_LEN) so max mtu for dpaa_eth is 1500 and vlan or dsa requires > 1500
<stintel>
fortunately I can override it on the cmdline: fsl_dpaa_fman.fsl_fm_max_frm=1522
<stintel>
just used the wrong prefix in my previous attempts
<stintel>
so now I have 8 working ethernet ports on the m300!
<stintel>
and let's see if that also fixes the "Err FD status = ..."
<stintel>
which I found that they are either frame size errors or header error
<stintel>
I kinda feel they will both be fixed by this mtu thing
clef has joined #openwrt-devel
clef_ has quit [Read error: No route to host]
Tapper has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
minimal has quit []
rmilecki has quit [Ping timeout: 480 seconds]
KGB-1 has quit [Remote host closed the connection]
lewellyn has joined #openwrt-devel
lewellyn has quit [Quit: Page closed]
rua has quit [Quit: Leaving.]
rsalvaterra has joined #openwrt-devel
<rsalvaterra>
stintel: I had a go at killing CONFIG_RCU_EXPERT from our configs. Want to take a look?
<stintel>
rsalvaterra: that shall be for tomorrow :)
<rsalvaterra>
stintel: Sure, it's late. I'll mail you the patch, then. :)
<stintel>
getting pretty close to fully working M300 btw :)
<stintel>
figured out the MTU errors during DSA config
<rsalvaterra>
I'm starting to think I should get one before you drive the market price up. :P
<stintel>
:D
<stintel>
but that means I have now 8 working ethernet ports
<rsalvaterra>
Oooooh, sweet!
Tapper has quit [Ping timeout: 480 seconds]
cp- has quit [Remote host closed the connection]
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
<digitalcircuit>
enyc, slh: Belatedly, thank you for the suggestions/talk. Update since then - the powered USB 3.0 hub doesn't stop the issue, either, so I'm on to trying the DTSI voltage boost as noted in https://lists.openwrt.org/pipermail/openwrt-devel/2021-August/036026.html - just need to research what a "safe" value to increase it by is.
<digitalcircuit>
To my frustration, /rarely/ the router still reboots with 1.4 GHz L2 cache frequency disabled. It's rare though; most of the times instead GNOME's GIO or OpenSSH or something dies instead (haven't tracked that down yet, but at the least the router itself seems unaffected, no reboot).
<digitalcircuit>
(Reboots happen much more reliably with L2 1.4 GHz enabled, so I think I'm encountering multiple unrelated issues with similar stressors/causes at the same time.)
rsalvaterra_ has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
rsalvaterra_ has quit []
rsalvaterra has quit [Ping timeout: 480 seconds]
Tusker has joined #openwrt-devel
Tapper has joined #openwrt-devel
<Tapper>
stintel that m300 looks like a cool devices. Where would one get there hands on one?
<stintel>
ebay indeed, but apparently it's not even EOL
<stintel>
I suspect more might become available after 12/2022
<slh>
based on your reports, I've been keeping my eyes open as well ;)
<stintel>
hah :)
<slh>
Tapper: two things to consider, it's a rack based device with active cooling
<stintel>
one thing I discovered though: my sqm slowness on apu2 might have been due to doing it on a macvlan device instead of on the underlying ethernet device :/
<Tapper>
O how load is it?
<Tapper>
loud*
<stintel>
so I'll be doing some new tests one of these days, with my now retired APU2 and my 2nd M300
<stintel>
you hear it but it's not crazy loud
<stintel>
well and it depends on the revision. some old models are crazy loud at startup
<Tapper>
stintel could you keep it in a room where people sit and wotch TV?
<Tapper>
and can you just set it on a desk?
<Tapper>
I don't have a rac to put it in.
<slh>
setting it on a desk, sure
<stintel>
that depends on your tolerance :)
<slh>
just glue 4 rubber feets beneath it
<stintel>
my workstation is not silent, and the 3kVA UPS below it even less, so it doesn't really bother me
<slh>
it's just relatively large, 1U high, 19" wide
<stintel>
and my home cinema can easily hide the noise anyway :P
<slh>
without owning one, I probably wouldn't quite consider it to be TV compatible through
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
<slh>
Tapper: do you have an ISP/ WAN speed upgrade ahead?
<Tapper>
slh I have 220 down and 22 up rite now, but my ISP can go up to 1 g down and 200 up
<Tapper>
it's VM UK
<Tapper>
I have a r7800 rite now but running SQM drops my speed to 165 down and 17 up
<Tusker>
i decided to stick to 100/40 and gain BGP instead of a speed upgrade
<Tapper>
My wrt3200acm with SQM was 150 down and 16.50 up
<Tapper>
The 8 ports would be a nice thing to.
<slh>
yep, sure - but unless you plan a real speed upgrade, I'd probably suggest a more living-room-compatible approach (passively cooled)