All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Bratcher <bratcher@tpr.com>
To: Tim Moore <timothymoore@bigfoot.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ATAPI Tape Driver Failure in Kernel 2.4.4, More
Date: Thu, 10 May 2001 08:31:25 -0400	[thread overview]
Message-ID: <3AFA8A1D.A9BBB4DF@tpr.com> (raw)
In-Reply-To: <3AF9558F.9C76953C@tpr.com> <3AF9B411.2A0F3F43@tpr.com> <3AF9B876.FDB1B6DD@bigfoot.com>

[-- Attachment #1: Type: text/plain, Size: 2244 bytes --]

Tim,

Thanks for the input.

Sadly, it didn't work. I tried the SCSI emulation (which I already had running
on the CD-ROM, which works), but it fails for the tape.

With SCSI emulation turned on, the system recognizes the tape drive as SCSI. 
However, an attempt at the following command:

mt -f /dev/st0 rewind

yields the following errors:

May 10 07:49:33 isaiah kernel: st0: Error with sense data: [valid=0] Info
fld=0x0,
Current st09:00: sense key Illegal Request 
May 10 07:49:33 isaiah kernel: Additional sense indicates Invalid command
operation code 

This all works OK in kernel 2.2.17. But it fails in 2.4.4.

Mark

Tim Moore wrote:
> 
> Use SCSI emulation instead of ATAPI for the tape device.  Also make sure
> your mt is >= 0.5.
> 
> [tim@abit tim]# mt -v
> mt-st v. 0.5b
> [tim@abit linux]# dump -v
> dump 0.4b
> [tim@abit linux]# restore -v
> restore 0.4b17
> 
> [dmesg exerpts - tape is /dev/st0]
> ...
> hdd: HP COLORADO 20GB, ATAPI TAPE drive
> ...
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
> scsi : 1 host.
>   Vendor: HP        Model: COLORADO 20GB     Rev: 4.01
>   Type:   Sequential-Access                  ANSI SCSI revision: 02
> Detected scsi tape st0 at scsi0, channel 0, id 0, lun 0
> ...
> 
> for 2.2.x .config:
> 
> CONFIG_BLK_DEV_IDESCSI
> #CONFIG_BLK_DEV_IDETAPE
> CONFIG_SCSI
> CONFIG_CHR_DEV_ST
> 
> > immediately after the backup completes and I try to write a file mark with "mt":
> >
> > May  9 16:50:49 isaiah kernel: ide-tape: Reached idetape_chrdev_open
> > May  9 16:52:05 isaiah kernel: hdd: irq timeout: status=0xd0 { Busy }
> > May  9 16:52:05 isaiah kernel: hdd: ATAPI reset complete
> > May  9 16:52:05 isaiah kernel: ide-tape: Couldn't write a filemark
> > May  9 16:52:06 isaiah kernel: ide-tape: Reached idetape_chrdev_open
> > May  9 16:54:06 isaiah kernel: ide-tape: ht0: DSC timeout
> > May  9 16:54:06 isaiah kernel: hdd: ATAPI reset complete
> > ...
> 
> --
>   |  650.390.9613  |  6502247437@messaging.cellone-sf.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

[-- Attachment #2: Card for Mark Bratcher --]
[-- Type: text/x-vcard, Size: 349 bytes --]

begin:vcard 
n:Bratcher;Mark
tel;fax:716/288-4604
tel;work:716/288-7220
x-mozilla-html:FALSE
url:www.tpr.com
org:Torrey Pines Research
version:2.1
email;internet:bratcher@tpr.com
title:Director of Software Development
adr;quoted-printable:;;565 Blossom Road=0D=0ASuite A;Rochester;New York;14610;USA
x-mozilla-cpt:;19472
fn:Bratcher, Mark
end:vcard

  reply	other threads:[~2001-05-10 12:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-09 14:34 ATAPI Tape Driver Failure in Kernel 2.4.4 Mark Bratcher
2001-05-09 21:18 ` ATAPI Tape Driver Failure in Kernel 2.4.4, More Mark Bratcher
2001-05-09 21:36   ` Tim Moore
2001-05-10 12:31     ` Mark Bratcher [this message]
2001-05-10 17:33       ` Mike Dresser
2001-05-10 20:48         ` Ed Tomlinson
2001-05-10 21:26           ` Tim Moore

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=3AFA8A1D.A9BBB4DF@tpr.com \
    --to=bratcher@tpr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=timothymoore@bigfoot.com \
    /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.