Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2009 10:56:05 -0800
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        Andrew Lankford <lankfordandrew@charter.net>, peterjeremy@optushome.com.au, stable@freebsd.org, xxjack12xx@gmail.com
Subject:   Re: System borked:  loader stack overflow.
Message-ID:  <20090118185605.GA28874@citylink.fud.org.nz>
In-Reply-To: <20090118164724.GA21705@onelab2.iet.unipi.it>
References:  <49729D80.8010506@charter.net> <20090118093346.GA9819@onelab2.iet.unipi.it> <49734D0B.8050604@charter.net> <20090118164724.GA21705@onelab2.iet.unipi.it>

index | next in thread | previous in thread | raw e-mail

On Sun, Jan 18, 2009 at 05:47:24PM +0100, Luigi Rizzo wrote:
> On Sun, Jan 18, 2009 at 10:38:51AM -0500, Andrew Lankford wrote:
> > 
> > I can't say what version of the loader it is that I'm using, but 
> > (following Peter's advice, thanks), I've tried loader.old (about a week 
> > old) and the latest loader (built yesterday), and both start.  Where 
> > each loader has a problem appears to be reading (include-ing?) 
> > /boot/default/loader.conf .  The spinner spins for a longer time than 
> 
> ok so the problem could be is a recursive assignment of loader_conf_files
> in your previous installation (either as a result of the default
> installation, or because of manual modifications).
> Could you please send me a copy of your /boot/loader.conf and
> /boot/defaults/loader.conf so i can check ?
> 
> A recent commit fixed the handling of loader_conf_files,
> which previously was broken (in some cases assignments were ignored).
> A side effect of the fix is that now certain errors in the config
> files are now detected as such.

Having the following in /boot/loader.conf triggers it for me,

 loader_conf_files="/boot/device.hints /boot/loader.conf"

You may say thats its an invalid config line but the loader shouldnt
blow up from it. Can this be fixed up somehow?

Andrew


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090118185605.GA28874>