From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 08 Mar 2006 18:04:58 +0000 (GMT) Received: from mailfe05.tele2.fr ([212.247.154.140]:59059 "EHLO swip.net") by ftp.linux-mips.org with ESMTP id S8133888AbWCHSEq (ORCPT ); Wed, 8 Mar 2006 18:04:46 +0000 X-T2-Posting-ID: g63wq726D5fsXb2UbU6LU0KOXzHnTHjCzHZ35sC2MDs= X-Cloudmark-Score: 0.000000 [] Received: from [83.179.129.29] (HELO [192.168.0.32]) by mailfe05.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 46425844; Wed, 08 Mar 2006 19:13:08 +0100 Received: from 127.0.0.1 (AVG SMTP 7.1.375 [268.2.1/277]); Wed, 08 Mar 2006 19:13:08 +0100 Message-ID: <440F1EB2.8050605@tele2.fr> Date: Wed, 08 Mar 2006 19:13:06 +0100 From: Frederic Temporelli User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.7.12) Gecko/20050915 X-Accept-Language: fr, en To: iet-dev , linux-mips Subject: mips kernel 2.6.16rc1 + IET 0.4.13 - /dev/ietctl - ioctl unknown command Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 10756 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: frederic.temporelli@tele2.fr Precedence: bulk X-list: linux-mips Hello, I would like to report an ioctl issue using IET 0.4.13 (iSCSI target) and kernel 2.6.16-rc1, running on mips / SGI O2 The driver seems to load nicely, but there was no way to do ioctl on the userspace device /dev/ietctl. I got such messages in syslog: Mar 4 16:47:16 o2 kernel: [4303606.514000] ioctl32(ietd:3448): Unknown cmd fd(4) cmd(81046900){01} arg(7f942ab0) on /dev/ietctl => I've been able to resolve the issue by adding a by-pass (goto do_ioctl) in kernel compat_sys_ioctl function (fs/compat.c) and all is working fine now. I don't know if such issue is related to mips only or is due to changes 2.6.16 kernel I've also did some tries on x86 with linux 2.6.15.5, all was working fine without needing to change anything in the kernel. Did somebody report such issue with IET and recent kernel ? May some people from linux-mips tell if such issue is mips specific ? Best regards. -- Fred -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.2.1/277 - Release Date: 08/03/2006