Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-09 Thread Tom Duerbusch
When I use 3590 tapes here, this is what I do:

vary on 5b1 (vary it off first on the other lpar)
attach 5b1 LINUX72

>From Linux:

lstape
chccwdev -e 0.0.05b1  (set drive online)
lstape
mtst -f /dev/ntibm0 rewind
mtst -f /dev/ntibm0 fsf 1
mtst -f /dev/ntibm0 compression 1

However, you have to install the mtst tar file (part of the IBM code) to use 
the mtst command.
Without mtst, I don't believe that you can turn on/off compression on your 
drives.

Tom Duerbusch
THD Consulting

>>> Edward Jaffe  11/5/2011 4:50 PM >>>
Hello,

I have RHEL 6 Linux running as a guest under z/VM 6.1 on our z10 BC. It has the
following 3590-H tape drives assigned in the z/VM directory:

DEDICATE 1500 1500 MULTIUSER
DEDICATE 1501 1501 MULTIUSER
DEDICATE 1502 1502 MULTIUSER
DEDICATE 1503 1503 MULTIUSER

A query command shows the drives are attached to the Linux guest:

q 1500-1503
TAPE 1500 ATTACHED TO ZLINUX1  1500 R/W  NOASSIGN MULTIUSER
TAPE 1501 ATTACHED TO ZLINUX1  1501 R/W  NOASSIGN MULTIUSER
TAPE 1502 ATTACHED TO ZLINUX1  1502 R/W  NOASSIGN MULTIUSER
TAPE 1503 ATTACHED TO ZLINUX1  1503 R/W  NOASSIGN MULTIUSER

However, the lstape command shows no drives:

FICON/ESCON tapes (found 0):
TapeNo  BusID  CuType/Model DevType/Model   BlkSize State   Op  MedState

SCSI tape devices (found 0):
Generic DeviceTarget   Vendor   ModelType State

I found the driver here:

/lib/modules/2.6.32-131.17.1.el6.s390x/kernel/drivers/s390/char/tape_3590.ko

What am I missing? How can I get Linux to recognize these tape drives?

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
edja...@phoenixsoftware.com 
http://www.phoenixsoftware.com/ 

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390 
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Edward Jaffe

On 11/5/2011 4:19 PM, Christian Paro wrote:

Have you tries using the `cio_ignore` command to make sure the channels
your tapes are attached to aren't blacklisted?

For example:

cio_ignore -r 1500

Your tape drives may currently be masked from being detected. For more info
on cio_ignore, see What's new in RHEL 6 for Linux on System
z  (p. 24).


THAT WAS IT! THANKS!

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
edja...@phoenixsoftware.com
http://www.phoenixsoftware.com/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Christian Paro
Have you tries using the `cio_ignore` command to make sure the channels
your tapes are attached to aren't blacklisted?

For example:

cio_ignore -r 1500

Your tape drives may currently be masked from being detected. For more info
on cio_ignore, see What's new in RHEL 6 for Linux on System
z (p.
24).

On Sat, Nov 5, 2011 at 6:50 PM, Edward Jaffe wrote:

