-
gitomat
[illumos-gate] 16233 pcieadm readiness time reporting decoding -- Robert Mustacchi <rm⊙fo>
-
gitomat
[illumos-gate] 7125 Provide execvpe -- Robert Mustacchi <rm⊙fo>
-
CutieMelo
Which usb wifi dongle does illumos have support for? I have a realtek card and it obviously doesnt have drivers for it so I need an external one for my laptop
-
tsoome
CutieMelo have no idea really, sorry.
-
CutieMelo
okay
-
antranigv
Hello! I will be giving an illumos talk today at a local event... if anyone can check my slides for mistakes, will be very happy :)
antranigv.am/misc/OmniOS.pdf
-
antranigv
I will also try to record the talk, altho it will probably be in Armenian, depending on the audience.
-
ptribble
You could mention LibreOffice (ex-OpenOffice, ex-StarOffice) as another thing to have come, albeit indirectly, from Sun
-
KungFuJesus
Any chance this can get attention again?
illumos.org/issues/15024
-
fenix
→
BUG 15024: NFS can exhaust pool threads getting RPCSEC_GSS credentials (In Progress) |
code.illumos.org/c/illumos-gate/+/2402
-
KungFuJesus
we had this issue yet again today where the machine was basically non-responsive, with this error message: /usr/lib/nfs/nfsd[771]: [ID 791759 daemon.error] t_rcvrel(file descriptor 552/transport tcp) Resource temporarily unavailable
-
jbk
hrm.. i bet matt forgot about it... i can ping him after this meeting
-
rzezeski
oh, these thread names in prstat -L are fancy. I don't remember this. Is this new(ish)?
-
jbk
2018
-
jbk
which for the illumos code base, could still qualify as 'new' (relatively speaking) :)
-
paulf
-
jbk
the whole change was started because someone (I think I remember who) was whining about how smartos didn't have it
-
paulf
well it is _np
-
rzezeski
honestly I probably just never ran things that used it, I was just watching the build with prstat -L and noticed it for some binaries. Not sure how useful it is but it looks cool.
-
jbk
i can't recall which ones jlevon added, but for the bits I did, I tried to pick things where I thought it would be useful to be able to tell what was going on
-
andyf
It's been useful for bhyve processes
-
jlevon
rzezeski: whenever you have a number of otherwise identical worker threads it's very handy
-
rzezeski
good to know
-
jbk
rzezeski: similar motivation for ptree -g (whining)
-
sommerfeld
hmm, ptree -g doesn't use the box characters for me as I use a hybrid locale (mix of C and C.UTF-8)
-
sommerfeld
setlocale returns something like "C.UTF-8/C.UTF-8/C.UTF-8/C/C.UTF-8/C.UTF-8"
-
sommerfeld
ptree.c should probably use LC_MESSAGES rather than LC_ALL ..
-
sommerfeld
(I set LC_COLLATE=C because I don't like how LC_COLLATE=C.UTF-8 sorts things)
-
rmustacc
MESSAGES doesn't feel right there, tbh.
-
rmustacc
As I thought that was just about translation and not what you can accept, but hard to say.
-
sommerfeld
Perhaps "if (p != NULL && (p[5] == '\0') || (p[5] == '/'))"
-
sommerfeld
intent: if any locale component ends in UTF-8, we assume you can cope with UTF-8 output on stdout.
-
sommerfeld
parens not right in the above but you get the idea
-
sommerfeld
sqlite3 just sends the box characters if you say .mode box without doing any other checks.
-
jbk
maaaybe LC_CTYPE since that determines (among other things) what is printable? I think LC_ALL was just the more conservative choice at the time
-
rmustacc
jbk: Yeah, I guess if it's not printable we wouldn't want to. So maybe that's the least bad option.
-
copec
tozhu left, but their NVMeoF vs NVMe/TCP vs iSCSI results made me think they hadn't tuned any TCP/IP settings under the Linux kernel
-
tomww
is it possible to run a command with memory-limit? e.g. ctrun -o max-virtuelmem=1G thisprogram ?
-
ptribble
How about ulimit -v ?
-
ptribble
(The snag there being that it applies to the current shell, so you can't set it too low or that gets killed off.)
-
richlowe
we don't support rctl's to -o no
-
richlowe
but supporting rctls like that somewhere sounds great
-
richlowe
for contracts
-
sommerfeld
I don't think we have virtual memory limits at contract/task/project scope - only zone and process scope if I'm reading correctly
-
sommerfeld
I used to run firefox with a memory limit (ulimit) but then it went multiprocess and that became ineffective...
-
antranigv
hmm... dmake: Warning: Command failed for target `pics/ctf_create.o'
-
antranigv
I wonder if I missed something from the building docs
-
antranigv
trying again
-
richlowe
antranigv: the useful message is usually the one before the first instance of "*** Error code"
-
richlowe
`less '+/Error code' log/latest/nightly.log` and then scroll up a bit :)
-
tomww
thank you all! At the moment I test smth like "unlimit -v 100000"
-
tomww
something like the ctrun with the usual resource controles from prctl/projects/... would be very neat. Doesn't need the workaround of defining projects and such. Just put in your script or crontab ctrun -o mem=1g thisprogram
-
tomww
it could be wrapper that creates a random project on the fly and spawns the badly behaving program just into that context
-
gitomat
[illumos-gate] 16246 ttymon: tty-mode line is not read when terminal name is set -- Toomas Soome <tsoome⊙mc>
-
antranigv
Turn out here's the issue... dmake: Warning: Command failed for target `smatch.o'
-
antranigv
but I have no idea where that target comes from
-
antranigv
-
tsoome
this is the reason: sh: /usr/gcc/10/bin/gcc: not found [No such file or directory]
-
antranigv
huh.....
-
antranigv
I thought illumos-tools from OmniOS would download that automatically
-
tsoome
if you are building in omnios, it is in /opt/gcc-10
-
antranigv
ahaaaaa
-
tsoome
your env file is to blame
-
tsoome
you need omnios-illumos
-
antranigv
I just copied the default one from illumos-gate... I'll go over the docs again, maybe I missed that step :))
-
antranigv
for now I'll modify the illumos.sh file manually as much as I can, just to learn more about it.
-
andyf
Yes, you need the file in /opt/onbld/env/omnios-illumos-gate or one of the ones from
downloads.omnios.org/env
-
andyf
The one in gate is pretty much set up for OpenIndiana as far as I remember
-
sommerfeld
It's close but not quite right for OpenIndiana
-
sommerfeld
I have to set PKGVERS_BRANCH and several PERL_* variables.
-
andyf
I should probably dust off
illumos.org/rb/r/2360
-
sommerfeld
BTW, stumbled across a bit of an oddity in our terminal code which trips up Python.
github.com/illumos/illumos-gate/bla…/src/uts/common/io/ptem.c#L936-L943
-
sommerfeld
you can't get the window size of a freshly created pty until you set it once.
-
andyf
Ah, that rings a bell
-
sommerfeld
and python refuses to set the window size until it gets it once.
-
sommerfeld
I think the linked lines should just be purged.
-
sommerfeld
(to be more precise, you get an EINVAL if all four dimensions are zero)
-
andyf
-
sommerfeld
-
andyf
I prefer yours, and yes, those lines do look rodd.
-
andyf
and odd too
-
antranigv
how long does it take to make a full build... usually? I have a pretty modern system (24 cores, 46GB of RAM, AMD EPYC 77something)
-
andyf
53 minutes was the last one I did - that's both non-DEBUG and DEBUG, and using both shadow compilers.
-
sommerfeld
I have a system with 4 cores/8 hyperthreads and 24G and it takes 2+ hours with shadow compilation and both DEBUG & non-DEBUG
-
andyf
Looking at the build logs (mail_msg) that people submit along with changes to the
illumos.topicbox.com/groups/advocates is quite useful
-
tsoome
RTI builds are supposed to be debug+non-debug, on my system its about 50 minutes
-
andyf
-
sommerfeld
I'm overdue for an upgrade :-)
-
antranigv
==== Total build time ==== real 0:35:00
-
antranigv
Not sure if this was DEBUG or not... have to check the default env file...
-
andyf
The mail_msg file under log/latest/ will have the details
-
andyf
and show you which shadow compilers were used too
-
antranigv
I should get a package dir... no? I don't have it
-
andyf
unless there was a build error, yes, mail_msg will tell you
-
antranigv
I see
-
antranigv
I also see errors
-
antranigv
ah... perl :))
-
jbk
i really need to pick back up my 'theperlthe' branch
-
gitomat
[illumos-gate] 16226 yacc: remove WSFMT macro -- Toomas Soome <tsoome⊙mc>
-
antranigv
Now this is new for me. After running nightly.sh, I see that a large number of files are untracked (according to git status), is that normal or am I doing something wrong?
-
antranigv
ah, I see, untracked... not modified
-
sommerfeld
yes, that's normal
-
antranigv
they are the generated files
-
sommerfeld
most people set status.showUntrackedFiles=no
-
antranigv
So... it's done... can I just run software now or do I always need to use `onu` to install it?
-
antranigv
according to onu, nope, I need to install in a BE. okay, when I guess I can mount the BE and... run it as a zone?
-
rmustacc
In terms of running the software, depends what you modified.
-
rmustacc
In general I don't recommend a zone based on a disjoint BE.
-
rmustacc
Most things need to be in sync (e.g. libc / kernel and other private interfaces), but depends a lot on what you modified.
-
rmustacc
If I just modified a single binary to fix something or library, I often cheat and lofs mount or similar.
-
rmustacc
But it all depends on the specifics.