From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Krzysztof Halasa <khc@pm.waw.pl>
Cc: lkml <linux-kernel@vger.kernel.org>, linux-ide@vger.kernel.org
Subject: Re: IDE CDROM tail read errors
Date: Thu, 30 Mar 2006 12:18:09 +0100 [thread overview]
Message-ID: <1143717489.29388.32.camel@localhost.localdomain> (raw)
In-Reply-To: <m3wtedrrpf.fsf@defiant.localdomain>
On Mer, 2006-03-29 at 21:11 +0200, Krzysztof Halasa wrote:
> # ls -l
> -rw-r--r-- 1 root root 687177728 Mar 29 15:51 img-15.iso
> -rw-r--r-- 1 root root 687177728 Mar 29 15:58 img-15a.iso
>
> The files are just truncated FC5d1 images (57344 bytes missing).
The final partial read is dropped rather than partially completed.
> # cat /sys/block/sr0/size
> 1342264 (i.e., the same as with 2.6.15 + drivers/ide)
>
> # cat /dev/cdrw > img-16a.iso
> cat: /dev/cdrw: Input/output error
>
> # cat /sys/block/sr0/size
> 1342256 (looks like it has been adjusted to .iso image size / 512 when
> the first I/O error occured)
The SCSI layer does this bit for everyone. Its actually not libata or
the PATA drivers that have done the work here. You should find ide-scsi
does the same.
I patched the old IDE driver a bit to try and deal with this and if you
want the patch to hack on and tidy up further feel free.
next prev parent reply other threads:[~2006-03-30 11:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 19:11 IDE CDROM tail read errors Krzysztof Halasa
2006-03-30 8:19 ` Jan Engelhardt
2006-04-02 10:55 ` Krzysztof Halasa
2006-04-02 18:13 ` Jan Engelhardt
2006-03-30 11:18 ` Alan Cox [this message]
2006-04-02 10:50 ` Krzysztof Halasa
2006-04-04 19:09 ` Bill Davidsen
2006-04-12 8:57 ` Alan Cox
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=1143717489.29388.32.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=khc@pm.waw.pl \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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.