> On 11/5/2011 3:28 PM, Edward Jaffe wrote:
>
>> On 11/5/2011 3:23 PM, Richard Troth wrote:
>>
>>> You found the module, but is it loaded?
>>>
>>> modpobe tape-3590
>>>
>>> Or look for it with 'lsmod | grep tape'.
>>>
>>
>> The module is most definitely NOT loaded.
>>
>
> Modprobe loads the module without problems. lsmod then shows tape_3590,
> tape and
> tape_class as new modules:
>
> Module  Size  Used by
> tape_3590  31467  0
> tape   61843  1 tape_3590
> tape_class  2981  1 tape
>
> But the drives themselves are still not detected. I think I need to hit the
> books on this driver to see if there's anything special I should be doing.
> Thanks for your help...
>
>
> --
> Edward E Jaffe
> Phoenix Software International, Inc
> 831 Parkview Drive North
> El Segundo, CA 90245
> 310-338-0400 x318
> edja...@phoenixsoftware.com
> http://www.phoenixsoftware.**com/ 
>
> --**--**--
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/**wlvindex?LINUX-390
> --**--**--
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Edward Jaffe

On 11/5/2011 3:28 PM, Edward Jaffe wrote:

On 11/5/2011 3:23 PM, Richard Troth wrote:

You found the module, but is it loaded?

 modpobe tape-3590

Or look for it with 'lsmod | grep tape'.


The module is most definitely NOT loaded.


Modprobe loads the module without problems. lsmod then shows tape_3590, tape and
tape_class as new modules:

Module  Size  Used by
tape_3590  31467  0
tape   61843  1 tape_3590
tape_class  2981  1 tape

But the drives themselves are still not detected. I think I need to hit the
books on this driver to see if there's anything special I should be doing.
Thanks for your help...

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
edja...@phoenixsoftware.com
http://www.phoenixsoftware.com/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Edward Jaffe

On 11/5/2011 3:23 PM, Richard Troth wrote:

You found the module, but is it loaded?

 modpobe tape-3590

Or look for it with 'lsmod | grep tape'.


The module is most definitely NOT loaded.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
edja...@phoenixsoftware.com
http://www.phoenixsoftware.com/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Richard Troth
You found the module, but is it loaded?

modpobe tape-3590

Or look for it with 'lsmod | grep tape'.

-- R;   <><
Rick Troth
Velocity Software
http://www.velocitysoftware.com/





On Sat, Nov 5, 2011 at 18:17, Edward Jaffe  wrote:
> On 11/5/2011 2:57 PM, Philipp Kern wrote:
>>
>> On Sat, Nov 05, 2011 at 02:50:50PM -0700, Edward Jaffe wrote:
>>>
>>> However, the lstape command shows no drives:
>>
>> Did you set those devices online?  Something like `chccwdev -e 0.0.1500'
>> might help.
>
> The 'MedState' column in the 'lstape' output will contain OFFLINE for any
> offline device(s). For example:
>
> lstape
> FICON/ESCON tapes (found 1):
> TapeNo  BusID      CuType/Model DevType/Model   BlkSize State   Op
> MedState
> N/A     0.0.05b1   3590/50      3590/11         N/A     OFFLINE ---    N/A
>
> In my case, the devices simply aren't being recognized. (Zero tapes found.)
>
> # chccwdev -e 0.0.1500
> Device 0.0.1500 not found
>
> --
> Edward E Jaffe
> Phoenix Software International, Inc
> 831 Parkview Drive North
> El Segundo, CA 90245
> 310-338-0400 x318
> edja...@phoenixsoftware.com
> http://www.phoenixsoftware.com/
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Edward Jaffe

On 11/5/2011 2:57 PM, Philipp Kern wrote:

On Sat, Nov 05, 2011 at 02:50:50PM -0700, Edward Jaffe wrote:

However, the lstape command shows no drives:

Did you set those devices online?  Something like `chccwdev -e 0.0.1500'
might help.


The 'MedState' column in the 'lstape' output will contain OFFLINE for any
offline device(s). For example:

lstape
FICON/ESCON tapes (found 1):
TapeNo  BusID  CuType/Model DevType/Model   BlkSize State   Op MedState
N/A 0.0.05b1   3590/50  3590/11 N/A OFFLINE ---N/A

In my case, the devices simply aren't being recognized. (Zero tapes found.)

# chccwdev -e 0.0.1500
Device 0.0.1500 not found

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
edja...@phoenixsoftware.com
http://www.phoenixsoftware.com/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Philipp Kern
On Sat, Nov 05, 2011 at 02:50:50PM -0700, Edward Jaffe wrote:
> I have RHEL 6 Linux running as a guest under z/VM 6.1 on our z10 BC. It has 
> the
> following 3590-H tape drives assigned in the z/VM directory:
>
> DEDICATE 1500 1500 MULTIUSER
> DEDICATE 1501 1501 MULTIUSER
> DEDICATE 1502 1502 MULTIUSER
> DEDICATE 1503 1503 MULTIUSER
>
> A query command shows the drives are attached to the Linux guest:
>
> q 1500-1503
> TAPE 1500 ATTACHED TO ZLINUX1  1500 R/W  NOASSIGN MULTIUSER
> TAPE 1501 ATTACHED TO ZLINUX1  1501 R/W  NOASSIGN MULTIUSER
> TAPE 1502 ATTACHED TO ZLINUX1  1502 R/W  NOASSIGN MULTIUSER
> TAPE 1503 ATTACHED TO ZLINUX1  1503 R/W  NOASSIGN MULTIUSER
>
> However, the lstape command shows no drives:

Did you set those devices online?  Something like `chccwdev -e 0.0.1500'
might help.

Kind regards
Philipp Kern
--
 .''`.  Philipp KernDebian Developer
: :' :  http://philkern.de Stable Release Manager
`. `'   xmpp:p...@0x539.de Wanna-Build Admin
  `-finger pkern/k...@db.debian.org

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


FICON-Attached 3590 Tape Drives Not Detected

2011-11-05 Thread Edward Jaffe

Hello,

I have RHEL 6 Linux running as a guest under z/VM 6.1 on our z10 BC. It has the
following 3590-H tape drives assigned in the z/VM directory:

DEDICATE 1500 1500 MULTIUSER
DEDICATE 1501 1501 MULTIUSER
DEDICATE 1502 1502 MULTIUSER
DEDICATE 1503 1503 MULTIUSER

A query command shows the drives are attached to the Linux guest:

q 1500-1503
TAPE 1500 ATTACHED TO ZLINUX1  1500 R/W  NOASSIGN MULTIUSER
TAPE 1501 ATTACHED TO ZLINUX1  1501 R/W  NOASSIGN MULTIUSER
TAPE 1502 ATTACHED TO ZLINUX1  1502 R/W  NOASSIGN MULTIUSER
TAPE 1503 ATTACHED TO ZLINUX1  1503 R/W  NOASSIGN MULTIUSER

However, the lstape command shows no drives:

FICON/ESCON tapes (found 0):
TapeNo  BusID  CuType/Model DevType/Model   BlkSize State   Op  MedState

SCSI tape devices (found 0):
Generic DeviceTarget   Vendor   ModelType State

I found the driver here:

/lib/modules/2.6.32-131.17.1.el6.s390x/kernel/drivers/s390/char/tape_3590.ko

What am I missing? How can I get Linux to recognize these tape drives?

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
edja...@phoenixsoftware.com
http://www.phoenixsoftware.com/

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/