Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 12:20:02 -0700 (PDT)
From:      "Paul Barnfather" <plb@clanger9.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/37190: panic: page fault while in kernel mode when running portsdb (4.5-RELEASE)
Message-ID:  <200204231920.g3NJK2m60428@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/37190; it has been noted by GNATS.

From: "Paul Barnfather" <plb@clanger9.org>
To: <freebsd-gnats-submit@FreeBSD.org>,
	"Paul Barnfather" <plb@clanger9.org.uk>
Cc:  
Subject: Re: kern/37190: panic: page fault while in kernel mode when running portsdb (4.5-RELEASE)
Date: Tue, 23 Apr 2002 21:17:00 +0200

 Tried disabling UDMA mode in BIOS. Initally this seemed to stabilise it and
 it ran OK for a few days.
 But now the crashes when running portsdb are back!
 
 Here's one:
 
 hosaka# gdb -k
 GNU gdb 4.18
 Copyright 1998 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".
 (kgdb) symbol-file kernel.debug
 Reading symbols from kernel.debug...done.
 (kgdb) exec-file /usr/crash/kernel.1
 (kgdb) core-file /usr/crash/vmcore.1
 IdlePTD at phsyical address 0x004c2000
 initial pcb at physical address 0x00404460
 panicstr: page fault
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x40055
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc02ecfe7
 stack pointer           = 0x10:0xc9592e14
 frame pointer           = 0x10:0xc9592e48
 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         = 50053 (sysctl)
 interrupt mask          = none
 trap number             = 12
 panic: page fault
 
 syncing disks... 36 1
 done
 Uptime: 3d8h44m7s
 
 dumping to dev #ad/0x20001, offset 231488
 dump ata0: resetting devices .. done
 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110
 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88
 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 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  dumpsys () at ../../kern/kern_shutdown.c:474
 474             if (dumping++) {
 (kgdb) where
 #0  dumpsys () at ../../kern/kern_shutdown.c:474
 #1  0xc01cf233 in boot (howto=256) at ../../kern/kern_shutdown.c:313
 #2  0xc01cf614 in poweroff_wait (junk=0xc03b26cc, howto=-1069866513) at
 ../../kern/kern_shutdown.c:582
 #3  0xc0345772 in trap_fatal (frame=0xc9592dd4, eva=262229) at
 ../../i386/i386/trap.c:956
 #4  0xc0345445 in trap_pfault (frame=0xc9592dd4, usermode=0, eva=262229) at
 ../../i386/i386/trap.c:849
 #5  0xc034502f in trap (frame={tf_fs = -1071906800, tf_es = -916914160,
 tf_ds = -916914160, tf_edi = -922563456, tf_esi = 262145, tf_ebp
 = -916902328,
       tf_isp = -916902400, tf_ebx = -922563456, tf_edx = 57344, tf_ecx = 0,
 tf_eax = 57344, tf_trapno = 12, tf_err = 0, tf_eip = -1070673945, tf_cs = 8,
       tf_eflags = 66050, tf_esp = -922563456, tf_ss = -922563456}) at
 ../../i386/i386/trap.c:448
 #6  0xc02ecfe7 in vm_object_collapse (object=0xc902cc80) at
 ../../vm/vm_object.c:1218
 #7  0xc02ec560 in vm_object_deallocate (object=0xc91c05a0) at
 ../../vm/vm_object.c:356
 #8  0xc02e9b8b in vm_map_entry_delete (map=0xc902cc80, entry=0xc92a25a0) at
 ../../vm/vm_map.c:1823
 #9  0xc02e9d0d in vm_map_delete (map=0xc902cc80, start=0, end=3217031168) at
 ../../vm/vm_map.c:1926
 #10 0xc02e9d9a in vm_map_remove (map=0xc902cc80, start=0, end=3217031168) at
 ../../vm/vm_map.c:1951
 #11 0xc01c7960 in exit1 (p=0xc8fd8d40, rv=0) at ../../kern/kern_exit.c:219
 #12 0xc01c7740 in exit1 (p=0xc8fd8d40, rv=-1071830075) at
 ../../kern/kern_exit.c:103
 #13 0xc0345a21 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
 tf_edi = 134576264, tf_esi = 0, tf_ebp = -1077937192, tf_isp = -916901932,
 tf_ebx = -1,
       tf_edx = 1, tf_ecx = 10, tf_eax = 1, tf_trapno = 12, tf_err = 2,
 tf_eip = 134560700, tf_cs = 31, tf_eflags = 647, tf_esp = -1077937236, tf_ss
 = 47})
     at ../../i386/i386/trap.c:1157
 #14 0xc03379a5 in Xint0x80_syscall ()
 Cannot access memory at address 0xbfbffbd8.
 (kgdb) up 13
 #13 0xc0345a21 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
 tf_edi = 134576264, tf_esi = 0, tf_ebp = -1077937192, tf_isp = -916901932,
 tf_ebx = -1,
       tf_edx = 1, tf_ecx = 10, tf_eax = 1, tf_trapno = 12, tf_err = 2,
 tf_eip = 134560700, tf_cs = 31, tf_eflags = 647, tf_esp = -1077937236, tf_ss
 = 47})
     at ../../i386/i386/trap.c:1157
 1157            error = (*callp->sy_call)(p, args);
 (kgdb) Quit
 
 

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204231920.g3NJK2m60428>