Subject: kern/33718: i386 DISKLESS kernel configuration file should include rnd pseudo device for ssh
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <kdev@no-log.org>
List: netbsd-bugs
Date: 06/13/2006 16:35:00
>Number:         33718
>Category:       kern
>Synopsis:       i386 DISKLESS kernel configuration file should include rnd pseudo device for ssh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 13 16:35:00 +0000 2006
>Originator:     Emmanuel Kasper
>Release:        3.0
>Organization:
>Environment:
NetBSD sunpci 3.0 NetBSD 3.0 (DISKLESS) #4: Tue Jun 13 11:38:14 EDT 2006  kdev@td143.testdrive.hp.com:/tmp/kdev/usr/src/sys/arch/i386/compile/DISKLESS i386
>Description:
While installing netbsd on a sunpci-II card via the diskless method ( the doc I wrote is here http://kdev.freeshell.org/sunpci/ ) I noticed that the default DISKLESS kernel does not include the rnd pseudo device necessary to start sshd. Since sshd is in the base system, shouldn't rnd be included in all kernel configuration files ? 
This took some time to track done since /etc/rc.d/sshd start exited without any failure message, and with an exit code of 0.

Also the network card used by the sunpci is not included in the DISKLESS kernel configuration file. Shouldn't DISKLESS include all NetBSD supported NIC ? 
>How-To-Repeat:
Build a kernel with DISKLESS configuration, boot it.
>Fix:
Add 
# rnd works; RND_COM does not on port i386 yet.
pseudo-device   rnd                     # /dev/random 
sip*    at pci? dev ? function ?        # SiS 900/DP83815 Ethernet

to DISKLESS kernel configuration file