From owner-freebsd-stable@FreeBSD.ORG Mon Mar 10 23:27:26 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 928701065671 for ; Mon, 10 Mar 2008 23:27:26 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 31A5D8FC1D for ; Mon, 10 Mar 2008 23:27:25 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JYrOo-0002bD-Hc for freebsd-stable@freebsd.org; Mon, 10 Mar 2008 23:27:18 +0000 Received: from adsl-69-234-227-52.dsl.irvnca.pacbell.net ([69.234.227.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2008 23:27:18 +0000 Received: from w41ter by adsl-69-234-227-52.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2008 23:27:18 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: walt Date: Mon, 10 Mar 2008 16:28:15 -0700 Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-227-52.dsl.irvnca.pacbell.net User-Agent: Thunderbird 3.0a1pre (X11/2008031004) Sender: news Subject: [7.0] /bin/sh segfaulting during boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 23:27:26 -0000 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. The backtrace for sh.core isn't very helpful because there were no debugging symbols (but I'm recompiling now). I found an old statically-linked sh from 2001 still on the machine, so I substituted it for the current /bin/sh and everything works perfectly. Even the current sh which crashes during boot seems to work fine after I log in -- I can use it to run the rc.d scripts manually with no problems. Any ideas why /bin/sh would crash when being invoked by init, but works fine otherwise? This particular machine is old -- a Cyrix (i486) cpu and only 64MB of RAM -- but it's still stable as a rock. I've already rebuilt world and kernel twice with no problems at all (which took almost a week). Any diagnostic experiments I could try?