From owner-freebsd-bugs@freebsd.org Thu Apr 26 09:30:00 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CECD2FA7B27 for ; Thu, 26 Apr 2018 09:29:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 509B97392A for ; Thu, 26 Apr 2018 09:29:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 11FDCFA7B24; Thu, 26 Apr 2018 09:29:59 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2513FA7B23 for ; Thu, 26 Apr 2018 09:29:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A09973909 for ; Thu, 26 Apr 2018 09:29:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 92B0F137B2 for ; Thu, 26 Apr 2018 09:29:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w3Q9Tvjn091447 for ; Thu, 26 Apr 2018 09:29:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w3Q9Tvkf091446 for bugs@FreeBSD.org; Thu, 26 Apr 2018 09:29:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 227788] Crypto READ request failed (error=22). md10.eli[READ(offset=818688, length=512 Date: Thu, 26 Apr 2018 09:29:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eadler@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 09:30:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227788 Bug ID: 227788 Summary: Crypto READ request failed (error=3D22). md10.eli[READ(offset=3D818688, length=3D512 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: eadler@FreeBSD.org Unread portion of the kernel message buffer: [173352] GEOM_ELI: Device md10.eli created. [173352] GEOM_ELI: Encryption: AES-XTS 128 [173352] GEOM_ELI: Integrity: HMAC/SHA1 [173352] GEOM_ELI: Crypto: hardware [173352] GEOM_ELI: Crypto READ request failed (error=3D22). md10.eli[READ(offset=3D818688, length=3D512 )] [173352] panic: crypto_dispatch() failed (error=3D22) [173352] cpuid =3D 20 [173352] time =3D 1523431733 [173352] KDB: stack backtrace: [173352] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00ae86d800 [173352] vpanic() at vpanic+0x18d/frame 0xfffffe00ae86d860 [173352] doadump() at doadump/frame 0xfffffe00ae86d8e0 [173352] g_eli_auth_run() at g_eli_auth_run+0x22b/frame 0xfffffe00ae86da00 [173352] g_eli_worker() at g_eli_worker+0x14c/frame 0xfffffe00ae86da70 [173352] fork_exit() at fork_exit+0x84/frame 0xfffffe00ae86dab0 [173352] fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00ae86dab0 [173352] --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- [173352] KDB: enter: panic #0 __curthread () at ./machine/pcpu.h:230 #1 doadump (textdump=3D0x1) at /usr/src/sys/kern/kern_shutdown.c:361 #2 0xffffffff80434f4c in db_fncall_generic (addr=3D, rv=3D, nargs=3D, args=3D) at /usr/src/sys/ddb/db_command.c:609 #3 db_fncall (dummy1=3D, dummy2=3D, dummy3=3D, dummy4=3D) at /usr/src/sys/ddb/db_command.c:657 #4 0xffffffff80434a99 in db_command (last_cmdp=3D, cmd_table=3D, dopager=3D) at /usr/src/sys/ddb/db_command.c:481 #5 0xffffffff80434814 in db_command_loop () at /usr/src/sys/ddb/db_command.c:534 #6 0xffffffff80437a3f in db_trap (type=3D, code=3D) at /usr/src/sys/ddb/db_main.c:250 #7 0xffffffff80babf53 in kdb_trap (type=3D0x3, code=3D0xffff0ff0, tf=3D) at /usr/src/sys/kern/subr_kdb.c:697 #8 0xffffffff81024aa8 in trap (frame=3D0xfffffe00ae86d730) at /usr/src/sys/amd64/amd64/trap.c:548 #9 #10 kdb_enter (why=3D0xffffffff8129f663 "panic", msg=3D) at /usr/src/sys/kern/subr_kdb.c:479 #11 0xffffffff80b66b5a in vpanic (fmt=3D, ap=3D0xfffffe00ae8= 6d8a0) at /usr/src/sys/kern/kern_shutdown.c:826 #12 0xffffffff80b66920 in kassert_panic (fmt=3D0xffffffff825f243b "crypto_dispatch() failed (error=3D%d)") at /usr/src/sys/kern/kern_shutdown= .c:723 #13 0xffffffff825ee10b in g_eli_auth_run (wr=3D0xfffff8003a580bc0, bp=3D) at /usr/src/sys/geom/eli/g_eli_integrity.c:537 #14 0xffffffff825e9b7c in g_eli_worker (arg=3D) at /usr/src/sys/geom/eli/g_eli.c:542 #15 0xffffffff80b26e34 in fork_exit (callout=3D0xffffffff825e9a30 , arg=3D0xfffff8003a580bc0, frame=3D0xfffffe00ae86dac0) at /usr/src/sys/kern/kern_fork.c:1039 #16 (kgdb) info registers rax 0x12 0x12 rbx 0xfffffe00ae86d968 0xfffffe00ae86d968 rcx 0x80 0x80 rdx 0xfffffe00ae86d6f0 0xfffffe00ae86d6f0 rsi 0x80 0x80 rdi 0xffffffff81deab08 0xffffffff81deab08 rbp 0xfffffe00ae86da00 0xfffffe00ae86da00 rsp 0xfffffe00ae86d8f0 0xfffffe00ae86d8f0 r8 0x1 0x1 r9 0x0 0x0 r10 0xffffffff81cdc698 0xffffffff81cdc698 r11 0x0 0x0 r12 0x1e0 0x1e0 r13 0xfffff8004362f428 0xfffff8004362f428 r14 0xfffff8004362f598 0xfffff8004362f598 r15 0x18f800 0x18f800 rip 0xffffffff825ee10b 0xffffffff825ee10b eflags 0x82 [ SF ] cs 0x20 0x20 ss 0x28 0x28 ds es fs gs fs_base gs_base (kgdb) info locals sc =3D 0xfffff80136461c00 encr_secsize =3D 0x200 nsec =3D lsec =3D 0x2 plaindata =3D 0xfffff800051b1a00 "\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\2= 55\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\= 300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336= \336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\25= 5\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\3= 00\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\= 336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255= \336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\30= 0\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\3= 36\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\= 336\336\300\255\336\336\300\255\336\336\300\255\336"... data =3D auth =3D 0xfffff8004362f414 "\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\2= 55\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\= 300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336= \336\300\255\336\336\300\255\336\336\300\255\336\067" p =3D i =3D decr_secsize =3D 0x200 dstoff =3D 0x18f800 error =3D 0x80 crp =3D 0xfffff8004362f428 data_secsize =3D crde =3D crda =3D authkey =3D (kgdb) info args wr =3D 0xfffff8003a580bc0 bp =3D (kgdb) p *crp $1 =3D { crp_next =3D { tqe_next =3D 0xdeadc0dedeadc0de, tqe_prev =3D 0xdeadc0dedeadc0de }, crp_task =3D { ta_link =3D { stqe_next =3D 0xdeadc0dedeadc0de }, ta_pending =3D 0xc0de, ta_priority =3D 0xdead, ta_func =3D 0xdeadc0dedeadc0de, ta_context =3D 0xdeadc0dedeadc0de }, crp_sid =3D 0x500000100000037, crp_ilen =3D 0x1f4, crp_olen =3D 0x1e0, crp_etype =3D 0x16, crp_flags =3D 0x60, { crp_buf =3D 0xfffff8004362f000 "", crp_mbuf =3D 0xfffff8004362f000, crp_uio =3D 0xfffff8004362f000 }, crp_opaque =3D 0xfffff803726ffc00, crp_desc =3D 0xfffff8004362f520, crp_callback =3D 0xffffffff825ee8f0 , crp_tstamp =3D { sec =3D 0xdeadc0dedeadc0de, frac =3D 0xdeadc0dedeadc0de }, crp_seq =3D 0xdeadc0de, crp_retw_id =3D 0x17 } (kgdb) p *crp->crp_desc $3 =3D { crd_skip =3D 0x14, crd_len =3D 0x1e0, crd_inject =3D 0x0, crd_flags =3D 0x10, CRD_INI =3D { cri_alg =3D 0x7, cri_klen =3D 0x100, cri_mlen =3D 0xdeadc0de, cri_key =3D 0xfffff8004362f598 "=3D\031eR\340\275D\366\205\020\307,\304]\bP\207\202\207\061\347\070\344\26= 4\325\267\336\371~x\366\267\336\300\255\336\336\300\255\336\336\300\255\336= \336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\25= 5\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\3= 00\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\= 336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255= \336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\30= 0\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\3= 36\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\= 336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300= \255\336\336\300\255\336"..., cri_iv =3D=20=20=20=20=20=20 "\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\2= 55\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\= 300\255\336\336\300\255\336\336\300\255\336\336\300\255\336\336\300\255\336= \336\300\255\336\336\300\255\336", cri_next =3D 0xdeadc0dedeadc0de }, crd_next =3D 0xfffff8004362f4a8 } (kgdb) p *crp->crp_desc->crd_next $4 =3D { crd_skip =3D 0x14, crd_len =3D 0x1e0, crd_inject =3D 0xdeadc0de, crd_flags =3D 0x16, CRD_INI =3D { cri_alg =3D 0x16, cri_klen =3D 0x100, cri_mlen =3D 0xdeadc0de, cri_key =3D 0xfffff8003a28ae00 "\214\352\255\370\"\214|\275\367=3D\005\331X\325\251\371\220LN\207\037sY\30= 5\274\033\346\200\217\343\272J\032H\021u[\024:\303\301\275\210\200\321\"\25= 1\071\251\022", cri_iv =3D "", cri_next =3D 0xdeadc0dedeadc0de }, crd_next =3D 0x0 } ---- --=20 Eitan Adler --=20 You are receiving this mail because: You are the assignee for the bug.=