-
Agnar
ptribble: I actually run a SunRay platform at home for the family. I also got one of the sunray compatible "laptops", so we can sit in the garden and use wifi with it.
-
otis
i still have some sunray2's at home, not using them. one of them is even dualhead (two DVI outputs)
-
otis
i've used them at my ex-gf company (where there were sunrays+country kit on desks, with one server. sunray software ran on linux)
-
Agnar
I have on every TV a sunray, the kids have a SunRay2+, a SunRay3, another SunRay3 is in the living room, a SunRay2+ sits in the server-rack, we have the laptop and I have the SunRay3i with the embedded display in my office
-
Agnar
the server runs in a KVM on OI (will move it to bhyve in the next weeks) and the kids use it for homework or during covid for remote learning
-
otis
i'm moving to a new house next week, i might also get sunrays working again.
-
Agnar
it was especially useful when my kids were younger and couldn't remember strong passwords. the smartcard makes it nice and easy
-
otis
yeah, i only have my 20+-years-old smartcard, now yellowish...
-
otis
now when we were packing our stuff, i found also my sun certification cards (solaris 6, 8, 10, 11)
-
Agnar
cool :)
-
Agnar
otis: yellowfish?
-
Agnar
err
-
Agnar
otis: yellowwish?
-
Agnar
oh
-
Agnar
right
-
Agnar
the white cards turned
-
Agnar
gotcha :)
-
otis
exactly.
-
Agnar
I got new glasses and I still need to get used to them...seeing is hard currently
-
tsoome
you should be able to use any smartcard with sunray, except that you would need to write small code to read out unique id from it:)
-
tsoome
I once did it for estonian ID card, wasnt too hard, just few lines of .... forth :)
-
Agnar
tsoome: I bought a bunch of smartcards on amazon, but they didn't worked
-
tsoome
yes, the system needs to recognize them
-
tsoome
default is support for specific ones
-
Agnar
tsoome: so the code needs to be on the sunray server?
-
tsoome
yes.
-
Agnar
interesting
-
tsoome
and the script is ascii file, so it is possible to update
-
Agnar
I actually love that about the SRSS, mostly shell - easy to customize
-
tsoome
I need to search around, *may* have the sample stored, but I doubt a bit.....
-
Agnar
tsoome: would be cool!
-
tsoome
but it was not that hard to find:)
-
Agnar
because the sun cards are starting to break (physically)
-
tsoome
yes, that is the problem with EID as well -- it was popular to build access solutions based on EID cards - because everyone supposed to have them here (by law), but the contacts started to wear off and then you had to replace the card...
-
tsoome
then they did create mobile ID (based on sim) and then smart ID (entirely software) solutions
-
Agnar
that's the good thing about germany being so behind on digitalization - we will notice that way later ;)
-
tsoome
:D
-
tsoome
well, you can do some things with ~1.2 million people which you can not do with 100+ million people
-
Agnar
true, but I guess it's more about fearing the invest here ;)
-
aru
Hi, I bough a beelink s12 (a minipc with intel n100 in it) and I'm trying to run illumos on it. openindiana 20240426 boots, omni r151050 resets once the screen gets reset past loader, omni bloody 20240520 hangs at the same place. Any pointers on what to try to get omni to boot? I tried asking in #omnios without much success
-
andyf
Do you know where it is hanging? A verbose boot (one of the options in loader) will show at least the last driver that was loaded before the hang.
-
andyf
For r50, that resets, try booting with KMDB loaded (another loader option) and it should stop in the kernel debugger instead of resetting, then we can find out where it is.
-
andyf
It might be that OI has a patch that OmniOS doesn't have yet, so another option is to try the next bloody version that will be published on Friday/Saturday - OmniOS does a weekly upstream merge on a Thursday.
-
aru
I don't know where it hangs. Even if I turn on verbose, I don't get anything. I get a couple of lines from loader (loading /unix/... , the last one is "Booting ..."), then the screen resets (r50 dies at this point), on bloody the screen resets and I get a single block cursor in top left corner and thats it
-
aru
I'll try r50 with kmdb later today and we'll see
-
aru
although I do have a vague feeling I tried all the options and it didn't change anything, but maybe I'm misremembering
-
andyf
It's possible, if it's aborting early enough. Another tip is to enable the earlier boot debug with "-v -B prom_debug=true,kbm_debug=true" from the loader's ok prompt.
-
andyf
If OI is working but OmniOS is not, it's most likely something that was fixed in illumos-gate since the last bloody media were made.
-
andyf
but that's only 9 days, interesting.
-
aru
I was under the impression that the version of oi that comes up is older than latest bloody?
-
aru
I'll try the early boot debug and report back if it gives me anything
-
andyf
I'll just test some options and post them here
-
aru
thank you, appreciate that
-
Agnar
the install isos of OI are usually older while the package updates are usually a bit faster
-
andyf
This should work - press escape in the loader screen to drop to the "ok" prompt, and then:
-
andyf
boot -kvd -B prom_debug=true,kbm_debug=true
-
andyf
The -k and -d will drop you into the kernel debugger, if you get that far, the others should increase verbosity a bit for the early boot code
-
otis
i worked at a company where we made "RayMote W*Admin" where we could also personalize certain types of smart cards
-
aru
andyf: nope, no luck. it still does the same thing
-
andyf
That's disappointing. No additional output or clues?
-
tsoome
is this BIOS or UEFI boot? can you test other?
-
aru
what the heck, I got it to boot... by disabling a serial port in bios?
-
tsoome
let me guess - UEFI?
-
aru
yup
-
tsoome
it can be this specific system does not like us using IO ports for serial ports
-
tsoome
physical hw?
-
aru
yes
-
tsoome
firmware update may improve this
-
aru
I don't really care about serial port so I'm fine with keeping it off
-
tsoome_
I also have this update waiting for reviews:
code.illumos.org/c/illumos-gate/+/3422
-
fenix
→ CODE REVIEW 3422: 16475 loader.efi: replace comconsole with efiserialio (NEW) |
illumos.org/issues/16475
-
tsoome_
it would be interesting if you can check it (I can help by providing test binary)
-
aru
if you could give me something I can dd to a usbstick then I'd be glad to help
-
tsoome_
altho, it is curious it is affecting kernel startup.... we may need to review those bits
-
aru
so the hanging on bloody was probably it just waiting for input on the serial port? which didn't have anything attached to it
-
gitomat
[illumos-gate] 16583 Want ability to use libtermcap to filter over libcurses(3xcurses) -- Andy Fiddaman <illumos⊙fn>
-
tsoome_
was it appearing hung or was it resetting?
-
aru
bloody appeared hung, omni-r151050 was resetting
-
tsoome_
hm.
-
tsoome_
if you can test, enable serial again and drop out of boot menu, then enter: show console - what is the value there? also show os_console
-
tsoome_
otherwise, there is
54-115-50-84.sta.estpak.ee/loader.efi, you can copy it to the efi system partition on stick to /efi/boot/bootx64.efi and on ok prompt enter command: console
-
aru
also if i disable the serial port, the loader looks different, the fonts are bigger and so on, more text-y
-
tsoome_
different resolution - omnios sets 800x600 as default
-
tsoome_
this is done to keep the boot loader screen layout
-
aru
on omni-r151050 show console says "text,ttya", show os_console gives me "variable 'os_console' not found"
-
tsoome_
ok, so the kernel will use "text" as console, but *early kernel* probably does output on both text and ttya.
-
tsoome_
you can enter: set console=text and then boot
-
aru
with loader.efi you sent me it works ootb
-
aru
do you want me to collect anything else?
-
tsoome_
did you get output from command: console
-
aru
with your loader or the original one?
-
tsoome_
bothe are mine:P
-
tsoome_
both*
-
aru
you know what I meant :)
-
tsoome_
but yes, mine
-
tsoome_
you can mail the output to tsoome⊙mc
-
tsoome_
if you do not mind:)
-
tsoome_
the thing is, this new version is using UEFI Serial IO Protocol to communicate with port(s), so it can silently just drop the output when there is no terminal connacted; older version is using inb/outb on port address
-
tsoome_
but also early kernel is using inb/outb; so it may be that we are sending out "too much data" from old loader + kernel....
-
aru
is pasting a pastebin link here also ok?
-
tsoome_
yes
-
aru
-
tsoome_
that will do just fine
-
tsoome_
Not Found (#404)
-
aru
what the heck
-
tsoome_
try paste.ec ?
-
aru
-
tsoome_
better
-
tsoome_
ou
-
tsoome_
that is interesting.
-
aru
and i guess not in a good way?
-
tsoome_
so, there appeares to be no ioports
-
tsoome_
the new version was unable to recognize the port and names it tty0 (as fallback name), and therefore console is only set to text (note the missing ttya)
-
tsoome_
so, neither loader nor kernel is attempting to output on serial port and this is the reason you have good boot
-
aru
the rare case where two wrongs actually make a right?
-
tsoome_
do you have os running now? does it have anything in /dev/term and in /dev/cua ?
-
tsoome_
sort of yes.
-
tsoome_
UEFI is kind of pain for naming serial ports -- the API does not provide name for serial ports, so we attempt to check for "known" protocols. in this case, we fail to recognize
-
tsoome_
oh, there is one test you can help with, on loader ok prompt, enter lsefi -- it will print out long list of data, if you can find this path you see for tty0, that section would be interesting -- it may help me to identify the io protocol used there
-
aru
-
aru
-
tsoome_
so, the asy driver does find it.
-
» aru nods
-
tsoome_
you do not have serial cable and device to connect with (usb-serial dongle or like) ?
-
aru
sadly not
-
tsoome_
ok, np
-
tsoome_
I have to think a bit, this new code does check for ACPI IO, but you have ACPIEX, so we need to identify it
-
aru
sure, I'll hang around in case you need me to run anything. It might take me some time to respond, but eventually I will
-
tsoome_
-
fenix
→ CODE REVIEW 3422: 16475 loader.efi: replace comconsole with efiserialio (NEW) |
illumos.org/issues/16475
-
aru
it's been a while since i had to read c
-
tsoome_
was that handle (second link) the only handle with this AcpiEx ?
-
aru
unless I missed it then I'd say yes. It would be much easier if I could grep through the output
-
tsoome_
yes, I have thought to add search for pager, but still not done:)
-
aru
-
tsoome_
ok, good, that was expected one.
-
aru
sorry for missing it before
-
tsoome_
efi-show -g global -v ConOut -- does it only list acpiaddr device?
-
tsoome_
np, it is long list to scroll through
-
aru
one entry, "global NV,BS,RS ConOut = PciRoot(0x0)/Pci(0x2,0x0)/AcpiAdr(0x80012305)"
-
tsoome_
yes, thats video console
-
tsoome_
sorry, one more: efi-show -g global -v ConOutDev
-
aru
one entry "global BS,RS ConOutDev = PciRoot(0x0)/Pci(0x2,0x0)/AcpiAdr(0x80012305)"
-
tsoome_
good, ok.
-
tsoome_
ConOutDev is list of possible devices. So your system does not provide console over serial (or it is not configured to do so)
-
alanc
-
fenix
BUG 16584: posix_fadvise(3C) should do something (New)
-
fenix
-
fenix
issue '1795920863206011111' not found...
-
alanc
lol, if your issue ids ever get that high (while still being sequentially numbered), I'd worry
-
sommerfeld
more directly useful:
openzfs/zfs #13958
-
sommerfeld
I updated #16584 (fenix) with those links.
-
fenix
BUG 16584: posix_fadvise(3C) should do something (New)
-
fenix
-
alanc
right, the tweet just explained why you should look at that (an unfinished implementation for FreeBSD/OpenZFS based on the finished work for OpenZFS on Linux)
-
sommerfeld
Thanks for the pointer..
-
richlowe
alanc: obviously you should encode category information into the issue IDs, ala ASN.1
-
richlowe
(finding ways to design a worse issue tracker is a fun hobby!)
-
jbk
is the asn.1 encoding done in perl?