Discussion:
Help needed: Installing Red Hat Enterprise Linux 3 under Hercules 3.04-1
(too old to reply)
Deepali Jagtap
2007-01-31 12:19:44 UTC
Permalink
Hello,

I have installed Hercules 3.04-1 on RedHat Linux Enterprise 3. I am
trying to install RHEL 3 for s/390 on Hercules.

I am looking at the following documentation for the procedure:
ftp://ftp.sogang.ac.kr/.6/redhat/rawhide/s390/docu/sg244987.pdf

To boot from the Linux kernel, I have created a tape device, the
corresponding file is /etc/hercules/tapes/004711.TDF.

The contents of the file are:
@TDF
/tapes/kernel.img FIXED RECSIZE 1024
TM
/tapes/PARMLINE.RDR TEXT
TM
/tapes/generic.prm FIXED RECSIZE 1024
TM
/tapes/initrd.img FIXED RECSIZE 1024
TM
TM
EOT

The file /tapes/PARMLINE.RDR is as follows:

debug dasd=200,220 root=/dev/ram0 ro

But when i run the command "ipl 0181" at the hercules prompt, I see
the following errors:

ipl 0181

HHCCP029E ESA/390 mode IPL failed: CSW status=0020

Sense=00020000 00C00300 00000000 00800100 010000FF FF000000

ipl 0181

HHCCP029E ESA/390 mode IPL failed: CSW status=0020

Sense=00020000 00C00300 00000000 00800100 010000FF FF000000


Can someone please help me with this to figure out what is going wrong?

Regards
Deepali Jagtap
hugovanwoerkom
2007-01-31 12:51:27 UTC
Permalink
Post by Deepali Jagtap
Hello,
I have installed Hercules 3.04-1 on RedHat Linux Enterprise 3. I am
trying to install RHEL 3 for s/390 on Hercules.
ftp://ftp.sogang.ac.kr/.6/redhat/rawhide/s390/docu/sg244987.pdf
That's quite old? Refers to Hercules 1.61 and I have 3.03 on Debian
which is already a year out of date.
Is there a more recent manual?

Hugo
Post by Deepali Jagtap
To boot from the Linux kernel, I have created a tape device, the
corresponding file is /etc/hercules/tapes/004711.TDF.
@TDF
/tapes/kernel.img FIXED RECSIZE 1024
TM
/tapes/PARMLINE.RDR TEXT
TM
/tapes/generic.prm FIXED RECSIZE 1024
TM
/tapes/initrd.img FIXED RECSIZE 1024
TM
TM
EOT
debug dasd=200,220 root=/dev/ram0 ro
But when i run the command "ipl 0181" at the hercules prompt, I see
ipl 0181
HHCCP029E ESA/390 mode IPL failed: CSW status=0020
Sense=00020000 00C00300 00000000 00800100 010000FF FF000000
ipl 0181
HHCCP029E ESA/390 mode IPL failed: CSW status=0020
Sense=00020000 00C00300 00000000 00800100 010000FF FF000000
Can someone please help me with this to figure out what is going wrong?
Regards
Deepali Jagtap
Deepali Jagtap
2007-01-31 12:57:51 UTC
Permalink
You mean hercules 3.04 is old or the manual. Can you specify?

Regards
Deepali Jagtap

----- Original Message ----
From: hugovanwoerkom <huugske-***@public.gmane.org>
To: hercules-390-***@public.gmane.org
Sent: Wednesday, January 31, 2007 6:21:27 PM
Subject: [hercules-390] Re: Help needed: Installing Red Hat Enterprise Linux 3 under Hercules 3.04-1
Post by Deepali Jagtap
Hello,
I have installed Hercules 3.04-1 on RedHat Linux Enterprise 3. I am
trying to install RHEL 3 for s/390 on Hercules.
ftp://ftp.sogang. ac.kr/.6/ redhat/rawhide/ s390/docu/ sg244987. pdf
That's quite old? Refers to Hercules 1.61 and I have 3.03 on Debian

which is already a year out of date.

Is there a more recent manual?



Hugo
Post by Deepali Jagtap
To boot from the Linux kernel, I have created a tape device, the
corresponding file is /etc/hercules/ tapes/004711. TDF.
@TDF
/tapes/kernel. img FIXED RECSIZE 1024
TM
/tapes/PARMLINE. RDR TEXT
TM
/tapes/generic. prm FIXED RECSIZE 1024
TM
/tapes/initrd. img FIXED RECSIZE 1024
TM
TM
EOT
debug dasd=200,220 root=/dev/ram0 ro
But when i run the command "ipl 0181" at the hercules prompt, I see
ipl 0181
HHCCP029E ESA/390 mode IPL failed: CSW status=0020
Sense=00020000 00C00300 00000000 00800100 010000FF FF000000
ipl 0181
HHCCP029E ESA/390 mode IPL failed: CSW status=0020
Sense=00020000 00C00300 00000000 00800100 010000FF FF000000
Can someone please help me with this to figure out what is going wrong?
Regards
Deepali Jagtap
<!--

#ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;
}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;
}
#ygrp-vitnav{
padding-top:10px;
font-family:Verdana;
font-size:77%;
margin:0;
}
#ygrp-vitnav a{
padding:0 1px;
}
#ygrp-actbar{
clear:both;
margin:25px 0;
white-space:nowrap;
color:#666;
text-align:right;
}
#ygrp-actbar .left{
float:left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;
font-size:77%;
padding:15px 0;
}
#ygrp-ft{
font-family:verdana;
font-size:77%;
border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;
}

#ygrp-vital{
background-color:#e0ecee;
margin-bottom:20px;
padding:2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size:77%;
font-family:Verdana;
font-weight:bold;
color:#333;
text-transform:uppercase;
}
#ygrp-vital ul{
padding:0;
margin:2px 0;
}
#ygrp-vital ul li{
list-style-type:none;
clear:both;
border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;
color:#ff7900;
float:right;
width:2em;
text-align:right;
padding-right:.5em;
}
#ygrp-vital ul li .cat{
font-weight:bold;
}
#ygrp-vital a {
text-decoration:none;
}

#ygrp-vital a:hover{
text-decoration:underline;
}

#ygrp-sponsor #hd{
color:#999;
font-size:77%;
}
#ygrp-sponsor #ov{
padding:6px 13px;
background-color:#e0ecee;
margin-bottom:20px;
}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;
margin:0;
}
#ygrp-sponsor #ov li{
list-style-type:square;
padding:6px 0;
font-size:77%;
}
#ygrp-sponsor #ov li a{
text-decoration:none;
font-size:130%;
}
#ygrp-sponsor #nc {
background-color:#eee;
margin-bottom:20px;
padding:0 8px;
}
#ygrp-sponsor .ad{
padding:8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family:Arial;
font-weight:bold;
color:#628c2a;
font-size:100%;
line-height:122%;
}
#ygrp-sponsor .ad a{
text-decoration:none;
}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;
}
#ygrp-sponsor .ad p{
margin:0;
}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;
}
#ygrp-text tt{
font-size:120%;
}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
-->









____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

[Non-text portions of this message have been removed]
hugovanwoerkom
2007-01-31 13:03:37 UTC
Permalink
Post by Deepali Jagtap
You mean hercules 3.04 is old or the manual. Can you specify?
Sorry. The manual is old. (From 2000?) It refers to Hercules 1.61 as
"current" and we are at 3.03 in Debian which already a year out of
date on "unstable" (current = 3.04)

