Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Duals console: Primary and Secondary are swapped on boot
« previous
next »
Print
Pages: [
1
]
Author
Topic: Duals console: Primary and Secondary are swapped on boot (Read 1200 times)
weust
Hero Member
Posts: 650
Karma: 57
Duals console: Primary and Secondary are swapped on boot
«
on:
May 18, 2023, 07:05:08 pm »
I was installing my Dell R230 with OPNsense 23.1 and got it updated, then restored a backup which messed up console output on boot.
Fixed it by ticking "Use the virtual terminal driver (vt)" and setting Primary Console to EFI.
Though I am unsure if the latter is needed when using vt?
Anyway, I set EFI Console to Primary and left the Secondary console set to Serial.
But booting the machine, the Loader shows option 5 (Cons) as Serial Primary.
dmesg shows this as well:
Quote
Dual Console: Serial Primary, Video Secondary
That doesn't seem right?
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17570
Karma: 1596
Re: Duals console: Primary and Secondary are swapped on boot
«
Reply #1 on:
May 18, 2023, 07:42:30 pm »
It depends on the hardware. Some EFI consoles might present itself as "serial". Or do all of them? I don't actually know.
Cheers,
Franco
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: Duals console: Primary and Secondary are swapped on boot
«
Reply #2 on:
May 19, 2023, 10:26:21 am »
OK, but that doesn't explain why the order that is set in the WebGUI config isn't maintained on boot.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17570
Karma: 1596
Re: Duals console: Primary and Secondary are swapped on boot
«
Reply #3 on:
May 19, 2023, 09:47:07 pm »
Kernel/boot loader probably ignores it? Not sure and not a fan of the code involved making a lot of assumptions and reacting differently based on magic environment variables given in loder.conf most the time.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Duals console: Primary and Secondary are swapped on boot