OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: cmdr.adama on September 02, 2020, 03:35:58 pm

Title: [Solved] Upgrading from 20.1.9 to 20.7 in AWS fails with cylinder checksum
Post by: cmdr.adama on September 02, 2020, 03:35:58 pm
Hey all,

I have a lovely predicament at the moment with upgrading my FW running 20.1.9 in AWS Lightsail.

I tried an upgrade and when the FW was unresponsive for an hour I was starting to get a bit worried...

Exported a backup to EC2 so that I could do some further testing and access the system log and as the subject mentions... I get a whole lot of "cylinder checksum failed" errors.
cylinder checksum failed.
https://pastebin.com/xUfnZqZN

Did some quick googling and came across https://bugs.freebsd.org/225110 I'm not that great with BSD but is there something I can do before attempting the upgrade to resolve this issue?

Solved: Gave up trying to fix the issue so I spooled up a new FreeBSD 12 instance and ran the bootstrapper. Once I got the FW up... Matter of seconds to cut it over... Nice fresh setup with the old config.
Title: Re: Upgrading from 20.1.9 to 20.7 in AWS fails with cylinder checksum failed error
Post by: cmdr.adama on September 02, 2020, 05:18:53 pm
So... I decided to add the following to rc.conf so that it should run FSCK on the next reboot
Code: [Select]
background_fsck="NO"
fsck_y_enable="YES"
fsck_y_flags="-f"
Rebooted the machine and sure enough in the dmesg logs I have "FILE SYSTEM CLEAN; SKIPPING CHECKS"

Unless there's something else going on with 20.1.9_1 that is then causing issues with the upgrade.

Here's the dmesg log from boot on 20.1.9_1 https://pastebin.com/RyVvMDdw