Re: protocol converter?

2006-08-15 Thread John Summerfield

Richard Troth wrote:

The key is to know ANSI X3.64 and get the applications to more fully
support it.

John Mckown wrote:


I've read a lot here about people wanting to use vi or some other
application which is full screen from the Linux console. The reply
is always that the Linux console cannot be used in the manner. Now,
back in the deep, dark past, I remember a product that we had on VM/370
(yes, that long ago!). This was a software protocol converter which
allowed a start-stop or async terminal, such as a VT-100, to logon to
a service machine (via NCP/NTO). This service machine would then use
VM's LDC (?) to create a 3270 session and it would convert the 3270
control sequences to VT-100 control sequences.



Troth writes:
Arty Ecock wrote a TNVT100 program for CMS which lets one TELNET from z/VM
to,  say,  Linux.  I seem to remember that he said it was a difficult
project and that in practice it doesn't work as well as one would hope.
Still,  I love this thing!  It's ... er, uh ... elegant.

Now ... the protocol conversion you describe above is going the other way.
 That's talking about plugging in a byte-at-a-time terminal into a
block-mode service.  That's the easy way,  ala TN3270 and ye olde 7171.
Going the other way is the tough trick.  (And I know you know it's
reverse.  I'm just stating that it is harder to do.)  But it can be done.



In my relative youth, I wrote an application that used remote 3270s
(we're talking bi-sync here), using EXCP. Part of the application (ir
was really a basic TP monitor) provided the means to use enquiry
programs written in COBOL, hiding all the 3270 stuff from the programs.

As you might guess, I got fairly close to the protocol as it goes over
the wire, along with driving your actual 3270 screens.

As part of the project I got to advise the block writing the network
software, we didn't have real 3270s, they were async glass teletypes. In
ASCII, so I had to handle EBCDIC screens (local and remote, the ones I
had to practice with) plus remote ASCII 3270s.

The 3270 emulation took a while - basically it's equivalent to writing
slushware for the screne itself plus for the controller, but its
moderately straightforward.


To support 3270 terminals in Linux, we'd need SNA (for SNA terminals)
and/or bisync. I don't know how long the SNA would take (or even if its
already available), but I guess the bi-sync implementation would be
about what I did: not a huge task, and something I could do comfortably
in Hercules _iff_ I have a (emulated) 2701 controller. I don't know that
Herc does that.

The problem is everone's favourite Linux applications. They all expect
to see each keypress as it's made. Run lynx, type / and it immediately
responds. Ditto vim, emacs, links, mutt, pine.


Would you be happy using a 3270 if every second keypress is ENTER?


My suggestion:
If possible, use a PC running Linux. Use z3270 to talk to VM, zOS etc.
Use ssh to talk to zLinux, X if you're comfortable doing that.

If not that, then Windows on your peecee, a 3270 emulator and putty.

If you're stuck with 3270s, talk about reequipment:-)


btw rdesktop does a fine job getting a Windows desktop onto a Linux
peecee. I use it regularly.


--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

do not reply off-list

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Randy Evans
Russ Teubner developed and marketed a product called
A-Net that did something very much like this for 
SNA-attached 3270 terminals. It ran on MVS, VSE, and 
VM (including VM/370).  The emergence of A-Net marked 
the advent of  Teubner  Associates, when has since 
merged with or been acquired by Esker.

The SNA requirement on VM required VTAM, which required
GCS, which is probably more than you bargained for.
And, the remote connection to the ASCII application,
if you will, used TCP/IP mostly, but could also connect
through a 3708 protocol converter plus a few other
connectivity options. So there are a few issues with
that specific product or others like it that would 
not natively address the requirements as I understand
them, meaning it would take additional development work 
to do it.

But the nuts and bolts part of performing ASCII
terminal emulation for a 3270 device was available in
A-Net. Yes, it can be a pain using an application
as control-character intensive as vi with ASCII 
terminal emulation on a 3270 device - but in a 
significant number of cases, even these types of 
applications could be made usable with A-Net in a 
limited environment. Commonly-used key sequences were
programmed as scripts that could be invoked by
PF keys. 

