-
alanc
-
richlowe
yeah, I started from the first message I saw, read the comment and went "Huh?"
-
richlowe
and then scrolled back to where we were already screwed
-
sommerfeld
richlowe: if all else fails, git bisect between 2.39 and 2.40 might at least generate a suspect.
-
jperkin
richlowe: yeh sorry I just didn't have time to be helpful for upstream, already spent hours through a weekend with covid to get pkgsrc back up and running
-
grumb
Huge group see you in a bit
-
grumb
Chose this cos said easier. In order to learn Unix commands.
-
tsoome_
hello
-
grumb
Hi all Tsoome especially
-
tsoome_
.oO
-
denk
tsoome_: are you surprised you are a big star? next stage is a surernova :)
-
tsoome_
im no star:)
-
denk
then black hole aka /dev/null
-
grumb
Better sunny than starry
-
tsoome_
true
-
tsoome_
hm, i have tail again.
-
gitomat
[illumos-gate] 15355 zfstest: rwx_node() should use true instead of ls -- Toomas Soome <tsoome⊙mc>
-
danmcd
-
tsoome
and the whell is running again:)
-
tsoome
wheel*
-
igork
hi all, could someone try to check on latest illumos with installed but not run zone:
-
igork
chroot /zones/zbu1/root id
-
igork
what you can see ?
-
igork
danmcd: thx
-
richlowe
jperkin: I have a fix, and when it's a bit better I'll send it out, it's all good.
-
nahamu
jperkin: oof. I hope you're feeling a bit better or if not that you start feeling better soon!
-
jclulow
igork: You might need to install an illumos-based system and check.
-
richlowe
is there a way to make cstyle happy about c99 cpp stringification?
-
richlowe
andyf?
-
richlowe
common/elfdump.c: 885: preprocessor statement not in column 1
-
richlowe
that's 'cos it's not a pre-processor statement, exactly...
-
tsoome
-
fenix
→ CODE REVIEW 2082: 14596 cstyle should allow empty increment with for loop (NEW) |
illumos.org/issues/14596
-
richlowe
tsoome: what happens if you try to read a flexible member in D? I don't remember if tries to bounds check
-
richlowe
or if there's any knock-on from it being void-y
-
tsoome
um, only automatic check could be based on structure size - if so, you would get error.
-
tsoome
I guess, the easiest check would be with ncache_t from sys/dnlc.h
-
richlowe
the gstrip bug is #15361 (fenix?) if distribution folks want something to watch (andyf, jperkin, etc.)
-
fenix
BUG 15361: ld doesn't fill out PT_DYNAMIC sufficiently for binutils 2.40 (In Progress)
-
fenix
-
andyf
richlowe - thanks!
-
tsoome
richlowe: dtrace: error on enabled probe ID 1 (ID 8207: fbt:genunix:dnlc_search:return): invalid address (0x24) in action #2 at DIF offset 12
-
tsoome
thats from referencing char name[].
-
richlowe
seems unfortunate?
-
richlowe
you'd need someone smarter than me to tell though.
-
tsoome
oh, it was my bad, NULL pointer:D
-
toasterson
There seems to be a joke about Java and D and Nullpointers in there. I just cant get to it
-
Luser0
@toasterson - D language is a joke to begin with ... Jave is rich in something... caffeine?
-
Luser0
Have you read the D language compiler specs?
-
toasterson
Dtrace script is also called D
-
Luser0
Is that a typescript extension?
-
toasterson
Nope, the dynamic tracing framework
-
toasterson
-
Luser0
Good typescript extension name, though. Maybe I should work on it?
-
toasterson
hahahha, it might actually improve typescript whne you can use dtrace probes indide of it
-
Luser0
The lime in the coconut with the circle gets the square.. with variable scale fonts
-
tsoome
richlowe dnlc_search:return len: 8 name: .lesshsQ from printf("len: %d name: %.*s\n", this->ncp->namlen, this->ncp->namlen, stringof(this->ncp->name)); and 'name' is flexible member of ncache_t.
-
Luser0
It should really make you see double in VR goggles.
-
richlowe
tsoome: not sure how exactly to add that to the tests, but good to know.
-
Luser0
Dtrace says solaris with the other op systems. My guess is solaris elf makes it pop to top
-
Luser0
Now I'm reminiscing about the MacPi
-
Luser0
Get a slice... of MacPi
-
Luser0
MacPi with illumos ... a headache that never stops
-
Luser0
Then they built that into those battery slips
-
Luser0
A Hot operation... use them for pizza ovens
-
tsoome
would be nice if yacc would be LARL(2) :P
-
tsoome
LALR(2), even...
-
otis
LART? :-o
-
tsoome
with RT?
-
Luser0
Oh - Dtrace is the Sun tool. I met taht project leader a few weeks before he ... uuh, quit. right. He quit.
-
Luser0
They reverted about two months of forward development. But a lot of us still had it.
-
toasterson
-
Luser0
No... not him. When he quit. Uhh ... he quit.
-
Luser0
You are probably thinking of the one who worked with Microsoft development integrations.
-
toasterson
Ah..... don't know that storry then. But understand the reference
-
Luser0
The one before him... or was it two, before him.
-
Luser0
Oxide.. the group that made my Vista buy a piece of trash from day one?
-
richlowe
I have no idea what's going on, but it all seems innacurate.
-
sommerfeld
anyone familiar with the history of omnios's zonecfg global-net feature (and why it wasn't pushed upstream into illumos?) went down a bit of a rabbit hole trying out bhyve on openindiana, noticed its old version of the bhyve brand code, looked at omnios's and...
-
andyf
I am glad it's not just me who is confused!
-
andyf
sommerfeld - yes, it originated in SmartOS
-
andyf
and was pulled over to OmniOS as part of the lx brand
-
andyf
and then used for more things thereafter
-
Luser0
Kowala was a principal at Ix? Or am I mistaken?
-
andyf
It very probably should be upstreamed
-
sommerfeld
ok, wanted a read of whether it was just lack of anyone getting around to it vs. some prior attempts that had run into opposition.
-
Luser0
Should I do the LiSP joke?
-
andyf
I'm not aware of any prior attempts. I've never tried to upstream it from OmniOS, I don't know about SmartOS - @danmcd ?
-
tsoome
(Luser0) no:P
-
Luser0
SmartOS had the gmod kern - if I recall correctly. But I will still do the how can it be upstreamed without a PaDL?
-
Luser0
Too late.
-
danmcd
@andyf -> No attempts to upstream ever AFAICT. And @sommerfeld you mean 'global-nic' right?
-
danmcd
I don't know why it wasn't upstreamed (I didn't know it was taken for OmniOS until today, but it makes sense).
-
andyf
Well, you did it :)
-
sommerfeld
yes, global-nic
-
danmcd
Oh shit... I pulled it in with LX.
-
sommerfeld
-
andyf
The thing is, that SmartOS has a lot of other things in this area that allow things like almost atomically creating a VNIC in a zone, and the link namespace being per-zone etc.
-
danmcd
Sorry, forgot about that.
-
toasterson
sommerfeld: pr to the brand code or a seperate repo very welcome for OI btw :)
-
andyf
Now those I /have/ tried to upstream a couple of times
-
andyf
danmcd - yep, although I think it was collateral rather than completely necessary, but I'm very glad you did.
-
danmcd
I tried not to pull in things unless it was necessary for LX, but those early commits were hard to tease apart.
-
sommerfeld
toasterson: I may be headed in that direction once the groundwork is there in illumos-gate
-
toasterson
sommerfeld: I did these zonebrands and a vmadm wrapper in rust recently to get a similar result.
github.com/OpenFlowLabs/aurora-opencloud/tree/main/opczone Need to work on it afte I get some progress into the build tools work
-
Luser0
Aurora was used for flash tools by somebody? Can't recall what OEM
-
toasterson
Was there a way to include other manifests in a package manifest during mogirfy?
-
andyf
There's an <include> action
-
toasterson
Cool, let's see if it works for my purposes.
-
toasterson
Ah, perfect -I includedir exists in pkgmogrify
-
sommerfeld
<include> has worked when I've needed it.
-
sommerfeld
andyf: oh, and thanks for the code reviews.
-
sommerfeld
pbchk is warning about #pragma ident in libc/.../closefrom.c; should I nuke it now or wait for tsoome's sweep to get it?
-
richlowe
nuke it
-
danmcd
I'm sure tsoome won't mind not having to do one file. :)
-
tsoome
absolutely nuke it.
-
sommerfeld
gone.
-
richlowe
I seem to recall the vnic magic/namespace stuff not being great in a non-smartos environment
-
alanc
danmcd: amusingly it appears the pollwakeup() code to do the tryenter/enter/exit first appeared in Solaris 2.4 to make serving a bunch of Xterminals scale better under
illumos.org/opensolaris/bugdb/bug.html#!1138133
-
fenix
→ OpenSolaris issue 1138133: Excessive kernel time with Xterminal loads (Fix Delivered)
-
alanc
(not xterms, but X terminal devices, in the days before Sun Rays)
-
danmcd
alanc: On-list from Dan Cross and off-list from multiple others has convinced me that the paired mutex_{enter,exit}(&same_lock) is not something dumb.
-
alanc
You are allowed exactly one guess as to the identity of the "Adrian" named in said bug
-
danmcd
HA!
-
richlowe
you definitely should add comments to the enter/exit pair
-
alanc
yeah, I'm sure you're neither the first nor the last person to wonder about that
-
danmcd
It won't be part of 14892 however. (The pollwakeup mutex pair was an innocent bystander in a deadlock.)
-
richlowe
doesn't stop you describing it!
-
richlowe
(and if you find me an advocate who disagrees, I will even argue with them on your behalf)
-
andyf
sommerfeld - you're welcome.
-
richlowe
alanc: some days, rarely, I miss my old xterminal.
-
richlowe
though it's not like a raspberry pi (before the price crazyness) wouldn't do the same job at a tiny fraction of the price.
-
richlowe
assuming you can find a linux that still uses X
-
alanc
I was amused at the pics on mastodon today of an iPod nano running Wayland
-
toasterson
there is always xwayland :)
-
sommerfeld
andyf: "Almost atomic" sounds like asking for trouble, though.
-
jclulow
I stand with richlowe and will fight anyone that doesn't want more comments :P
-
jclulow
FWIW, I think zone brands managing ephemeral VNICs is valuable, and I'm sure we can get that in somehow or other.
-
toasterson
I can manage ephemeral vnics already! But I would like to have some(better) way to describe the data then to dump a json file next to the zone
-
toasterson
and namespaced link names so I can get rid of my nicname friendly rand_str function :)
-
jclulow
So I think it is not unreasonable to separate brand-managed NIC lifecycle from per-zone namespacing
-
jclulow
I think the latter has a lot more open questions
-
jclulow
And even if we had namespacing support, it would not be required that one used it with brand-managed NICs anyway
-
toasterson
true, what i like however in smartos and omnios are the per nic data entries
-
toasterson
ind the schema of the zones
-
jclulow
I think if we provide system-wide NIC management facilities that brands can consume, we would store the required data in either some zoneadm/libzonecfg-managed data files, or we would perhaps even delegate the storage to dladm
-
jclulow
depending on what storage you mean of course
-
toasterson
the capability to define properties of the zone via zoneadm per nic
-
toasterson
and that syntax and xml extensions
-
jclulow
Yeah I think that's all attributes on the `net` object right
-
jclulow
in the zonecfg XML files
-
toasterson
yep
-
toasterson
also some are children elements but yeah they are extensions of the net object
-
jclulow
Yeah so that stuff would need upstreaming
-
jclulow
And hopefully in a way where we can provide the core of the delegation and lifecycle management in common code that brands can just _use_
-
jclulow
So that each one doesn't need to reimplement or copy-paste it
-
toasterson
fair. although my brand code is in rust so I would need to port that anyway
-
toasterson
a feature that i am missing in brandcode though is something like svcprop for zone configs
-
jclulow
As in, a source of metadata that you can consume from inside the zone?
-
toasterson
as in a utility I can call from the brand code to get the data about the zone I need
-
jclulow
Oh, so not inside the zone
-
toasterson
no, but now that you mention it....
-
toasterson
at least defining a default xml location so it could be used inside the zone aswell and the brand can drop the xml in if it wants
-
toasterson
or make that configurable in config.xml
-
andyf
Well you can easily mount the .xml into the zone root if you want. I think that's what the OI bhyve brand does actually.
-
jclulow
So we actually tell you the path of the zone XML file as an argument to various brand hook entrypoints
-
toasterson
true, that is actually better, since that can be read-only
-
andyf
and alternatively there is some brand-specific data you can set in the kernel and then retrieve from inside the zone
-
andyf
That's how things like allowed-address work
-
jclulow
Yeah, I think it depends on what you need to store, and who is consuming it, etc
-
jclulow
The brand can always drop whatever file it wants into the zone root during install or even boot
-
toasterson
I have never seen samples where the XML files is provided as arguments.
-
toasterson
andyf: what are the interfaces to that storage capability?
-
jclulow
The "verify_cfg" entrypoint takes the XML for instance
-
jclulow
So that you can check properties and fail verify before commit in zonecfg
-
andyf
zone_{set,get}attr()
-
toasterson
Well, in that case all the entrypoints I was using don't get it like install :)
-
jclulow
One of the challenges is that this stuff is not really Committed as far as I know
-
jclulow
So as part of considering what you need to implement a brand, we should consider which bits are stable and can be used by out-of-tree brands, etc
-
toasterson
It's even mostly undocumented
-
toasterson
query_cfg for example has no documentation
-
jclulow
Yeah
-
jclulow
I spent some time in the source
-
jclulow
when I was writing the brand for OXide
-
jclulow
FWIW, I think the NIC lifecycle stuff should probably be an extension to the virtual platform (see zoneadmd/vplat.c)
-
andyf
Yeah, me too when I was doing the 'illumos' brand for omnios, and trying to find out how datasets become visible to the zone, etc.
-
jclulow
Things like configure_one_interface() and add_datalink() are in there, etc, already
-
jclulow
There is a lot of code in here for shoving NICs that you have already provisioned into the zone correctly
-
toasterson
jclulow: it's definetly a vplat job.
-
jclulow
So it just needs to learn how to be responsible for the provisioning on its own
-
jclulow
Then brands will get it for free
-
toasterson
yep. it will need to do so during install. or at least remove that warning about unconfigured nics
-
toasterson
smartos does it during boot though
-
jclulow
Yeah I'm not sure which is better there. Perhaps the brand could make a decision.
-
toasterson
install seems to early for a couple usescases. boot is the last time you can do it so it's the more logical choice
-
toasterson
before pushing it is the last chance to be more precise
-
jclulow
If you do it at install time, then at least you know it's going to be able configure it at that moment
-
jclulow
But also it means the VNIC probably sits around consuming NIC classification resources etc, which is not great
-
jclulow
But doing it at boot means it could fail to do it at boot
-
jclulow
which might be sad depending on what your expectations are
-
toasterson
I am less concerned about that failure due to verify
-
jclulow
verify is unlikely to catch collisions
-
jclulow
or inadequate resources
-
toasterson
inadequate resources does not seem to be a problem for smartos
-
toasterson
collisions is more a question of rand function and maybe one retry
-
jclulow
I don't think there's any facility for random or retry in the way the properties work today
-
jclulow
It looks like if you provide global-nic, and physical, we're going to use physical verbatim to create the VNIC
-
jclulow
You could instead specify maybe just the _name_ portion of the VNIC and have the framework pick the next free ppa number
-
jclulow
But that would be a new attribute on the net thing at least
-
toasterson
I meant something similar to what I do of just picking a sufficiently random string as name and adding a 0 to it
-
toasterson
but getting the ppa number is good aswell :)
-
jclulow
Oh sure, but that's not something the brand can help with
-
jclulow
or vplat etc
-
jclulow
But yeah if you already have a global uniqueness strategy that seems fine
-
toasterson
was more of a suggestion for whoever looks at the upstreaming of that functionality.
-
toasterson
since we seperate but also want the namespaces we only need the uniqueness strategy temporarily