From owner-freebsd-current@FreeBSD.ORG Tue Feb 17 22:27:58 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8760E7AF for ; Tue, 17 Feb 2015 22:27:58 +0000 (UTC) Received: from mail-yk0-f170.google.com (mail-yk0-f170.google.com [209.85.160.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44CCBE33 for ; Tue, 17 Feb 2015 22:27:58 +0000 (UTC) Received: by mail-yk0-f170.google.com with SMTP id 10so14280143ykt.1 for ; Tue, 17 Feb 2015 14:27:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=j6X1c6dczNTC1YhBXExxF5Qn1NlZSk9iBBGl814DdW0=; b=Z9wmFo/R4+PH/zXW4qyUJwUQNXC4INgOgtBZzss97CRzMdxifFCZV9+qvHOJxxa4iT htTiSsDSJ2+hI3z/OfNL/0vBGAf4ZqdyJ1XIjdjjZYmpCkMK3yZzhiljGgPL1QeEavuW KqFwvGzgmP5dA2USjGrEijmH/6HoOYg+3pX4xbEhEi9FeW+gH9xMTXqIy9fBZ0mL6QNU 3eLWRHIXmlfP6V5iDAEdTOea+SEgSS2axjAu5g8dMRrzcUFrMDDbOSaxOokK0JR1FVNh MjO5cmqP71D2YY+Bmga03lq9vt0I/OGFwglXeOF3ul+nDlzWMSAkGHyDeBb+xAg5nWhO kjIw== X-Gm-Message-State: ALoCoQkkBlffedEMzqiYkwZ5AjyhXEM+lkEnm7NFM0B84lQKdL7/xi/QQh0nu7aOKeaJk1+YiI9t MIME-Version: 1.0 X-Received: by 10.170.197.9 with SMTP id o9mr159687yke.32.1424212071408; Tue, 17 Feb 2015 14:27:51 -0800 (PST) Received: by 10.170.56.134 with HTTP; Tue, 17 Feb 2015 14:27:51 -0800 (PST) In-Reply-To: <5959d030.17736eca@fabiankeil.de> References: <20150217173726.GA1953@funkthat.com> <5959d030.17736eca@fabiankeil.de> Date: Tue, 17 Feb 2015 23:27:51 +0100 Message-ID: Subject: Re: URGENT: RNG broken for last 4 months From: Oliver Pinter To: Shawn Webb Content-Type: text/plain; charset=UTF-8 Cc: John-Mark Gurney , FreeBSD-Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2015 22:27:58 -0000 On Tue, Feb 17, 2015 at 11:19 PM, Fabian Keil wrote: > John-Mark Gurney wrote: > >> If you are running a current kernel r273872 or later, please upgrade >> your kernel to r278907 or later immediately and regenerate keys. > > I tried ... > > start_init: trying /sbin/init > <118>[20] Setting hostuuid: [...] > <118>[20] Setting hostid: [... > [20] > [20] > [20] Fatal trap 12: page fault while in kernel mode > [20] cpuid = 1; apic id = 01 > [20] fault virtual address = 0xfffff7ff1defb51c > [20] fault code = supervisor read data, page not present > [20] instruction pointer = 0x20:0xffffffff819eaed5 > [20] stack pointer = 0x28:0xfffffe009397b890 > [20] frame pointer = 0x28:0xfffffe009397b8d0 > [20] code segment = base 0x0, limit 0xfffff, type 0x1b > [20] = DPL 0, pres 1, long 1, def32 0, gran 1 > [20] processor eflags = interrupt enabled, resume, IOPL = 0 > [20] current process = 43 (zfs) > [...] > ) at pcpu.h:219 > 219 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) where > #0 doadump (textdump=Unhandled dwarf expression opcode 0x93 > ) at pcpu.h:219 > #1 0xffffffff8031539e in db_dump (dummy=, dummy2=Unhandled dwarf expression opcode 0x93 > ) at /usr/src/sys/ddb/db_command.c:533 > #2 0xffffffff80314e7c in db_command (cmd_table=0x0) at /usr/src/sys/ddb/db_command.c:440 > #3 0xffffffff80314be4 in db_command_loop () at /usr/src/sys/ddb/db_command.c:493 > #4 0xffffffff803177a0 in db_trap (type=, code=Unhandled dwarf expression opcode 0x93 > ) at /usr/src/sys/ddb/db_main.c:251 > #5 0xffffffff805ff8ee in kdb_trap (type=Unhandled dwarf expression opcode 0x93 > ) at /usr/src/sys/kern/subr_kdb.c:654 > #6 0xffffffff80889db9 in trap_fatal (frame=0xfffffe009397b7e0, eva=) at /usr/src/sys/amd64/amd64/trap.c:856 > #7 0xffffffff8088a131 in trap_pfault (frame=0xfffffe009397b7e0, usermode=) at /usr/src/sys/amd64/amd64/trap.c:678 > #8 0xffffffff8088976e in trap (frame=0xfffffe009397b7e0) at /usr/src/sys/amd64/amd64/trap.c:426 > #9 0xffffffff8086cd82 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:235 > #10 0xffffffff819eaed5 in vdev_mirror_dva_select (zio=0xfffff80006549398, p=-974039959) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c:317 > #11 0xffffffff819eae4a in vdev_mirror_preferred_child_randomize (zio=0xfffff80006549398) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c:334 > #12 0xffffffff819eaba1 in vdev_mirror_child_select (zio=0xfffff80006549398) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c:404 > #13 0xffffffff819ea177 in vdev_mirror_io_start (zio=0xfffff80006549398) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c:460 > #14 0xffffffff81a1d73d in zio_vdev_io_start (zio=0xfffff80006549398) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:2680 > #15 0xffffffff81a19c14 in zio_execute (zio=0xfffff80006549398) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1499 > #16 0xffffffff81a18945 in zio_wait (zio=0xfffff80006549398) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:1523 > #17 0xffffffff81938db2 in arc_read (pio=0x0, spa=0xfffff8000634e000, bp=0xfffff800065c5048, done=0xffffffff81937ae0 , private=0xfffff800065c9410, priority=ZIO_PRIORITY_SYNC_READ, > zio_flags=128, arc_flags=0xfffffe009397c004, zb=0xfffffe009397bfe0) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c:3610 > #18 0xffffffff81964326 in dmu_objset_open_impl (spa=0xfffff8000634e000, ds=0x0, bp=0xfffff800065c5048, osp=0xfffff800065c5008) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c:307 > #19 0xffffffff81991404 in dsl_pool_init (spa=0xfffff8000634e000, txg=1056266109, dpp=0xfffff8000634e2e8) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c:282 > #20 0xffffffff819c8b08 in spa_load_impl (spa=0xfffff8000634e000, pool_guid=4830954193867998892, config=0xfffff80002599ee0, state=SPA_LOAD_OPEN, type=SPA_IMPORT_EXISTING, mosconfig=0, > ereport=0xfffffe009397c4e0) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c:2406 > #21 0xffffffff819c0987 in spa_load (spa=0xfffff8000634e000, state=SPA_LOAD_OPEN, type=SPA_IMPORT_EXISTING, mosconfig=0) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c:2178 > #22 0xffffffff819bfda9 in spa_load_best (spa=0xfffff8000634e000, state=SPA_LOAD_OPEN, mosconfig=0, max_request=18446744073709551615, rewind_flags=1) > at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c:2903 > #23 0xffffffff819babe9 in spa_open_common (pool=0xfffffe0003232000 "tank", spapp=0xfffffe009397c6f0, tag=0xffffffff81ade789, nvpolicy=0x0, config=0x0) > at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c:3026 > #24 0xffffffff819bafcb in spa_open (name=0xfffffe0003232000 "tank", spapp=0xfffffe009397c6f0, tag=0xffffffff81ade789) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c:3111 > #25 0xffffffff81a3aa4f in pool_status_check (name=0xfffffe0003232000 "tank", type=DATASET_NAME, check=POOL_CHECK_SUSPENDED) at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c:5825 > #26 0xffffffff81a3c650 in zfsdev_ioctl (dev=0xfffff80002735000, zcmd=3222821394, arg=0xfffffe009397ca20 "\004", flag=3, td=0xfffff800063a5000) > at /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c:6121 > #27 0xffffffff804816bb in devfs_ioctl_f (fp=0xfffff8000637a690, com=3222821394, data=0xfffffe009397ca20, cred=, td=0xfffff800063a5000) at /usr/src/sys/fs/devfs/devfs_vnops.c:775 > #28 0xffffffff8061c201 in kern_ioctl (td=0xfffff800063a5000, fd=, com=3320927337, data=) at file.h:318 > #29 0xffffffff8061bd53 in sys_ioctl (td=0xfffff800063a5000, uap=0xfffffe009397cb80) at /usr/src/sys/kern/sys_generic.c:718 > #30 0xffffffff8088a827 in amd64_syscall (td=0xfffff800063a5000, traced=0) at subr_syscall.c:133 > #31 0xffffffff8086d06b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:395 > #32 0x0000000801a109ea in ?? () FYI Shawn! > > This is r278907 cherry-picked on top of r278691 (my previous current) > and a bunch of unrelated local patches that did not change. > > I don't have time to look into this right now, but will do so tomorrow. > > Fabian