So, yes it can be donebut I suggest you consider
the specific application(s) you intend to use with such
a capability. If these applications are heavily 
dependent on use of control character sequences, and
I consider vi to be in that category, then keep in mind
that you have a greatly-restricted number of AID keys
on a 3270 keyboard (usually about 30: PA1,2,3, PF1-24, 
ENTER, CLEAR, maybe ATTN if you can use that) vs. all 
the keys on an ASCII keyboard that you attempting to 
emulate. 


Randy Evans, Viaserv, Inc.



I'm curious if something similar could be done for Linux. That is, have
the Linux console be defined as CONMODE 3270 in the guest's VM
directory. Now, have a device driver which could do a reverse 3270
protocol conversion. That is, make the 3270 appear as a VT-100 (or
subset). The application would use VT-100 escape sequences. The device
driver would convert these to 3270.

I will grant that emulating the full duplex ability of the VT-100 and
control keys would make this difficult. But z/OS DIDOCS emulates a
full duplex capability on a 3270, so it should be possible. Well, to
those who are smart enuf (I'm not!).


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Lee Stewart

Isn't the better/full answer to get IBM to support the Integrated ASCII
Console on the HMC?
Lee

McKown, John wrote:

I've read a lot here about people wanting to use vi or some other
application which is full screen from the Linux console. The reply
is always that the Linux console cannot be used in the manner. Now,
back in the deep, dark past, I remember a product that we had on VM/370
(yes, that long ago!). This was a software protocol converter which
allowed a start-stop or async terminal, such as a VT-100, to logon to
a service machine (via NCP/NTO). This service machine would then use
VM's LDC (?) to create a 3270 session and it would convert the 3270
control sequences to VT-100 control sequences.

I'm curious if something similar could be done for Linux. That is, have
the Linux console be defined as CONMODE 3270 in the guest's VM
directory. Now, have a device driver which could do a reverse 3270
protocol conversion. That is, make the 3270 appear as a VT-100 (or
subset). The application would use VT-100 escape sequences. The device
driver would convert these to 3270.

I will grant that emulating the full duplex ability of the VT-100 and
control keys would make this difficult. But z/OS DIDOCS emulates a
full duplex capability on a 3270, so it should be possible. Well, to
those who are smart enuf (I'm not!).

Just a thought.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



--

Lee Stewart, Senior SE
Sirius Enterprise Systems Group
Phone: (303) 798-2954
Fax: (720) 228-2321
[EMAIL PROTECTED]
www.siriuscom.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread McKown, John
 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On 
 Behalf Of Lee Stewart
 Sent: Tuesday, August 15, 2006 10:19 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: protocol converter?
 
 
 Isn't the better/full answer to get IBM to support the 
 Integrated ASCII
 Console on the HMC?
 Lee

Well, that assumes you have physical access to the HMC. But, yes, I
would like that.

Or have z/VM emulate the Integrate ASCII Console for the guest
systems.

I guess what is really needed is a free 3270 full screen editor (like
UTS NED) that can be bundled with any Linux distribution.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited. 
 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Richard Pinion
I can't get NED to work on 2.6. 

 [EMAIL PROTECTED] 8/15/2006 11:36 AM 
 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On 
 Behalf Of Lee Stewart
 Sent: Tuesday, August 15, 2006 10:19 AM
 To: LINUX-390@VM.MARIST.EDU 
 Subject: Re: protocol converter?
 
 
 Isn't the better/full answer to get IBM to support the 
 Integrated ASCII
 Console on the HMC?
 Lee

Well, that assumes you have physical access to the HMC. But, yes, I
would like that.

Or have z/VM emulate the Integrate ASCII Console for the guest
systems.

I guess what is really needed is a free 3270 full screen editor (like
UTS NED) that can be bundled with any Linux distribution.

--

John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited. 
 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ECKD vs FBA problem on MF Linux Lpar

2006-08-15 Thread Michael Harvey
Still having Issues, Need Help again!  Thank You.  

 FCP on z/VN Linux scenerio :

- I can define the disk using the 'EDEVice' command on z/VM.

- I can see the disk on the Linux guest :

- LNOUC4D:/dev # lsdasd
0.0.0100(ECKD) at ( 94:  0) is dasda  : active at blocksize 4096,
546840 blocks, 2136 MB
0.0.0101(FBA )   at ( 94:  4) is dasdb  : active at blocksize 512,
524288 blocks, 256 MB
0.0.0102(ECKD) at ( 94:  8) is dasdc  : active at blocksize 4096,
54000
blocks, 210 MB
0.0.0406(FBA ) at ( 94: 12) is dasdd  : active at blocksize 512,
71454720 blocks, 34890 MB

- Now how do I utilize this disk ? In other words how do i format it and
create a Vol Group, Logical Vol, Filesystem ?
I usually do this by using YAST2, but it only works with ECKD disks ?



-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Troth
Sent: Tuesday, August 08, 2006 1:18 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: ECKD vs FBA problem on MF Linux Lpar

I tried the same syntax as you did at first,  having used it in the 2.4
days.  But the world has changed.

Lately,  this is how it works for me:  (cut-n-pasted so this may be
rough)

insmod /lib/modules/`uname -r`/kernel/drivers/s390/scsi/zfcp.ko
echo 1  /sys/bus/ccw/drivers/zfcp/0.0.fcfc/online
echo 0xabcd6789  /sys/bus/ccw/drivers/zfcp/0.0.fcfc/port_add
echo 0x0001 
/sys/bus/ccw/drivers/zfcp/0.0.fcfc/0xabcd6789/unit_add

Kernel pseudo files for the LUN are then found under
/sys/bus/ccw/drivers/zfcp/0.0.fcfc/0xabcd6789/0x0001
,
where  fcfc  is the IO address of the FCP device  (device to the
Linux
system,  but channel in the SAN context),  abcd6789  is the
WWPN
of the storage system,  and  0001  is the LUN defined there.
(All of these numbers are made up.  Fill in your own real WWPN, LUN, and
FCP addr.)

Magically,  sda  showed up under  /proc/partitions  and was
immediately
useable.  I threw an EXT2 filesystem on the volume  (no partitioning).
Only just today,  I got a second path to that LUN.  It seems to work
also.
 That's a whole nutha story.

-- R,





Michael Harvey [EMAIL PROTECTED]

Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU




08/08/2006 12:30 PM
Please respond to Linux on 390 Port LINUX-390@VM.MARIST.EDU

From
Michael Harvey [EMAIL PROTECTED]
To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: ECKD  vs FBA problem on MF Linux Lpar







Another question on same issue, let me know if you can help.

  When I try to 'MAP' the FBA disk using the 'ZFCP' module this is what
I get
:

LNOUC4D:~ # insmod zfcp map=0x0406 0x01:0x50060482ccb539c8
0x0:0x0107
insmod: can't read 'zfcp': No such file or directory
LNOUC4D:~ #

Can see what I am missing !
Thank You.


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Troth
Sent: Monday, August 07, 2006 10:50 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: ECKD vs FBA problem on MF Linux Lpar

There may be a typo in 'mkinitrd' and its cousins,  because it also
flags
your 101 as CKD.  There is only the one driver:  DASD,  with varying
sub-components.  Also,  some commands  will not work  with an FBA disk,
notably  'dasdfmt'  and  'fdasd'.  While  'fdisk'  does work,  last time
I
used it there was some confusion in its logic when run against FBA.
Note
that FBA does not require the low-level format function of  'dasdfmt'.
It
is already blocked.

No shame in using  /dev/dasdd  as un-partitioned!  If it is to be  LVM
fodder,  that makes all the more sense.  But if you abso-blasto-lutely
must partition it,  then CP LINK the EDEV to CMS and FORMAT it there.
You'll then automagically get  LDL  (zLinux disk layout) instead of
CDL  (compatible disk layout,  which requires CKD).  CMS FORMAT will
skip the block creation on FBA disks and simply lay a CMS filesystem
onto
the disk.  Linux will see that and do its own thing,  resulting in LDL
with one  (and only one)  partition,  /dev/dasdd1.

-- R,





Michael Harvey [EMAIL PROTECTED]

Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU




08/07/2006 10:06 AM
Please respond to Linux on 390 Port LINUX-390@VM.MARIST.EDU

From
Michael Harvey [EMAIL PROTECTED]
To
LINUX-390@VM.MARIST.EDU
cc

Subject
ECKD  vs FBA problem on MF Linux Lpar






We have the Linux Lpar under ZVm and connected thru a McData Switch. We
see
the following on device eg. 406 as FBA but later is seen as ECKD device.
What informational source can I use to do a step by step allocation of
FBA
devices or understnd more on this topic. Thank You.
EDEV 0406 TYPE FBA ATTRIBUTES SCSI
PATHS:
FCP_DEV: 4006 WWPN: 50060482CCB539C8 LUN: 0107
set edev 406 type fba attr scsi fcp_dev 4006 wwpn 50060482ccb539c8 lun
01070
000
When we do a lsdasd, we can see the disk :
LNOUC4D:/dev/scsi # lsdasd
0.0.0100(ECKD) at ( 94: 0) is dasda : active at blocksize 4096,
546840 blocks, 2136 MB
0.0.0101(FBA ) at ( 94: 4) is dasdb : active at blocksize 512, 524288

Re: protocol converter?

2006-08-15 Thread Peter 1 Oberparleiter
McKown, John [EMAIL PROTECTED] wrote on 15.08.2006
17:36:48:
  From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On
  Behalf Of Lee Stewart
  Isn't the better/full answer to get IBM to support the
  Integrated ASCII
  Console on the HMC?
  Lee

 Well, that assumes you have physical access to the HMC. But, yes, I
 would like that.

FYI Linux support for the Integrated Ascii Console has been present
for some time under the title VT220-like full-screen mode terminal.

See pp. 204 of Device Drivers, Features, and Commands - SC33-8289-01:

http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/docu/l26cdd01.pdf


Regards,
  Peter Oberparleiter

--
Peter Oberparleiter
Linux on zSeries Development
IBM Development Lab, Boeblingen/Germany

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: ECKD vs FBA problem on MF Linux Lpar

2006-08-15 Thread Post, Mark K
Since FBA volumes, by definition, don't need formatting, dasdfmt was
written to bail if you point it at an FBA device.  I'm pretty sure fdasd
won't work either, so you should just need to do a pvcreate on
/dev/dasdb1, and go from there.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Michael Harvey
Sent: Tuesday, August 15, 2006 11:39 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: ECKD vs FBA problem on MF Linux Lpar

Still having Issues, Need Help again!  Thank You.  

 FCP on z/VN Linux scenerio :

- I can define the disk using the 'EDEVice' command on z/VM.

- I can see the disk on the Linux guest :

- LNOUC4D:/dev # lsdasd
0.0.0100(ECKD) at ( 94:  0) is dasda  : active at blocksize 4096,
546840 blocks, 2136 MB
0.0.0101(FBA )   at ( 94:  4) is dasdb  : active at blocksize 512,
524288 blocks, 256 MB
0.0.0102(ECKD) at ( 94:  8) is dasdc  : active at blocksize 4096,
54000
blocks, 210 MB
0.0.0406(FBA ) at ( 94: 12) is dasdd  : active at blocksize 512,
71454720 blocks, 34890 MB

- Now how do I utilize this disk ? In other words how do i format it and
create a Vol Group, Logical Vol, Filesystem ?
I usually do this by using YAST2, but it only works with ECKD disks ?

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Dave Jones

Does anybody know where UTS's NED can be found these days? Is it still free?

DJ

Richard Pinion wrote:

I can't get NED to work on 2.6.



[EMAIL PROTECTED] 8/15/2006 11:36 AM 


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Stewart
Sent: Tuesday, August 15, 2006 10:19 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: protocol converter?


Isn't the better/full answer to get IBM to support the
Integrated ASCII
Console on the HMC?
Lee



Well, that assumes you have physical access to the HMC. But, yes, I
would like that.

Or have z/VM emulate the Integrate ASCII Console for the guest
systems.

I guess what is really needed is a free 3270 full screen editor (like
UTS NED) that can be bundled with any Linux distribution.

--

John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Richard Pinion
I THINK you can still get it from www.utsglobal.com.  When I downloaded NED 
back in 2004 or 2005 all I had to do was register on the utsglobal web site.

 [EMAIL PROTECTED] 8/15/2006 1:54 PM 
Does anybody know where UTS's NED can be found these days? Is it still free?

DJ

Richard Pinion wrote:
 I can't get NED to work on 2.6.


[EMAIL PROTECTED] 8/15/2006 11:36 AM 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Stewart
Sent: Tuesday, August 15, 2006 10:19 AM
To: LINUX-390@VM.MARIST.EDU 
Subject: Re: protocol converter?


Isn't the better/full answer to get IBM to support the
Integrated ASCII
Console on the HMC?
Lee


 Well, that assumes you have physical access to the HMC. But, yes, I
 would like that.

 Or have z/VM emulate the Integrate ASCII Console for the guest
 systems.

 I guess what is really needed is a free 3270 full screen editor (like
 UTS NED) that can be bundled with any Linux distribution.

 --

 John McKown
 Senior Systems Programmer
 HealthMarkets
 Keeping the Promise of Affordable Coverage
 Administrative Services Group
 Information Technology

 This message (including any attachments) contains confidential
 information intended for a specific individual and purpose, and its
 content is protected by law.  If you are not the intended recipient, you
 should delete this message and are hereby notified that any disclosure,
 copying, or distribution of this transmission, or taking any action
 based on it, is strictly prohibited.


 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390 

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Dave Jones

There's no mention of NED there now.wonder whatever happened to it?

DJ

Richard Pinion wrote:

I THINK you can still get it from www.utsglobal.com.  When I downloaded NED 
back in 2004 or 2005 all I had to do was register on the utsglobal web site.



[EMAIL PROTECTED] 8/15/2006 1:54 PM 


Does anybody know where UTS's NED can be found these days? Is it still free?

DJ

Richard Pinion wrote:


I can't get NED to work on 2.6.




[EMAIL PROTECTED] 8/15/2006 11:36 AM 


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Stewart
Sent: Tuesday, August 15, 2006 10:19 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: protocol converter?


Isn't the better/full answer to get IBM to support the
Integrated ASCII
Console on the HMC?
Lee



Well, that assumes you have physical access to the HMC. But, yes, I
would like that.

Or have z/VM emulate the Integrate ASCII Console for the guest
systems.

I guess what is really needed is a free 3270 full screen editor (like
UTS NED) that can be bundled with any Linux distribution.

--

John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Lee Stewart

I should have added...  under VM...   Since most of us don't run with
bare LPARs...

Lee

Peter 1 Oberparleiter wrote:

McKown, John [EMAIL PROTECTED] wrote on 15.08.2006
17:36:48:

From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Stewart
Isn't the better/full answer to get IBM to support the
Integrated ASCII
Console on the HMC?
Lee

Well, that assumes you have physical access to the HMC. But, yes, I
would like that.


FYI Linux support for the Integrated Ascii Console has been present
for some time under the title VT220-like full-screen mode terminal.

See pp. 204 of Device Drivers, Features, and Commands - SC33-8289-01:

http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/docu/l26cdd01.pdf


Regards,
  Peter Oberparleiter

--
Peter Oberparleiter
Linux on zSeries Development
IBM Development Lab, Boeblingen/Germany

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



--

Lee Stewart, Senior SE
Sirius Enterprise Systems Group
Phone: (303) 798-2954
Fax: (720) 228-2321
[EMAIL PROTECTED]
www.siriuscom.com

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: question on '/' root filesystem as zFCP/multipath-tools/LVM

2006-08-15 Thread Post, Mark K
Sounds like you did not rebuild your initrd with the FCP driver and
parms needed to find the storage and re-run zipl.


Mark Post 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Terry Spaulding
Sent: Monday, August 14, 2006 11:08 AM
To: LINUX-390@VM.MARIST.EDU
Subject: question on '/' root filesystem as zFCP/multipath-tools/LVM

I am working on SLES9 SP3 s390x under zVM 5.2 trying to migrate from
ECKD
to zFCP/SCSI.

Has anyone setup the '/' root filesystem to be multipath-tools and LVM
with
SLES9 SP3 ?

I have setup three SCSI devices. One for /boot, one for the '/'
filesystem,
and a third one with individual LVM filesystems.

/boot is it's own small SCSI device.

I have the main '/' filesystem as a separate SCSI multipath/lvm device
(/bin , /sbin, /dev, /etc, /mnt, /proc,  /root, /srv, /sys, /lib,
/lib64)

These directories are on another SCSI device multipath-tools device with
individual LVM filesystems: (/opt, /home, /usr, /tmp, /var).

I get this message during the SCSI IPL:



  Reading all physical volumes.  This may take a while...
  Found volume group datavg using metadata type lvm2
  Found volume group rootvg using metadata type lvm2
  Unable to find volume group rootvgx
Waiting for device /dev/rootvgx/root to appear:
.
.
.
.
.
.not found -- device nodes:
console dasda dasda1 dasda2 dasda3 dasdb dasdb1 device-mapper disk full
kmem kms
 loop5 loop6 loop7 mapper md0 mem null port ptmx ram ram0 ram1 ram10
ram11
ram12
m4 ram5 ram6 ram7 ram
8 ram9 ramdisk random scsi sda sdb sdc sdd sde sdf sdg sdh sdi sdj sdk
sdl
sdm s
S0 ttysclp0 urandom zero zfcp_cfdc
No root device found; exiting to /bin/sh
sh: can't access tty; job control turned off
$



TIA ..

Regards,
Terry L. Spaulding
IBM ITS
[EMAIL PROTECTED]

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Alan Altmark
On Tuesday, 08/15/2006 at 05:48 ZE2, Peter 1 Oberparleiter
[EMAIL PROTECTED] wrote:
 FYI Linux support for the Integrated Ascii Console has been present
 for some time under the title VT220-like full-screen mode terminal.

Which does not help a Linux guest as there is currently no way to give a
Linux guest access to the integrated VT220.

Alan Altmark
z/VM Development
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: protocol converter?

2006-08-15 Thread Richard Hitt

Hi, Dave  all

Hold your breath; ned will soon be reappearing on our downloads page.

Richard Hitt   [EMAIL PROTECTED]


Dave Jones wrote:

There's no mention of NED there now.wonder whatever happened to it?

DJ

Richard Pinion wrote:

I THINK you can still get it from www.utsglobal.com.  When I
downloaded NED back in 2004 or 2005 all I had to do was register on
the utsglobal web site.



[EMAIL PROTECTED] 8/15/2006 1:54 PM 


Does anybody know where UTS's NED can be found these days? Is it
still free?

DJ

Richard Pinion wrote:


I can't get NED to work on 2.6.




[EMAIL PROTECTED] 8/15/2006 11:36 AM 


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On
Behalf Of Lee Stewart
Sent: Tuesday, August 15, 2006 10:19 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: protocol converter?


Isn't the better/full answer to get IBM to support the
Integrated ASCII
Console on the HMC?
Lee



Well, that assumes you have physical access to the HMC. But, yes, I
would like that.

Or have z/VM emulate the Integrate ASCII Console for the guest
systems.

I guess what is really needed is a free 3270 full screen editor (like
UTS NED) that can be bundled with any Linux distribution.

--

John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient,
you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO
LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO
LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390
or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: question on '/' root filesystem as zFCP/multipath-tools/LVM

2006-08-15 Thread Terry Spaulding
Hi Mark,

Yes, we did go thru what we believe is the correct modules for FCP support
in the initrd. We ran the mkinitrd after chroot to the new
SCSI/LVM/Multipath-tools
design. We had changes in lvm.conf, created multipath.conf, changes to
udev.rules.

mkinitrd and zipl output:

Linux0:/ # mkinitrd -d /dev/rootvgx/root
Root device:/dev/rootvgx/root (mounted on / as ext3)
Module list:jbd ext3 dasd_diag_mod dasd_fba_mod dmsetup dm-multipath
dm-mod dm-snapshot dasd_eckd_mod sd_mod zfcp

Kernel image:   /boot/image-2.6.5-7.252-s390x
Initrd image:   /boot/initrd-2.6.5-7.252-s390x
Shared libs:lib64/ld-2.3.3.so lib64/libacl.so.1.1.0
lib64/libattr.so.1.1.0 lib64/libblkid.so.1.0 lib64/libc.so.6
lib64/libdevmapper.so.1.01 lib64/libdl.so.2 lib64/libpthread.so.0
lib64/librt.so.1 lib64/libselinux.so.1 lib64/libuuid.so.1.2
Cannot determine dependencies of module dasd_diag_mod. Is modules.dep up to
date?
Cannot determine dependencies of module dmsetup. Is modules.dep up to date?
Modules:kernel/fs/jbd/jbd.ko kernel/fs/ext3/ext3.ko
kernel/drivers/s390/block/dasd_mod.ko
kernel/drivers/s390/block/dasd_fba_mod.ko kernel/drivers/md/dm-mod.ko
kernel/drivers/md/dm-multipath.ko kernel/drivers/md/dm-snapshot.ko
kernel/drivers/s390/block/dasd_eckd_mod.ko kernel/drivers/scsi/scsi_mod.ko
kernel/drivers/scsi/sd_mod.ko kernel/drivers/s390/cio/qdio.ko
kernel/drivers/s390/scsi/zfcp.ko
DASDs:   0.0.0200(ECKD) 0.0.0201(ECKD)
zfcp HBAs:  0.0.0301 0.0.0302 0.0.0303 0.0.0300
zfcp disks:
0.0.0301:0x5005076801201d54:0x0004
0.0.0301:0x5005076801201d54:0x0005
0.0.0301:0x5005076801401ec7:0x0004
0.0.0301:0x5005076801401ec7:0x0005
0.0.0302:0x5005076801401d54:0x0004
0.0.0302:0x5005076801401d54:0x0005
0.0.0302:0x5005076801201ec7:0x0004
0.0.0302:0x5005076801201ec7:0x0005
0.0.0303:0x5005076801301d54:0x0004
0.0.0303:0x5005076801301d54:0x0005
0.0.0303:0x5005076801101ec7:0x0004
0.0.0303:0x5005076801101ec7:0x0005
0.0.0300:0x5005076801101d54:0x0004
0.0.0300:0x5005076801101d54:0x0005
0.0.0300:0x5005076801101d54:0x0003
0.0.0300:0x5005076801301ec7:0x0004
0.0.0300:0x5005076801301ec7:0x0005
Including:  udev dm/lvm2

initrd updated, zipl needs to update the IPL record before IPL!
linux0:/ #

linux0:/ # zipl -V
Using config file '/etc/zipl.conf'
Target device information
  Device..: 41:00
  Partition...: 41:01
  Device name.: sdq
  Type: disk partition
  Disk layout.: SCSI disk layout
  Geometry - heads: 2
  Geometry - sectors..: 50
  Geometry - cylinders: 1024
  Geometry - start: 63
  File system block size..: 4096
  Physical block size.: 512
  Device size in physical blocks..: 96327
Building bootmap in '/boot/zipl'
Adding IPL section 'ipl' (default)
  kernel image..: /boot/image at 0x1
  kernel parmline...: 'root=/dev/rootvgx/root selinux=0 TERM=dumb
elevator=cfq' at 0x1000
  initial ramdisk...: /boot/initrd at 0x80
Preparing boot device: sdq.
Detected SCSI PCBIOS disk layout.
Writing SCSI master boot record.
Syncing disks...
Done.
linux0:/ #

---
Mark replied:
Sounds like you did not rebuild your initrd with the FCP driver and
parms needed to find the storage and re-run zipl.


Mark Post

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Terry Spaulding
Sent: Monday, August 14, 2006 11:08 AM
To: LINUX-390@VM.MARIST.EDU
Subject: question on '/' root filesystem as zFCP/multipath-tools/LVM

I am working on SLES9 SP3 s390x under zVM 5.2 trying to migrate from
ECKD

Thanks .

Regards,
Terry L. Spaulding
IT Specialist
IBM ITS
Tele: 781-323-5192Tie/L: 364-2090
Fax: 781-895-2659
[EMAIL PROTECTED]

The third-rate mind is only happy when it is thinking with the majority.
The second-rate mind is only happy when it is thinking with the minority.
The first-rate mind is only happy when it is thinking. -- A.A. Milne
(1882-1956)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390