[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <jey79if252.fsf@sykes.suse.de>
Date: Mon, 18 Feb 2008 21:19:53 +0100
From: Andreas Schwab <schwab@...e.de>
To: Kiyoshi Ueda <k-ueda@...jp.nec.com>
Cc: bzolnier@...il.com, linux-kernel@...r.kernel.org,
jens.axboe@...cle.com, petkovbb@...il.com, j-nomura@...jp.nec.com
Subject: Re: 2.6.25-rc1/2 CD/DVD burning broken
Kiyoshi Ueda <k-ueda@...jp.nec.com> writes:
> Could you try this patch?
> I've only done a compile test, so this patch may not work.
>
> During the conversion to blk_end_request, the code was changed
> *not* to set rq->data_len = 0.
> I removed that part because I thought it was just a trigger to
> call post_transform_command(). However, since data_len can be
> used as a residual length of the transfer, it might have to remain
> there.
> Actually, wodim seems checking the residual count how far it wrote
> (e.g. wodim/wodim.c:write_track_data()).
>
> This patch brings back the rq->data_len = 0.
Looks good, I was successfully able to burn a CD-RW.
Thanks, Andreas.
--
Andreas Schwab, SuSE Labs, schwab@...e.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists