kern/53717: 4.8-RELEASE kernel panic (page fault)

Eugene Grosbein eugen at kuzbass.ru
Tue Jul 29 23:00:34 PDT 2003


The following reply was made to PR kern/53717; it has been noted by GNATS.

From: Eugene Grosbein <eugen at kuzbass.ru>
To: bug-followup at freebsd.org
Cc: stable at freebsd.org
Subject: Re: kern/53717: 4.8-RELEASE kernel panic (page fault)
Date: Wed, 30 Jul 2003 13:55:48 +0800

 Some more crashes of 4.8-RELEASE.
 
 Lets see what do I have today:
 
 # ls -l /var/crash
 total 1576676
 -rw-r--r--  1 root  wheel          2 Jul 30 13:31 bounds
 -rw-r--r--  1 root  wheel    2193252 Jun 25 17:30 kernel.0
 -rw-r--r--  1 root  wheel    2193252 Jul  4 00:08 kernel.1
 -rw-r--r--  1 root  wheel    2193252 Jul 15 19:28 kernel.2
 -rw-r--r--  1 root  wheel    2193252 Jul 16 17:50 kernel.3
 -rw-r--r--  1 root  wheel    2193252 Jul 21 18:19 kernel.4
 -rw-r--r--  1 root  wheel    2193252 Jul 30 13:32 kernel.5
 -rw-r--r--  1 root  wheel          6 Jun 19 16:15 minfree
 -rw-------  1 root  wheel  267124736 Jun 25 17:30 vmcore.0
 -rw-------  1 root  wheel  267124736 Jul  4 00:08 vmcore.1
 -rw-------  1 root  wheel  267124736 Jul 15 19:28 vmcore.2
 -rw-------  1 root  wheel  267124736 Jul 16 17:50 vmcore.3
 -rw-------  1 root  wheel  267124736 Jul 21 18:19 vmcore.4
 -rw-------  1 root  wheel  267124736 Jul 30 13:32 vmcore.5
 
 Pretty sad, isn't it?
 Here come backtraces of vmcore.[1-5].
 
 # gdb -k /usr/obj/usr/src/sys/FRANT/kernel.debug vmcore.1
 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 0x00352000
 initial pcb at physical address 0x002bf8e0
 panicstr: page fault
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xaaae
 fault code              = supervisor write, page not present
 instruction pointer     = 0x8:0xc0193de9
 stack pointer           = 0x10:0xcf466c70
 frame pointer           = 0x10:0xcf466c74
 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         = 7950 (find)
 interrupt mask          = bio 
 trap number             = 12
 panic: page fault
 
 syncing disks... 37 2 
 done
 Uptime: 1d8h16m21s
 
 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  0xc016a248 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
 #2  0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #3  0xc0240fb8 in trap_fatal (frame=0xcf466c30, eva=43694)
     at /usr/src/sys/i386/i386/trap.c:974
 #4  0xc0240c4d in trap_pfault (frame=0xcf466c30, usermode=0, eva=43694)
     at /usr/src/sys/i386/i386/trap.c:867
 #5  0xc02407df in trap (frame={tf_fs = -950206448, tf_es = 16, 
       tf_ds = 1048592, tf_edi = -825164480, tf_esi = 0, tf_ebp = -817468300, 
       tf_isp = -817468324, tf_ebx = -1036697600, tf_edx = 43690, 
       tf_ecx = -826035648, tf_eax = -1037385876, tf_trapno = 12, tf_err = 2, 
       tf_eip = -1072087575, tf_cs = 8, tf_eflags = 66054, tf_esp = -826035648, 
       tf_ss = -817468284}) at /usr/src/sys/i386/i386/trap.c:466
 #6  0xc0193de9 in cache_zap (ncp=0xc2354000)
     at /usr/src/sys/kern/vfs_cache.c:144
 #7  0xc019431c in cache_purge (vp=0xcec3b240)
     at /usr/src/sys/kern/vfs_cache.c:373
 #8  0xc01983a8 in getnewvnode (tag=VT_UFS, mp=0xc2307800, vops=0xc22a1600, 
     vpp=0xcf466cec) at /usr/src/sys/kern/vfs_subr.c:663
 #9  0xc0201894 in ffs_vget (mp=0xc2307800, ino=3920480, vpp=0xcf466d58)
     at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1109
 #10 0xc0204747 in ufs_lookup (ap=0xcf466db8)
     at /usr/src/sys/ufs/ufs/ufs_lookup.c:611
 #11 0xc02090f5 in ufs_vnoperate (ap=0xcf466db8)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
 #12 0xc0194676 in vfs_cache_lookup (ap=0xcf466e10) at vnode_if.h:77
 #13 0xc02090f5 in ufs_vnoperate (ap=0xcf466e10)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:2376
 #14 0xc01976ad in lookup (ndp=0xcf466e8c) at vnode_if.h:52
 #15 0xc0197198 in namei (ndp=0xcf466e8c) at /usr/src/sys/kern/vfs_lookup.c:153
 #16 0xc019d009 in lstat (p=0xced0fd40, uap=0xcf466f80)
     at /usr/src/sys/kern/vfs_syscalls.c:1823
 #17 0xc0241229 in syscall2 (frame={tf_fs = -1078001617, tf_es = -817496017, 
       tf_ds = 672071727, tf_edi = 134617856, tf_esi = 134617936, 
       tf_ebp = -1077937420, tf_isp = -817467436, tf_ebx = 672079852, 
       tf_edx = 134557696, tf_ecx = 0, tf_eax = 190, tf_trapno = 0, tf_err = 2, 
       tf_eip = 671760972, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937560, 
       tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
 #18 0xc02347e5 in Xint0x80_syscall ()
 #19 0x280a0a01 in ?? ()
 #20 0x280a02a2 in ?? ()
 #21 0x804971a in ?? ()
 #22 0x804b9a0 in ?? ()
 #23 0x80493ce in ?? ()
 (kgdb) q
 
 # gdb -k /usr/obj/usr/src/sys/FRANT/kernel.debug vmcore.2
 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 0x00352000
 initial pcb at physical address 0x002bf8e0
 panicstr: page fault
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xecdac6ed
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc01e6a84
 stack pointer           = 0x10:0xc029831c
 frame pointer           = 0x10:0xc0298328
 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:0xc01f9fd4
 stack pointer           = 0x10:0xc0298144
 frame pointer           = 0x10:0xc029814c
 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: 5d0h5m28s
 
 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  0xc016a248 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
 #2  0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #3  0xc0240fb8 in trap_fatal (frame=0xc0298104, eva=48)
     at /usr/src/sys/i386/i386/trap.c:974
 #4  0xc0240c4d in trap_pfault (frame=0xc0298104, usermode=0, eva=48)
     at /usr/src/sys/i386/i386/trap.c:867
 #5  0xc02407df in trap (frame={tf_fs = 7274512, tf_es = 7274512, 
       tf_ds = -1072300016, tf_edi = 0, tf_esi = 2, tf_ebp = -1071021748, 
       tf_isp = -1071021776, tf_ebx = -1070926180, tf_edx = 6864960, 
       tf_ecx = -1070772832, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
       tf_eip = -1071669292, tf_cs = 8, tf_eflags = 66050, 
       tf_esp = -1071021628, tf_ss = 2}) at /usr/src/sys/i386/i386/trap.c:466
 #6  0xc01f9fd4 in acquire_lock (lk=0xc02af69c)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:266
 #7  0xc01fe722 in softdep_fsync_mountdev (vp=0xce7059c0)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:4024
 #8  0xc0202b4a in ffs_fsync (ap=0xc02981c4)
     at /usr/src/sys/ufs/ffs/ffs_vnops.c:134
 #9  0xc0201788 in ffs_sync (mp=0xc2306800, waitfor=2, cred=0xc0a78680, 
     p=0xc02d4da0) at vnode_if.h:558
 #10 0xc019b63f in sync (p=0xc02d4da0, uap=0x0)
     at /usr/src/sys/kern/vfs_syscalls.c:576
 #11 0xc016a003 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
 #12 0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #13 0xc0240fb8 in trap_fatal (frame=0xc02982dc, eva=3973760749)
     at /usr/src/sys/i386/i386/trap.c:974
 #14 0xc0240c4d in trap_pfault (frame=0xc02982dc, usermode=0, eva=3973760749)
     at /usr/src/sys/i386/i386/trap.c:867
 #15 0xc02407df in trap (frame={tf_fs = 196624, tf_es = -1072234480, 
       tf_ds = -65520, tf_edi = -1062115584, tf_esi = 6754458, 
       tf_ebp = -1071021272, tf_isp = -1071021304, tf_ebx = -1062115584, 
       tf_edx = -1062756352, tf_ecx = -321206547, tf_eax = 362078, 
       tf_trapno = 12, tf_err = 0, tf_eip = -1071748476, tf_cs = 8, 
       tf_eflags = 66055, tf_esp = -1062227968, tf_ss = -1037503460})
     at /usr/src/sys/i386/i386/trap.c:466
 #16 0xc01e6a84 in xl_newbuf (sc=0xc228f000, c=0xc228f41c)
     at /usr/src/sys/pci/if_xl.c:1817
 #17 0xc01e6c3e in xl_rxeof (sc=0xc228f000) at /usr/src/sys/pci/if_xl.c:1918
 #18 0xc01e737c in xl_intr (arg=0xc228f000) at /usr/src/sys/pci/if_xl.c:2156
 #19 0xc023a792 in cpu_idle () at /usr/src/sys/i386/i386/machdep.c:1022
 (kgdb) q
 
 gdb -k /usr/obj/usr/src/sys/FRANT/kernel.debug vmcore.3
 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 0x00352000
 initial pcb at physical address 0x002bf8e0
 panicstr: page fault
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x2e383132
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc01e6a84
 stack pointer           = 0x10:0xced96f4c
 frame pointer           = 0x10:0xced96f58
 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         = 6142 (sendmail)
 interrupt mask          = net tty 
 trap number             = 12
 panic: page fault
 
 syncing disks... 
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0x2e383132
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc01e6a84
 stack pointer           = 0x10:0xced96c58
 frame pointer           = 0x10:0xced96c64
 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         = 6142 (sendmail)
 interrupt mask          = net tty 
 trap number             = 12
 panic: page fault
 Uptime: 22h21m6s
 
 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  0xc016a248 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
 #2  0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #3  0xc0240fb8 in trap_fatal (frame=0xced96c18, eva=775434546)
     at /usr/src/sys/i386/i386/trap.c:974
 #4  0xc0240c4d in trap_pfault (frame=0xced96c18, usermode=0, eva=775434546)
     at /usr/src/sys/i386/i386/trap.c:867
 #5  0xc02407df in trap (frame={tf_fs = -824639472, tf_es = -1072496624, 
       tf_ds = -1037565936, tf_edi = -1062226432, tf_esi = 6754458, 
       tf_ebp = -824611740, tf_isp = -824611772, tf_ebx = -1062226432, 
       tf_edx = -1062756352, tf_ecx = 775434546, tf_eax = 897548, 
       tf_trapno = 12, tf_err = 0, tf_eip = -1071748476, tf_cs = 8, 
       tf_eflags = 66050, tf_esp = -1062411520, tf_ss = -1037504132})
     at /usr/src/sys/i386/i386/trap.c:466
 #6  0xc01e6a84 in xl_newbuf (sc=0xc228f000, c=0xc228f17c)
     at /usr/src/sys/pci/if_xl.c:1817
 #7  0xc01e6c3e in xl_rxeof (sc=0xc228f000) at /usr/src/sys/pci/if_xl.c:1918
 #8  0xc01e737c in xl_intr (arg=0xc228f000) at /usr/src/sys/pci/if_xl.c:2156
 #9  0xc0235cda in vec3 ()
 #10 0xc01fa08a in interlocked_sleep (lk=0xc02af69c, op=1, ident=0xce705884, 
     flags=17, wmesg=0xc0282c1f "drainvp", timo=0)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:329
 #11 0xc01ffa52 in drain_output (vp=0xce705840, islocked=1)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:4913
 #12 0xc01fe816 in softdep_fsync_mountdev (vp=0xce705840)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:4056
 #13 0xc0202b4a in ffs_fsync (ap=0xced96df4)
     at /usr/src/sys/ufs/ffs/ffs_vnops.c:134
 #14 0xc0201788 in ffs_sync (mp=0xc227d000, waitfor=2, cred=0xc0a78680, 
     p=0xc02d4da0) at vnode_if.h:558
 #15 0xc019b63f in sync (p=0xc02d4da0, uap=0x0)
     at /usr/src/sys/kern/vfs_syscalls.c:576
 #16 0xc016a003 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
 #17 0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #18 0xc0240fb8 in trap_fatal (frame=0xced96f0c, eva=775434546)
     at /usr/src/sys/i386/i386/trap.c:974
 #19 0xc0240c4d in trap_pfault (frame=0xced96f0c, usermode=0, eva=775434546)
     at /usr/src/sys/i386/i386/trap.c:867
 #20 0xc02407df in trap (frame={tf_fs = -1036320752, tf_es = 16, 
       tf_ds = 135462928, tf_edi = -1062484480, tf_esi = 6754458, 
       tf_ebp = -824610984, tf_isp = -824611016, tf_ebx = -1062484480, 
       tf_edx = -1062756352, tf_ecx = 775434546, tf_eax = 897548, 
       tf_trapno = 12, tf_err = 0, tf_eip = -1071748476, tf_cs = 8, 
       tf_eflags = 66054, tf_esp = -1062335232, tf_ss = -1037462992})
     at /usr/src/sys/i386/i386/trap.c:466
 #21 0xc01e6a84 in xl_newbuf (sc=0xc2299000, c=0xc2299230)
     at /usr/src/sys/pci/if_xl.c:1817
 #22 0xc01e6c3e in xl_rxeof (sc=0xc2299000) at /usr/src/sys/pci/if_xl.c:1918
 #23 0xc01e737c in xl_intr (arg=0xc2299000) at /usr/src/sys/pci/if_xl.c:2156
 #24 0x804e8d1 in ?? ()
 #25 0x809e3b6 in ?? ()
 #26 0x809ce63 in ?? ()
 #27 0x806e652 in ?? ()
 #28 0x804c1d2 in ?? ()
 (kgdb) q
 
 gdb -k /usr/obj/usr/src/sys/FRANT/kernel.debug vmcore.4
 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 0x00352000
 initial pcb at physical address 0x002bf8e0
 panicstr: page fault
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xc0bbf0d4
 fault code              = supervisor write, page not present
 instruction pointer     = 0x8:0xc01e6a7b
 stack pointer           = 0x10:0xc0298180
 frame pointer           = 0x10:0xc029818c
 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:0xc01f9fd4
 stack pointer           = 0x10:0xc0297fa8
 frame pointer           = 0x10:0xc0297fb0
 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: 5d0h27m15s
 
 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  0xc016a248 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
 #2  0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #3  0xc0240fb8 in trap_fatal (frame=0xc0297f68, eva=48)
     at /usr/src/sys/i386/i386/trap.c:974
 #4  0xc0240c4d in trap_pfault (frame=0xc0297f68, usermode=0, eva=48)
     at /usr/src/sys/i386/i386/trap.c:867
 #5  0xc02407df in trap (frame={tf_fs = -1037565936, tf_es = 16, 
       tf_ds = -1072300016, tf_edi = 0, tf_esi = 2, tf_ebp = -1071022160, 
       tf_isp = -1071022188, tf_ebx = -1070926180, tf_edx = 6864960, 
       tf_ecx = -1070772832, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
       tf_eip = -1071669292, tf_cs = 8, tf_eflags = 66050, 
       tf_esp = -1071022040, tf_ss = 2}) at /usr/src/sys/i386/i386/trap.c:466
 #6  0xc01f9fd4 in acquire_lock (lk=0xc02af69c)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:266
 #7  0xc01fe722 in softdep_fsync_mountdev (vp=0xce7059c0)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:4024
 #8  0xc0202b4a in ffs_fsync (ap=0xc0298028)
     at /usr/src/sys/ufs/ffs/ffs_vnops.c:134
 #9  0xc0201788 in ffs_sync (mp=0xc2306800, waitfor=2, cred=0xc0a78680, 
     p=0xc02d4da0) at vnode_if.h:558
 #10 0xc019b63f in sync (p=0xc02d4da0, uap=0x0)
     at /usr/src/sys/kern/vfs_syscalls.c:576
 #11 0xc016a003 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:235
 #12 0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #13 0xc0240fb8 in trap_fatal (frame=0xc0298140, eva=3233542356)
     at /usr/src/sys/i386/i386/trap.c:974
 #14 0xc0240c4d in trap_pfault (frame=0xc0298140, usermode=0, eva=3233542356)
     at /usr/src/sys/i386/i386/trap.c:867
 #15 0xc02407df in trap (frame={tf_fs = 16, tf_es = -1071054832, 
       tf_ds = -1072037872, tf_edi = -1062374912, tf_esi = 6754458, 
       tf_ebp = -1071021684, tf_isp = -1071021716, tf_ebx = -1062374912, 
       tf_edx = -1062756352, tf_ecx = 1663988846, tf_eax = 1331412, 
       tf_trapno = 12, tf_err = 2, tf_eip = -1071748485, tf_cs = 8, 
       tf_eflags = 68103, tf_esp = -1062336512, tf_ss = -1037462896})
     at /usr/src/sys/i386/i386/trap.c:466
 #16 0xc01e6a7b in xl_newbuf (sc=0xc2299000, c=0xc2299290)
     at /usr/src/sys/pci/if_xl.c:1817
 #17 0xc01e6c3e in xl_rxeof (sc=0xc2299000) at /usr/src/sys/pci/if_xl.c:1918
 #18 0xc01e737c in xl_intr (arg=0xc2299000) at /usr/src/sys/pci/if_xl.c:2156
 #19 0xc0235cda in vec3 ()
 #20 0xc01e492a in xl_miibus_readreg (dev=0xc2292e80, phy=24, reg=1)
     at /usr/src/sys/pci/if_xl.c:588
 #21 0xc014e54e in MIIBUS_READREG (dev=0xc2292e80, phy=24, reg=1)
     at miibus_if.c:27
 #22 0xc0147ef8 in miibus_readreg (dev=0xc2292d00, phy=24, reg=1)
     at /usr/src/sys/dev/mii/mii.c:196
 #23 0xc014e54e in MIIBUS_READREG (dev=0xc2292d00, phy=24, reg=1)
     at miibus_if.c:27
 #24 0xc01487f4 in ukphy_status (phy=0xc229bf00)
     at /usr/src/sys/dev/mii/ukphy_subr.c:78
 #25 0xc014aa69 in exphy_service (sc=0xc229bf00, mii=0xc229bf40, cmd=1)
     at /usr/src/sys/dev/mii/exphy.c:294
 #26 0xc014808d in mii_tick (mii=0xc229bf40) at /usr/src/sys/dev/mii/mii.c:311
 #27 0xc01e754b in xl_stats_update (xsc=0xc2299000)
     at /usr/src/sys/pci/if_xl.c:2235
 #28 0xc0170349 in softclock () at /usr/src/sys/kern/kern_timeout.c:131
 #29 0xc0235c03 in doreti_swi ()
 (kgdb) q
 
 gdb -k /usr/obj/usr/src/sys/FRANT/kernel.debug vmcore.5
 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 0x00352000
 initial pcb at physical address 0x002bf8e0
 panicstr: page fault
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xecf3c1ab
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc0189800
 stack pointer           = 0x10:0xced05e3c
 frame pointer           = 0x10:0xced05e60
 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         = 46228 (sshd)
 interrupt mask          = net tty 
 trap number             = 12
 panic: page fault
 
 syncing disks... 32 2 2 1 1 1 1 1 1 1 
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xecf3c1ab
 fault code              = supervisor read, page not present
 instruction pointer     = 0x8:0xc01e6a84
 stack pointer           = 0x10:0xced05a4c
 frame pointer           = 0x10:0xced05a58
 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         = 46228 (sshd)
 interrupt mask          = net tty 
 trap number             = 12
 panic: page fault
 Uptime: 7d13h22m17s
 
 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  0xc016a248 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
 #2  0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #3  0xc0240fb8 in trap_fatal (frame=0xced05a0c, eva=3975397803)
     at /usr/src/sys/i386/i386/trap.c:974
 #4  0xc0240c4d in trap_pfault (frame=0xced05a0c, usermode=0, eva=3975397803)
     at /usr/src/sys/i386/i386/trap.c:867
 #5  0xc02407df in trap (frame={tf_fs = -825229296, tf_es = -1843331056, 
       tf_ds = 524304, tf_edi = -1062408960, tf_esi = 6754458, 
       tf_ebp = -825206184, tf_isp = -825206216, tf_ebx = -1062408960, 
       tf_edx = -1062756352, tf_ecx = -319569493, tf_eax = 362878, 
       tf_trapno = 12, tf_err = 0, tf_eip = -1071748476, tf_cs = 8, 
       tf_eflags = 66050, tf_esp = -1061904640, tf_ss = -1037503976})
     at /usr/src/sys/i386/i386/trap.c:466
 #6  0xc01e6a84 in xl_newbuf (sc=0xc228f000, c=0xc228f218)
     at /usr/src/sys/pci/if_xl.c:1817
 #7  0xc01e6c3e in xl_rxeof (sc=0xc228f000) at /usr/src/sys/pci/if_xl.c:1918
 #8  0xc01e737c in xl_intr (arg=0xc228f000) at /usr/src/sys/pci/if_xl.c:2156
 #9  0xc0235cda in vec3 ()
 #10 0xc0192dff in biowait (bp=0xc7524558) at /usr/src/sys/kern/vfs_bio.c:2644
 #11 0xc0190647 in bread (vp=0xce705840, blkno=1831456, size=16384, cred=0x0, 
     bpp=0xced05b98) at /usr/src/sys/kern/vfs_bio.c:527
 #12 0xc01fc39d in indir_trunc (ip=0xced05be0, dbn=1831456, level=0, lbn=12, 
     countp=0xced05bd0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:2216
 #13 0xc01fc1ae in handle_workitem_freeblocks (freeblks=0xc2b3b680)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:2133
 #14 0xc01fa64e in process_worklist_item (matchmnt=0x0, flags=0)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:723
 #15 0xc01fa4da in softdep_process_worklist (matchmnt=0x0)
     at /usr/src/sys/ufs/ffs/ffs_softdep.c:622
 #16 0xc016a0c4 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:261
 #17 0xc016a695 in panic (fmt=0xc028d14c "%s")
     at /usr/src/sys/kern/kern_shutdown.c:595
 #18 0xc0240fb8 in trap_fatal (frame=0xced05dfc, eva=3975397803)
     at /usr/src/sys/i386/i386/trap.c:974
 #19 0xc0240c4d in trap_pfault (frame=0xced05dfc, usermode=0, eva=3975397803)
     at /usr/src/sys/i386/i386/trap.c:867
 #20 0xc02407df in trap (frame={tf_fs = 16, tf_es = -825229296, 
       tf_ds = 8323088, tf_edi = 0, tf_esi = -1061981696, tf_ebp = -825205152, 
       tf_isp = -825205208, tf_ebx = -1061981696, tf_edx = -1062756352, 
       tf_ecx = -319569493, tf_eax = 362878, tf_trapno = 12, tf_err = 0, 
       tf_eip = -1072130048, tf_cs = 8, tf_eflags = 66054, 
       tf_esp = -1070942144, tf_ss = 304}) at /usr/src/sys/i386/i386/trap.c:466
 #21 0xc0189800 in sosend (so=0xcda2fac0, addr=0x0, uio=0xced05ee0, top=0x0, 
     control=0x0, flags=0, p=0xccff91e0) at /usr/src/sys/kern/uipc_socket.c:567
 #22 0xc017ceee in soo_write (fp=0xc2b58f40, uio=0xced05ee0, cred=0xc2396200, 
     flags=0, p=0xccff91e0) at /usr/src/sys/kern/sys_socket.c:81
 #23 0xc01799ba in dofilewrite (p=0xccff91e0, fp=0xc2b58f40, fd=4, 
     buf=0x8079000, nbyte=304, offset=-1, flags=0)
     at /usr/src/sys/sys/file.h:163
 #24 0xc017986b in write (p=0xccff91e0, uap=0xced05f80)
     at /usr/src/sys/kern/sys_generic.c:329
 #25 0xc0241229 in syscall2 (frame={tf_fs = 134676527, tf_es = 47, 
       tf_ds = -1078001617, tf_edi = 134662512, tf_esi = 304, 
       tf_ebp = -1077939184, tf_isp = -825204780, tf_ebx = 671906620, 
       tf_edx = 134662512, tf_ecx = 4, tf_eax = 4, tf_trapno = 7, tf_err = 2, 
       tf_eip = 673687852, tf_cs = 31, tf_eflags = 646, tf_esp = -1077939228, 
       tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
 #26 0xc02347e5 in Xint0x80_syscall ()
 #27 0x8053c72 in ?? ()
 #28 0x805443b in ?? ()
 #29 0x805a269 in ?? ()
 #30 0x805756c in ?? ()
 #31 0x804ffc8 in ?? ()
 #32 0x804dcfa in ?? ()
 (kgdb) q
 
 
 Eugene Grosbein


More information about the freebsd-bugs mailing list