From: Douglas Gilbert <dougg@torque.net>
To: georgek@netwrx1.com
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: SCSI Problems since upgrade from 2.2.16
Date: Fri, 29 Dec 2000 13:45:17 -0500 [thread overview]
Message-ID: <3A4CDBBD.B613C101@torque.net> (raw)
In-Reply-To: <p3ap4ts0e58mr95csmeo8sgr0gc0p63n7t@4ax.com>
"George R. Kasica" wrote:
>
> Hello:
>
> I'm running an HP DAT 4mm Autochanger here and since going to 2.2.17
> and 2.2.18 I'm seeing failures when it attempts to unload the tape and
> load a new one while backing up using BRU PE...utilizing the mt or mtx
> commands as follows:
>
> mt -f $DEV rewoffl 2>&1 >/dev/null
>
> OR
>
> /usr/local/bin/mtx -f /dev/sg1 eject 2>&1 >/dev/null
>
> If I use the MTX command set to "manually" change the tapes all is
> well....any thoughts on the cause or a fix...I don't think the
> hardware is broken due to the fact it runs fine "manually" by doing
> the mtx -f /dev/sg1 next commnand to load the next tape
>
> Pertinent info below:
>
> Information about installed SCSI devices
>
> Attached devices:
> Host: scsi0 Channel: 00 Id: 01 Lun: 00
> Vendor: SEAGATE Model: ST32550N Rev: 0021
> Type: Direct-Access ANSI SCSI revision: 02
> Host: scsi0 Channel: 00 Id: 03 Lun: 00
> Vendor: HP Model: C1553A Rev: NS01
> Type: Sequential-Access ANSI SCSI revision: 02
> Host: scsi0 Channel: 00 Id: 03 Lun: 01
> Vendor: HP Model: C1553A Rev: NS01
> Type: Medium Changer ANSI SCSI revision: 02
While I am not familiar with mtx and the process you
are having problems with, 'man 1 mtx' contains the
following:
The first argument, given following -f, is the SCSI
generic device corresponding to your media changer.
On the basis of the /proc/scsi/scsi output you have shown,
the mtx commands should read "mtx -f /dev/sg2 ..."
(not /dev/sg1) as you have noted at the top.
Given those 2 sg devices are closely coupled (just
differing by the lun) mtx probably can sort this out.
Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2000-12-29 19:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-29 15:16 SCSI Problems since upgrade from 2.2.16 George R. Kasica
2000-12-29 18:45 ` Douglas Gilbert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A4CDBBD.B613C101@torque.net \
--to=dougg@torque.net \
--cc=georgek@netwrx1.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.