From: Kai Makisara <Kai.Makisara@kolumbus.fi>
To: Bob Tracy <rct@gherkin.frus.com>
Cc: linux-kernel@vger.kernel.org, axboe@suse.de
Subject: Re: 2.5.72: SCSI tape error handling
Date: Fri, 20 Jun 2003 15:11:29 +0300 (EEST) [thread overview]
Message-ID: <Pine.LNX.4.52.0306201505210.755@kai.makisara.local> (raw)
In-Reply-To: <20030619213635.AD2874F01@gherkin.frus.com>
On Thu, 19 Jun 2003, Bob Tracy wrote:
> I was trying to do the responsible thing and back up my system today
> (for the first time in too many weeks :-)), and got the following
> errors in syslog about 15 minutes into the process:
>
> Jun 19 09:55:04 gherkin kernel: st0: Error with sense data: Info fld=0x3ba, Deferred stst0: sense key Medium Error
> Jun 19 09:55:04 gherkin kernel: Additional sense: Write append position error
> Jun 19 09:55:04 gherkin kernel: st0: Error with sense data: Current stst0: sense key Medium Error
> Jun 19 09:55:04 gherkin kernel: Additional sense: Write append position error
> Jun 19 09:55:04 gherkin kernel: st0: Error with sense data: Current stst0: sense key Medium Error
> Jun 19 09:55:04 gherkin kernel: Additional sense: Write append position error
> (... ad infinitum for the next three hours -- backup was unattended.
> There were no error messages of any kind on the console.)
>
st does not currently return error for any write problems except when at
EOT. The following one-liner fixes the bug (probably mangled by my mail
client):
--- linux-2.5.72-bk2/drivers/scsi/st.c 2003-06-19 20:43:38.000000000 +0300
+++ linux-2.5.72-bk2-km/drivers/scsi/st.c 2003-06-20 14:56:44.000000000 +0300
@@ -1555,6 +1555,7 @@
}
} else {
filp->f_pos -= do_count;
+ count += do_count;
STps->drv_block = (-1); /* Too cautious? */
retval = (-EIO);
}
Thanks for the report.
--
Kai
next prev parent reply other threads:[~2003-06-20 11:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-19 21:36 Bob Tracy
2003-06-20 12:11 ` Kai Makisara [this message]
2003-06-20 13:08 ` Bob Tracy
2003-06-20 17:49 ` Bill Davidsen
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=Pine.LNX.4.52.0306201505210.755@kai.makisara.local \
--to=kai.makisara@kolumbus.fi \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rct@gherkin.frus.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®