Hello, some users of FreeNAS which is based on FreeBSD 6.3 reported instant reboots on systems with > 2GB RAM (most of them use 4GB). The reboot occurs right after displaying the FreeBSD loader menu. Most of them told me that they can boot if they reduce RAM to <= 2GB. We are using the following kernel configuration which is based on GENERIC: http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291&view=markup I found out another problem that causes a reboot on my 2GB machine. We are using a image for the LiveCD which is 64MB great. If i change back mfs_root size to 63MB all works well, but all above 64MB causes a reboot. Is there any limitation? Could someone help me out of this problem? Regards Volker -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
On May 21, 2008, at 4:01 AM, votdev@gmx.de wrote:> some users of FreeNAS which is based on FreeBSD 6.3 reported instant > reboots on systems with > 2GB RAM (most of them use 4GB). The reboot > occurs right after displaying the FreeBSD loader menu. Most of them > told me that they can boot if they reduce RAM to <= 2GB.For what it's worth, I have run several systems with 4GB RAM on FreeBSD/i386 6.3. The only i386 I have left with this much RAM was recently upgraded to 7.0; the rest of my large RAM systems run FreeBSD/ amd64. I didn't see anything obviously bad in your kernel config. By the way, thanks for making FreeNAS... I use it on my home NFS/AFP server to great success... the only thing I wish it included was the amrstat binary to test my LSI RAID controller status (I just copy it from another 6.3 system I have and it works).
On Wed, May 21, 2008 at 10:01:56AM +0200, votdev@gmx.de wrote:> Hello, > > some users of FreeNAS which is based on FreeBSD 6.3 reported instant reboots on systems with > 2GB RAM (most of them use 4GB). The reboot occurs right after displaying the FreeBSD loader menu. Most of them told me that they can boot if they reduce RAM to <= 2GB. > > We are using the following kernel configuration which is based on GENERIC: > http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291&view=markup > > I found out another problem that causes a reboot on my 2GB machine. We are using a image for the LiveCD which is 64MB great. If i change back mfs_root size to 63MB all works well, but all above 64MB causes a reboot. > Is there any limitation? > > Could someone help me out of this problem?Is the mfsroot problem what I've documented here? http://jdc.parodius.com/freebsd/pxeboot_serial_install.html#step7 -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
On 12/23/-58 20:59, votdev@gmx.de wrote:> Hello, > > some users of FreeNAS which is based on FreeBSD 6.3 reported instant reboots on systems with > 2GB RAM (most of them use 4GB). The reboot occurs right after displaying the FreeBSD loader menu. Most of them told me that they can boot if they reduce RAM to <= 2GB. > > We are using the following kernel configuration which is based on GENERIC: > http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291&view=markup > > I found out another problem that causes a reboot on my 2GB machine. We are using a image for the LiveCD which is 64MB great. If i change back mfs_root size to 63MB all works well, but all above 64MB causes a reboot. > Is there any limitation? > > Could someone help me out of this problem? > > Regards > VolkerHi Volker ;) I'm not quite sure about your 2nd problem and your report is not quite detailed but from your description it looks like loader is causing that. As there's no filesystem available at that time, the loader has to read itself through the filesystem structures. Knowing that, PR misc/108215 comes to mind. I've not been able to check if the issue and the patch to it is right but you may give it a try. Probably somebody with loader and filesystem (ufs) knowledge may answer that question quickly if the patch contained in the PR is right. The report is about 6.2-R but at least I've checked loader code and 7.x code is the same. I came across that report yesterday and was unable to check the calculation. If that is really the case, your problem may be related to that. http://www.freebsd.org/cgi/query-pr.cgi?pr=108215 Assuming the problem report is right, it's about reading huge files by loader reads in wrong sectors. HTH Volker
Hello, i can confirm that the bug fix submitted with PR 108215 solves the reboot problem when using mfsroot images in FreeBSD 6.3. I will test it also on FreeBSD 7.0, but i assume that it will fix it there too. Many users using FreeNAS reporting this reboot problem on their machines with RAM > 2GB. Regards Volker -------- Original-Nachricht --------> Datum: Wed, 21 May 2008 21:08:25 +0200 > Von: Volker <volker@vwsoft.com> > An: votdev@gmx.de > CC: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org > Betreff: Re: Instant reboot with FreeBSD 6.3 and > 2GB RAM> On 12/23/-58 20:59, votdev@gmx.de wrote: > > Hello, > > > > some users of FreeNAS which is based on FreeBSD 6.3 reported instant > reboots on systems with > 2GB RAM (most of them use 4GB). The reboot occurs > right after displaying the FreeBSD loader menu. Most of them told me that > they can boot if they reduce RAM to <= 2GB. > > > > We are using the following kernel configuration which is based on > GENERIC: > > > http://freenas.svn.sourceforge.net/viewvc/freenas/branches/0.69/build/kernel-config/FREENAS-i386?revision=3291&view=markup > > > > I found out another problem that causes a reboot on my 2GB machine. We > are using a image for the LiveCD which is 64MB great. If i change back > mfs_root size to 63MB all works well, but all above 64MB causes a reboot. > > Is there any limitation? > > > > Could someone help me out of this problem? > > > > Regards > > Volker > > Hi Volker ;) > > I'm not quite sure about your 2nd problem and your report is not quite > detailed but from your description it looks like loader is causing that. > As there's no filesystem available at that time, the loader has to read > itself through the filesystem structures. > > Knowing that, PR misc/108215 comes to mind. I've not been able to check > if the issue and the patch to it is right but you may give it a try. > Probably somebody with loader and filesystem (ufs) knowledge may answer > that question quickly if the patch contained in the PR is right. > > The report is about 6.2-R but at least I've checked loader code and 7.x > code is the same. I came across that report yesterday and was unable to > check the calculation. > > If that is really the case, your problem may be related to that. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=108215 > > Assuming the problem report is right, it's about reading huge files by > loader reads in wrong sectors. > > HTH > > Volker-- Psssst! Schon vom neuen GMX MultiMessenger geh?rt? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger