SG-2100 Reinstall Failing
-
So I have a Netgate-2100 and am attempting to reinstall pfSense. Here is the sequence of events:
I'm able to connect to the console for the device.
From the console, I get it to boot off of the appropriate image.
I get the installer connected to the internet.
I select the disk to install to.Immediately it says the installation has been aborted. I've also tried to erase the internal storage before installation. Anyone have any ideas on what I can do to address this? As it stands currently, the unit is non-functional.
-
What disk(s) do you see offered to install to?
When it fails you should be able to reach a command line and check the installer log in /tmp/bsdinstall_log.
-
@stephenw10 Thanks for the reply. I do
run usbrecovery
It does it's deep ponderance and then brings me the installer. After a bit it asks me to accept the copyright notice.
After a bit it has me confirm the internet connection. For the disk and such, it just asks me the filesystem and partition scheme. I leave those both on defaults (ZFS and GPT). I tell it to use stripe, then it asks me to pick the disk.
It is as follows: 7.3G <MMCHC DG4008 0.1 SN D15D4C22 MFG 01/2022 by 69 0x0000>
Then it asks me to confirm that I want to destroy mmcsd0 and reinstall.
I hit yes, then it flashes something and goes back to "installation aborted."
The contents of the /tmp/bsdinstall_log file are as follows:
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 Mon Jan 20 20:51:50 UTC 2025
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=[Silicom]
DEBUG: smbios.system.product=[SG-2100]
DEBUG: smbios.system.version=[R308]
DEBUG: smbios.planar.maker=[Silicom]
DEBUG: smbios.planar.product=[80500-0205-G00]
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: 24, 80]
DEBUG: f_getvar: var=[height] value=[8] r=0
DEBUG: f_getvar: var=[width] value=[57] r=0
(END)I hope this gives enough information to get to the bottom of what's going on. Thanks again.
-
Some more info, as I was able to do a screen recording to catch the error that flashes.
What flashes is
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: failed to flush cache
mmcsd0: failed to flush cache -
Hmm, what was the reason you're reinstalling? Was it showing any drive issues with the eMMC?
-
@stephenw10 It was hanging on boot. So I suspect that this is a failed unit.
-
It does look like a bad eMMC. If it's in warranty open a ticket.
Otherwise you can fit an m.2 SATA drive.
https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/m-2-sata-installation.html -
@stephenw10 Unfortunately, it is a few months out of warranty. I'll see if I can find an m.2 drive and get it going. Thanks for your help.
-
Just be sure to get a SATA drive not NVMe.
-
@stephenw10 I've got a gazillion used m.2 sata drives, I'm sure one of them will work. :) Thanks!