SUMMARY: /dev/random in solaris 8 with patch 112438-01

From: Adam Mazza <adam_at_68e.com>
Date: Tue Jul 23 2002 - 14:43:16 EDT
original question:

>I just installed this patch in solaris 8 and was trying to get the module
>and devlinks created without rebooting. The driver itself seems to be
>loaded, but the devicelinks don't seem to exist. I tried running devfsadm
>manually to force them to be created. This failed. Anyone know if it's
>possible to get this loaded without rebooting?

Thanks to: Andrew J Caines, Ed Sanborn, Casper Dik to name a few.

The responses were mixed between, "You need to reboot to lad the driver"
and "Take a look at Andrew's script in the archives (sorry I missed
that)".

Anyway, what I've found now on several machines is that I can install the
patch like the following and all seems fine:

Patch number 112438-01 has been successfully installed.
See /var/sadm/patch/112438-01/log for details
Executing postpatch script...
Reboot client to install driver.

Patch packages installed:
  SUNWcarx
  SUNWcsr
  SUNWhea
  SUNWmdb
  SUNWmdbx

ymir:/tmp% rem_drv random
ymir:/tmp% add_drv random
ymir:/tmp% ls -l /dev/random
lrwxrwxrwx   1 root     other         33 Jul 23 14:32 /dev/random ->
../devices/pseudo/random@0:random

ymir:/home/ops% ls -l /dev/urandom
lrwxrwxrwx   1 root     other         34 Jul 23 14:32 /dev/urandom ->
../devices/pseudo/random@0:urandom

modinfo |grep random
122 10221aa2   1dea 217   1  random (random number device v1.1)


After this i did a:

ymir:/tmp% dd if=/dev/random of=foo bs=512 count=1
1+0 records in
1+0 records out

and this outputed random garbage to foo. After this I was able to
recompile, and install OpenSSH and have it use the random device.

Regards,

Adam Mazza
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Jul 23 14:49:40 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:49 EST