From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 06:35:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD2931065670 for ; Sun, 13 Jul 2008 06:35:19 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2CFA48FC15 for ; Sun, 13 Jul 2008 06:35:18 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2394780fkk.11 for ; Sat, 12 Jul 2008 23:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=K3DFzojBHqAVtjMhHh/ezmV8kt0ZSnCJogjsYKGDnHQ=; b=YZLX1MotoOBAF2XnARrobMTj4LU5y5bWxHsYxozrMpue4X6ZQlY51R0Ivv6umW6SVu Z+DP9Dp3NNHcrlcKmaP5v0TsMincrrSY23S3qXl++kyJPUL3JLJhbz2C4KAy4GVUuakc 5FQyH/OSzfTm6vrgnijACosqZ8CZOxUvwwvP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=mUwvCRTA5feWUZB6TTmb0+s2V1L0davQE/jz9DbAjN9+2BsBVyzWxW7pRZ1RpU3oOx c1ubLyMl7bpwey0tENLA1gND+8NFnAIGrzygqH8VIzY9LAisUoeEWhcXmlzqWHP+QiNf /xDgbrkgKb5HGIgJhCWMbgO6v2ElFqiNjEo/U= Received: by 10.187.231.13 with SMTP id i13mr754856far.49.1215930917593; Sat, 12 Jul 2008 23:35:17 -0700 (PDT) Received: from atlantis.dyndns.org ( [79.131.197.56]) by mx.google.com with ESMTPS id g28sm6987980fkg.8.2008.07.12.23.35.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Jul 2008 23:35:16 -0700 (PDT) Message-ID: <4879A221.3050001@gmail.com> Date: Sun, 13 Jul 2008 09:35:13 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.14 (X11/20080703) MIME-Version: 1.0 To: Aggelidis Nikos References: <30fc78250807122309r21ea625dn58c93ac7d1f3c345@mail.gmail.com> In-Reply-To: <30fc78250807122309r21ea625dn58c93ac7d1f3c345@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: weird restarts when compiling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2008 06:35:19 -0000 Aggelidis Nikos wrote: > Hi to all the list, i 've been using FreeBSD for almost a month ,and i > have this weird problem. Sometimes when i try to compile a program the > computer will hard-reset itself, like someone pulled of the plug... > For example yesterday i was trying to install jdk1.6 + eclipse, and > while i was compiling eclipse {more precisely -if i remember > correctly- the "diablo-jdk" needed for eclipse} the computer rebooted > itself. > > The load of the computer was: 2-3xterms, 1 Konversation irc client > ,several opera9.51 windows, 1-2 konqueror windows, and 1-2 Firefox > widows. I have a dual core box with 2GB of memory and i use freebsd7 > 32bit. The computer was online for 8hours with almost the same load > {minus the compilation-procedure}. > > * Has anyone had problems like this? > * What can i do to investigate a bit more what was the situation > before the restart? > * Is there anyway to solve this problem. > > > thanks for your help, > nikos > > PS: i could blame the power company but the above problem has happened > before{several times} when i tried to compile "big" programs like > firefox or do a pkgdb -Fu, so i don't think it is this. > > Hi Nikos, This sounds like a hardware problem to me. It is not easy to find out the exact cause, except perhaps by swapping components: - Could be bad RAM, but I doubt it is you would probably get at least a kernel panic and not a hard reboot - Could be that your power supply can not handle the increased current required by the CPU / disk when compiling, voltages fall out of spec, and the motherboard resets itself. I've seen this happening quite a few times - systems exhibit a variety of weird symptoms like this, commonly failing when running CPU intensive apps. - Your CPU / system may get overheated and hits a thermal cutoff. - You could have some other faulty component, or some of your BIOS settings are too 'high' Things to try: - Take the cover off and see whether there is heat build up when compiling and also whether the fans work adequately. - Swap out the power supply - Change some BIOS settings, or maybe underclock the CPU a bit so it requires less power and see if it works then. Most of the people here are used to run long compilation / portupgrade cycles (sometimes in excess of 24 hours) and when a system fails unexpectedly like this it is normal to suspect hardware problems. Manolis P.S. I removed the -hackers list from the reply - this question is better suited for -questions only.