From owner-freebsd-emulation Sat Dec 16 15:58:29 2000 From owner-freebsd-emulation@FreeBSD.ORG Sat Dec 16 15:58:27 2000 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 7C6C937B400 for ; Sat, 16 Dec 2000 15:58:27 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id C28E414399; Sat, 16 Dec 2000 15:58:22 -0800 (PST) Received: from cup.hp.com (p1000180.nsr.hp.com [15.109.0.180]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id PAA18177; Sat, 16 Dec 2000 15:58:17 -0800 (PST) Sender: marcel@cup.hp.com Message-ID: <3A3C0199.8DED329B@cup.hp.com> Date: Sat, 16 Dec 2000 15:58:17 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Renaud Waldura Cc: emulation@FreeBSD.ORG Subject: Re: q3ded 1.17: linux_socketcall returns errno -11 References: <01a901c067b1$8ced2d00$0402010a@biohz.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Renaud Waldura wrote: > > After calling up ktrace to the rescue, here's what I get about what's going > on inside q3ded (looping at high speed, and sucking up 90% CPU) : > > 51543 q3ded CALL mincore(0xbfbfba48,0xbfbfba50) > 51543 q3ded RET mincore 0 > 51543 q3ded CALL old.gethostid(0x1,0xbfbfb9d8,0,0,0xbfbfb9d0) > 51543 q3ded RET old.gethostid 0 > 51543 q3ded CALL old.recv(0xc,0xbfbfb9e8) > 51543 q3ded RET old.recv -1 errno -11 Unknown error: -11 If you use ktrace, don't use kdump on Linux binaries, install the linux_kdump port and view the trace file with linux_kdump. The problem is that kdump will give the FreeBSD native syscalls, which doesn't make sense for a Linux binary. The port is in /usr/ports/devel/linux_kdump, IIRC. -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message