-
tsoome
andyf how far are we about switching to gcc 10?
-
andyf
I think we could do it. OmniOS has already switched and the only thing that has showed up as a problem since is the boot cpuid thing you already fixed. There are probably other issues but we won't find them without switching.
-
andyf
There's one issue I had marked as a pre-requisite, but having gone through it I don't think it is, let me dig it out
-
andyf
illumos 14421 (fenix) is the master issue
-
fenix
FEATURE 14421: use GCC 10 as default primary compiler (In Progress)
-
fenix
-
andyf
and illumos 14749 (fenix) is the last piece I was looking at
-
fenix
FEATURE 14749: gcc10 build should use -ftoplevel-reorder (New)
-
fenix
-
andyf
The thing is that gcc10 does not strip unused static functions by default, unless you use -ftoplevel-reorder, and if you use that then you lose a load of global statics which are only read too (due to constant folding)
-
andyf
So I played around with different optimisation options etc. but in the end I don't think we want to strip all of the static global variables
-
andyf
We definitely should go through and remove the static qualifier from any which are supposed to be tunables anyway, but not as a blocker for switching to gcc10.
-
danmcd
ping tsoome
-
danmcd
Testing the upstream merge which includes 14970 seems to break nfs-server-in-a-zone for TWO of my three zones.
-
danmcd
The workaround is to set mountd_remote_dump to true, which seems to cure the problem.
-
tsoome
breaks how?
-
danmcd
nfs/server goes into maintenance.
-
danmcd
I see one possible problem that might be specific to SmartOS. Diving into it now.
-
tsoome
does it tell why it cant get online?
-
danmcd
What's WEIRD is that ONE of my nfs-serving zones isn't affected when mountd_remote_dump is false.
-
danmcd
No.
-
danmcd
mountd just returns '1'.
-
tsoome
ok, if you get name from hostname commands, does it resolve to ip?
-
tsoome
this code does add 2 cases when we exit(1) -- from gethostname() and from getaddrinfo()
-
danmcd
Hang on.
-
danmcd
WOW! Okay, this might be operator error on my part. Please hold...
-
tsoome
we also do: syslog(LOG_ERR, "gethostname() failed"); and syslog(LOG_ERR, "getaddrinfo() failed");
-
danmcd
Sonofabitch, that's it.
-
danmcd
So my two failing ones were build2 and build3. Their /etc/nodename values were build-2 and build-3, but those don't have DNS entries.
-
danmcd
Fix the DNS, fix the problem. Alternatively I could have fixed /etc/nodename to be build2 and build3.
-
danmcd
Okay, I think I'm set, and I've bonus-tested your new feature. :)
-
danmcd
(The one that worked already was "build" )
-
tsoome
The background is that nfs related commands do rely on hostname having ip address -- see showmount(8) for example. Thats why I did add check for IP for hostname. Altho, maybe we should ignore failing getaddrinfo()...
-
danmcd
I see them:
-
danmcd
/var/adm/messages:2022-09-22T11:10:47+00:00 smartos-build-3 mountd[11959]: [ID 115315 user.error] getaddrinfo() failed
-
danmcd
Okay, crisis averted, no need to seize up the release. Thank you tsoome!
-
tsoome
you are welcome
-
danmcd
(I was looking for them in syslog not messages.)
-
tsoome
it was nice from Delphix to write test for btree, but why bugs in it....
-
tsoome
fortunately smatch did find those.
-
yuripv
that could be turned into a template: "it was nice from <insert-name> to write <insert-product>, but why bugs in it" :D
-
tsoome
:D
-
tsoome
I hope it is not c++;)
-
otis
or /* XXX: how this even work? */
-
tsoome
It was working, just leaking a bit;)
-
Woodstock
did anyone here ever run illumos with X on a thinkpad w530 with nvidia k2000m gpu?
-
travisp
Woodstock: I successfully ran OpenIndiana on a Thinkpad T530, I can't recall the specific nvidia chip it has but might be able to check later today.
-
pmooney
mini-survey: how many folks' build pipelines would be inconvenienced if mail_msg was instead named mail_msg.txt (to make for easier handling in webmail clients and the like)
-
tsoome
pmooney does not matter for me:)
-
Woodstock
.txt is fine
-
danmcd
I'll have to look... would appreciate a diff so I can test it on a branch build, however.
-
danmcd
Looks like I'd need to change a line in smartos-live:
-
danmcd
tools/build_illumos: mail_msg=$PWD/log/$log_dir/mail_msg
-
danmcd
I'm generally in favor of mail_msg.txt, however, given Mail.app's historical munging of vanilla mail_msg.
-
andyf
It's probably easier than getting people to set their MIME types properly when sending in RTI emails..
-
andyf
There's tooling that would need adjusting in several places in OmniOS but it's all possible
-
pmooney
andyf: that presumes a mail client which even lets you set the mime type
-
danmcd
^^^
-
pmooney
(and one which heeds it on the receiving end)
-
danmcd
Also ^^^
-
rzezeski
I think mail_msg.txt would be nice, I think the last few times I sent an RTI I added .txt extension
-
jclulow
If we're going to rename it, probably "summary.txt" would make more sense?
-
jclulow
-
fenix
→
BUG 14516: build summary should have an explicit success/failure message (New)
-
pmooney
what if the result is at the bottom?
-
pmooney
(probably easier to implement)
-
pmooney
rather than having to cat it again, I assume
-
jclulow
We already do that for the full build time
-
pmooney
mm, true
-
jclulow
I think it being at the top is useful
-
pmooney
I guess another question is: should it still be "sending" email
-
jclulow
ha ha
-
jclulow
Probably not
-
pmooney
as someone who has "mail<cr>d<cr>" in muscle memory
-
jclulow
no mailx? :D
-
jclulow
But yes, it seems somewhat anachronistic to send mail by default
-
pmooney
well, I guess that's flag-controlled
-
pmooney
time to PR a change to the defaults shipped by omnios, haha
-
gitomat
[illumos-gate] 14485 bhyve needs better cpuid control -- Patrick Mooney <pmooney⊙pc>
-
rzezeski
I like all these ideas
-
dangergrrl
mail is often unimplemented by the local admin these days when all the world is a firewall
-
dangergrrl
I have nginx working but i use dyndns so no way to get email on my domains and i am savvy enough to own some
-
dangergrrl
gigabit fiber is $65 here with random IP addresses and $300 for a /24
-
dangergrrl
so i have a great connection but my servers need dynamic ip, i can't afford static... perhaps a dynamic ip redirector should be part of core?
-
dangergrrl
and sorry but it's time for project pitchfork
-
dangergrrl
at any rate i strongly prefer illumos for a server, my raspi running linux is ok but...
-
gitomat
[illumos-gate] 14997 unnecessary jmp in desctbls_asm.s -- Dan Cross <cross⊙oc>
-
jclulow
pmooney: The thing with the flag is, will we still generate the mail_msg if we're not mailing?
-
jclulow
That's why I have never tried turning it off haha
-
pmooney
jclulow: it appears that the flag only controls sending of the mail, not generation of the mail_msg
-
jclulow
ah good
-
pmooney
indeed
-
dangergrrl
why would you not have a mailer configured even if
mailto:root is effectively /dev/null?
-
dangergrrl
i wish to understand your reasoning
-
jclulow
There is really no reason to have a mailer running at all if you are not intending to send mail or read mail
-
dangergrrl
uhm, it's traditional?
-
jclulow
If you go back far enough, panicking instead of returning EIO is traditional
-
dangergrrl
mailto:root is for stuff you would rather ignore oif lazy :)
-
dangergrrl
indeed
-
jclulow
But sendmail is a security and configuration nightmare, and the better mailers are all similarly complex -- except for the ones that basically just use a smarthost unconditionally, but then for those, you need a smarthost
-
jclulow
It's really hard to send SMTP mail in 2022 without a bunch of ongoing work
-
dangergrrl
sendmail is indeed a nightmare, i usually use whatever is the current smail3 derivative
-
jclulow
The only thing on the system that routinely sends mail is cron, and we could instead provide an option to write that into a tree of log files and then there would be no requirement
-
dangergrrl
sorry, listening to ilatian/german musik
-
dangergrrl
ilatian, is that a new word, it's mo-Do
-
dangergrrl
who actually reads log files?
-
dangergrrl
i know you should
-
dangergrrl
but who does in 2022?
-
dangergrrl
our unix boxes are mostly toys by now
-
dangergrrl
please send me a deprecating answer
-
jclulow
I read them when something breaks
-
dangergrrl
i call here when something breaks and usually someone like danmcd has it fixed in under 30 minutes :) thanks danmcd
-
dangergrrl
i try to fix it myself but you guys are too cool to let me
-
dangergrrl
and yes you are supposed to chuckle at that
-
dangergrrl
someone even taught me to use the kernel debugger which could seriously use some symbolic features
-
jclulow
It has symbolic features, it just doesn't have source-level debugging features
-
dangergrrl
i can read assembly but random 64 bit addresses are odd'
-
dangergrrl
jclulow i am not insulting
-
dangergrrl
i should be able to fix it
-
jclulow
Most of the addresses you see probably don't _have_ a symbol
-
jclulow
They're often the address of a stack frame or something from kmem_alloc() etc
-
dangergrrl
i have not seen that much JIT but i digress
-
dangergrrl
anyway i don't understand at all how you get away with such few locking structures
-
dangergrrl
and i must rest for q5h
-
dangergrrl
i am old and we had to lock every object before use
-
tsoome
anyone recently run zfs-tests?
-
tsoome
my attempt is stuck with zfs hung due to testpool with faulted device or somesuch. time to trigger panic and get dump....
-
danmcd
I've run some, but on SmartOS so there are ones that get skipped that might not get skipped in upstream illumos, etc. etc.
-
tsoome
understandable.
-
danmcd
Which test is hanging for you tsoome?
-
tsoome
last one in log was setting the gzip levels, but I'll try to get some bits out from dump once I get the update done:)
-
rzezeski
> It has symbolic features, it just doesn't have source-level debugging features
-
rzezeski
jclulow: what if Robert reads this while on the plane?
-
jclulow
Fortunately he is I think watching a movie and trying to sleep
-
rzezeski
Robert you enjoy to have a peaceful vacation :)
-
danmcd
I hope he isn't reading this on a plane!
-
danmcd
What does the last line in your log say? I can see how it corresponds to my didn't-panic run (and determine if it's one that got disabled or not).
-
rzezeski
This is why I used this full name, hopefully he doesn't alert on that, haha
-
dangergrrl
you know drobbins (funtoo) stopped trusting zfs like 2 years ago... :)
-
dangergrrl
there was a data loss bug iirc and as if btrfs is better
-
dangergrrl
and it could have been the linux porting team's fault so who knows, stuff breaks
-
dangergrrl
00000000
-
dangergrrl
oops
-
dangergrrl
now you know my client uses insecure passwords
-
jbk
nice.. wasn't too bad to add mDNS support to smbd (right now just advertising _smb._tcp)
-
jbk
now to deal with shares..
-
travisp
Woodstock: my T530 has a different GPU: NVS 5400M though FWIW it works well on OI