Re: sockstat: struct xtcpcb size mismatch

From: Attilio Rao <attilio_at_freebsd.org>
Date: Fri, 7 Dec 2007 08:09:57 +0100
2007/12/6, Boris Samorodov <bsam_at_ipt.ru>:
> Hello List,
>
>
> is it a known problem, my unfortune update or kernel options (the box
> updated a couple of hours ago 7-BETA2 -> 8-CURRENT):
> -----
> tinderbox# uname -a
> FreeBSD tinderbox.i386.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Dec  6 23:01:37 MSK 2007     root_at_tinderbox.i386.ipt.ru:/usr/obj/usr/src/sys/GENERIC+LP  i386
> tinderbox# 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
> tinderbox#
> -----
>
> The kernel config:
> -----
> tinderbox# cd /sys/i386/conf/
> tinderbox# diff -u GENERIC GENERIC+LP
> --- GENERIC     2007-12-06 22:50:43.000000000 +0300
> +++ GENERIC+LP  2007-12-07 00:12:37.000000000 +0300
> _at__at_ -67,10 +67,10 _at__at_
>  options        KDB                     # Enable kernel debugger support.
>  options        DDB                     # Support DDB.
>  options        GDB                     # Support remote GDB.
> -options        INVARIANTS              # Enable calls of extra sanity checking
> -options        INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
> -options        WITNESS                 # Enable checks to detect deadlocks and cycles
> -options        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
> +#options       INVARIANTS              # Enable calls of extra sanity checking
> +#options       INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
> +#options       WITNESS                 # Enable checks to detect deadlocks and cycles
> +#options       WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
>
>  # To make an SMP kernel, the next two lines are needed
>  options        SMP                     # Symmetric MultiProcessor Kernel
> _at__at_ -323,3 +323,5 _at__at_
>  device         fwip            # IP over FireWire (RFC 2734,3146)
>  device         dcons           # Dumb console driver
>  device         dcons_crom      # Configuration ROM for dcons
> +
> +option         LOCK_PROFILING
> -----

LOCK_PROFILING conditional ABI changes break this.

Attilio

-- 
Peace can only be achieved by understanding - A. Einstein
Received on Fri Dec 07 2007 - 06:36:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC