From owner-freebsd-current@FreeBSD.ORG Fri Apr 6 01:24:53 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7E5516A406 for ; Fri, 6 Apr 2007 01:24:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outC.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id A702013C483 for ; Fri, 6 Apr 2007 01:24:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 05 Apr 2007 17:54:49 -0700 Received: from [10.251.22.38] (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id C08F3125AF9; Thu, 5 Apr 2007 18:24:52 -0700 (PDT) Message-ID: <4615A164.6010900@elischer.org> Date: Thu, 05 Apr 2007 18:24:52 -0700 From: Julian Elischer User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Matteo Riondato References: <20070405231707.GB1625@kaiser.sig11.org> In-Reply-To: <20070405231707.GB1625@kaiser.sig11.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: struct x*pcb size mismatch 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, 06 Apr 2007 01:24:53 -0000 Matteo Riondato wrote: > I rebuild my system with HEAD sources as of today and began > experiencing the following problem: > [rionda@kaiser][~]> sockstat > sockstat: struct xtcpcb size mismatch > sockstat: struct xinpcb size mismatch > sockstat: struct xunpcb size mismatch > sockstat: struct xunpcb size mismatch > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN > ADDRESS > [rionda@kaiser][~]> > > > Any idea of what can cause this problem? > Kernel and world are *not* out of sync: I recompiled both. > > Thanks > Best regards Remove some debugging options in your kernel. (or put the same options in /etc/make.conf) and recompile Unfortunately some of the profiling and debugging options change the size of some of the structures.. In particular I think the lock-profiling one changes the size of a mutex which is included everywhere. This is a bug, but don't expect it to be fixed too quickly.