From: "Prakash K. Cheemplavam" <prakashpublic@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.9test9-mm1 and DAO ATAPI cd-burning corrupt
Date: Wed, 05 Nov 2003 11:31:25 +0100 [thread overview]
Message-ID: <3FA8D17D.3060204@gmx.de> (raw)
In-Reply-To: <20031105102238.GJ1477@suse.de>
Jens Axboe wrote:
> On Wed, Nov 05 2003, Prakash K. Cheemplavam wrote:
>
>>Jens Axboe wrote:
>>
>>>On Wed, Nov 05 2003, Prakash K. Cheemplavam wrote:
>>>
>>>
>>>>Jens Axboe wrote:
>>>>
>>>>
>>>>>On Wed, Nov 05 2003, Prakash K. Cheemplavam wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Jens Axboe wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>On Wed, Nov 05 2003, Prakash K. Cheemplavam wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>Jens Axboe wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>On Mon, Nov 03 2003, Prakash K. Cheemplavam wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>Hi,
>>>>>>>>>>
>>>>>>>>>>well I am using k3b0.10.1 and either choosing cdrdao or cdrecord in
>>>>>>>>
>>>>>>>>DAO mode to burn the cd ends up in non-bit identical copies, wheres
>>>>>>>>ion TAO (atleast with my 10x CD-RW I tested) the copy succeded. I
>>>>>>>>tried several times, and always got this issue.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>bash-2.05b$ md5sum livecd-2.6_10-23-2003.iso
>>>>>>>>>>f73f3a74239dfe94b322b85fd14a306e livecd-2.6_10-23-2003.iso
>>>>>>>>>>
>>>>>>>>>>TAO:
>>>>>>>>>>bash-2.05b$ md5sum /dev/cdroms/cdrom1
>>>>>>>>>>f73f3a74239dfe94b322b85fd14a306e /dev/cdroms/cdrom1
>>>>>>>>>>
>>>>>>>>>>DAO:
>>>>>>>>>>bash-2.05b$ md5sum /dev/cdroms/cdrom1
>>>>>>>>>>09e7e2a51af4c64685831513fbac18c2 /dev/cdroms/cdrom1
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>Could you please try and cmp the two images, finding out how big the
>>>>>>>>>corrupted chunks are and what kind of data they contain?
>>>>>>>>
>>>>>>>>
>>>>>>>>After some further investigation I found out, that the data is NOT
>>>>>>>>corrupted, but in a way truncated in DAO mode: When I read out the
>>>>>>>>image
>>>>>>>
>>>>>>>>from the CD-RW drive, about 5kbyte are missing at the end (and doing
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>several burn, it is always the same amount). Strange enough if I read
>>>>>>>>the DAO burnt disk out by my DVD-ROM, the image can be read out
>>>>>>>>completely! Can you understand this behaviour? I don't think it is a
>>>>>>>>problem of my burner, but rather of the atapi driver?
>>>>>>>
>>>>>>>
>>>>>>>Is actual data missing at the end? If yes, I'd say this looks a lot
>>>>>>>more
>>>>>>>like a cdrecord problem.
>>>>>>
>>>>>>Sorry, I wasn't precise: The data is on the disc, as my DVD-ROM
>>>>>>restores the full image (md5sum matches), but the CD-RW does not.
>>>>>
>>>>>
>>>>>You need to use the pad option to record.
>>>>
>>>>Uhm, could you be more specific? I just use the k3b frontend to burn,
>>>>and in the cdrdao manual I couldn't find something useful to it.
>>>
>>>
>>>it's a cdrecord option, I've never used k3b so cannot comment on how to
>>>make it enable that.
>>
>>Hmm, I'll take a look, but I don't really think it is a problem of the
>>recording programme, otherwise how could my reader read it out completely?
>
>
> It isn't a problem of the recorder program. But some drives wont read
> the very end of a disc unless there are some pad blocks at the end.
> Thus, you should always use the cdrecord pad option.
Uhm, ok, I just took a look at the source image and the last (missing)
4096 bytes are just 00, so nothing critical missing anyway...so your pad
parameter sounds sensible. :) Should drop a note to the k3b devs then,
as well...
> SG_IO or CDROM_SEND_PACKET? The latter should never have been merged in
> cdrecord, and you should never use it. If it is using SG_IO, I'm very
> interested in knowing more. vmstat 1 while doing the burn would be
> interesting, just for 10 seconds where you see the problem.
Uhh, I'll try to find out. I must go now, but I'll report back later.
>>probably is a new issue. Furthermore my hd reading (I once contacted you
>>because of that) didn't improve with the new kernel, though some
>>bugfixes in this directions are mentioned by Andrew Morton.
>
>
> Don't remember, sorry :)
I probably will make a new topic regarding issues (I think) I found with
the new mm kernel.
cya,
Prakash
next prev parent reply other threads:[~2003-11-05 10:29 UTC|newest]
Thread overview: 132+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-03 18:22 2.9test9-mm1 and DAO ATAPI cd-burning corrupt Prakash K. Cheemplavam
2003-11-05 8:40 ` Jens Axboe
2003-11-05 9:55 ` Prakash K. Cheemplavam
2003-11-05 9:54 ` Jens Axboe
2003-11-05 10:01 ` Prakash K. Cheemplavam
2003-11-05 10:01 ` Jens Axboe
2003-11-05 10:12 ` Prakash K. Cheemplavam
2003-11-05 10:12 ` Jens Axboe
2003-11-05 10:20 ` Prakash K. Cheemplavam
2003-11-05 10:22 ` Jens Axboe
2003-11-05 10:31 ` Prakash K. Cheemplavam [this message]
2003-11-05 12:39 ` Jens Axboe
2003-11-05 18:47 ` Prakash K. Cheemplavam
2003-11-06 9:17 ` Jens Axboe
2003-11-06 12:42 ` Prakash K. Cheemplavam
2003-11-06 12:59 ` Nick Piggin
2003-11-06 13:00 ` Jens Axboe
2003-11-06 13:05 ` Nick Piggin
2003-11-06 13:05 ` Jens Axboe
2003-11-06 13:11 ` Nick Piggin
2003-11-06 13:11 ` Jens Axboe
2003-11-06 13:31 ` Prakash K. Cheemplavam
2003-11-06 13:31 ` Jens Axboe
2003-11-06 13:44 ` Prakash K. Cheemplavam
2003-11-06 13:47 ` Jens Axboe
2003-11-06 13:54 ` Nick Piggin
2003-11-06 13:52 ` Jens Axboe
2003-11-10 21:45 ` bill davidsen
2003-11-06 14:00 ` Prakash K. Cheemplavam
2003-11-06 13:58 ` Prakash K. Cheemplavam
2003-11-06 13:51 ` Jens Axboe
2003-11-06 14:31 ` Prakash K. Cheemplavam
2003-11-06 17:42 ` Matthew Reppert
2003-11-06 18:48 ` Prakash K. Cheemplavam
2003-11-06 19:45 ` Maciej Zenczykowski
2003-11-06 14:38 ` Prakash K. Cheemplavam
2003-11-06 18:49 ` Martin Josefsson
2003-11-06 19:06 ` Prakash K. Cheemplavam
2003-11-06 20:07 ` Martin Josefsson
[not found] ` <3FAB0754.2040209@cyberone.com.au>
2003-11-07 11:18 ` Prakash K. Cheemplavam
2003-11-07 11:31 ` Nick Piggin
[not found] ` <3FAB8428.7090307@gmx.de>
[not found] ` <3FAB870D.1050003@cyberone.com.au>
2003-11-07 12:53 ` Prakash K. Cheemplavam
2003-11-07 13:03 ` Nick Piggin
[not found] ` <3FAB9C2B.2040907@gmx.de>
[not found] ` <3FAB9F97.6050706@cyberone.com.au>
[not found] ` <3FABA364.9000404@gmx.de>
[not found] ` <3FABA5A7.904@cyberone.com.au>
[not found] ` <3FABA6EF.90207@gmx.de>
[not found] ` <3FABA788.1080000@cyberone.com.au>
[not found] ` <3FABAB5B.5090105@gmx.de>
[not found] ` <3FABAE0B.6020601@cyberone.com.au>
[not found] ` <3FABB08B.3080006@gmx.de>
[not found] ` <3FABB571.6070804@cyberone.com.au>
2003-11-07 15:48 ` Prakash K. Cheemplavam
2003-11-08 2:14 ` Nick Piggin
2003-11-08 12:31 ` Prakash K. Cheemplavam
2003-11-08 21:17 ` Randy.Dunlap
2003-11-10 22:23 ` bill davidsen
2003-11-11 14:46 ` Zwane Mwaikambo
2003-11-11 15:31 ` bill davidsen
2003-11-10 22:26 ` bill davidsen
2003-11-10 21:25 ` bill davidsen
2003-11-06 19:14 ` bill davidsen
2003-11-06 19:45 ` Linus Torvalds
2003-11-07 9:13 ` Rob Landley
2003-11-07 14:21 ` Bill Davidsen
2003-11-07 23:25 ` Rob Landley
2003-11-08 2:39 ` Nick Piggin
2003-11-07 12:46 ` Jens Axboe
2003-11-06 19:55 ` Gene Heskett
2003-11-06 22:36 ` Bill Davidsen
2003-11-07 0:51 ` Gene Heskett
2003-11-10 22:14 ` bill davidsen
2003-11-05 10:26 ` Nick Piggin
2003-11-05 10:29 ` Jens Axboe
2003-11-05 10:36 ` Prakash K. Cheemplavam
2003-11-05 11:14 ` Nick Piggin
2003-11-05 12:38 ` Jens Axboe
2003-11-05 17:36 ` Prakash K. Cheemplavam
2003-11-05 18:43 ` Prakash K. Cheemplavam
2003-11-05 10:54 ` Gene Heskett
2003-11-05 11:26 ` Jens Axboe
2003-11-05 10:33 ` Prakash K. Cheemplavam
2003-11-06 19:08 ` bill davidsen
2003-11-06 19:35 ` Linus Torvalds
2003-11-06 19:56 ` John Bradford
2003-11-07 14:10 ` Bill Davidsen
2003-11-07 15:01 ` Linus Torvalds
2003-11-08 15:06 ` Ragnar Hojland Espinosa
2003-11-08 17:52 ` Linus Torvalds
2003-11-08 18:16 ` viro
2003-11-10 19:22 ` Bill Davidsen
2003-11-10 19:01 ` Bill Davidsen
2003-11-10 19:25 ` Linus Torvalds
2003-11-10 20:03 ` Bill Davidsen
2003-11-10 20:22 ` Linus Torvalds
2003-11-11 4:48 ` bill davidsen
2003-11-11 5:40 ` Linus Torvalds
2003-11-11 17:49 ` Diego Calleja García
2003-11-11 18:15 ` Diego Calleja García
2003-11-12 22:58 ` bill davidsen
2003-11-12 23:47 ` Bartlomiej Zolnierkiewicz
2003-11-13 7:06 ` Jens Axboe
2003-11-15 13:13 ` Bill Davidsen
2003-11-15 13:43 ` Jens Axboe
2003-11-17 13:23 ` Bill Davidsen
2003-11-06 21:10 ` Prakash K. Cheemplavam
2003-11-06 21:40 ` Prakash K. Cheemplavam
2003-11-07 21:05 ` Jens Axboe
2003-11-09 10:49 ` Prakash K. Cheemplavam
2003-11-10 22:06 ` bill davidsen
2003-11-07 9:46 ` Xavier Bestel
2003-11-07 8:24 ` Jens Axboe
2003-11-05 11:17 ` DervishD
[not found] ` <3FA8C8E5.10903@gmx.de>
[not found] ` <20031105095350.GF1477@suse.de>
2003-11-05 10:00 ` Prakash K. Cheemplavam
[not found] <OXZz.7Uj.3@gated-at.bofh.it>
[not found] ` <OY9D.86A.29@gated-at.bofh.it>
2003-11-06 21:22 ` Pascal Schmidt
[not found] <QyWV.2Zi.1@gated-at.bofh.it>
[not found] ` <QzzF.3WK.3@gated-at.bofh.it>
2003-11-11 16:43 ` Pascal Schmidt
2003-11-11 17:00 ` Linus Torvalds
[not found] <Pine.LNX.4.44.0311110950250.30657-100000@home.osdl.org>
2003-11-11 19:41 ` Pascal Schmidt
2003-11-11 22:50 ` Martin Schlemmer
2003-11-11 21:41 ` Pascal Schmidt
2003-11-11 22:04 ` Linus Torvalds
2003-11-11 23:46 ` Pascal Schmidt
2003-11-12 1:14 ` Linus Torvalds
2003-11-12 17:32 ` Pascal Schmidt
2003-11-12 18:20 ` Pascal Schmidt
2003-11-12 18:31 ` Jens Axboe
2003-11-12 19:44 ` Pascal Schmidt
2003-11-13 11:52 ` Bill Davidsen
2003-11-13 12:20 ` Jens Axboe
2003-11-13 13:19 ` Pascal Schmidt
2003-11-13 14:35 ` Jens Axboe
2003-11-13 15:22 ` Linus Torvalds
2003-11-13 15:27 ` Jens Axboe
2003-11-15 13:16 ` Bill Davidsen
2003-11-13 13:17 ` Pascal Schmidt
2003-11-15 13:04 ` Bill Davidsen
2003-11-12 0:04 ` Daniel Pittman
2003-11-12 0:09 ` Pascal Schmidt
[not found] <RoMa.Mi.7@gated-at.bofh.it>
[not found] ` <RpI1.2RG.5@gated-at.bofh.it>
[not found] ` <RqNS.54j.11@gated-at.bofh.it>
2003-11-13 15:05 ` Pascal Schmidt
2003-11-13 15:28 ` Jens Axboe
2003-11-13 15:32 ` Pascal Schmidt
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=3FA8D17D.3060204@gmx.de \
--to=prakashpublic@gmx.de \
--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.