Discussion:
Why am I getting this HHCCP027E Device 0148 not in configuration...
Anyanso
2010-05-13 18:38:30 UTC
Permalink
Hi all,

I have been following the installation and currently struggling to get my MVS TK3 ipl'd but running into the "Device 0148 not in configuration"
problem. I have checked with the cook book ops docs, tried google and whatever else I can find but nothing has been helpful in explaining why and what I am doing wrong and how to fix it.

The problem: Hercules MVS3.8j is up (see log info below) and telnet connection established. However, according to "Operating the MVS 3.8J Tur(n)key System" document, the next thing should be to issue ipl 148 and I did and the result that I got is shown as follows:

No SIGABEND handler +
Regular Expressions support
Automatic Operator support
Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 fetch_dw store_dw
Running on ANYANSO-PKHA40D Windows_NT-5.2 i686 MP=2
HHCHD018I Loadable module directory is hercules
Crypto module loaded (c) Copyright Bernard van der Helm, 2003-20
Active: Message Security Assist +
Message Security Assist Extension 1
Message Security Assist Extension 2
comp=-1,compparm=-1,ra=2,raq=4,rat=2,wr=2,gcint=5,gcparm=0,nostress=0,
freepend=-1,fsync=0,trace=0,linuxnull=0
HHCHT001I HTTP listener thread started: tid=000009F8, pid=2924
HHCHT013I Using HTTPROOT directory "C:\Program Files\Hercules\root\"
HHCCF065I Hercules: tid=00000BD4, pid=2924, pgid=2924, priority=0
HHCHT006I Waiting for HTTP requests on port 80
HHCSD004I Device 0002 bound to socket localhost:3505
HHCSD020I Socketdevice listener thread started: tid=000009F4, pid=2924
HHCTE001I Console connection thread started: tid=00000A08, pid=2924
HHCTE003I Waiting for console connection on port 3270
** tt32_loaddll: LoadLibraryEx("TunTap32.dll") failed; rc=126: The specified mod
HHCCP002I CPU0000 thread started: tid=00000A94, pid=2924, priority=15
HHCCP003I CPU0000 architecture mode z/Arch
HHCTT002I Timer thread started: tid=00000900, pid=2924, priority=-20
HHCPN001I Control panel thread started: tid=00000BD4, pid=2924
HHCSH049I Shared device 0.1 thread started: tid=000009A0, pid=2924
HHCAO001I Hercules Automatic Operator thread started;
tid=00000BD8, pri=0, pid=2924
HHCSH057I Waiting for shared device requests on port 3090
HHCTE009I Client 127.0.0.1 connected to 3215 device 0:0009
ipl 148
HHCCP027E Device 0148 not in configuration

Telnet Connection
Hercules version 3.07 built on Mar 23 2010 01:41:03
running on ANYANSO-PKHA40D (Windows_NT-5.2 i686 MP=2)
Connected to device 0:0009

Here's what my Hercules.cnf looks like:

#
# Hercules Emulator Control file...
# Description: Hercules configuration File
# MaxShutdownSecs: 15
#
#
# System parameters
#

ARCHMODE z/Arch
CCKD RA=2,RAQ=4,RAT=2,WR=2,GCINT=5,GCPARM=0,NOSTRESS=0,TRACE=0,FREEPEND=-1
CNSLPORT 3270
CONKPALV (3,1,10)
CPUMODEL 3090
CPUSERIAL 002623
ECPSVM NO
HTTPPORT 80 NOAUTH
HTTPROOT "C:/Program Files/Hercules/root/"
LPARNAME HERCULES
MAINSIZE 512
MOUNTED_TAPE_REINIT DISALLOW
NUMCPU 1
OSTAILOR Z/OS
PANRATE 50
PGMPRDOS LICENSED
SHCMDOPT NODIAG8
SHRDPORT 3090
SYSEPOCH 1900
TIMERINT 50
TZOFFSET -0500
XPNDSIZE 128
YROFFSET 0

HERCPRIO 0
TODPRIO -20
DEVPRIO 8
CPUPRIO 15

# Card Readers

0001 2501
0002 2501 localhost:3505 sockdev ascii trunc eof

# Card Punches

0003 3525 "C:/Program Files/mvs38j/pch/punch00d.txt" ascii crlf

# Line Printers

0004 3211 "C:/Program Files/mvs38j/prt/print00e.txt" crlf

# Console Printers

0009 3215

# Display Terminals

0010 3270 * 192.168.1.196 255.255.255.0
0011 3270 * 192.168.1.197 255.255.255.0
00C0 3270 * 192.168.1.196 255.255.255.0
00C1-00C2 3270 * 192.168.1.197 255.255.255.0

# CTC Adapters

000E LCS 192.168.200.2
-------------------------------------------


What could I be doing wrong and how can I go about resolving this problem?

Thanks everyone in advance.
ScottC
2010-05-13 19:02:38 UTC
Permalink
Post by Anyanso
What could I be doing wrong and how can I go about resolving this problem?
Your DASD definition cards are missing from your configuration file.

BTW, are you trying to install the system from scratch (or from the
Starter System) or are you just trying to run SETUP and build a working
system without going through the Sysgen Process?

FYI, to build a working system, you don't need to necessarily go through
the Installing the Sysgen System unless you want to build the system
yourself from the ground up.

Scott
Anyanso
2010-05-13 19:30:21 UTC
Permalink
ScottC, thank you for chipping in. What you wrote is precisely what get me confused about installing MVS3.8j. I started trying to build from scratch using Jay Moseley instruction/procedure; discovered that I could use the TK3 package (which I was excited about). Got through installing MVs from the TK3 package to find out I do need to do some extra work like IPL, customization, etc - some things in the process are optional I understand but IPL I must do, right? And that's where I am now and a bit dazed - trying to IPL.

Now, Can I ask what you mean "Your DASD definition cards are missing from your configuration file". I did not read that anywhere but I am sure I missed that requirement. Looking at some configuration examples, I see the required device definitions but nothing about dasd. I do find the following: But it appears to be right where it should be e.g.: C:\Program Files\mvs38j\dasd\mvsres.148 15991 KB 148 file. Is that what you mean missing in my config?

So, how do I get this into the correct config file? Do I have to add all dasd files found in the \dasd folder?
The last time I tried to pull the file in from Hercules GUI (Fish's stuff), it told me the files is already defined?

How do I make this works for me?

Thanks a bunch!
Post by Anyanso
Post by Anyanso
What could I be doing wrong and how can I go about resolving this
problem?
Your DASD definition cards are missing from your configuration file.
BTW, are you trying to install the system from scratch (or from the
Starter System) or are you just trying to run SETUP and build a working
system without going through the Sysgen Process?
FYI, to build a working system, you don't need to necessarily go through
the Installing the Sysgen System unless you want to build the system
yourself from the ground up.
Scott
ScottC
2010-05-13 20:19:01 UTC
Permalink
Post by Anyanso
ScottC, thank you for chipping in. What you wrote is precisely what
get me confused about installing MVS3.8j. I started trying to build from
scratch using Jay Moseley instruction/procedure; discovered that I could
use the TK3 package (which I was excited about). Got through installing
MVs from the TK3 package to find out I do need to do some extra work
like IPL, customization, etc - some things in the process are optional I
understand but IPL I must do, right? And that's where I am now and a bit
dazed - trying to IPL.
You do not really need to do much customization to get the system
working, at least initially. And certainly not have to build a .conf
file from scratch if you have run the SETUP script with the "correct"
responses.

But, without knowing what your objectives are, it is hard to advise you.
Are you just trying to get TK3 MVS 3.8j running in any form, quickly, or
???

If you just want to get the system up quickly (you can always delete
everything and start over), may I suggest the following responses to the
TK3 SETUP question prompts:

1 - setup_type
N - install_Herc_from_CD
N - install_HercGUI_from_CD
Y - install_Cygwin_from_CD
Y - install_c3270_from_CD
3 - DASD_location
Y - install_MVS_Source
Y - install_SMP_Volumes
Y - install_CBT_Volumes
Y - install_Starter_Sys
3270 - Console_Port
3505 - Socket_Rdr_Port
8081 - Web_Server_Port
2 - Hostname_Def
Y - Continue
- <enter>
2 - nbr_3277_master_consoles
1 - nbr_3215_master_consoles
3 - nbr_3270_consoles
Y - Enable_Socket_Rdr
- <enter>
SECRET - Catalog_Password

After the system is built:

1) From the CD, copy \cygwin\HercRdr.exe to the hercules folder

2) Run hercules-3.03_msvc_32.exe (this is old, but is ok and is for a
windows system). Be sure the files get copied to the hercules folder.

3) Then follow the Cookbook to IPL the system. Start here:
http://www.bsp-gmbh.com/turnkey/cookbook/opmvs.html
<http://www.bsp-gmbh.com/turnkey/cookbook/opmvs.html>

Or, an alternative to all this (for a Windows installation) is to run
the TK3qstart script
(http://tech.groups.yahoo.com/group/hercules-os380/files/TK3qstart-0_00g\
c.zip
<http://tech.groups.yahoo.com/group/hercules-os380/files/TK3qstart-0_00g\
c.zip> ), a Windows batch script that I wrote to assist with installing
Turnkey 3 with more up to date components (i.e. Hercules and wc3270
terminal client).

ScottC
Mike Stramba
2010-05-13 19:14:47 UTC
Permalink
Hello Anyanso,

Hmm,

1) Have you downloaded the Turnkey CD / ISO ?
http://www.ibiblio.org/jmaynard/turnkey-mvs-3.zip

If not, then you don't have any DASD (disk drives) devices, where the
MVS O.S. is.

If so, you haven't installed it properly, check the cookbook, and post
back here.

2) You don't have any dasd devices in your config file, and there are
some other "non Turnkey"
items in there (> ARCHMODE z/Arch, PGMPRDOS LICENSED).

I'm guessing that maybe you've downloaded Hercules, and have manually
created the config file,
but haven't downloaded the turnkey system ?

Mike
Anyanso
2010-05-13 19:55:02 UTC
Permalink
Hello MIke,

Yes, I did download the turnkey iso. I may very well not have installed it correctly but I did follow the process Volker Bandke had written. Here is the Turnkey package that I am using
--> hercules-3.03_msvc_32.exe
when I etracted and run the install setup program, it did put a bunch of file in a folder named \hercules\mvs38j\dasd\. Isn't that where it should be looking for these dasd files?

Iten#2 - No dasd in the config. Which config? Hercules or mvs? How or what put these dasd file in the config?
Post by Mike Stramba
Hello Anyanso,
Hmm,
1) Have you downloaded the Turnkey CD / ISO ?
http://www.ibiblio.org/jmaynard/turnkey-mvs-3.zip
If not, then you don't have any DASD (disk drives) devices, where the
MVS O.S. is.
If so, you haven't installed it properly, check the cookbook, and post
back here.
2) You don't have any dasd devices in your config file, and there are
some other "non Turnkey"
items in there (> ARCHMODE z/Arch, PGMPRDOS LICENSED).
I'm guessing that maybe you've downloaded Hercules, and have manually
created the config file,
but haven't downloaded the turnkey system ?
Mike
Mike Stramba
2010-05-13 20:18:34 UTC
Permalink
Hello Anyanso,

If you haven't downloaded the Hercules manuals start with this one

http://www.ibiblio.org/jmaynard/herc307/HerculesUserReference.pdf

and get the rest here :http://www.hercules-390.org/

Then look at "operation" in the Turnkey cookbook.

You should have a "startmvs".bat .cmd file in directory that you
installed the turnkey system.

You can start Hercules with that, or copy the config file that
startmvs is using from the conf directory to where you've installed
the turnkey and start hercules from there, by just typing 'hercules'
at the dos prompt . (Assuming you've put the Hercules directory in
your path).

There is no "mvs" config file, it's a Hercules config file.

The contents of the config file will vary depending if you're running
MVS / VM .. etc (i.e. any O.S. that Hercules supports), or even a
custom written O.S.

At a minimum, the config file will usually have :

- one or more dasd config statements
These tell Hercules where you're dasd files are (virtual disk drives).

- one or more 3270 or telnet terminal definition(s)

See "What is the relationship between an MVS device, the Hercules'
configuration, and the host OS file (or client)?:

http://www.jaymoseley.com/hercules/installmvs/mvsfaq00.htm#General008

