From owner-freebsd-hardware@FreeBSD.ORG Sun Mar 5 00:14:27 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1D5A16A422 for ; Sun, 5 Mar 2006 00:14:27 +0000 (GMT) (envelope-from freebsd@swaggi.com) Received: from swaggi.com (c-24-131-179-91.hsd1.ma.comcast.net [24.131.179.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A1FD43D46 for ; Sun, 5 Mar 2006 00:14:25 +0000 (GMT) (envelope-from freebsd@swaggi.com) Received: from localhost ([127.0.0.1] helo=swaggi.com) by swaggi.com with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FFgtE-0000Mm-Bo; Sat, 04 Mar 2006 19:14:24 -0500 Received: (from freebsd@localhost) by swaggi.com (8.13.3/8.13.3/Submit) id k250EOa1001409; Sat, 4 Mar 2006 19:14:24 -0500 (EST) (envelope-from freebsd@swaggi.com) Date: Sat, 4 Mar 2006 19:14:24 -0500 (EST) From: "FreeBSD" To: freebsd-hardware@freebsd.org Cc: X-Originating-IP: 192.168.1.9 X-Mailer: Usermin 1.190 Message-Id: <1141517664.1407@swaggi.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1141517664" Subject: FreeBSD shutting down unexpectedly X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2006 00:14:27 -0000 This is a multi-part message in MIME format. --bound1141517664 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Hi everyone, I'm having a problem with my FreeBSD server shutting down for no reason. This started happening recently (within the last month) so I'm not sure if the hardware is dying or if there's another underlying problem. The server is a rackmountable 1U chassis at a remote location connected to an APC UPS. When I lose connectivity and go to physically inspect the server, it's powered off completely as if there was a power outage. However, each time I can confirm that the UPS did not lose power and there were no voltage spikes (the APC can be managed via telnet and SNMP so there are logs I can look at). So far the only way I've been able to reproduce the problem is by running "portsdb -Uu" to update the ports DB after a cvsup of the ports tree. I suppose this is a CPU/disk intensive task so maybe I have a dying hard drive? Running this command used to take about 10 minutes for me, now when I run it about 5 minutes later the box powers off mysteriously. There's nothing in /var/log/messa ges and after I bring it back up, dmesg does not show anything unusual. I setup a console server to monitor this server's console but there was absolutely nothing on the console during the last such "crash". I'm looking for some suggestions on how to troubleshoot this problem, perhaps I can enable crash dump files or some sort of debugging? Here's some output: su-2.05b# dmesg Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE #1: Fri Jul 1 18:02:01 EST 2005 *@*.com:/usr/src/sys/i386/compile/CUSTOM ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) III CPU - S 1266MHz (1262.30-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6b4 Stepping = 4 Features=0x383fbff real memory = 1073676288 (1023 MB) avail memory = 1045422080 (996 MB) ioapic0 irqs 0-23 on motherboard npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) pci0: at device 7.4 (no driver attached) em0: port 0xe400-0xe43f mem 0xdffc0000-0xdffdffff,0xdffe0000-0xdfffffff irq 17 at device 9.0 on pci0 em0: Ethernet address: 00:07:e9:09:d5:b2 em0: Speed:N/A Duplex:N/A fxp0: port 0xe000-0xe03f mem 0xdfe00000-0xdfefffff,0xdff9f000-0xdff9ffff irq 18 at device 14.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:20:ed:69:c8:22 acpi_tz0: on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 orm0: at iomem 0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1262301687 Hz quality 800 Timecounters tick every 10.000 msec ad0: 78533MB [159560/16/63] at ata0-master UDMA100 ata1-master: DMA limited to UDMA33, non-ATA66 cable or device ad2: 78533MB [159560/16/63] at ata1-master UDMA33 acd0: CDROM at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted WARNING: /www was not properly dismounted WARNING: /storage was not properly dismounted su-2.05b# df -H Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 5.2G 51M 4.7G 1% / devfs 1.0k 1.0k 0B 100% /dev /dev/ad0s1f 2.1G 16M 1.9G 1% /tmp /dev/ad0s1d 31G 5.9G 23G 21% /usr /dev/ad0s1e 10G 78M 9.5G 1% /var /dev/ad0s1g 29G 13M 26G 0% /www /dev/ad2s1d 80G 10k 73G 0% /storage su-2.05b# uname -a FreeBSD *.com 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Fri Jul 1 18:02:01 EST 2005 *@*.com:/usr/src/sys/i386/compile/CUSTOM i386 Any suggestions would be welcome. Thanks. -Yuri --bound1141517664--