-
jclulow
tsoome_: So my serial console doesn't work right anymore. It seems to be stuck at 9600 baud even though the file says 115200. Also, if I switch to 9600 baud to engage with it, it's doing that thing where it drops a lot of key presses... I'm pretty sure this never used to happen on this machine.
gist.github.com/jclulow/68a87cd9d4c7267a6f58c1efb107fcdd
-
jclulow
When it gets up into the OS, because I have the console ttydef forced to 115200 it starts working then
-
tsoome_
jclulow hm. it is confusing. there is ttya-spcr-mode present, so thats the setting from firmware, and if it is there, we should have ttya-mode with the same value (it is actual setting for port), and the presence of ttya-spcr-mode should block the change of ttya-mode. one can unset ttya-spcr-mode to make it possible to change ttya-mode - there is no nounset hook set with *-spcr-mode. so the question is, why we get ttya-mode set to 9600...
-
jclulow
why does ttya-spcr-mode block setting ttya-mode :/
-
tsoome_
because you have set it in firmware and firmware console redirection may depend on its value.
-
jclulow
I haven't set it in the firmware
-
jclulow
There aren't any settings in the firmware haha
-
tsoome_
well, ok, it is reported value
-
jclulow
I think we probably need to take people at face value when they set the property that has worked for probably 25+ years
-
tsoome_
ou, the system does not have serial redirection but it is still reporting SPCR?
-
jclulow
I'm not sure what it has, to be honest, it's a minimal core boot
-
tsoome_
thats the problem, people do not set property values, we do provide 9600 in our config files, while todays systems default to 115200
-
jclulow
I think it's a PC Engines apu1d4
-
tsoome_
its booting with BIOS mode?
-
jclulow
It looks like BIOS yes
-
tsoome_
so it does get acpi spcr.
-
jclulow
To be clear, if I didn't put something in /boot/conf.d/* that explicitly sets ttya-mode it would be fine to do whatever the firmware says
-
jclulow
but I did :P
-
tsoome_
so it was working with default 115200?
-
tsoome_
(default in sense what firmware was having)
-
jclulow
I haven't been on the console in probably a year, since before updating to OmniOS r151046 LTS. When I wrote the file in 2020 it was working at 115200 yes
-
jclulow
Which was probably OmniOS r151034 I think
-
tsoome_
there is other bug, however, we use 'N' in biosacpi.c, but comconsole is expecting 'n', so need to fix that.
-
jclulow
I did wonder if that was case insensitive
-
tsoome_
I also think, there should be better way to ignore spcr, probably like ignore-spcr=true or something
-
tsoome_
jclulow could you check please if
code.illumos.org/c/illumos-gate/+/3327 will improve things...
-
fenix
→ CODE REVIEW 3327: 16330 loader: SPCR needs better handling (NEW) |
illumos.org/issues/16330
-
Leyoda
Hello everyone, I hope you're all well, I had a question about using BHyve, should I prefer Omnios or OpenIndiana?
-
andyf
They should both work fine, the underlying bhyve code comes from illumos which they both share. As far as I know, they both have bhyve-branded zones too which means you can run it in a zone and get to its console with zlogin etc.
-
andyf
OmniOS does have a `zadm` utility which makes things a bit easier, and the way the zones are implemented is a bit different, but that's all.
-
Leyoda
andyf thank you
-
gitomat
[illumos-gate] 16297 pmadvise: 'restrict'-qualified parameter aliases with argument 4 -- Toomas Soome <tsoome⊙mc>
-
sommerfeld
tsoome_: do you have plans to integrate
code.illumos.org/c/illumos-gate/+/3299 soon?
-
fenix
→ CODE REVIEW 3299: 16290 libuutil: assfail() is not needed (NEW) |
illumos.org/issues/16290
-
tsoome_
sort of, I think I need to get the nightly done soon
-
tsoome_
is it affecting something?
-
sommerfeld
it will simplify my
code.illumos.org/c/illumos-gate/+/3237 (which among other things fixes the return type for assfail() to be consistently void)
-
fenix
→ CODE REVIEW 3237: 16192 Retire libc's thr_debug.h in favor of <sys/debug.h> (NEW) |
illumos.org/issues/16192
-
tsoome_
I see, I'll set the nightly up now
-
sommerfeld
Thanks!
-
gitomat
[illumos-gate] 16322 sockfs: unused variable -- Toomas Soome <tsoome⊙mc>
-
gitomat
[illumos-gate] 16313 loader: we can only env_discard() existing variable -- Toomas Soome <tsoome⊙mc>
-
gitomat
[illumos-gate] 16320 remnants of patch builds should be removed -- Richard Lowe <richlowe⊙rn>
-
gitomat
[illumos-gate] 16200 posix NORMAL lock is required to deadlock -- Robert Mustacchi <rm⊙fo>