- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't load rng module
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 04:30 PM
тАО01-09-2009 04:30 PM
Can't load rng module
The problem is that I can't add the node because the rng-module fail to start:
*******:/ #kcmodule rng=loaded
* The automatic 'backup' configuration has been updated.
ERROR: Unable to load module 'rng': No locks available
I have tried to double the nflock kernel parameter to 8192 (found a hint on the web), but this didn't help.
Any help will be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 06:01 PM
тАО01-09-2009 06:01 PM
Re: Can't load rng module
Let's start with the basics:
a) Do you have a proper patch:
# swlist -l fileset | grep -i random
OS-Core.RNG-DKRN B.11.23 HP-UX Strong Random Number Generator
PHKL_31506 1.0 Kernel Random Number Generator patch
b) Does lsdev report the following:
# lsdev | grep rng
105 -1 rng pseudo
c) What do permissions show:
# ll /dev/random /dev/urandom
crw-r--r-- 1 root root 105 0x000000 Apr 16 2008 /dev/random
crw-r--r-- 1 root root 105 0x000001 Apr 16 2008 /dev/urandom
d) What is the usage of kernel parameters?
# kcusage
e) Do you have any errors checking:
# swverify \*
f) Does this command work without errors:
# insf -e
g) Any errors in syslogs?
h) What does this command show:
# ll /stand/*/mod/rng
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 06:41 PM
тАО01-09-2009 06:41 PM
Re: Can't load rng module
Yes, patch is there.
b) Does lsdev report the following:
Not excactly:
******:/ #lsdev | grep rng
115 -1 rng unknown
c) What do permissions show:
# ll /dev/random /dev/urandom
Looks right
d) What is the usage of kernel parameters?
# kcusage
Tunable Usage / Setting
=============================================
dbc_max_pct 22 / 50
maxdsiz 264085504 / 4294963200
maxdsiz_64bit 51953664 / 4294967296
maxfiles_lim 576 / 12288
maxssiz 1572864 / 8388608
maxssiz_64bit 81920 / 268435456
maxtsiz 315392 / 100663296
maxtsiz_64bit 12288 / 1073741824
maxuprc 29 / 4095
max_thread_proc 381 / 3000
maxvgs 2 / 20
msgmni 2 / 512
msgseg 0 / 8192
msgtql 0 / 1024
nfile 2077 / 65536
nflocks 53 / 8192
ninode 2230 / 12288
nkthread 1749 / 16500
nproc 189 / 16400
npty 0 / 128
nstrpty 2 / 128
nstrtel 0 / 60
nswapdev 1 / 10
nswapfs 0 / 10
semmni 39 / 2048
semmns 158 / 16384
shmmax 32671920 / 1073741824
shmmni 43 / 1024
shmseg 26 / 1024
e) Do you have any errors checking:
# swverify \*
Some errors. Will look into it.
f) Does this command work without errors:
# insf -e
Yes
g) Any errors in syslogs?
Jan 10 03:14:33 ******** vmunix: NOTICE: mod_load_helper: gio_mod_opstart load failed, mcp->mc_typep = 0xb75b1040
Jan 10 03:15:47 ******** cmclconfd[2253]: Unable to open /dev/urandom (No such device).
Jan 10 03:15:47 ******** cmclconfd[2253]: Failed to generate 64 from prng.
h) What does this command show:
# ll /stand/*/mod/rng
-r--r--r-- 1 bin bin 92744 Aug 27 2004 /stand/last_install/mod/rng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2009 06:44 PM
тАО01-09-2009 06:44 PM
Re: Can't load rng module
Starting IPFilter
Output from "/sbin/rc2.d/S131ipfboot start":
----------------------------
open device: No such device
ioctl(SIOCGETFS: Bad file number
open device: No such device
ioctl(SIOCIPFFL): Bad file number
/sbin/rc2.d/S131ipfboot: load of /etc/opt/ipf/ipf.conf into alternate set failed
/sbin/rc2.d/S131ipfboot: load of /etc/opt/ipf/ipf6.conf into alternate set failed
/dev/ipnat: open: No such device
/sbin/rc2.d/S131ipfboot: load of /etc/opt/ipf/ipnat.conf failed
/dev/ipl: open: No such device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2009 07:38 PM
тАО01-10-2009 07:38 PM
Re: Can't load rng module
Try this:
# cp -r /stand/last_install/mod/rng /stand/current/mod
... and then see how it goes with loading the
module.
Also, try again:
# insf e
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 12:00 AM
тАО01-12-2009 12:00 AM
Re: Can't load rng module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2009 01:57 AM
тАО01-12-2009 01:57 AM
Re: Can't load rng module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 03:36 AM
тАО01-15-2009 03:36 AM
Re: Can't load rng module
There was a problem with an old fc-driver that caused this. Not easy to find out, but thanks to HP support it was solved.
The fc-driver that was installed was from the september 06 release of HP-UX 11.23.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2009 01:19 PM
тАО02-17-2009 01:19 PM
Re: Can't load rng module
What FC Patch specifically did you use for the FC?
Thanks,
Jon