-
jimklimov1
yup, "we have a plan to cut a billion bolts in the 5-year range! let's exceed it and cut 1.1 billion bolts!" "and we have a plan to cut a billion nuts in the 5-year range! let's exceed it and cut 1.5 billion nuts!" ... 5 years later ... "So what do we do with several extra trains of nuts?"
-
jimklimov1
as for python questions... ended up abandoning hope for certbot as I found acme.sh instead and it just worked
-
LeftWing
I am a fan of dehydrated
-
nbjoerg
getssl for me :)
-
jimklimov1
well, the first second option google came up with :)
-
jimklimov1
TBH, dehydrated was also there in the page
-
jimklimov1
not sure about getssl
-
jimklimov1
are there any particular differences? I just need to pre-face a Jenkisn server with an apache (or nginx) doing https, and updating the cert regularly
-
jbk
heh.. so i'd really like to update the tpm driver to support tpm 2.0 devices (since those are a lot more useful than 1.2 devices)...
-
jbk
though i have a somewhat silly question...
-
jbk
my home server has a tpm 2.0 module attached to the LPC bus
-
jbk
how in the world do you enumerate/attach to that?
-
jbk
I _think_ there's like an ISA PNP id, and an ACPI table (which in this case just says 'it uses memory mapped io' but doesn't indicate a physical address like say an HPET
-
jbk
IIUC, there is a fixed physical address -- but i'm thinking there should be some sort of way for the system to know if there's one there
-
jbk
vs. blindly poking at stuff
-
jbk
(i didn't see anything obvious in the writing drivers book.. though maybe didn't look in the right spot)
-
LeftWing
jbk: I expect it's going to be something you find out through ACPI, or through the CPU programmer's references
-
LeftWing
My incredibly limited understanding suggests that just because something is LPC-attached, doesn't mean it is necessarily ISA
-
LeftWing
Perhaps the TPM specification covers how you're supposed to find them, even
-
jbk
my question is more around the driver binding (I think)
-
jbk
like for 2.0 devices, there should (if i read it correctly) an ACPI table, which for mine says 'memory mapped'.. which ok.. there's a defined hw address range
-
jbk
but doesn't something still need to say 'hey i found this, and this is the driver to load and attach'
-
LeftWing
Presumably the acpirootnex?
-
LeftWing
I recall there being some stuff in uts/intel/io/acpica/acpi_enum.c which interacts with /boot/solaris/devicedb/master
-
jbk
aha.. i think that was the missing piece
-
jbk
the _HID is MSFT0101 -- so i think a line just needs to be there to tell it to load the driver
-
sjorge
-
sjorge
Does this look familier to you?
-
sjorge
I got it twice last night on the CN that is running the latest bhyve sync
-
sjorge
I can provide dump if needed
-
nbjoerg
hm. freebsd guests under bhyve seeing vtnet watchdog timeouts -- does that ring a bell for anyone?
-
sjorge
-
sjorge
nbjoerg on illumos?
-
andyf
sjorge: no, does not ring any bells. I'll take a look at the core
-
sensille
Smithx10: your pool scattered all over the datacenter? :D So you got it back up?
-
andyf
@Agnar_: until the signalfd thing is fixed, I suggest you add -DWAIT_USE_POLL to config_env->{CPPFLAGS} in your build_farm.conf
-
sjorge
andyf let me know when i can remove the dump
-
andyf
got it, thanks
-
nbjoerg
sjorge: well, smartos, but I think bhyve is common base?
-
sjorge
nbjoerg yeah thats all illumos :p
-
sjorge
I've had this happen from time to time, where all viona's buffers are on loan
-
sjorge
it basically gets stuck and trips the watchdog/deadman timer thingy
-
sjorge
Usually when that happens and you bounce the vm... it never leaves shutting_down state
-
sjorge
Might be something different though
-
sjorge
illumos.org/issues/13463 is the loan buffer issue
-
fenix
→
BUG 13463: bhyve locks up when viona ring buffers on loan to a local zone are not returned by sockfs (New)
-
sjorge
It causes all sorts of weird effect with nics
-
nbjoerg
sjorge: in my case it is only one or two interfaces affected
-
nbjoerg
hm. so what I don't understand from the ticket is we can't allocate more ring buffer elements and swap them behind bhyve on TX?
-
Smithx10
sensille: lol yes
-
sjorge
nbjoerg yeah, but that does lock up the nic and depending on how quick it happens it could just hang the VM or have the guest os in the vm panic or hang.
-
sjorge
Could still be a different issue, but I have certainly seen freebsd barf on watchdog when it was happening ot one or more nics
-
ypankov
hm, still seeing acpi stuff in wsdiff output, i thought 10447 was supposed to take care of that? or not entirely?
-
andyf
ypankov: it only takes care of it if you don't change VERSION between builds IIRC
-
andyf
If, like me, you use something like the commit hash in VERSION, they show up every time
-
ypankov
andyf: it seems to be a lot of the following:
pastebin.com/LuDFcb9w, does not seem to be VERSION related? or is it?
-
andyf
did your VERSION change length?
-
andyf
-
ypankov
pastebin.com/Ksf8TLNm -- this? i just checked out previous commit
-
andyf
yes, so because the length of VERSION changed, I expect it's caused code offsets to change too
-
ypankov
ok, great, thanks!
-
andyf
It's not ideal. These days, if I remember, I manually set VERSION to the same as the last build when I want to wsdiff.
-
ypankov
nice hint!
-
andyf
I'd like to see VERSION removed entirely from those acpi files, but I'm not sure everyone agrees.
-
nbjoerg
sjorge: any way to bump the initial size?
-
nbjoerg
sjorge: virtio allows up to 64k if I read this correctly?
-
ypankov
wonder if there's any real reason to keep gcc 4.4.4 shadow as requirement?
-
ypankov
andyf: this one is done i think?
illumos.org/issues/10011
-
fenix
→
BUG 10011: stop building and shipping lint libraries (In Progress)
-
andyf
ypankov: yes, it needs closing and I couldn't work out how
-
andyf
I assume it needs someone with more permissions than I have
-
ypankov
got it, was just looking through lint-related issues to not file duplicate
-
andyf
I think the gcc 4 shadow is still there so we don't break SPARC unnecessarily.. it looks like we might get a gcc10 shadow soon, which will be nice too
-
ypankov
sparc only builds using gcc 4.4.4?
-
andyf
I think so, yes.
-
ptribble
sparc might build with other compilers, but only the gcc4 bits will actually work
-
ptribble
unless you add the additional sprc-specific patches our gcc4 has
-
ypankov
ok, that explains
-
» ypankov eyes LeftWing
-
andyf
ypankov: I have a fix for the slow pkg/server thing..
-
ypankov
so it's real issue?
-
andyf
Yes. The way that the python cheroot module is using /dev/poll seems problematic
-
andyf
here's the fix I'm going with for now, pending further investigation
-
andyf
-
andyf
when processing HTTP/1.1 connections, it puts the connection back on the select queue after processing a request, but it never comes up readable again even though there is a request waiting. This introduces 30s timeouts and slows everything down
-
andyf
There might be something wrong with Python's /dev/poll usage, I haven't looked yet
-
andyf
I can give you a hotfix, or just edit /usr/lib/python3.7/vendor-packages/cheroot/connections.py
-
andyf
(or python3.9 for the bloody branch)
-
ypankov
yep, let me try editing that and testing
-
jbk
do we have any restrictions on setting bootfs anymore?
-
jbk
src.illumos.org/source/xref/illumos…ootfs/bootfs_006_pos.ksh?r=c09fb523 -- this still fails and it seems like it should be trivial to fix -- i think it just hasn't been updated to match what's allowed these days
-
ypankov
it looks like only stripe and stripe+spare are not supported (according to tests)?
-
ypankov
that comment is now badly placed
-
jbk
-
jbk
which suggests it's allowing bootfs to be set
-
jbk
that's why i just wanted to try to confirm what's actually supposed to work
-
jbk
to make sure the test reflects reality
-
jbk
(or if our validation code is wrong)
-
LeftWing
ypankov: What are you looking at :P
-
tsoome
after leftwing did fix the kernel, we should be able to use striped setups too (in most cases)
-
LeftWing
err
-
LeftWing
I don't think my change will do anything for multi-vdev pools
-
tsoome
should test:)
-
jbk
i've been booting locally from this pool for quite some time:
gist.github.com/jasonbking/64ea324213d7020be2afef7a975cf6e1
-
jbk
(even before piadm)
-
jbk
though.. i don't recall how recently i've tried booting off an alternate device
-
jbk
i installed the bootloader on all 4 disks
-
tsoome
was it created with 2 vdevs?
-
tsoome
2 mirrors, that is
-
jbk
no, it was created like that IIRC
-
tsoome
ok, because if the second vdev is added later, then most of the files are still on the first:)
-
denk
a program is linked with libumem, is it possible to change the backend from sbrk to mmap from the program?
-
denk
from a sheel I can set UMEM_OPTIONS, but from the program... is it possible?
-
denk
*shell
-
rmustacc
There is a private way to do it from the program, but there is no stability promised for it.
-
denk
I see, thanks
-
rmustacc
See the use of _umem_options_init() or _umem_debug_init() in things like startd and configd.
-
rmustacc
In particular, all of the umem item have their own stability settings.
-
rmustacc
So, the backend is evolving. This means that it may still change and we can't promise you won't be broken in the future.
-
rmustacc
But it is likely the umem means of specifying that won't change.
-
denk
nice, at this moment a problem is solved, thank you very much!
-
Smithx10
anyway to find out what my zpool id is?
-
tsoome
zpool import, zdb
-
sjorge
nbjoerg: not sure, but someone over in #smartos might know
-
Smithx10
tsoome: easiest was zpool get guuid <pool>
-
tsoome
right:D
-
Smithx10
hahaha, i had a brain fart on that 1
-
gitomat
[illumos-gate] 13487 want mapfile-based assertions about symbol properties -- Richard Lowe <richlowe⊙rn>
-
richlowe
and now chaos ensues, I imagine
-
ypankov
that kind of chaos is good