Mike
Post by Anyanso
Hello MIke,
Yes, I did download the turnkey iso. I may very well not have installed it
correctly but I did follow the process Volker Bandke had written. Here is
the Turnkey package that I am using
--> hercules-3.03_msvc_32.exe
when I etracted and run the install setup program, it did put a bunch of
file in a folder named \hercules\mvs38j\dasd\. Isn't that where it should be
looking for these dasd files?
Iten#2 - No dasd in the config. Which config? Hercules or mvs? How or what
put these dasd file in the config?
Post by Mike Stramba
Hello Anyanso,
Hmm,
1) Have you downloaded the Turnkey CD / ISO ?
http://www.ibiblio.org/jmaynard/turnkey-mvs-3.zip
If not, then you don't have any DASD (disk drives) devices, where the
MVS O.S. is.
If so, you haven't installed it properly, check the cookbook, and post
back here.
2) You don't have any dasd devices in your config file, and there are
some other "non Turnkey"
items in there (> ARCHMODE z/Arch, PGMPRDOS LICENSED).
I'm guessing that maybe you've downloaded Hercules, and have manually
created the config file,
but haven't downloaded the turnkey system ?
Mike
kerravon86
2010-05-13 23:03:45 UTC
Permalink
Post by Anyanso
when I etracted and run the install setup program, it
did put a bunch of file in a folder
named \hercules\mvs38j\dasd\. Isn't that where it
should be looking for these dasd files?
Did it also create a \hercules\mvs38j\conf\ ?

Is there a turnkey_mvs.conf in there?

If so, take a look at its contents, and especially
look at all occurrences of the word "dasd".

Do you have a startmvs.bat in \hercules\mvs38j\ ?

If so, take a look at its contents, and especially
the reference to "turnkey_mvs.conf".

BFN. Paul.
Kevin Monceaux
2010-05-13 19:22:21 UTC
Permalink
Anyanso,
Post by Anyanso
The problem: Hercules MVS3.8j is up
No, only Hercules is up.
Post by Anyanso
However, according to "Operating the MVS 3.8J Tur(n)key System" document,
the next thing should be to issue ipl 148
Since you haven't successfully IPLd yet MVS isn't up.
Post by Anyanso
What could I be doing wrong
There's not a single DASD volume in your config file. The MVSRES volume
should be at address 148. Mine looks something like:

0148 3350 dasd/mvsres.148 ro sf=shadow/mvsres_1.148

There should be several other DASD volumes in your config file also.
Post by Anyanso
and how can I go about resolving this problem?
Use a complete config file. It's been a while since I performed a fresh
install of the Turnkey system. Looking at my current setup there is a
config directory with more config files than one can shake a stick at. The
config file I use is config/turnkey_mvs.conf . Do you have such a file with
your Turnkey installation? If so, it might be worth a try. :-)
--
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
Anyanso
2010-05-13 19:37:09 UTC
Permalink
Hello Kevin,

Thank you for your post. Not to waste space, can you take a look at my response to ScottC. Ok, you say I need this and all other dasd file in my config. Fine. I will now take a good look at the file you said to look at.
Post by Mike Stramba
Anyanso,
Post by Anyanso
The problem: Hercules MVS3.8j is up
No, only Hercules is up.
Post by Anyanso
However, according to "Operating the MVS 3.8J Tur(n)key System" document,
the next thing should be to issue ipl 148
Since you haven't successfully IPLd yet MVS isn't up.
Post by Anyanso
What could I be doing wrong
There's not a single DASD volume in your config file. The MVSRES volume
0148 3350 dasd/mvsres.148 ro sf=shadow/mvsres_1.148
There should be several other DASD volumes in your config file also.
Post by Anyanso
and how can I go about resolving this problem?
Use a complete config file. It's been a while since I performed a fresh
install of the Turnkey system. Looking at my current setup there is a
config directory with more config files than one can shake a stick at. The
config file I use is config/turnkey_mvs.conf . Do you have such a file with
your Turnkey installation? If so, it might be worth a try. :-)
--
Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX
What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
Anyanso
2010-05-15 01:08:22 UTC
Permalink
Thanks all that helped me understand what I needed to do for this issue.

Again, thanks everybody

Anyanso
Post by Anyanso
Hi all,
I have been following the installation and currently struggling to get my MVS TK3 ipl'd but running into the "Device 0148 not in configuration"
problem. I have checked with the cook book ops docs, tried google and whatever else I can find but nothing has been helpful in explaining why and what I am doing wrong and how to fix it.
No SIGABEND handler +
Regular Expressions support
Automatic Operator support
Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 fetch_dw store_dw
Running on ANYANSO-PKHA40D Windows_NT-5.2 i686 MP=2
HHCHD018I Loadable module directory is hercules
Crypto module loaded (c) Copyright Bernard van der Helm, 2003-20
Active: Message Security Assist +
Message Security Assist Extension 1
Message Security Assist Extension 2
comp=-1,compparm=-1,ra=2,raq=4,rat=2,wr=2,gcint=5,gcparm=0,nostress=0,
freepend=-1,fsync=0,trace=0,linuxnull=0
HHCHT001I HTTP listener thread started: tid=000009F8, pid=2924
HHCHT013I Using HTTPROOT directory "C:\Program Files\Hercules\root\"
HHCCF065I Hercules: tid=00000BD4, pid=2924, pgid=2924, priority=0
HHCHT006I Waiting for HTTP requests on port 80
HHCSD004I Device 0002 bound to socket localhost:3505
HHCSD020I Socketdevice listener thread started: tid=000009F4, pid=2924
HHCTE001I Console connection thread started: tid=00000A08, pid=2924
HHCTE003I Waiting for console connection on port 3270
** tt32_loaddll: LoadLibraryEx("TunTap32.dll") failed; rc=126: The specified mod
HHCCP002I CPU0000 thread started: tid=00000A94, pid=2924, priority=15
HHCCP003I CPU0000 architecture mode z/Arch
HHCTT002I Timer thread started: tid=00000900, pid=2924, priority=-20
HHCPN001I Control panel thread started: tid=00000BD4, pid=2924
HHCSH049I Shared device 0.1 thread started: tid=000009A0, pid=2924
HHCAO001I Hercules Automatic Operator thread started;
tid=00000BD8, pri=0, pid=2924
HHCSH057I Waiting for shared device requests on port 3090
HHCTE009I Client 127.0.0.1 connected to 3215 device 0:0009
ipl 148
HHCCP027E Device 0148 not in configuration
Telnet Connection
Hercules version 3.07 built on Mar 23 2010 01:41:03
running on ANYANSO-PKHA40D (Windows_NT-5.2 i686 MP=2)
Connected to device 0:0009
#
# Hercules Emulator Control file...
# Description: Hercules configuration File
# MaxShutdownSecs: 15
#
#
# System parameters
#
ARCHMODE z/Arch
CCKD RA=2,RAQ=4,RAT=2,WR=2,GCINT=5,GCPARM=0,NOSTRESS=0,TRACE=0,FREEPEND=-1
CNSLPORT 3270
CONKPALV (3,1,10)
CPUMODEL 3090
CPUSERIAL 002623
ECPSVM NO
HTTPPORT 80 NOAUTH
HTTPROOT "C:/Program Files/Hercules/root/"
LPARNAME HERCULES
MAINSIZE 512
MOUNTED_TAPE_REINIT DISALLOW
NUMCPU 1
OSTAILOR Z/OS
PANRATE 50
PGMPRDOS LICENSED
SHCMDOPT NODIAG8
SHRDPORT 3090
SYSEPOCH 1900
TIMERINT 50
TZOFFSET -0500
XPNDSIZE 128
YROFFSET 0
HERCPRIO 0
TODPRIO -20
DEVPRIO 8
CPUPRIO 15
# Card Readers
0001 2501
0002 2501 localhost:3505 sockdev ascii trunc eof
# Card Punches
0003 3525 "C:/Program Files/mvs38j/pch/punch00d.txt" ascii crlf
# Line Printers
0004 3211 "C:/Program Files/mvs38j/prt/print00e.txt" crlf
# Console Printers
0009 3215
# Display Terminals
0010 3270 * 192.168.1.196 255.255.255.0
0011 3270 * 192.168.1.197 255.255.255.0
00C0 3270 * 192.168.1.196 255.255.255.0
00C1-00C2 3270 * 192.168.1.197 255.255.255.0
# CTC Adapters
000E LCS 192.168.200.2
-------------------------------------------
What could I be doing wrong and how can I go about resolving this problem?
Thanks everyone in advance.
Loading...