- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Virtualization
- >
- Re: /dev/random error on hpvm creation
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
10-16-2015 05:29 AM
10-16-2015 05:29 AM
Hi,
I'm seeing an odd issue on an HPUX 11.23 server when attempting to create an hpvm:
# hpvmmodify -P hpvmSS -a network:lan::vswitch:vmswitch
open: /dev/random: No such device
hpvmmodify: ERROR (host): Unable to get proposal: No such device.
open: /dev/random: No such device
hpvmmodify: ERROR (host): Unable to get proposal: No such device.
open: /dev/random: No such device
hpvmmodify: ERROR (host): Unable to get proposal: No such device.
hpvmmodify: WARNING (host): Failed after 3 attempts.
hpvmmodify: WARNING (host): Unable to create Ethernet MAC Address.
The initial error is opening /dev/random ( no such device) but it exists:
# ll /dev/random /dev/urandom
crw-r--r-- 1 root sys 130 0x000000 Oct 14 11:51 /dev/random
crw-r--r-- 1 root sys 130 0x000009 Jun 23 16:20 /dev/urandom
and the software for rng exists:
# 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
the rnd module is loaded:
# kcmodule -v rng
Module rng (0.1.0)
Description Strong Random Number Generator
State loaded (as requested)
State at Next Boot loaded (as requested)
Capable loaded unused
Depends On interface HPUX_11_23:1.0
and I've tried copying an earlier rng module to current:
# ll /stand/*/mod/rng
-r-------- 2 root sys 92744 Oct 13 15:56 /stand/backup/mod/rng
-r-------- 2 root sys 92744 Oct 13 15:56 /stand/current/mod/rng
-r--r--r-- 1 bin bin 92744 Aug 27 2004 /stand/last_install/mod/rng
-r-------- 2 root sys 92744 Oct 13 15:56 /stand/nextboot/mod/rng
all filesets are showing as configured:
swlist -l fileset -a state
In short, I'm not sure what the issue is so if anyone has any ideas ....
Thanks
Paul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-16-2015 06:03 AM
10-16-2015 06:03 AM
Re: /dev/random error on hpvm creation
The error is likely coming from uuidgen(1) which modify may call to generate MAC address.
Check if the device files point to the correct driver (rng):
# lsdev|grep 130
if not, recreate the device files with the correct major number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-16-2015 06:17 AM
10-16-2015 06:17 AM
Re: /dev/random error on hpvm creation
Hi,
Thanks for the suggestion. Unfortunately it was not that
# lsdev | grep 130
130 -1 hpvmntdvr pseudo
regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-16-2015 06:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-16-2015 06:47 AM
10-16-2015 06:47 AM
Re: /dev/random error on hpvm creation
Hey that's great.
I'm ok with how to create the /dev/*random files but could you offer some pointers on how to get them to point to the rng module?
Thanks
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-16-2015 06:55 AM
10-16-2015 06:55 AM
Re: /dev/random error on hpvm creation
# lsdev | grep rng
121 -1 rng pseudo
# ll /dev/*random
crw-r--r-- 1 root sys 130 0x000000 Oct 14 11:51 /dev/random
crw-r--r-- 1 root sys 130 0x000009 Jun 23 16:20 /dev/urandom
# rm /dev/*random
# mknod /dev/urandom c 121 9
# mknod /dev/random c 121 0
# chmod 644 /dev/*random
# ll /dev/*random
crw-r--r-- 1 root sys 121 0x000000 Oct 16 14:51 /dev/random
crw-r--r-- 1 root sys 121 0x000009 Oct 16 14:51 /dev/urandom
hpvmcreate command now works
Thanks very much
Paul
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP