Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2000 17:30:53 -0400 (EDT)
From:      Howard Leadmon <howardl@account.abs.net>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Bill Paul <wpaul@skynet.ctr.columbia.edu>, Greg Lehey <grog@lemis.com>, freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Debugging Kernel/System Crashes, can anyone help??
Message-ID:  <200005062130.RAA28808@account.abs.net>
In-Reply-To: <200005051828.LAA80765@apollo.backplane.com> from Matthew Dillon at "May 5, 2000 11:28:55 am"

next in thread | previous in thread | raw e-mail | index | archive | help

  Hello,

 Actualy had some netowrk problems here yesterday, so if you sent me any
replies yesterday I didn't receive it, but don't see any reason why the
troubles should have caused the loss of any Email.

 Anyway over the past day I have had yet two more crashes, and wasn't sure
if any of this info would be of any help or not.  I will include the two
backtraces below, and if having any more would help, or you need any other
info please let me know.  As I am sure you can tell this is just driving me
up a wall..  :(


crash-3:

# gdb -k kernel.3 vmcore.3                       =20
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 condition=
s.
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"...
SMP 2 cpus
IdlePTD 3112960
initial pcb at 2815e0
panicstr: page fault
panic messages:
---
Fatal trap 1: privileged instruction fault while in kernel mode
mp_lock =3D 00000002; cpuid =3D 0; lapic.id =3D 00000000
instruction pointer     =3D 0x8:0xc017ab18
stack pointer           =3D 0x10:0xff806e3c
frame pointer           =3D 0x10:0xff806e90
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D Idle
interrupt mask          =3D  <- SMP: XXX
trap number             =3D 1
panic: privileged instruction fault
mp_lock =3D 00000002; cpuid =3D 0; lapic.id =3D 00000000
boot() called on cpu#0

syncing disks...=20

Fatal trap 12: page fault while in kernel mode
mp_lock =3D 00000003; cpuid =3D 0; lapic.id =3D 00000000
fault virtual address   =3D 0x30
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x8:0xc01cdca5
stack pointer           =3D 0x10:0xff806c88
frame pointer           =3D 0x10:0xff806c8c
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D Idle
interrupt mask          =3D bio  <- SMP: XXX
trap number             =3D 12
panic: page fault
mp_lock =3D 00000003; cpuid =3D 0; lapic.id =3D 00000000
boot() called on cpu#0
Uptime: 2h26m16s

dumping to dev #ad/0x20001, offset 128
dump ata0: resetting devices .. done
383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365=
 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 34=
6 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 3=
27 326 325 324 323 322 321 32=
0 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 3=
01 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 =
282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264=
 263 262 261 260 259 258 257=20=
256 255 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 21=
9 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 2=
00 199 198 197 196 195 194 19=
3 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 1=
74 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=20=
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=20
---
#0  boot (howto=3D260) at ../../kern/kern_shutdown.c:304
304                     dumppcb.pcb_cr3 =3D rcr3();
(kgdb) back
#0  boot (howto=3D260) at ../../kern/kern_shutdown.c:304
#1  0xc013af94 in poweroff_wait (junk=3D0xc025922f, howto=3D0)
    at ../../kern/kern_shutdown.c:554
#2  0xc02283cc in trap_fatal (frame=3D0xff806c48, eva=3D48)
    at ../../i386/i386/trap.c:924
#3  0xc022805d in trap_pfault (frame=3D0xff806c48, usermode=3D0, eva=3D48)
    at ../../i386/i386/trap.c:817
#4  0xc0227c57 in trap (frame=3D{tf_fs =3D -1072300008, tf_es =3D -84829796=
8,=20
      tf_ds =3D -8388592, tf_edi =3D 0, tf_esi =3D 0, tf_ebp =3D -8360820,=
=20
      tf_isp =3D -8360844, tf_ebx =3D -1071185252, tf_edx =3D -1071010272,=
=20
      tf_ecx =3D 1, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0,=20
      tf_eip =3D -1071850331, tf_cs =3D 8, tf_eflags =3D 66194, tf_esp =3D =
-848017264,=20
      tf_ss =3D -8360796}) at ../../i386/i386/trap.c:423
#5  0xc01cdca5 in acquire_lock (lk=3D0xc027029c) at machine/globals.h:113
#6  0xc01d2f7c in softdep_count_dependencies (bp=3D0xcd744890, wantcount=3D=
0)
    at ../../ufs/ffs/ffs_softdep.c:4535
#7  0xc01d624c in ffs_fsync (ap=3D0xff806d08) at ../../ufs/ffs/ffs_vnops.c:=
168
#8  0xc01d4d66 in ffs_sync (mp=3D0xc58fb000, waitfor=3D2, cred=3D0xc0dee900=
,=20
    p=3D0xc0297060) at vnode_if.h:537
#9  0xc01673ef in sync (p=3D0xc0297060, uap=3D0x0) at ../../kern/vfs_syscal=
ls.c:549
#10 0xc013a9b3 in boot (howto=3D256) at ../../kern/kern_shutdown.c:226
#11 0xc013af94 in poweroff_wait (junk=3D0xc02592a3, howto=3D0)
    at ../../kern/kern_shutdown.c:554
#12 0xc02283cc in trap_fatal (frame=3D0xff806dfc, eva=3D0)
    at ../../i386/i386/trap.c:924
