From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kernel.dk (brick.kernel.dk [87.55.233.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "A common name", Issuer "A common name" (not verified)) by ozlabs.org (Postfix) with ESMTP id 97988DDE34 for ; Wed, 17 Oct 2007 02:58:42 +1000 (EST) Date: Tue, 16 Oct 2007 18:58:33 +0200 From: Jens Axboe To: Geert Uytterhoeven Subject: Re: ioctl32: Unknown cmd Message-ID: <20071016165833.GB9942@kernel.dk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: Linux/PPC Development , Linux Kernel Development , Arnd Bergmann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, Oct 16 2007, Geert Uytterhoeven wrote: > Hi Arnd, Jens, > > The recent (post 2.6.23) changes to compat_ioctl made the reporting of > unsupported ioctls more verbose. E.g. on the PS3 I get: > > | ioctl32(cdrom_id:608): Unknown cmd fd(3) cmd(00005331){t:'S';sz:0} arg(00000000) on /dev/.tmp-11-0 > | ioctl32(hdparm:1427): Unknown cmd fd(3) cmd(0000031f){t:03;sz:0} arg(00000000) on /dev/ps3da > | ioctl32(hdparm:1427): Unknown cmd fd(3) cmd(0000031f){t:03;sz:0} arg(00000000) on /dev/ps3da > > The first one is triggered by the detection of the CD/DVD/BD-ROM driver, > The others are triggered by me running hdparm. > > Was this intentional? Nope, not intential to me at least. I'll check up on it. -- Jens Axboe