kern/104829: ggated broken on RELENG_6 because of socket changes

Ulrich Spoerlein uspoerlein at gmail.com
Thu Oct 26 13:56:09 UTC 2006


>Number:         104829
>Category:       kern
>Synopsis:       ggated broken on RELENG_6 because of socket changes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 26 13:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
Two RELENG_6 machines, checked out and build yesterday
>Description:
I had several panics with a ggate/gmirror device and am now looking into the problem.
One thing that's clearly wrong, is ggated spitting out socket errors and bad file 
descriptors.

>How-To-Repeat:
Simply export some device with a suitable gg.exports. Run ggated -v, run
'ggatec create host device' on some suitable host. As soon as you run ggatec, ggated
will continually spit out errors like this:


tice: disk_thread: started [/dev/da1s2e]!
notice: recv_thread: started [/dev/da1s2e]!
notice: send_thread: started [/dev/da1s2e]!
error: Error while receiving hdr packet: Resource temporarily unavailable.
error: Exiting.
info: Connection from: 10.0.0.1.
debug: Receiving version packet.
debug: Version packet received.
debug: Receiving initial packet.
debug: Initial packet received.
debug: Connection created [10.0.0.1, /dev/da1s2e].
debug: New connection created (token=2782934185).
debug: Sending initial packet.
info: Connection from: 10.0.0.1.
debug: Receiving version packet.
debug: Version packet received.
debug: Receiving initial packet.
debug: Initial packet received.
debug: Found existing connection (token=2782934185).
debug: Connection added [10.0.0.1, /dev/da1s2e].
debug: Sending initial packet.
debug: Connection removed [10.0.0.1 /dev/da1s2e].
debug: Process created [/dev/da1s2e].
notice: disk_thread: started [/dev/da1s2e]!
notice: recv_thread: started [/dev/da1s2e]!
notice: send_thread: started [/dev/da1s2e]!
error: Error while receiving hdr packet: Resource temporarily unavailable.
error: Exiting.
info: Connection from: 10.0.0.1.
debug: Receiving version packet.
debug: Version packet received.
debug: Receiving initial packet.
debug: Initial packet received.
debug: Connection created [10.0.0.1, /dev/da1s2e].
debug: New connection created (token=2615672988).
debug: Sending initial packet.
info: Connection from: 10.0.0.1.
debug: Receiving version packet.
debug: Version packet received.
debug: Receiving initial packet.
debug: Initial packet received.
debug: Found existing connection (token=2615672988).
debug: Connection added [10.0.0.1, /dev/da1s2e].
debug: Sending initial packet.
debug: Connection removed [10.0.0.1 /dev/da1s2e].
debug: Process created [/dev/da1s2e].
notice: disk_thread: started [/dev/da1s2e]!
notice: send_thread: started [/dev/da1s2e]!
notice: recv_thread: started [/dev/da1s2e]!

>Fix:

Someone [1] figured out that backing out sys/kern/uipc_socket2.c
rev. 1.147.2.7 fixes the problem (I haven't tried that yet ...)

[1]
http://lists.freebsd.org/pipermail/freebsd-stable/2006-October/029934.html
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list