-
jclulow
Lots of people use those on all kinds of systems, so, I would be pretty surprised
-
LXGHTNXNG
right
-
LXGHTNXNG
it is not trivial to create an EFI disk label.
-
jclulow
Usually one is created for you automatically when you use "zpool create -B"
-
jclulow
Though you can also do all those things manually with format
-
LXGHTNXNG
I could not wingle format into doing what I wanted
-
LXGHTNXNG
zpool create -B isn't what I want to do. I want to create a separate partition for paging. I think I will at the very least label the disk on another OS.
-
jclulow
It is your computer!
-
LXGHTNXNG
I know paging partitions are an antipattern on illumos, but I no longer have trust in the patterns that illumos OSes prefer regarding this.
-
LXGHTNXNG
I'm well aware of the disk caching ... thing, that motivates feeding whole mass media to ZFS.
-
gitomat
[illumos-gate] 15121 tst.temporal.ksh has PATH dependencies -- Robert Mustacchi <rm⊙fo>
-
gitomat
[illumos-gate] 15126 ipv4info_t translator produces bad flags value -- Robert Mustacchi <rm⊙fo>
-
gitomat
[illumos-gate] 15110 mdb ::printf replicated mdb ::print bitfield mistakes -- Robert Mustacchi <rm⊙fo>
-
LXGHTNXNG
my keyboard died.
-
LXGHTNXNG
I think it's back together.
-
LXGHTNXNG
ultimately the success came with a USB CDROM.
-
gitomat
[illumos-gate] 15109 dtrace replicated mdb's bitfield mistakes -- Robert Mustacchi <rm⊙fo>
-
jclulow
tsoome_: I filed a follow-up ticket for updating boot(8), are you otherwise happy with
code.illumos.org/c/illumos-gate/+/2498 ?
-
fenix
→ CODE REVIEW 2498: 15137 ZFS should allow direct import of a root pool from a /devices path 15122 vdev_disk_preroot_fini can race against the child vdev open taskq (NEW) |
illumos.org/issues/15137
-
LXGHTNXNG
beep boop (:
-
jclulow
I will definitely look at the crash dump, sorry, it's just an incredibly busy week at Oxide.
-
LXGHTNXNG
That's ok. How's your day been thus far?
-
LXGHTNXNG
or, too busy for smalltalk?
-
jclulow
Hectic!
-
tsoome_
jclulow +1 wit h small nit:)
-
jclulow
What! I love composite expressions haha
-
tsoome_
jclulow I'm cleaning tons of such constructs with clang (because of missing compare operator)
-
tsoome_
:D
-
tsoome_
thats the "using the result of an assignment as a condition without parentheses" warning
-
jclulow
Yeah I mean you obviously need the parens and the comparator
-
tsoome_
anyhow, not a blocker for me, hence +1
-
jclulow
Tah
-
tsoome_
btw, if you have a bit of time, this one might interest you:
code.illumos.org/c/illumos-gate/+/2314
-
fenix
→ CODE REVIEW 2314: 14919 tem: implement xenl (NEW) |
illumos.org/issues/14919
-
LXGHTNXNG
i feel like i have been photocopied
-
tsoome_
hrm?
-
tsoome_
overexposed to light?:)
-
tsoome_
need to set up some review requests...
-
jclulow
tsoome_: Have you tried vttest with tem
-
tsoome_
vttest? does not ring the bell
-
tsoome_
I once did run few tests coming with xterm
-
jclulow
-
tsoome_
yes, I found it:)
-
tsoome_
seems interesting
-
jperkin
out of interest did anyone figure out a way to run the full vttest suite without having to go through all the silly prompts?
-
jclulow
I think you kind of have to use the prompts
-
jclulow
I don't think it works without you visually inspecting the results
-
tsoome_
much of it would probably require visual inspection
-
jclulow
Yeah
-
jperkin
fair enough
-
tsoome_
heh:D you were faster on typing:P
-
jclulow
Now I want double width and height lines haha
-
jclulow
I feel like that is not commonly implemented
-
tsoome_
"fat" lines?
-
jperkin
can't recall what the issue was but was trying to figure out if there was a problem with my terminal output and found it really frustrating to have to navigate the vttest menus instead of just running something once and then scrolling back in one go
-
jclulow
jperkin: Yeah it definitely has a very particular style
-
jperkin
especially when you aren't entirely sure what the problem might be and which test might trigger it
-
jclulow
-
tsoome_
ah, stretched.
-
jperkin
oh yeh, it was recent gnupg or something related breaking output in pinentry-tty mode
-
tsoome_
that would be more work:)
-
tsoome_
the current code is assuming fixed size glyphs:)
-
jperkin
actually while I have some tty experts handy, do either of you know what might cause this?
mail-index.netbsd.org/pkgsrc-users/2022/08/31/msg036134.html
-
tsoome_
jperkin locally there means what?
-
tsoome_
on illumos console?
-
jperkin
running direcly on my mac in terminal.app
-
tsoome_
usually such mixup hints about bad utf8/unixode sequences
-
tsoome_
unicode*
-
tsoome_
interesting thing is that vertical lines are ok
-
jperkin
yeh that's what I found odd
-
tsoome_
and the corners..
-
jperkin
and I'm almost certain it used to work fine, ncurses didn't change during that period (so the terminfo entries should be the same), so trying to figure out what code changes may have affected it
-
jperkin
but other than forcing different TERM I don't know where to start looking with this stuff
-
jperkin
hence hoping vttest would print "TERM is missing the frobnicator capability" or something
-
jclulow
It would be interesting to know if it were using Unicode box drawing or whether it was using the VT style mode switch to b
-
jclulow
to box drawing alphabet and back
-
tsoome_
'g' is 0x67 and '>' is 0x3e, so you should see some byte sequence ending with those values - while drawing horizontal lines, that is
-
tsoome_
-
tsoome_
for unicode, you can test with ficl-sys (in illumos) like this: 0x2500 xemit cr
-
tsoome_
this will draw horizontal line
-
tsoome_
in shell... with octals like this: echo "\0342\0225\0220"
-
tsoome_
thats with utf-8 encoding of U+2550
-
jclulow
You may want to check what locale environment variables the Mac is passing through SSH
-
denk
hello, guys, please look at the man page:
illumos.org/man/3C/pthread_rwlock_destroy
-
denk
int pthread_rwlock_destroy(pthread_rwlock_t **rwlock);
-
denk
the argument should be pthread_rwlock_t *
-
jclulow
Can you file a bug please
-
denk
yes, of course
-
jclulow
Thanks!
-
tsoome_
sigh. we have long way to make vttest ok;)
-
tsoome_
and vt52 tests did crash us. not good at all.
-
denk
-
fenix
→
BUG 15169: incorrect argumnet declaration for pthread_rwlock_destroy (New)
-
jclulow
Thanks denk
-
jclulow
tsoome_: crash, like a panic?
-
tsoome_
it was kind of instant, but this UTM vm is able to boot like at 5 times from 10, it is a bit effort to see if we got dump...
-
tsoome_
I havent had any time to find out why it will hung during the boot...
-
jclulow
is UTM basically QEMU?
-
tsoome_
yes
-
tsoome_
with machine emulation - emulating x86 on arm
-
jclulow
Ah
-
jclulow
I feel like QEMU has gotten increasingly screwy since about 6.X
-
jclulow
*6.0
-
tsoome_
so that is probably contributing factor
-
tsoome_
but also, can not exclude bugs from our side:D
-
LXGHTNXNG
should I, one day, write my own imapd
-
jclulow
Yes
-
LXGHTNXNG
(¿)
-
tsoome_
especially because freebsd on UTM does "feel" snappier, but also it does not hung during boot....
-
jclulow
Does UTM have any debugging facilities? Can it inject a serial break or an NMI?
-
tsoome_
I would hope but havent really investigated
-
tsoome_
Once I get clang cleanup done, I'll have a bit more time for investigating:D
-
jclulow
this loader serial port dropping characters thing kills me haha
-
jclulow
so hard to type
-
tsoome_
-
tsoome_
that is bug in firmware:(
-
jclulow
It feels like other boot loaders do not have this problem though
-
tsoome_
when serial port is bound to ConsIn, the SimpleTextInput is "stealing" from SerialIO
-
tsoome_
yes, it depends on how the console bits are done.
-
jclulow
Can we do our console bits some other way?
-
tsoome_
what is your current console variable?
-
tsoome_
et value of*
-
jclulow
err
-
tsoome_
err*
-
jclulow
It is going to take me minutes of pushing buttons to find out haha
-
LXGHTNXNG
clang cleanup?
-
tsoome_
LXGHTNXNG to be able to build illumos gate with clang
-
LXGHTNXNG
is this some kind of subbranch
-
tsoome_
only in my tree atm
-
LXGHTNXNG
ok
-
LXGHTNXNG
is your tree published anywhere
-
tsoome_
and it is not particularly useful atm:D
-
jclulow
tsoome_: console=ttya and os_console=ttya
-
jclulow
I have to press each key between 1 and ~50 times (a different number of times for each key)
-
LXGHTNXNG
I had that in loader, in qemu (on virsh) after what I think was a failed attempt to fire up the OS
-
jclulow
It happens in almost every virtual machine I have available and on some hardware
-
LXGHTNXNG
which was frustrating enough that I reset the machine
-
tsoome_
-
LXGHTNXNG
right on
-
tsoome_
LXGHTNXNG just note this is work in progress
-
LXGHTNXNG
right
-
LXGHTNXNG
if there's anything I can do to help, let me know
-
tsoome_
jclulow righ, I was confusing myself earlier -- its not about serialio issue, but about the fact we are kind of forced to use ioport based serial port access (comconsole.c) from bios version. And this is because uefi does not provide good way to identify serial ports. Altho, I'm not 100% sure if this issue was biting with serialio too... need to test it again.
-
jclulow
This is definitely a UEFI VM, we don't currently have BIOS/CSM for Propolis generally
-
tsoome_
The problem is, we do get serialio handles from handle lookup, but we do not have good generic way to build the mapping to tty[abcd]
-
tsoome_
I guess I should re-test if serialio will miss the input too and figure out the way to create mapping for tty?
-
tsoome_
this is also needed to support those memory mapped/pci/usb serial devices...
-
jclulow
Presumably on i86pc you can look at ACPI tables
-
jclulow
and if those are not present or don't seem correct, just fall back to the classic PC values for COM1-4?
-
jclulow
It is not really clear if UEFI's vision of the serial ports is really helping
-
andyf
What is odd is that if you leave a bhyve VM sitting at the ok prompt on serial and forget about it for some time, it can work perfectly when you come back.
-
jclulow
huh
-
jclulow
That is odd
-
andyf
and when I did look at this, adding small sleeps to bits of loader made it work properly, but I didn't get further
-
tsoome_
the grub2 is just creating "serial" device and does not really concern itself about mapping, freebsd is other way complicated
-
tsoome_
fbsd is basically using the same "solution" as we do - using comconsole.c from bios version on x86
-
tsoome_
jclulow is your case from VM or plain hw?
-
jclulow
this one right here is a VM
-
jclulow
but the serial stuff works fine once you get to kmdb
-
tsoome_
using edk2 based firmware I guess
-
jclulow
It is ... OVMF?
-
tsoome_
yes, with kmdb we have exited UEFI boot services and own the hw
-
jclulow
-
tsoome_
aye. well, in core, the root cause is that efi simple text input protocol is "stealing" the serial io input, so that there is a race with INB instructions from comsonsole.c
-
jclulow
So does this happen on FreeBSD as well under similar VMs?
-
tsoome_
yes, but they try to enforce you to use console type "efi" if you have serial port multiplexed in ConIn
-
jclulow
Can I "set console=efi" on our loader?
-
tsoome_
no, we do not have "efi" console
-
jclulow
ah ok
-
tsoome_
in fbsd, it will fall back to use SimpleTextOutput protocol, but that one is other kind of evil
-
jclulow
haha
-
jclulow
It would be nice to somehow just kick the UEFI input handling in the shins
-
tsoome_
SimpleTextOutput will send to all ConOut devices, but it will not pass esc char, so you can not use CSI
-
tsoome_
I will try to figure something. Obviously this has to get improved
-
jclulow
I stand ready to test!
-
tsoome_
need to get my wife to shopping now:D
-
jclulow
That seems prudent
-
LXGHTNXNG
weird, a fully loaded VM will only seem to use 20% of my CPU
-
LXGHTNXNG
ah, nvm
-
LXGHTNXNG
it's not fully loaded at all
-
gitomat
[illumos-gate] 15137 ZFS should allow direct import of a root pool from a /devices path -- Joshua M. Clulow <jmc⊙oc>
-
frkzoid
-
frkzoid
sry qrong #