Here is what I have done to get tape_34xx to work with SLES9:

modprobe tape_34xx
chccwdev -e 0.0.addr  (where addr is the address of the drive) This
command puts the drive 'online' to Linux. The -d option takes it
'offline' to Linux.

You should see a message in the syslog displayed via the dmesg command
when the driver is loaded and the drive is online.  You can look through
the /sys/bus/ccw/drivers/tape_34xx directory structure for various
information, but most if not all is displayed via the lstape command.  

The Device Drivers manual for 2.6 has most of this info.  I've been
using this on SLES 9 SP1 for about a month with no problems.  I am using
3490 mode drives.  

Scott Ledbetter
StorageTek   

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Tom Duerbusch
Sent: Friday, June 03, 2005 4:27 PM
To: [email protected]
Subject: tape_34xx


All my mainframe tape documentation refers to tape390 and also, is prior
to SLES9 (which changed a lot of the I/O stuff with autodetect).

Has there been any newer documentation published for 3590 tape drives
and SLES9 (udev support)?

I see the presentation "exploiting udev in SLES9 and RHEL4", but it
doen't mention tapes.

After doing the:

rpm -Fvh s390_oco-2.6.5-7.145.s390.rpm

looked like it worked.  But I expected some documentation with it. lsmod
shows:

tape_34xx  size 31236 used by 0
tape            size 66328 used by 1 tape_34xx
tape_class  size 12548 used by 1 tape

But anytime I try using it, it fails

mt -f /dev/rtibm0 rewind
mt: /dev/rtibm0: No such device or address

but a dir /dev/rt* shows:

crw-r--r-- 1 root toot 254, 0 Jun 3 16:31 rtibm0

looks there to me.

BTW where I have tape operational on SLES7 and SLES8, this is the first
attempt on SLES9 with SP1.

Thanks for any pointers

Tom Duerbusch
THD Consulting

----------------------------------------------------------------------
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

Reply via email to