RELENG_7: GENERIC and options LOCK_PROFILING are breaking sockstat and netstat -a

Boris Samorodov bsam at ipt.ru
Sun Dec 9 23:56:50 PST 2007


Hi!


The system updated a couple of hours ago (RELENG_7), the kernel config
is GENERIC with "options LOCK_PROFILING", default /etc/make.conf, i386
(I have this problem at current-amd64 as well):
-----
bb% uname -a
FreeBSD bb.ipt.ru 7.0-BETA4 FreeBSD 7.0-BETA4 #1: Mon Dec 10 10:12:24 MSK 2007     root at bb.ipt.ru:/usr/obj/usr/src/sys/GENERIC  i386
bb% 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      
bb% netstat -a | head
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
       0 #0     131073      0 ca5c6580        0        0        0 
       0 #0          1      0        0 d36bda90        0        0 
       0 #0          1      0        0 d2e11750        0        0
       0 #0          1      0        0 d36bdd00        0        0 
       0 #0          1      0        0 d2e120d0        0        0
       0 #0          1      0        0 d2e128f0        0        0
       0 #0          1      0        0 d2e12820        0        0
       0 #0     262145      0        0 d2e12a90        0        0 
-----

Can somebody confirm?
Is it a feature?
Should I file a PR?

Thanks!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-stable mailing list