11.2 bootloader broken, gptzfsboot error 32, now incompatible on previous running hardware
Bascially pretty much Bug #52647, which has been imho erroneously closed, more info:
Issue arose after upgrading 11.1u6.3 to 11.2, boot failed after another voluntary reboot(!) after upgrade cycle completed successfully and system could already be used(!). (Old hardware Asus KGPE-D16, worked fine with 11.1, no UEFI support, yet).
Can confirm that 11.2 upgrade bootloader made freenas-boot media incompatible with the old hardware, moving USB boot media to new hardware the boot works fine.
Just confirmed with fresh install of 11.2u1 on the old board: Install worked, but cannot boot into it afterwards. It is based in 11.2-U1 bootloader, not connected to the upgrade procedure.
Especially for some older hardware in production which is still to receive an update to 11.2 this could end in desaster.
- Status changed from Unscreened to Blocked
- Reason for Blocked set to Need additional information from Author
Please do a fresh install of 11.1-U6.3 on the problematic system in order to grab a debug to attach to this ticket (System -> Advanced -> Save debug).
Also, can you confirm if the BIOS is at its latest revision?
yes, BIOS is always on latest revision, also on the Asus KGPE-D16. i will perform more tests on it in the future.
the problem is getting more complex, but it seems to be an issue with the bootloader:
on the NEW system (SM-X11SCA-F, onboard 5xSATA HDD + 2xSSD, 2xUSB-16GB freenas-boot, boot NON-UEFI) now running the moved upgraded system (11.1u6.3=>11.2u1):
connecting 6 more disks SATA disks to a SAS9340-8i (crossflash to P16 IT-mode, with EFI+BIOS) the boot from either USB fails. see new screenshots. reproducible. removing the disks boot works again. leaving the controller plugged in is not an issue.
previously i used this board as test system for 11.2u1 and i could boot (fresh 11.2u1 UEFI-based install/boot) WITH those 6 disks on the controller (but without those onboard disks). so its likely it is related to old non-UEFI boot?
- Status changed from Blocked to Unscreened
- Assignee changed from Alexander Motin to Ryan Moeller
IT IGP, what USB sticks are you using? Have you tried to boot from some other disn, like SATA?
Ryan, here is in collection of your boot issues. Please look whether it is a duplicate of something.
after testing a variety of vendors we found sandisk and samsung USB sticks to be most compatible and fast (mostly used/tested on our older hardware Asus KGPE-D16 and Supermicro X10SLH-F). we have not yet tested with install on SATA disks.
currently it seems to me that the problems are related to non-UEFI boot/install and we also try to move to UEFI with new hardware.
- Status changed from Unscreened to Blocked
There have been many issues with some SanDisk USB sticks that have been resolved by switching to a different brand or newer device. In particular, the SanDisk Ultra Fit USB 3.0 sticks are frequently causing problems. Something about the combination of particular devices with particular BIOS is upset by the bsdloader, because the same sticks will work in different machines and different sticks will work in the same machines, and the same sticks in the same machines worked with GRUB.
So far this seems to match the information you have provided.
I have some ideas being looked in to, but for now can you report the output of
diskinfo -v DISKDEV for the affected sticks, for example
diskinfo -v da0 if the USB stick is da0 in your system.
these are the 2 sticks used for non-UEFI boot (which failed somehow after reboot 11.2 on old asus board, and then had the boot problem when disks were attached to SAS controller on SM-X11SCA-F).
if you need more, just ask ;)
[root@samba ~]# camcontrol devlist <Intenso Speed Line 1.00> at scbus10 target 0 lun 0 (pass7,da0) <SanDisk Ultra 1.00> at scbus12 target 0 lun 0 (pass9,da2) [root@samba ~]# diskinfo -v da0 da0 512 # sectorsize 15977152512 # mediasize in bytes (15G) 31205376 # mediasize in sectors 0 # stripesize 0 # stripeoffset 1942 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Intenso Speed Line # Disk descr. 000000000000000269 # Disk ident. No # TRIM/UNMAP support 0 # Rotation rate in RPM Not_Zoned # Zone Mode [root@samba ~]# diskinfo -v da2 da2 512 # sectorsize 15376000000 # mediasize in bytes (14G) 30031250 # mediasize in sectors 0 # stripesize 0 # stripeoffset 1869 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. SanDisk Ultra # Disk descr. 4C530001181013103554 # Disk ident. No # TRIM/UNMAP support Unknown # Rotation rate in RPM Not_Zoned # Zone Mode
- Reason for Blocked changed from Need additional information from Author to Waiting for feedback
IT IGP: There has been significant work to the bootloader merged into our freenas/11-stable branch. Can you test this build?
11.2u2 has no changes to the boot loader. 11.3 is what needs to be tested. I am more interested in testing if the issues with the boot loader itself are resolved at this point, but if you want to test the upgrade path be my guest. Do understand that 11.3 is considered experimental and should not be used in production.
- Status changed from Unscreened to In Progress
- Severity changed from New to Medium
IT IGP wrote:
i tested a fresh install 11.1u6.3, upgrade into nightlies (FreeNAS-11.3-MASTER-201902240940), the boot worked, where 11.2u2 failed. (Asus KGPE-D16). so bootloader in 11.3 seems somewhat fixed.
To confirm, did both the fresh install ISO for 11.3 and the upgrade path 11.3 work? What do you mean by "somewhat" fixed?