07:31:39 andyf how far are we about switching to gcc 10? 09:45:25 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. 09:45:51 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 09:46:58 illumos 14421 (fenix) is the master issue 09:47:00 FEATURE 14421: use GCC 10 as default primary compiler (In Progress) 09:47:00 ↳ https://www.illumos.org/issues/14421 09:47:23 and illumos 14749 (fenix) is the last piece I was looking at 09:47:24 FEATURE 14749: gcc10 build should use -ftoplevel-reorder (New) 09:47:24 ↳ https://www.illumos.org/issues/14749 09:48:19 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) 09:48:49 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 09:49:21 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. 11:16:16 ping tsoome 11:17:41 Testing the upstream merge which includes 14970 seems to break nfs-server-in-a-zone for TWO of my three zones. 11:19:15 The workaround is to set mountd_remote_dump to true, which seems to cure the problem. 11:20:40 breaks how? 11:21:07 nfs/server goes into maintenance. 11:21:20 I see one possible problem that might be specific to SmartOS. Diving into it now. 11:21:42 does it tell why it cant get online? 11:21:45 What's WEIRD is that ONE of my nfs-serving zones isn't affected when mountd_remote_dump is false. 11:21:46 No. 11:21:52 mountd just returns '1'. 11:22:33 ok, if you get name from hostname commands, does it resolve to ip? 11:24:18 this code does add 2 cases when we exit(1) -- from gethostname() and from getaddrinfo() 11:24:32 Hang on. 11:25:10 WOW! Okay, this might be operator error on my part. Please hold... 11:25:38 we also do: syslog(LOG_ERR, "gethostname() failed"); and syslog(LOG_ERR, "getaddrinfo() failed"); 11:26:53 Sonofabitch, that's it. 11:27:28 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. 11:27:48 Fix the DNS, fix the problem. Alternatively I could have fixed /etc/nodename to be build2 and build3. 11:28:05 Okay, I think I'm set, and I've bonus-tested your new feature. :) 11:28:16 (The one that worked already was "build" ) 11:30:05 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()... 11:30:28 I see them: 11:30:55 /var/adm/messages:2022-09-22T11:10:47+00:00 smartos-build-3 mountd[11959]: [ID 115315 user.error] getaddrinfo() failed 11:31:17 Okay, crisis averted, no need to seize up the release. Thank you tsoome! 11:31:33 you are welcome 11:31:35 (I was looking for them in syslog not messages.) 11:52:26 it was nice from Delphix to write test for btree, but why bugs in it.... 11:54:39 fortunately smatch did find those. 13:13:21 that could be turned into a template: "it was nice from to write , but why bugs in it" :D 13:31:29 :D 13:31:56 I hope it is not c++;) 13:42:06 or /* XXX: how this even work? */ 14:02:33 It was working, just leaking a bit;) 14:08:32 did anyone here ever run illumos with X on a thinkpad w530 with nvidia k2000m gpu? 15:20:47 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. 16:08:17 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) 16:10:25 pmooney does not matter for me:) 16:15:51 .txt is fine 16:33:11 I'll have to look... would appreciate a diff so I can test it on a branch build, however. 16:33:53 Looks like I'd need to change a line in smartos-live: 16:33:54 tools/build_illumos: mail_msg=$PWD/log/$log_dir/mail_msg 16:34:30 I'm generally in favor of mail_msg.txt, however, given Mail.app's historical munging of vanilla mail_msg. 16:37:10 It's probably easier than getting people to set their MIME types properly when sending in RTI emails.. 16:37:42 There's tooling that would need adjusting in several places in OmniOS but it's all possible 16:51:46 andyf: that presumes a mail client which even lets you set the mime type 16:52:24 ^^^ 16:52:28 (and one which heeds it on the receiving end) 16:52:33 Also ^^^ 17:20:32 I think mail_msg.txt would be nice, I think the last few times I sent an RTI I added .txt extension 17:24:21 If we're going to rename it, probably "summary.txt" would make more sense? 17:24:56 also we should do https://www.illumos.org/issues/14516 17:24:57 → BUG 14516: build summary should have an explicit success/failure message (New) 17:27:28 what if the result is at the bottom? 17:27:34 (probably easier to implement) 17:27:43 rather than having to cat it again, I assume 17:41:46 We already do that for the full build time 17:41:55 mm, true 17:42:23 I think it being at the top is useful 17:42:30 I guess another question is: should it still be "sending" email 17:42:49 ha ha 17:42:52 Probably not 17:42:53 as someone who has "maild" in muscle memory 17:43:02 no mailx? :D 17:43:30 But yes, it seems somewhat anachronistic to send mail by default 17:44:40 well, I guess that's flag-controlled 17:45:04 time to PR a change to the defaults shipped by omnios, haha 17:57:48 [illumos-gate] 14485 bhyve needs better cpuid control -- Patrick Mooney 18:21:00 I like all these ideas 18:49:35 mail is often unimplemented by the local admin these days when all the world is a firewall 18:50:37 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 18:51:27 gigabit fiber is $65 here with random IP addresses and $300 for a /24 18:54:15 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? 18:55:18 and sorry but it's time for project pitchfork 18:56:11 at any rate i strongly prefer illumos for a server, my raspi running linux is ok but... 18:56:19 [illumos-gate] 14997 unnecessary jmp in desctbls_asm.s -- Dan Cross 19:02:12 pmooney: The thing with the flag is, will we still generate the mail_msg if we're not mailing? 19:02:20 That's why I have never tried turning it off haha 19:02:47 jclulow: it appears that the flag only controls sending of the mail, not generation of the mail_msg 19:02:55 ah good 19:03:07 indeed 19:05:54 why would you not have a mailer configured even if mailto:root is effectively /dev/null? 19:06:27 i wish to understand your reasoning 19:06:34 There is really no reason to have a mailer running at all if you are not intending to send mail or read mail 19:06:51 uhm, it's traditional? 19:07:10 If you go back far enough, panicking instead of returning EIO is traditional 19:07:27 mailto:root is for stuff you would rather ignore oif lazy :) 19:07:31 indeed 19:08:09 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 19:08:38 It's really hard to send SMTP mail in 2022 without a bunch of ongoing work 19:08:51 sendmail is indeed a nightmare, i usually use whatever is the current smail3 derivative 19:09:17 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 19:09:22 sorry, listening to ilatian/german musik 19:09:54 ilatian, is that a new word, it's mo-Do 19:10:50 who actually reads log files? 19:11:02 i know you should 19:11:11 but who does in 2022? 19:11:29 our unix boxes are mostly toys by now 19:11:54 please send me a deprecating answer 19:12:00 I read them when something breaks 19:13:22 i call here when something breaks and usually someone like danmcd has it fixed in under 30 minutes :) thanks danmcd 19:13:48 i try to fix it myself but you guys are too cool to let me 19:14:10 and yes you are supposed to chuckle at that 19:15:09 someone even taught me to use the kernel debugger which could seriously use some symbolic features 19:15:39 It has symbolic features, it just doesn't have source-level debugging features 19:15:49 i can read assembly but random 64 bit addresses are odd' 19:16:18 jclulow i am not insulting 19:16:44 i should be able to fix it 19:16:45 Most of the addresses you see probably don't _have_ a symbol 19:17:15 They're often the address of a stack frame or something from kmem_alloc() etc 19:18:55 i have not seen that much JIT but i digress 19:36:59 anyway i don't understand at all how you get away with such few locking structures 19:37:15 and i must rest for q5h 19:37:51 i am old and we had to lock every object before use 19:50:22 anyone recently run zfs-tests? 19:54:12 my attempt is stuck with zfs hung due to testpool with faulted device or somesuch. time to trigger panic and get dump.... 20:01:06 I've run some, but on SmartOS so there are ones that get skipped that might not get skipped in upstream illumos, etc. etc. 20:08:17 understandable. 20:10:04 Which test is hanging for you tsoome? 20:10:54 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:) 20:12:05 > It has symbolic features, it just doesn't have source-level debugging features 20:12:13 jclulow: what if Robert reads this while on the plane? 20:12:36 Fortunately he is I think watching a movie and trying to sleep 20:12:42 Robert you enjoy to have a peaceful vacation :) 20:16:53 I hope he isn't reading this on a plane! 20:19:19 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). 20:21:05 This is why I used this full name, hopefully he doesn't alert on that, haha 21:26:34 you know drobbins (funtoo) stopped trusting zfs like 2 years ago... :) 21:27:14 there was a data loss bug iirc and as if btrfs is better 21:28:21 and it could have been the linux porting team's fault so who knows, stuff breaks 21:29:27 00000000 21:29:45 oops 21:29:59 now you know my client uses insecure passwords 23:39:48 nice.. wasn't too bad to add mDNS support to smbd (right now just advertising _smb._tcp) 23:40:31 now to deal with shares.. 23:45:53 Woodstock: my T530 has a different GPU: NVS 5400M though FWIW it works well on OI