From owner-freebsd-stable Fri Jul 2 4:47:12 1999 Delivered-To: freebsd-stable@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id B13FF14F0F for ; Fri, 2 Jul 1999 04:47:10 -0700 (PDT) (envelope-from freebsd-stable@scc.nl) Received: from scones.sup.scc.nl (i359.ztm.euronet.nl [194.134.67.120]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id NAA07049 from for ; Fri, 2 Jul 1999 13:47:08 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.3) id NAA26831 for stable@FreeBSD.ORG; Fri, 2 Jul 1999 13:28:44 +0200 (CEST) (envelope-from freebsd-stable@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for stable@FreeBSD.ORG (stable@FreeBSD.ORG) To: stable@FreeBSD.ORG Date: Fri, 02 Jul 1999 13:28:39 +0200 From: Marcel Moolenaar Message-ID: <377CA267.7F64B97@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: Re: Linux emulation Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrij Korud wrote: > > Hi. > While trying to run PowerAlert plus for Linux on FreeBSD 3.2-STABLE box I > got a message: > "LINUX: 'ioctl' fd=0, typ=0x54(T), num=0x17 not implemented" > Any ideas? Can you apply the following patch and tell me if it solves your problem without creating new problems? :-) Index: linux_ioctl.c =================================================================== RCS file: /home/ncvs/src/sys/i386/linux/linux_ioctl.c,v retrieving revision 1.33 diff -r1.33 linux_ioctl.c 599a600,612 > case LINUX_TIOCMGET: > args->cmd = TIOCMGET; > return ioctl(p, (struct ioctl_args *)args); > case LINUX_TIOCMBIS: > args->cmd = TIOCMBIS; > return ioctl(p, (struct ioctl_args *)args); > case LINUX_TIOCMBIC: > args->cmd = TIOCMBIC; > return ioctl(p, (struct ioctl_args *)args); > case LINUX_TIOCMSET: > args->cmd = TIOCMSET; > return ioctl(p, (struct ioctl_args *)args); > -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message