NetBSD Problem Report #52589

From bjjl@lorenz.place  Sun Oct  1 17:45:45 2017
Return-Path: <bjjl@lorenz.place>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E60437A181
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  1 Oct 2017 17:45:45 +0000 (UTC)
Message-Id: <20171001174541.6EFBE280AE4@vm64.lorenz.place>
Date: Sun,  1 Oct 2017 19:45:41 +0200 (CEST)
From: ben@pocket.services
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: RNG errors
X-Send-Pr-Version: 3.95

>Number:         52589
>Category:       kern
>Synopsis:       RNG errors
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 01 17:50:00 +0000 2017
>Originator:     ben@pocket.services
>Release:        NetBSD 8.0_BETA
>Organization:

>Environment:


System: NetBSD localhost 8.0_BETA NetBSD 8.0_BETA (GENERIC.201709172310Z) amd64
Architecture: x86_64
Machine: amd64
>Description:
        While running on VMware Fusion 6.0.6 I see these messages
        on the console:

Kernel RNG "3229 4 3" monobit test FAILURE: 10282 ones
cprng 3229 4 3: failed statistical RNG test
Kernel RNG "39 5 3" long run test FAILURE: Run of 27 1s found
cprng 39 5 3: failed statistical RNG test
Kernel RNG "12115 2 3" runs test FAILURE: too few runs of 2 1s (1111 <= 1114)
cprng 12115 2 3: failed statistical RNG test
Kernel RNG "22689 3 2" long run test FAILURE: Run of 26 1s found
cprng 22689 3 2: failed statistical RNG test
Kernel RNG "7210 2 3" runs test FAILURE: too many runs of 1 1s (2691 >= 2685)
cprng 7210 2 3: failed statistical RNG test
Kernel RNG "16414 1 3" runs test FAILURE: too many runs of 1 0s (2711 >= 2685)
cprng 16414 1 3: failed statistical RNG test
Kernel RNG "28213 1 2" runs test FAILURE: too many runs of 3 1s (724 >= 723)
cprng 28213 1 2: failed statistical RNG test

dmesg:

NetBSD 8.0_BETA (GENERIC.201709172310Z)
total memory = 3071 MB
avail memory = 2960 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
VMware, Inc. VMware Virtual Platform (None)
mainbus0 (root)
ACPI: RSDP 0x00000000000F6B80 000024 (v02 PTLTD )
ACPI: XSDT 0x00000000BFEF10F6 00005C (v01 INTEL  440BX    06040000 VMW  01324272)
ACPI: FACP 0x00000000BFEFEE73 0000F4 (v04 INTEL  440BX    06040000 PTL  000F4240)
ACPI: DSDT 0x00000000BFEF139A 00DAD9 (v01 PTLTD  Custom   06040000 MSFT 03000001)
ACPI: FACS 0x00000000BFEFFFC0 000040
ACPI: FACS 0x00000000BFEFFFC0 000040
ACPI: BOOT 0x00000000BFEF1372 000028 (v01 PTLTD  $SBFTBL$ 06040000  LTP 00000001)
ACPI: APIC 0x00000000BFEF1306 00006C (v01 PTLTD  ? APIC   06040000  LTP 00000000)
ACPI: MCFG 0x00000000BFEF12CA 00003C (v01 PTLTD  $PCITBL$ 06040000  LTP 00000001)
ACPI: SRAT 0x00000000BFEF11F2 0000D8 (v02 VMWARE MEMPLUG  06040000 VMW  00000001)
ACPI: HPET 0x00000000BFEF11BA 000038 (v01 VMWARE VMW HPET 06040000 VMW  00000001)
ACPI: WAET 0x00000000BFEF1192 000028 (v01 VMWARE VMW WAET 06040000 VMW  00000001)
ACPI: 1 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 3: pa 0xfec00000, version 0x11, 24 pins
x2APIC available but disabled inside VMWare without intr redirection
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, id 0x206a7
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 1
cpu1: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, id 0x206a7
cpu1: package 0, core 1, smt 0
cpu2 at mainbus0 apid 2
cpu2: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz, id 0x206a7
cpu2: package 0, core 2, smt 0
acpi0 at mainbus0: Intel ACPICA 20170303
acpi0: X/RSDT: OemId <INTEL ,440BX   ,06040000>, AslId <VMW ,01324272>
acpi0: MCFG: segment 0, bus 0-127, address 0x00000000f0000000
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
MBRD (PNP0C02) at acpi0 not configured
PIC (PNP0001) at acpi0 not configured
attimer1 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
spkr0 at pcppi1: PC Speaker
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
pckbc1 at acpi0 (KBC, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOUS, PNP0F13) (aux port): irq 12
[...]

>How-To-Repeat:
>Fix:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.