WARNING: The ixgbe driver compiles by default with the LRO (Large Receive Offload) feature enabled. This option offers the lowest CPU utilization for receives, but is completely incompatible with *routing/ip forwarding* and *bridging*. If enabling ip forwarding or bridging is a requirement, it is necessary to disable LRO using compile time options as noted in the LRO section later in this document. The result of not disabling LRO when combined with ip forwarding or bridging can be low throughput or even a kernel panic.
WARNING: The ixgbe driver compiles by default with the LRO
Posted: 5th May 2017 by admin in Linux How toRed Hat Enterprise Linux “Use CAP_NET_ADMIN and alias netdev-bondX instead” Message on Boot
Posted: 5th May 2017 by admin in Linux How to
Red Hat Enterprise Linux “Use CAP_NET_ADMIN and alias netdev-bondX instead” Message on BootIssueEnvironment :
When load bonding driver in /etc/modprobe.d/bonding.conf on boot, the following message will be logged.
# cat /etc/modprobe.d/bonding.conf kern: Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Solutiondev_load() of kernel-2.6.32-220.el6 is the below.
void dev_load(struct net *net, const char *name) no_module = !dev; Root which run /etc/rc.d/rc.sysinit has both CAP_SYS_MODULE and CAP_NET_ADMIN capability. If not use netdev-xxx alias, above message will be logged. Though this message can be ignored, if use netdev-xxx alias in /etc/modprobe.d/bonding.conf , it will not be logged.
# cat /etc/modprobe.d/bonding.conf
source : http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c03244209 |
how to compile gdbm 64 bit for solaris sparc 10
#CC=”gcc -m64″ CXX=”g++ -m64″ ./configure
#make
#make install
#file /usr/local/lib/libgdbm.so
/usr/local/lib/libgdbm.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
Create ramdisk on solaris
#ramdiskadm -a idisk 512m
#newfs /dev/ramdisk/idisk
#mkdir /test
#mount /dev/ramdisk/idisk /test
How to change Sharing network number to 10.10.0.0
# sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 10.10.0.0
# defaults read /Library/Preferences/SystemConfiguration/com.apple.nat
restart internet sharing
add
# Hard limit set rlim_fd_max = 65535 # Soft limit set rlim_fd_cur = 65535
to /etc/system
/export/home to /home on solaris
add
* -fstype=lofs :/export/home/&
to /etc/auto_home
install bdb
wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz tar -xvzf db-4.8.30.tar.gz cd db-4.8.30/build_unix/ ../dist/configure --prefix=/usr/local make make install
install openldap
wget ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz tar -xvzf openldap-stable-20100719.tgz cd openldap-* ./configure make depend make make install
yum install groff.x86_64
# yum install gcc gcc-c++.x86_64 compat-gcc-34-c++.x86_64 openssl-devel.x86_64 zlib*.x86_64
install python 2.7
# wget http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2 # tar -xvjf Python-2.7.tar.bz2 # cd Python* # ./configure --prefix=/opt/python27 # make # make install # vi ~/.bash_profile
replace PATH=$PATH:$HOME/bin
with PATH=$PATH:$HOME/bin:/opt/python27/bin
reload .bash_profile
# source ~/.bash_profile # echo "/opt/python27/lib" > /etc/ld.so.conf.d/python27.conf # ldconfig
install setuptool
# cd ~ # wget http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg # sh setuptools-0.6c11-py2.7.egg
install gevent
# yum install libevent.x86_64 libevent-devel.x86_64 # easy_install-2.7 greenlet # wget http://pypi.python.org/packages/source/g/gevent/gevent-0.13.0.tar.gz # tar -xvzf gevent-0.13.0.tar.gz # cd gevent* # python2.7 setup.py install