-
nikolam
I would like to enable serial console in SmartOS GZ so it is available after booting from Loader (and re-use the same console as in loader).
-
tsoome
what is your current situation about it, nikolam?
-
tsoome
ah, I see the #illumos
-
tsoome
could you send me outputs from: prtconf -v | grep -A1 'tty.-' and tr '\0' '\n' < /system/boot/environment | grep tty
-
nikolam
hello tsoome glat to hear you. Here it is from bare metal SmartOS install, HP 800 G4 SFF :
pastelink.net/qx6d96ve
-
nikolam
glad :)
-
tsoome
ok, so the port modes are the same. what does 'show console' tell in loader ok prompt and what is does prtconf -v | grep -A1 console tell?
-
nikolam
tsoome, this is from GZ:
pastelink.net/q28zogks , show console says text
-
tsoome
"text" is local console (graphical), not serial. if you enter from ok prompt command: console - this would tell you about actually available console devices, and then you can try with either: set console=ttya (ttyb, ...) or boot -B console=ttya (or ttyb...) or with boot -B os_console=ttya (or ttyb ...)
-
tsoome
once you have established working port, you can adjust your system setup accordingly.
-
tsoome
btw, to avoid losing console on testing, you can set it: set console=text,ttya and verify both devices
-
nikolam
tsoome, I got it working serial console with this Intel KVM over IP, only if remote desktop console is off, when machine reboots.
-
nikolam
And it states show console as text,ttya
-
nikolam
and I issue boot-B os_console=ttya and still nothing in serial console after Booting...
-
tsoome
do you have output from loader console command, what device paths are there?
-
tsoome
and same for prtconf -vD | grep -w asy
-
nikolam
Wow, I got 2 times ttya.. , when serial console is working in loader.. (only upon fresh hard reboot)
-
nikolam
text, ttya, ttya, ttyb, null, spin
-
nikolam
first ttya PCiRoot(0x0)/Pci(0x16,0x3)Uart(115200,8,N,1) second ttya ISA IO device PciRoot(0x0)/Pci(0x1F ,0x0)Serial(0x0)
-
tsoome
text, ttya, ttya, ttyb ? there is no typo?
-
tsoome
on serial terminal, it would be nice if you could save and mail me output of loader lsefi command (its long!) and you can use something like tee or screen -L to save the terminal output.