5.2R + ULE crash
John
strgout at unixjunkie.com
Wed Jan 21 11:35:12 PST 2004
Well i'm kinda fly blind on the crash dump so if anyone else wants me to
show something else just let me know.
This happened on Day 4.5 of compiling Open Office 1.1.
I haven't touched much of anything else on the system after the
crash but i did have a power failure a day after the crash.
Oh btw /usr is also nfs exported on this box and i did have a client
using /usr at the time of the crash. (mounted via mount_nfs with no options)
kernel config, plus crash dump info, and dmesg follow.
#
# 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.394 2003/12/03 21:13:06 jhb Exp $
machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident NFS
#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
#options SCHED_4BSD #4BSD scheduler
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 COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options SCSI_DELAY=15000 #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.
# Debugging for use in -current
options DDB #Enable the kernel debugger
options INVARIANTS #Enable calls of extra sanity checking
options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
options WITNESS #Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC
device isa
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
# SCSI Controllers
device ahb # EISA AHA1742 family
device ahc # AHA2940 and onboard AIC7xxx devices
device ahd # AHA39320/29320 and onboard AIC79xx devices
device amd # AMD 53C974 (Tekram DC-390(T))
device isp # Qlogic family
device mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
device trm # Tekram DC395U/UW/F DC315U adapters
device adv # Advansys SCSI adapters
device adw # Advansys wide SCSI adapters
device aha # Adaptec 154x SCSI adapters
device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
device bt # Buslogic/Mylex MultiMaster SCSI adapters
device ncv # NCR 53C500
device nsp # Workbit Ninja SCSI-3
device stg # TMC 18C30/18C50
# 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
device amr # AMI MegaRAID
device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
device ciss # Compaq Smart RAID 5*
device dpt # DPT Smartcache III, IV - See NOTES for options
device iir # Intel Integrated RAID
device ips # IBM (Adaptec) ServeRAID
device mly # Mylex AcceleRAID/eXtremeRAID
# RAID controllers
device aac # Adaptec FSA RAID
device aacp # SCSI passthrough for aac (requires CAM)
device ida # Compaq Smart RAID
device mlx # Mylex DAC960 family
device pst # Promise Supertrak SX6000
device twe # 3ware ATA RAID
# 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
# 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
device agp # support several AGP chipsets
# Floating point support - do not disable.
device npx
# 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
device cbb # cardbus (yenta) bridge
#device pcic # ExCA ISA and PCI bridges
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
# 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.
device de # DEC/Intel DC21x4x (``Tulip'')
device em # Intel PRO/1000 adapter Gigabit Ethernet Card
device txp # 3Com 3cR990 (``Typhoon'')
device vx # 3Com 3c590, 3c595 (``Vortex'')
# 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 bfe # Broadcom BCM440x 10/100 ethernet
device bge # Broadcom BCM570xx Gigabit Ethernet
device dc # DEC/Intel 21143 and various workalikes
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
device pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc')
device re # RealTek 8139C+/8169/8169S/8110S
device rl # RealTek 8129/8139
device sf # Adaptec AIC-6915 (``Starfire'')
device sis # Silicon Integrated Systems SiS 900/SiS 7016
device sk # SysKonnect SK-984x and SK-982x gigabit ethernet
device ste # Sundance ST201 (D-Link DFE-550TX)
device ti # Alteon Networks Tigon I/II gigabit ethernet
device tl # Texas Instruments ThunderLAN
device tx # SMC EtherPower II (83c170 ``EPIC'')
device vr # VIA Rhine, Rhine II
device wb # Winbond W89C840F
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# ISA Ethernet NICs. pccard nics included.
device cs # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
device ex # Intel EtherExpress Pro/10 and Pro/10+
device ep # Etherlink III based cards
device fe # Fujitsu MB8696x based cards
device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
device lnc # NE2100, NE32-VL Lance Ethernet cards
device sn # SMC's 9000 series of ethernet chips
device xe # Xircom pccard ethernet
# ISA devices that use the old ISA shims
#device le
# Wireless NIC cards
device wlan # 802.11 support
device an # Aironet 4500/4800 802.11 wireless NICs.
device awi # BayStack 660 and others
device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device wl # Older non 802.11 Wavelan wireless NIC.
# Pseudo devices - the number indicates how many units to allocate.
device random # Entropy device
device loop # Network loopback
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!
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
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 urio # Diamond Rio 500 MP3 player
device uscanner # Scanners
# USB Ethernet, requires mii
device aue # ADMtek USB ethernet
device axe # ASIX Electronics USB ethernet
device cue # CATC USB ethernet
device kue # Kawasaki LSI USB ethernet
# FireWire support
device firewire # FireWire bus code
device sbp # SCSI over FireWire (Requires scbus and da)
device fwe # Ethernet over FireWire (non-standard!)
Script started on Wed Jan 21 00:57:35 2004
You have mail.
nfs# gdb -k kernel.debug /var/crash/vmcore.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
panic: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x300
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc07611e0
stack pointer = 0x10:0xc9a2a818
frame pointer = 0x10:0xc9a2a824
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 65729 (tcsh)
panic: from debugger
cpuid = 0;
Fatal trap 3: breakpoint instruction fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer = 0x8:0xc0759a26
stack pointer = 0x10:0xc9a2a628
frame pointer = 0x10:0xc9a2a62c
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = IOPL = 0
current process = 65729 (tcsh)
panic: from debugger
cpuid = 0;
Uptime: 7d9h56m0s
Dumping 128 MB
16 32 48 64 80 96 112
---
Reading symbols from /boot/kernel/linux.ko...done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/smbfs.ko...done.
Loaded symbols for /boot/kernel/smbfs.ko
Reading symbols from /boot/kernel/libiconv.ko...done.
Loaded symbols for /boot/kernel/libiconv.ko
Reading symbols from /boot/kernel/libmchain.ko...done.
Loaded symbols for /boot/kernel/libmchain.ko
Reading symbols from /boot/kernel/linprocfs.ko...done.
Loaded symbols for /boot/kernel/linprocfs.ko
#0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240 dumping++;
(kgdb) list *0xc07611e0
0xc07611e0 is in lapic_ipi_wait (/usr/src/sys/i386/i386/local_apic.c:655).
650 incr = 0;
651 delay = 1;
652 } else
653 incr = 1;
654 for (x = 0; x < delay; x += incr) {
655 if ((lapic->icr_lo & APIC_DELSTAT_MASK) == APIC_DELSTAT_IDLE)
656 return (1);
657 ia32_pause();
658 }
659 return (0);
(kgdb) list *0xc0759a26
0xc0759a26 is in Debugger (machine/atomic.h:263).
258 ATOMIC_ASM(add, long, "addl %1,%0", "ir", v);
259 ATOMIC_ASM(subtract, long, "subl %1,%0", "ir", v);
260
261 ATOMIC_STORE_LOAD(char, "cmpxchgb %b0,%1", "xchgb %b1,%0");
262 ATOMIC_STORE_LOAD(short,"cmpxchgw %w0,%1", "xchgw %w1,%0");
263 ATOMIC_STORE_LOAD(int, "cmpxchgl %0,%1", "xchgl %1,%0");
264 ATOMIC_STORE_LOAD(long, "cmpxchgl %0,%1", "xchgl %1,%0");
265
266 #undef ATOMIC_ASM
267 #undef ATOMIC_STORE_LOAD
(kgdb) backtrace
#0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1 0xc05f2ad6 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372
#2 0xc05f2e3d in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3 0xc045e95d in db_panic () at /usr/src/sys/ddb/db_command.c:450
#4 0xc045e8f0 in db_command (last_cmdp=0xc0871600, cmd_table=0xc07fdcc0,
aux_cmd_tablep=0xc07f4eb0, aux_cmd_tablep_end=0xc07f4ec8)
at /usr/src/sys/ddb/db_command.c:346
#5 0xc045e9cb in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#6 0xc046121b in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:73
#7 0xc0759755 in kdb_trap (type=12, code=0, regs=0xc9a2a7d8)
at /usr/src/sys/i386/i386/db_interface.c:171
#8 0xc076cc0b in trap_fatal (frame=0xc9a2a7d8, eva=768)
at /usr/src/sys/i386/i386/trap.c:816
#9 0xc076c36d in trap (frame=
{tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 0, tf_ebp = -912087004, tf_isp = -912087036, tf_ebx = 0, tf_edx = 0, tf_ecx = 1000000, tf_eax = 243, tf_trapno = 12, tf_err = 0, tf_eip = -1066004000, tf_cs = 8, tf_eflags = 65671, tf_esp = 243, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:250
#10 0xc075ada8 in calltrap () at {standard input}:94
#11 0xc076132a in lapic_ipi_vectored (vector=0, dest=0)
at /usr/src/sys/i386/i386/local_apic.c:725
#12 0xc0765933 in ipi_selected (cpus=1, ipi=1)
at /usr/src/sys/i386/i386/mp_machdep.c:1115
---Type <return> to continue, or q <return> to quit---
#13 0xc060371f in kseq_notify (ke=0xc139c420, cpu=0)
at /usr/src/sys/kern/sched_ule.c:520
#14 0xc06049a8 in sched_add (td=0xc1f87280)
at /usr/src/sys/kern/sched_ule.c:1366
#15 0xc05f7f20 in setrunqueue (td=0xc1f87280)
at /usr/src/sys/kern/kern_switch.c:340
#16 0xc0604142 in sched_wakeup (td=0xc1f87280)
at /usr/src/sys/kern/sched_ule.c:999
#17 0xc05f9546 in setrunnable (td=0xc1f87280)
at /usr/src/sys/kern/kern_synch.c:570
#18 0xc05f91ba in wakeup (ident=0xc088a600)
at /usr/src/sys/kern/kern_synch.c:411
#19 0xc05c6ae5 in g_io_request (bp=0xc27f8908, cp=0xc2031480)
at /usr/src/sys/geom/geom_io.c:260
#20 0xc05c4d58 in g_dev_strategy (bp=0xc4655488)
at /usr/src/sys/geom/geom_dev.c:395
#21 0xc0633ac8 in dev_strategy (bp=0xc4655488)
at /usr/src/sys/kern/vfs_bio.c:3079
#22 0xc05c32e6 in spec_xstrategy (vp=0xc210671c, bp=0xc4655488)
at /usr/src/sys/fs/specfs/spec_vnops.c:517
#23 0xc05c38a5 in spec_getpages (ap=0xc9a2a9f4)
at /usr/src/sys/fs/specfs/spec_vnops.c:752
#24 0xc05c2623 in spec_vnoperate (ap=0x0)
---Type <return> to continue, or q <return> to quit---
at /usr/src/sys/fs/specfs/spec_vnops.c:122
#25 0xc071668d in ffs_getpages (ap=0xc9a2aa2c) at vnode_if.h:1317
#26 0xc073a003 in vnode_pager_getpages (object=0xc22b1108, m=0x0, count=8192,
reqpage=0) at vnode_if.h:1317
#27 0xc05df0c4 in exec_map_first_page (imgp=0xc9a2ab94)
at /usr/src/sys/vm/vm_pager.h:129
#28 0xc05de5f2 in kern_execve (td=0xc20efc80, fname=---Can't read userspace from dump, or kernel process---
)
at /usr/src/sys/kern/kern_exec.c:287
#29 0xc05deef8 in execve (td=0xc20efc80, uap=0x0)
at /usr/src/sys/kern/kern_exec.c:693
#30 0xc076ceff in syscall (frame=
{tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134999920, tf_esi = 135030784, tf_ebp = -1077969256, tf_isp = -912085644, tf_ebx = 672958240, tf_edx = 135030798, tf_ecx = 672958240, tf_eax = 59, tf_trapno = 12, tf_err = 2, tf_eip = 672483487, tf_cs = 31, tf_eflags = 530, tf_esp = -1077969284, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1010
#31 0xc075adfd in Xint0x80_syscall () at {standard input}:136
---Can't read userspace from dump, or kernel process---
(kgdb) nfs#
nfs#
# dmesg
Script done on Wed Jan 21 01:03:55 2004
Copyright (c) 1992-2004 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.2-RELEASE #0: Sat Jan 17 17:13:33 CST 2004
root at nfs.unixjunkie.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0961000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (232.67-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x543 Stepping = 3
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 134217728 (128 MB)
avail memory = 120758272 (115 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 WDMA2 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
pci0: <display, VGA> at device 8.0 (no driver attached)
bt0: <Buslogic Multi-Master SCSI Host Adapter> port 0xfff4-0xfff7 mem 0xfff7f000-0xfff7ffff irq 10 at device 17.0 on pci0
bt0: BT-958 FW Rev. 5.07B Ultra Wide SCSI Host Adapter, SCSI ID 7, 192 CCBs
de0: <Digital 21140A Fast Ethernet> port 0xf880-0xf8ff mem 0xfff7ec00-0xfff7ec7f irq 9 at device 19.0 on pci0
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.2
de0: address 00:e0:29:00:b1:c2
orm0: <Option ROMs> at iomem 0xea000-0xebfff,0xe9000-0xe9fff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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: <PNP0303> can't assign resources (port)
psmcpnp0: irq resource info is missing; assuming irq 12
unknown: <PNP0700> can't assign resources (port)
ppc1: parallel port not found.
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounter "TSC" frequency 232671453 Hz quality 800
Timecounters tick every 10.000 msec
Waiting 15 seconds for SCSI devices to settle
de0: enabling Full Duplex 100baseTX port
GEOM: create disk da0 dp=0xc208ec50
da0 at bt0 bus 0 target 4 lun 0
da0: <SEAGATE ST39175LW 0001> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: superblock summary recomputed
WARNING: /var was not properly dismounted
de0: enabling 100baseTX port
de0: enabling Full Duplex 100baseTX port
More information about the freebsd-current
mailing list