Date: Sun, 21 May 2006 21:04:05 +0200 From: Christian Brueffer <brueffer@FreeBSD.org> To: freebsd-stable@freebsd.org Subject: Fatal trap 12: page fault while in kernel mode Message-ID: <20060521190405.GB1308@haakonia.hitnet.RWTH-Aachen.DE>
next in thread | raw e-mail | index | archive | help
--4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, got the following trap on an i386 SMP system running with recent RELENG_6 sources. The system was doing copies from/to geli encrypted disks, using hifn(4) hardware crypto. Core and debug kernel are available, but the trace appears to be corrupted. - Christian Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0xc43cb554 fault code =3D supervisor write, page not present instruction pointer =3D 0x20:0xc07854fe stack pointer =3D 0x28:0xd44c1c34 frame pointer =3D 0x28:0xd44c1c5c 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 32 (irq19: hifn0) [thread pid 32 tid 100033 ] Stopped at generic_bcopy+0x1a: repe movsl (%esi),%es:(%edi) db> tr generic_bcopy(c4ebe118,ff0,10,c43cb554,c4ebe0a0) at generic_bcopy+0x1a hifn_callback(c351e800,c3d2e000,0,868,0) at hifn_callback+0x333 hifn_intr(c351e800,d44c1cd8,c05a0e8d,c084a8a0,1) at hifn_intr+0x2a7 ithread_execute_handlers(c33f1a3c,c3345400,c07d243c,30f,c3310780) at ithread_execute_handlers+0x128 ithread_loop(c35260f0,d44c1d38,c07d220e,31d,dfffffff) at ithread_loop+0x84 fork_exit(c0590a00,c35260f0,d44c1d38) at fork_exit+0xc1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip =3D 0, esp =3D 0xd44c1d6c, ebp =3D 0 --- Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0xc43cb554 fault code =3D supervisor write, page not present instruction pointer =3D 0x20:0xc07854fe stack pointer =3D 0x28:0xd44c1c34 frame pointer =3D 0x28:0xd44c1c5c 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 32 (irq19: hifn0) Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130796 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc048f326 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D1999, dummy4= =3D0xd44c1a14 "`\027\204=C0\f") at /data/build/STABLE/src/sys/ddb/db_command.c:492 #2 0xc048f0a2 in db_command (last_cmdp=3D0xc0840e64, cmd_table=3D0x0, aux_= cmd_tablep=3D0xc07fbbc0,=20 aux_cmd_tablep_end=3D0xc07fbbc4) at /data/build/STABLE/src/sys/ddb/db_c= ommand.c:350 #3 0xc048f1b5 in db_command_loop () at /data/build/STABLE/src/sys/ddb/db_c= ommand.c:458 #4 0xc04913a5 in db_trap (type=3D12, code=3D0) at /data/build/STABLE/src/s= ys/ddb/db_main.c:221 #5 0xc05cb1be in kdb_trap (type=3D0, code=3D0, tf=3D0xd44c1bf4) at /data/build/STABLE/src/sys/kern/subr_kdb.c:473 #6 0xc0787e1b in trap_fatal (frame=3D0xd44c1bf4, eva=3D0) at /data/build/STABLE/src/sys/i386/i386/trap.c:827 #7 0xc0787ac2 in trap_pfault (frame=3D0xd44c1bf4, usermode=3D0, eva=3D3292= 312916) at /data/build/STABLE/src/sys/i386/i386/trap.c:744 #8 0xc078766d in trap (frame=3D {tf_fs =3D 8, tf_es =3D 40, tf_ds =3D 40, tf_edi =3D -1002654380, tf_= esi =3D -991182864, tf_ebp =3D -733209508, tf_isp =3D -733209568, tf_ebx =3D 16, tf_edx =3D 4080, tf_ecx =3D 4, tf_eax =3D -11471516, tf_trapno =3D 12, tf_e= rr =3D 2, tf_eip =3D -1065855746, tf_cs =3D 32, tf_eflags =3D 66066, tf_esp =3D 16, tf_ss =3D -991174344}) at /data/build/STABLE/src/sys/i386/i386/trap.c:434 #9 0xc07713da in calltrap () at /data/build/STABLE/src/sys/i386/i386/exception.s:139 #10 0xc07854fe in generic_bcopy () at /data/build/STABLE/src/sys/i386/i386/support.s:489 Previous frame inner to this frame (corrupt stack?) --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --4SFOXa2GPu3tIq4H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEcLmlbHYXjKDtmC0RAtYTAKDalDzhFGHPty/sV69OBGKZlOXjlwCfe9M5 3ENOj7XTz+1VE4hq5vAgiWQ= =SA5o -----END PGP SIGNATURE----- --4SFOXa2GPu3tIq4H--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060521190405.GB1308>