From owner-freebsd-ports@FreeBSD.ORG Fri Jul 9 11:57:38 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4C61106564A for ; Fri, 9 Jul 2010 11:57:38 +0000 (UTC) (envelope-from s@swa.org.ru) Received: from mx.a-r-b.ru (mx.a-r-b.ru [90.156.229.147]) by mx1.freebsd.org (Postfix) with ESMTP id 90D028FC16 for ; Fri, 9 Jul 2010 11:57:38 +0000 (UTC) Received: from [172.16.16.2] (helo=home.swa.org.ru) by mx.a-r-b.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OXBOv-000HrP-R0 for freebsd-ports@freebsd.org; Fri, 09 Jul 2010 15:05:50 +0400 Message-ID: <4C37028F.5@swa.org.ru> Date: Fri, 09 Jul 2010 17:05:51 +0600 From: Sergey Nikolenko User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100623 Thunderbird/3.0.5 ThunderBrowse/3.3 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: page fault on writing on fusefs mount through samba 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, 09 Jul 2010 11:57:38 -0000 Hello everyone. I'm getting kernel panics everytime I try to write a file to samba share which is a fuse mount. I tried samba 3.0.37, 3.3.13, 3.4.8, no difference. Tried on 8.0-RELEASE, on today's 8.1-PRERELEASE. How to reproduce: 1. Install /usr/ports/net/samba34, /usr/ports/sysutils/fusefs-unionfs 2. Add to default samba config: security = user [test] path = /test public = yes writeable = yes 3. unionfs -o allow_other /tmp /test 4. smbclient //IP/test put There we get a panic: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xe67bbc44 frame pointer = 0x28:0xe67bbc68 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1237 (smbd) trap number = 12 panic: page fault cpuid = 1 Uptime: 14m23s Physical memory: 1011 MB Dumping 73 MB: 58panic: bufwrite: buffer is not busy??? cpuid = 1 42 26 10 Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko #0 doadump () at pcpu.h:246 246 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:246 #1 0xc08a1d47 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xc08a1fa9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:590 #3 0xc0bd72bc in trap_fatal (frame=0xe67bbc04, eva=0) at /usr/src/sys/i386/i386/trap.c:938 #4 0xc0bd7540 in trap_pfault (frame=0xe67bbc04, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:851 #5 0xc0bd7e85 in trap (frame=0xe67bbc04) at /usr/src/sys/i386/i386/trap.c:533 #6 0xc0bb9e7c in calltrap () at /usr/src/sys/i386/i386/exception.s:166 #7 0x00000000 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb)