From owner-freebsd-stable@FreeBSD.ORG Sun May 21 19:04:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45B9C16AA77 for ; Sun, 21 May 2006 19:04:09 +0000 (UTC) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from ms-dienst.rz.rwth-aachen.de (ms-1.rz.RWTH-Aachen.DE [134.130.3.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7607E43D46 for ; Sun, 21 May 2006 19:04:07 +0000 (GMT) (envelope-from chris@hitnet.RWTH-Aachen.DE) Received: from circe (circe.rz.RWTH-Aachen.DE [134.130.3.36]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IZM009ELQAU4I@ms-dienst.rz.rwth-aachen.de> for freebsd-stable@freebsd.org; Sun, 21 May 2006 21:04:07 +0200 (MEST) Received: from talos.rz.RWTH-Aachen.DE ([134.130.3.22]) by circe (MailMonitor for SMTP v1.2.2 ) ; Sun, 21 May 2006 21:04:06 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by smarthost.rwth-aachen.de (8.13.1/8.13.1/1) with ESMTP id k4LJ45Nq004699 for ; Sun, 21 May 2006 21:04:05 +0200 Received: from haakonia.hitnet.rwth-aachen.de ([137.226.181.92]) by bigboss.hitnet.rwth-aachen.de with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FhtDi-0001pV-0M for freebsd-stable@freebsd.org; Sun, 21 May 2006 21:04:06 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id A07EE3F40B; Sun, 21 May 2006 21:04:05 +0200 (CEST) Date: Sun, 21 May 2006 21:04:05 +0200 From: Christian Brueffer To: freebsd-stable@freebsd.org Message-id: <20060521190405.GB1308@haakonia.hitnet.RWTH-Aachen.DE> MIME-version: 1.0 Content-type: multipart/signed; boundary=4SFOXa2GPu3tIq4H; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.11 X-Operating-System: FreeBSD 6.1-STABLE X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D Subject: Fatal trap 12: page fault while in kernel mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 19:04:13 -0000 --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--