-
jclulow
toasterson: If using the gisted XML helped, it was probably not the vioscsi thing -- rather, that the XML constrains it to be a legacy virtio device not the modern speco ne
-
jclulow
*one
-
rmustacc
jbk: Reading spc4 again with older eyes, I agree that it could be read that way. I did interpret it the way it was a while back, but I think it basically gets to the question of what that buffer represents. Looking at SPC-4 r37 (the public review version), from §5.4 and other places, it's pretty clear that multiple commands can happen.
-
rmustacc
I'd feel better if I could grab some SAS device internal docs here, but it does seem likely that it is an operation-specific length and that I made an erroneous conclusion in 2016.
-
jbk
the one thing that made me go 'huh' was how SAT-5 says READ BUFFER for mode 3 (descriptor) is emulated -- basically the values are hardcoded to 2^9 alignment and buffer size of 512 bytes for buffer 0... yet it also tells you how to translate WRITE BUFFER to DOWNLOAD MICROCODE... and it seemed unlikely that the entire SATA microcode could fit in 512 bytes :)
-
jbk
just reading SPC-4 on it's own i did find it less than straighforward on that bit
-
jbk
(I kept going back and forth between SAT-5 READ/WRITE BUFFER and SPC-4 READ/WRITE BUFFER)
-
rmustacc
I'll track downa copy of SAT-5 then. I didn't look at that. Thanks for the pointer. I think that does suggest that it's just an intermediate buffer where as I originally took it as the entire buffer.
-
rmustacc
Just given how the older modes worked
-
rmustacc
Does it help for me to adjust that at all or you'll manage that.
-
jbk
i can manage.. still tracking down some other bits on this yak shaving adventure :)
-
jbk
i just want to be sure i didn't miss anything
-
toasterson
jclulow: In that case I'll make a XML for OI and maybe symlink the omnios bloody to it, It seems they want some sort of year release so we could timestamp it to 2021 or so
-
toasterson
or better 2023. Then in future changes we can add vioscsi and I'll check that we start delivering that in Iso's in OI aswell so we can start with a good set of features
-
» psydroid wonders if and when native ARM and RISC-V Illumos VMs will be made available for development purposes
-
andyf
You can run an arm illumos under qemu now, it's being actively worked on.
-
toasterson
psydroid: It already is but needs some more advertising so people find it :)
-
andyf
toasterson - do you know if qemu in OI has been fixed yet? If not I should maybe do a PR there
-
toasterson
I haven't gotten around to it yet. SO a PR would be welcome
-
psydroid
Toasterson, you can advertise it to me for a start :)
-
toasterson
-
toasterson
The rest works via a cross compile toolchain hosted at
github.com/richlowe/arm64-gate
-
psydroid
I'm more familiar with ARM and RISC-V than with x86
-
psydroid
thanks
-
andyf
and
downloads.omnios.org/media/braich for a mini-omnios based on that arm64-gate work.
-
andyf
The disk image there is updated every week or so with more userland packages
-
toasterson
psydroid: In that case grep for `XXXARM` in this repo and start helping with whatever you know
github.com/richlowe/illumos-gate
-
toasterson
psydroid: Better use the omnios image then thats a bit further with packages
-
psydroid
I will take a look at it, thanks
-
psydroid
I need to become familiar with Illumos kernel architecture at last
-
toasterson
-
psydroid
Toasterson, that's great, I'll go back to my cave and start reading
-
toasterson
jclulow:
gitlab.com/libosinfo/osinfo-db/-/merge_requests/554 I am going to push that one forward a bit. Lets see that we at least have some entry we can fall back to. I get that they want to be able to support older releases even if we don't.
-
bahamat
toasterson, jclulow: Should SmartOS also be added to that?
-
toasterson
bahamat: can. drop me a gist with the names how you would like them. pci defs are the same and the ids I need to update anyway
-
bahamat
Ok. I'll get that over to you later today. I've got about 2h worth of stuff I have to take care of first though.
-
bahamat
Wow: Accumulated power on time, hours:minutes 30877:38 [1852658 minutes]
-
bahamat
That drive's been around the block a few times.
-
bahamat
-
bahamat
If we can compare with several disks we might be able to figure it out.
-
bahamat
In particular, I'm looking at these:
-
bahamat
attached initiator port: ssp=0 stp=0 smp=0
-
bahamat
attached target port: ssp=0 stp=0 smp=1
-
bahamat
attached phy identifier = 6
-
bahamat
phy identifier = 1
-
Smithx10
ill iterate over all the drives and grab that info
-
bahamat
attached SAS address = 0x0
-
bahamat
attached phy identifier = 0
-
toasterson
bahamat: Cool, will wait for that
-
bahamat
If any of those are changing on every drive, then I think that might be it.
-
Smithx10
-
bahamat
Holy shit, sorry folks. I thought that was all going into private message :-(
-
nahamu
and now all the secrets are out... or something. :-P
-
bahamat
Not secret or anything, but I was pasting stuff, which I generally try to avoid
-
pmooney
tsoome: is there somewhere you can post the wsdiff report from 15290? (you mentioned it's too large for redmine)
-
pmooney
I'd like to look at that before approving
-
tsoome
sure, a min...
-
pmooney
rgr
-
tsoome
have to remember how to use webrev:D
-
pmooney
I'm looking for the wsdiff output, not webrev
-
tsoome
ou, stupid me:D
-
tsoome
I blame this stuff my kid got us (running nose and barking cough)
-
danmcd
Ouch.
-
danmcd
Nice things about having 20-year-olds is that they are no longer bringing things like that home. :)
-
» danmcd feels really old now.
-
tsoome
eh, well, you can hope:)
-
tsoome
I wont tell how old one born at '71 is... :P
-
danmcd
Two years younger than me.
-
tsoome
-
pmooney
tsoome: got it, thanks
-
sommerfeld
The stuff they bring home may be good for you in the long run: "In a large, real-world population, exposure to young children was strongly associated with less severe COVID-19 illness, after balancing known COVID-19 risk factors. This epidemiologic signal suggests endemic coronavirus cross-immunity may play a role in protection against severe COVID-19 outcomes."
ncbi.nlm.nih.gov/pmc/articles/PMC9388132
-
bahamat
-
bahamat
I'm not entirely sure what all of those values are supposed to be.
-
toasterson
The devices only will need an upgrade once we have new drivers so should be unchanged. The others are just there to identify the os and release
-
tsoome
sommerfeld aye.
-
bahamat
Yeah, I copied the omnios one and only changed lines 4-9
-
bahamat
But I'm not sure if vendor should be all lower case, or if it's allowed to have spaces
-
danmcd
@sommerfeld I'm just saying I'm glad mine are old enough to not have to deal with it now. (To paraphrase the French knights. "We already got some... it's very nice!")
-
bahamat
-
bahamat
Let me know if you need anything else. I turned on notifications for that ticket, but I'm not sure how those are supposed to come to me (I would presume email...)
-
jclulow
toasterson: I found the osinfo experience very frustrating. I just want what they have for Linux, a generic distro-less baseline
-
toasterson
bahamat: You get mails yes. It's ok like this and probably wont need you involved further.
-
toasterson
jclulow: I can get why. They seems to have their own idea. Unfortunately I am rather resistant to this kinds of frustrations.
-
toasterson
Let's see if we can at least get some definitions in.
-
bahamat
Yeah, hopefully we'll get something at least.
-
jclulow
I just send people the gist lol
-
jclulow
A one man osinfo-db overlay
-
toasterson
Hahahahaha, gistoverlay
-
toasterson
gist an overlay
-
pmooney
tsoome: could you run another wsdiff report, but this time against only the proto areas (old vs new) for 15290?
-
richlowe
jperkin: danmcd asks that you look at
code.illumos.org/c/illumos-gate/+/2620 for the gstrip fix
-
fenix
→ CODE REVIEW 2620: 15361 ld doesn't fill out PT_DYNAMIC sufficiently for binutils 2.40 (NEW) |
illumos.org/issues/15361
-
pmooney
it should cut the size down significantly and make it easier to review (and probably small enough to include in the ticket)
-
tsoome
sure, just need to build one first:)
-
pmooney
Since the ultimate artifacts which we care about are in the proto area, it should mean adequate coverage
-
pmooney
and a lot less noise
-
pmooney
thanks
-
toasterson
jclulow: Question about your image-builder the password you use in the noconfig template. is that simply <Enter>?
-
richlowe
yes
-
tsoome
pmooney now it was small enough to get attached to the issue
-
pmooney
tsoome: perfect, thanks
-
pmooney
I'll take a look at that shortly
-
tsoome
thanks!
-
toasterson
Welp.... I never though I could'nt write our cloud init because of a service dependency problem in illumos-gate....
-
toasterson
Does somebody know when exactly we mount datasets like /export/home?
-
toasterson
filesystem/local it seems
-
toasterson
-
tsoome
ah, good old svc:/system/illumos/metadata
-
toasterson
no thats not that service :)
-
richlowe
if you're using jclulow's image builder, it feels like you pulled in cloud bits only partially?
-
richlowe
noconfig should have no config.
-
toasterson
richlowe Iam, but I needed to modify the manifest to make sure zfs filesystems are mounted before we start other it can't add users
-
toasterson
the manifest of metadata agent
-
toasterson
And it's not the first time we get this loop. you somehow can't properly insert a service before network but after filesystem local
-
jclulow
err
-
jclulow
so, no, we should not do that
-
jclulow
necessarily
-
jclulow
we might need multiple stages
-
jclulow
The metadata agent is currently very carefully arranged to happen before networking and host identity stuff kicks off, which is all very early
-
toasterson
thats the alternative. but I do not see why zfs mount -a requires network
-
jclulow
That's part of why the user-script is punted to a separate service that runs _much_ later (maybe after multi-user)
-
» jclulow shrug
-
toasterson
err should single user already require networking?
-
jclulow
No
-
richlowe
no
-
jclulow
single user is for unbreaking things like networking
-
richlowe
and I think zfs does because when the stuff mounts the share* properties will come alive, and if the network is down that won't work right.
-
toasterson
let me verify then quickly
-
jclulow
Yeah, if you want to create users or what have you, I think that should all happen much later
-
richlowe
but it's been a long time, and I'm not sure
-
richlowe
if you're dealing with users, that needs to happen at multi-user-server or so
-
jclulow
Right
-
richlowe
jclulow: I said I'd send you a branch yesterday then didn't, I might get to it today
-
jclulow
That's where
github.com/illumos/metadata-agent/blob/master/userscript.xml runs, and is probably where things like user creation should run too
-
jclulow
richlowe: rgr!
-
toasterson
so: single user does depend on network/physical once directly and once via system/identity both with optional_all
-
toasterson
SO i guess it's only optional
-
toasterson
-
toasterson
so network has to run for single-user if I reas this correctly
-
jclulow
no it can also be broken
-
jclulow
or unable to start
-
jclulow
"or do not run without administrative action"
-
jclulow
i.e., in maintenance, or disabled, or cannot start because of something else which is broken
-
toasterson
ah, ok
-
toasterson
What was the idea behind optional_all?
-
jclulow
I believe the intent is to allow for sequencing without hard failures
-
jclulow
i.e., if this other thing is starting up, we'll wait for it to try; if it fails, we'll drive on anyway
-
toasterson
yeah but then it's sequenced after networking
-
jclulow
yes but if networking is disabled, or depends on something else that can't start, it doesn't prevent us getting to single user, critically
-
jclulow
(or if networking goes into maintenance because of some bug or illegal configuration)
-
toasterson
ok, but we can not insert any new service before fs-local and after networking then. THat means I need to split metadata agent
-
jclulow
Right
-
jclulow
That's why I suggested we might need multiple stages
-
jclulow
A lot of what I suspect people do with cloud-init should likely happen around the same time as the user-script anyway (i.e., much later)
-
jclulow
e.g., if you're installing packages
-
jclulow
or downloading files or whatever it is
-
jclulow
I try to avoid cloud-init where I can so I'm not sure the full extent of it :P
-
toasterson
Yep I am just a bit stubborn with wanting it in that spot :)
-
jclulow
The metadata agent is, to be honest, architected as a rejection of the complexity of cloud-init
-
jclulow
Really I suspect you could do things like user management in a user-script
-
toasterson
Complexity is one thing... Having a ton of undocumented fetures is my main concern
-
jclulow
In cloud-init, or the metadata-agent?
-
toasterson
I simply skip them :)
-
toasterson
cloud-init
-
jclulow
Yeah, I mean, I think the only way to be cloud-init compatible is to run cloud-init
-
jclulow
Unless there is a secret cloud-init specification and verification suite that I've missed haha
-
toasterson
the cloud-config format was the only one I wanted since on both linux and illumos would have the same format
-
toasterson
and you can generate it from data without having to template a shellscript
-
toasterson
There is a documentation that works but well...
-
toasterson
I guess I can also skip user configuration and simply allow root password change and ssh key deployment. then all features I need are covered
-
toasterson
The rest I can handle with the autoinstaller
-
toasterson
which will be it's own thing
-
jclulow
It might help to make the changes in phases like that yeah
-
toasterson
technically I can also bug our sysding for a couple of things