From owner-freebsd-stable@FreeBSD.ORG Sun Oct 29 15:21:17 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FB2916A416; Sun, 29 Oct 2006 15:21:17 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from ferengi.borderworlds.dk (ferengi.borderworlds.dk [80.166.152.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BFE443D55; Sun, 29 Oct 2006 15:21:12 +0000 (GMT) (envelope-from xi@borderworlds.dk) Received: from dominion.borderworlds.dk (dominion.borderworlds.dk [10.1.0.10]) by ferengi.borderworlds.dk (Postfix) with ESMTP id 9D7B3B80A; Sun, 29 Oct 2006 16:21:10 +0100 (CET) Received: by dominion.borderworlds.dk (Postfix, from userid 2000) id 1C5818C7; Sun, 29 Oct 2006 16:21:09 +0100 (CET) To: Kazuaki ODA References: <453C2CDC.1070501@highway.ne.jp> From: Christian Laursen Date: Sun, 29 Oct 2006 16:21:08 +0100 In-Reply-To: <453C2CDC.1070501@highway.ne.jp> (Kazuaki ODA's message of "Mon, 23 Oct 2006 11:45:48 +0900") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org, Andre Oppermann , pjd@FreeBSD.org Subject: Re: ggated not working on 6.2-PRERELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2006 15:21:17 -0000 I have CC'ed pjd too as this concerns ggate and I saw another thread that looked like the same problem. Kazuaki ODA writes: > ggated is not working on 6.2-PRERELEASE. For example, run the following > commands: [snip] > ggated: Error while receiving hdr packet: Resource temporarily unavailable. > ggated: Exiting. I am experiencing this too. > I tried to find what broke ggated, and finally found that it works fine > when I backout sys/kern/uipc_socket2.c rev. 1.147.2.7. I will try to reproduce that here. > I don't know why the changes break ggated, but I hope that ggated will > work on 6.2-RELEASE. As far as I can tell, src/sbin/ggate/ggated/ggated.c line 634 calls g_gate_recv, which in turn calls recv(2) on src/sbin/ggate/shared/ggate.c line 254. recv is called with the MSG_WAITALL flag and receives an EAGAIN error. Is that supposed to happen? If it is, ggated should probably handle it. -- Christian Laursen