sockstat: struct xtcpcb size mismatch
Attilio Rao
attilio at freebsd.org
Thu Dec 6 23:36:24 PST 2007
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
> @@ -67,10 +67,10 @@
> 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
> @@ -323,3 +323,5 @@
> 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
More information about the freebsd-current
mailing list