linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] small patch to ide-tape.c
       [not found] <mailman.994203003.28209.linux-kernel2news@redhat.com>
@ 2001-07-04  0:36 ` Pete Zaitcev
  0 siblings, 0 replies; 3+ messages in thread
From: Pete Zaitcev @ 2001-07-04  0:36 UTC (permalink / raw)
  To: guthrie, linux-kernel

> This patch adds a missing semicolon that is noticed only if you define
> IDETAPE_DEBUG_LOG_VERBOSE:
> 
> John Guthrie
> guthrie@martnet.com

It makes me curious, why do you need to define
IDETAPE_DEBUG_LOG_VERBOSE?

I fixed some stuff with files not restoring properly
with last block corrupt. Talking with Andre and Gadi now.
What is your problem?

-- Pete

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] small patch to ide-tape.c
@ 2001-07-04 23:02 John Guthrie
  0 siblings, 0 replies; 3+ messages in thread
From: John Guthrie @ 2001-07-04 23:02 UTC (permalink / raw)
  To: guthrie, linux-kernel, zaitcev

Pete Zaitcev <zaitcev@redhat.com> wrote:
> > This patch adds a missing semicolon that is noticed only if you define
> > IDETAPE_DEBUG_LOG_VERBOSE:
> > 
> > John Guthrie
> > guthrie@martnet.com
> 
> It makes me curious, why do you need to define
> IDETAPE_DEBUG_LOG_VERBOSE?
> 
> I fixed some stuff with files not restoring properly
> with last block corrupt. Talking with Andre and Gadi now.
> What is your problem?

I sent out some posts earlier on this.  To summarize, I have an HP Colorado
5GB IDE tape drive.  I have been able to use mt to move the tape forward, find
out where the tape is positioned, rewind it, etc.  I have also been able to
use tar to write to the tape drive.  When I try to use tar to read from the
tape drive though, I get the following as output:

tar: /dev/ht0: Cannot read: Input/output error
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now

The following also appears in dmesg output when I try to run the tar command:

ide-tape: Reached idetape_chrdev_open
ide-tape: ht0: I/O error, pc =  8, key =  5, asc = 2c, ascq =  0

Willem Riede suggested to me that I try turning IDETAPE_DEBUG_LOG_VERBOSE on
to help with debugging.  That iswhen I ran into this line that as missing a
semicolon.

John Guthrie
guthrie@martnet.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] small patch to ide-tape.c
@ 2001-07-03 23:27 John Guthrie
  0 siblings, 0 replies; 3+ messages in thread
From: John Guthrie @ 2001-07-03 23:27 UTC (permalink / raw)
  To: linux-kernel

Hello all,

This patch adds a missing semicolon that is noticed only if you define
IDETAPE_DEBUG_LOG_VERBOSE:

John Guthrie
guthrie@martnet.com

------------------------------CUT HERE-------------------------------------

--- ide-tape.c.orig	Tue Jul  3 18:20:22 2001
+++ ide-tape.c	Tue Jul  3 18:22:41 2001
@@ -1409,7 +1409,7 @@
 		case IDETAPE_WRITE_FILEMARK_CMD:	return("WRITE_FILEMARK_CMD");
 		case IDETAPE_SPACE_CMD:			return("SPACE_CMD");
 		case IDETAPE_INQUIRY_CMD:		return("INQUIRY_CMD");
-		case IDETAPE_ERASE_CMD:			return("ERASE_CMD")
+		case IDETAPE_ERASE_CMD:			return("ERASE_CMD");
 		case IDETAPE_MODE_SENSE_CMD:		return("MODE_SENSE_CMD");
 		case IDETAPE_MODE_SELECT_CMD:		return("MODE_SELECT_CMD");
 		case IDETAPE_LOAD_UNLOAD_CMD:		return("LOAD_UNLOAD_CMD");

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-04 23:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.994203003.28209.linux-kernel2news@redhat.com>
2001-07-04  0:36 ` [PATCH] small patch to ide-tape.c Pete Zaitcev
2001-07-04 23:02 John Guthrie
  -- strict thread matches above, loose matches on Subject: below --
2001-07-03 23:27 John Guthrie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).