SG-1100 installing 24.03 via USB issue
-
After trying the standard upgrade procedure using the web GUI, which failed, I contacted support to obtain the firmware image of pfsense 24.03.
Unfortunately I cannot use netinstall since it's not compatible with PPPoE connections (like mine).
Support sends me a file calledpfSense-plus-compat-recovery-24.03-RELEASE-aarch64.img.gz
and I follow the steps described in the tutorial:- flash the image on usb drive
- create config.xml backup, add it to the drive
- shutdown pfSense, insert the USB and power cycle the device.
- I stop the normal boot and I type
run usbrecovery
All goes smooth, I can see the SG1100 being flashed, eventually the installer asks to power cycle the SG1100.
At that point I leave the usb key plugged in. (as I have the config.xml still to restore) and I power cycle the device.
The reboot happens, the configuration is restored, but I still get the old 23.09.1-RELEASE version.
Note that I don't see any failure message during the process, everything goes smooth.
Any ideas?
-
@gabric098 if you create a file on disk, and reboot, does it still exist after the reboot?
-
Hi @SteveITS ,
thank you for the reply.
I just tried it, and the answer is no, the file disappears after reboot, and also the settings are reset, for example I enabled SSH access to create the file but after the reboot, SSH access was disabled. -
@gabric098 It would seem your storage has gone read only.
FWIW here is a test:
https://docs.netgate.com/pfsense/en/latest/troubleshooting/disk-lifetime.html#emmcYou can install pfSense to USB, see this thread for the same issue:
https://forum.netgate.com/topic/187951/sg-1100-update-from-23-09-1-to-24-03-keeps-failing/57Were you using any of the "SSD recommended" packages here?
https://www.netgate.com/supported-pfsense-plus-packages -
I'm not sure how to interpret the data returned by the
mmc extcsd read /dev/mmcsd0rpmb
command. I definitely don't get anything if Iegrep 'LIFE|EOL'
the command. This is the whole output:============================================= Extended CSD rev 1.6 (MMC 4.5) ============================================= Card Supported Command sets [S_CMD_SET: 0x01] HPI Features [HPI_FEATURE: 0x01]: implementation based on CMD13 Background operations support [BKOPS_SUPPORT: 0x01] Max Packet Read Cmd [MAX_PACKED_READS: 0x3f] Max Packet Write Cmd [MAX_PACKED_WRITES: 0x3f] Data TAG support [DATA_TAG_SUPPORT: 0x01] Data TAG Unit Size [TAG_UNIT_SIZE: 0x03] Tag Resources Size [TAG_RES_SIZE: 0x03] Context Management Capabilities [CONTEXT_CAPABILITIES: 0x05] Large Unit Size [LARGE_UNIT_SIZE_M1: 0x00] Extended partition attribute support [EXT_SUPPORT: 0x00] Generic CMD6 Timer [GENERIC_CMD6_TIME: 0x19] Power off notification [POWER_OFF_LONG_TIME: 0x64] Cache Size [CACHE_SIZE] is 0 KiB Background operations status [BKOPS_STATUS: 0x00] 1st Initialisation Time after programmed sector [INI_TIMEOUT_AP: 0x0a] Power class for 52MHz, DDR at 3.6V [PWR_CL_DDR_52_360: 0x22] Power class for 52MHz, DDR at 1.95V [PWR_CL_DDR_52_195: 0x00] Power class for 200MHz at 3.6V [PWR_CL_200_360: 0x00] Power class for 200MHz, at 1.95V [PWR_CL_200_195: 0x00] Minimum Performance for 8bit at 52MHz in DDR mode: [MIN_PERF_DDR_W_8_52: 0x00] [MIN_PERF_DDR_R_8_52: 0x00] TRIM Multiplier [TRIM_MULT: 0x0e] Secure Feature support [SEC_FEATURE_SUPPORT: 0x55] Boot Information [BOOT_INFO: 0x07] Device supports alternative boot method Device supports dual data rate during boot Device supports high speed timing during boot Boot partition size [BOOT_SIZE_MULTI: 0x10] Access size [ACC_SIZE: 0x08] High-capacity erase unit size [HC_ERASE_GRP_SIZE: 0x04] i.e. 2048 KiB High-capacity erase timeout [ERASE_TIMEOUT_MULT: 0x0e] Reliable write sector count [REL_WR_SEC_C: 0x01] High-capacity W protect group size [HC_WP_GRP_SIZE: 0x08] i.e. 16384 KiB Sleep current (VCC) [S_C_VCC: 0x08] Sleep current (VCCQ) [S_C_VCCQ: 0x07] Sleep/awake timeout [S_A_TIMEOUT: 0x13] Sector Count [SEC_COUNT: 0x00e90000] Device is block-addressed Minimum Write Performance for 8bit: [MIN_PERF_W_8_52: 0x0a] [MIN_PERF_R_8_52: 0x0a] [MIN_PERF_W_8_26_4_52: 0x0a] [MIN_PERF_R_8_26_4_52: 0x0a] Minimum Write Performance for 4bit: [MIN_PERF_W_4_26: 0x0a] [MIN_PERF_R_4_26: 0x0a] Power classes registers: [PWR_CL_26_360: 0x22] [PWR_CL_52_360: 0x22] [PWR_CL_26_195: 0x00] [PWR_CL_52_195: 0x00] Partition switching timing [PARTITION_SWITCH_TIME: 0x03] Out-of-interrupt busy timing [OUT_OF_INTERRUPT_TIME: 0x19] I/O Driver Strength [DRIVER_STRENGTH: 0x01] Card Type [CARD_TYPE: 0x07] HS Dual Data Rate eMMC @52MHz 1.8V or 3VI/O HS eMMC @52MHz - at rated device voltage(s) HS eMMC @26MHz - at rated device voltage(s) CSD structure version [CSD_STRUCTURE: 0x02] Command set [CMD_SET: 0x00] Command set revision [CMD_SET_REV: 0x00] Power class [POWER_CLASS: 0x02] High-speed interface timing [HS_TIMING: 0x01] Erased memory content [ERASED_MEM_CONT: 0x00] Boot configuration bytes [PARTITION_CONFIG: 0x03] Not boot enable R/W Replay Protected Memory Block (RPMB) Boot config protection [BOOT_CONFIG_PROT: 0x00] Boot bus Conditions [BOOT_BUS_CONDITIONS: 0x00] High-density erase group definition [ERASE_GROUP_DEF: 0x01] Boot write protection status registers [BOOT_WP_STATUS]: 0x00 Boot Area Write protection [BOOT_WP]: 0x00 Power ro locking: possible Permanent ro locking: possible partition 0 ro lock status: not locked partition 1 ro lock status: not locked User area write protection register [USER_WP]: 0x00 FW configuration [FW_CONFIG]: 0x00 RPMB Size [RPMB_SIZE_MULT]: 0x10 Write reliability setting register [WR_REL_SET]: 0x1f user area: the device protects existing data if a power failure occurs during a write operation partition 1: the device protects existing data if a power failure occurs during a write operation partition 2: the device protects existing data if a power failure occurs during a write operation partition 3: the device protects existing data if a power failure occurs during a write operation partition 4: the device protects existing data if a power failure occurs during a write operation Write reliability parameter register [WR_REL_PARAM]: 0x05 Device supports writing EXT_CSD_WR_REL_SET Device supports the enhanced def. of reliable write Enable background operations handshake [BKOPS_EN]: 0x00 H/W reset function [RST_N_FUNCTION]: 0x00 HPI management [HPI_MGMT]: 0x00 Partitioning Support [PARTITIONING_SUPPORT]: 0x01 Device support partitioning feature Device cannot have enhanced tech. Max Enhanced Area Size [MAX_ENH_SIZE_MULT]: 0x0000e9 i.e. 3817472 KiB Partitions attribute [PARTITIONS_ATTRIBUTE]: 0x00 Partitioning Setting [PARTITION_SETTING_COMPLETED]: 0x00 Device partition setting NOT complete General Purpose Partition Size [GP_SIZE_MULT_4]: 0x000000 [GP_SIZE_MULT_3]: 0x000000 [GP_SIZE_MULT_2]: 0x000000 [GP_SIZE_MULT_1]: 0x000000 Enhanced User Data Area Size [ENH_SIZE_MULT]: 0x000000 i.e. 0 KiB Enhanced User Data Start Address [ENH_START_ADDR]: 0x00000000 i.e. 0 bytes offset Bad Block Management mode [SEC_BAD_BLK_MGMNT]: 0x00 Periodic Wake-up [PERIODIC_WAKEUP]: 0x00 Program CID/CSD in DDR mode support [PROGRAM_CID_CSD_DDR_SUPPORT]: 0x01 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[127]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[126]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[125]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[124]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[123]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[122]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[121]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[120]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[119]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[118]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[117]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[116]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[115]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[114]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[113]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[112]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[111]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[110]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[109]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[108]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[107]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[106]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[105]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[104]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[103]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[102]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[101]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[100]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[99]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[98]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[97]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[96]]: 0x03 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[95]]: 0x02 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[94]]: 0x0b Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[93]]: 0x04 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[92]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[91]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[90]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[89]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[88]]: 0x0b Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[87]]: 0x08 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[86]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[85]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[84]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[83]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[82]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[81]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[80]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[79]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[78]]: 0x72 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[77]]: 0x35 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[76]]: 0x35 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[75]]: 0x69 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[74]]: 0x32 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[73]]: 0x32 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[72]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[71]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[70]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[69]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[68]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[67]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[66]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[65]]: 0x00 Vendor Specific Fields [VENDOR_SPECIFIC_FIELD[64]]: 0x00 Native sector size [NATIVE_SECTOR_SIZE]: 0x00 Sector size emulation [USE_NATIVE_SECTOR]: 0x00 Sector size [DATA_SECTOR_SIZE]: 0x00 1st initialization after disabling sector size emulation [INI_TIMEOUT_EMU]: 0x00 Class 6 commands control [CLASS_6_CTRL]: 0x00 Number of addressed group to be Released[DYNCAP_NEEDED]: 0x00 Exception events control [EXCEPTION_EVENTS_CTRL]: 0x0000 Exception events status[EXCEPTION_EVENTS_STATUS]: 0x0000 Extended Partitions Attribute [EXT_PARTITIONS_ATTRIBUTE]: 0x0000 Context configuration [CONTEXT_CONF[51]]: 0x00 Context configuration [CONTEXT_CONF[50]]: 0x00 Context configuration [CONTEXT_CONF[49]]: 0x00 Context configuration [CONTEXT_CONF[48]]: 0x00 Context configuration [CONTEXT_CONF[47]]: 0x00 Context configuration [CONTEXT_CONF[46]]: 0x00 Context configuration [CONTEXT_CONF[45]]: 0x00 Context configuration [CONTEXT_CONF[44]]: 0x00 Context configuration [CONTEXT_CONF[43]]: 0x00 Context configuration [CONTEXT_CONF[42]]: 0x00 Context configuration [CONTEXT_CONF[41]]: 0x00 Context configuration [CONTEXT_CONF[40]]: 0x00 Context configuration [CONTEXT_CONF[39]]: 0x00 Context configuration [CONTEXT_CONF[38]]: 0x00 Context configuration [CONTEXT_CONF[37]]: 0x00 Packed command status [PACKED_COMMAND_STATUS]: 0x00 Packed command failure index [PACKED_FAILURE_INDEX]: 0x00 Power Off Notification [POWER_OFF_NOTIFICATION]: 0x00 Control to turn the Cache ON/OFF [CACHE_CTRL]: 0x00 Control to turn the Cache Barrier ON/OFF [BARRIER_CTRL]: 0x00
I 'm not using any of the HHD/SSD packages, in fact I just have these 3 installed:
- aws-wizard
- ipsec-profile-wizard
- WireGuard
I'm not sure I can use the Net Installer as (as mentioned above), I'm using a PPPoE connection and it seems that net installer is not supporting it.
-
A sure way to tell is if you see uboot report
8 disks
after you runusbrecovery
and boot from the USB drive.That process should erase the partition table on the eMMC resulting in uboot seeing only '5 disks'. If the eMMC will not allow erasing that it will report 8.
-
@stephenw10
Yes, it does still see 8 disks, meaning that the emmc went in read-only mode: that's pretty depressing.
It's a 2019 device, you saw what packages I installed. It's a home environment with very simple fw rules and a couple of VLANs, I would define as light usage in terms of disk writes.
Maybe I've just been unlucky but I'm now concerned in spending the money for a SG-2100 or even an SG-4200, it seems they both still use the emmc in their basic configuration.
Is the emmc on those devices replaceable in case of failure or are there any alternatives? Maybe this is more of a sales question though. -
The 2100 and 4200 can both be fitted with an SSD. The 4200 has a larger eMMC also which allows more ware leveling.
It's possible to install and run from USB on the 1100 if the eMMC fails. The new Net Installer will allow that.
-
@stephenw10 said in SG-1100 installing 24.03 via USB issue:
It's possible to install and run from USB on the 1100 if the eMMC fails. The new Net Installer will allow that.
As I mentioned above, net installer claims not to be compatible with PPPeE, so, for me is a no go.
I'm looking at the SG-2100 max, I'm wondering if the SG-1100 config will be compatible with the SG-2100 or if I'll need to re-configure all from scratch. I'm thinking in particular the 802.1Q VLAN switch config which it's strictly related with the 1100 SoC
-
The 2100 does also contain a switch but it's not connected in the same way. We can convert the config so it will import into the 2100 directly.
PPPoE is coming to the installer soon.
-
I'm exploring the possibility of buying an SG-2100 base and add an m.2 SSD like documented here.
Do you also have some documentation page covering the software re-installation part? Is it as simple as selecting as installation target the ssd?
-
Yes, the installer will show you the eMMC and SSD and just select where you want to install to.
Shown in step 7 here: https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/reinstall-pfsense.html
-
@stephenw10
Related to the questions above: if I were to buy a SG-2100 max (which comes with the ssd installed), would it come with pfSense pre-installed on the SSD out of the box, or I would need to re-install it manually on the SSD? -
It comes installed to the SSD already.
-
@stephenw10 said in SG-1100 installing 24.03 via USB issue:
The 2100 does also contain a switch but it's not connected in the same way. We can convert the config so it will import into the 2100 directly.
Hi @stephenw10, I finally got the new SG-2100 max delivered and I'm ready to migrate the SG-1100 configuration to the new device. You mentioned support could assist in migrating the configuration, what's the correct way to do that? Shall I open a support ticket?
Thank you
-
Yes just open a support ticket and request it: https://www.netgate.com/tac-support-request