Date: Wed, 28 Aug 2002 00:08:47 -0700 (PDT) From: David <david@bitch.inducedreality.net> To: freebsd-stable@freebsd.org Subject: Re: Fatal trap 12 Message-ID: <20020828000534.Q278-300000@bitch.inducedreality.net> In-Reply-To: <20020827141602.C586-200000@bitch.inducedreality.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Well, I crashed my machine again doing a buildworld. I can keep doing
this as long as I can keep providing useful information. ;) Hell, I can
even set up a script to do a buildworld every night if anyone wants to
look at the info.
I'm attaching the latest stuff I'm seeing. This time I did not get a
fatal trap 12. I'm much more confused about the error message this time.
Anyone have any ideas?
I am also attaching the end of my buildworld.log to show when during the
buildworld this one died.
David
On Tue, 27 Aug 2002, David wrote:
> 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 23:54:28 2002
%tail buildworld.log
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/netif.c -o netif.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/rpc.c -o rpc.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/bootp.c -o bootp.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/rarp.c -o rarp.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/bootparam.c -o bootparam.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/ufs.c -o ufs.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/nfs.c -o nfs.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/cd9660.c -o cd9660.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/tftp.c -o tftp.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/zipfs.c -o zipfs.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/bzipfs.c -o bzipfs.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/dosfs.c -o dosfs.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/ext2fs.c -o ext2fs.o
cc -O -pipe -march=k6 -Wall -mpreferred-stack-boundary=2 -I/usr/src/lib/libstand/../libc/i386 -I. -DBZ_NO_STDIO -DBZ_NO_COMPRESS -DHAVE_MEMCPY -c /usr/src/lib/libstand/splitfs.c -o splitfs.o
building static stand library
ranlib libstand.a
===> lib/libusbhid
cc -O -pipe -march=k6 -c /usr/src/lib/libusbhid/descr.c -o descr.o
cc -O -pipe -march=k6 -c /usr/src/lib/libusbhid/parse.c -o parse.o
cc -O -pipe -march=k6 -c /usr/src/lib/libusbhid/usage.c -o usage.o
cc -O -pipe -march=k6 -c /usr/src/lib/libusbhid/data.c -o data.o
building static usbhid library
ranlib libusbhid.a
cc -pg -O -pipe -march=k6 -c /usr/src/lib/libusbhid/descr.c -o descr.po
cc -pg -O -pipe -march=k6 -c /usr/src/lib/libusbhid/parse.c -o parse.po
cc -pg -O -pipe -march=k6 -c /usr/src/lib/libusbhid/usage.c -o usage.po
cc -pg -O -pipe -march=k6 -c /usr/src/lib/libusbhid/data.c -o data.po
building profiled usbhid library
ranlib libusbhid_p.a
cc -fpic -DPIC -O -pipe -march=k6 -c /usr/src/lib/libusbhid/descr.c -o descr.So
%^Dexit
Script done on Tue Aug 27 23:54:41 2002
[-- Attachment #3 --]
Script started on Tue Aug 27 23:51:25 2002
bitch# gdb -k kernel.debug.08252002 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"...
IdlePTD at phsyical address 0x002d3000
initial pcb at physical address 0x002526e0
panicstr: from debugger
panic messages:
---
panic: biodone: page busy < 0
panic: from debugger
Uptime: 15h1m46s
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 0xc0148b5b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
#2 0xc0148f61 in panic (fmt=0xc020a2c4 "from debugger")
at /usr/src/sys/kern/kern_shutdown.c:595
#3 0xc011e3f1 in db_panic (addr=-1071714156, have_addr=0, count=-1,
modif=0xcdb77d88 "") at /usr/src/sys/ddb/db_command.c:435
#4 0xc011e391 in db_command (last_cmdp=0xc0235a14, cmd_table=0xc0235854,
aux_cmd_tablep=0xc024dc58) at /usr/src/sys/ddb/db_command.c:333
#5 0xc011e456 in db_command_loop () at /usr/src/sys/ddb/db_command.c:457
#6 0xc0120577 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:71
#7 0xc01eee32 in kdb_trap (type=3, code=0, regs=0xcdb77e90)
at /usr/src/sys/i386/i386/db_interface.c:158
#8 0xc01fc77c in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 0,
tf_esi = 256, tf_ebp = -843612456, tf_isp = -843612484,
tf_ebx = -1071559802, tf_edx = 0, tf_ecx = 32, tf_eax = 18,
tf_trapno = 3, tf_err = 0, tf_eip = -1071714156, tf_cs = 8,
tf_eflags = 582, tf_esp = -1071473889, tf_ss = -1071573029})
at /usr/src/sys/i386/i386/trap.c:592
#9 0xc01ef094 in Debugger (msg=0xc02117db "panic") at machine/cpufunc.h:67
#10 0xc0148f58 in panic (fmt=0xc0214b86 "biodone: page busy < 0\n")
at /usr/src/sys/kern/kern_shutdown.c:593
#11 0xc017088f in biodone (bp=0xc65322fc) at /usr/src/sys/kern/vfs_bio.c:2813
#12 0xc0129f57 in ad_interrupt (request=0xc1b3f4c0)
at /usr/src/sys/dev/ata/ata-disk.c:694
---Type <return> to continue, or q <return> to quit---
#13 0xc01217ee in ata_intr (data=0xc11b5400)
at /usr/src/sys/dev/ata/ata-all.c:617
#14 0xc02008fd in intr_mux (arg=0xc0a358e0)
at /usr/src/sys/i386/isa/intr_machdep.c:582
#15 0x35ce2 in ?? ()
#16 0xef9b in ?? ()
#17 0x138fe in ?? ()
#18 0x13a25 in ?? ()
#19 0x2abb in ?? ()
#20 0x107e in ?? ()
(kgdb) up 9
#9 0xc01ef094 in Debugger (msg=0xc02117db "panic") at machine/cpufunc.h:67
67 __asm __volatile("int $3");
(kgdb) p $3
History has not yet reached $3.
(kgdb) up 1
#10 0xc0148f58 in panic (fmt=0xc0214b86 "biodone: page busy < 0\n")
at /usr/src/sys/kern/kern_shutdown.c:593
593 Debugger ("panic");
(kgdb) up 1
#11 0xc017088f in biodone (bp=0xc65322fc) at /usr/src/sys/kern/vfs_bio.c:2813
2813 panic("biodone: page busy < 0\n");
(kgdb) up 1
#12 0xc0129f57 in ad_interrupt (request=0xc1b3f4c0)
at /usr/src/sys/dev/ata/ata-disk.c:694
694 biodone(request->bp);
(kgdb) p request->bp
$1 = (struct buf *) 0xc65322fc
(kgdb) up 1
#13 0xc01217ee in ata_intr (data=0xc11b5400)
at /usr/src/sys/dev/ata/ata-all.c:617
617 if (!ch->running || ad_interrupt(ch->running) == ATA_OP_CONTINUES)
(kgdb) p ch->running
$2 = (void *) 0x0
(kgdb) up 1
#14 0xc02008fd in intr_mux (arg=0xc0a358e0)
at /usr/src/sys/i386/isa/intr_machdep.c:582
582 p->handler(p->argument);
(kgdb) p p->argument
$3 = (void *) 0xc11b5400
(kgdb) up 1
#15 0x35ce2 in ?? ()
(kgdb) quit
bitch# ^Dexit
Script done on Tue Aug 27 23:53:29 2002
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020828000534.Q278-300000>
