Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2014 16:02:57 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Mark R V Murray <markm@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Alexander Kabaev <kabaev@gmail.com>
Subject:   Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/mo...
Message-ID:  <CAJ-VmokUcBMHJj02oUj0XPLLiVyXasPYvQ-g=on74c1UTYzedg@mail.gmail.com>
In-Reply-To: <627C5F71-939A-4579-8A1B-45933662DAED@FreeBSD.org>
References:  <201410302121.s9ULLsEw055630@svn.freebsd.org> <CAJ-Vmo=3At6wagbo1iqc_KAB3BvCh8cYcvPOD%2BppvNgmg7gXLg@mail.gmail.com> <20141101181536.2b6a5911@kan> <627C5F71-939A-4579-8A1B-45933662DAED@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Here's what I have so far:

# sysctl kern.random
kern.random.adaptors: yarrow(90),dummy(1)
kern.random.active_adaptor: yarrow
kern.random.live_entropy_sources:
kern.random.yarrow.gengateinterval: 10
kern.random.yarrow.bins: 10
kern.random.yarrow.fastthresh: 96
kern.random.yarrow.slowthresh: 128
kern.random.yarrow.slowoverthresh: 2
kern.random.harvest.mask: 1023
kern.random.harvest.mask_bin: 1111111111
kern.random.harvest.mask_symbolic:
UMA_ALLOC,SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED


.. that's after boot, before I run hostapd and it hangs.

CPU platform: Atheros AR7161 rev 2
CPU Frequency=680 MHz
CPU DDR Frequency=340 MHz
CPU AHB Frequency=170 MHz
platform frequency: 680 MHz
CPU reference clock: 40 MHz
CPU MDIO clock: 40 MHz
arguments:
  a0 = 00000007
  a1 = a3f77fb0
  a2 = a3f78460
  a3 = 00000008
Cmd line:argv is invalid
Environment:
envp is invalid
Cache info:
  picache_stride    = 4096
  picache_loopcount = 16
  pdcache_stride    = 4096
  pdcache_loopcount = 8
cpu0: MIPS Technologies processor v116.147
  MMU: Standard TLB, 16 entries
  L1 i-cache: 4 ways of 512 sets, 32 bytes per line
  L1 d-cache: 4 ways of 256 sets, 32 bytes per line
  Config1=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
  Config3=0x20
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #12 r273952M: Sat Nov  1 15:51:09 PDT 2014
    adrian@lucy-11i386:/usr/home/adrian/work/freebsd/head-embedded/obj/mips/mips.mips/usr/home/adrian/work/freebsd/head-embedded/src/sys/DIR-825B1
mips
gcc version 4.2.1 20070831 patched [FreeBSD]
WARNING: WITNESS option enabled, expect reduced performance.
MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
    MEMGUARD map base: 0xc0800000
    MEMGUARD map size: 104860 KBytes
real memory  = 67108864 (65536K bytes)
avail memory = 53735424 (51MB)
random device not loaded/active; using insecure pseudo-random number generator
random: entropy device infrastructure driver
random: random_adaptors_init
random: selecting highest priority adaptor <Dummy>
random: random_adaptor_choose - changing from NULL to Dummy
random: dummy_random_init
random: SOFT: yarrow init()
random: selecting highest priority adaptor <Yarrow>
random: random_adaptor_choose - changing from Dummy to Yarrow
random: random_harvestq_init
nexus0: <MIPS32 root nexus>
clock0: <Generic MIPS32 ticker> on nexus0
Timecounter "MIPS32" frequency 340000000 Hz quality 800
Event timer "MIPS32" frequency 340000000 Hz quality 800
random: device_attach(): feeding 4 bit(s) of entropy from clock0
apb0 at irq 4 on nexus0
uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0
uart0: console (115200,n,8,1)
random: device_attach(): feeding 4 bit(s) of entropy from uart0
random: device_attach(): feeding 4 bit(s) of entropy from apb0
pcib0 at irq 0 on nexus0
pcib0: ar71xx_pci_attach: missing hint 'baseslot', default to
AR71XX_PCI_BASE_SLOT
pcib0: found EEPROM at 0x1f661000 on 0.17.0
  reg: 6000, val=29168c
  reg: 6008, val=2800001
  reg: 602c, val=a095168c
  reg: 5000, val=2a168c
  reg: 5008, val=2800001
  reg: 502c, val=a095168c
  reg: 5064, val=5040cc0
  reg: 506c, val=33811
  reg: 4004, val=40073b
  reg: 4074, val=3
  reg: 4000, val=1c20000
  reg: 6034, val=44
pcib0: EEPROM firmware: 0x1f661000 @ 4096 bytes
pcib0: device EEPROM 'pcib.0.bus.0.17.0.eeprom_firmware' registered
pcib0: found EEPROM at 0x1f665000 on 0.18.0
  reg: 6000, val=29168c
  reg: 6008, val=2800001
  reg: 602c, val=a094168c
  reg: 5000, val=2a168c
  reg: 5008, val=2800001
  reg: 502c, val=a094168c
  reg: 5064, val=5040cc0
  reg: 506c, val=33811
  reg: 4004, val=40073b
  reg: 4074, val=3
  reg: 4000, val=1c20000
  reg: 6034, val=44
