Messages in this thread | | | Date | Mon, 29 Nov 2004 07:19:00 +0100 | From | Jens Axboe <> | Subject | Re: 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/
| |