Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2006 19:14:24 -0500 (EST)
From:      "FreeBSD" <freebsd@swaggi.com>
To:        freebsd-hardware@freebsd.org
Subject:   FreeBSD shutting down unexpectedly
Message-ID:  <1141517664.1407@swaggi.com>

next in thread | raw e-mail | index | archive | help
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: <AMIINT AMIINI09>
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073676288 (1023 MB)
avail memory = 1045422080 (996 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT AMIINI09> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> 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: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <serial bus, USB> at device 7.3 (no driver attached)
pci0: <bridge> at device 7.4 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> 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: <Intel 82559 Pro/100 Ethernet> port 0xe000-0xe03f mem 0xdfe00000-0xdfefffff,0xdff9f000-0xdff9ffff irq 18 at device 14.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:20:ed:69:c8:22
acpi_tz0: <Thermal Zone> 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: <ECP parallel printer port> 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: <Parallel port bus> on ppc0
orm0: <ISA Option ROMs> at iomem 0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1262301687 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 78533MB <IC35L080AVVA07-0/VA4OA52A> [159560/16/63] at ata0-master UDMA100
ata1-master: DMA limited to UDMA33, non-ATA66 cable or device
ad2: 78533MB <IC35L080AVVA07-0/VA4OA52A> [159560/16/63] at ata1-master UDMA33
acd0: CDROM <CREATIVE CD5230E/C1.01> 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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1141517664.1407>