Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261172AbUK2GTg (ORCPT ); Mon, 29 Nov 2004 01:19:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261168AbUK2GTd (ORCPT ); Mon, 29 Nov 2004 01:19:33 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:43666 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S261151AbUK2GTb (ORCPT ); Mon, 29 Nov 2004 01:19:31 -0500 Date: Mon, 29 Nov 2004 07:19:00 +0100 From: Jens Axboe To: pasi.savolainen@iki.fi Cc: linux-kernel@vger.kernel.org, Thomas Fritzsche Subject: Re: Is controlling DVD speeds via SET_STREAMING supported? Message-ID: <20041129061856.GA10477@suse.de> References: <33133.192.168.0.2.1101499190.squirrel@192.168.0.10> <32942.192.168.0.2.1101549298.squirrel@192.168.0.10> <33262.192.168.0.2.1101597468.squirrel@192.168.0.10> <33050.192.168.0.5.1101651929.squirrel@192.168.0.10> <20041128165257.GA26714@suse.de> <20041128185329.GB26933@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1678 Lines: 41 On Sun, Nov 28 2004, Pasi Savolainen wrote: > On Sun, 28 Nov 2004 19:53:30 +0100, Jens Axboe 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/