From: Kai Makisara <Kai.Makisara@kolumbus.fi>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: petkovbb@gmail.com, maximilian attems <max@stro.at>,
linux-ide@vger.kernel.org, Stephen Kitt <steve@sk2.org>,
bzolnier@gmail.com, linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: (fwd) Bug#11922: I/O error on blank tapes
Date: Tue, 5 Feb 2008 18:56:17 +0200 (EET) [thread overview]
Message-ID: <alpine.LSU.1.00.0802051846230.8573@kai.makisara.local> (raw)
In-Reply-To: <1202162213.3096.119.camel@localhost.localdomain>
On Mon, 4 Feb 2008, James Bottomley wrote:
>
> On Mon, 2008-02-04 at 22:28 +0100, Borislav Petkov wrote:
> > On Mon, Feb 04, 2008 at 03:22:06PM +0100, maximilian attems wrote:
> >
> > (Added Bart to CC)
> >
> > > hello borislav,
> > >
> > > may i forward you that *old* Debian kernel bug,
> > > have seen you working on ide-tape:
> > > http://bugs.debian.org/11922
> > > no we don't carry any ide patches anymore.
> > >
> > > maybe you've already fixed it in latest?
> > >
> > > thanks
> > >
> > > --
> > > maks
> > >
> > > ----- Forwarded message from Stephen Kitt <steve@sk2.org> -----
> > >
> > > Subject: Bug#11922: I/O error on blank tapes
> > > Date: Sat, 1 Dec 2007 19:06:18 +0100
> > > From: Stephen Kitt <steve@sk2.org>
> > > To: 11922@bugs.debian.org
> > >
> > > Hi,
> > >
> > > This does still occur with 2.6.22; with a blank tape in my HP DDS-4 drive:
> > >
> > > $ tar tzvf /dev/nst0
> > > tar: /dev/nst0: Cannot read: Input/output error
>
> That's a SCSI tape, not an IDE one. I cc'd the SCSI list
>
This is not a bug, it is a feature. There is _nothing_ on the tape and if
you try to read something, you get an error. The same thing applies to
reading after the last filemark. Note that after writing a filemark at the
beginning of the tape, the situation is different. Now there is a file and
the normal EOF semantics apply although there still is no data.
I admit that the error return could be more descriptive but the st driver
tries to be compatible with other Unices.
The behavior can be changed if Linux does not match other Unices. I don't
remember if I have tested just this with other Unices. I will try to test
this with Tru64 tomorrow. If anyone has data on other Unices, it would be
helpful.
--
Kai
next prev parent reply other threads:[~2008-02-05 16:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080204142206.GB5532@stro.at>
[not found] ` <20080204212835.GA29286@gollum.tnic>
2008-02-04 21:56 ` (fwd) Bug#11922: I/O error on blank tapes James Bottomley
2008-02-05 16:56 ` Kai Makisara [this message]
2008-02-10 21:23 ` Kai Makisara
2008-02-20 17:07 John LLOYD
2008-02-20 20:16 ` Kai Makisara
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=alpine.LSU.1.00.0802051846230.8573@kai.makisara.local \
--to=kai.makisara@kolumbus.fi \
--cc=James.Bottomley@HansenPartnership.com \
--cc=bzolnier@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=max@stro.at \
--cc=petkovbb@gmail.com \
--cc=steve@sk2.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox