-
alanc
I sent ptribble my quarterly dump of things fixed in our man pages you might also want to address, but if anyone else is interested in cleaning them up, it's at
pastebin.com/c0k0CmVY for the next month
-
alanc
(shorter list than normal this quarter)
-
rmustacc
alanc: the extra fopen flags are for the upcoming POSIX things like O_CLOFORK and related?
-
alanc
yes, though we also have "e" for O_CLOEXEC that I think they don't have yet
-
rmustacc
Do you have confidence with them that we're not going to end up in another draft posix mess like readdir_r or similar back in the day?
-
alanc
I think gnu libc already implemented them, and breaking the most commonly used implementation at this point would not be good
-
richlowe
readdir_r is biting me literally currently
-
richlowe
people sure did make some interesting decisions about that
-
rmustacc
Gotcha, thanks alanc. I've been hesitent to dip into any of the issue 8 stuff for folks until it's out because of that.
-
richlowe
rmustacc: if I don't remember, remind me to talk to you about that (readdir_r biting me)
-
alanc
I believe they're approaching final draft now, so it may not be too much longer until the standard is finalized
-
richlowe
alanc: do you know if the "large time" sort of stuff standardized?
-
alanc
not that I know of
-
rmustacc
I haven't seen anything of that when I've taken scans.
-
rmustacc
I'll follow up with you richlowe.
-
Molnija
depressing.
-
Molnija
so, how long, pray tell, should it take for this gods forsaken boot archive to update?
-
jclulow
Not long
-
Molnija
jclulow: so that process hanging for more than 2 minutes should be interpreted as the system failing to power itself down?
-
Molnija
The VM pinned its processors for several minutes after I issued "halt" at the console.
-
Molnija
now it's bootlooping.
-
Molnija
I'm not lying when I say that 9front is more reliable, and that's a joke OS>
-
tsoome
jclulow ping?
-
jclulow
It's 0056 -- what's up!
-
tsoome
small question - previous gerrit version did show integration request flag in table view, now there is status column, but IR is well hidden there - might there be a way to reveal it somehow?:)
-
jclulow
Molnija: I don't know how you should interpret it. All I can tell you is you're not seeing a problem everyone else is seeing, so you will need to do some digging in your particular environment to find out what's going wrong.
-
Molnija
you've got a point.
-
tsoome
boot archive creation/update should not take too long, but it really depends upon how loaded the system is.
-
tsoome
default should be cpio format and that should not take too much time...
-
jclulow
tsoome: The latest Gerrit stuff has changed the labels/voting around a bit. In particular, there is now a distinction between an integration requirement (CR/IA) and and ancillary tag that's not an approval requirement (IR)
-
jclulow
Also they're ditching the ridiculously complex prolog rule system
-
tsoome
well, yea, it was convinient way to see which ones I have sent RTI :D
-
jclulow
It's a bit in flux. We're not really actually looking at the IR flag very much yet so I haven't spent a lot of time on it, but I will definitely take a look
-
Molnija
tsoome: All CPUs were pinned at 100%, at which point I force powered-off the system assuming that it had already done it and was just spinwaiting because it couldn't shut down (a bug I previously had with running off a CD).
-
jclulow
Just not tonight I need to sleep
-
Molnija
Sleep well Josh.
-
jclulow
Molnija: Is this a QEMU 6.X VM
-
tsoome
jclulow nice:)
-
Molnija
jclulow: It might be. Let me go check.
-
jclulow
If it is, perhaps you're seeing
illumos.org/issues/14526
-
fenix
→
BUG 14526: illumos guest hangs on reboot under QEMU 6.0.0 (New)
-
Molnija
[Devin root]/var/log/runsvdir.lrlog # qemu-system-x86_64 -version
-
Molnija
QEMU emulator version 7.1.0
-
Molnija
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
-
Molnija
[Devin root]/var/log/runsvdir.lrlog #
-
jclulow
Well we've not really reported it to the QEMU people so I imagine it's still broken
-
jclulow
It used to work before 6 and they broke something
-
jclulow
Probably we're not doing exactly the right thing either but it used to work
-
Molnija
maybe I should try the red headband and see if they have the same problem
-
tsoome
uh, if it is/was running in BIOS mode, why it did pick efi_reboot ?
-
jclulow
I put some notes in that bug which includes inspecting QEMU
-
jclulow
tsoome: efi_reset() is our last ditch attempt to triple fault
-
jclulow
Which seems now to fuck up QEMU instead of actually resetting
-
Molnija
tsoome: If you're asking about the umbrellix situation, I believe myself to be running in EFI mode.
-
Molnija
I do acknowledge the possibility/likelihood of the wrongness of my belief.
-
jclulow
I don't think it really matters how you boot the guest to be honest
-
jclulow
Pretty sure we're going to try to triple fault either way and it's going to get stuck
-
jclulow
But I haven't looked at this in 4+ months
-
Molnija
ah
-
jclulow
There are notes in the ticket about how to look at the QEMU state
-
jclulow
You should do that and see where it's stuck
-
tsoome
this reminds me to learn the FP context management API in kernel, to create access to EFI RT ...
-
Molnija
Mm
-
jclulow
The fix for this might not actually be complicated I just haven't had time and I mostly try not to depend on QEMU -- and when I do
-
jclulow
I just poweroff and start the guest again
-
Molnija
as I have been
-
jclulow
I encourage you to dig in though if you want it fixed
-
jclulow
It's all just software, surely it can be made to do the right thing
-
Molnija
right, so, found my bootloop
-
Molnija
chatspeed.net./~lightning/20221117-lootboop.txt that's impressively fucked. you would think I did it deliberate
-
Molnija
that is definitely a new height of wtf
-
Molnija
is this what it feels like to break the whole of us-east-1?
-
tsoome
that one is suggesting you have no pci module
-
Molnija
indeed
-
tsoome
what is inside boot_archive?
-
Molnija
[This operation is taking longer than usual. I will tell you when I've found out.]
-
tsoome
or rather, if it has no pci module, why it is not there...
-
tsoome
might it be that BA update failed to read some files from /platform/i86pc (checksum errors?)?
-
Molnija
perhaps
-
Molnija
anyway, I reran bootadm from the shell out from kayak, let's see if it'll boot ok now
-
Molnija
it did it again.
-
Molnija
I give up.
-
Molnija
I give up on restoring service on this beast.
-
» Molnija goes and cries, or something
-
tsoome
does it start with boot archive loaded at all?
-
tsoome
which bootloader is it btw?
-
Molnija
tsoome: it's the BSD loader.
-
nbjoerg
freebsd
-
tsoome
ok, so it should not get to boot without boot archive loaded.
-
tsoome
if you care to test, get out of menu; enter start and press key to abort autoboot, then use lsmod -vs
-
tsoome
start should load kernel and boot archive, lsmod -vs will list what is loaded (verbose + sha1 checksum), then boot -B prom_debug=true will give you verbose early boot. *normally* we should load boot archive with companion checksum file, that should help us to make sure dboot will not continue with checksum mismatch...
-
tsoome
if it is so, it must be related to what is inside the boot archive...
-
Molnija
tsoome: I cannot interact with the bootloader, because it accepts keyboard input neither on the serial console nor on the visual console.
-
tsoome
hmm?
-
tsoome
that is interesting...
-
tsoome
uefi?
-
Molnija
I can't press enter, I can't use the number keys, nothing. I can only wait for it to try to boot.
-
Molnija
yes
-
tsoome
what hw was it again?
-
Molnija
at which layer? it's qemu 7.x on Linux, on a lenovo x3550 m5
-
tsoome
you can echo 'boot-args="-B prom_debug=true"' > /boot/conf.d/args
-
Molnija
ok
-
Molnija
I'm this close to just running the whole thing over with a dump truck
-
Molnija
let me get something to eat
-
tsoome
you can not input from kbd at all, or is it missing some input?
-
Molnija
I can only input from the keyboard or serial if I boot a live CD from the USB CD
-
Molnija
mind, this is the system that kpanic'd when I used a SATA CD.
-
Molnija
it's cursed.
-
tsoome
yea, but loader is not the same as kernel - loader is only using uefi API for communication
-
tsoome
that is, it is depending on firmware (ovmf?)
-
tsoome
of course, the whole interest about it is what is actually going on and why - so we can understand if we can avoid it happening again:)
-
Molnija
I think I drank too much bone hurting juice. All the computers are falling down around me. First this, now my postgres is being weird.
-
tsoome
ouch
-
danmcd
Any ZFS test folks in the audience... and only off the tops of your heads... is mmp_on_uberblocks a known flaky test?
-
jbk
not on mine, but i haven't used it recently
-
danmcd
I'll have to dive into the results a bit more. I just re-ran it by itself and it worked.
-
jbk
what could be happening is a prior test isn't cleaning up properly causing it to fail
-
jbk
I suspect a number of known failures that succeed when you re-run them are this way
-
jbk
but also something i've not had the time to dig into deeply
-
danmcd
Yeah... that looks right, plus the "log" output is jumbled a nontrivial amount.
-
danmcd
What's odd is that it passed (as part of the big fucking run) last release, but failed now.
-
danmcd
Over the past month I've gotten /opt/smartos-test/bin/smartos-test to invoke the ZFS tests if DISKS is set in the environment prior to running.
-
jbk
has there been any changes (new tests) or changes to the runfile between releases (IIRC, tsoome made more of the runfiles common between the various distros at some point, but can't remember when)
-
tsoome
yes
-
tsoome
14993 and it was followed by 15005
-
danmcd
Both of those landed in time for our prior release, which means those two aren't {,finding} the problem.
-
danmcd
Re-running it local lends credence to "prior test isn't cleaning up properly" and other transient things.
-
tsoome
I'm sure there are tons of those tests
-
tsoome
there is also one evasive issue about mkdir -p failing sometimes...
-
danmcd
Just checking. I'm rerunning the whole suite now to see if the same ZFS one fails again. I'm guessing it won't fail, but some other one will. (Also, the BHYVE/VMM tests fail sporadically for me but that's because I'm running it on a VMware VM and I don't trust Fusion entirely for in-VMware-guest HVM capacity).
-
tsoome
those leftovers and failing cleanups is why I like proper tag support - so we can run single test and verify
-
jbk
hrm.. ofmt_arg_t defines 'ofmt_width', but is in fact never used or initialized (despite being documented in the man page)
-
rmustacc
So it does.
-
jbk
i'm guessing it's maybe supposed to be the value of of_width for that field?
-
jbk
but i'll at least file a bug
-
rmustacc
ofmt_index also isn't used.
-
rmustacc
So at the very least we should update the manual page to reflect the current reality.
-
jbk
the man page at least notes that ofmt_index is unused