Page 1 of 1
Boot-Error ... "MOS" can't read
Posted: 25 Sep 2019 19:45
by defcon999
Hello,
today, im recognized this error in the boot-sequence (screenshot) ... what is MOS??
Zwischenablage01.jpg
defcon999
Re: Boot-Error ... "MOS" can't read
Posted: 25 Sep 2019 20:56
by netware5
Re: Boot-Error ... "MOS" can't read
Posted: 25 Sep 2019 22:48
by raulfg3
Re: Boot-Error ... "MOS" can't read
Posted: 26 Sep 2019 14:11
by defcon999
@raulfg3
Thanks for the hint ... but "/tmp/zroot" not found
defcon999
Re: Boot-Error ... "MOS" can't read
Posted: 27 Sep 2019 19:43
by igr4free
ops!
I have the same error messages in the zpools, although I access them perfectly :S
Re: Boot-Error ... "MOS" can't read
Posted: 27 Sep 2019 21:57
by netware5
@raulfg3,
The link you provided is regarding RootOnZFS installation, while I am using embedded. On my opinion the FreeBSD bootloader has nothing to do with ZFS pools on
embedded installation. It just should boot from USB flash. The ZFS pools should be touched during later stage of OS boot when the information about zpools is read from config file. And in fact I have no problems with my zpool. So this is definitely a bug in XigmaNAS 12.x.
Re: Boot-Error ... "MOS" can't read
Posted: 28 Sep 2019 00:14
by defcon999
I am using RootOnZFS ... meantime I try "embedded Version" on USB ... no change! "zpool status" shows no errors. i am confused ...
defcon999
Gesendet von meinem SM-G965F mit Tapatalk
Re: Boot-Error ... "MOS" can't read
Posted: 28 Sep 2019 01:31
by ms49434
netware5 wrote: ↑27 Sep 2019 21:57
@raulfg3,
The link you provided is regarding RootOnZFS installation, while I am using embedded. On my opinion the FreeBSD bootloader has nothing to do with ZFS pools on
embedded installation. It just should boot from USB flash. The ZFS pools should be touched during later stage of OS boot when the information about zpools is read from config file. And in fact I have no problems with my zpool. So this is definitely a bug in XigmaNAS 12.x.
It would be good to know how you managed to install the gptzfsboot code to the boot partition of your USB media instead of the original gptboot code. Was it a fresh install on a blank media?
Please post the output of 'gpart show' of your USB boot media. This is to determine the type of your installation - MBR/GPT and BIOS/UEFI
Re: Boot-Error ... "MOS" can't read
Posted: 28 Sep 2019 11:23
by netware5
ms49434 wrote: ↑28 Sep 2019 01:31
netware5 wrote: ↑27 Sep 2019 21:57
@raulfg3,
The link you provided is regarding RootOnZFS installation, while I am using embedded. On my opinion the FreeBSD bootloader has nothing to do with ZFS pools on
embedded installation. It just should boot from USB flash. The ZFS pools should be touched during later stage of OS boot when the information about zpools is read from config file. And in fact I have no problems with my zpool. So this is definitely a bug in XigmaNAS 12.x.
It would be good to know how you managed to install the gptzfsboot code to the boot partition of your USB media instead of the original gptboot code. Was it a fresh install on a blank media?
Please post the output of 'gpart show' of your USB boot media. This is to determine the type of your installation - MBR/GPT and BIOS/UEFI
It was a fresh install on blank media that was never been used before for XigmaNAS. Here is the output requested:
Code: Select all
fileserver: ~# gpart show da0
=> 40 15249328 da0 GPT (7.3G)
40 24 - free - (12K)
64 1024 1 freebsd-boot (512K)
1088 960 - free - (480K)
2048 4194304 2 freebsd-ufs (2.0G)
4196352 2097152 3 freebsd-swap (1.0G)
6293504 8953856 4 freebsd-ufs (4.3G)
15247360 2008 - free - (1.0M)
And BTW I have the same bootloader message
when booting from LiveCD.
Re: Boot-Error ... "MOS" can't read
Posted: 28 Sep 2019 11:26
by defcon999
Fresh install on SSD (ada4) - RootOnZFS
gpart show ada 4
=> 40 234441568 ada4 GPT (112G)
40 1024 1 freebsd-boot (512K)
1064 7128 - free - (3.5M)
8192 8388608 2 freebsd-swap (4.0G)
8396800 226041856 3 freebsd-zfs (108G)
234438656 2952 - free - (1.4M)
The error message during boot sequence has changed:
20190928_111551.jpg
zpool status shows al pools with no errors... ...scrub ends without error message... all data available.
defcon999
Re: Boot-Error ... "MOS" can't read
Posted: 30 Sep 2019 00:12
by JoseMR
Hello, I will try the latest 12.0 release on either VM and my own hardware(Supermicro X8 series), and report back if this is either a FreeBSD bug or a hardware dependent issue, and/or possibly missing files in the /boot, as long as I can reproduce this.
In the meant time, a Boot Environment rollback to the previous state may be recommended, and in case the boot loader does not appear, a manual rollback by LiveMedia may be necessary but requires some CLI/experienced.
Regards
Re: Boot-Error ... "MOS" can't read
Posted: 30 Sep 2019 14:51
by defcon999
@JoseMR
Thank for the information.
I changed back to version 6766 on a fresh usb-stick .... same error
What i have to do to elimate this error?
defcon999
Re: Boot-Error ... "MOS" can't read
Posted: 30 Sep 2019 16:59
by JoseMR
defcon999 wrote: ↑30 Sep 2019 14:51
@JoseMR
Thank for the information.
I changed back to version 6766 on a fresh usb-stick .... same error
What i have to do to elimate this error?
defcon999
Hi defcon999, I was unable to reproduce this in my test yesterday under a fresh VM and my X8SI6-F motherboard, between I didn't tested with an USB on my server but with a couple HDD's I had lying around, also I've tested with the most common RootOnZFS install methods which are Single and Mirror disk configuration with no ZFS i/o errors at all.
It would be nice if you can try an spare HDD and install a fresh RootOnZFS and report back if you have the same errors, but please disconnect your data storage zpools as a matter of safety.
Nonetheless we gonna check all of the custom XigmaNAS boot/loader files to see if we need an update there too.
Some sources from this very similar error:
ZFS: can't read MOS of pool (at iX forums)
ZFS: can't read MOS of pool rpool (at FreeBSD forums)
ZFS i/o error in recent 12.0 (at Nabble)
2.4.2 after power failure can't read MOS of pool zroot on boot (at Netgate pfSense)
Some observations:
At Nabble, Allan Jude said:
"Since you were about to 'zpool import' on the USB stick, this suggests
the problem is with the boot blocks, not ZFS.
The early boot phase (gptzfsboot) does not read zpool.cache, since that
only lives ON the pool, and the pool has not been imported yet.
Maybe kevans@ or imp@ who have been working on the boot code have some
insight. "
At the iXSystems thread the guy said: "Bei der Gelegenheit habe dann auch gleich ich die USB-Sticks durch eine SSD ersetzt. Jetzt läuft's"*
*
Which English google translates into: "On the occasion, then I have the same USB sticks replaced by an SSD. Now it works"
Personally I will strongly suggest to all RootOnZFS Full Platforms users, to at least use a small 2.5" HDD whenever possible to avoid further issues.
Regards
Re: Boot-Error ... "MOS" can't read
Posted: 30 Sep 2019 18:21
by netware5
JoseMR wrote: ↑30 Sep 2019 16:59
Hi defcon999, I was unable to reproduce this in my test yesterday under a fresh VM and my X8SI6-F motherboard, between I didn't tested with an USB on my server but with a couple HDD's I had lying around, also I've tested with the most common RootOnZFS install methods which are Single and Mirror disk configuration with no ZFS i/o errors at all.
It would be nice if you can try an spare HDD and install a fresh RootOnZFS and report back if you have the same errors, but please disconnect your data storage zpools as a matter of safety.
Nonetheless we gonna check all of the custom XigmaNAS boot/loader files to see if we need an update there too.
Some sources from this very similar error:
ZFS: can't read MOS of pool (at iX forums)
ZFS: can't read MOS of pool rpool (at FreeBSD forums)
ZFS i/o error in recent 12.0 (at Nabble)
2.4.2 after power failure can't read MOS of pool zroot on boot (at Netgate pfSense)
Some observations:
At Nabble, Allan Jude said:
"Since you were about to 'zpool import' on the USB stick, this suggests
the problem is with the boot blocks, not ZFS.
The early boot phase (gptzfsboot) does not read zpool.cache, since that
only lives ON the pool, and the pool has not been imported yet.
Maybe kevans@ or imp@ who have been working on the boot code have some
insight. "
At the iXSystems thread the guy said: "Bei der Gelegenheit habe dann auch gleich ich die USB-Sticks durch eine SSD ersetzt. Jetzt läuft's"*
*
Which English google translates into: "On the occasion, then I have the same USB sticks replaced by an SSD. Now it works"
Personally I will strongly suggest to all RootOnZFS Full Platforms users, to at least use a small 2.5" HDD whenever possible to avoid further issues.
Regards
I still cannot understand why I see this error on embedded installation
and even on LiveCD boot!
Re: Boot-Error ... "MOS" can't read
Posted: 30 Sep 2019 20:23
by defcon999
Yes... same here .... totally confused!!
Gesendet von meinem SM-G965F mit Tapatalk
EDIT: Create a complete new pool (Raid-Z1) with 4 HD ... fresh install RootOnZFS on the Kingston-128GB-SSD ... everything look great, but after the 4th boot .... the error appears again
What effect can this error have? Are the data in the pool safe, dispite this error??
defcon999
Re: Boot-Error ... "MOS" can't read
Posted: 19 Oct 2019 10:32
by defcon999
Today, i started a new attempt...
Fresh Install the actual 12.0-REV on a USB-Stick (embedded)... all(!) Disks removed from NAS ... --> booting without an error
inserting a Disk from another NAS (never inserted on this NAS) --> ZFS I/O Error in boot-process!!
THERE IS A BIG PROBLEM IN THE BOOTLOADER!!!!!
defcon999
Re: Boot-Error ... "MOS" can't read
Posted: 21 Oct 2019 03:55
by JoseMR
defcon999 wrote: ↑19 Oct 2019 10:32
Today, i started a new attempt...
Fresh Install the actual 12.0-REV on a USB-Stick (embedded)... all(!) Disks removed from NAS ... --> booting without an error
inserting a Disk from
another NAS (never inserted on this NAS) --> ZFS I/O Error in boot-process!!
THERE IS A BIG PROBLEM IN THE BOOTLOADER!!!!!
defcon999
Hi defcon999, sorry to hear that you are still facing this weird issue, maybe you can try latest testing release based in FreeBSD 12.1 RCx that can be found at zoon's repository
HERE(Advanced testers only).
Also you can check/confirm by booting a FreeBSD 12.x distribution either the LiveUSB or the ISO and try if this issue is also present there whit that same disk.
Regards
Re: Boot-Error ... "MOS" can't read
Posted: 21 Oct 2019 08:18
by raulfg3
Same error here.
waiting some light.
System is usable, only this weird message.
Re: Boot-Error ... "MOS" can't read
Posted: 22 Oct 2019 17:29
by JoseMR
According to
This Thread the user did actually tried a Live
FreeBSD media and experienced the BTX errors as well.
At this point (and since I failed to reproduce this BTX/Loader errors with either VM or Supermicro hardware), I still inclined that this a FreeBSD bug/issue itself and not a XigmaNAS issue, also it seems that some older HP hardware are also affected by.
The solutions for now are to just stay on a previous XigmaNAS version, or just ignore the boot errors if applicable(i.e. BTX don't halt), however if this further affect the data on disk or not, this will be better answered at the
FreeBSD forums.
Regards
Re: Boot-Error ... "MOS" can't read
Posted: 22 Oct 2019 18:27
by netware5
JoseMR wrote: ↑22 Oct 2019 17:29
According to
This Thread the user did actually tried a Live
FreeBSD media and experienced the BTX errors as well.
At this point (and since I failed to reproduce this BTX/Loader errors with either VM or Supermicro hardware), I still inclined that this a FreeBSD bug/issue itself and not a XigmaNAS issue, also it seems that some older HP hardware are also affected by.
The solutions for now are to just stay on a previous XigmaNAS version, or just ignore the boot errors if applicable(i.e. BTX don't halt), however if this further affect the data on disk or not, this will be better answered at the
FreeBSD forums.
Regards
I am not sure that the "BTX halt" and "MOS" errors are related and/or have the same origin. The only common thing is that they happen during boot stage. The thread you cited is more related to "BTX halt" I think.
In any case my opinion is that bootloader has nothing to do with ZFS pool during LiveCD, LIveUSB or Embedded boot. These configurations are designed to boot from CD or USB and shall not try to read ZFS pool if exists. While the RootOnZFS configuration is another story.
Re: Boot-Error ... "MOS" can't read
Posted: 22 Oct 2019 19:04
by JoseMR
netware5 wrote: ↑22 Oct 2019 18:27
...
I am not sure that the "BTX halt" and "MOS" errors are related and/or have the same origin. The only common thing is that they happen during boot stage. The thread you cited is more related to "BTX halt" I think.
In any case my opinion is that bootloader has nothing to do with ZFS pool during LiveCD, LIveUSB or Embedded boot. These configurations are designed to boot from CD or USB and shall not try to read ZFS pool if exists. While the RootOnZFS configuration is another story.
Since support for ZFS/Boot is embedded in the boot loader chain, and it seems that there is an awkward issue in the boot stage, it may be also possible that is triggering another errors like the one posted in this thread, also notoriously on select HP hardware including the HP MicroServer in which have had notorious boot issues with FreeBSD/GPT/ZFS/Boot in the past.
However like I've posted previously, this is more of a FreeBSD topic to be discussed in their forums.
Regards
Re: Boot-Error ... "MOS" can't read
Posted: 22 Oct 2019 21:07
by defcon999
@netware5
Fully accomplished with you!
The only commonality is that (old) HP-Hardware is involved in this problem. I've made a complete re-installation .... new boot-stick ... all pools deleted and rebuild. NOW ... there are no faults in boot-sequence. Previousy XigmaNAS ran for years without any problem.
Neverthelesse i'm shure, that the 12.0-Bootloader has a great problem.
defcon999
Re: Boot-Error ... "MOS" can't read
Posted: 22 Oct 2019 23:48
by JoseMR
defcon999 wrote: ↑22 Oct 2019 21:07
@netware5
Fully accomplished with you!
The only commonality is that (old) HP-Hardware is involved in this problem. I've made a complete re-installation .... new boot-stick ... all pools deleted and rebuild. NOW ... there are no faults in boot-sequence. Previousy XigmaNAS ran for years without any problem.
Neverthelesse i'm shure, that the 12.0-Bootloader has a great problem.
defcon999
I also fully agree with the "
Neverthelesse i'm shure, that the 12.0-Bootloader has a great problem." statement.
It may be worth mentioning that the FreeBSD boot loader files are the same for *LiveMedia as well as for the on-disk installed final product, and it always has been this way.
Removing features such avoiding to read ZFS pools, GEOM devices etc, in *Live-Media(as denoted by netware5 in post #20) may break some parts of the boot chain and/or critical functionality such as decrypting GELI encrypted devices(including ZFS pools) at boot time, system and device mappings etc. etc etc.
Here is more info in this regards for interested users.
12.3 The Boot Manager and Boot Stages
Booting Up and Shutting Down (presentation/slide show)
Again, I would like that the affected users at least do try an
FreeBSD 12 Distribution and confirm, since this is issue is non-reproducible by the XigmaNAS development team.
Regards
Re: Boot-Error ... "MOS" can't read
Posted: 23 Oct 2019 09:20
by netware5
JoseMR wrote: ↑22 Oct 2019 23:48
.....................
It may be worth mentioning that the FreeBSD boot loader files are the same for *LiveMedia as well as for the on-disk installed final product, and it always has been this way.
Removing features such avoiding to read ZFS pools, GEOM devices etc, in *Live-Media(as denoted by netware5 in post #20) may break some parts of the boot chain and/or critical functionality such as decrypting GELI encrypted devices(including ZFS pools) at boot time, system and device mappings etc. etc etc.
............................
Sorry, but my statement you commented has been inspired by the following post made by one of the developers above in this thread:
ms49434 wrote: ↑28 Sep 2019 01:31
It would be good to know how you managed to install the gptzfsboot code to the boot partition of your USB media instead of the original gptboot code. Was it a fresh install on a blank media?
Please post the output of 'gpart show' of your USB boot media. This is to determine the type of your installation - MBR/GPT and BIOS/UEFI
Re: Boot-Error ... "MOS" can't read
Posted: 23 Oct 2019 17:59
by JoseMR
netware5 wrote: ↑23 Oct 2019 09:20
......
Sorry, but my statement you commented has been inspired by the following post made by one of the developers above in this thread:
ms49434 wrote: ↑28 Sep 2019 01:31
It would be good to know how you managed to install the gptzfsboot code to the boot partition of your USB media instead of the original gptboot code. Was it a fresh install on a blank media?
Please post the output of 'gpart show' of your USB boot media. This is to determine the type of your installation - MBR/GPT and BIOS/UEFI
Sorry I didn't mean to question your statement, but rather clarify some points to also help further readers experiencing this loader bug/issue.
P.S.
As for the "gptzfsboot" only the RootOnZFS Platform write this zfs boot code as part of the installation, "/boot/gptzfsboot" is used for boot ZFS from a GPT partition scheme, and "/boot/zfsboot" used for boot ZFS from a MBR partition scheme, with the exception of dual boot mode(BIOS + UEFI) in which also combines the "/boot/boot1.efifat" and "/boot/gptzfsboot" to allow UEFI boot plus backward compatibility for legacy BIOS, this also does follows the FreeBSD install common practices.
Regards