From owner-freebsd-stable@FreeBSD.ORG Thu Jul 2 23:54:08 2009 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 4764C1065679 for ; Thu, 2 Jul 2009 23:54:08 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id BF3808FC37 for ; Thu, 2 Jul 2009 23:54:07 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by bwz12 with SMTP id 12so1672988bwz.43 for ; Thu, 02 Jul 2009 16:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=H+CdH7IhtPvMLgu63jxJWFUX0wpGb6Bkh4xuAJiZb+U=; b=u3ZtxKNY0tWF8aGf4amhEUeR+LFzQudZ3D7xrXFIiRbYOmkm1/mEhUv7gNnonC+387 +J0j6LdJY5ye/05PmQ0O3JhMFMiyOOkTkL8pq2yyFbzvr9HMUyJkAU4iBkOnyLHA4lbk 5Vy31SrjblZCcA0KvT8VQvD7ceU9VoMe3mY/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=uzLGByt2NZeFpD9T9axH6sp6bfqAY3yc95QFmw4daDUdfXuDK+/4/XyzgRiEWrRRh0 zlAt2mL2v4SoVWVcCCom+JawHz9M+ZKfSDdEWrtt4V1XuBFatw73D+8N1BZkyUPxjWUs l3CoZO920Jrt5mtWlEQiSmc149078ptcVykcM= MIME-Version: 1.0 Received: by 10.239.156.130 with SMTP id m2mr56698hbc.130.1246577323332; Thu, 02 Jul 2009 16:28:43 -0700 (PDT) In-Reply-To: <20090702041707.19651.qmail@us1.tomahawkonline.net> References: <20090701070409.7740.qmail@us1.tomahawkonline.net> <20090701174930.GC37269@slackbox.xs4all.nl> <20090702012352.17934.qmail@us1.tomahawkonline.net> <20090702062738.GA58158@slackbox.xs4all.nl> <20090702041707.19651.qmail@us1.tomahawkonline.net> Date: Thu, 2 Jul 2009 20:28:43 -0300 Message-ID: From: "Carlos A. M. dos Santos" To: Sagara Wijetunga Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Roland Smith , freebsd-stable@freebsd.org Subject: Re: FreeBSD child process die for root 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: Thu, 02 Jul 2009 23:54:08 -0000 On Thu, Jul 2, 2009 at 1:17 AM, Sagara Wijetunga wrote: > Roland Smith writes: >> It could be a hardware problem. Signal 11 can be a sign of bad memory. >> Can you reproduce the problem on multiple machines? > > I have taken the hard disk out and fixed on different machines, the symptoms > are still the same. So it may not be a hardware error. > Regards > Sagara Try to *rebuild* the system on another machine. Signal 11 is usually associated to bad hardware (RAM) so if you build FreeBSD on faulty hardware the resulting program may be broken. Try to debug the "login" program: (become root) # cd /usr/src/usr.bin/login # make clean # make CFLAGS=-g # gdb /usr/obj/usr/src/usr.bin/login/login (supposing that "sagara" is your user name) #run sagara (fill-in the password name, if requested) If the signal 11 is caught, issue "bt" command in gcc. It will show you where the break happened. -- My preferred quotation of Robert Louis Stevenson is "You cannot make an omelette without breaking eggs". Not because I like the omelettes, but because I like the sound of eggs being broken.