Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 1999 13:28:39 +0200
From:      Marcel Moolenaar <marcel@scc.nl>
To:        stable@FreeBSD.ORG
Subject:   Re: Linux emulation
Message-ID:  <377CA267.7F64B97@scc.nl>
References:  <Pine.BSF.3.96.990630193613.36319A-100000@NetSurfer.lp.lviv.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?377CA267.7F64B97>