misc/113853: FreeBSD 6.2-RELEASE Crashes and Reboots on i386

Martin Kluge mk at elxsi.de
Tue Jun 19 10:20:03 UTC 2007


>Number:         113853
>Category:       misc
>Synopsis:       FreeBSD 6.2-RELEASE Crashes and Reboots on i386
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 19 10:20:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Kluge
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD elxsi.de 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Jun 19 10:51:27 CEST 2007     root at elxsi.de:/usr/src/sys/i386/compile/ELXSI  i386
>Description:
The system runs without any problems for some weeks and than it crashed. After rebooting the system it sometimes only takes about 60 seconds and the system crashes again. This repeats for some time (e.g. some reboots) and than the system runs fine for some more weeks.

Please note, it doesn't seem to be a hardware problem, as I installed freebsd on another system with completly other hardware (another mainboard/ram/cpu/harddrives/controllers). The first system was a compaq proliant server and the second system just a normal PC. I also confirmed that we don't have a power issue (used different safety switches and USVs). The bug report applies to both systems.

I tried recompiling the kernel with DBD and to create a kernel dump, but I'm unable to enter the debugger when the system hangs. No kernel dumps get created.

I have disabled ACPI and the apache accf stuff, and I added the following stuff to /boot/loader.conf:

accf_http_load="NO"
accf_data_load="NO"
hint.apic.0.disabled="1"
hint.acpi.0.disabled="1"
kern.ipc.nmbclusters="0"


I'm running apache22 (installed via the freebsd ports), postfix (also via ports) , spamassassin, mysql and bind, nothing else special.

Here are some debug information:

dmesg:

Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Tue Jun 19 10:51:27 CEST 2007
    root at elxsi.de:/usr/src/sys/i386/compile/ELXSI
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2017.98-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 536854528 (511 MB)
avail memory = 515952640 (492 MB)
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 9 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 o
n pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <display, VGA> at device 9.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xd800-0xd83f mem 0xf6800000-0xf6800ff
f,0xf6000000-0xf60fffff irq 12 at device 10.0 on pci2
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:90:27:af:d6:2c
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37
6,0xb800-0xb80f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xb400-0xb41f irq 11
 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xb000-0xb01f irq 7 
at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
Timecounter "TSC" frequency 2017977404 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 78167MB <Maxtor 6Y080P0 YAR41BW0> at ata0-master UDMA100
Trying to mount root from ufs:/dev/ad0s1a

uname -a:

[root at elxsi ~]# uname -a
FreeBSD elxsi.de 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Jun 19 10:51:27 CEST 2007     root at elxsi.de:/usr/src/sys/i386/compile/ELXSI  i386

uptime:

[root at elxsi ~]# uptime 
12:05PM  up 58 mins, 5 users, load averages: 0.22, 0.06, 0.02

