From owner-freebsd-emulation Wed Oct 3 11:15:31 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mitra.iqm.unicamp.br (mitra.iqm.unicamp.br [143.106.51.222]) by hub.freebsd.org (Postfix) with ESMTP id 9427637B403 for ; Wed, 3 Oct 2001 11:15:27 -0700 (PDT) Received: by mitra.iqm.unicamp.br (Postfix, from userid 7555) id 876BE584F; Wed, 3 Oct 2001 15:15:26 -0300 (EST) Received: from localhost (localhost [127.0.0.1]) by mitra.iqm.unicamp.br (Postfix) with ESMTP id 5F9D85838 for ; Wed, 3 Oct 2001 15:15:26 -0300 (EST) Date: Wed, 3 Oct 2001 15:15:26 -0300 (EST) From: Maximiliano Segala To: freebsd-emulation@freebsd.org Subject: Problems with eth0 and ioctl Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am tring run ADF program (http://www.scm.com/) under linux compat in a FreeBSD 4.4 STABLE, however the following error message is shown: eth0: error fetching interface information: Device not configured The log system give the follwing message from the linux compat: linux: 'ioctl' fd=3, cmd=8942 ('\M^I',66) not implemented linux: 'ioctl' fd=3, cmd=891d ('\M^I',29) not implemented linux: 'ioctl' fd=3, cmd=8921 ('\M^I',33) not implemented linux: 'ioctl' fd=3, cmd=8970 ('\M^I',112) not implemented linux: 'ioctl' fd=3, cmd=8970 ('\M^I',112) not implemented linux: 'ioctl' fd=3, cmd=8942 ('\M^I',66) not implemented The network informations are necessary to create the license file. Our group had already been successful in running the program MacroModel (http://www.schrodinger.com/macromodel2.html) under Linux compat, therefore we think it can be perfectly possible to also run ADF. In this way, we have already tried the following: * Replacement of the shell /bin/sh in the script start by the /usr/compat/linux/bin/sh, which run the ADF binary (in this way I believe that the ifconfig which is used is the one taken from the directory /usr/compat/linux/sbin/); * Set the default ELF brand to Linux for all unbranded binaries with the command: sysctl -w kern.fallback_elf_brand=3 as presented in the FreeBSD handbook (http://www.freebsd.org/doc/ en_US.ISO8859-1/books/handbook/linuxemu-mathematicau.html); * Construction of the tree directory /usr/compat/linux/etc/sysconfig/ network-scripts; * Tracing of all the process with Ktrace program; * Loading the linprocfs.ko module. In this way, I wonder if there was anything else I should try. Thanks in advance. -- Maximiliano Segala Instituto de Quimica - UNICAMP msegala@iqm.unicamp.br Cx.P. 6154 13083-970 Campinas SP To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message