Hugo
Post by Deepali Jagtap
Regards
Deepali Jagtap
----- Original Message ----
Sent: Wednesday, January 31, 2007 6:21:27 PM
Subject: [hercules-390] Re: Help needed: Installing Red Hat
Enterprise Linux 3 under Hercules 3.04-1
Post by Deepali Jagtap
Post by Deepali Jagtap
Hello,
I have installed Hercules 3.04-1 on RedHat Linux Enterprise 3. I am
trying to install RHEL 3 for s/390 on Hercules.
ftp://ftp.sogang. ac.kr/.6/ redhat/rawhide/ s390/docu/ sg244987. pdf
That's quite old? Refers to Hercules 1.61 and I have 3.03 on Debian
which is already a year out of date.
Is there a more recent manual?
Hugo
Post by Deepali Jagtap
To boot from the Linux kernel, I have created a tape device, the
corresponding file is /etc/hercules/ tapes/004711. TDF.
@TDF
/tapes/kernel. img FIXED RECSIZE 1024
TM
/tapes/PARMLINE. RDR TEXT
TM
/tapes/generic. prm FIXED RECSIZE 1024
TM
/tapes/initrd. img FIXED RECSIZE 1024
TM
TM
EOT
debug dasd=200,220 root=/dev/ram0 ro
But when i run the command "ipl 0181" at the hercules prompt, I see
ipl 0181
HHCCP029E ESA/390 mode IPL failed: CSW status=0020
Sense=00020000 00C00300 00000000 00800100 010000FF FF000000
ipl 0181
HHCCP029E ESA/390 mode IPL failed: CSW status=0020
Sense=00020000 00C00300 00000000 00800100 010000FF FF000000
Can someone please help me with this to figure out what is going wrong?
Regards
Deepali Jagtap
<!--
#ygrp-mlmsg
{font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
Post by Deepali Jagtap
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99%
arial,helvetica,clean,sans-serif;}
Post by Deepali Jagtap
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;
}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;
}
#ygrp-vitnav{
padding-top:10px;
font-family:Verdana;
font-size:77%;
margin:0;
}
#ygrp-vitnav a{
padding:0 1px;
}
#ygrp-actbar{
clear:both;
margin:25px 0;
white-space:nowrap;
color:#666;
text-align:right;
}
#ygrp-actbar .left{
float:left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;
font-size:77%;
padding:15px 0;
}
#ygrp-ft{
font-family:verdana;
font-size:77%;
border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;
}
#ygrp-vital{
background-color:#e0ecee;
margin-bottom:20px;
padding:2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size:77%;
font-family:Verdana;
font-weight:bold;
color:#333;
text-transform:uppercase;
}
#ygrp-vital ul{
padding:0;
margin:2px 0;
}
#ygrp-vital ul li{
list-style-type:none;
clear:both;
border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;
color:#ff7900;
float:right;
width:2em;
text-align:right;
padding-right:.5em;
}
#ygrp-vital ul li .cat{
font-weight:bold;
}
#ygrp-vital a {
text-decoration:none;
}
#ygrp-vital a:hover{
text-decoration:underline;
}
#ygrp-sponsor #hd{
color:#999;
font-size:77%;
}
#ygrp-sponsor #ov{
padding:6px 13px;
background-color:#e0ecee;
margin-bottom:20px;
}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;
margin:0;
}
#ygrp-sponsor #ov li{
list-style-type:square;
padding:6px 0;
font-size:77%;
}
#ygrp-sponsor #ov li a{
text-decoration:none;
font-size:130%;
}
#ygrp-sponsor #nc {
background-color:#eee;
margin-bottom:20px;
padding:0 8px;
}
#ygrp-sponsor .ad{
padding:8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family:Arial;
font-weight:bold;
color:#628c2a;
font-size:100%;
line-height:122%;
}
#ygrp-sponsor .ad a{
text-decoration:none;
}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;
}
#ygrp-sponsor .ad p{
margin:0;
}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;
}
#ygrp-text tt{
font-size:120%;
}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
-->
____________________________________________________________________________________
Post by Deepali Jagtap
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
[Non-text portions of this message have been removed]
Rob van der Heij
2007-01-31 13:10:59 UTC
Permalink
Post by Deepali Jagtap
To boot from the Linux kernel, I have created a tape device, the
corresponding file is /etc/hercules/tapes/004711.TDF.
Is there any reason why you don't just IPL the "ins" file that is most
likely on the ISO image?
Post by Deepali Jagtap
From what I remember there's still an option to include either the
tape or the rdr bootstrap in the kernel image when the kernel is
built. Maybe Red Hat provide two different kernel images for both, or
you may just have the one that is meant to IPL from the virtual reader
instead.

Using the "ins" file bypasses either bootstrap and loads the files
directly into memory. Also saves you some time.

Rob
Deepali Jagtap
2007-02-01 07:36:11 UTC
Permalink
Hi,

Your suggestion of using the ins file via IPL worked. But I am
wondering how I should configure the network. I tried with the
following but I see an error

Kernel panic: Attempted to kill init

HHCCP011I CPU0000: Disabled wait state

PSW=00020001 80000000 000000000003E424

Can someone please please help? I did the following steps for the
network configuration.

Enter the FQDN of your new Linux guest (e.g. s390.redhat.com):

Command ==> .s390.localdomain
s390.localdomain
Enter which kind of network device do you intend to use

