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

    Installing OpenBSD on XG-7100

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    30 Posts 4 Posters 3.3k Views
    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.
    • F
      float
      last edited by

      Sorry to bump this topic. I'm also trying to install OpenBSD.

      @madapter Does your system only have the eMMc 32GB or a m.2?

      I noticed that OpenBSD does not detect the eMMc.

      FreeBSD does:
      mmcsd0: 31GB <MMCHC BJTD4R 0.3 SN D071F424 MFG 01/2018 by 21 0x0000> at mmc0 200.0MHz/8bit/8192-block
      mmcsd0boot0: 4MB partition 1 at mmcsd0
      mmcsd0boot1: 4MB partition 2 at mmcsd0
      mmcsd0rpmb: 4MB partition 3 at mmcsd0

      Could it be that because of the lack of detection of the eMMC, the system thinks it doens't have a HDD to install and thus does not show the install option?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You are seeing exactly the same output?

        It still looks like it's trying to use the VGA console to me.

        Steve

        1 Reply Last reply Reply Quote 0
        • F
          float
          last edited by float

          Yes, but eMMc is not mentioned:

          OpenBSD 6.7 (RAMDISK_CD) #177: Thu May  7 11:19:02 MDT 2020
              deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
          real mem = 8562393088 (8165MB)
          avail mem = 8298868736 (7914MB)
          mainbus0 at root
          bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7f6d7020 (7 entries)
          bios0: vendor coreboot version "ADI_PLCC-01.00.00.11" date 01/08/2019
          bios0: Silicom, Ltd. 80300-0134-g01
          acpi0 at bios0: ACPI 3.0
          acpi0: tables DSDT FACP SSDT MCFG TCPA APIC DMAR
          acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
          cpu0 at mainbus0: apid 4 (boot processor)
          cpu0: Intel(R) Atom(TM) CPU C3558 @ 2.20GHz, 2195.39 MHz, 06-5f-01
          cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
          cpu0: 2MB 64b/line 16-way L2 cache
          cpu0: cannot disable silicon debug
          cpu0: apic clock running at 25MHz
          cpu0: mwait min=64, max=64, C-substates=0.2.0.2, IBE
          cpu at mainbus0: not configured
          cpu at mainbus0: not configured
          cpu at mainbus0: not configured
          ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins, remapped
          acpiprt0 at acpi0: bus 0 (PCI0)
          acpiprt1 at acpi0: bus -1 (RP01)
          acpiprt2 at acpi0: bus -1 (RP02)
          acpiprt3 at acpi0: bus -1 (RP03)
          acpiprt4 at acpi0: bus -1 (RP04)
          acpiprt5 at acpi0: bus 2 (RP05)
          acpiprt6 at acpi0: bus -1 (RP06)
          acpiprt7 at acpi0: bus 3 (RP07)
          acpiprt8 at acpi0: bus 4 (RP08)
          acpicpu at acpi0 not configured
          "PNP0C0C" at acpi0 not configured
          "PNP0A08" at acpi0 not configured
          "PNP0003" at acpi0 not configured
          acpicmos0 at acpi0
          "INTC3000" at acpi0 not configured
          "BOOT0000" at acpi0 not configured
          pci0 at mainbus0 bus 0
          pchb0 at pci0 dev 0 function 0 "Intel C3000 Host" rev 0x11
          pchb1 at pci0 dev 4 function 0 "Intel C3000 GLREG" rev 0x11
          "Intel C3000 RCEC" rev 0x11 at pci0 dev 5 function 0 not configured
          ppb0 at pci0 dev 6 function 0 "Intel C3000 PCIE" rev 0x11
          pci1 at ppb0 bus 1
          "Intel C3000 QAT" rev 0x11 at pci1 dev 0 function 0 not configured
          ppb1 at pci0 dev 14 function 0 "Intel C3000 PCIE" rev 0x11
          pci2 at ppb1 bus 2
          ppb2 at pci0 dev 16 function 0 "Intel C3000 PCIE" rev 0x11
          pci3 at ppb2 bus 3
          ppb3 at pci0 dev 17 function 0 "Intel C3000 PCIE" rev 0x11
          pci4 at ppb3 bus 4
          "Intel C3000 SMBus" rev 0x11 at pci0 dev 18 function 0 not configured
          ahci0 at pci0 dev 20 function 0 "Intel C3000 AHCI" rev 0x11: msi, AHCI 1.3.1
          scsibus0 at ahci0: 32 targets
          xhci0 at pci0 dev 21 function 0 "Intel C3000 xHCI" rev 0x11: msi, xHCI 1.0
          usb0 at xhci0: USB revision 3.0
          uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
          ppb4 at pci0 dev 22 function 0 "Intel C3000 PCIE" rev 0x11
          pci5 at ppb4 bus 5
          ix0 at pci5 dev 0 function 0 "Intel X553 SFP+" rev 0x11: msi, address XX
          ix1 at pci5 dev 0 function 1 "Intel X553 SFP+" rev 0x11: msi, address XX
          ppb5 at pci0 dev 23 function 0 "Intel C3000 PCIE" rev 0x11
          pci6 at ppb5 bus 6
          ix2 at pci6 dev 0 function 0 "Intel X553 Backplane" rev 0x11: msi, address XX
          ix3 at pci6 dev 0 function 1 "Intel X553 Backplane" rev 0x11: msi, address XX
          "Intel C3000 ME HECI" rev 0x11 at pci0 dev 24 function 0 not configured
          sdhc0 at pci0 dev 28 function 0 "Intel C3000 eMMC" rev 0x11: apic 2 int 16
          sdhc0: SDHC 3.0, 200 MHz base clock
          sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma
          "Intel C3000 LPC" rev 0x11 at pci0 dev 31 function 0 not configured
          "Intel C3000 PMC" rev 0x11 at pci0 dev 31 function 2 not configured
          "Intel C3000 SMBus" rev 0x11 at pci0 dev 31 function 4 not configured
          "Intel C3000 SPI" rev 0x11 at pci0 dev 31 function 5 not configured
          isa0 at mainbus0
          com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
          com0: console
          com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
          sdmmc0: can't enable card
          softraid0 at root
          scsibus1 at softraid0: 256 targets
          PXE boot MAC address 0XXXX, interface ix2
          root on rd0a swap on rd0b dump on rd0b
          WARNING: CHECK AND RESET THE DATE!
          erase ^?, werase
          
          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Nope seems to hang just at that point when it's writing out the install menu. Booting verbose is also no help. Google is failing me. Seems surprising no one else has hit this on other devices...

            1 Reply Last reply Reply Quote 0
            • F
              float
              last edited by

              I tried to install with 6.7-current but still the same issue. Could it be that some hardware is not supported by OpenBSD?

              >> OpenBSD/amd64 PXEBOOT 3.52
              boot> stty com0 115200
              boot> set tty com0
              switching console to com0
                                       >> OpenBSD/amd64 PXEBOOT 3.52
              boot> bsd.rd
              cannot open tftp:/etc/random.seed: No such file or directory
              booting tftp:bsd.rd: 3826381+1573888+3882216+0+757760 [324033+128+468408+313269]=0xaa33b8
              entry point at 0xffffffff81001000
                                               Copyright (c) 1982, 1986, 1989, 1991, 1993
                      The Regents of the University of California.  All rights reserved.
              Copyright (c) 1995-2020 OpenBSD. All rights reserved.  https://www.OpenBSD.org
              
              OpenBSD 6.7-current (RAMDISK_CD) #27: Sat Aug 15 10:19:27 MDT 2020
                  deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
              real mem = 8562393088 (8165MB)
              avail mem = 8298868736 (7914MB)
              random: good seed from bootblocks
              mainbus0 at root
              bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7f6d7020 (7 entries)
              bios0: vendor coreboot version "ADI_PLCC-01.00.00.11" date 01/08/2019
              bios0: Silicom, Ltd. 80300-0134-g01
              acpi0 at bios0: ACPI 3.0
              acpi0: tables DSDT FACP SSDT MCFG TCPA APIC DMAR
              acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
              cpu0 at mainbus0: apid 4 (boot processor)
              cpu0: Intel(R) Atom(TM) CPU C3558 @ 2.20GHz, 2195.40 MHz, 06-5f-01
              cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
              cpu0: 2MB 64b/line 16-way L2 cache
              cpu0: cannot disable silicon debug
              cpu0: apic clock running at 25MHz
              cpu0: mwait min=64, max=64, C-substates=0.2.0.2, IBE
              cpu at mainbus0: not configured
              cpu at mainbus0: not configured
              cpu at mainbus0: not configured
              ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins, remapped
              acpiprt0 at acpi0: bus 0 (PCI0)
              acpiprt1 at acpi0: bus -1 (RP01)
              acpiprt2 at acpi0: bus -1 (RP02)
              acpiprt3 at acpi0: bus -1 (RP03)
              acpiprt4 at acpi0: bus -1 (RP04)
              acpiprt5 at acpi0: bus 2 (RP05)
              acpiprt6 at acpi0: bus -1 (RP06)
              acpiprt7 at acpi0: bus 3 (RP07)
              acpiprt8 at acpi0: bus 4 (RP08)
              acpicpu at acpi0 not configured
              "PNP0C0C" at acpi0 not configured
              acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
              "PNP0003" at acpi0 not configured
              acpicmos0 at acpi0
              "INTC3000" at acpi0 not configured
              "BOOT0000" at acpi0 not configured
              pci0 at mainbus0 bus 0
              pchb0 at pci0 dev 0 function 0 "Intel C3000 Host" rev 0x11
              pchb1 at pci0 dev 4 function 0 "Intel C3000 GLREG" rev 0x11
              "Intel C3000 RCEC" rev 0x11 at pci0 dev 5 function 0 not configured
              ppb0 at pci0 dev 6 function 0 "Intel C3000 PCIE" rev 0x11
              pci1 at ppb0 bus 1
              "Intel C3000 QAT" rev 0x11 at pci1 dev 0 function 0 not configured
              ppb1 at pci0 dev 14 function 0 "Intel C3000 PCIE" rev 0x11
              pci2 at ppb1 bus 2
              ppb2 at pci0 dev 16 function 0 "Intel C3000 PCIE" rev 0x11
              pci3 at ppb2 bus 3
              ppb3 at pci0 dev 17 function 0 "Intel C3000 PCIE" rev 0x11
              pci4 at ppb3 bus 4
              "Intel C3000 SMBus" rev 0x11 at pci0 dev 18 function 0 not configured
              ahci0 at pci0 dev 20 function 0 "Intel C3000 AHCI" rev 0x11: msi, AHCI 1.3.1
              scsibus0 at ahci0: 32 targets
              xhci0 at pci0 dev 21 function 0 "Intel C3000 xHCI" rev 0x11: msi, xHCI 1.0
              usb0 at xhci0: USB revision 3.0
              uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
              ppb4 at pci0 dev 22 function 0 "Intel C3000 PCIE" rev 0x11
              pci5 at ppb4 bus 5
              ix0 at pci5 dev 0 function 0 "Intel X553 SFP+" rev 0x11, msix, 1 queue, address xx
              ix1 at pci5 dev 0 function 1 "Intel X553 SFP+" rev 0x11, msix, 1 queue, address xx
              ppb5 at pci0 dev 23 function 0 "Intel C3000 PCIE" rev 0x11
              pci6 at ppb5 bus 6
              ix2 at pci6 dev 0 function 0 "Intel X553 Backplane" rev 0x11, msix, 1 queue, address xx
              ix3 at pci6 dev 0 function 1 "Intel X553 Backplane" rev 0x11, msix, 1 queue, address xx
              "Intel C3000 ME HECI" rev 0x11 at pci0 dev 24 function 0 not configured
              sdhc0 at pci0 dev 28 function 0 "Intel C3000 eMMC" rev 0x11: apic 2 int 16
              sdhc0: SDHC 3.0, 200 MHz base clock
              sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
              "Intel C3000 LPC" rev 0x11 at pci0 dev 31 function 0 not configured
              "Intel C3000 PMC" rev 0x11 at pci0 dev 31 function 2 not configured
              "Intel C3000 SMBus" rev 0x11 at pci0 dev 31 function 4 not configured
              "Intel C3000 SPI" rev 0x11 at pci0 dev 31 function 5 not configured
              isa0 at mainbus0
              com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
              com0: console
              com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
              umass0 at uhub0 port 2 configuration 1 interface 0 "Sony Storage Media" rev 2.00/1.00 addr 2
              umass0: using SCSI over Bulk-Only
              scsibus1 at umass0: 2 targets, initiator 0
              sd0 at scsibus1 targ 1 lun 0: <Sony, Storage Media, 0100> removable serial.054c0439008123001204
              sd0: 7740MB, 512 bytes/sector, 15851520 sectors
              sdmmc0: can't enable card
              softraid0 at root
              scsibus2 at softraid0: 256 targets
              PXE boot MAC address xx, interface ix2
              root on rd0a swap on rd0b dump on rd0b
              erase ^?, werase
              
              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                For some reason the installer is hanging at that point. I have no idea why. It seems to be uncommon, I can find no other similar reports.

                Using OpenBSD on the XG-7100 is going to be pretty restricted anyway even you do get it installed. You would only be able to use the SFP ports or anything in the expansion slot.

                Steve

                1 Reply Last reply Reply Quote 0
                • F
                  float
                  last edited by

                  I also tried to install Freebsd 12.1 via the serial console. That worked like a charm after doing "set kern.vty=sc" :-)

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Yes, I would expect it to. It's odd that the OpenBSD installer freezes at that point. If there were some reason for it I would expect to see a load of similar reports on other hardware.

                    1 Reply Last reply Reply Quote 0
                    • F
                      float
                      last edited by

                      Could you help me out on how to configure Marvell 88E6190? I only see ix0 ix1 ix2 ix3. They don't detect any UTP-cable.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        In OpenBSD? I have no idea if the switch framework even exists there TBH.

                        1 Reply Last reply Reply Quote 0
                        • F
                          float
                          last edited by

                          Sorry about the confusion. I was talking about FreeBSD. I gave up on OpenBSD :-)
                          I will look in the image of the XG-7100. If I understand it correctly. I have to link the switch ports to the "behind the scene" ports.

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            Yes, but the pfSense image for the XG-7100 has a number of modifications to allow that to happen.
                            Is there some reason you cannot just use the factory image here?

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • F
                              float
                              last edited by

                              No, I'm just trying to learn about the system and how it works.

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                Ah, OK. The internal layout is described here:
                                https://docs.netgate.com/pfsense/en/latest/solutions/xg-7100-1u/switch-overview.html

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.