From owner-freebsd-geom@FreeBSD.ORG Sun Dec 2 07:07:41 2012 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B756CD6 for ; Sun, 2 Dec 2012 07:07:41 +0000 (UTC) (envelope-from mgrooms@shrew.net) Received: from mx1.shrew.net (mx1.shrew.net [38.97.5.131]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF088FC08 for ; Sun, 2 Dec 2012 07:07:40 +0000 (UTC) Received: from mail.shrew.net (mail1.shrew.prv [10.22.203.23]) by mx1.shrew.net (8.14.5/8.14.5) with ESMTP id qB26ctAb053231 for ; Sun, 2 Dec 2012 00:38:55 -0600 (CST) (envelope-from mgrooms@shrew.net) Received: from [10.22.200.30] (cpe-70-113-194-94.austin.res.rr.com [70.113.194.94]) by mail.shrew.net (Postfix) with ESMTPSA id 1CC1818222 for ; Sun, 2 Dec 2012 00:38:55 -0600 (CST) Message-ID: <50BAF784.8060001@shrew.net> Date: Sun, 02 Dec 2012 00:39:00 -0600 From: Matthew Grooms User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-geom@FreeBSD.org Subject: 9.1-RC3 GEOM gate issues ... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx1.shrew.net [10.22.203.21]); Sun, 02 Dec 2012 00:38:55 -0600 (CST) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 07:07:41 -0000 All, I was hoping to use GEOM gate for a project I was working on. But it appears to be have a few issues. The first of which is a kernel panic whenever access is denied from ggated. For example: ... this is printed on the ggated host ... Dec 1 20:05:23 host ggated: Unauthorized connection from: x.x.x.x. ... which leads to this on the ggatec host ... Sat Dec 1 23:41:02 CST 2012 FreeBSD san-test2 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 panic: integer divide fault GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 18: integer divide fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x20:0xffffffff81613627 stack pointer = 0x28:0xffffff800e9b3850 frame pointer = 0x28:0xffffff800e9b39e0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 856 (ggatec) trap number = 18 panic: integer divide fault cpuid = 0 KDB: stack backtrace: #0 0xffffffff809208a6 at kdb_backtrace+0x66 #1 0xffffffff808ea8be at panic+0x1ce #2 0xffffffff80bd8240 at trap_fatal+0x290 #3 0xffffffff80bd88d5 at trap+0x105 #4 0xffffffff80bc315f at calltrap+0x8 #5 0xffffffff807db28b at devfs_ioctl_f+0x7b #6 0xffffffff80932325 at kern_ioctl+0x115 #7 0xffffffff8093255d at sys_ioctl+0xfd #8 0xffffffff80bd7ae6 at amd64_syscall+0x546 #9 0xffffffff80bc3447 at Xfast_syscall+0xf7 Uptime: 24s Dumping 113 out of 236 MB:..15%..29%..43%..57%..71%..85%..99% Reading symbols from /boot/kernel/geom_gate.ko...Reading symbols from /boot/kernel/geom_gate.ko.symbols...done. done. Loaded symbols for /boot/kernel/geom_gate.ko #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:224 224 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:224 #1 0xffffffff808ea3a1 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448 #2 0xffffffff808ea897 in panic (fmt=0x1
) at /usr/src/sys/kern/kern_shutdown.c:636 #3 0xffffffff80bd8240 in trap_fatal (frame=0x12, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:857 #4 0xffffffff80bd88d5 in trap (frame=0xffffff800e9b37a0) at /usr/src/sys/amd64/amd64/trap.c:599 #5 0xffffffff80bc315f in calltrap () at /usr/src/sys/amd64/amd64/exception.S:228 #6 0xffffffff81613627 in g_gate_ioctl (dev=0xfffffe000415e400, cmd=3374869760, addr=0xfffffe000409c000 "\002", flags=3, td=0xfffffe000407d8e0) at /usr/src/sys/modules/geom/geom_gate/../../../geom/gate/g_gate.c:362 #7 0xffffffff807db28b in devfs_ioctl_f (fp=0xfffffe00040d0000, com=3374869760, data=Variable "data" is not available. ) at /usr/src/sys/fs/devfs/devfs_vnops.c:757 #8 0xffffffff80932325 in kern_ioctl (td=Variable "td" is not available. ) at file.h:293 #9 0xffffffff8093255d in sys_ioctl (td=0xfffffe000407d8e0, uap=0xffffff800e9b3bb0) at /usr/src/sys/kern/sys_generic.c:691 #10 0xffffffff80bd7ae6 in amd64_syscall (td=0xfffffe000407d8e0, traced=0) at subr_syscall.c:135 #11 0xffffffff80bc3447 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:387 #12 0x000000080137dcdc in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) Is this a known issue? Thanks, -Matthew