Problem
Failed to open dynamic memory driver, error: No such device or address.
Error: hpvmdaemon: hpvm_inguest_dynmem_get_driver_stats() failed.
Invalid ahpvmDaemonBin: Error on fread system call B: No such file or directory
rgument, dynmem pointer NULL.
19:53:52 24.05.2016 ERROR: pfhpuxvirt.c 235: HPVMGuestLib_UpdateInfo(): return code 6
Solution
- Install latest vmGuestLib patch:
PHSS_43650 HPVM B.06.20 vmGuestLib PATCH
- Check/recreate memory device driver file:
# ll /dev/hpvmdynmem
crw-r--r-- 1 root sys 145 0x000000 May 15 2015 /dev/hpvmdynmem
# lsdev | grep -E -e 'hpvmdynmem|145'
144 -1 hpvmdynmem pseudo
145 -1 fcoc_fcp fcp
The major number of the current device file is wrong (145 instead 144)
Querying the memory driver will not work:
# cat < /dev/hpvmdynmem
sh: /dev/hpvmdynmem: Cannot find or open the file.
So we recreate the device file with the right major number:
# rm /dev/hpvmdynmem
# mknod /dev/hpvmdynmem c 144 0
# ll /dev/hpvmdynmem
crw-r--r-- 1 root sys 144 0x000000 May 25 11:42 /dev/hpvmdynmem
Now querying the memory driver works again:
# cat </dev/hpvmdynmem
mode = 2
type = 4
physmem = 1833216 pages 7161 Mbytes
current size = 1833216 pages 7161 Mbytes
target size = 1833216 pages 7161 Mbytes
default size = 1833216 pages 7161 Mbytes
freemem = 99775 pages 389 Mbytes
available = 893611 pages 3490 Mbytes
chunk size = 16384 pages 65536 Kbytes
ram_dyn_min = 0 pages 0 Mbytes
ram_dyn_max = 1833216 pages 7161 Mbytes
ram_dyn_type = 2
host error = 0
pressure = 80
malloc usage = 8192 bytes 0 Mbytes
balloon size = 0 pages 0 Mbytes
pending size = 0 pages 0 Mbytes
commit size = 0 pages 0 Mbytes
sent size = 0 pages 0 Mbytes
pending op = 0
retry count = 120
See also
https://wiki.scn.sap.com/wiki/display/Basis/Hanging,+zombie,+defunct+SAPOSCOL+process+on+HP-UX
Leave a comment