Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2013 18:34:25 +0100
From:      Mark R V Murray <mark@grondar.org>
To:        sbruno@freebsd.org
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: random(4) update causes mips compile fail | mips boot fail
Message-ID:  <68EAE20D-3163-4BC2-850B-274BE77A99C7@grondar.org>
In-Reply-To: <1378572186.1588.5.camel@localhost>
References:  <1378572186.1588.5.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_EAE18A9C-3131-4B7B-8D2E-423219DFB0AF
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii


On 7 Sep 2013, at 17:43, Sean Bruno <sean_bruno@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


--Apple-Mail=_EAE18A9C-3131-4B7B-8D2E-423219DFB0AF
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQCVAwUBUitjod58vKOKE6LNAQqw5AP6AyGQg+8CYTSPlZheAsqBlYOEygCTkyPC
235N/aUEwSDOKGxs4xiTbwnCN5Du8ze51wFeBOYQKPqD9CTOrTPAiMLs/CdYaghN
VfAAVp5chFoUpGusvrkz9TYXbKWq7dnRVQ8+dKJS5PE3yNeuKtQFDFgY11Hyt04g
DWH7Xs2wRnM=
=A7/Z
-----END PGP SIGNATURE-----

--Apple-Mail=_EAE18A9C-3131-4B7B-8D2E-423219DFB0AF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68EAE20D-3163-4BC2-850B-274BE77A99C7>