Re: random(4) update causes mips compile fail | mips boot fail

From: Mark R V Murray <mark_at_grondar.org>
Date: Sat, 7 Sep 2013 18:34:25 +0100
On 7 Sep 2013, at 17:43, Sean Bruno <sean_bruno_at_yahoo.com> wrote:

> with "nodevice random" I can no longer compile for MIPS
> --- kernel.debug ---
> pseudo_rng.o:(.data+0x3c): undefined reference to `random_null_func'
> pseudo_rng.o:(.data+0x44): undefined reference to `random_null_func'
> pseudo_rng.o:(.data+0x74): undefined reference to `random_null_func'
> pseudo_rng.o:(.data+0x78): undefined reference to `random_null_func'
> pseudo_rng.o:(.data+0x84): undefined reference to `random_null_func'
> pseudo_rng.o:(.data+0x8c): more undefined references to
> `random_null_func' follow
> random_adaptors.o: In function `random_sysctl_active_adaptor_handler':
> /home/sbruno/bsd/head/sys/dev/random/random_adaptors.c:(.text+0x40):
> undefined reference to `random_get_active_adaptor'
> /home/sbruno/bsd/head/sys/dev/random/random_adaptors.c:(.text+0x40):
> relocation truncated to fit: R_MIPS_26 against
> `random_get_active_adaptor'

This is easy enough to fix. Doing a build now.

> trying to enable random on my DIR-825 kernconf I get this on boot:
> 
> Configuration file: /etc/cfg/hostapd.wlan0.conf
> Using interface wlan0 with hwaddr 00:00:88:88:22:22 and ssid "TESTBRUNO"
> Entropy device is blocking.

Can you please see if you can get the output of "sysctl -a | grep random"
at that point?

M
-- 
Mark R V Murray


Received on Sat Sep 07 2013 - 15:34:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC