System panic under load (additional information)
Micah
micahjon at ywave.com
Thu Oct 26 16:23:07 UTC 2006
Kostik Belousov wrote:
> I saw several similar reports.
>
> Please, submit me the output of the "print *mp" in the same frame.
> Also, I'm interested in kernel config.
>
> Is the problem reproducible ?
It seems now that any time I compile openoffice the system will
eventually panic. Other disk intensive jobs, like my nightly photo-album
update, may or may not trigger it. I currently have two dumps for
6.1p10. I thought this might be failing hardware because the system has
worked fine for nearly a year, but the fact that it panics on the same
line of code every time makes me wonder.
Here are the prints from the latest dump:
(kgdb) print vp
$1 = (struct vnode *) 0x5ccc0000
(kgdb) print *mp
$2 = {mnt_list = {tqe_next = 0x0, tqe_prev = 0xc5a5b400}, mnt_op =
0xc07647e0,
mnt_vfc = 0xc0764820, mnt_vnodecovered = 0xc5b53110,
mnt_syncer = 0xc5b57330, mnt_nvnodelist = {tqh_first = 0xc7bf5660,
tqh_last = 0xc8c86cd4}, mnt_lock = {lk_interlock = 0xc0777654,
lk_flags = 0, lk_sharecount = 0, lk_waitcount = 0,
lk_exclusivecount = 0,
lk_prio = 80, lk_wmesg = 0xc072698f "vfslock", lk_timo = 0,
lk_lockholder = 0xffffffff, lk_newlock = 0x0}, mnt_mtx =
{mtx_object = {
lo_class = 0xc07534e4, lo_name = 0xc072697e "struct mount mtx",
lo_type = 0xc072697e "struct mount mtx", lo_flags = 196608,
lo_list = {
tqe_next = 0x0, tqe_prev = 0x0}, lo_witness = 0x0}, mtx_lock = 4,
mtx_recurse = 0}, mnt_writeopcount = 0, mnt_flag = 2101248,
mnt_opt = 0xc5a50b30, mnt_optnew = 0x0, mnt_kern_flag = 536870912,
mnt_maxsymlinklen = 120, mnt_stat = {f_version = 537068824, f_type = 7,
f_flags = 2101248, f_bsize = 2048, f_iosize = 16384, f_blocks =
47731967,
f_bfree = 26320368, f_bavail = 22501811, f_files = 12341246,
f_ffree = 11560039, f_syncwrites = 0, f_asyncwrites = 0,
f_syncreads = 0,
f_asyncreads = 0, f_spare = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
f_namemax = 255, f_owner = 0, f_fsid = {val = {1161696182, 824004859}},
f_charspare = '\0' <repeats 79 times>,
f_fstypename = "ufs", '\0' <repeats 12 times>,
f_mntfromname = "/dev/ad4s1h", '\0' <repeats 76 times>,
f_mntonname = "/home", '\0' <repeats 82 times>}, mnt_cred = 0xc5b55280,
mnt_data = 0xc5ac4900, mnt_time = 0, mnt_iosize_max = 131072,
mnt_export = 0x0, mnt_mntlabel = 0x0, mnt_fslabel = 0x0,
mnt_nvnodelistsize = 85186, mnt_hashseed = 2609235808, mnt_markercnt = 0,
mnt_holdcnt = 0, mnt_holdcntwaiters = 0, mnt_secondary_writes = 0,
mnt_secondary_accwrites = 2107220, mnt_ref = 85186}
Kernel Conf (it's based on generic, but isn't):
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.3.2.1 2005/10/28
19:22:41 jhb Exp $
machine i386
#cpu I486_CPU
#cpu I586_CPU
cpu I686_CPU
ident TRISHA
# 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
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
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
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 eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
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
device atapicam # allow ATAPI ddevice access through scsi
subsystem
# SCSI Controllers
#None
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# RAID controllers interfaced to the SCSI subsystem
#None
# RAID controllers
#None
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
device agp # support several AGP chipsets
device drm # DRM core module required by DRM drivers
#device radeondrm # ATI Radeon
# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
device pmtimer
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
#None
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device puc
# PCI Ethernet NICs.
#None
# 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)
# ISA Ethernet NICs. pccard NICs included.
#None
# ISA devices that use the old ISA shims
#device le
# Wireless NIC cards
#None
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device sl # Kernel SLIP
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
# 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
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
#device ural # Ralink Technology RT2500USB wireless NICs
#device urio # Diamond Rio 500 MP3 player
device uscanner # Scanners
# USB Ethernet, requires miibus
#None
# FireWire support
#None
More information about the freebsd-hackers
mailing list