public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Cc: bzolnier@gmail.com, linux-kernel@vger.kernel.org,
	jens.axboe@oracle.com, petkovbb@gmail.com,
	j-nomura@ce.jp.nec.com
Subject: Re: 2.6.25-rc1/2 CD/DVD burning broken
Date: Sat, 23 Feb 2008 16:47:50 +0100	[thread overview]
Message-ID: <jek5kvisih.fsf@sykes.suse.de> (raw)
In-Reply-To: <20080218.135827.74754725.k-ueda@ct.jp.nec.com> (Kiyoshi Ueda's message of "Mon\, 18 Feb 2008 13\:58\:27 -0500 \(EST\)")

Kiyoshi Ueda <k-ueda@ct.jp.nec.com> writes:

> Could you try this patch?
> I've only done a compile test, so this patch may not work.

Unfortunately, that is not enough to get DVD burning working again.
This is the error that growisofs is getting:

ioctl(6, SG_IO, {'S', SG_DXFER_TO_DEV, cmd[10]=[2a, 00, 00, 00, 03, 10, 00, 00, 10, 00], mx_sb_len=64, iovec_count=0, dxfer_len=32768, timeout=60000, flags=0x3, data[32768]=["\360R\360\314Wt\277\241\36.\347\356L$\201]\210\372_~]I\213\366\253SV\2\372\356\312\257"...], status=02, masked_status=01, sb[0]=[], host_status=0, driver_status=0, resid=32768, duration=0, info=0x1}) = 0
write(2, ":-( unable to WRITE@LBA=310h: ", 30) = 30

It looks like the sense buffer is not filled in.  In a successfully run
of growisfs under 2.6.24.2 the sense code is "LONG WRITE IN PROGRESS".

I also see that resid always equals dxfer_len even when the transfer was
successful, although growisofs does not seem to care.  With 2.6.24.2
resid is only non-zero when a sense error occurred.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.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."

  parent reply	other threads:[~2008-02-23 15:48 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-16 20:52 2.6.25-rc1/2 CD/DVD burning broken Andreas Schwab
2008-02-17  0:09 ` Jeff Garzik
2008-02-17  0:48   ` Andreas Schwab
2008-02-17  3:57     ` Mark Lord
2008-02-17  9:33       ` Andreas Schwab
2008-02-18 15:59 ` Bartlomiej Zolnierkiewicz
2008-02-18 18:58   ` Kiyoshi Ueda
2008-02-18 19:55     ` Laura Garcia
2008-02-18 20:19     ` Andreas Schwab
2008-02-18 20:20     ` Borislav Petkov
2008-02-18 22:37       ` Borislav Petkov
2008-02-18 23:14         ` [PATCH] ide-cd: fix missing residual count setting in DMA mode (Was 2.6.25-rc1/2 CD/DVD burning broken) Kiyoshi Ueda
2008-02-19  0:17           ` Bartlomiej Zolnierkiewicz
2008-02-23 15:47     ` Andreas Schwab [this message]
2008-02-24 16:32       ` 2.6.25-rc1/2 CD/DVD burning broken Borislav Petkov
2008-02-24 16:59         ` Andreas Schwab
2008-02-25  2:49           ` Kiyoshi Ueda
2008-02-25  9:23             ` Andreas Schwab
2008-02-25 19:38             ` Andreas Schwab
2008-02-25 20:45               ` Borislav Petkov
2008-02-25 22:08                 ` Andreas Schwab
2008-02-26  4:24                   ` Borislav Petkov
2008-02-26 14:52                     ` Andreas Schwab
2008-02-26 17:38                       ` Borislav Petkov
2008-02-26 20:01                         ` Bartlomiej Zolnierkiewicz
  -- strict thread matches above, loose matches on Subject: below --
2008-02-17 23:21 Joerg Schilling
2008-02-17 23:51 ` Jan Engelhardt
2008-02-18 11:28   ` Joerg Schilling
2008-02-18 11:32     ` Jan Engelhardt
2008-02-18  8:46 ` Frans Pop
2008-02-18  8:56   ` Mike Galbraith
2008-02-18 10:31     ` Frans Pop
2008-02-18 11:41       ` Mike Galbraith
2008-02-18 23:27       ` Jan Engelhardt
2008-02-28 18:41   ` 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=jek5kvisih.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=bzolnier@gmail.com \
    --cc=j-nomura@ce.jp.nec.com \
    --cc=jens.axboe@oracle.com \
    --cc=k-ueda@ct.jp.nec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petkovbb@gmail.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