From: linuxer@ever.mine.nu
To: petero2@telia.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: pktcdvd DVD+RW always writes at max drive speed (not media speed)
Date: Sat, 18 Feb 2006 18:35:15 -0500 [thread overview]
Message-ID: <200602182335.k1INZFoi012487@rhodes.mine.nu> (raw)
In-Reply-To: <m3r760cntz.fsf@telia.com> (message from Peter Osterlund on 18 Feb 2006 23:19:04 +0100)
Peter Osterlund <petero2@telia.com> writes:
>
> linuxer@ever.mine.nu writes:
>
> > In drivers/block/pktcdvd.c it appears that in the case of DVD
> > rewriting, pkt_open_write always sets the write speed to pkt_get_max_speed
> > (the maximum writing speed reported by the drive).
> >
> > In my case, I have a new drive capable of 8x re-writing. However, all of
> > my existing media is rated for only 4x rewrite speed.
> >
> > When attempting to rw mount these disks, pktcdvd reports:
> >
> > Feb 18 00:09:52 ever kernel: pktcdvd: write speed 11080kB/s
> > Feb 18 00:09:54 ever kernel: pktcdvd: 54 01 00 00 00 00 00 00 00 00 00 00 -
> > sense 00.54.9c (No sense)
> > Feb 18 00:09:54 ever kernel: pktcdvd: pktcdvd0 Optimum Power Calibration failed
> >
> > And then of course a huge heap of I/O errors on the disk.
>
> Have you verified that this is caused by the speed setting, ie does it
> work correctly if you hack the driver to write at 4x speed?
>
Correct. Adding a hard-coded manual setting of write_speed = 5540 to
pkt_open_write results in functional operation (at least with 4x rated
DVD+RW media).
Obviously, this particular drive is perfectly happy to try to write at over
the rated media speed if it is asked to. I can't fault the manufacturer for
this, for I generally like the idea of letting the user decide instead of
imposing hardware/firmware fixed limits.
next prev parent reply other threads:[~2006-02-18 23:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-18 20:23 linuxer
2006-02-18 22:19 ` Peter Osterlund
2006-02-18 23:35 ` linuxer [this message]
2006-02-19 10:09 ` Peter Osterlund
2006-02-22 22:28 ` Peter Osterlund
2006-02-25 1:12 ` linuxer
2006-02-25 22:43 ` Peter Osterlund
2006-02-19 6:11 ` Phillip Susi
2006-02-19 6:46 ` linuxer
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=200602182335.k1INZFoi012487@rhodes.mine.nu \
--to=linuxer@ever.mine.nu \
--cc=linux-kernel@vger.kernel.org \
--cc=petero2@telia.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
all inboxes | Powered by JetHome®