From owner-freebsd-geom@FreeBSD.ORG Tue Oct 16 14:56:15 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76BE216A421; Tue, 16 Oct 2007 14:56:15 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.ltdomains.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id 6633413C4A5; Tue, 16 Oct 2007 14:56:15 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from proton.storspeed.com (209-163-168-124.static.twtelecom.net [209.163.168.124]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l9GEtrpe084402; Tue, 16 Oct 2007 09:55:55 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <4714D0F1.2000903@freebsd.org> Date: Tue, 16 Oct 2007 09:55:45 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: d_elbracht References: <008801c80e65$47cbe650$639049d9@EC1a> <00cb01c80f04$50b11ed0$639049d9@EC1a> <47137634.1010703@freebsd.org> <000b01c80fdc$12582f10$639049d9@EC1a> In-Reply-To: <000b01c80fdc$12582f10$639049d9@EC1a> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Cc: 'Ivan Voras' , freebsd-geom@freebsd.org Subject: Re: AW: Re: AW: g_vfs_done():da3s1a[READ(offset=81064794762854400, length=8192)]error = 5 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 14:56:15 -0000 d_elbracht wrote: >>> One basic question to ask: where does the value for offset= in >>> g_vfs_done() come from ? >>> >From the time the error shows up in syslog I believe, the error only >>> happens, when a file get's appended. >> I wonder if (wild guess follows) there's a 32/64 bit >> conversion problem somewhere, like a 32bit number cast as >> 64bit or something. >> >> I'd like to see a full trace to see what path it takes. >> Maybe putting a >> panic in the error path would be worth doing. >> > > can you give me some hints please how to do this ? I'm willing to try about > everything to get this problem nailed down. I would add debugging to your kernel config, and then around here: http://fxr.googlebit.com/source/sys/geom/geom_vfs.c?v=8-CURRENT#L77 change the printf to a panic(), and recompile your kernel. Also, don't forget to set up a dump partition (swap). You can find out how to do the debugging parts and dump partition in the Handbook. Eric