pcib0: EEPROM firmware: 0x1f665000 @ 4096 bytes
pcib0: device EEPROM 'pcib.0.bus.0.18.0.eeprom_firmware' registered
pci0: <PCI bus> on pcib0
pci0: <network> at device 17.0 (no driver attached)
pci0: <network> at device 18.0 (no driver attached)
random: device_attach(): feeding 4 bit(s) of entropy from pci0
random: device_attach(): feeding 4 bit(s) of entropy from pcib0
arge0: <Atheros AR71xx built-in ethernet interface> at mem
0x19000000-0x19000fff irq 2 on nexus0
arge0: Overriding MAC from EEPROM
arge0: Vendor stores MAC in ASCII format
arge0: finishing attachment, phymask 0000, proxy null
arge0: Ethernet address: 00:18:e7:dd:39:97
random: device_attach(): feeding 4 bit(s) of entropy from arge0
arge1: <Atheros AR71xx built-in ethernet interface> at mem
0x1a000000-0x1a000fff irq 3 on nexus0
arge1: Overriding MAC from EEPROM
arge1: Vendor stores MAC in ASCII format
arge1: finishing attachment, phymask 0000, proxy null
arge1: Ethernet address: 00:18:e7:dd:39:98
random: device_attach(): feeding 4 bit(s) of entropy from arge1
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
spibus0: <spibus bus> on spi0
mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0
mx25l0: m25p64, sector 65536 bytes, 128 sectors
random: device_attach(): feeding 4 bit(s) of entropy from mx25l0
random: device_attach(): feeding 4 bit(s) of entropy from spibus0
random: device_attach(): feeding 4 bit(s) of entropy from spi0
ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
random: device_attach(): feeding 4 bit(s) of entropy from ar71xx_wdog0
random: device_attach(): feeding 4 bit(s) of entropy from nexus0
Timecounters tick every 1.000 msec
map/rootfs.uncompress: GEOM_ULZMA image found
map/rootfs.uncompress: 166 x 131072 blocks
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/map/rootfs.uncompress []...
warning: no time-of-day clock registered, system time will not be set accurately
Nov  1 22:51:16 init: login_getclass: unknown class 'daemon'
*** Populating /var ..
*** Loading configuration files ..
*** Restoring from /dev/map/cfg ..
1+0 records in
1+0 records out
65536 bytes transferred in 1.177255 secs (55668 bytes/sec)
gunzip: invalid compressed data--crc error
etc/cfg/manifest
etc/master.passwd
etc/group
etc/cfg/rc.conf
etc/cfg/hostapd.wlan0.conf
etc/cfg/hostapd.wlan1.conf
11 blocks
*** Completed.
*** setting up hostname
*** Load kernel modules
interface yarrow.1 already present in the KLD 'kernel'!
linker_load_file: Unsupported file type
kldload: an error occurred while loading the module. Please check
dmesg(8) for more details.
ath0: <Atheros 9220> irq 0 at device 17.0 on pci0
ath0: ath_pci_attach: EEPROM firmware @ 0xc6ee6000
ath0: [HT] enabling HT modes
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9220 mac 128.2 RF5133 phy 13.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
random: device_attach(): feeding 4 bit(s) of entropy from ath0
ath1: <Atheros 9220> irq 1 at device 18.0 on pci0
ath1: ath_pci_attach: EEPROM firmware @ 0xc6ee9000
[ath] enabling AN_TOP2_FIXUP
ath1: [HT] enabling HT modes
ath1: [HT] 1 stream STBC receive enabled
ath1: [HT] 1 stream STBC transmit enabled
ath1: [HT] 2 RX streams; 2 TX streams
ath1: AR9220 mac 128.2 RF5133 phy 13.0
ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
random: device_attach(): feeding 4 bit(s) of entropy from ath1
*** bringing up loopback ..
*** Starting networking via /etc/rc.d/base/net
dev.ath.0.txq_mcastq_maxdepth: 512 -> 32
dev.ath.1.txq_mcastq_maxdepth: 512 -> 32
*** Interface: arge0: start
*** Interface: arge0: done
*** Interface: arge1: start
*** Interface: arge1: done
*** Interface: bridge0: start
bridge0: Ethernet address: de:6f:cf:39:d0:77
ifconfig: BRDGADD wlan0: No such file or directory
ifconfig: BRDGADD wlan1: No such file or directory
arge0: promiscuous mode enabled
bridge0: link state changed to UP
arge1: promiscuous mode enabled
*** Interface: bridge0: done
*** Default password/login databases ..
*** inetd
*** Done!

FreeBSD/mips (freebsd-dir825) (ttyu0)

login: root
Password:
No home directory.
Logging in with home = "/".
# sysctl kern.random
kern.random.adaptors: yarrow(90),dummy(1)
kern.random.active_adaptor: yarrow
kern.random.live_entropy_sources:
kern.random.yarrow.gengateinterval: 10
kern.random.yarrow.bins: 10
kern.random.yarrow.fastthresh: 96
kern.random.yarrow.slowthresh: 128
kern.random.yarrow.slowoverthresh: 2
kern.random.harvest.mask: 1023
kern.random.harvest.mask_bin: 1111111111
kern.random.harvest.mask_symbolic:
UMA_ALLOC,SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokUcBMHJj02oUj0XPLLiVyXasPYvQ-g=on74c1UTYzedg>