• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Netgate Firmware Version Unknown

Scheduled Pinned Locked Moved Plus 24.03 Development Snapshots (Retired)
35 Posts 3 Posters 2.7k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Online
    stephenw10 Netgate Administrator
    last edited by Feb 13, 2024, 3:37 PM

    Ok check what you have in loader.conf.lua:

    [24.03-DEVELOPMENT][root@pfSense.home.arpa]/boot: cat /boot/loader.conf.lua
    if _ENV["smbios.system.maker"] == "Netgate" then
            if _ENV["smbios.system.product"] == "4100" or _ENV["smbios.system.product"] == "6100" or _ENV["smbios.system.product"] == "6200" or _ENV["smbios.system.product"] == "8200" then
                    _ENV["console"]="efi"
                    _ENV["hint.cordbuc.0.at"]="isa"
                    _ENV["hint.cordbuc.0.port"]="0x800"
    
                    _ENV["hint.gpioled.0.at"]="gpiobus0"
                    _ENV["hint.gpioled.0.pins"]="0x001"
                    _ENV["hint.gpioled.0.name"]="red1"
                    _ENV["hint.gpioled.0.invert"]="1"
    
                    _ENV["hint.gpioled.1.at"]="gpiobus0"
                    _ENV["hint.gpioled.1.pins"]="0x002"
                    _ENV["hint.gpioled.1.name"]="green1"
                    _ENV["hint.gpioled.1.invert"]="1"
    
                    _ENV["hint.gpioled.2.at"]="gpiobus0"
                    _ENV["hint.gpioled.2.pins"]="0x004"
                    _ENV["hint.gpioled.2.name"]="blue1"
                    _ENV["hint.gpioled.2.invert"]="1"
    
                    _ENV["hint.gpioled.3.at"]="gpiobus0"
                    _ENV["hint.gpioled.3.pins"]="0x008"
                    _ENV["hint.gpioled.3.name"]="amber1"
                    _ENV["hint.gpioled.3.invert"]="1"
    
                    _ENV["hint.gpioled.4.at"]="gpiobus0"
                    _ENV["hint.gpioled.4.pins"]="0x010"
                    _ENV["hint.gpioled.4.name"]="red2"
                    _ENV["hint.gpioled.4.invert"]="1"
    
                    _ENV["hint.gpioled.5.at"]="gpiobus0"
                    _ENV["hint.gpioled.5.pins"]="0x020"
                    _ENV["hint.gpioled.5.name"]="green2"
                    _ENV["hint.gpioled.5.invert"]="1"
    
                    _ENV["hint.gpioled.6.at"]="gpiobus0"
                    _ENV["hint.gpioled.6.pins"]="0x040"
                    _ENV["hint.gpioled.6.name"]="blue2"
                    _ENV["hint.gpioled.6.invert"]="1"
    
                    _ENV["hint.gpioled.7.at"]="gpiobus0"
                    _ENV["hint.gpioled.7.pins"]="0x080"
                    _ENV["hint.gpioled.7.name"]="amber2"
                    _ENV["hint.gpioled.7.invert"]="1"
    
                    _ENV["hint.gpioled.8.at"]="gpiobus0"
                    _ENV["hint.gpioled.8.pins"]="0x100"
                    _ENV["hint.gpioled.8.name"]="red3"
                    _ENV["hint.gpioled.8.invert"]="1"
    
                    _ENV["hint.gpioled.9.at"]="gpiobus0"
                    _ENV["hint.gpioled.9.pins"]="0x200"
                    _ENV["hint.gpioled.9.name"]="green3"
                    _ENV["hint.gpioled.9.invert"]="1"
    
                    _ENV["hint.gpioled.10.at"]="gpiobus0"
                    _ENV["hint.gpioled.10.pins"]="0x400"
                    _ENV["hint.gpioled.10.name"]="blue3"
                    _ENV["hint.gpioled.10.invert"]="1"
    
                    _ENV["hint.gpioled.11.at"]="gpiobus0"
                    _ENV["hint.gpioled.11.pins"]="0x800"
                    _ENV["hint.gpioled.11.name"]="amber3"
                    _ENV["hint.gpioled.11.invert"]="1"
            end
            if _ENV["smbios.system.product"] == "4200" then
                    _ENV["hw.uart.console"]="mm:0xfe03e000"
                    _ENV["dev.igc.0.iflib.override_nrxqs"]="1";
                    _ENV["dev.igc.1.iflib.override_nrxqs"]="1";
                    _ENV["dev.igc.2.iflib.override_nrxqs"]="1";
                    _ENV["dev.igc.3.iflib.override_nrxqs"]="1";
            end
            if _ENV["smbios.system.product"] == "8300" then
                    _ENV["ice_ddp_load"]="yes"
            end
    end
    
    if _ENV["smbios.planar.product"] == "80300-0134-G00" then
            _ENV["boot_serial"]="YES"
            _ENV["console"]="comconsole"
            _ENV["hint.mdio.0.at"]="ix2"
            _ENV["hint.e6000sw.0.addr"]="0"
            _ENV["hint.e6000sw.0.is8190"]="1"
            _ENV["hint.e6000sw.0.port0disabled"]="1"
            _ENV["hint.e6000sw.0.port9cpu"]="1"
            _ENV["hint.e6000sw.0.port10cpu"]="1"
            _ENV["hint.e6000sw.0.port9speed"]="2500"
            _ENV["hint.e6000sw.0.port10speed"]="2500"
    end
    
    if _ENV["smbios.system.product"] == "DFFv2" or _ENV["smbios.system.product"] == "RCC" or _ENV["smbios.system.product"] == "RCC-VE" then
            _ENV["boot_serial"]="YES"
            _ENV["console"]="comconsole"
            _ENV["comconsole_port"]="0x2F8"
            _ENV["hint.uart.0.flags"]="0x00"
            _ENV["hint.uart.1.flags"]="0x10"
    end
    
    comconsole_speed="115200"
    

    We suspect a change there may not have made it into your install somehow.

    D 1 Reply Last reply Feb 13, 2024, 3:44 PM Reply Quote 0
    • D Offline
      DefenderLLC @stephenw10
      last edited by DefenderLLC Feb 13, 2024, 3:45 PM Feb 13, 2024, 3:44 PM

      @stephenw10 Here is my output:

      [24.03-DEVELOPMENT][admin@pfSense.home.arpa]/root: cat /boot/loader.conf.lua
      if _ENV["smbios.system.maker"] == "Netgate" then
              if _ENV["smbios.system.product"] == "4100" or _ENV["smbios.system.product"] == "6100" or _ENV["smbios.system.product"] == "6200" or _ENV["smbios.system.product"] == "8200" then
                      _ENV["console"]="efi"
                      _ENV["hint.cordbuc.0.at"]="isa"
                      _ENV["hint.cordbuc.0.port"]="0x800"
      
                      _ENV["hint.gpioled.0.at"]="gpiobus0"
                      _ENV["hint.gpioled.0.pins"]="0x001"
                      _ENV["hint.gpioled.0.name"]="red1"
                      _ENV["hint.gpioled.0.invert"]="1"
      
                      _ENV["hint.gpioled.1.at"]="gpiobus0"
                      _ENV["hint.gpioled.1.pins"]="0x002"
                      _ENV["hint.gpioled.1.name"]="green1"
                      _ENV["hint.gpioled.1.invert"]="1"
      
                      _ENV["hint.gpioled.2.at"]="gpiobus0"
                      _ENV["hint.gpioled.2.pins"]="0x004"
                      _ENV["hint.gpioled.2.name"]="blue1"
                      _ENV["hint.gpioled.2.invert"]="1"
      
                      _ENV["hint.gpioled.3.at"]="gpiobus0"
                      _ENV["hint.gpioled.3.pins"]="0x008"
                      _ENV["hint.gpioled.3.name"]="amber1"
                      _ENV["hint.gpioled.3.invert"]="1"
      
                      _ENV["hint.gpioled.4.at"]="gpiobus0"
                      _ENV["hint.gpioled.4.pins"]="0x010"
                      _ENV["hint.gpioled.4.name"]="red2"
                      _ENV["hint.gpioled.4.invert"]="1"
      
                      _ENV["hint.gpioled.5.at"]="gpiobus0"
                      _ENV["hint.gpioled.5.pins"]="0x020"
                      _ENV["hint.gpioled.5.name"]="green2"
                      _ENV["hint.gpioled.5.invert"]="1"
      
                      _ENV["hint.gpioled.6.at"]="gpiobus0"
                      _ENV["hint.gpioled.6.pins"]="0x040"
                      _ENV["hint.gpioled.6.name"]="blue2"
                      _ENV["hint.gpioled.6.invert"]="1"
      
                      _ENV["hint.gpioled.7.at"]="gpiobus0"
                      _ENV["hint.gpioled.7.pins"]="0x080"
                      _ENV["hint.gpioled.7.name"]="amber2"
                      _ENV["hint.gpioled.7.invert"]="1"
      
                      _ENV["hint.gpioled.8.at"]="gpiobus0"
                      _ENV["hint.gpioled.8.pins"]="0x100"
                      _ENV["hint.gpioled.8.name"]="red3"
                      _ENV["hint.gpioled.8.invert"]="1"
      
                      _ENV["hint.gpioled.9.at"]="gpiobus0"
                      _ENV["hint.gpioled.9.pins"]="0x200"
                      _ENV["hint.gpioled.9.name"]="green3"
                      _ENV["hint.gpioled.9.invert"]="1"
      
                      _ENV["hint.gpioled.10.at"]="gpiobus0"
                      _ENV["hint.gpioled.10.pins"]="0x400"
                      _ENV["hint.gpioled.10.name"]="blue3"
                      _ENV["hint.gpioled.10.invert"]="1"
      
                      _ENV["hint.gpioled.11.at"]="gpiobus0"
                      _ENV["hint.gpioled.11.pins"]="0x800"
                      _ENV["hint.gpioled.11.name"]="amber3"
                      _ENV["hint.gpioled.11.invert"]="1"
              end
              if _ENV["smbios.system.product"] == "4200" then
                      _ENV["hw.uart.console"]="mm:0xfe03e000"
                      _ENV["dev.igc.0.iflib.override_nrxqs"]="1";
                      _ENV["dev.igc.1.iflib.override_nrxqs"]="1";
                      _ENV["dev.igc.2.iflib.override_nrxqs"]="1";
                      _ENV["dev.igc.3.iflib.override_nrxqs"]="1";
              end
              if _ENV["smbios.system.product"] == "8300" then
                      _ENV["ice_ddp_load"]="yes"
              end
      end
      
      if _ENV["smbios.planar.product"] == "80300-0134-G00" then
              _ENV["boot_serial"]="YES"
              _ENV["console"]="comconsole"
              _ENV["hint.mdio.0.at"]="ix2"
              _ENV["hint.e6000sw.0.addr"]="0"
              _ENV["hint.e6000sw.0.is8190"]="1"
              _ENV["hint.e6000sw.0.port0disabled"]="1"
              _ENV["hint.e6000sw.0.port9cpu"]="1"
              _ENV["hint.e6000sw.0.port10cpu"]="1"
              _ENV["hint.e6000sw.0.port9speed"]="2500"
              _ENV["hint.e6000sw.0.port10speed"]="2500"
      end
      
      if _ENV["smbios.system.product"] == "DFFv2" or _ENV["smbios.system.product"] == "RCC" or _ENV["smbios.system.product"] == "RCC-VE" then
              _ENV["boot_serial"]="YES"
              _ENV["console"]="comconsole"
              _ENV["comconsole_port"]="0x2F8"
              _ENV["hint.uart.0.flags"]="0x00"
              _ENV["hint.uart.1.flags"]="0x10"
      end
      
      comconsole_speed="115200"
      
      1 Reply Last reply Reply Quote 0
      • S Online
        stephenw10 Netgate Administrator
        last edited by Feb 13, 2024, 4:13 PM

        Hmm, so identical. 🤔

        1 Reply Last reply Reply Quote 0
        • S Online
          stephenw10 Netgate Administrator
          last edited by Feb 13, 2024, 4:15 PM

          Do you see the hints added:

          [24.03-DEVELOPMENT][root@pfSense.home.arpa]/boot: kenv | grep hint.cordbuc
          hint.cordbuc.0.at="isa"
          hint.cordbuc.0.port="0x800"
          
          D 1 Reply Last reply Feb 13, 2024, 4:19 PM Reply Quote 0
          • D Offline
            DefenderLLC @stephenw10
            last edited by Feb 13, 2024, 4:19 PM

            @stephenw10 Looks like you found the issue since mine are clearly not there. What file do I need to edit to add these entries? Thanks!

            [24.03-DEVELOPMENT][admin@pfSense.home.arpa]/root: kenv | grep hint.cordbuc
            [24.03-DEVELOPMENT][admin@pfSense.home.arpa]/root:
            
            1 Reply Last reply Reply Quote 0
            • S Online
              stephenw10 Netgate Administrator
              last edited by Feb 13, 2024, 4:21 PM

              Aha! They should be added by loader.conf.lua at boot but yours are not for some reason. Checking....

              D 1 Reply Last reply Feb 13, 2024, 4:36 PM Reply Quote 0
              • D Offline
                DefenderLLC @stephenw10
                last edited by Feb 13, 2024, 4:36 PM

                @stephenw10 Thanks man! At least I'm not the only one having this issue...

                1 Reply Last reply Reply Quote 0
                • S Online
                  stephenw10 Netgate Administrator
                  last edited by Feb 13, 2024, 4:49 PM

                  Is it not reporting as the correct device somehow? Seems unlikely since that would break a lot more things but:

                  [24.03-DEVELOPMENT][root@pfSense.home.arpa]/boot: kenv | grep smbios
                  hint.smbios.0.mem="0x7c51d000"
                  smbios.bios.reldate="2023-03-17"
                  smbios.bios.revision="13.5"
                  smbios.bios.vendor="INSYDE Corp."
                  smbios.bios.version="CORDOBA-03.00.00.03t"
                  smbios.chassis.maker="Silicom"
                  smbios.chassis.serial="xxxxxxxxxxxxxxxxxx"
                  smbios.chassis.tag="None"
                  smbios.chassis.type="Other"
                  smbios.chassis.version="R403"
                  smbios.memory.enabled="16777216"
                  smbios.planar.location="Type2 - Board Chassis Location"
                  smbios.planar.maker="Silicom"
                  smbios.planar.product="80300-0214-G17"
                  smbios.planar.serial="xxxxxxxxxx"
                  smbios.planar.tag="Type2 - Board Asset Tag"
                  smbios.planar.version="R403"
                  smbios.socket.enabled="1"
                  smbios.socket.populated="1"
                  smbios.system.family="Type1Family"
                  smbios.system.maker="Netgate"
                  smbios.system.product="8200"
                  smbios.system.serial="xxxxxxxxxx"
                  smbios.system.sku="Not Specified"
                  smbios.system.uuid="8cecd71f-9693-4131-9872-fdf39ebde037"
                  smbios.system.version="R403"
                  smbios.version="3.0"
                  
                  You may wanbt to obscure your serial/NDI from that output. Assuming it shows it!
                  D 1 Reply Last reply Feb 13, 2024, 5:17 PM Reply Quote 0
                  • D Offline
                    DefenderLLC @stephenw10
                    last edited by DefenderLLC Feb 13, 2024, 5:19 PM Feb 13, 2024, 5:17 PM

                    @stephenw10 Here it the output with my serial numbers removed:

                    [24.03-DEVELOPMENT][admin@pfSense.home.arpa]/root: kenv | grep smbios
                    hint.smbios.0.mem="0x7c51d000"
                    smbios.bios.reldate="2023-03-17"
                    smbios.bios.revision="13.5"
                    smbios.bios.vendor="INSYDE Corp."
                    smbios.bios.version="CORDOBA-03.00.00.03t"
                    smbios.chassis.maker="Silicom"
                    smbios.chassis.serial="**REMOVED, BUT WAS HERE**"
                    smbios.chassis.tag="None"
                    smbios.chassis.type="Other"
                    smbios.chassis.version="R311"
                    smbios.memory.enabled="8388608"
                    smbios.planar.location="Type2 - Board Chassis Location"
                    smbios.planar.maker="Silicom"
                    smbios.planar.product="80300-0214-G01"
                    smbios.planar.serial="**REMOVED, BUT WAS HERE**"
                    smbios.planar.tag="Type2 - Board Asset Tag"
                    smbios.planar.version="R311"
                    smbios.socket.enabled="1"
                    smbios.socket.populated="1"
                    smbios.system.family="Type1Family"
                    smbios.system.maker="Netgate"
                    smbios.system.product="6100"
                    smbios.system.serial="**REMOVED, BUT WAS HERE**"
                    smbios.system.sku="Not Specified"
                    smbios.system.uuid="**REMOVED, BUT WAS HERE**"
                    smbios.system.version="R311"
                    smbios.version="3.0"
                    [24.03-DEVELOPMENT][admin@pfSense.home.arpa]/root:
                    
                    1 Reply Last reply Reply Quote 1
                    • S Online
                      stephenw10 Netgate Administrator
                      last edited by Feb 13, 2024, 5:47 PM

                      Ok we have replicated it locally and are digging..

                      D 1 Reply Last reply Feb 13, 2024, 6:44 PM Reply Quote 1
                      • D Offline
                        DefenderLLC @stephenw10
                        last edited by Feb 13, 2024, 6:44 PM

                        @stephenw10 Always a good sign! Thank you.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          DefenderLLC
                          last edited by Feb 26, 2024, 3:39 PM

                          Update: this issue is still present through today's daily snapshot:

                          876ee497-ebc2-4666-9448-907c5b5c77a9-image.png

                          e89bf6fd-ed65-41ab-a6a1-4e04436db76f-image.png

                          1 Reply Last reply Reply Quote 0
                          • S Online
                            stephenw10 Netgate Administrator
                            last edited by Feb 26, 2024, 4:19 PM

                            Ok I think this is a side effect of another issue. Check /boot/loader.conf it should contain the line:
                            loader_conf_files="/boot/loader.conf.lua"

                            We have seen that line missing from a few other cases though.

                            D 1 Reply Last reply Feb 26, 2024, 4:24 PM Reply Quote 2
                            • D Offline
                              DefenderLLC @stephenw10
                              last edited by DefenderLLC Feb 26, 2024, 4:27 PM Feb 26, 2024, 4:24 PM

                              @stephenw10 said in Netgate Firmware Version Unknown:

                              /boot/loader.conf

                              Definitely not here. Added the entry to the bottom and am rebooting. Standby...

                              [24.03-DEVELOPMENT][admin@pfSense.home.arpa]/root: cat /boot/loader.conf
                              kern.cam.boot_delay=10000
                              kern.ipc.nmbclusters="1000000"
                              kern.ipc.nmbjumbop="524288"
                              kern.ipc.nmbjumbo9="524288"
                              opensolaris_load="YES"
                              zfs_load="YES"
                              kern.geom.label.gptid.enable="0"
                              kern.geom.label.disk_ident.enable="0"
                              boot_serial="YES"
                              comconsole_speed="115200"
                              console="efi"
                              autoboot_delay="3"
                              debug.ddb.capture.bufsize="524288"
                              hw.e6000sw.default_disabled=1
                              hw.hn.vf_transparent="0"
                              hw.hn.use_if_start="1"
                              net.link.ifqmaxlen="128"
                              machdep.hwpstate_pkg_ctrl="1"
                              net.pf.states_hashsize="524288"
                              
                              1 Reply Last reply Reply Quote 0
                              • S Online
                                stephenw10 Netgate Administrator
                                last edited by Feb 26, 2024, 4:27 PM

                                You can just manually add it. We are still investigating what might have removed it. Or caused it never to have been added.

                                D 1 Reply Last reply Feb 26, 2024, 4:29 PM Reply Quote 1
                                • D Offline
                                  DefenderLLC @stephenw10
                                  last edited by Feb 26, 2024, 4:29 PM

                                  @stephenw10 That did it. Thanks!

                                  09ba23cf-81f6-413e-bd7b-78810892f39e-image.png

                                  1 Reply Last reply Reply Quote 1
                                  • S Online
                                    stephenw10 Netgate Administrator
                                    last edited by Feb 26, 2024, 4:31 PM

                                    Excellent. OK that explains why it showed Unknown. Just need to find out why that line went AWOL!

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                      [[user:consent.lead]]
                                      [[user:consent.not_received]]