From owner-freebsd-ports@FreeBSD.ORG Fri Nov 25 12:37:11 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54EE716A420 for ; Fri, 25 Nov 2005 12:37:11 +0000 (GMT) (envelope-from tdamas@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE3DB43D5A for ; Fri, 25 Nov 2005 12:37:10 +0000 (GMT) (envelope-from tdamas@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so381165nzo for ; Fri, 25 Nov 2005 04:37:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iYg31OSRcQ/zfHre9cR9lj7BpzCeafwvrgRHtm61Mni0fvafxIu/8ijt42xr61/OCz4K4LkRDk1fsqH0v0bAppyahCO6dOWkM53N8XcfYp8MlWr21WAx2aIgRMhSuwtphireXDKbXZk66moFQ6gzZO7wu4pItRe2usahqVUXfEY= Received: by 10.36.18.9 with SMTP id 9mr1133475nzr; Fri, 25 Nov 2005 04:37:09 -0800 (PST) Received: by 10.36.148.7 with HTTP; Fri, 25 Nov 2005 04:37:09 -0800 (PST) Message-ID: Date: Fri, 25 Nov 2005 10:37:09 -0200 From: Thiago Damas To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: kernel panic with sshfs (FUSE) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 12:37:11 -0000 I experimented a kernel panic, when trying to create a md device using a file located in a sshfs (FUSE) filesystem; # pkg_info | grep fuse fusefs-kmod-0.2.19.6 Kernel module for fuse fusefs-libs-2.4.1 FUSE allows filesystem implementation in userspace fusefs-sshfs-1.3_1 Mount remote directories over ssh # uname -a FreeBSD noc2.interno 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Thu Nov 10 21:07:03 BRST 2005 =20 root@noc2.interno:/usr/src/sys/i386/compile/NOC2 i386 Unfortunately, I havent DEBUG flags turned ON in this kernel, but its easy to reproduce: # mount ... /dev/fuse0 on /mnt/sshfs (fusefs, local, synchronous) # cd /mnt/sshfs # mdconfig -a -f somefile.img Maybe will be necessary to introduce some code in the fusefs module to deny this operation, IMHO.