Bug #15421
open
Netgate 3100 boot loader lacks Lua support but is trying to read loader.conf.lua
Added by Kris Phillips 8 months ago.
Updated 6 months ago.
Category:
Operating System
Affected Plus Version:
24.03
Affected Architecture:
SG-3100
Description
When booting the Netgate 3100, there appears to be a bootloader syntax error present:
Booting from disk1s2a:
Loading /boot/defaults/loader.conf
console comconsole is invalid!
no valid consoles!
Available consoles:
uboot
Warning: syntax error on file /boot/loader.conf.lua
if _ENV["smbios.system.maker"] == "Netgate" then
^
/boot/kernel/kernel text=0x1b4 text=0x835410
Files
- Status changed from New to Confirmed
Confirmed. Does not prevent booting though. Or have any noticable impact since loader.conf.lua does not contain any 3100 specific values.
Oddly, I'm getting a similar, but not the same error message on an x86 KVM VM. See attached. Not sure if this is related or not, but sharing here regardless.
- Subject changed from Syntax Error Booting Netgate 3100 to Netgate 3100 boot loader lacks Lua support but is trying to read loader.conf.lua
Kris Phillips wrote in #note-2:
Oddly, I'm getting a similar, but not the same error message on an x86 KVM VM. See attached. Not sure if this is related or not, but sharing here regardless.
That is a much different error. That implies that smbios.planar.product
is not present, which it might not be in certain VM configs. The error on this issue originally is more like the 3100 loader doesn't support Lua since it doesn't know what to do with any Lua code at all. I'd move the x86 one off to a separate issue, it could possibly be fixed by a change in the Lua syntax, unlike this 3100 issue.
Jim Pingle wrote in #note-3:
Kris Phillips wrote in #note-2:
Oddly, I'm getting a similar, but not the same error message on an x86 KVM VM. See attached. Not sure if this is related or not, but sharing here regardless.
That is a much different error. That implies that smbios.planar.product
is not present, which it might not be in certain VM configs. The error on this issue originally is more like the 3100 loader doesn't support Lua since it doesn't know what to do with any Lua code at all. I'd move the x86 one off to a separate issue, it could possibly be fixed by a change in the Lua syntax, unlike this 3100 issue.
Roger that. Created https://redmine.pfsense.org/issues/15571
Also available in: Atom
PDF