Date: Fri, 5 Oct 2001 19:24:58 -0700 From: mki <mki@mozone.net> To: stable@freebsd.org Subject: panic in 4.4-stable (10/01 snap); help needed Message-ID: <20011005192458.G1671@cyclonus.mozone.net>
next in thread | raw e-mail | index | archive | help
Hi,
A couple of my machines have panic'd (rather randomly it seems)
but on one of them, I was able to get a dump. The stack trace
is included below, if anyone can help, it'd be greatly
appreciated (on the machine below, there were no nfs mount points).
thanks
-mohan
gdb -k kernel.debug /var/crash/vmcore.0
GNU gdb 4.18
...
...
SMP 2 cpus
IdlePTD 3420160
initial pcb at 2b5600
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
fault virtual address = 0x1e
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01adac6
stack pointer = 0x10:0xfbaa1d48
frame pointer = 0x10:0xfbaa1df0
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 215 (squid)
interrupt mask = <- SMP: XXX
trap number = 12
panic: page fault
mp_lock = 01000002; cpuid = 1; lapic.id = 01000000
boot() called on cpu#1
syncing disks... 8
done
Uptime: 2d13h20m32s
dumping to dev #ad/0x20001, offset 8126464
dump ata0: resetting devices .. done
...
...
(kgdb) where
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:473
#1 0xc0152a9f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:313
#2 0xc0152ea0 in poweroff_wait (junk=0xc0289e59, howto=-1071081169) at /usr/src/sys/kern/kern_shutdown.c:581
#3 0xc024f8ac in trap_fatal (frame=0xfbaa1d08, eva=30) at /usr/src/sys/i386/i386/trap.c:956
#4 0xc024f53d in trap_pfault (frame=0xfbaa1d08, usermode=0, eva=30) at /usr/src/sys/i386/i386/trap.c:849
#5 0xc024f0db in trap (frame={tf_fs = -754974696, tf_es = -72744944, tf_ds = -72744944, tf_edi = -66031872, tf_esi = 0,
tf_ebp = -72737296, tf_isp = -72737484, tf_ebx = 10, tf_edx = 5, tf_ecx = -72737244, tf_eax = 10, tf_trapno = 12,
tf_err = 0, tf_eip = -1071981882, tf_cs = 8, tf_eflags = 66054, tf_esp = -752278720, tf_ss = -66031872})
at /usr/src/sys/i386/i386/trap.c:448
#6 0xc01adac6 in nqsrv_getlease (vp=0xfc106f00, duration=0xfbaa1e1c, flags=5, slp=0xffffffff, procp=0xf1884c20, nam=0x0,
cachablep=0xfbaa1e20, frev=0xfbaa1e24, cred=0xd2ad8800) at /usr/src/sys/nfs/nfs_nqlease.c:228
#7 0xc01ade3c in nqnfs_vop_lease_check (ap=0xfbaa1e64) at /usr/src/sys/nfs/nfs_nqlease.c:366
#8 0xc017d48d in vop_defaultop (ap=0xfbaa1e64) at /usr/src/sys/kern/vfs_default.c:150
#9 0xc0209971 in ufs_vnoperate (ap=0xfbaa1e64) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2382
#10 0xc0187423 in vn_read (fp=0xd3292340, uio=0xfbaa1ed4, cred=0xd2ad8800, flags=0, p=0xf1884c20) at vnode_if.h:392
#11 0xc016123c in dofileread (p=0xf1884c20, fp=0xd3292340, fd=727, buf=0x10715000, nbyte=4096, offset=-1, flags=0)
at /usr/src/sys/sys/file.h:146
#12 0xc0161102 in read (p=0xf1884c20, uap=0xfbaa1f80) at /usr/src/sys/kern/sys_generic.c:117
#13 0xc024fbd5 in syscall2 (frame={tf_fs = -1078001617, tf_es = 47, tf_ds = -1078001617, tf_edi = 727, tf_esi = 0,
tf_ebp = -1078199848, tf_isp = -72736812, tf_ebx = 1709052004, tf_edx = 306994816, tf_ecx = 1709044064, tf_eax = 3,
tf_trapno = 532520, tf_err = 2, tf_eip = 1708770552, tf_cs = 31, tf_eflags = 643, tf_esp = -1078199892, tf_ss = 47})
at /usr/src/sys/i386/i386/trap.c:1155
#14 0xc023d8ab in Xint0x80_syscall ()
cannot read proc at 0
(kgdb) frame 6
#6 0xc01adac6 in nqsrv_getlease (vp=0xfc106f00, duration=0xfbaa1e1c, flags=5, slp=0xffffffff, procp=0xf1884c20, nam=0x0,
cachablep=0xfbaa1e20, frev=0xfbaa1e24, cred=0xd2ad8800) at /usr/src/sys/nfs/nfs_nqlease.c:228
228 if (lp != 0) {
(kgdb) print lp
$33 = (struct nqlease *) 0x40000000
(kgdb)
## $Id$
machine i386
cpu I686_CPU
ident CDS
maxusers 192
options NMBCLUSTERS=65534
options MAXDSIZ="(1500*1024*1024)"
options MAXSSIZ="(512*1024*1024)"
options DFLDSIZ="(1500*1024*1024)"
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT #NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
# SYSV-style message queue specific settings
options MSGMNB=16384 # max # of bytes in a queue
options MSGMNI=41 # number of message queue identifiers
options MSGSEG=2049 # number of message segments
options MSGSSZ=64 # size of a message segment
options MSGTQL=512 # max messages in system
# Misc
options ACCEPT_FILTER_HTTP
options ACCEPT_FILTER_DATA
# To make an SMP kernel, the next two are needed
options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
device isa
device pci
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk 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 sym # NCR/Symbios Logic (newer chipsets)
options SYM_SETUP_LP_PROBE_MAP=0x40
# Allow ncr to attach legacy NCR devices when
# both sym and ncr are configured
# SCSI peripherals
device scbus # SCSI bus (required)
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12
device vga0 at isa?
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Power management support (see LINT for more options)
device apm0 at nexus? disable flags 0x20 # Advanced Power Management
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device ppi # Parallel port interface device
# 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 wx # Intel Gigabit Ethernet Card (``Wiseman'')
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
Copyright (c) 1992-2001 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 4.4-STABLE #0: Mon Oct 1 16:47:25 MST 2001
root@nfs:/usr/obj/usr/src/sys/CDS
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1004.26-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory = 4227858432 (4128768K bytes)
avail memory = 4119920640 (4023360K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 4, version: 0x000f0011, at 0xfec00000
io1 (APIC): apic id: 5, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0324000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 13 entries at 0xc00f4cb0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 13 -> irq 2
IOAPIC #1 intpin 14 -> irq 5
IOAPIC #1 intpin 15 -> irq 9
pci0: <PCI bus> on pcib0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xde80-0xdebf mem 0xfe300000-0xfe3fffff,0xfe6fc000-0xfe6fcfff irq 2 at device 7.0 on pc
i0
fxp0: Ethernet address 00:20:ed:13:4a:8c
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xdf00-0xdf3f mem 0xfe500000-0xfe5fffff,0xfe6fd000-0xfe6fdfff irq 5 at device 8.0 on pc
i0
fxp1: Ethernet address 00:20:ed:13:4a:8d
inphy1: <i82555 10/100 media interface> on miibus1
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <ATI Mach64-GR graphics accelerator> at 9.0 irq 9
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0xffa0-0xffaf at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
IOAPIC #1 intpin 10 -> irq 10
IOAPIC #1 intpin 11 -> irq 11
pci1: <PCI bus> on pcib1
sym0: <1010-66> port 0xe000-0xe0ff mem 0xfebf8000-0xfebf9fff,0xfebff400-0xfebff7ff irq 10 at device 4.0 on pci1
sym0: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: handling phase mismatch from SCRIPTS.
sym1: <1010-66> port 0xe400-0xe4ff mem 0xfebfa000-0xfebfbfff,0xfebff800-0xfebffbff irq 11 at device 4.1 on pci1
sym1: Symbios NVRAM, ID 7, Fast-80, LVD, parity checking
sym1: open drain IRQ line driver, using on-chip SRAM
sym1: using LOAD/STORE-based firmware.
sym1: handling phase mismatch from SCRIPTS.
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff,0xcd800-0xcefff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppi0: <Parallel I/O> on ppbus0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 28615MB <IC25N030ATDA04-0> [58140/16/63] at ata0-master UDMA33
acd0: CDROM <SR243T> at ata1-master using PIO4
Waiting 15 seconds for SCSI devices to settle
(noperiph:sym0:0:-1:-1): SCSI BUS reset delivered.
(noperiph:sym1:0:-1:-1): SCSI BUS reset delivered.
Mounting root from ufs:/dev/ad0s1a
da0 at sym0 bus 0 target 0 lun 0
da0: <SEAGATE ST336752LC 0002> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 62, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
da1 at sym0 bus 0 target 1 lun 0
da1: <SEAGATE ST336752LC 0002> Fixed Direct Access SCSI-3 device
da1: 160.000MB/s transfers (80.000MHz, offset 62, 16bit), Tagged Queueing Enabled
da1: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
da2 at sym0 bus 0 target 2 lun 0
da2: <SEAGATE ST336752LC 0002> Fixed Direct Access SCSI-3 device
da2: 160.000MB/s transfers (80.000MHz, offset 62, 16bit), Tagged Queueing Enabled
da2: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
WARNING: / was not properly dismounted
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011005192458.G1671>
