From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 16:16:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6610916A46C; Fri, 4 Jan 2008 16:16:34 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.19.101.164]) by mx1.freebsd.org (Postfix) with ESMTP id 45FD013C455; Fri, 4 Jan 2008 16:16:34 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from localhost (localhost [127.0.0.1]) by mail.barafranca.com (Postfix) with ESMTP id A65F1C383F; Fri, 4 Jan 2008 16:25:19 +0000 (UTC) Received: from mail.barafranca.com ([67.19.101.164]) by localhost (mail.barafranca.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13419-01; Fri, 4 Jan 2008 16:24:41 +0000 (UTC) Received: from [192.168.200.26] (a213-22-38-76.cpe.netcabo.pt [213.22.38.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTP id 47BB5C385C; Fri, 4 Jan 2008 16:24:39 +0000 (UTC) Message-ID: <477E5BB9.6090104@barafranca.com> Date: Fri, 04 Jan 2008 16:15:53 +0000 From: Hugo Silva User-Agent: Thunderbird 2.0.0.9 (X11/20071213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at barafranca.com X-Spam-Status: No, score=0 tagged_above=-1 required=4 tests=[none] X-Spam-Score: 0 X-Spam-Level: Cc: pjd@freebsd.org Subject: ggatec hanging on 7.0-RC1/amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 16:16:34 -0000 Hi, I'm experiencing some problems while attempting to export a ZVOL with ggated on a gigabit network. All servers are running FreeBSD 7.0-RC1 on amd64, and using bce NICs. client# ggatec create -t 6 -u 0 172.16.100.200 /dev/zvol/storage/vol0 client# ls -l /dev/ggate* crw-r----- 1 root operator 0, 115 Jan 4 06:23 /dev/ggate0 client# newfs /dev/ggate0 load: 0.00 cmd: newfs 51187 [g_waitidle] 0.00u 0.00s 0% 792k ^C^C^C^C^C^C^C^C^C^C^C^C^C^C The same happens with a file exported on a UFS filesystem (so it's not a ZFS problem): client# ggatec create -u100 172.16.100.200 /usr/lol client# dir /dev/ggate100 crw-r----- 1 root operator - 0, 115 Jan 4 06:23 /dev/ggate100 client# newfs /dev/ggate100 load: 0.00 cmd: newfs 52306 [g_waitidle] 0.00u 0.00s 0% 792k load: 0.00 cmd: newfs 52306 [g_waitidle] 0.00u 0.00s 0% 792k load: 0.00 cmd: newfs 52306 [g_waitidle] 0.00u 0.00s 0% 792k ^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z After several killall -9 ggatec and ggatec -fuX (-uX will stop working after awhile with "device busy", even though no ggatec process is using it anymore and the newfs process is also killed), the following happens: # killall -9 ggatec load: 0.00 cmd: killall 52400 [sysctl lock] 0.00u 0.00s 0% 244k load: 0.00 cmd: killall 52400 [sysctl lock] 0.00u 0.00s 0% 244k load: 0.00 cmd: killall 52400 [sysctl lock] 0.00u 0.00s 0% 244k At this point, the machine is dead. It still replies to pings, but processes are definitely unkillable now and even trying to login via SSH doesn't work: $ ssh client load: 0.05 cmd: ssh 2127 [sbwait] 0.00u 0.00s 0% 3180k [hangs forever] /etc/gg.exports on the server: client.ip/32 RW /dev/zvol/storage/vol0 Am I missing something terribly obvious ? I have done this many times before and never encountered this problem.. Regards, Hugo