Subject: Unimplemented Linux compatibility ioctl()'s in NetBSD/i386 1.2
To: None <port-i386@NetBSD.ORG>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: port-i386
Date: 07/01/1997 04:33:12
I tried to run the Linux binary of "qseeme" (a version of the Multicast
"nv" client, heavily modified to run as a CU-SeeMe client program under
Linux) on a Pentium 133 system under NetBSD 1.2.  I got it from
http://www.pangea.org/~mavilar/qseeme/qseeme.html, in case anyone cares.

When I try to run it, I get the following errors:

Jul  1 04:21:38 pcnetbsd4me /netbsd: linux_machdepioctl: invalid ioctl 80044d07
Jul  1 04:21:38 pcnetbsd4me /netbsd: linux_machdepioctl: invalid ioctl 80044d07
Jul  1 04:21:38 pcnetbsd4me /netbsd: linux_machdepioctl: invalid ioctl 80044d04
Jul  1 04:21:38 pcnetbsd4me /netbsd: linux_machdepioctl: invalid ioctl 80044d04

The window comes up (I think it's a Tk binary, but am not sure), but as soon
as I try to click on anything (like the "Connect" button to connect to a
reflector), it freezes up, i.e. the window stops updating from then on.  It
won't refresh once this happens, and I have to kill it via ^C.

Are these ioctl()'s above implemented in the Linux compatibility mode in
NetBSD-current?  If so, has anyone else tried this program under NetBSD-current
and gotten it to work?

In case it matters, my /emul/linux/lib contains

pcnetbsd4me# ls
ld-linux.so.1@          libc.so.5@              libm.so.4.6.27*
ld-linux.so.1.7.3*      libc.so.5.0.9*          libm.so.5@
ld.so*                  libdl.so.1@             libm.so.5.0.0*
libc.so.4@              libdl.so.1.7.3*
libc.so.4.7.2*          libm.so.4@

Probably old stuff, but I'm not sure this matters - at this point, at least.

Thanks in advance,

	- Greg