Date: Tue, 17 Feb 2015 15:28:34 -0800 From: John-Mark Gurney <jmg@funkthat.com> To: Oliver Pinter <oliver.pinter@hardenedbsd.org> Cc: FreeBSD-Current <freebsd-current@freebsd.org>, Shawn Webb <shawn.webb@hardenedbsd.org> Subject: Re: URGENT: RNG broken for last 4 months Message-ID: <20150217232834.GQ1953@funkthat.com> In-Reply-To: <CAPQ4fftV6t0SG5s8Rp6Pb277R92n3y8FS_mMBmwcam5F5D9nBg@mail.gmail.com> References: <20150217173726.GA1953@funkthat.com> <5959d030.17736eca@fabiankeil.de> <CAPQ4fftV6t0SG5s8Rp6Pb277R92n3y8FS_mMBmwcam5F5D9nBg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Pinter wrote this message on Tue, Feb 17, 2015 at 23:27 +0100: > On Tue, Feb 17, 2015 at 11:19 PM, Fabian Keil > <freebsd-listen@fabiankeil.de> wrote: > > John-Mark Gurney <jmg@funkthat.com> 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=<value optimized out>, 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=<value optimized out>, 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=<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:856 > > #7 0xffffffff8088a131 in trap_pfault (frame=0xfffffe009397b7e0, usermode=<value optimized out>) 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 <arc_getbuf_func>, 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=<value optimized out>, td=0xfffff800063a5000) at /usr/src/sys/fs/devfs/devfs_vnops.c:775 > > #28 0xffffffff8061c201 in kern_ioctl (td=0xfffff800063a5000, fd=<value optimized out>, com=3320927337, data=<value optimized out>) 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! So, this should now be fixed w/: Committed revision 278927. Thanks peter for testing the patch. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150217232834.GQ1953>