ps axuw:
USER      PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
root       10 95.7  0.0     0     8  ??  RL   11:06AM  57:30.46 [idle]
root      701  1.3  5.1 27056 26348  ??  I    11:06AM   0:18.10 spamd child (per
l)
root        0  0.0  0.0     0     0  ??  WLs  11:06AM   0:00.00 [swapper]
root        1  0.0  0.1   772   388  ??  ILs  11:06AM   0:00.01 /sbin/init --
root        2  0.0  0.0     0     8  ??  DL   11:06AM   0:00.14 [g_event]
root        3  0.0  0.0     0     8  ??  DL   11:06AM   0:00.26 [g_up]
root        4  0.0  0.0     0     8  ??  DL   11:06AM   0:00.39 [g_down]
root        5  0.0  0.0     0     8  ??  DL   11:06AM   0:00.00 [thread taskq]
root        6  0.0  0.0     0     8  ??  DL   11:06AM   0:00.00 [kqueue taskq]
root        7  0.0  0.0     0     8  ??  DL   11:06AM   0:00.00 [pagedaemon]
root        8  0.0  0.0     0     8  ??  DL   11:06AM   0:00.00 [vmdaemon]
root        9  0.0  0.0     0     8  ??  DL   11:06AM   0:00.63 [pagezero]
root       11  0.0  0.0     0     8  ??  WL   11:06AM   0:00.84 [swi1: net]
root       12  0.0  0.0     0     8  ??  WL   11:06AM   0:03.56 [swi4: clock sio
]
root       13  0.0  0.0     0     8  ??  WL   11:06AM   0:00.00 [swi3: vm]
root       14  0.0  0.0     0     8  ??  DL   11:06AM   0:00.31 [yarrow]
root       15  0.0  0.0     0     8  ??  WL   11:06AM   0:00.00 [swi6: task queu
e]
root       16  0.0  0.0     0     8  ??  WL   11:06AM   0:00.87 [swi6: Giant tas
kq]
root       17  0.0  0.0     0     8  ??  WL   11:06AM   0:00.00 [swi5: +]
root       18  0.0  0.0     0     8  ??  WL   11:06AM   0:00.00 [swi2: cambio]
root       19  0.0  0.0     0     8  ??  WL   11:06AM   0:00.85 [irq12: fxp0]
root       20  0.0  0.0     0     8  ??  WL   11:06AM   0:00.16 [irq14: ata0]
root       21  0.0  0.0     0     8  ??  WL   11:06AM   0:00.00 [irq15: ata1]
root       22  0.0  0.0     0     8  ??  WL   11:06AM   0:00.00 [irq11: uhci0]
root       23  0.0  0.0     0     8  ??  DL   11:06AM   0:00.00 [usb0]
root       24  0.0  0.0     0     8  ??  DL   11:06AM   0:00.00 [usbtask]
root       25  0.0  0.0     0     8  ??  WL   11:06AM   0:00.00 [irq7: uhci1]
root       26  0.0  0.0     0     8  ??  DL   11:06AM   0:00.00 [usb1]
root       27  0.0  0.0     0     8  ??  WL   11:06AM   0:00.09 [irq1: atkbd0]
root       28  0.0  0.0     0     8  ??  WL   11:06AM   0:00.00 [swi0: sio]
root       29  0.0  0.0     0     8  ??  DL   11:06AM   0:00.02 [bufdaemon]
root       30  0.0  0.0     0     8  ??  DL   11:06AM   0:00.01 [vnlru]
root       31  0.0  0.0     0     8  ??  DL   11:06AM   0:00.35 [syncer]
root       32  0.0  0.0     0     8  ??  DL   11:06AM   0:00.02 [softdepflush]
root       33  0.0  0.0     0     8  ??  DL   11:06AM   0:00.31 [schedcpu]
root      109  0.0  0.1  1252   728  ??  Is   11:06AM   0:00.00 adjkerntz -i
root      316  0.0  0.1   528   388  ??  Is   11:06AM   0:00.00 /sbin/devd
root      376  0.0  0.2  1376  1024  ??  Ss   11:06AM   0:00.30 /usr/sbin/syslog
d -l /var/run/log -l /var/named/var/run/log -s
bind      439  0.0  1.0  5824  4988  ??  Ss   11:06AM   0:04.81 /usr/sbin/named 
-t /var/named -u bind
root      493  0.0  1.9 12776 10008  ??  Ss   11:06AM   0:00.69 /usr/local/sbin/
httpd -DNOHTTPACCEPT
root      543  0.0  0.2  1288   824  ??  Ss   11:06AM   0:00.01 /usr/sbin/usbd
www       570  0.0  2.0 12868 10220  ??  I    11:06AM   0:00.02 /usr/local/sbin/
httpd -DNOHTTPACCEPT
www       571  0.0  2.4 15068 12576  ??  I    11:06AM   0:00.17 /usr/local/sbin/
httpd -DNOHTTPACCEPT
www       572  0.0  2.0 12892 10240  ??  I    11:06AM   0:00.02 /usr/local/sbin/
httpd -DNOHTTPACCEPT
www       573  0.0  2.0 12884 10228  ??  I    11:06AM   0:00.02 /usr/local/sbin/
httpd -DNOHTTPACCEPT
www       574  0.0  2.0 12888 10240  ??  I    11:06AM   0:00.02 /usr/local/sbin/
httpd -DNOHTTPACCEPT
www       575  0.0  2.0 12868 10220  ??  I    11:06AM   0:00.02 /usr/local/sbin/
httpd -DNOHTTPACCEPT
www       576  0.0  2.4 15060 12564  ??  I    11:06AM   0:00.13 /usr/local/sbin/
httpd -DNOHTTPACCEPT
www       577  0.0  2.0 12852 10076  ??  I    11:06AM   0:00.01 /usr/local/sbin/
httpd -DNOHTTPACCEPT
root      579  0.0  4.3 22660 22080  ??  Rs   11:06AM   0:01.69 /usr/local/bin/s
pamd -c -d -r /var/run/spamd/spamd.pid (perl)
root      633  0.0  0.2  1520  1284  ??  Ss   11:06AM   0:00.50 /usr/local/libex
ec/postfix/master
postfix   642  0.0  0.3  1656  1384  ??  I    11:06AM   0:00.24 qmgr -l -t fifo 
-u
postfix   648  0.0  0.3  1580  1308  ??  S    11:06AM   0:00.08 anvil -l -t unix
 -u
root      702  0.0  4.7 25160 24332  ??  I    11:06AM   0:02.49 spamd child (per
l)
pgsql     707  0.0  0.8 16320  4120  ??  Is   11:06AM   0:00.16 /usr/local/bin/p
ostmaster -D /usr/local/pgsql/data (postgres)
pgsql     710  0.0  0.8 16324  4216  ??  S    11:06AM   0:00.44 postmaster: writ
er process    (postgres)
pgsql     711  0.0  0.8  7900  4012  ??  S    11:06AM   0:00.01 postmaster: stat
s buffer process    (postgres)
pgsql     712  0.0  0.8  6964  4068  ??  I    11:06AM   0:00.01 postmaster: stat
s collector process    (postgres)
root      734  0.0  0.5  3524  2728  ??  Is   11:07AM   0:00.02 /usr/sbin/sshd
root      739  0.0  0.2  1388  1100  ??  Is   11:07AM   0:00.02 /usr/sbin/cron -
s
root      766  0.0  0.2  1436  1040  ??  Is   11:07AM   0:00.00 /usr/sbin/inetd 
-wW -C 60
root      994  0.0  0.6  6276  3316  ??  Is   11:21AM   0:00.04 sshd: martin [pr
iv] (sshd)
martin    997  0.0  0.6  6228  3324  ??  I    11:21AM   0:00.27 sshd: martin at tty
p0 (sshd)
www      1044  0.0  2.0 12888 10236  ??  S    11:22AM   0:00.01 /usr/local/sbin/
httpd -DNOHTTPACCEPT
ix -u
postfix  1871  0.0  0.3  1844  1576  ??  S    12:04PM   0:00.03 smtpd -n smtp -t
 inet -u -o content_filter=spamfilter:dummy
postfix  1872  0.0  0.3  1572  1300  ??  I    12:04PM   0:00.02 proxymap -t unix
 -u
postfix  1873  0.0  0.3  1692  1476  ??  I    12:04PM   0:00.12 cleanup -z -t un
ix -u
postfix  1874  0.0  0.3  1592  1320  ??  I    12:04PM   0:00.01 pipe -n spamfilt
er -t unix flags=Rq user=spamd argv=/usr/local/bin/
postfix  1879  0.0  0.3  1664  1396  ??  I    12:04PM   0:00.02 local -t unix
postfix  1880  0.0  0.3  1672  1408  ??  I    12:04PM   0:00.02 local -t unix
postfix  1905  0.0  0.3  1692  1476  ??  I    12:04PM   0:00.08 cleanup -z -t un
ix -u
postfix  1906  0.0  0.3  1656  1436  ??  I    12:04PM   0:00.01 smtp -n relay -t
 unix -u -o fallback_relay=
postfix  1907  0.0  0.3  1660  1440  ??  I    12:04PM   0:00.01 smtp -t unix -u
postfix  1908  0.0  0.3  1660  1440  ??  I    12:04PM   0:00.01 smtp -t unix -u
postfix  1909  0.0  0.3  1656  1436  ??  I    12:04PM   0:00.01 smtp -n relay -t
 unix -u -o fallback_relay=
postfix  1910  0.0  0.3  1824  1552  ??  S    12:04PM   0:00.02 smtpd -n smtp -t
 inet -u -o content_filter=spamfilter:dummy
root      972  0.0  0.2  1344   952  v0  Is+  11:15AM   0:00.00 /usr/libexec/get
ty Pc ttyv0
root      971  0.0  0.2  1344   952  v1  Is+  11:15AM   0:00.00 /usr/libexec/get
ty Pc ttyv1
root      890  0.0  0.2  1344   952  v2  Is+  11:12AM   0:00.00 /usr/libexec/get
ty Pc ttyv2
root      787  0.0  0.2  1344   952  v3  Is+  11:07AM   0:00.00 /usr/libexec/get
ty Pc ttyv3
root      788  0.0  0.2  1344   952  v4  Is+  11:07AM   0:00.00 /usr/libexec/get
ty Pc ttyv4
root      789  0.0  0.2  1344   952  v5  Is+  11:07AM   0:00.00 /usr/libexec/get
ty Pc ttyv5
root      790  0.0  0.2  1344   952  v6  Is+  11:07AM   0:00.00 /usr/libexec/get
ty Pc ttyv6
root      791  0.0  0.2  1344   952  v7  Is+  11:07AM   0:00.00 /usr/libexec/get
ty Pc ttyv7
mysql     649  0.0  0.3  1728  1312 con- I    11:06AM   0:00.01 /bin/sh /usr/loc
al/bin/mysqld_safe --defaults-extra-file=/var/db/my
mysql     699  0.0  5.8 49016 29996 con- S    11:06AM   0:02.96 /usr/local/libex
ec/mysqld --defaults-extra-file=/var/db/mysql/my.cn
martin    998  0.0  0.4  3224  2080  p0  Is   11:21AM   0:00.02 -bash (bash)
martin    999  0.0  0.3  2008  1664  p0  S+   11:21AM   0:00.03 screen -dr
martin    992  0.0  0.4  3244  2100  p1  Is   11:21AM   0:00.02 /usr/local/bin/b
ash
martin   1011  0.0  0.4  3244  2132  p2  Is   11:21AM   0:00.02 /usr/local/bin/b
ash
martin   1040  0.0  0.4  3244  2132  p4  Is   11:22AM   0:00.02 /usr/local/bin/b
ash
martin   1041  0.0  0.4  3244  2132  p4  I+   11:22AM   0:00.00 /usr/local/bin/b
ash
root     1668  0.0  0.4  3224  2148  p5  Ss   11:52AM   0:00.04 -bash (bash)
root     1957  0.0  0.2  1508   996  p5  R+   12:05PM   0:00.00 ps axuw
root     1958  0.0  0.4  3224  2148  p5  R+   12:05PM   0:00.00 -bash (bash)


last|grep crash:
[root at elxsi ~]# last|grep crash
martin           ttyp5    87.239.142.167   Tue Jun 19 00:22 - crash  (09:57)
chilli           ttyp6    neptun.elxsi.de  Mon Jun 18 19:02 - crash  (15:17)
martin           ttyp0    cag.cronon.org   Mon Jun 18 10:33 - crash  (23:47)

>How-To-Repeat:
I didn't find a way to repeat the problem.
>Fix:
No fix known.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list