Date: Wed, 3 Oct 2001 15:15:26 -0300 (EST) From: Maximiliano Segala <msegala@iqm.unicamp.br> To: freebsd-emulation@freebsd.org Subject: Problems with eth0 and ioctl Message-ID: <Pine.BSF.4.21.0110031508151.22341-100000@mitra.iqm.unicamp.br>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110031508151.22341-100000>