-
sjorge
danmcd not that it helps us at all, seem windows does implement IP(V6)_RECVERR, probbaly for WLS
-
sjorge
*WSL
-
sjorge
Also did some more digging on the code fragment, seems freebsd opts to lie about it by default ?
bxr.su/FreeBSD/sys/compat/linux/linux_mib.c#85
-
sjorge
So would something similar behind a tunable be OK ? That seems about the right amount I can chew and maybe not choke on
-
sjorge
-
sjorge
I guess we already lie the IP_RECVERR case?
-
sjorge
We're just missing it for the IPV6_RECVERR one I believe?
-
sjorge
So just adding an entry here
github.com/omniosorg/illumos-omnios…/brand/lx/syscall/lx_socket.c#L3353 for the IPV6 would should work I think, I wonder if I can just build the brand lib and test it easily
-
sjorge
-
xmerlin
what's the last tested virtio driver for the windows platform?
-
sjorge
danmcd I build illumos-omnios with the change, IIRC there is a trick to just lofs a library and boot an lx zone to have it use the new one right?
-
sjorge
But I can't find it
-
sjorge
I vaguely r emember it being on the old smartos wiki
-
sjorge
mount -O -F lofs /var/tmp/lx_brand.so.1.$$ /usr/lib/amd64/lx_brand.so.1
-
sjorge
I think it's this one
-
andyf
It looks like your change is in the kernel module, so unfortunately that won't do it.
-
andyf
I'm not sure on smartos, but on omnios it's probably easiest to create a new BE, mount it and copy the updated driver in, then activate and reboot.
-
sjorge
Well it's omnios :p
-
sjorge
But my build host is not my test host
-
sjorge
What's the kernel module path?
-
sjorge
I can beadm create, beadm mount, cp, ...
-
sjorge
I guess /usr/kernel/drv/adm74/lx_systrace ?
-
sjorge
actually no
-
sjorge
Probably /usr/kernel/brand/amd64/lx_brand
-
andyf
That looks right
-
sjorge
okidoki
-
sjorge
beadm activate -t is awesome for this :D
-
sjorge
I'll report back in the ticket I guess
-
danmcd
Yes, alternate BEs are you best bet in OmniOS for changes like this. (It inspired piadm(8) for standalone SmartOS.)
-
andyf
Thanks for digging into this sjorge
-
sjorge
Well it was either that, or fix mattermost go mess
-
sjorge
And well... one is a ugly place we don't venture into :D
-
andyf
It's just a lot of work I think, with a lot of places to touch.
-
sjorge
This seems like a better route, as that same error has been stopping me from running certain things in lx for a yearish or more
-
sjorge
root@lxubuntu:~# ping blackdot.be
-
sjorge
PING blackdot.be(blackdot.be (2a01:7e01::f03c:93ff:fe79:9d74)) 56 data bytes
-
sjorge
64 bytes from blackdot.be (2a01:7e01::f03c:93ff:fe79:9d74): icmp_seq=1 ttl=248 time=11.1 ms
-
sjorge
64 bytes from blackdot.be (2a01:7e01::f03c:93ff:fe79:9d74): icmp_seq=2 ttl=248 time=9.65 ms
-
sjorge
64 bytes from blackdot.be (2a01:7e01::f03c:93ff:fe79:9d74): icmp_seq=3 ttl=248 time=9.16 ms
-
sjorge
Hello
-
sjorge
This is new ^.^
-
sjorge
And I also found a work around for the other ipv6 issue I have open (the missing change from SmartOS)
-
sjorge
I can just not grab those addresses and take local-link + static by create a /etc/inet/ndpd.conf :D
-
sjorge
I'll do a PR and tag dan
-
papertigers
sjorge: nice work!
-
sjorge
-
sjorge
papertigers thanks
-
sjorge
Not that I'll go back for plex because NFS still acts weird and well I have a GPU passthru now :D but it's nice for some other stuff
-
papertigers
I checked last night actually...I still have 2 lx instances
-
sjorge
Well I'll prob move my mattermost I use for D&D from native -> lx given the build is broken and newer stuff doesn't build either
-
sjorge
And I'd rather deal with our kernel code than go
-
papertigers
sjorge: I tend to run a bunch of things via bhyve now. Alpine + cloud-init to do all the setup -- things are pretty automated now and I am happy with the setup.
-
papertigers
Although I may end up getting a PCIe card that does 2x or 4x nvme. It seems my spinning rust makes things noticibly slow
-
sjorge
yeah bhyve is generally very good, but the tiny amount of memory this needs doesn't justify a full vm with all the overhead
-
sjorge
all my stuff is on mirrored NVMe, at least the vms
-
andyf
I still have a couple of lx zones too, for things like a unifi controller it works very well so far.
-
papertigers
andyf: yeah I have the unifi controller and something called channelsdvr
-
sjorge
yeah, my main workload was plex which works ish, but has some weirdness from time to time
-
sjorge
with ipv6 fixed i just setup mattermost and imported my data 😃
-
andyf
This can't last for ever (as I say pretty much every year), but so far so good.
-
sjorge
once it's merged i'll properly redo it and move it over
-
danmcd
I have an editorial comment on your PR. Fix that and you'll get my +1 AND a pullover into SmartOS (just in time for this week's Triton-and-SmartOS release cycle).
-
wiedi
how are the numbers for name_to_major allocated in smartos? Can one just pick the next one?
-
jbk
pretty much..
-
danmcd
@sjorge --> jinni OS-8487
-
jinni
-
sjorge
danmcd OK, let me update the comment block
-
sjorge
done
-
wiedi
jbk: cool, thx - seems to work :)
-
danmcd
Approved, but I can't be an official approver on illumos-omnios (which makes sense). Once @andyf re-ups his +1 I'm sure you're good to go over there.
-
danmcd
And this WILL be landing in SmartOS 20230921.
-
sjorge
Yay!
-
sjorge
I'm mostly on OmniOS these days but I still got a few people into SmartOS that are still using it :p so it's nice it gets fixed everywhere
-
danmcd
-
sjorge
awesome!
-
sjorge
that was quick
-
danmcd
Easy to review... check.
-
danmcd
Well-documented testing... check.
-
danmcd
Good analysis, which I should've lead with... check.
-
danmcd
Thanks again, sjorge.
-
sjorge
just shows you how much i dislike dealing with go 😅
-
jbk
heh
-
jbk
go is fine for some things
-
jbk
but for others it's an absolute nightmare
-
jperkin
yup, it's like for every thing they got right, they had to make something equally terrible
-
jbk
interoperating with non-go code is horrible
-
jbk
and designing the language around the idea of issuing syscalls directly on linux was arguably a big misstep
-
jbk
since linux is pretty much the only os that has a stable syscall interface
-
jbk
windows, freebsd (with some caveats), illumos..none of them do
-
jbk
but my experience is it tends to push things towards rampant NIHism
-
jbk
often with inferior results
-
copec
The syscall api on Linux seems to be the only absolute stable thing because of Linus
-
jperkin
fast compilation: great! patching go modules: atrocious! cross-compilation: great! per-opsys patches: atrocious!
-
copec
Linux is a big collection of fastpaths
-
copec
I had a university class on assembly in 99' - We learned x86 assembly on Linux, made all the kernel calls directly
-
copec
heh
-
sjorge
jperkin: do you happen to know if pkgsrc has an up to date mattermost package on illumos?
-
jperkin
sjorge: it does not, if it'd be useful I can update and add it
-
jperkin
current one is from 2020
-
sjorge
the one in omnios is also rather old and has a bunch of security fixes missing
-
sjorge
that why I asked, looks like it would be about the same
-
jperkin
I get the feeling that not many people use it anymore so there's no interest in maintainers, but I could be wrong?
-
sjorge
seems some of the deps for the newer ones are not illumos friendly
-
sjorge
probably not worth spending time trying to update it
-
sjorge
well, i mostly gave up on it 😅
-
jperkin
there seems to be more interest in e.g. matrix so there are a few people keeping synapse up to date, etc.
-
bahamat
We had used XMPP at Joyent, and a lot of people wanted something different. There was a split between Matrix and Slack, and Mattermost was chosen as the compromise.
-
bahamat
But after a while, the cost of MM was about the same as the cost of Slack, but without having to expend any time on it, so we just switched to Slack.
-
jbk
and all of those beat teams :)
-
jbk
i still think that new vocabularly is needed to properly convey how horrible of a product it is :)
-
nbjoerg
I find it funny that MS actually got a anti-monopoly probe over teams
-
jbk
well a lot of places that are just looking at $$ will switch to it over other solutions
-
jbk
because it's bundled w/ their other offerings
-
jbk
(I still half think they created it as a way to fend off competition)
-
jbk
basically get any potential competitiors to use it and kill their productivity :)
-
sjorge
$work ditches slack, and we're on teams now 😑
-
sjorge
so i installed MM for a few collegues to still have a spot to talk about anime and stuff
-
jbk
my condolences
-
sjorge
thanks, it's horrible
-
jbk
it is
-
jbk
we use it here and it's awful
-
jbk
like one channel it frequently forgets how to scroll properly
-
sjorge
yeah, we switched 2 weeks ago
-
sjorge
and stuff just shows up 2 days later sometimes
-
jbk
randomly it switches to right->left for text entry (i suppose if you wanted to type hebrew or another language that does that)
-
sjorge
integrations are a pain too
-
jbk
...
-
sjorge
oh yeah and posting a code snippet is just ... yeah pain
-
jbk
yes.. the way it does that is also terrible
-
sjorge
i wish it just had a pure time based chat