From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759397AbXKNPJd (ORCPT ); Wed, 14 Nov 2007 10:09:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755602AbXKNPJZ (ORCPT ); Wed, 14 Nov 2007 10:09:25 -0500 Received: from rtr.ca ([76.10.145.34]:2867 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754529AbXKNPJZ (ORCPT ); Wed, 14 Nov 2007 10:09:25 -0500 Message-ID: <473B0FA2.5000102@rtr.ca> Date: Wed, 14 Nov 2007 10:09:22 -0500 From: Mark Lord User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Sebastian Kemper Cc: Alan Cox , linux-kernel Subject: Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing References: <20071113164323.GA5252@section-eight> <20071113212230.77cadecd@the-village.bc.nu> <20071113232859.GA4681@section-eight> In-Reply-To: <20071113232859.GA4681@section-eight> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Sebastian Kemper wrote: > Hi Alan! > > On Tue, Nov 13, 2007 at 09:22:30PM +0000, Alan Cox wrote: >> It isn't a known issue, and it suprises me as SG_IO basically passes >> commands through to the drive. We don't support speed change via xfermode >> setting but GPCMD_SET_STREAMING sohuld behave. >> >> Do you have a simple code example that shows the problem ? > > http://svn.mplayerhq.hu/mplayer/trunk/stream/stream_dvd.c?view=markup > > See dvd_set_speed(). The drive I'm using is an Optiarc DVD RW AD-7170A. > With the "old" ATA driver dvd_set_speed() works, with libata it doesn't. .. I think the problem here might be that libata doesn't actually support SG_IO for ATAPI drives prior to 2.6.24 (ugh). Try it with a 2.6.24-rc* kernel from kernel.org, or back-patch the ATA_16 SG_IO support into your older kernel. Cheers