[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Hercules and a strange CTCI error



Heey. How you all are going? Hope everyone's fine!

Well, let's go to the problem.

So I'm trying to set up an emulated mainframe in Hercules, having as a host an Windows Server 2003 32-bit, with WinPcap and CTC-W32 installed and properly configured, as Hercules itself atests, judging by devlist command and no boot up errors.

Devlist:
0:000C 3505 punch2/kernel.debian autopad eof
0:0120 3390 3390.debian_dasd_ipl120 [3339 cyls] open
0:0130 9336 C:\mydocs\wheezy-s390.iso [0,1327228] open
0:0190 3480 tape/debian.tdf ro [1:00000000] Display: " READY  " *FP* open
0:0200 3270
0:0201 3270
0:0202 3270 GROUP=noprompt
0:0203 3215
0:0204 3215
0:0205 3215
0:0D00 3088 CTCI 198.168.0.145/198.168.0.105 (tun0) open
0:0D01 3088 CTCI 198.168.0.145/198.168.0.105 (tun0) open
0:0E20 3088 LCS Port 00 IP (tap0) open
0:0E21 3088 LCS Port 00 IP (tap0) open
0:1070 3211 *printer.c* lpt1 crlf print fcbck

I'm using the following configuration:

#Linux Hercules

#Sys

#Hercules
CNSLPORT 2210
PANRATE FAST
PANTITLE "Debian S/390"

#System aspects
#ARCHMODE ESA/390
#CPUMODEL 9672
#CPUSERIAL 000069
CPUSERIAL 002623              # CPU serial number
CPUMODEL  2064                # CPU model number
CPUVERID FD
ARCHMODE ESAME
MAINSIZE 756
NUMCPU 2

#OS
LOADPARM 0120....
OSTAILOR LINUX
SYSEPOCH  1900              

#Devices
#   .-----------------------Device number
#   |     .-----------------Device type
#   |     |       .---------File name and parameters
#   |     |       |
#   V     V       V
# ----    ----    --------------------
#Terminal
0200    SYSG   
0201    3270   
0202    3270    noprompt
0203    3215   
0204    3215   
0205    3215   
#Tape
0190    3480    tape/debian.tdf
#Punch
000C    3505    punch2/kernel.debian punch2/parmfile.debian punch2/initrd.debian autopad eof
#Printer
1070    3211    lpt1 crlf
#Network
0E20-0E21        LCS -n 198.168.0.105 198.168.0.200
0D00,0D01        CTCI -n 198.168.0.105 198.168.0.145 198.168.0.105
#0A00,0A01        CTCI 198.168.0.120 198.168.0.105
#DASD Drives
0120    3390    3390.debian_dasd_ipl120

Well, I tried a lot of different network setups, including only CTCI or only LCS. Neverthless, none of them ever worked. But, at that point, you should be asking: "So, what's the problem?". Well, in fact everything is okay during the whole boot process, however it starts to mess it up here:

Configure the network device
----------------------------

Please choose the type of your primary network interface that you will need for
installing the Debian system (via NFS or HTTP). Only the listed devices are
supported.
Network device type:
  1: ctc: Channel to Channel (CTC) or ESCON connection,
  2: qeth: OSA-Express in QDIO mode / HiperSockets,
  3: iucv: Inter-User Communication Vehicle - available for VM guests only,
  4: virtio: KVM VirtIO,
Prompt: '?' for help>

As a trained monkey, I naturally select the 1, by typing .1 at Hercules console, thus transmiting the command to Hercules. But the installer seems to dislike me, or the computer, or the world, or whatever, judging by it's bad reply:

1

   ERROR: No CTC or ESCON connections

Please make sure that you have set them up correctly.
 Press enter to continue!


So, the only thing that I can do is send enter twice and stare at the main 10-item pre-install menu. It won't detect any CTCI device, nor OSA or Hiper-Sockets. Being TCP setup so important to Debian installation, I can't get beyond this point. In fact, I got it working with images loaded at the punch card reader, but only one time. When I ran them by the second time, it shows me the same error.

I'm
going to post the Hercules console's log, from the program start until the shutdown, at the bottom of this message.

What's going on?

Hopefully it's a simple thing. Well, simple or not, thanks from the begining. And sorry for the butchered english.

Thanks,
Pedro Pinheiro

--

Log as follow:

23:22:56 Hercules Version 3.08
23:22:56 (c)Copyright 1999-2010 by Roger Bowler, Jan Jaeger, and others
23:22:56 Built on Dec  7 2012 at 23:31:41
23:22:56 Build information:
23:22:56   Windows (MSVC) build for i386
23:22:56   Modes: S/370 ESA/390 z/Arch
23:22:56   Max CPU Engines: 8
23:22:56   Using fthreads instead of pthreads
23:22:56   Dynamic loading support
23:22:56   Using shared libraries
23:22:56   HTTP Server support
23:22:56   No SIGABEND handler
23:22:56   Regular Expressions support
23:22:56   Automatic Operator support
23:22:56   Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 fetch_dw store_dw
23:22:56 Running on PRPBOOK Windows_NT-5.2 i686 MP=2
23:22:56 HHCHD018I Loadable module directory is hercules
23:22:56 Crypto module loaded (c) Copyright Bernard van der Helm, 2003-2010
23:22:56   Active: Message Security Assist
23:22:56           Message Security Assist Extension 1
23:22:56           Message Security Assist Extension 2
23:22:56           Message Security Assist Extension 3
23:22:56           Message Security Assist Extension 4
23:22:56 HHCCF065I Hercules: tid=00001CC0, pid=5764, pgid=5764, priority=0
23:22:56 HHCTE001I Console connection thread started: tid=00001E64, pid=5764
23:22:56 HHCTE003I Waiting for console connection on port 2210
23:22:56 HHCTA004I 0190: tape/debian.tdf is a Optical Media Attachment (OMA) tape
23:22:56 HHCTA010I 0190: Now Displays: " NT RDY "
23:22:56 TunTap32.dll version 3.2.1.160 initiated
23:22:56 HHCLC073I 0E20: TAP device tap0 opened
23:22:56 HHCCT073I 0D00: TUN device tun0 opened
23:22:56 HHCDA020I 3390.debian_dasd_ipl120 cyls=3339 heads=15 tracks=50085 trklen=56832
23:22:56 HHCCP002I CPU0000 thread started: tid=00000360, pid=5764, priority=15
23:22:56 HHCCP003I CPU0000 architecture mode z/Arch
23:22:56 HHCTT002I Timer thread started: tid=00001554, pid=5764, priority=0
23:22:56 HHCCP002I CPU0001 thread started: tid=00001DD0, pid=5764, priority=15
23:22:56 HHCCP003I CPU0001 architecture mode z/Arch
23:22:56 HHCPN001I Control panel thread started: tid=00001CC0, pid=5764
23:22:56 HHCAO001I Hercules Automatic Operator thread started;
23:22:56           tid=000016AC, pri=0, pid=5764
23:23:05 ipl D:\d390.ins
23:23:05 HHCCP007I CPU0000 architecture mode set to ESA/390
23:23:05 CPU0000: SIGP Set architecture mode (12) CPU0000, PARM 00000002: CC 0
23:23:05 HHCCP007I CPU0000 architecture mode set to z/Arch
23:23:06 HHCCP014I CPU0000: Specification exception CODE=0006 ILC=4
23:23:06 CPU0000:  PSW=00002001 80000000 000000000001F15C INST=83020308     DIAG  0,2,776(0)             diagnose
23:23:06 CPU0000:  R:0000000000000308:K:06=00000000 00000000 00000000 00000000  ................
23:23:06 CPU0000: R0=0000000000609000 R1=0000000000000000
23:23:06 CPU0000: R2=0000000000000006 R3=0000000000609000
23:23:06 CPU0000: R4=0000000000000000 R5=00000000003C2760
23:23:06 CPU0000: R6=0000000000000000 R7=0000000000000000
23:23:06 CPU0000: R8=0000000000000000 R9=0000000000000000
23:23:06 CPU0000: RA=0000000000000000 RB=0000000000000000
23:23:06 CPU0000: RC=0000000000010408 RD=00000000003C2778
23:23:06 CPU0000: RE=00000000005D0FF0 RF=0000000000579F00
23:23:07 HHCCP014I CPU0000: Operation exception CODE=0001 ILC=4
23:23:07 CPU0000:  PSW=04042001 80000000 00000000005D2632 INST=B9AB0000     ????? ,                      ?
23:23:07 CPU0000:  V:0000000000000000:K:06=00000000 00000000 00000000 00000000  ................
23:23:07 CPU0000:  V:0000000000000000:K:06=00000000 00000000 00000000 00000000  ................
23:23:07 CPU0000: R0=0000000000000000 R1=00000000FFFFFFA1
23:23:07 CPU0000: R2=000000000058B518 R3=0000000000000001
23:23:07 CPU0000: R4=0000000000606008 R5=00000000000136D0
23:23:07 CPU0000: R6=00000000005CC0F8 R7=0000000000000000
23:23:07 CPU0000: R8=0000000000000000 R9=00000000005F4000
23:23:07 CPU0000: RA=0000000000605010 RB=00000000005F4000
23:23:07 CPU0000: RC=0000000000580970 RD=00000000003C5068
23:23:07 CPU0000: RE=00000000005D206C RF=0000000000579E88
23:23:08 HHCCP014I CPU0000: Operation exception CODE=0001 ILC=4
23:23:08 CPU0000:  PSW=04042001 80000000 00000000005CEC86 INST=B2162000     ????? ,                      ?
23:23:08 CPU0000:  V:0000000000606588:K:06=08000000 00000000 00000000 00000000  ................
23:23:08 CPU0000: R0=FFFFFFFFFFFFFFFF R1=00000000FFFFFFDA
23:23:08 CPU0000: R2=0000000000606588 R3=000061CD00000000
23:23:08 CPU0000: R4=00000000005CC736 R5=00000000003C7E00
23:23:08 CPU0000: R6=00000000005CC0F8 R7=0000000000000000
23:23:08 CPU0000: R8=0000000000000000 R9=00000000005F4000
23:23:08 CPU0000: RA=0000000000605010 RB=00000000005F4000
23:23:08 CPU0000: RC=0000000000605008 RD=00000000003C2018
23:23:08 CPU0000: RE=0000000000579EF8 RF=0000000000579EC8
23:23:08 CPU0000: C0=0000000014846000 C1=000000000060D007
23:23:08 CPU0000: C2=0000000000011140 C3=0000000000000000
23:23:08 CPU0000: C4=0000000000000000 C5=0000000000011140
23:23:08 CPU0000: C6=0000000000000000 C7=000000000060D007
23:23:08 CPU0000: C8=0000000000000000 C9=0000000000000000
23:23:08 CPU0000: CA=0000000000000000 CB=0000000000000000
23:23:08 CPU0000: CC=0000000000000000 CD=000000000060D007
23:23:08 CPU0000: CE=00000000C0000000 CF=0000000000000000
23:23:08 HHCCP041I SYSCONS interface active
23:23:08 CPU0000: SIGP Initial CPU reset (0B) CPU0001, PARM 0000000000000000: CC 0
23:23:08 CPU0000: SIGP Set prefix (0D) CPU0001, PARM 000000002F3C4000: CC 0
23:23:08 CPU0000: SIGP Restart (06) CPU0001, PARM 0000000000000000: CC 0
23:23:08      0.000000! Initializing cgroup subsys cpuset
23:23:08      0.000000! Initializing cgroup subsys cpu
23:23:08      0.000000! Linux version 3.2.0-4-s390x (debian-kernel@lists.debian.org) (gcc
23:23:08  version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.46-1
23:23:08      0.000000! setup: Linux is running natively in 64-bit mode
23:23:08      0.000000! cpu: The CPU configuration topology of the machine is: 0 0 0 0 0
23:23:08 2 / 1
23:23:08      0.000000! Zone PFN ranges:
23:23:08      0.000000!   DMA      0x00000000 -> 0x00080000
23:23:08      0.000000!   Normal   empty
23:23:08      0.000000! Movable zone start PFN for each node
23:23:08      0.000000! early_node_map 1! active PFN ranges
23:23:08      0.000000!     0: 0x00000000 -> 0x0002f400
23:23:08      0.000000! PERCPU: Embedded 11 pages/cpu @00000000014f3000 s15872 r8192 d209
23:23:08 92 u45056
23:23:08      0.000000! Built 1 zonelists in Zone order, mobility grouping on.  Total pag
23:23:08 es: 190890
23:23:08      0.000000! Kernel command line: ro locale=C
23:23:08      0.000000! m0 ro
23:23:08      0.000000! PID hash table entries: 4096 (order: 3, 32768 bytes)
23:23:08      0.000000! Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
23:23:08
23:23:08      0.000000! Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
23:23:08      0.000000! Memory: 749764k/774144k available (3845k kernel code, 0k reserved
23:23:08 , 2086k data, 228k init)
23:23:08      0.000000! Write protected kernel read-only data: 0x11200 - 0x573fff
23:23:08      0.000000! Hierarchical RCU implementation.
23:23:08      0.000000!  CONFIG_RCU_FANOUT set to non-default value of 32
23:23:08      0.000000!  RCU dyntick-idle grace-period acceleration is enabled.
23:23:08      0.000000! console  ttyS0! enabled
23:23:08      2.833376! pid_max: default: 32768 minimum: 301
23:23:08      2.837388! Security Framework initialized
23:23:08      2.837639! AppArmor: AppArmor disabled by boot time parameter
23:23:08      2.839514! Mount-cache hash table entries: 256
23:23:08      2.848999! Initializing cgroup subsys cpuacct
23:23:08      2.850082! Initializing cgroup subsys memory
23:23:08      2.850688! Initializing cgroup subsys devices
23:23:08      2.851213! Initializing cgroup subsys freezer
23:23:08      2.851687! Initializing cgroup subsys net_cls
23:23:08      2.852128! Initializing cgroup subsys blkio
23:23:08      2.852939! Initializing cgroup subsys perf_event
23:23:08      2.856631! cpu: 2 configured CPUs, 0 standby CPUs
23:23:08      2.875148! Brought up 2 CPUs
23:23:08      2.898368! devtmpfs: initialized
23:23:08      2.931340! print_constraints: dummy:
23:23:08      2.937879! NET: Registered protocol family 16
23:23:08      3.002846! bio: create slab <bio-0> at 0
23:23:10      4.702145! NET: Registered protocol family 2
23:23:10      4.709226! IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
23:23:10
23:23:10      4.731457! TCP established hash table entries: 65536 (order: 8, 1048576 byte
23:23:10 s)
23:23:10      4.775126! TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
23:23:10      4.821393! TCP: Hash tables configured (established 65536 bind 65536)
23:23:10      4.822072! TCP reno registered
23:23:10      4.822639! UDP hash table entries: 512 (order: 2, 16384 bytes)
23:23:10      4.823584! UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
23:23:10      4.841581! NET: Registered protocol family 1
23:23:10      4.846336! Unpacking initramfs...
23:23:21     15.688478! Freeing initrd memory: 3442k freed
23:23:21     15.721479! audit: initializing netlink socket (disabled)
23:23:21     15.722063! type=2000 audit(1376447001.043:1): initialized
23:23:21     15.740196! HugeTLB registered 1 MB page size, pre-allocated 0 pages
23:23:21     15.767418! VFS: Disk quotas dquot_6.5.2
23:23:21     15.773174! Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
23:23:21     15.779681! msgmni has been set to 1471
23:23:21 HHCCP041I SYSCONS interface active
23:23:21     15.796987! alg: No test for stdrng (krng)
23:23:21     15.799779! Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
23:23:21 54)
23:23:21     15.800974! io scheduler noop registered
23:23:21     15.801253! io scheduler deadline registered
23:23:21     15.802938! io scheduler cfq registered (default)
23:23:21     15.807942! hvc_iucv: The z/VM IUCV HVC device driver cannot be used without
23:23:21 z/VM
23:23:21     15.820910! cio: Channel measurement facility initialized using format basic
23:23:21 (mode autodetected)
23:23:21     15.874642! TCP cubic registered
23:23:21     15.881093! NET: Registered protocol family 10
23:23:21     15.945694! Mobile IPv6
23:23:21     15.945949! NET: Registered protocol family 17
23:23:21     15.946326! Registering the dns_resolver key type
23:23:21     15.959887! registered taskstats version 1
23:23:21     15.987178! Initializing network drop monitor service
23:23:21     15.992907! Freeing unused kernel memory: 228k freed
23:23:25     20.244618! lcs: Loading LCS driver
23:23:25     20.345951! ctcm: CTCM driver initialized
23:23:26     21.254180! ioctl32(console-type:83): Unknown cmd fd(0) cmd(00005603){t:'V';s
23:23:26 z:0} arg(7fc16128) on /dev/console
23:23:27 Starting system log daemon:
23:23:27 syslogd,
23:23:27 klogd.
23:23:33  1;24r 4l(B)0 m 1;24r H J 24;1H m                                              
23:23:33                                
23:23:41 Configure the network device
23:23:41 ----------------------------
23:23:41
23:23:41 Please choose the type of your primary network interface that you will need for
23:23:41 installing the Debian system (via NFS or HTTP). Only the listed devices are
23:23:41 supported.
23:23:41 Network device type:
23:23:41   1: ctc: Channel to Channel (CTC) or ESCON connection,   
23:23:41   2: qeth: OSA-Express in QDIO mode / HiperSockets,   
23:23:41   3: iucv: Inter-User Communication Vehicle - available for VM guests only,   
23:23:41   4: virtio: KVM VirtIO,   
23:23:41 Prompt: '?' for help>
23:27:13 .1
23:27:13 1
23:27:13
23:27:13    ERROR: No CTC or ESCON connections
23:27:13
23:27:13 Please make sure that you have set them up correctly.
23:27:13  Press enter to continue!
23:34:45 quit
23:34:45 HHCIN098I Shutdown initiated
23:34:46 The system is going down NOW
23:34:46 Sent SIGTERM to all processes
23:34:47 Sent SIGKILL to all processes
23:34:47 Requesting system reboot
23:34:48 HHCCP042I SYSCONS interface inactive
23:34:48 CPU0001: SIGP Stop (05) CPU0001, PARM 0000000000000000: CC 0
23:34:48 CPU0000: SIGP Set prefix (0D) CPU0001, PARM 0000000000000000: CC 0
23:34:48 HHCCP011I CPU0000: Disabled wait state
23:34:48           PSW=00020001 80000000 0000000000000FFF
23:34:48 HHCIN900I Begin Hercules shutdown
23:34:48 HHCIN901I Releasing configuration
23:34:48 HHCCP008I CPU0000 thread ended: tid=00000360, pid=5764
23:34:48 HHCCP008I CPU0001 thread ended: tid=00001DD0, pid=5764
23:34:48 HHCCF047I Subchannel 0:0000 detached
23:34:48 HHCCF047I Subchannel 0:0001 detached
23:34:48 HHCCF047I Subchannel 0:0002 detached
23:34:48 HHCCF047I Subchannel 0:0003 detached
23:34:48 HHCCF047I Subchannel 0:0004 detached
23:34:48 HHCCF047I Subchannel 0:0005 detached
23:34:48 HHCCF047I Subchannel 0:0006 detached
23:34:48 HHCCF047I Subchannel 0:0007 detached
23:34:48 HHCAO002I Hercules Automatic Operator thread ended
23:34:48 HHCCF047I Subchannel 0:0008 detached
23:34:48 HHCTE004I Console connection thread terminated
23:34:48 HHCCF047I Subchannel 0:0009 detached
23:34:48 HHCTT003I Timer thread ended
23:34:50 HHCCF047I Subchannel 0:000B detached
23:34:50 HHCDA023I 0120 cache hits 0, misses 0, waits 0
23:34:50 HHCCF047I Subchannel 0:000D detached
23:34:50 HHCIN902I Configuration release complete
23:34:50 HHCIN903I Calling termination routines
23:34:50 HHCHD900I Begin shutdown sequence
23:34:50 HHCHD901I Calling panel_cleanup
23:34:50 HHCHD902I panel_cleanup complete
23:34:50 HHCHD901I Calling console_shutdown
23:34:50 HHCHD902I console_shutdown complete
23:34:50 HHCHD901I Calling hdl_term
23:34:50 HHCHD950I Begin HDL termination sequence
23:34:50 HHCLG014I logger thread terminating



Reply to: