Gerard,

There are a couple of things you could take a look at.  The "Device Drivers
and Installation Commands" shows four possible values for the CTC protocol
to be used:
protocol_no is the protocol number for CTC or ESCON.  This can take the
values:
- 0 for compatibility mode (the default; used with non-Linux peers other
than OS/390 and z/OS)
- 1 for extended mode,
- 2 meaning "CTC-based tty" (this is only supported on Linux-Linux
connections),
- 3 for compatibility mode with OS/390 and z/OS.

If I were experimenting, I would probably try protocol 1 first, followed by
2, then 3.

You may also want to consider specifying escon0 and not ctc0, since you have
them defined as ESCON devices and not CTC devices.  The device _name_ that
gets created is still ctc0 (oddly enough), but using escon0 in my
/etc/chandev.conf causes it to show up as channel type 0x02 instead of 0x01.
Do a "cat /proc/chandev" to see what your system thinks it is.  Most likely
it is going to be 0x01.  Also, when I specify the protocol type, I had to
specify the buffer size as well.
escon0,0x700,0x701,0,1
        worked, but
escon0,0x700,0x701,,1
        did not.

Just as a plea for "non confusing" system definitions, I would change
         IODEVICE ADDRESS=(D10,001),UNITADD=01,CUNUMBR=(0D10),STADET=Y,*
               PARTITION=(DEVS,PROD),UNIT=SCTC
         IODEVICE ADDRESS=(D11,001),UNITADD=00,CUNUMBR=(0D10),STADET=Y,*
               PARTITION=(DEVS,PROD),UNIT=SCTC
to
         IODEVICE ADDRESS=(D10,002),UNITADD=00,CUNUMBR=(0D10),STADET=Y,*
               PARTITION=(DEVS,PROD),UNIT=SCTC
and reverse the read-write channels on the Linux/390 end:
/etc/chandev.conf          escon0,0xc21,0xc20


Mark Post

-----Original Message-----
From: Monteleone [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 3:49 AM
To: [EMAIL PROTECTED]
Subject: ESCON CTC between two LPAR LINUX (SLES 2.4.7)


I'm going to be crazy with this connection, Can you explain me what's
wrong with my definition please ?

I would like to establish a session between SYST & DEVS

RESOURCE PARTITION=((SYST,1),(DEVS,2),(PROD,3))
         CHPID PATH=(98),SHARED,PARTITION=(SYST,DEVS,PROD),TYPE=CTC
         CHPID PATH=(99),SHARED,PARTITION=(SYST,DEVS,PROD),TYPE=CNC
         CNTLUNIT CUNUMBR=0C10,PATH=(98),UNITADD=((00,002)),CUADD=1,   *
               UNIT=SCTC
         CNTLUNIT CUNUMBR=0C20,PATH=(98),UNITADD=((00,002)),CUADD=2,   *
               UNIT=SCTC
         CNTLUNIT CUNUMBR=0C30,PATH=(98),UNITADD=((00,002)),CUADD=3,   *
               UNIT=SCTC
         CNTLUNIT CUNUMBR=0D10,PATH=(99),UNITADD=((00,002)),CUADD=1,   *
               UNIT=SCTC
         CNTLUNIT CUNUMBR=0D20,PATH=(99),UNITADD=((00,002)),CUADD=2,   *
               UNIT=SCTC
         CNTLUNIT CUNUMBR=0D30,PATH=(99),UNITADD=((00,002)),CUADD=3,   *
               UNIT=SCTC
         IODEVICE ADDRESS=(C10,002),UNITADD=00,CUNUMBR=(0C10),STADET=Y,*
               PARTITION=(DEVS,PROD),UNIT=SCTC
         IODEVICE ADDRESS=(C20,002),UNITADD=00,CUNUMBR=(0C20),STADET=Y,*
               PARTITION=(SYST,PROD),UNIT=SCTC
         IODEVICE ADDRESS=(C30,002),UNITADD=00,CUNUMBR=(0C30),STADET=Y,*
               PARTITION=(SYST,DEVS),UNIT=SCTC
         IODEVICE ADDRESS=(D10,001),UNITADD=01,CUNUMBR=(0D10),STADET=Y,*
               PARTITION=(DEVS,PROD),UNIT=SCTC
         IODEVICE ADDRESS=(D11,001),UNITADD=00,CUNUMBR=(0D10),STADET=Y,*
               PARTITION=(DEVS,PROD),UNIT=SCTC
         IODEVICE ADDRESS=(D20,001),UNITADD=01,CUNUMBR=(0D20),STADET=Y,*
               PARTITION=(SYST,PROD),UNIT=SCTC
         IODEVICE ADDRESS=(D21,001),UNITADD=00,CUNUMBR=(0D20),STADET=Y,*
               PARTITION=(SYST,PROD),UNIT=SCTC
         IODEVICE ADDRESS=(D30,001),UNITADD=01,CUNUMBR=(0D30),STADET=Y,*
               PARTITION=(SYST,DEVS),UNIT=SCTC
         IODEVICE ADDRESS=(D31,001),UNITADD=00,CUNUMBR=(0D30),STADET=Y,*
               PARTITION=(SYST,DEVS),UNIT=SCTC

DEVS
/etc/zipl.conf:                dasd=.., chandev=noauto
/etc/chandev.conf          ctc0,0xd10,0xd11

SYST
/etc/zipl.conf                 dasd=.., chandev=noauto
/etc/chandev.conf          ctc0,0xc20,0xc21


After reboot, I get on each system

CTC driver successfully initialised with read and write devices
"waiting for connection on ctc0"
.
.
.
.
failed
.
.
Any idea ?

Thanks in advance.


     Gerard MONTELEONE
     Ingenieur Systeme & Reseau
* 04.95.23.68.09 / 06.87.72.70.32
      S.I.T.E.C zi du Vazzio
     20090 AJACCIO Cedex

Reply via email to