Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 20:56:06 +0100 (CET)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-stable@FreeBSD.ORG, w41ter@gmail.com
Subject:   Re: [7.0] /bin/sh segfaulting during boot
Message-ID:  <200803131956.m2DJu6Er023804@lurza.secnetix.de>
In-Reply-To: <frbldu$uoi$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
walt <w41ter@gmail.com> wrote:
 > Oliver Fromme wrote:
 > > walt<w41ter@gmail.com>  wrote:
 > > >  I'm now running RELENG_7 on three x86 machines, but (only) one of
 > > >  them is behaving badly during bootup.
 > > > 
 > > >  Once the rc.d scripts start to run, I see /bin/sh crashing dozens of
 > > >  times before I finally see the login prompt.  A few of the normal
 > > >  processes actually start okay, like ppp and named (this is my home
 > > >  firewall), but many normal daemons like syslogd and sendmail are
 > > >  not running.
 > > 
 > > Last time I had symptoms like that, it turned out to
 > > be bad RAM.
 > 
 > I suspected the same, so I ran memtest86 overnight with no errors.

That's not a guarantee for no RAM problems (though it's
a strong indication).

 > I compiled sh with debugging symbols -- and it won't crash so I
 > still can't get a backtrace.  Very frustrating.  But at least I
 > have a working sh :o)

Maybe a bit toggled on your disk inside the sh binary,
and the disk failed to detect and/or report the error.

GELI and ZFS are supposed to detect such silent disk
corruption, so maybe you might want to use one of them.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Python is an experiment in how much freedom programmers need.
Too much freedom and nobody can read another's code; too little
and expressiveness is endangered."
        -- Guido van Rossum



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