<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: /dev/random error on hpvm creation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802847#M522144</link>
    <description>&lt;P&gt;The error is likely coming from uuidgen(1) which modify may call to generate MAC address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check if the device files point to the correct driver (rng):&lt;/P&gt;&lt;P&gt;# lsdev|grep 130&lt;/P&gt;&lt;P&gt;if not, recreate the device files with the correct major number.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2015 13:03:50 GMT</pubDate>
    <dc:creator>Stan_M</dc:creator>
    <dc:date>2015-10-16T13:03:50Z</dc:date>
    <item>
      <title>/dev/random error on hpvm creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802841#M522143</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm seeing an odd issue on an HPUX 11.23 server when attempting to create an hpvm:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;# &lt;STRONG&gt;hpvmmodify -P hpvmSS -a network:lan::vswitch:vmswitch&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;open: /dev/random: No such device&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;hpvmmodify: ERROR (host): Unable to get proposal: No such device.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;open: /dev/random: No such device&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;hpvmmodify: ERROR (host): Unable to get proposal: No such device.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;open: /dev/random: No such device&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;hpvmmodify: ERROR (host): Unable to get proposal: No such device.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;hpvmmodify: WARNING (host): Failed after 3 attempts.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;hpvmmodify: WARNING (host): Unable to create Ethernet MAC Address.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The initial error is opening /dev/random ( no such device) but it exists:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# ll /dev/random /dev/urandom&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;crw-r--r-- 1 root sys 130 0x000000 Oct 14 11:51 /dev/random&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;crw-r--r-- 1 root sys 130 0x000009 Jun 23 16:20 /dev/urandom&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the software for rng exists:&lt;/P&gt;&lt;P&gt;# &lt;STRONG&gt;swlist -l fileset | grep -i random&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;OS-Core.RNG-DKRN B.11.23 HP-UX Strong Random Number Generator &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# PHKL_31506 1.0 Kernel Random Number Generator patch&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the rnd module is loaded:&lt;/P&gt;&lt;P&gt;#&lt;STRONG&gt; kcmodule -v rng&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;Module rng (0.1.0)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Description Strong Random Number Generator&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;State loaded (as requested)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;State at Next Boot loaded (as requested)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Capable loaded unused&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Depends On interface HPUX_11_23:1.0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I've tried copying an earlier rng module to current:&lt;/P&gt;&lt;P&gt;#&lt;STRONG&gt; ll /stand/*/mod/rng&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;-r-------- 2 root sys 92744 Oct 13 15:56 /stand/backup/mod/rng&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-r-------- 2 root sys 92744 Oct 13 15:56 /stand/current/mod/rng&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-r--r--r-- 1 bin bin 92744 Aug 27 2004 /stand/last_install/mod/rng&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-r-------- 2 root sys 92744 Oct 13 15:56 /stand/nextboot/mod/rng&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all filesets are showing as configured:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;swlist -l fileset -a state&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short, I'm not sure what the issue is so if anyone has any ideas ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 12:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802841#M522143</guid>
      <dc:creator>paul_xedos</dc:creator>
      <dc:date>2015-10-16T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/random error on hpvm creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802847#M522144</link>
      <description>&lt;P&gt;The error is likely coming from uuidgen(1) which modify may call to generate MAC address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check if the device files point to the correct driver (rng):&lt;/P&gt;&lt;P&gt;# lsdev|grep 130&lt;/P&gt;&lt;P&gt;if not, recreate the device files with the correct major number.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 13:03:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802847#M522144</guid>
      <dc:creator>Stan_M</dc:creator>
      <dc:date>2015-10-16T13:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/random error on hpvm creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802849#M522145</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. Unfortunately it was not that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;# &lt;STRONG&gt;lsdev | grep 130&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;130 -1 hpvmntdvr pseudo&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 13:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802849#M522145</guid>
      <dc:creator>paul_xedos</dc:creator>
      <dc:date>2015-10-16T13:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/random error on hpvm creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802850#M522146</link>
      <description>&lt;P&gt;It's exactly that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The /dev/*random must point to driver 'rng' and not to 'hpvmntdvr'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 13:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802850#M522146</guid>
      <dc:creator>Stan_M</dc:creator>
      <dc:date>2015-10-16T13:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/random error on hpvm creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802859#M522147</link>
      <description>&lt;P&gt;Hey that's great.&lt;/P&gt;&lt;P&gt;I'm ok with how to create&amp;nbsp;the /dev/*random files but could you offer some pointers on how to get them to point to the rng &amp;nbsp;module?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 13:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802859#M522147</guid>
      <dc:creator>paul_xedos</dc:creator>
      <dc:date>2015-10-16T13:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/random error on hpvm creation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802861#M522148</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# lsdev | grep rng&lt;BR /&gt;&lt;/STRONG&gt;&lt;EM&gt;121 -1 rng pseudo&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;# ll /dev/*random&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;crw-r--r-- 1 root sys 130 0x000000 Oct 14 11:51 /dev/random&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;crw-r--r-- 1 root sys 130 0x000009 Jun 23 16:20 /dev/urandom&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;# rm /dev/*random&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;# mknod /dev/urandom c 121 9&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;# mknod /dev/random c 121 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;# chmod 644 /dev/*random&lt;/STRONG&gt;&lt;BR /&gt;# &lt;STRONG&gt;ll /dev/*random&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;crw-r--r-- 1 root sys 121 0x000000 Oct 16 14:51 /dev/random&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;crw-r--r-- 1 root sys 121 0x000009 Oct 16 14:51 /dev/urandom&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hpvmcreate command now works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 13:55:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dev-random-error-on-hpvm-creation/m-p/6802861#M522148</guid>
      <dc:creator>paul_xedos</dc:creator>
      <dc:date>2015-10-16T13:55:47Z</dc:date>
    </item>
  </channel>
</rss>

