Subject: Re: /dev/random apparently not configured.
To: None <port-sparc@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sparc
Date: 12/07/2005 02:58:25
On Tue, Dec 06, 2005 at 23:43:48 +0000, Barrie Bremner wrote:

>     >> I've tried removing /dev/console from a netbsd-3.0_rc5 setup,
>     >> and although the larger MFS /dev is created successfully, I'm
>     >> still seeing the device not configured errors from /dev/random.
> 
>     Valeriy> Strange.  Does
> 
>     Valeriy>     nm /dev/ksyms | grep rnd_cdevsw
> 
>     Valeriy> show that it's really there?
> 
> Anyway, on the setup that started this all (2.0.x), nfs mounted /dev:
> 
>   root@sparc:~> nm /dev/ksyms | grep rnd_cdevsw
>   f02451d8 A rnd_cdevsw
> 
> 
> On the 3.0rc5 setup, with MFS mounted /dev:
> 
>   sparc# cat /dev/ksyms > ksyms
>   sparc# /usr/bin/nm ksyms | grep rnd_cdevsw
>   f02d697c A rnd_cdevsw

Dunno...  Try enabling RND_VERBOSE in sys/dev/rnd.c

rnd(4) only returns ENXIO if it's not inited or the minor is wrong.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen