From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 10:53:06 2011 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 62889106564A for ; Sat, 9 Jul 2011 10:53:06 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3A6A78FC0A for ; Sat, 9 Jul 2011 10:53:05 +0000 (UTC) Received: by pvg11 with SMTP id 11so2151139pvg.13 for ; Sat, 09 Jul 2011 03:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=PB1qfT2zQpPVTDWVp6jQ+eW54RNgCkpaHAaABsbh3Dg=; b=I1riidHkZ6rc/Si/3585f+OC55Qc8LS5ZIi3X4j9T1xDR5WN+BOOH0Apg0mO21KLqh MpbhbwMtMaYG5t83V68+AwysgfhuivAPERhQKA9wFUWJ5cTohvDenvKWqjpYivByQMCF 4tCuyDMPF5BDHlAsy1+XPZbbXtRYb7Bh1b8q4= Received: by 10.68.0.170 with SMTP id 10mr4212131pbf.244.1310208785613; Sat, 09 Jul 2011 03:53:05 -0700 (PDT) Received: from [127.0.0.1] ([14.96.209.244]) by mx.google.com with ESMTPS id d3sm3604471pbh.53.2011.07.09.03.53.02 (version=SSLv3 cipher=OTHER); Sat, 09 Jul 2011 03:53:04 -0700 (PDT) Message-ID: <4E18332F.1040805@gmail.com> Date: Sat, 09 Jul 2011 16:23:35 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 To: freebsd-questions@freebsd.org References: <20110709053404.B1FC910656AE@hub.freebsd.org> In-Reply-To: <20110709053404.B1FC910656AE@hub.freebsd.org> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: disk spinning continuously + cpu possibly overheating = sudden death 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: Sat, 09 Jul 2011 10:53:06 -0000 Hello all, I am running FreeBSD-8.2-amd64 on a Western Digital 320 GD disk and a quad-core AMD Phenom processor. After booting, the disk keeps continuously (meaning continuous I/O) and after a couple of hours (on the console with the X server not running), suddenly the whole system dies, powering off in a flash. I suspect the continuous I/O is causing is a CPU overheat which results in this behaviour. The strange thing is when I ran a script to ktrace and kdump, there is no sign of any unwarranted I/O. Can anyone suggest what possibly be wrong with my system ? I have disabled as much as possible in rc.conf and syslog.conf to prevent I/O. My script and the output are pasted below. BTW, the system runs flawlessly both on Win XP and FreeBSD-8.0-amd64. The reason I do not want to install FreeBSD-8.0-amd64 is that its Logo saver, one of my al-time favourites, does not work. In 8.2, it does work. One thing I should mention is that, apart from swap, I have only one partition / (35 GB). No other mountpoints. BTW, does FreeBSD have anything like Linux badblocks to check for any bad sectors in hard disks ? Thanks for any help. Regards Manish Jain [1]invalid.pointer@gmail.com #!/usr/local/bin/bash ktrace -dip 0 sleep 10 ktrace -C kdump -m64 | egrep '\|\' > ~/diskio.log exit 0 Here are the results : 1640 bash CALL read(0xff,0x800e23080,0x77) 1640 bash GIO fd 255 read 82 bytes 1640 bash RET read 82/0x52 1642 sleep CALL read(0x3,0x7fffffffe170,0x80) 1642 sleep GIO fd 3 read 128 bytes 1642 sleep RET read 128/0x80 1642 sleep CALL read(0x3,0x800533000,0xb4) 1642 sleep GIO fd 3 read 180 bytes 1642 sleep RET read 180/0xb4 1642 sleep GIO fd 3 read 4096 bytes 858 ppp CALL read(0,0x801420140,0x800) 858 ppp GIO fd 0 read 18 bytes 858 ppp RET read 18/0x12 858 ppp CALL read(0,0x801420140,0x800) 858 ppp GIO fd 0 read 53 bytes 858 ppp RET read 53/0x35 858 ppp CALL write(0x6,0x7fffffffd980,0x34) 858 ppp RET write 52/0x34 858 ppp CALL read(0x6,0x7fffffffe320,0x804) 858 ppp GIO fd 6 read 44 bytes 858 ppp RET read 44/0x2c 858 ppp CALL write(0,0x80145b138,0x2d) 858 ppp RET write 45/0x2d 858 ppp CALL read(0,0x801420140,0x800) 858 ppp GIO fd 0 read 53 bytes 858 ppp RET read 53/0x35 858 ppp CALL write(0x6,0x7fffffffd980,0x34) 858 ppp RET write 52/0x34 858 ppp CALL read(0x6,0x7fffffffe320,0x804) 858 ppp GIO fd 6 read 44 bytes 858 ppp RET read 44/0x2c 858 ppp CALL write(0,0x80145b338,0x2e) 858 ppp RET write 46/0x2e 1640 bash CALL read(0xff,0x800e23080,0x77) 1640 bash GIO fd 255 read 73 bytes kdump -m64 | egrep '\\|\\' > ~/diskio.log" 1640 bash RET read 73/0x49 1643 ktrace CALL read(0x3,0x7fffffffe140,0x80) 1643 ktrace GIO fd 3 read 128 bytes 1643 ktrace RET read 128/0x80 1643 ktrace CALL read(0x3,0x800534000,0xb4) 1643 ktrace GIO fd 3 read 180 bytes 1643 ktrace RET read 180/0xb4 1643 ktrace GIO fd 3 read 4096 bytes References 1. mailto:invalid.pointer@gmail.com