From owner-freebsd-emulation Mon Dec 18 10:24: 2 2000 From owner-freebsd-emulation@FreeBSD.ORG Mon Dec 18 10:23:59 2000 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 3CB6F37B400; Mon, 18 Dec 2000 10:23:59 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id E076D488D; Mon, 18 Dec 2000 10:23:54 -0800 (PST) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id KAA29620; Mon, 18 Dec 2000 10:23:54 -0800 (PST) Sender: marcel@cup.hp.com Message-ID: <3A3E563A.9198ABAC@cup.hp.com> Date: Mon, 18 Dec 2000 10:23:54 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: assar@freebsd.org Cc: Renaud Waldura , marcel@freebsd.org, emulation@freebsd.org Subject: Re: q3ded 1.17: linux_socketcall returns errno -11 References: <01a901c067b1$8ced2d00$0402010a@biohz.net> <3A3C0199.8DED329B@cup.hp.com> <000901c067c8$d406a7e0$0402010a@biohz.net> <5l3dfmm44y.fsf@assaris.sics.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org assar@freebsd.org wrote: > > > 51543 q3ded CALL linux_socketcall(0xc,0xbfbfb9e8) > > 51543 q3ded RET linux_socketcall -1 errno 11 Resource deadlock avoided > > Note first that the translation of errno 11 is wrong, on Linux errno > 11 is EAGAIN. > > (marcel: should we add a table of Linux error codes to linux_kdump? ) Probably. I've been playing with the thought of adding support for our different emulators to the native kdump. > Could you try the following patch and tell us how it goes? I'm afraid > it's against -current. If it doesn't apply with small amounts of > force to -stable, bug me and I can redo it. Marcel: does this look ok? Modulo some style nits, yes. Style nits: o include linux_socket before linux_util (sorting) o Use tabs after #define Make sure it at least builds ok on Alpha (do a cross-build if you don't have an Alpha). Other than that, feel free to check it in... -- 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