From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 26 13:56:08 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E585B16A4DE for ; Thu, 26 Oct 2006 13:56:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1690543DE5 for ; Thu, 26 Oct 2006 13:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9QDoEek076714 for ; Thu, 26 Oct 2006 13:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9QDoExr076713; Thu, 26 Oct 2006 13:50:14 GMT (envelope-from gnats) Resent-Date: Thu, 26 Oct 2006 13:50:14 GMT Resent-Message-Id: <200610261350.k9QDoExr076713@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ulrich Spoerlein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D179A16A47C for ; Thu, 26 Oct 2006 13:44:17 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C04643DB4 for ; Thu, 26 Oct 2006 13:43:11 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so321295uge for ; Thu, 26 Oct 2006 06:43:10 -0700 (PDT) Received: by 10.67.27.3 with SMTP id e3mr2840624ugj; Thu, 26 Oct 2006 06:43:10 -0700 (PDT) Received: from coyote.q.local ( [85.180.131.23]) by mx.google.com with ESMTP id 27sm430873ugp.2006.10.26.06.43.09; Thu, 26 Oct 2006 06:43:10 -0700 (PDT) Received: from coyote.q.local (localhost [127.0.0.1]) by coyote.q.local (8.13.8/8.13.8) with ESMTP id k9QDhAXm006805; Thu, 26 Oct 2006 15:43:10 +0200 (CEST) (envelope-from q@coyote.q.local) Received: (from q@localhost) by coyote.q.local (8.13.8/8.13.8/Submit) id k9QDhAWk006804; Thu, 26 Oct 2006 15:43:10 +0200 (CEST) (envelope-from q) Message-Id: <200610261343.k9QDhAWk006804@coyote.q.local> Date: Thu, 26 Oct 2006 15:43:10 +0200 (CEST) From: Ulrich Spoerlein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: andre@FreeBSD.org, rwatson@FreeBSD.org, pjd@FreeBSD.org Subject: kern/104829: ggated broken on RELENG_6 because of socket changes X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2006 13:56:09 -0000 >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: