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

Mark R V Murray mark at grondar.org
Sat Sep 7 17:34:29 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 353 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130907/4ba473de/attachment.sig>


More information about the freebsd-current mailing list