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

    SG-1100 - Failed pfsense upgrade

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    22 Posts 3 Posters 2.0k 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.
    • E Offline
      extremesurf @stephenw10
      last edited by

      @stephenw10 Thanks for the info, I appreciate you taking the time to look at it. So sounds like it's likely not fixable?

      Here's the contents of /tmp/bsdinstall_log:

      DEBUG: Running installation step: auto
      DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
      DEBUG: UNAME_S=[FreeBSD] UNAME_P=[aarch64] UNAME_R=[15.0-CURRENT]
      DEBUG: common.subr: Successfully loaded.
      DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
      DEBUG: dialog.subr: loading includes...
      DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
      DEBUG: strings.subr: Successfully loaded.
      DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
      DEBUG: variable.subr: loading includes...
      DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
      DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
      DEBUG: variable.subr: New variable VAR_CONFIG_FILE -> configFile
      DEBUG: variable.subr: New variable VAR_DEBUG -> debug
      DEBUG: variable.subr: New variable VAR_DEBUG_FILE -> debugFile
      DEBUG: variable.subr: New variable VAR_DIRECTORY_PATH -> _directoryPath
      DEBUG: variable.subr: New variable VAR_DOMAINNAME -> domainname
      DEBUG: variable.subr: New variable VAR_EDITOR -> editor
      DEBUG: variable.subr: New variable VAR_EXTRAS -> ifconfig_
      DEBUG: variable.subr: New variable VAR_GATEWAY -> defaultrouter
      DEBUG: variable.subr: New variable VAR_GROUP -> group
      DEBUG: variable.subr: New variable VAR_GROUP_GID -> groupGid
      DEBUG: variable.subr: New variable VAR_GROUP_MEMBERS -> groupMembers
      DEBUG: variable.subr: New variable VAR_GROUP_PASSWORD -> groupPassword
      DEBUG: variable.subr: New variable VAR_HOSTNAME -> hostname
      DEBUG: variable.subr: New variable VAR_HTTP_DIR -> httpDirectory
      DEBUG: variable.subr: New variable VAR_HTTP_FTP_MODE -> httpFtpMode
      DEBUG: variable.subr: New variable VAR_HTTP_HOST -> httpHost
      DEBUG: variable.subr: New variable VAR_HTTP_PATH -> _httpPath
      DEBUG: variable.subr: New variable VAR_HTTP_PORT -> httpPort
      DEBUG: variable.subr: New variable VAR_HTTP_PROXY -> httpProxy
      DEBUG: variable.subr: New variable VAR_HTTP_PROXY_HOST -> httpProxyHost
      DEBUG: variable.subr: New variable VAR_HTTP_PROXY_PATH -> _httpProxyPath
      DEBUG: variable.subr: New variable VAR_HTTP_PROXY_PORT -> httpProxyPort
      DEBUG: variable.subr: New variable VAR_IFCONFIG -> ifconfig_
      DEBUG: variable.subr: New variable VAR_IPADDR -> ipaddr
      DEBUG: variable.subr: New variable VAR_IPV6ADDR -> ipv6addr
      DEBUG: variable.subr: New variable VAR_IPV6_ENABLE -> ipv6_activate_all_interfaces
      DEBUG: variable.subr: New variable VAR_KEYMAP -> keymap
      DEBUG: variable.subr: New variable VAR_MEDIA_TIMEOUT -> MEDIA_TIMEOUT
      DEBUG: variable.subr: New variable VAR_MEDIA_TYPE -> mediaType
      DEBUG: variable.subr: New variable VAR_NAMESERVER -> nameserver
      DEBUG: variable.subr: New variable VAR_NETINTERACTIVE -> netInteractive
      DEBUG: variable.subr: New variable VAR_NETMASK -> netmask
      DEBUG: variable.subr: New variable VAR_NETWORK_DEVICE -> netDev
      DEBUG: variable.subr: New variable VAR_NFS_HOST -> nfsHost
      DEBUG: variable.subr: New variable VAR_NFS_PATH -> nfsPath
      DEBUG: variable.subr: New variable VAR_NFS_SECURE -> nfs_reserved_port_only
      DEBUG: variable.subr: New variable VAR_NFS_TCP -> nfs_use_tcp
      DEBUG: variable.subr: New variable VAR_NFS_V3 -> nfs_use_v3
      DEBUG: variable.subr: New variable VAR_NONINTERACTIVE -> nonInteractive
      DEBUG: variable.subr: New variable VAR_NO_CONFIRM -> noConfirm
      DEBUG: variable.subr: New variable VAR_NO_ERROR -> noError
      DEBUG: variable.subr: New variable VAR_NO_INET6 -> noInet6
      DEBUG: variable.subr: New variable VAR_PACKAGE -> package
      DEBUG: variable.subr: New variable VAR_PKG_TMPDIR -> PKG_TMPDIR
      DEBUG: variable.subr: New variable VAR_PORTS_PATH -> ports
      DEBUG: variable.subr: New variable VAR_RELNAME -> releaseName
      DEBUG: variable.subr: New variable VAR_SLOW_ETHER -> slowEthernetCard
      DEBUG: variable.subr: New variable VAR_TRY_DHCP -> tryDHCP
      DEBUG: variable.subr: New variable VAR_TRY_RTSOL -> tryRTSOL
      DEBUG: variable.subr: New variable VAR_UFS_PATH -> ufs
      DEBUG: variable.subr: New variable VAR_USER -> user
      DEBUG: variable.subr: New variable VAR_USER_ACCOUNT_EXPIRE -> userAccountExpire
      DEBUG: variable.subr: New variable VAR_USER_DOTFILES_CREATE -> userDotfilesCreate
      DEBUG: variable.subr: New variable VAR_USER_GECOS -> userGecos
      DEBUG: variable.subr: New variable VAR_USER_GID -> userGid
      DEBUG: variable.subr: New variable VAR_USER_GROUPS -> userGroups
      DEBUG: variable.subr: New variable VAR_USER_GROUP_DELETE -> userGroupDelete
      DEBUG: variable.subr: New variable VAR_USER_HOME -> userHome
      DEBUG: variable.subr: New variable VAR_USER_HOME_CREATE -> userHomeCreate
      DEBUG: variable.subr: New variable VAR_USER_HOME_DELETE -> userHomeDelete
      DEBUG: variable.subr: New variable VAR_USER_LOGIN_CLASS -> userLoginClass
      DEBUG: variable.subr: New variable VAR_USER_PASSWORD -> userPassword
      DEBUG: variable.subr: New variable VAR_USER_PASSWORD_EXPIRE -> userPasswordExpire
      DEBUG: variable.subr: New variable VAR_USER_SHELL -> userShell
      DEBUG: variable.subr: New variable VAR_USER_UID -> userUid
      DEBUG: variable.subr: New variable VAR_ZFSINTERACTIVE -> zfsInteractive
      DEBUG: variable.subr: VARIABLE_SELF_INITIALIZE=[1]
      DEBUG: f_variable_set_defaults: Initializing defaults...
      DEBUG: f_getvar: var=[debug] value=[1] r=0
      DEBUG: f_getvar: var=[editor] value=[/usr/bin/ee] r=0
      DEBUG: f_getvar: var=[hostname] value=[pfSense-install] r=0
      DEBUG: f_getvar: var=[MEDIA_TIMEOUT] value=[300] r=0
      DEBUG: f_getvar: var=[nfs_reserved_port_only] value=[NO] r=0
      DEBUG: f_getvar: var=[nfs_use_tcp] value=[NO] r=0
      DEBUG: f_getvar: var=[nfs_use_v3] value=[YES] r=0
      DEBUG: f_getvar: var=[PKG_TMPDIR] value=[/var/tmp] r=0
      DEBUG: f_getvar: var=[releaseName] value=[15.0-CURRENT] r=0
      DEBUG: f_variable_set_defaults: Defaults initialized.
      DEBUG: variable.subr: Successfully loaded.
      DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[C.UTF-8]
      DEBUG: dialog.subr: DIALOG_SELF_INITIALIZE=[1]
      DEBUG: f_dialog_init: ARGV=[] GETOPTS_STDARGS=[dD:SX]
      DEBUG: f_dialog_init: SECURE=[] USE_XDIALOG=[]
      DEBUG: f_dialog_init: dialog(1) API initialized.
      DEBUG: dialog.subr: Successfully loaded.
      DEBUG: Began Installation at Thu Sep 19 15:51:47 UTC 2024
      DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
      DEBUG: UNAME_S=[FreeBSD] UNAME_P=[aarch64] UNAME_R=[15.0-CURRENT]
      DEBUG: common.subr: Successfully loaded.
      DEBUG: f_debug_init: ARGV=[pfSense-netconfig] GETOPTS_STDARGS=[dD:]
      DEBUG: f_debug_init: debug=[1] debugFile=[/tmp/bsdinstall_log]
      DEBUG: Running installation step: pfSense-netconfig
      DEBUG: f_dialog_max_size: bsddialog --print-maxsize = [MaxSize: 50, 169]
      DEBUG: f_getvar: var=[height] value=[6] r=0
      DEBUG: f_getvar: var=[width] value=[57] r=0
      DEBUG: Running installation step: auto
      DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
      DEBUG: UNAME_S=[FreeBSD] UNAME_P=[aarch64] UNAME_R=[15.0-CURRENT]
      DEBUG: common.subr: Successfully loaded.
      DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
      DEBUG: dialog.subr: loading includes...
      DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
      DEBUG: strings.subr: Successfully loaded.
      DEBUG: f_include: file=[/usr/share/bsdconfig/variable.subr]
      DEBUG: variable.subr: loading includes...
      DEBUG: f_include: file=[/usr/share/bsdconfig/dialog.subr]
      DEBUG: f_include: file=[/usr/share/bsdconfig/strings.subr]
      DEBUG: variable.subr: New variable VAR_CONFIG_FILE -> configFile
      DEBUG: variable.subr: New variable VAR_DEBUG -> debug
      DEBUG: variable.subr: New variable VAR_DEBUG_FILE -> debugFile
      DEBUG: variable.subr: New variable VAR_DIRECTORY_PATH -> _directoryPath
      DEBUG: variable.subr: New variable VAR_DOMAINNAME -> domainname
      DEBUG: variable.subr: New variable VAR_EDITOR -> editor
      DEBUG: variable.subr: New variable VAR_EXTRAS -> ifconfig_
      DEBUG: variable.subr: New variable VAR_GATEWAY -> defaultrouter
      DEBUG: variable.subr: New variable VAR_GROUP -> group
      DEBUG: variable.subr: New variable VAR_GROUP_GID -> groupGid
      DEBUG: variable.subr: New variable VAR_GROUP_MEMBERS -> groupMembers
      DEBUG: variable.subr: New variable VAR_GROUP_PASSWORD -> groupPassword
      DEBUG: variable.subr: New variable VAR_HOSTNAME -> hostname
      DEBUG: variable.subr: New variable VAR_HTTP_DIR -> httpDirectory
      DEBUG: variable.subr: New variable VAR_HTTP_FTP_MODE -> httpFtpMode
      DEBUG: variable.subr: New variable VAR_HTTP_HOST -> httpHost
      DEBUG: variable.subr: New variable VAR_HTTP_PATH -> _httpPath
      DEBUG: variable.subr: New variable VAR_HTTP_PORT -> httpPort
      DEBUG: variable.subr: New variable VAR_HTTP_PROXY -> httpProxy
      DEBUG: variable.subr: New variable VAR_HTTP_PROXY_HOST -> httpProxyHost
      DEBUG: variable.subr: New variable VAR_HTTP_PROXY_PATH -> _httpProxyPath
      DEBUG: variable.subr: New variable VAR_HTTP_PROXY_PORT -> httpProxyPort
      DEBUG: variable.subr: New variable VAR_IFCONFIG -> ifconfig_
      DEBUG: variable.subr: New variable VAR_IPADDR -> ipaddr
      DEBUG: variable.subr: New variable VAR_IPV6ADDR -> ipv6addr
      DEBUG: variable.subr: New variable VAR_IPV6_ENABLE -> ipv6_activate_all_interfaces
      DEBUG: variable.subr: New variable VAR_KEYMAP -> keymap
      DEBUG: variable.subr: New variable VAR_MEDIA_TIMEOUT -> MEDIA_TIMEOUT
      DEBUG: variable.subr: New variable VAR_MEDIA_TYPE -> mediaType
      DEBUG: variable.subr: New variable VAR_NAMESERVER -> nameserver
      DEBUG: variable.subr: New variable VAR_NETINTERACTIVE -> netInteractive
      DEBUG: variable.subr: New variable VAR_NETMASK -> netmask
      DEBUG: variable.subr: New variable VAR_NETWORK_DEVICE -> netDev
      DEBUG: variable.subr: New variable VAR_NFS_HOST -> nfsHost
      DEBUG: variable.subr: New variable VAR_NFS_PATH -> nfsPath
      DEBUG: variable.subr: New variable VAR_NFS_SECURE -> nfs_reserved_port_only
      DEBUG: variable.subr: New variable VAR_NFS_TCP -> nfs_use_tcp
      DEBUG: variable.subr: New variable VAR_NFS_V3 -> nfs_use_v3
      DEBUG: variable.subr: New variable VAR_NONINTERACTIVE -> nonInteractive
      DEBUG: variable.subr: New variable VAR_NO_CONFIRM -> noConfirm
      DEBUG: variable.subr: New variable VAR_NO_ERROR -> noError
      DEBUG: variable.subr: New variable VAR_NO_INET6 -> noInet6
      DEBUG: variable.subr: New variable VAR_PACKAGE -> package
      DEBUG: variable.subr: New variable VAR_PKG_TMPDIR -> PKG_TMPDIR
      DEBUG: variable.subr: New variable VAR_PORTS_PATH -> ports
      DEBUG: variable.subr: New variable VAR_RELNAME -> releaseName
      DEBUG: variable.subr: New variable VAR_SLOW_ETHER -> slowEthernetCard
      DEBUG: variable.subr: New variable VAR_TRY_DHCP -> tryDHCP
      DEBUG: variable.subr: New variable VAR_TRY_RTSOL -> tryRTSOL
      DEBUG: variable.subr: New variable VAR_UFS_PATH -> ufs
      DEBUG: variable.subr: New variable VAR_USER -> user
      DEBUG: variable.subr: New variable VAR_USER_ACCOUNT_EXPIRE -> userAccountExpire
      DEBUG: variable.subr: New variable VAR_USER_DOTFILES_CREATE -> userDotfilesCreate
      DEBUG: variable.subr: New variable VAR_USER_GECOS -> userGecos
      DEBUG: variable.subr: New variable VAR_USER_GID -> userGid
      DEBUG: variable.subr: New variable VAR_USER_GROUPS -> userGroups
      DEBUG: variable.subr: New variable VAR_USER_GROUP_DELETE -> userGroupDelete
      DEBUG: variable.subr: New variable VAR_USER_HOME -> userHome
      DEBUG: variable.subr: New variable VAR_USER_HOME_CREATE -> userHomeCreate
      DEBUG: variable.subr: New variable VAR_USER_HOME_DELETE -> userHomeDelete
      DEBUG: variable.subr: New variable VAR_USER_LOGIN_CLASS -> userLoginClass
      DEBUG: variable.subr: New variable VAR_USER_PASSWORD -> userPassword
      DEBUG: variable.subr: New variable VAR_USER_PASSWORD_EXPIRE -> userPasswordExpire
      DEBUG: variable.subr: New variable VAR_USER_SHELL -> userShell
      DEBUG: variable.subr: New variable VAR_USER_UID -> userUid
      DEBUG: variable.subr: New variable VAR_ZFSINTERACTIVE -> zfsInteractive
      DEBUG: variable.subr: VARIABLE_SELF_INITIALIZE=[1]
      DEBUG: f_variable_set_defaults: Initializing defaults...
      DEBUG: f_getvar: var=[debug] value=[1] r=0
      DEBUG: f_getvar: var=[editor] value=[/usr/bin/ee] r=0
      DEBUG: f_getvar: var=[hostname] value=[pfSense-install] r=0
      DEBUG: f_getvar: var=[MEDIA_TIMEOUT] value=[300] r=0
      DEBUG: f_getvar: var=[nfs_reserved_port_only] value=[NO] r=0
      DEBUG: f_getvar: var=[nfs_use_tcp] value=[NO] r=0
      DEBUG: f_getvar: var=[nfs_use_v3] value=[YES] r=0
      DEBUG: f_getvar: var=[PKG_TMPDIR] value=[/var/tmp] r=0
      DEBUG: f_getvar: var=[releaseName] value=[15.0-CURRENT] r=0
      DEBUG: f_variable_set_defaults: Defaults initialized.
      DEBUG: variable.subr: Successfully loaded.
      DEBUG: f_include_lang: file=[/usr/libexec/bsdconfig/include/messages.subr] lang=[C.UTF-8]
      DEBUG: dialog.subr: DIALOG_SELF_INITIALIZE=[1]
      DEBUG: f_dialog_init: ARGV=[] GETOPTS_STDARGS=[dD:SX]
      DEBUG: f_dialog_init: SECURE=[] USE_XDIALOG=[]
      DEBUG: f_dialog_init: dialog(1) API initialized.
      DEBUG: dialog.subr: Successfully loaded.
      DEBUG: Began Installation at Thu Sep 19 15:53:34 UTC 2024
      DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
      DEBUG: UNAME_S=[FreeBSD] UNAME_P=[aarch64] UNAME_R=[15.0-CURRENT]
      DEBUG: common.subr: Successfully loaded.
      DEBUG: f_debug_init: ARGV=[pfSense-netconfig] GETOPTS_STDARGS=[dD:]
      DEBUG: f_debug_init: debug=[1] debugFile=[/tmp/bsdinstall_log]
      DEBUG: Running installation step: pfSense-netconfig
      DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
      DEBUG: UNAME_S=[FreeBSD] UNAME_P=[aarch64] UNAME_R=[15.0-CURRENT]
      DEBUG: common.subr: Successfully loaded.
      DEBUG: f_debug_init: ARGV=[pfSense-sysinfo] GETOPTS_STDARGS=[dD:]
      DEBUG: f_debug_init: debug=[1] debugFile=[/tmp/bsdinstall_log]
      DEBUG: Running installation step: pfSense-sysinfo
      DEBUG: f_getvar: var=[nonInteractive] value=[] r=1
      DEBUG: smbios.system.maker=[Marvell]
      DEBUG: smbios.system.product=[mvebu_armada-37xx]
      DEBUG: smbios.system.version=[]
      DEBUG: smbios.planar.maker=[Marvell]
      DEBUG: smbios.planar.product=[mvebu_armada-37xx]
      DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
      DEBUG: UNAME_S=[FreeBSD] UNAME_P=[aarch64] UNAME_R=[15.0-CURRENT]
      DEBUG: common.subr: Successfully loaded.
      DEBUG: f_debug_init: ARGV=[pfSense-disk-part] GETOPTS_STDARGS=[dD:]
      DEBUG: f_debug_init: debug=[1] debugFile=[/tmp/bsdinstall_log]
      DEBUG: Running installation step: pfSense-disk-part
      DEBUG: dialog.subr: DEBUG_SELF_INITIALIZE=[]
      DEBUG: UNAME_S=[FreeBSD] UNAME_P=[aarch64] UNAME_R=[15.0-CURRENT]
      DEBUG: common.subr: Successfully loaded.
      DEBUG: f_debug_init: ARGV=[umount] GETOPTS_STDARGS=[dD:]
      DEBUG: f_debug_init: debug=[1] debugFile=[/tmp/bsdinstall_log]
      DEBUG: Running installation step: umount
      DEBUG: f_dialog_max_size: bsddialog --print-maxsize = [MaxSize: 50, 169]
      DEBUG: f_getvar: var=[height] value=[8] r=0
      DEBUG: f_getvar: var=[width] value=[57] r=0
      

      This SG-1100 is about five years old, but honestly, it’s been unreliable since day one, especially comparing it to the old ALIX.2D3 devices that were bulletproof by comparison. I’m not sure if that’s just the nature of these lower-cost devices, but I can’t imagine anyone depending on it for business use. I’ve had to reflash it multiple times over the years. If it’s ever unplugged without doing a proper Halt System, or if it’s not connected to a UPS, it almost never boots back up on its own.

      This time, the issue started when the UPS batteries died and the power went out. When power was restored, only the power light came on—it wouldn’t fully boot. It displayed the pfSense logo during startup but then threw several errors and failed to complete the boot process.

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

        It does look like it might be an eMMC issue yes.

        You can now install to USB though as a workaround.

        1 Reply Last reply Reply Quote 0
        • E Offline
          extremesurf
          last edited by extremesurf

          Thanks for the information. The installer USB only seems to work through the USB 2.0 port, so would I just get a separate USB key to use in the USB 3.0 port to install to?

          Along the same lines, will a USB 3.0 key work, or should I stick with 2.0?

          And is 8GB still the minimum storage size required to install?

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

            The installer should work on either port but some USB memsticks will only work in one or the other. The uboot USB stack doesn't seem to handle fallback very well.

            Yes, using a USB3 stick as the target device should be better in terms of boot time. In reality it doesn't make much difference in my experience. Other than at boot.

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              extremesurf @stephenw10
              last edited by

              @stephenw10 Thanks for your help. I got another USB key and put in the USB 3.0 slot to install the operating system, but it seems to fail with 'Invalid Partition 2':

              Hit any key to stop autoboot:  0
              Marvell>> usb reset
              resetting USB...
              USB0:   Register 2000104 NbrPorts 2
              Starting the controller
              USB XHCI 1.00
              USB1:   USB EHCI 1.00
              scanning bus 0 for devices... 2 USB Device(s) found
              scanning bus 1 for devices... 2 USB Device(s) found
                     scanning usb for storage devices... 2 Storage Device(s) found
              Marvell>> run usbrecovery
              switch to partitions #0, OK
              mmc1(part 0) is current device
              
              MMC erase: dev # 1, block # 0, count 4194304 ... 4194304 blocks erased: OK
              resetting USB...
              USB0:   Register 2000104 NbrPorts 2
              Starting the controller
              USB XHCI 1.00
              USB1:   USB EHCI 1.00
              scanning bus 0 for devices... 2 USB Device(s) found
              scanning bus 1 for devices... EHCI timed out on TD - token=0x80008d80
              
                    USB device not accepting new address (error=22)
              1 USB Device(s) found
                     scanning usb for storage devices... 1 Storage Device(s) found
              ** Invalid partition 2 **
              
              

              It's a new flash drive that I haven't ever put data on, and after it failed I did try deleting the partitions and recreating, but I'm not sure if any specific prep is required on the flash drive?

              Do you have any suggestions how to proceed beyond this?

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

                Yes it's probably trying to boot from empty drive. Try swapping the drives for the install.

                Alternatively you can set a boot env to boot from the other device or manually set it at the uboot prompt.

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  extremesurf @stephenw10
                  last edited by

                  @stephenw10 This is the output when I switch the flash drives around. I should mention that previously I couldn't get the pfSense recovery flash drive to boot off USB 3.0 so I had to move it to USB 2.0.

                  Hit any key to stop autoboot:  0
                  Marvell>> usb reset
                  resetting USB...
                  USB0:   Register 2000104 NbrPorts 2
                  Starting the controller
                  USB XHCI 1.00
                  USB1:   USB EHCI 1.00
                  scanning bus 0 for devices... usb_new_device: Cannot read configuration, skipping device 13fe:5100
                  1 USB Device(s) found
                  scanning bus 1 for devices... 2 USB Device(s) found
                         scanning usb for storage devices... 1 Storage Device(s) found
                  Marvell>> run usbrecovery
                  switch to partitions #0, OK
                  mmc1(part 0) is current device
                  
                  MMC erase: dev # 1, block # 0, count 4194304 ... 4194304 blocks erased: OK
                  resetting USB...
                  USB0:   Register 2000104 NbrPorts 2
                  Starting the controller
                  USB XHCI 1.00
                  USB1:   USB EHCI 1.00
                  scanning bus 0 for devices... usb_new_device: Cannot read configuration, skipping device 13fe:5100
                  1 USB Device(s) found
                  scanning bus 1 for devices... 2 USB Device(s) found
                         scanning usb for storage devices... 1 Storage Device(s) found
                  ** Invalid partition 2 **
                  
                  

                  Can you elaborate on what the alternative options are? I wasn't sure how to set the boot env to boot the alternate or manually set it at the uboot prompt.

                  Thanks in advance, I really appreciate the help!

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

                    Hmm, I would try a different USB stick.

                    Also be sure to completely power cycle the 1100 between attempts to reset the USB bus devices.

                    E 1 Reply Last reply Reply Quote 0
                    • E Offline
                      extremesurf @stephenw10
                      last edited by extremesurf

                      @stephenw10 I used an NVMe drive in a USB enclosure and switched around the USB ports and managed to get it installed. It failed the first attempt after downloading the packages when it went to check integrity with:

                      Child process pid=3197 terminated abnormally: killed
                      

                      After retrying the install it worked successfully the second time, but when I remove the installer drive and attempt to boot off the flash drive, it gets past the pfSense logo and then it stops at:

                      sdhci_xenon1-slot0: Present:  0x01f20000 | Host ctl: 0x00000025
                      sdhci_xenon1-slot0: Power:    0x0000000f | Blk gap:  0x00000000
                      sdhci_xenon1-slot0: Wake-up:  0x00000000 | Clock:    0x00000407
                      sdhci_xenon1-slot0: Timeout:  0x0000000c | Int stat: 0x00000000
                      sdhci_xenon1-slot0: Int enab: 0x01ff003b | Sig enab: 0x01ff003b
                      sdhci_xenon1-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
                      sdhci_xenon1-slot0: Caps:     0x25ec0099 | Caps2:    0x0000af77
                      sdhci_xenon1-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
                      sdhci_xenon1-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
                      sdhci_xenon1-slot0: ===========================================
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      Mounting from zfs:pfSense/ROOT/default failed with error 6; retrying for 3 more seconds
                      random: unblocking device.
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      mmcsd0: Error indicated: 1 Timeout
                      Mounting from zfs:pfSense/ROOT/default failed with error 6.
                      
                      Loader variables:
                        vfs.root.mountfrom=zfs:pfSense/ROOT/default
                      
                      Manual root filesystem specification:
                        <fstype>:<device> [options]
                            Mount <device> using filesystem <fstype>
                            and with the specified (optional) option list.
                      
                          eg. ufs:/dev/da0s1a
                              zfs:zroot/ROOT/default
                              cd9660:/dev/cd0 ro
                                (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
                      
                        ?               List valid disk boot devices
                        .               Yield 1 second (for background tasks)
                        <empty line>    Abort manual input
                      
                      mountroot>
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • stephenw10S Offline
                        stephenw10 Netgate Administrator
                        last edited by

                        It's still booting from emmc.

                        If you run at the uboot prompt (Marvel>): printenv. You'll see the uboot environment variables including bootcmd which is still showing 'run emmcboot`.

                        To test it at the prompt just enter: run usbboot

                        If that works as expected then you can change the bootcmd to run that everytime.

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

                          Something else you might be hitting is if the nvme and emmc (which is now probably read-only) have ZFS pools with the same name it might be trying to mount the emmc even after booting usb.

                          In that case you would need to reinstall the NVMe using a different zpool name than the default 'pfsense'.

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