#13 0xc0227d92 in trap (frame=3D{tf_fs =3D -1058537448, tf_es =3D 16,=20
      tf_ds =3D -1071448048, tf_edi =3D 256, tf_esi =3D -970757120,=20
      tf_ebp =3D -8360304, tf_isp =3D -8360408, tf_ebx =3D -979436544,=20
      tf_edx =3D -974068112, tf_ecx =3D -974068112, tf_eax =3D -1059168256,=
=20
      tf_trapno =3D 1, tf_err =3D 0, tf_eip =3D -1072190696, tf_cs =3D 8,=
=20
      tf_eflags =3D 66118, tf_esp =3D -1072215241, tf_ss =3D -1059168256})
    at ../../i386/i386/trap.c:586
#14 0xc017ab18 in arpresolve (ac=3D0xc0de6000, rt=3D0xc11f8d80, m=3D0xc5f0e=
670,=20
    dst=3D0xc6236c00, desten=3D0xd7bb12e0 "", rt0=3D0xc11f8db0)
    at ../../netinet/if_ether.c:343
#15 0xc0180813 in ip_output (m0=3D0xc11f8d80, opt=3D0x0, ro=3D0xd7bb1268, f=
lags=3D256,=20
    imo=3D0x0) at ../../netinet/ip_output.c:769
#16 0xc0185386 in tcp_output (tp=3D0xd7bb12e0) at ../../netinet/tcp_output.=
c:849
#17 0xc0186397 in tcp_timer_delack (xtp=3D0xd7bb12e0)
    at ../../netinet/tcp_timer.c:180
#18 0xc0140519 in softclock () at ../../kern/kern_timeout.c:131
(kgdb)



crash-4:

# gdb -k kernel.debug vmcore.4
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 condition=
s.
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"...
SMP 2 cpus
IdlePTD 3112960
initial pcb at 2815e0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock =3D 00000002; cpuid =3D 0; lapic.id =3D 00000000
fault virtual address   =3D 0x2
fault code              =3D supervisor write, page not present
instruction pointer     =3D 0x8:0xc0226e47
stack pointer           =3D 0x10:0xdaf0bef8
frame pointer           =3D 0x10:0xdaf0bf3c
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 247 (rcsd)
interrupt mask          =3D none <- SMP: XXX
trap number             =3D 12
panic: page fault
mp_lock =3D 00000002; cpuid =3D 0; lapic.id =3D 00000000
boot() called on cpu#0

syncing disks... 41 2=20
done
Uptime: 17h15m27s

dumping to dev #ad/0x20001, offset 128
dump ata0: resetting devices .. done
383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365=
 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 34=
6 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 3=
27 326 325 324 323 322 321 32=
0 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 3=
01 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 =
282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264=
 263 262 261 260 259 258 257=20=
256 255 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 21=
9 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 2=
00 199 198 197 196 195 194 19=
3 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 1=
74 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=20=
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=20
---
#0  boot (howto=3D256) at ../../kern/kern_shutdown.c:304
304                     dumppcb.pcb_cr3 =3D rcr3();
(kgdb) back
#0  boot (howto=3D256) at ../../kern/kern_shutdown.c:304
#1  0xc013af94 in poweroff_wait (junk=3D0xc025922f, howto=3D-653024736)
    at ../../kern/kern_shutdown.c:554
#2  0xc02283cc in trap_fatal (frame=3D0xdaf0beb8, eva=3D2)
    at ../../i386/i386/trap.c:924
#3  0xc022805d in trap_pfault (frame=3D0xdaf0beb8, usermode=3D0, eva=3D2)
    at ../../i386/i386/trap.c:817
#4  0xc0227c57 in trap (frame=3D{tf_fs =3D -1071054824, tf_es =3D -10710548=
32,=20
      tf_ds =3D -1071251440, tf_edi =3D 2, tf_esi =3D 2, tf_ebp =3D -621756=
612,=20
      tf_isp =3D -621756700, tf_ebx =3D 0, tf_edx =3D -621756616, tf_ecx =
=3D 33,=20
      tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D -1071485369,=
 tf_cs =3D 8,=20
      tf_eflags =3D 66054, tf_esp =3D -653024736, tf_ss =3D -1072342341})
    at ../../i386/i386/trap.c:423
#5  0xc0226e47 in generic_bzero ()
#6  0xc0228662 in syscall (frame=3D{tf_fs =3D 147521583, tf_es =3D 67279262=
3,=20
      tf_ds =3D -1078001617, tf_edi =3D 153022464, tf_esi =3D 672827008,=20
      tf_ebp =3D -1077940280, tf_isp =3D -621756460, tf_ebx =3D 233119171,=
=20
      tf_edx =3D 4306, tf_ecx =3D 233119171, tf_eax =3D 97, tf_trapno =3D 2=
2,=20
      tf_err =3D 2, tf_eip =3D 672393416, tf_cs =3D 31, tf_eflags =3D 582,=
=20
      tf_esp =3D -1077940364, tf_ss =3D 47}) at ../../i386/i386/trap.c:1073
#7  0xc0216531 in Xint0x80_syscall ()
#8  0x28196e48 in ?? ()
#9  0x80898de in ?? ()
---Type <return> to continue, or q <return> to quit---
#10 0x80899ae in ?? ()
#11 0x8075ae2 in ?? ()
#12 0x8058813 in ?? ()
#13 0x80749e3 in ?? ()
#14 0x805874b in ?? ()
#15 0x8056120 in ?? ()
#16 0x80552d6 in ?? ()
#17 0x805001d in ?? ()
#18 0x804f9e5 in ?? ()
(kgdb)







---
Howard Leadmon - howardl@abs.net - http://www.abs.net
ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162



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?200005062130.RAA28808>