Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 20:20:07 -0700 (PDT)
From:      Mike Silbersack <silby@silby.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/53717: 4.8-RELEASE kernel panic (page fault)
Message-ID:  <200308050320.h753K7dD020612@freefall.freebsd.org>

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

From: Mike Silbersack <silby@silby.com>
To: Eugene Grosbein <eugen@kuzbass.ru>
Cc: bug-followup@freebsd.org
Subject: Re: kern/53717: 4.8-RELEASE kernel panic (page fault)
Date: Mon, 4 Aug 2003 22:16:35 -0500 (CDT)

 Ok, now try the if_xl.c and if_xlreg.h from http://www.silby.com/pae/ and
 see if anything changes.  They should work with 4.8-release, but if they
 don't, please tell me.  (I tested them with 4.8-stable.)
 
 Thanks,
 
 Mike "Silby" Silbersack
 
 On Tue, 5 Aug 2003, Eugene Grosbein wrote:
 
 > Mike Silbersack wrote:
 >
 > > Also, can you recompile (from the same sources) with the INVARIANTS and
 > > INVARIANT_SUPPORT options added to the kernel?  That might help us track
 > > down the problem.
 >
 > Hi!
 >
 > Now I have second crashdump with INVARIANTS/INVARIANT_SUPPORT.
 > It's very similar to first one. gdb backtrace follows.
 >
 > GNU gdb 4.18 (FreeBSD)
 > 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"...Deprecated bfd_read called
 > at
 > /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
 > 2627 in
 > elfstab_build_psymtabs
 > Deprecated bfd_read called at
 > /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
 > 933 in fill_symbuf
 >
 > IdlePTD at phsyical address 0x00358000
 > initial pcb at physical address 0x002c5160
 > panicstr: page fault
 > panic messages:
 > ---
 > Fatal trap 12: page fault while in kernel mode
 > fault virtual address   = 0xc0bd37b4
 > fault code              = supervisor write, page not present
 > instruction pointer     = 0x8:0xc01e7dcb
 > stack pointer           = 0x10:0xc029dafc
 > frame pointer           = 0x10:0xc029db08
 > 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 tty
 > trap number             = 12
 > panic: page fault
 >
 > syncing disks...
 >
 > Fatal trap 12: page fault while in kernel mode
 > fault virtual address   = 0x30
 > fault code              = supervisor read, page not present
 > instruction pointer     = 0x8:0xc01fb324
 > stack pointer           = 0x10:0xc029d924
 > frame pointer           = 0x10:0xc029d92c
 > 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 tty bio
 > trap number             = 12
 > panic: page fault
 > Uptime: 3d2h16m3s
 >
 > dumping to dev #ad/0x20001, offset 2560
 > dump ata0: resetting devices .. done
 > 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236
 > 235 234 233 232 231
 > 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212
 > 211 210 209 208 207
 > 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188
 > 187 186 185 184 183
 > 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164
 > 163 162 161 160 159
 > 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140
 > 139 138 137 136 135
 > 134 133 132 131 130 129 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
 > ---
 > #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
 > 487             if (dumping++) {
 > (kgdb) bt
 > #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
 > #1  0xc016a884 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
 > #2  0xc016acd1 in panic (fmt=0xc02926ec "%s")
 >     at /usr/src/sys/kern/kern_shutdown.c:595
 > #3  0xc0242ea0 in trap_fatal (frame=0xc029d8e4, eva=48)
 >     at /usr/src/sys/i386/i386/trap.c:974
 > #4  0xc0242b35 in trap_pfault (frame=0xc029d8e4, usermode=0, eva=48)
 >     at /usr/src/sys/i386/i386/trap.c:867
 > #5  0xc02426c7 in trap (frame={tf_fs = 16, tf_es = -1037107184,
 >       tf_ds = -1072300016, tf_edi = 0, tf_esi = 2, tf_ebp = -1070999252,
 >       tf_isp = -1070999280, tf_ebx = -1070903620, tf_edx = 6864960,
 >       tf_ecx = -1070750176, tf_eax = 0, tf_trapno = 12, tf_err = 0,
 >       tf_eip = -1071664348, tf_cs = 8, tf_eflags = 66050,
 >       tf_esp = -1070999132, tf_ss = 2}) at /usr/src/sys/i386/i386/trap.c:466
 > #6  0xc01fb324 in acquire_lock (lk=0xc02b4ebc)
 >     at /usr/src/sys/ufs/ffs/ffs_softdep.c:266
 > #7  0xc01ffa72 in softdep_fsync_mountdev (vp=0xce18db40)
 >     at /usr/src/sys/ufs/ffs/ffs_softdep.c:4024
 > #8  0xc0203eb2 in ffs_fsync (ap=0xc029d9a4)
 >     at /usr/src/sys/ufs/ffs/ffs_vnops.c:134
 > #9  0xc0202ad8 in ffs_sync (mp=0xc2306800, waitfor=2, cred=0xc0a78680,
 >     p=0xc02da620) at vnode_if.h:558
 > #10 0xc019c6f7 in sync (p=0xc02da620, uap=0x0)
 >     at /usr/src/sys/kern/vfs_syscalls.c:576
 > ---Type <return> to continue, or q <return> to quit---
 > #11 0xc016a63f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
 > #12 0xc016acd1 in panic (fmt=0xc02926ec "%s")
 >     at /usr/src/sys/kern/kern_shutdown.c:595
 > #13 0xc0242ea0 in trap_fatal (frame=0xc029dabc, eva=3233626036)
 >     at /usr/src/sys/i386/i386/trap.c:974
 > #14 0xc0242b35 in trap_pfault (frame=0xc029dabc, usermode=0, eva=3233626036)
 >     at /usr/src/sys/i386/i386/trap.c:867
 > #15 0xc02426c7 in trap (frame={tf_fs = 196624, tf_es = -1072234480,
 >       tf_ds = -65520, tf_edi = -1061862912, tf_esi = 6754458,
 >       tf_ebp = -1070998776, tf_isp = -1070998808, tf_ebx = -1061862912,
 >       tf_edx = -1062756352, tf_ecx = 1835364976, tf_eax = 1415092,
 >       tf_trapno = 12, tf_err = 2, tf_eip = -1071743541, tf_cs = 8,
 >       tf_eflags = 68102, tf_esp = -1062338304, tf_ss = -1037503148})
 >     at /usr/src/sys/i386/i386/trap.c:466
 > #16 0xc01e7dcb in xl_newbuf (sc=0xc228f000, c=0xc228f554)
 >     at /usr/src/sys/pci/if_xl.c:1817
 > #17 0xc01e7f8e in xl_rxeof (sc=0xc228f000) at /usr/src/sys/pci/if_xl.c:1918
 > #18 0xc01e86cc in xl_intr (arg=0xc228f000) at /usr/src/sys/pci/if_xl.c:2156
 > #19 0xc023c432 in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1022
 > (kgdb) q
 >
 >
 > Eugene Grosbein
 >



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