lkml.org 
[lkml]   [2004]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Is controlling DVD speeds via SET_STREAMING supported?
    On Sun, Nov 28 2004, Pasi Savolainen wrote:
    > 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

    Makes more sense, then. It looks like you drive just isn't very happy
    with the set streaming command. First I'd try to correct the end_lba of
    the command, that might be it.

    --
    Jens Axboe

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.022 / U:0.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site