Opened 3 years ago

Last modified 7 months ago

#63925 new defect

Hercules (3.13) fails to recognize devices from configuration

Reported by: oseiberts11 (O Seibert Syseleven) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: hercules

Description

When trying to use Hercules 3.13 with the VM/370 Community Edition 1.1 (from http://www.vm370.org/VM/V1R1.1) it fails to process the configuration (vm370ce.conf):

Hercules Version 3.13
(c)Copyright 1999-2015 by Roger Bowler, Jan Jaeger, and others
Built on Jun  4 2021 at 09:34:11
Build information:
  Modes: S/370 ESA/390 z/Arch
  Max CPU Engines: 8
  Using setreuid() for setting privileges
  Dynamic loading support
  Using shared libraries
  HTTP Server support
  Regular Expressions support
  Automatic Operator support
  Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8
Running on oseibert Darwin-20.6.0.Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 x86_64 MP=4
HHCHD018I Loadable module directory is /opt/local/lib/hercules
HHCCF065I Hercules: tid=1150EFE00, pid=57972, pgid=57972, priority=8
HHCCF042E Device type 3505 not recognized
HHCCF042E Device type 3525 not recognized
HHCCF042E Device type 1403 not recognized
HHCCF042E Device type 1403 not recognized
HHCCF042E Device type 3215-C not recognized
HHCCF042E Device type 3270 not recognized
HHCCF042E Device type 3270 not recognized
HHCCF042E Device type 3270 not recognized
HHCCF042E Device type 3270 not recognized
HHCCF042E Device type 3270 not recognized
HHCCF042E Device type 3270 not recognized
HHCCF042E Device type 3270 not recognized
HHCCF042E Device type 1052 not recognized
HHCCF042E Device type 3420 not recognized
HHCCF042E Device type 3420 not recognized
HHCCF042E Device type 3420 not recognized
HHCCF042E Device type 3420 not recognized
...

My guess is that it doesn't manage to load the shared libraries which implement those device types. The libraries do seem to be present in the listed directory "/opt/local/lib/hercules" though.

Also, it would be a good idea to package Hercules 4 from https://github.com/SDL-Hercules-390/hyperion because the existing Hercules package is really really really old.

Change History (1)

comment:1 Changed 7 months ago by OldSchoolAdm1n

In /opt/local/lib/hercules create a symlink to the module that you wish to load, IE: @hdt3270 ---> hdt3270.so.

Hercules will now load the symlink, which points to the actual module, and now will load it. Repeat as necessary for your needs.

Note: See TracTickets for help on using tickets.