(e.g. ctc, escon, iucv, eth, hsi, tr):
.eth
Each OSA-Express feature in QDIO mode must be associated with a port
name
Enter additional parameters for your QETH device

(e.g. "add_parms,0x10,{lo_devno,hi_devno},portname:port_name")

Press enter if you don't want to enter additional parameters

1 ipl /etc/hercules/hercules.ins

2 .s390.localdomain

3 .eth

4 .qeth0

1 ipl /etc/hercules/hercules.ins

2 .s390.localdomain

3 .eth

4 .qeth0

.netport

netport

chandev_setup bad argument qeth0 on line no 1 interpreted as qeth0.

Type man chandev for more info.



chandev_setup unknown verb netport on line no 1 interpreted as
netport.
Type man chandev for more info.



Enter the IP address of your new Linux guest:

.192.168.200.3

192.168.200.3

Enter the network address of the new Linux guest:

.192.168.200.3

192.168.200.3

Enter the netmask for the new Linux guest (e.g. 255.255.255.0):

.255.255.255.0

255.255.255.0

Enter the broadcast address for the new Linux guest:

.192.168.200.255

192.168.200.255

Enter your default gateway:

.192.168.200.2

192.168.200.2

Kernel panic: Attempted to kill init

HHCCP011I CPU0000: Disabled wait state

PSW=00020001 80000000 000000000003E424

Regards
Deepali Jagtap
Post by Rob van der Heij
Post by Deepali Jagtap
To boot from the Linux kernel, I have created a tape device, the
corresponding file is /etc/hercules/tapes/004711.TDF.
Is there any reason why you don't just IPL the "ins" file that is most
likely on the ISO image?
From what I remember there's still an option to include either the
tape or the rdr bootstrap in the kernel image when the kernel is
built. Maybe Red Hat provide two different kernel images for both, or
you may just have the one that is meant to IPL from the virtual reader
instead.
Using the "ins" file bypasses either bootstrap and loads the files
directly into memory. Also saves you some time.
Rob
Rob van der Heij
2007-02-01 07:42:11 UTC
Permalink
Post by Deepali Jagtap
.eth
Each OSA-Express feature in QDIO mode must be associated with a port
name
Enter additional parameters for your QETH device
(e.g. "add_parms,0x10,{lo_devno,hi_devno},portname:port_name")
I'm not too current on Hercules features, but I was certainly not
aware that it emulates an OSA device as well. Last time I looked the
LCS was not even really working. A pair of CTC's worked fine for me,
the Linux side of that is configured as if you connect to a VM TCP/IP
stack.

Rob
Deepali Jagtap
2007-02-01 07:47:37 UTC
Permalink
Hi Rob,

Can you please send me a list of specific steps for CTC or ETH so that the networking gets setup? Also any idea why I see the Kernel panic error?

Regards
Deepali Jagtap

----- Original Message ----
From: Rob van der Heij <rvdheij-***@public.gmane.org>
To: hercules-390-***@public.gmane.org
Sent: Thursday, February 1, 2007 1:12:11 PM
Subject: Re: [hercules-390] Re: Help needed: Installing Red Hat Enterprise Linux 3 under Hercules 3.04-1
Post by Deepali Jagtap
.eth
Each OSA-Express feature in QDIO mode must be associated with a port
name
Enter additional parameters for your QETH device
(e.g. "add_parms,0x10, {lo_devno, hi_devno} ,portname: port_name" )
I'm not too current on Hercules features, but I was certainly not

aware that it emulates an OSA device as well. Last time I looked the

LCS was not even really working. A pair of CTC's worked fine for me,

the Linux side of that is configured as if you connect to a VM TCP/IP

stack.



Rob












<!--

#ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;
}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;
}
#ygrp-vitnav{
padding-top:10px;
font-family:Verdana;
font-size:77%;
margin:0;
}
#ygrp-vitnav a{
padding:0 1px;
}
#ygrp-actbar{
clear:both;
margin:25px 0;
white-space:nowrap;
color:#666;
text-align:right;
}
#ygrp-actbar .left{
float:left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;
font-size:77%;
padding:15px 0;
}
#ygrp-ft{
font-family:verdana;
font-size:77%;
border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;
}

