From owner-freebsd-current@FreeBSD.ORG Fri May 27 08:56:03 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A26C1065672 for ; Fri, 27 May 2011 08:56:03 +0000 (UTC) (envelope-from glz@hidden-powers.com) Received: from mail.hidden-powers.com (mail.hidden-powers.com [213.242.135.162]) by mx1.freebsd.org (Postfix) with ESMTP id 073B38FC1B for ; Fri, 27 May 2011 08:56:02 +0000 (UTC) Received: from mail.hidden-powers.com (localhost [127.0.0.1]) by dkim.hidden-powers.com (Postfix) with ESMTP id A8B076F03D for ; Fri, 27 May 2011 10:37:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=hidden-powers.com; h=date :from:to:subject:message-id:mime-version:content-type: content-transfer-encoding; s=selector1; bh=sM+vnGhf11gyXF9Z/w/tT 9tBQlc=; b=EZ2B8nvnJKGSwUM6qGML/sVogL1NPAacinaDi6A1OXEeNxvX8rdkA kT42W9IDX1lqTC22V22nNU4oQAwaFoms+ENeTjQYhYhFVcKlhsCP71zUHIpexFXZ yFqPOlZ0IYI0fHnqb07mK0ruHWeS9bvOIkWf5zf+Pt0XEA64iHbmbc= Received: from [172.16.2.57] (gw01.ismobile.com [212.73.186.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.hidden-powers.com (Postfix) with ESMTPSA id 77A8F6F03C for ; Fri, 27 May 2011 10:37:33 +0200 (CEST) Date: Fri, 27 May 2011 10:37:32 +0200 From: Goran Lowkrantz To: freebsd-current@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Testing new nfs and VIMAGE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 08:56:03 -0000 I have been testing VIMAGE a lot lately to see how it works an all my test cases works as expected except when I use NFSv4 from an NFS client with a kerrel with VIMAGE enabled. All other permutations work and this error is very specific. All crashes occurs when trying to read or write to an NFS v4 volume. I have seen it on both i386 and amd64. #12 0xc0a73c15 in rt_tables_get_rnh (table=0, fam=2) at /usr/src/sys/net/route.c:153 static __inline struct radix_node_head ** rt_tables_get_rnh_ptr(int table, int fam) { struct radix_node_head **rnh; KASSERT(table >= 0 && table < rt_numfibs, ("%s: table out of bounds.", __func__)); KASSERT(fam >= 0 && fam < (AF_MAX+1), ("%s: fam out of bounds.", __func__)); /* rnh is [fib=0][af=0]. */ ---> rnh = (struct radix_node_head **)V_rt_tables; /* Get the offset to the requested table and fam. */ rnh += table * (AF_MAX+1) + fam; return (rnh); } Any ideas? Cores and dumps are available plus a vmware player setup to test and debug. /glz Dump header from device /dev/da0p3 Architecture: i386 Architecture Version: 2 Dump Length: 105414656B (100 MB) Blocksize: 512 Dumptime: Fri May 27 09:54:13 2011 Hostname: vserver.test.ismobile.com Magic: FreeBSD Kernel Dump Version String: FreeBSD 9.0-CURRENT #2: Fri May 27 03:45:23 CEST 2011 root@nfsserver.test.hidden-powers.com:/usr/obj/usr/src/sys/VSERVER Panic String: from debugger Dump Parity: 3851082861 Bounds: 3 Dump Status: good --- "There is hopeful symbolism in the fact that flags do not wave in a vacuum." -- Arthur C. Clarke