Date: Sat, 16 Dec 2000 15:58:17 -0800 From: Marcel Moolenaar <marcel@cup.hp.com> To: Renaud Waldura <renaud@waldura.com> Cc: emulation@FreeBSD.ORG Subject: Re: q3ded 1.17: linux_socketcall returns errno -11 Message-ID: <3A3C0199.8DED329B@cup.hp.com> References: <01a901c067b1$8ced2d00$0402010a@biohz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3C0199.8DED329B>