#ygrp-vital{
background-color:#e0ecee;
margin-bottom:20px;
padding:2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size:77%;
font-family:Verdana;
font-weight:bold;
color:#333;
text-transform:uppercase;
}
#ygrp-vital ul{
padding:0;
margin:2px 0;
}
#ygrp-vital ul li{
list-style-type:none;
clear:both;
border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;
color:#ff7900;
float:right;
width:2em;
text-align:right;
padding-right:.5em;
}
#ygrp-vital ul li .cat{
font-weight:bold;
}
#ygrp-vital a {
text-decoration:none;
}

#ygrp-vital a:hover{
text-decoration:underline;
}

#ygrp-sponsor #hd{
color:#999;
font-size:77%;
}
#ygrp-sponsor #ov{
padding:6px 13px;
background-color:#e0ecee;
margin-bottom:20px;
}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;
margin:0;
}
#ygrp-sponsor #ov li{
list-style-type:square;
padding:6px 0;
font-size:77%;
}
#ygrp-sponsor #ov li a{
text-decoration:none;
font-size:130%;
}
#ygrp-sponsor #nc {
background-color:#eee;
margin-bottom:20px;
padding:0 8px;
}
#ygrp-sponsor .ad{
padding:8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family:Arial;
font-weight:bold;
color:#628c2a;
font-size:100%;
line-height:122%;
}
#ygrp-sponsor .ad a{
text-decoration:none;
}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;
}
#ygrp-sponsor .ad p{
margin:0;
}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;
}
#ygrp-text tt{
font-size:120%;
}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
-->









____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com

[Non-text portions of this message have been removed]
Rob van der Heij
2007-02-01 08:04:22 UTC
Permalink
Post by Deepali Jagtap
Can you please send me a list of specific steps for CTC or ETH so that the networking gets setup? Also any idea why I see the Kernel panic error?
Have you looked at the documentation for this? For the 2.6 kernel it
is a bit easier than that, but most should apply.
http://www.conmicro.cx/hercules/herctcp.html

If you run a recent kernel with udev you need to fiddle with the rules
to make it set the proper permissions / owner next time after reboot
of the host. But at least you should get error messages from Hercules
when that's not ok.

Show us the relevant lines from the configuration file and your idea
of the TCP/IP addresses.

Rob
Roger Bowler
2007-02-01 10:27:24 UTC
Permalink
Post by Rob van der Heij
Have you looked at the documentation for this? For the 2.6 kernel it
is a bit easier than that, but most should apply.
http://www.conmicro.cx/hercules/herctcp.html
The herctcp.html file has been updated in yesterday's cvs to include
some remarks about Linux 2.6 and udev.

If you have any additional tips which you feel it would be helpful to
include, please let me know.

Regards,
Roger Bowler
Deepali Jagtap
2007-02-01 08:22:08 UTC
Permalink
Thanks for your reply. Does that mean it is mandatory to install TUN/TAP driver before I boot with the Linux kernel?

I am a absolute novice with S/390 and Hercules also. Please help

Regards
Deepali

----- Original Message ----
From: Rob van der Heij <rvdheij-***@public.gmane.org>
To: hercules-390-***@public.gmane.org
Sent: Thursday, February 1, 2007 1:34:22 PM
Subject: Re: [hercules-390] Re: Help needed: Installing Red Hat Enterprise Linux 3 under Hercules 3.04-1
Post by Deepali Jagtap
Can you please send me a list of specific steps for CTC or ETH so that the networking gets setup? Also any idea why I see the Kernel panic error?
Have you looked at the documentation for this? For the 2.6 kernel it

is a bit easier than that, but most should apply.

http://www.conmicro .cx/hercules/ herctcp.html



If you run a recent kernel with udev you need to fiddle with the rules

to make it set the proper permissions / owner next time after reboot

of the host. But at least you should get error messages from Hercules

when that's not ok.



Show us the relevant lines from the configuration file and your idea

of the TCP/IP addresses.



Rob












<!--

#ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;
}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;
}
#ygrp-vitnav{
padding-top:10px;
font-family:Verdana;
font-size:77%;
margin:0;
}
#ygrp-vitnav a{
padding:0 1px;
}
#ygrp-actbar{
clear:both;
margin:25px 0;
white-space:nowrap;
color:#666;
text-align:right;
}
#ygrp-actbar .left{
float:left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;
font-size:77%;
padding:15px 0;
}
#ygrp-ft{
font-family:verdana;
font-size:77%;
border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;
}

#ygrp-vital{
background-color:#e0ecee;
margin-bottom:20px;
padding:2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size:77%;
font-family:Verdana;
font-weight:bold;
color:#333;
text-transform:uppercase;
}
#ygrp-vital ul{
padding:0;
margin:2px 0;
}
#ygrp-vital ul li{
list-style-type:none;
clear:both;
border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;
color:#ff7900;
float:right;
width:2em;
text-align:right;
padding-right:.5em;
}
#ygrp-vital ul li .cat{
font-weight:bold;
}
#ygrp-vital a {
text-decoration:none;
}

#ygrp-vital a:hover{
text-decoration:underline;
}

#ygrp-sponsor #hd{
color:#999;
font-size:77%;
}
#ygrp-sponsor #ov{
padding:6px 13px;
background-color:#e0ecee;
margin-bottom:20px;
}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;
margin:0;
}
#ygrp-sponsor #ov li{
list-style-type:square;
padding:6px 0;
font-size:77%;
}
#ygrp-sponsor #ov li a{
text-decoration:none;
font-size:130%;
}
#ygrp-sponsor #nc {
background-color:#eee;
margin-bottom:20px;
padding:0 8px;
}
#ygrp-sponsor .ad{
padding:8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family:Arial;
font-weight:bold;
color:#628c2a;
font-size:100%;
line-height:122%;
}
#ygrp-sponsor .ad a{
text-decoration:none;
}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;
}
#ygrp-sponsor .ad p{
margin:0;
}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;
}
#ygrp-text tt{
font-size:120%;
}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
-->









____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

[Non-text portions of this message have been removed]
Rob van der Heij
2007-02-01 09:02:41 UTC
Permalink
Post by Deepali Jagtap
Thanks for your reply. Does that mean it is mandatory to install TUN/TAP driver before I boot with the Linux kernel?
As far as I know the 2.4 and 2.6 kernel already have the TUN/TAP
driver shipped with the kernel. You may want to modprobe the driver
yourself and fiddle with permissions rather than let it happen
automatically (as I do because I still have not found time to catch up
with udev).

I do it like this on my 2.6 kernel:
sudo modprobe tun
cd /dev/net
sudo chmod g+rw tun
sudo chgrp hercules tun

And then start hercules in the directory where it's config file is.
The relevant network line is like this:
0400.2 3088 CTCI /dev/net/tun 1500 192.168.206.2 192.168.206.1 255.255.255.0

When hercules opens the device, it will create the tun0 network interface:

[***@rvdheij-ht sles10]$ /sbin/ifconfig tun0
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.206.1 P-t-P:192.168.206.2 Mask:255.255.255.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 b) TX bytes:18220 (17.7 KiB)

[***@rvdheij-ht sles10]$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.206.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

