Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2006 16:21:08 +0100
From:      Christian Laursen <xi@borderworlds.dk>
To:        Kazuaki ODA <kaakun@highway.ne.jp>
Cc:        freebsd-stable@freebsd.org, Andre Oppermann <andre@FreeBSD.org>, pjd@FreeBSD.org
Subject:   Re: ggated not working on 6.2-PRERELEASE
Message-ID:  <ygf7iyjno63.fsf@dominion.borderworlds.dk>
In-Reply-To: <453C2CDC.1070501@highway.ne.jp> (Kazuaki ODA's message of "Mon, 23 Oct 2006 11:45:48 %2B0900")
References:  <453C2CDC.1070501@highway.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
I have CC'ed pjd too as this concerns ggate and I saw another thread
that looked like the same problem.

Kazuaki ODA <kaakun@highway.ne.jp> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygf7iyjno63.fsf>