From: Pasi Savolainen <pasi.savolainen@gmail.com>
To: Jens Axboe <axboe@suse.de>
Cc: linux-kernel@vger.kernel.org, Thomas Fritzsche <tf@noto.de>
Subject: Re: Is controlling DVD speeds via SET_STREAMING supported?
Date: Sun, 28 Nov 2004 23:01:35 +0200 [thread overview]
Message-ID: <b9013cc2041128130130ceeed2@mail.gmail.com> (raw)
In-Reply-To: <20041128185329.GB26933@suse.de>
On Sun, 28 Nov 2004 19:53:30 +0100, Jens Axboe <axboe@suse.de> wrote:
> > (under 2.6.10-rc2-mm1)
> > I ran speed-1.0 program as root and also modified to open the device
> > file as O_RDWR. This didn't help, it still reports same error.
>
> Ehm I don't see how that is possible, since that kernel definitely
> contains SET_STREAMING as a write safe command. Are you 110% sure you
> are running the kernel you think you are?
I was talking about 'feature not suppoerted by device' -error.
Got uptodate to 2.6.10-rc2-mm3, ran following:
- -
tienel:~# whoami
root
tienel:~# uname -a
Linux tienel 2.6.10-rc2-mm3 #1 SMP Sun Nov 28 22:28:17 EET 2004 i686 GNU/Linux
tienel:~# wget -q http://noto.de/speed/speedcontrol.c
tienel:~# gcc -o speedcontrol speedcontrol.c
tienel:~# ./speedcontrol -x 1 /dev/dvd
Command failed: b6 00 00 00 00 00 00 00 00 00 1c 00 - sense: 05.20.00
ERROR.
tienel:~# tail /var/log/messages
...
Nov 28 22:50:04 tienel kernel: hdb: packet command error: status=0x51
{ DriveReady SeekComplete Error }
Nov 28 22:50:04 tienel kernel: hdb: packet command error: error=0x54
Nov 28 22:50:04 tienel kernel: ide: failed opcode was 100
tienel:~# hdparm -I /dev/dvd
/dev/dvd:
ATAPI CD-ROM, with removable media
Model Number: SAMSUNG DVD-ROM SD-616E
Serial Number:
Firmware Revision: F506
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
Supported: CD-ROM ATAPI-2
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
- -
When I'm running these, I have a single-sided stamped DVD in drive.
These tend to make an awfull noise of hoovering when viewed (and
really need speed adjustment to 1-2x)
> > Booted into 2.4.28, speed-1.0 didn't do the trick there either. 'sense'
> > reported was 00.00.00 though.
>
> Any dmesg errors from 2.4.28? The sense reporting might be a bit broken
> there, but if you don't set cgc->quiet it should report the error in the
> kernel ring buffer at least.
No errors in dmesg. speedcontrol.c only reported that same error that
this current kernel did, but with sense 00.00.00.
--
psi -- http://iki.fi/psavo
next prev parent reply other threads:[~2004-11-28 21:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-26 19:59 Re: Is controlling DVD speeds via SET_STREAMING supported? Thomas Fritzsche
2004-11-27 9:54 ` Thomas Fritzsche
2004-11-27 20:57 ` Pasi Savolainen
2004-11-27 21:02 ` Jan Engelhardt
2004-11-27 23:17 ` Thomas Fritzsche
2004-11-28 11:18 ` Pasi Savolainen
2004-11-28 14:25 ` Thomas Fritzsche
2004-11-28 16:52 ` Jens Axboe
2004-11-28 17:49 ` Pasi Savolainen
2004-11-28 16:53 ` Thomas Fritzsche
2004-11-28 18:53 ` Jens Axboe
2004-11-28 21:01 ` Pasi Savolainen [this message]
2004-11-29 6:19 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2004-11-20 16:17 David Härdeman
2004-11-20 16:30 ` Jan Engelhardt
2004-11-20 16:45 ` David Härdeman
2004-11-20 20:19 ` Jens Axboe
2004-11-20 23:50 ` David Härdeman
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=b9013cc2041128130130ceeed2@mail.gmail.com \
--to=pasi.savolainen@gmail.com \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pasi.savolainen@iki.fi \
--cc=tf@noto.de \
/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.