From owner-freebsd-questions@freebsd.org Fri Dec 16 16:42:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4E99C80D59 for ; Fri, 16 Dec 2016 16:42:14 +0000 (UTC) (envelope-from cody@sysop.ca) Received: from watney.sysop.ca (watney.sysop.ca [104.207.159.58]) by mx1.freebsd.org (Postfix) with ESMTP id 8D62F13B for ; Fri, 16 Dec 2016 16:42:14 +0000 (UTC) (envelope-from cody@sysop.ca) Received: from mbx.sysop.ca (mbx.sysop.ca [172.16.0.2]) by watney.sysop.ca (Postfix) with ESMTP id 35219FA032; Fri, 16 Dec 2016 09:42:07 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by mbx.sysop.ca (Postfix) with ESMTP id 6F4B4185EBC3B; Fri, 16 Dec 2016 09:42:07 -0700 (MST) Received: from mbx.sysop.ca ([127.0.0.1]) by localhost (mbx.sysop.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 5lslTh0ArQkQ; Fri, 16 Dec 2016 09:42:06 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by mbx.sysop.ca (Postfix) with ESMTP id C48B0185EBF83; Fri, 16 Dec 2016 09:42:06 -0700 (MST) X-Virus-Scanned: amavisd-new at sysop.ca Received: from mbx.sysop.ca ([127.0.0.1]) by localhost (mbx.sysop.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id POEa-LgVf_i8; Fri, 16 Dec 2016 09:42:06 -0700 (MST) Received: from [10.1.24.17] (unknown [10.1.24.17]) by mbx.sysop.ca (Postfix) with ESMTPSA id 9FB72185EBC3B; Fri, 16 Dec 2016 09:42:06 -0700 (MST) Subject: Re: HW defect or system failure To: J , freebsd-questions References: <20161216105453.7nxo2qrxfnwgrs2n@bsd.de> From: Cody Swanson Message-ID: <50292ebb-0e2c-45f2-5ccb-bcc44d594c64@sysop.ca> Date: Fri, 16 Dec 2016 09:42:05 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161216105453.7nxo2qrxfnwgrs2n@bsd.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2016 16:42:14 -0000 Things I would try: * Look at dmesg and /var/log/messages for recent errors. * Install smartmontools (available in ports/pkgs) and do a smartctl -a /dev/yourdrivedevice (usually ada0 or da0). Anything more than 0 in Reallocated_Sector_Ct, Reallocated_Event_Count, Current_Pending_Sector or Offline_Uncorrectable can indicate a problem with the drive. Additionally if it's an SSD look for non zero counts in fields like Reported_Uncorrect or Program_Fail_Cnt_Total. * Your computer may provide thermal information you can look at, kldload coretemp && sysctl -a | egrep -E "cpu\.[0-9]+\.temp". Additionally, there may be other data available depending on your hardware, try sysctl -a | grep tempe . * To stress test the machine to see if it's a cooling problem you can try something like cpuburn (in ports/pkgs) but be careful as you can damage a system with a cooling problem. If I were going to run cpuburn I would monitor the core temps and not let them get much above 90C. Intel CPU's generally throttle their clock speed when the temps get too high, I've had AMD Opeteron cpu's actually melt a seized fan into the heat sink before failing. Do this at your own risk! * For a laptop take a look at the vents, do they look dirty or dusty? Some laptops are easy to get at the fans to clean them, might be worth a shot. * For kernel panics try enabling crash dumps. There is a great section in the handbook about enabling them and using them for debugging: https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html Good Luck! On 2016-12-16 3:54 AM, J wrote: > Hey Guys, > > i got this weird problem of my notebook randomly rebooting. > How would i find out if it is a kernel panic or a hardware failure? > > Greets > J > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >