system randomly freezes

Gergely CZUCZY phoemix at harmless.hu
Sat Nov 11 17:27:24 UTC 2006


Hello,

I have sent this as a PR, but Remko Lodder suggested that
it should be discuessed here. I have seen several other
examples to very similar unstability issues in the mailing
lists previously. When i have posted this to -questions@
there also was a person who said he has fimilar behaviours
sometimes.

so, here it goes:
>Environment:
System: FreeBSD marvin.harmless.hu 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Mon Oct 2 14:54:14 CEST 2006 root at marvin.harmless.hu:/usr/obj/usr/src/sys/MARVIN i386


>Description:
We run hosting services on this FreeBSD box, and we
encountered strange problems.

Sometimes, in 4-6 weeks' time the system simply freezes.
I use the term "freeze", because i feel it the proper one.
The console is blank, we cannot do network communication
with the box, there is no crash dump left of the event, the
system logs are empty. We've got absolutely no clue on this at
the moment.

This a supermicro 5013C-MT:
http://www.supermicro.com/products/system/1U/5013/SYS-5013C-MT.cfm
with a P4-2.4GHz, and with 4x512MB of DDR RAM.

We are using the 6300ESB SATA controller, because the marvell
one is buggy (i have already filed a bug report on that).
All the other hardware spec will be in the later pciiconf output
and dmesg.

The config.
We are running ftp, web, email, postgresql services mostly on this
box. We have 6 jails on it with the pf packet filter.

if anything is else is needed, please ask for the info.

Dmesg:
--- chop here ---
Copyright (c) 1992-2006 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 6.1-RELEASE-p10 #0: Mon Oct  2 14:54:14 CEST 2006
    root at marvin.harmless.hu:/usr/obj/usr/src/sys/MARVIN
ACPI APIC Table: <IntelR AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2795.24-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
  Logical CPUs per core: 2
real memory  = 2146304000 (2046 MB)
avail memory = 2096168960 (1999 MB)
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
kbd1 at kbdmux0
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b 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
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xc000-0xc01f mem 0xfd500000-0xfd51ffff irq 18 at device 1.0 on pci1
em0: Ethernet address: 00:30:48:80:aa:3e
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci2: <ACPI PCI bus> on pcib2
atapci0: <Marvell 88SX5041 SATA150 controller> mem 0xfd400000-0xfd47ffff irq 27 at device 4.0 on pci2
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <display, VGA> at device 9.0 (no driver attached)
em1: <Intel(R) PRO/1000 Network Connection Version - 3.2.18> port 0xd100-0xd13f mem 0xfc000000-0xfc01ffff irq 19 at device 10.0 on pci3
em1: Ethernet address: 00:30:48:80:aa:3f
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel 6300ESB UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
atapci2: <Intel 6300ESB SATA150 controller> port 0xe200-0xe207,0xe300-0xe303,0xe400-0xe407,0xe500-0xe503,0xe600-0xe60f at device 31.2 on pci0
ata6: <ATA channel 0> on atapci2
ata7: <ATA channel 1> on atapci2
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2795239320 Hz quality 800
Timecounters tick every 1.000 msec
acd0: CDROM <CD-224E/1.9A> at ata0-master UDMA33
ad12: 190782MB <HDT722520DLA380 V44OA9BA> at ata6-master SATA150
ad14: 190782MB <HDT722520DLA380 V44OA96A> at ata7-master SATA150
GEOM_MIRROR: Device gm0 created (id=2141307500).
GEOM_MIRROR: Device gm0: provider ad12 detected.
GEOM_MIRROR: Device gm0: provider ad14 detected.
GEOM_MIRROR: Device gm0: provider ad14 activated.
GEOM_MIRROR: Device gm0: provider ad12 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
Trying to mount root from ufs:/dev/mirror/gm0s1a
WARNING: / was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 36 files 3
em1: link state changed to UP
--- chop here ---

pciconf -lv:
--- chop here ---
hostb0 at pci0:0:0:	class=0x060000 card=0x518015d9 chip=0x25788086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82875P/E7210 DRAM Controller / Host-Hub Interface'
    class    = bridge
    subclass = HOST-PCI
pcib1 at pci0:3:0:	class=0x060400 card=0x00000000 chip=0x257b8086 rev=0x02 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82875P/E7210 PCI to CSA Bridge'
    class    = bridge
    subclass = PCI-PCI
pcib2 at pci0:28:0:	class=0x060400 card=0x00000050 chip=0x25ae8086 rev=0x02 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '6300ESB Hub Interface to PCI-X Bridge'
    class    = bridge
    subclass = PCI-PCI
pcib3 at pci0:30:0:	class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x0a hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0 at pci0:31:0:	class=0x060100 card=0x00000000 chip=0x25a18086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '6300ESB LPC Interface Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci1 at pci0:31:1:	class=0x01018a card=0x518015d9 chip=0x25a28086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '6300ESB IDE Controller'
    class    = mass storage
    subclass = ATA
atapci2 at pci0:31:2:	class=0x01018f card=0x518015d9 chip=0x25a38086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '6300ESB Serial ATA Controller'
    class    = mass storage
    subclass = ATA
none0 at pci0:31:3:	class=0x0c0500 card=0x518015d9 chip=0x25a48086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '6300ESB SMBus Controller'
    class    = serial bus
    subclass = SMBus
em0 at pci1:1:0:	class=0x020000 card=0x10758086 chip=0x10758086 rev=0x00 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82547EI Gigabit Ethernet Controller'
    class    = network
    subclass = ethernet
atapci0 at pci2:4:0:	class=0x010000 card=0x504111ab chip=0x504111ab rev=0x03 hdr=0x00
    vendor   = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
    device   = 'MV88SX5041 4-port SATA PCI-X Controller'
    class    = mass storage
    subclass = SCSI
none1 at pci3:9:0:	class=0x030000 card=0x518015d9 chip=0x47521002 rev=0x27 hdr=0x00
    vendor   = 'ATI Technologies Inc'
    device   = 'Rage XL PCI'
    class    = display
    subclass = VGA
em1 at pci3:10:0:	class=0x020000 card=0x10768086 chip=0x10768086 rev=0x00 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82547EI Gigabit Ethernet Controller'
    class    = network
    subclass = ethernet
--- chop here ---

Kernel config:
--- chop here ---
machine		i386
cpu		I686_CPU
ident		MARVIN

maxusers	64
device		npx

# i will have this removed soonely:
options		CPU_FASTER_5X86_FPU

# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.

#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

#options 	SCHED_ULE		# ULE scheduler
options 	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
#options 	INET6			# IPv6 communications protocols
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
#options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
#options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
# i will have this removed soonely:
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
# i will have this removed soonely:
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
# i will have this removed soonely:
options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
# i will have this removed soonely:
options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.

device		apic			# I/O APIC

# Bus support.
device		isa
device		eisa
device		pci

# Floppy drives
#device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
# i will have this removed soonely:
device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
#device		atapifd		# ATAPI floppy drives
#device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		kbdmux		# keyboard multiplexer
device		vga		# VGA video card driver


# syscons is the default console driver, resembling an SCO console
device		sc

# Enable this for the pcvt (VT220 compatible) console driver
device		vt
#options 	XSERVER		# support for X server on a vt console
#options 	FAT_CURSOR	# start with block cursor

# i will have this removed soonely:
device		agp		# support several AGP chipsets

# Power management support (see NOTES for more options)
# i will have this removed soonely:
device		apm
# Add suspend/resume support for the i8254.
# i will have this removed soonely:
device		pmtimer

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# PCI Ethernet NICs.
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
# i will have this removed soonely:
device		sl		# Kernel SLIP
# i will have this removed soonely:
device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

device		pf
device		pflog
device		pfsync

options		ALTQ
options		ALTQ_CBQ
options		ALTQ_RED
options		ALTQ_RIO
options		ALTQ_HFSC
options		ALTQ_PRIQ
options		ALTQ_NOPCC

device		tap

options		COMPAT_LINUX

# i will have this removed soonely:
device		acpi

device		nullfs
device		geom_mirror
device		geom_label

options		DEVICE_POLLING
--- chop here ---


Bye,

Gergely Czuczy
mailto: gergely.czuczy at harmless.hu

-- 
Weenies test. Geniuses solve problems that arise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 7524 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061111/14ef79db/attachment.pgp


More information about the freebsd-hackers mailing list