Date: Tue, 27 Aug 2002 14:19:48 -0700 (PDT) From: David <david@bitch.inducedreality.net> To: Mike Tancsa <mike@sentex.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Fatal trap 12 Message-ID: <20020827141602.C586-200000@bitch.inducedreality.net> In-Reply-To: <5.1.1.6.0.20020827163027.06268490@marble.sentex.ca>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Here is similar information based on older crashes I have. You can see
the name of the kernel is kernel.debug.xxxxxxxx, where xxx is the date in
mmddyyyy format. Each one represents the build date for that kernel.
Each kernel has been made after running a 'make update' in /usr/src.
These are not completely random, but they do seem to occur in slightly
different places. I can almost always get one to happen if I do a
buildworld. In other cases, I'm not sure what is setting them off.
Unfortunately, I'm not always present at the machine when it crashes so I
don't know when it happens.
If it is faulty hardware, I'm willing to accept that. However, is there
any way to track down what hardware would be causing this?
David
On Tue, 27 Aug 2002, Mike Tancsa wrote:
>
> Is the crash dump always in the same location ? Or is that random as well
> ? Capture another crash dump and compare.
>
> ---Mike
>
> At 12:53 PM 27/08/2002 -0700, David wrote:
> >For a little while I've been getting these errors on occasion. Sometimes
> >my machine will do just fine, other times it seems to enjoy crashing.
>
>
[-- Attachment #2 --]
Script started on Tue Aug 27 14:12:06 2002
bitch# gdb -k kernel.debug.08232002 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"...
IdlePTD at phsyical address 0x002d3000
initial pcb at physical address 0x002522e0
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x0
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01d007b
stack pointer = 0x10:0xcdb98e14
frame pointer = 0x10:0xcdb98e1c
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 = 179 (setiathome)
interrupt mask = net tty bio cam
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x0
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01d007b
stack pointer = 0x10:0xcdb98e14
frame pointer = 0x10:0xcdb98e1c
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 = 179 (setiathome)
interrupt mask = net tty bio cam
panic: from debugger
Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer = 0x8:0xc01eee20
stack pointer = 0x10:0xcdb98c28
frame pointer = 0x10:0xcdb98c30
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = 179 (setiathome)
interrupt mask = net tty bio cam
panic: from debugger
Uptime: 3h41m36s
dumping to dev #ad/0x20001, offset 1048704
dump ata2: resetting devices .. done
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 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) where
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1 0xc0148b2b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2 0xc0148f31 in panic (fmt=0xc020a064 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:595
#3 0xc011e3c1 in db_panic (addr=-1071841157, have_addr=0, count=-1, modif=0xcdb98c80 "") at /usr/src/sys/ddb/db_command.c:435
#4 0xc011e361 in db_command (last_cmdp=0xc0235714, cmd_table=0xc0235554, aux_cmd_tablep=0xc024d858) at /usr/src/sys/ddb/db_command.c:333
#5 0xc011e426 in db_command_loop () at /usr/src/sys/ddb/db_command.c:457
#6 0xc0120547 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:71
#7 0xc01eebbe in kdb_trap (type=12, code=0, regs=0xcdb98dd4) at /usr/src/sys/i386/i386/db_interface.c:158
#8 0xc01fcb8c in trap_fatal (frame=0xcdb98dd4, eva=0) at /usr/src/sys/i386/i386/trap.c:969
#9 0xc01fc865 in trap_pfault (frame=0xcdb98dd4, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:867
#10 0xc01fc3df in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 16588800, tf_esi = 7261184, tf_ebp = -843477476,
tf_isp = -843477504, tf_ebx = -1071232576, tf_edx = 0, tf_ecx = 45076480, tf_eax = 30763, tf_trapno = 12, tf_err = 0,
tf_eip = -1071841157, tf_cs = 8, tf_eflags = 66054, tf_esp = -872317908, tf_ss = -1066253424}) at /usr/src/sys/i386/i386/trap.c:466
#11 0xc01d007b in zalloci (z=0xc02649c0) at /usr/src/sys/vm/vm_zone.c:62
#12 0xc01f921a in get_pv_entry () at /usr/src/sys/i386/i386/pmap.c:1539
#13 0xc01f93ab in pmap_insert_entry (pmap=0xcc017c2c, va=16588800, mpte=0xc05ac580, m=0xc0724390) at /usr/src/sys/i386/i386/pmap.c:1635
#14 0xc01f9a88 in pmap_enter (pmap=0xcc017c2c, va=16588800, m=0xc0724390, prot=7 '\a', wired=0) at /usr/src/sys/i386/i386/pmap.c:2134
#15 0xc01c389c in vm_fault (map=0xcc017bc0, vaddr=16588800, fault_type=3 '\003', fault_flags=8) at /usr/src/sys/vm/vm_fault.c:841
#16 0xc01fc7fa in trap_pfault (frame=0xcdb98fa8, usermode=1, eva=16588800) at /usr/src/sys/i386/i386/trap.c:847
#17 0xc01fc28b in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 16588800, tf_esi = 1048576, tf_ebp = -1077937456,
tf_isp = -843477036, tf_ebx = 1048576, tf_edx = 0, tf_ecx = 152592, tf_eax = 0, tf_trapno = 12, tf_err = 6, tf_eip = 220283,
tf_cs = 31, tf_eflags = 66070, tf_esp = -1077937492, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:377
#18 0x35c7b in ?? ()
#19 0x339a in ?? ()
#20 0xef9b in ?? ()
#21 0x138fe in ?? ()
#22 0x13a25 in ?? ()
#23 0x2abb in ?? ()
#24 0x107e in ?? ()
(kgdb) up 18
#18 0x35c7b in ?? ()
(kgdb) quit
bitch# gdb -k kernel.debug.08202002 vmcore.0
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"...
IdlePTD at phsyical address 0x002cf000
initial pcb at physical address 0x0024ee80
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xc0bc7480
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc0bc7480
stack pointer = 0x10:0xcdca9e80
frame pointer = 0x10:0xcdca9ef4
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 = 6983 (sed)
interrupt mask = none
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xc0bc7480
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01ec5b0
stack pointer = 0x10:0xcdca9ce8
frame pointer = 0x10:0xcdca9cec
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 = 6983 (sed)
interrupt mask = none
panic: from debugger
Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer = 0x8:0xc01ec720
stack pointer = 0x10:0xcdca9c94
frame pointer = 0x10:0xcdca9c9c
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = IOPL = 0
current process = 6983 (sed)
interrupt mask = none
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xc0bc7480
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01ec5b0
stack pointer = 0x10:0xcdca9ce8
frame pointer = 0x10:0xcdca9cec
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 6983 (sed)
interrupt mask = none
panic: from debugger
Uptime: 1d10h34m42s
dumping to dev #ad/0x20001, offset 1048704
dump ata2: resetting devices .. done
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 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) where
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1 0xc0148a6f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2 0xc0148e75 in panic (fmt=0xc0207964 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:595
#3 0xc011e321 in db_panic (addr=-1061391232, have_addr=0, count=-1, modif=0xcdca9cec "") at /usr/src/sys/ddb/db_command.c:435
#4 0xc011e2c1 in db_command (last_cmdp=0xc0232694, cmd_table=0xc02324d4, aux_cmd_tablep=0xc024a438) at /usr/src/sys/ddb/db_command.c:333
#5 0xc011e386 in db_command_loop () at /usr/src/sys/ddb/db_command.c:457
#6 0xc01204a7 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:71
#7 0xc01ec4be in kdb_trap (type=12, code=0, regs=0xcdca9e40) at /usr/src/sys/i386/i386/db_interface.c:158
#8 0xc01fa48c in trap_fatal (frame=0xcdca9e40, eva=3233576064) at /usr/src/sys/i386/i386/trap.c:969
#9 0xc01fa165 in trap_pfault (frame=0xcdca9e40, usermode=0, eva=3233576064) at /usr/src/sys/i386/i386/trap.c:867
#10 0xc01f9cdf in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 16384, tf_esi = -842358912, tf_ebp = -842359052,
tf_isp = -842359188, tf_ebx = -843268256, tf_edx = 6, tf_ecx = -843268256, tf_eax = 0, tf_trapno = 12, tf_err = 0,
tf_eip = -1061391232, tf_cs = 8, tf_eflags = 66183, tf_esp = -1050002688, tf_ss = -842359084}) at /usr/src/sys/i386/i386/trap.c:466
#11 0xc0bc7480 in ?? ()
#12 0xc0157344 in read (p=0xcdbcbf60, uap=0xcdca9f80) at /usr/src/sys/kern/sys_generic.c:117
#13 0xc01fa781 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 672151200, tf_ebp = -1077937804,
tf_isp = -842358828, tf_ebx = 672075908, tf_edx = 134562048, tf_ecx = 0, tf_eax = 3, tf_trapno = 0, tf_err = 2, tf_eip = 672033400,
tf_cs = 31, tf_eflags = 659, tf_esp = -1077937848, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
#14 0xc01ed375 in Xint0x80_syscall ()
#15 0x280d44b3 in ?? ()
#16 0x280b01cc in ?? ()
#17 0x804ad8d in ?? ()
#18 0x804b84a in ?? ()
#19 0x804a8e6 in ?? ()
#20 0x8048f45 in ?? ()
(kgdb) up 11
#11 0xc0bc7480 in ?? ()
(kgdb) up 12
#20 0x8048f45 in ?? ()
(kgdb) down 8
#12 0xc0157344 in read (p=0xcdbcbf60, uap=0xcdca9f80) at /usr/src/sys/kern/sys_generic.c:117
117 error = dofileread(p, fp, uap->fd, uap->buf, uap->nbyte, (off_t)-1, 0);
(kgdb) p p
$1 = (struct proc *) 0x4000
(kgdb) p *p
Cannot access memory at address 0x4000.
(kgdb) p fp
$2 = (struct file *) 0x0
(kgdb) p *fp
Cannot access memory at address 0x0.
(kgdb) p uap->fd
$3 = 3
(kgdb) p uap->nbyte
$4 = 16384
(kgdb) quit
bitch# ^Dexit
Script done on Tue Aug 27 14:14:58 2002
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827141602.C586-200000>