And then, after it finished the fsck :-(

[***@rvdheij-ht sles10]$ ping -c 1 192.168.206.2
PING 192.168.206.2 (192.168.206.2) 56(84) bytes of data.
64 bytes from 192.168.206.2: icmp_seq=0 ttl=64 time=1.41 ms

--- 192.168.206.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.410/1.410/1.410/0.000 ms, pipe 2
[***@rvdheij-ht sles10]$ ssh 192.168.206.2
Last login: Fri Nov 24 16:58:18 2006 from 192.168.206.1
***@rvdheij-sles10:~> head -n 4 /proc/cpuinfo
vendor_id : IBM/S390
# processors : 1
bogomips per cpu: 127.38
processor 0: version = 00, identification = 000611, machine = 2064

And depending on how you designed your network, it may help to set
proxy_arp for the eth0 interface of the Linux system running Hercules.

Good luck. Rob
Deepali Jagtap
2007-02-01 12:21:10 UTC
Permalink
Hi Roger,

I am trying to install RHEL 3 (Linux kernel 2.4.x) on Hercules 3.02. I am still facing some problems in setting up the network for the Hercules. I have added the following line to /etc/modules.conf

alias char-major-10-200 tun

Also the hercules.cnf file consists of the following lines
# networking, channel-to-channel adapter
#0600 3088 CTCI -n /dev/net/tun -t 1500 192.168.200.3 192.168.200.4
0600 3088 CTCI -n /dev/net/tun -t 1500 192.168.20.150 192.168.20.151

But when I enter the appropriate IP address while the Linux kernel is booting up, I see the following errors (scroll below).

Hipersocket interfaces need to be configured like qeth devices, +
p.e. qeth0,0x3000,0x3001,0x3002
Additional parameters for QETH devices such as the portname
should be entered at the next prompt, not here
Command ==> .ctc0,0x600,0x601
ctc0,0x600,0x601
Enter the IP address of your new Linux guest:
Command ==> .192.168.20.150
192.168.20.150
Enter the network address of the new Linux guest:
Command ==> .192.168.20.0
192.168.20.0
Enter the IP of your ctc/escon/iucv point-to-point partner:
Command ==> .192.168.20.151
192.168.20.151
CTC driver Version: 1.57 with CHANDEV support initialized
SIOCSIFADDR: No such device
ctc0: unknown interface: No such device
SIOCSIFMTU: No such device
SIOCSIFDSTADDR: No such device
ctc0: unknown interface: No such device

The Linux kernel does startup telnetd and sshd showing the correct
address. but ifconfig does not show me an interface named "ctc0". Is
there anything I am missing. Please help.


Regards
Deepali

----- Original Message ----
From: Roger Bowler <rogerbowler-/E1597aS9LT10XsdtD+***@public.gmane.org>
To: hercules-390-***@public.gmane.org
Sent: Thursday, February 1, 2007 3:57:24 PM
Subject: [hercules-390] Re: Help needed: Installing Red Hat Enterprise Linux 3 under Hercules 3.04-1
Post by Rob van der Heij
Have you looked at the documentation for this? For the 2.6 kernel it
is a bit easier than that, but most should apply.
http://www.conmicro .cx/hercules/ herctcp.html
The herctcp.html file has been updated in yesterday's cvs to include

some remarks about Linux 2.6 and udev.



If you have any additional tips which you feel it would be helpful to

include, please let me know.



Regards,

Roger Bowler














<!--

#ygrp-mlmsg {font-size:13px;font-family:arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;
}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;
}
#ygrp-vitnav{
padding-top:10px;
font-family:Verdana;
font-size:77%;
margin:0;
}
#ygrp-vitnav a{
padding:0 1px;
}
#ygrp-actbar{
clear:both;
margin:25px 0;
white-space:nowrap;
color:#666;
text-align:right;
}
#ygrp-actbar .left{
float:left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;
font-size:77%;
padding:15px 0;
}
#ygrp-ft{
font-family:verdana;
font-size:77%;
border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;
}

#ygrp-vital{
background-color:#e0ecee;
margin-bottom:20px;
padding:2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size:77%;
font-family:Verdana;
font-weight:bold;
color:#333;
text-transform:uppercase;
}
#ygrp-vital ul{
padding:0;
margin:2px 0;
}
#ygrp-vital ul li{
list-style-type:none;
clear:both;
border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;
color:#ff7900;
float:right;
width:2em;
text-align:right;
padding-right:.5em;
}
#ygrp-vital ul li .cat{
font-weight:bold;
}
#ygrp-vital a {
text-decoration:none;
}

#ygrp-vital a:hover{
text-decoration:underline;
}

#ygrp-sponsor #hd{
color:#999;
font-size:77%;
}
#ygrp-sponsor #ov{
padding:6px 13px;
background-color:#e0ecee;
margin-bottom:20px;
}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;
margin:0;
}
#ygrp-sponsor #ov li{
list-style-type:square;
padding:6px 0;
font-size:77%;
}
#ygrp-sponsor #ov li a{
text-decoration:none;
font-size:130%;
}
#ygrp-sponsor #nc {
background-color:#eee;
margin-bottom:20px;
padding:0 8px;
}
#ygrp-sponsor .ad{
padding:8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family:Arial;
font-weight:bold;
color:#628c2a;
font-size:100%;
line-height:122%;
}
#ygrp-sponsor .ad a{
text-decoration:none;
}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;
}
#ygrp-sponsor .ad p{
margin:0;
}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;
}
#ygrp-text tt{
font-size:120%;
}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
-->









____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

[Non-text portions of this message have been removed]
Roger Bowler
2007-02-01 14:53:42 UTC
Permalink
Post by Deepali Jagtap
0600 3088 CTCI -n /dev/net/tun -t 1500 192.168.20.150 192.168.20.151
Try 0600.2 here instead of 0600

For TCP/IP you need two CTC devices on even-odd addresses.

Regards,
Roger Bowler

Loading...