Date: Sat, 16 Dec 2000 17:29:40 -0800 From: "Renaud Waldura" <renaud@waldura.com> To: <emulation@FreeBSD.ORG> Subject: Re: q3ded 1.17: linux_socketcall returns errno -11 Message-ID: <000901c067c8$d406a7e0$0402010a@biohz.net> References: <01a901c067b1$8ced2d00$0402010a@biohz.net> <3A3C0199.8DED329B@cup.hp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
51543 q3ded CALL gettimeofday(0xbfbfba48,0xbfbfba50) 51543 q3ded RET gettimeofday 0 51543 q3ded CALL linux_newselect(0x1,0xbfbfb9d8,0,0,0xbfbfb9d0) 51543 q3ded RET linux_newselect 0 51543 q3ded CALL linux_socketcall(0xc,0xbfbfb9e8) 51543 q3ded RET linux_socketcall -1 errno 11 Resource deadlock avoided It does a lot more sense indeed... ----- Original Message ----- From: "Marcel Moolenaar" <marcel@cup.hp.com> To: "Renaud Waldura" <renaud@waldura.com> Cc: <emulation@FreeBSD.ORG> Sent: Saturday, December 16, 2000 3:58 PM Subject: Re: q3ded 1.17: linux_socketcall returns errno -11 > 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?000901c067c8$d406a7e0$0402010a>