Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 1998 08:54:38 -0500 (CDT)
From:      Guy Helmer <ghelmer@scl.ameslab.gov>
To:        freebsd-current@FreeBSD.ORG
Subject:   Kernel backtrace for recurring page fault panic
Message-ID:  <Pine.SGI.3.96.981008083801.2227A-100000@demios.scl.ameslab.gov>

next in thread | raw e-mail | index | archive | help
I finally have a backtrace for a page fault panic that has been bothering
me under -current for months (it only happens when I use cvsup); this
kernel was built from current sources on October 2.  It appears that there
are two page faults, the first occuring in tulip_txput and the second in
tsleep.  Is this of value to the kernel gurus? 

Thanks,
Guy

IdlePTD 2252800
initial pcb at 2022c4
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xefd313c8
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xf0184421
stack pointer	        = 0x10:0xf01e9da8
frame pointer	        = 0x10:0xf01e9ddc
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		= Idle
interrupt mask		= net 
trap number		= 12
panic: page fault

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xb8
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xf0133c6f
stack pointer	        = 0x10:0xf01e9b10
frame pointer	        = 0x10:0xf01e9b24
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		= Idle
interrupt mask		= net bio 
trap number		= 12
panic: page fault

dumping to dev 30401, offset 131072
dump 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=260) at ../../kern/kern_shutdown.c:268
268			dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=260) at ../../kern/kern_shutdown.c:268
#1  0xf0131f4b in panic (fmt=0xf01b6f8f "page fault")
    at ../../kern/kern_shutdown.c:430
#2  0xf01b7c6d in trap_fatal (frame=0xf01e9ad4) at ../../i386/i386/trap.c:879
#3  0xf01b7700 in trap_pfault (frame=0xf01e9ad4, usermode=0)
    at ../../i386/i386/trap.c:772
#4  0xf01b735f in trap (frame={tf_es = -266797040, tf_ds = -266469360, 
      tf_edi = 0, tf_esi = -237815448, tf_ebp = -266429660, 
      tf_isp = -266429700, tf_ebx = 0, tf_edx = 20, tf_ecx = -199646816, 
      tf_eax = -237815448, tf_trapno = 12, tf_err = 0, tf_eip = -267174801, 
      tf_cs = 8, tf_eflags = 66118, tf_esp = -237815448, tf_ss = -199646816})
    at ../../i386/i386/trap.c:396
#5  0xf0133c6f in tsleep (ident=0xf1d33968, priority=20, 
    wmesg=0xf014dc7f "getblk", timo=0) at ../../kern/kern_synch.c:382
#6  0xf014dd2d in getblk (vp=0xf419a1a0, blkno=1769552, size=8192, slpflag=0, 
    slptimeo=0) at ../../kern/vfs_bio.c:1437
#7  0xf014c581 in bread (vp=0xf419a1a0, blkno=1769552, size=8192, cred=0x0, 
    bpp=0xf01e9bd4) at ../../kern/vfs_bio.c:281
#8  0xf018d9b0 in ffs_update (vp=0xf4281f20, access=0xf01e9c3c, 
    modify=0xf01e9c3c, waitfor=0) at ../../ufs/ffs/ffs_inode.c:102
#9  0xf0192409 in ffs_fsync (ap=0xf01e9c78) at ../../ufs/ffs/ffs_vnops.c:252
#10 0xf01907fb in ffs_sync (mp=0xf0874800, waitfor=2, cred=0xf0830800, 
    p=0xf021aaec) at vnode_if.h:499
---Type <return> to continue, or q <return> to quit---
#11 0xf0155457 in sync (p=0xf021aaec, uap=0x0) at ../../kern/vfs_syscalls.c:527
#12 0xf0131b22 in boot (howto=256) at ../../kern/kern_shutdown.c:201
#13 0xf0131f4b in panic (fmt=0xf01b6f8f "page fault")
    at ../../kern/kern_shutdown.c:430
#14 0xf01b7c6d in trap_fatal (frame=0xf01e9d6c) at ../../i386/i386/trap.c:879
#15 0xf01b7700 in trap_pfault (frame=0xf01e9d6c, usermode=0)
    at ../../i386/i386/trap.c:772
#16 0xf01b735f in trap (frame={tf_es = -262209520, tf_ds = -267124720, 
      tf_edi = 305, tf_esi = 1297040201, tf_ebp = -266428964, 
      tf_isp = -266429036, tf_ebx = 1280254075, tf_edx = 0, 
      tf_ecx = -259831296, tf_eax = 312562, tf_trapno = 12, tf_err = 0, 
      tf_eip = -266845151, tf_cs = 8, tf_eflags = 66050, tf_esp = -262479872, 
      tf_ss = -262367488}) at ../../i386/i386/trap.c:396
#17 0xf0184421 in tulip_txput (sc=0xf05ae000, m=0xf05f1d80)
    at machine/pmap.h:171
#18 0xf0184a09 in tulip_ifstart_one (ifp=0xf05ae018) at ../../pci/if_de.c:4851
#19 0xf0168d9c in ether_output (ifp=0xf05ae018, m0=0xf05c9700, dst=0xf0a7f870, 
    rt0=0xf08d0c00) at ../../net/if_ethersubr.c:388
#20 0xf01760f8 in ip_output (m0=0xf05c9700, opt=0x0, ro=0xf411a6ec, flags=0, 
    imo=0x0) at ../../netinet/ip_output.c:535
#21 0xf017a829 in tcp_output (tp=0xf411a720) at ../../netinet/tcp_output.c:695
#22 0xf017966c in tcp_input (m=0xf05e7200, iphlen=20)
    at ../../netinet/tcp_input.c:1755
---Type <return> to continue, or q <return> to quit---
#23 0xf0174b57 in ip_input (m=0xf05e7200) at ../../netinet/ip_input.c:645
#24 0xf0174bbf in ipintr () at ../../netinet/ip_input.c:672
(kgdb) quit
guypc:~ (502) exit
exit

Script done on Thu Oct  8 08:41:26 1998


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.96.981008083801.2227A-100000>