From owner-freebsd-alpha Mon Mar 19 6:33:15 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id AA91D37B71A for ; Mon, 19 Mar 2001 06:33:12 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA17199; Mon, 19 Mar 2001 09:33:12 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f2JEWgc90059; Mon, 19 Mar 2001 09:32:42 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15030.6282.161574.349219@grasshopper.cs.duke.edu> Date: Mon, 19 Mar 2001 09:32:42 -0500 (EST) To: Yoriaki FUJIMORI Cc: freebsd-alpha@FreeBSD.ORG In-Reply-To: <200103190647.PAA04007@grafin.fujimori.cache.waseda.ac.jp> References: <200103190647.PAA04007@grafin.fujimori.cache.waseda.ac.jp> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yoriaki FUJIMORI writes: > > I have been trying to compile LAM on FreeBSD4.2R with Linux emulator. > Compile itself went on very smoothly. But, I soon noticed that some > of network related commands do not work properly. For instance, > recon/lamboot etc. These commands get hostnames via gethostbyname(). > Somehow, they fail in detecting `localhost'. They are looking at > /etc/hosts, /etc/host.conf and so on properly, I hope. So this is a native FreeBSD binary, or a Linux binary? Can you ktrace it & see what's happening? If it is a linux binary, I have an alpha/linux kdump at http://www.cs.duke.edu/~gallatin/linux_kdump > Another experience I had is that clock() in a simple benchmark does > not work properly on the linuxemulator. The benchmark itself runs > perfectly in native FreeBSD and native Linux/Alpha. Can you provide me with sources and a Linux binary? > So, I have some questions about the subject. > (1) Has anyone got a similar experience before? > (2) Is there any good pointer for this problem in addition to `handbook'? > > # I am using the 4.2R stock linux module. Some important linux/alpha abi functionality was missing from 4.2-RELEASE. You might do better with a 4.3-BETA system. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message