-
jbk
sommerfeld: one thing i haven't looked at is what the cost is if a disk is offlined for a 'long' time... e.g. does it just note the last txg in the offline case and just start from there, or is more state kept in the rest of the pool that could potentially be problematic if left that way for too long..
-
jbk
if the former, i wonder if it might just be better if either state did the same thing and the distinction is more of just expressing intent
-
jbk
or 'any reason not to allowed a REMOVED disk to just catch up instead of a full resilver if re-inserted' ?
-
sommerfeld
jbk: The former. DTL "dirty time log" is in terms of TXGs and is used to prune the resilver when it comes back online.
-
gitomat
[illumos-gate] 15391 Add support for Emulex LPe35000/LPe36000 32Gb/64Gb fibre channel chipsets -- Carsten Grzemba <cgrzemba⊙oo>
-
jbk
-
jbk
someone using a terminal window with < 10 lines? :)
-
danmcd
DUMB question...
-
danmcd
If I boot a kernel with the `-kd` flags set (IOW, drop right to kmdb before anything else) has that passed through dboot already? I believe the answer is "yes", but I want to make damned sure.
-
rmustacc
Yes.
-
danmcd
Good.
-
danmcd
Thank you! (Means my problems with iPXE-booting the NUC 11 are in illumos itself, likely due to the lack of a console device. My next questions are likely best asked to tsoome directly, but I have errands to run and a short day today.)
-
gitomat
[illumos-gate] 16269 SMB could allow persistent opens on directories -- Gordon Ross <gwr⊙rc>
-
jbk
danmcd: if you can pass an /etc/system, might be worth trying forcing the hpet for tsc calibration
-
jbk
i don't know what gen NUC I have here, but the problem with it was that it has no PIT
-
jbk
and there's no reliable way to detect it (i tried basically 'based on a reasonable range of clock speeds from the past 15+ years, we should see _some_ progress after x TSC ticks')
-
jbk
to detect if it was there/broken or not, but it's obviously just a hueristic
-
jbk
though if that works, I'm not sure how to fix the problem of (apparently) shitty HPETs since all the ones I have access to return results more accurate and consistent than using the PIT (or for the NUC w/o a PIT, compared to the known frequency)
-
jbk
but apparently people out there have ones that result in worse results that causes clock drift
-
sommerfeld
does ACPI or whatever not reliably tell you if you have a usable PIT?
-
gitomat
[illumos-gate] 16264 spray: 'usecs' defaults to 'int' -- Toomas Soome <tsoome⊙mc>
-
jbk
i've not found any tables that tell you
-
jbk
i couldn't find anything that tells you if the system has one or not
-
gitomat
[illumos-gate] 16259 in.comsat: 'offset' defaults to 'int' -- Toomas Soome <tsoome⊙mc>
-
jbk
CPUID leaf 15 _might_ tell you the speed, though I've yet to locate a system that reports the divisor
-
jbk
so i've not put up any code that uses that
-
andyf
Given what's in FreeBSD, it /must/ exist somewhere :)
-
andyf
(I also have not found any system with it)
-
jbk
(teh NUC i have comes close -- you get the numerator, but not the denominator)
-
jbk
well FreeBSD (and Linux) will use the frequency from leaf 16 if there
-
jbk
even though the docs say 'yeah, it's not really meant for that'
-
jbk
but i've not even attempted that because I'm not going to fight the inevitable code review 'yes the vast majority systems in existence will do this, but because technically they shouldn't i'm going to object to all of this'
-
jbk
that will come up from doing that
-
gitomat
[illumos-gate] 16256 backup: type of 'status' defaults to 'int' -- Toomas Soome <tsoome⊙mc>
-
gitomat
[illumos-gate] 16257 bnu: parameters default to int -- Toomas Soome <tsoome⊙mc>
-
gitomat
[illumos-gate] 16253 ypcmd: type of parameter defaults to 'int' -- Toomas Soome <tsoome⊙mc>
-
danmcd
Just got back, I'll try that hpet thing, jbk!
-
danmcd
@jbk without setting to use hpet in /etc/system, will the NUC *panic* ?
-
danmcd
'cause my (can't see) misbehavior is reboot-after-iPXE *UNLESS* "-kd" or "-k" is used as a UNIX flag.
-
danmcd
(Suggesting we panic in illumos, but I can't *see* the panic thanks to iPXE -> illumos handoff with UEFI-only console)
-
jbk
it depends i think on what happens with the PIT calibration
-
jbk
do you not see anything at all?
-
jbk
even without kmdb, prom_debug=1 should let you see what's happening with the TSC calibration (and if it gets past that or not) if you can view any console output
-
danmcd
I don't see ANYTHING AT ALL. It's like whatever loader does to the EFI console (which I know works because with igc(4D) the NUC 11 boots from USB key with oddness and disk without), iPXE is failing to do.
-
danmcd
And my earlier confirmation from RM about yes-we're-past-dboot (which I've confirmed thanks to using just "-k" to unix), is that we're panicking somewhere, but with no console (and no easy serial on NUC) I'm just screwed.
-
danmcd
Not like NUCs-as-Triton-Compute-Nodes is a big deal.
-
danmcd
I'm also downrev on the NUC Firmware, so there's a chance something there is broken.
-
tsoome
loader does call gop->Blt() to put stuff on screen unless BS are switched off. (see gfxfb_blt() in boot/common/gfx_fb.c). This means, if there is no memory mapped framebuffer, we can still see output on loader local console, but, this also means, without memory mapped framebuffer, gfx_private in our kernel can not draw.
-
tsoome
so without memory mapped fb, only serial console is possible...
-
tsoome
s/are/is/
-
jbk
unfortunately, it sounds like ixpe does something different
-
jbk
danmcd: just to ask, is it the triton ixpe or the upstream ixpe? ISTR there were some local changes in the triton one that never were accepted upstream (though I don't think ones that would matter for this)
-
tsoome
there is only 3 things it can possibly do -- in gfx mode either use gop->Blt or direct fb rendering (memory writes), or use SimpleTextOutput protocol to write to console.
-
tsoome
ofc SimpleTextOutput protocol is part of boot services, as soon as BS is switched off, that mechanism is gone.
-
tsoome
(same for GOP).
-
tsoome
I did default to use gop->Blt() to keep visible console in case there is no FB and in hope it might have some internal optimizations to get images on screen fast(er).