Subject: Re: /dev/random apparently not configured.
To: None <port-sparc@NetBSD.org>
From: Barrie Bremner <netbsd@barriebremner.com>
List: port-sparc
Date: 12/08/2005 00:36:33
>>>>> "Brian" == Brian Buhrow <buhrow@lothlorien.nfbcal.org> writes:

    Brian> 	Here's a dumb question.  Is it possible the MAKEDEV
    Brian> and kernel are out of sync with respect to the major and
    Brian> minor numbers of the /dev/random device?  I believe you can
    Brian> see the numbers in the conf.c file in the build directory
    Brian> of a configured kernel, before you compile it.

The file in question is src/sys/arch/sparc/conf/majors.sparc.

It looks like things are in sync (NetBSD 2.0.x):

src/sys/arch/sparc/conf/majors.sparc:

  device-major    rnd             char 119                rnd


/dev/MAKEDEV:

        mkdev random    c 119 0 444
        mkdev urandom   c 119 1 644


Worth checking, but it doesn't appear to be the problem.

-- 
Barrie J. Bremner
netbsd [at] barriebremner.com     http://barriebremner.com/