FreeBSD 9

Tim Gustafson tjg at soe.ucsc.edu
Thu Jun 30 15:43:15 UTC 2011


Hi,

I've installed FreeBSD 9 on a new server because 8.2 doesn't have support for the LSI SAS2008 controller.  I've also built the system as a ZFS-root box, and I have to say that I'm quite happy with the disk performance: we're getting about 500MB/s write and 675MB/s read.  All in all, I'm very happy with FreeBSD 9.

I have noticed two snafus that I thought I'd send to the group just as feedback:

--------------------------------------------------------------------------------
1. net-snmp fails to compile with the following error:
--------------------------------------------------------------------------------

/bin/sh ../../libtool --mode=compile cc -I../../include -I. -I../../agent -I../../agent/mibgroup  -I../../snmplib -I/usr/include   -O2 -pipe -fno-strict-aliasing -Ufreebsd9 -Dfreebsd9=freebsd9 -c -o mibII/tcpTable.lo mibII/tcpTable.c
libtool: compile:  cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/usr/include -O2 -pipe -fno-strict-aliasing -Ufreebsd9 -Dfreebsd9=freebsd9 -c mibII/tcpTable.c  -fPIC -DPIC -o mibII/.libs/tcpTable.o
mibII/tcpTable.c:94: error: field 'pcb' has incomplete type
mibII/tcpTable.c: In function 'tcpTable_load':
mibII/tcpTable.c:866: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:868: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:868: error: invalid application of 'sizeof' to incomplete type 'struct xinpgen' 
mibII/tcpTable.c:872: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:876: error: dereferencing pointer to incomplete type
mibII/tcpTable.c:877: error: invalid application of 'sizeof' to incomplete type 'struct inpcb' 
mibII/tcpTable.c:881: error: dereferencing pointer to incomplete type

--------------------------------------------------------------------------------
2. secondary IP addresses on network interfaces don't seem to be working
--------------------------------------------------------------------------------

In my rc.conf, I have:

ifconfig_bce0="1.2.3.4 netmask 255.255.252.0"
ifconfig_bce0_alias0="1.2.3.5 netmask 255.255.255.255"

but when the machine reboots, it only gets its primary IP address.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Tim Gustafson                                                tjg at soe.ucsc.edu
Baskin School of Engineering                                     831-459-5354
UC Santa Cruz                                         Baskin Engineering 317B
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the freebsd-current mailing list