bond0: received packets cannot be forwarded while LRO is enabled

Env:

Oracle ODA Appliance, which based on ORACLE VM Server set.

Dom0/Host:  odahost1
Dom1/VM:    odahostdb1

Problem:

use can not ssh onto Dom1/VM from outside ODA. ping is ok.

SSH will hang here:

 

From Dom0  /var/log/message:

This problem is due to LRO of eth0 not disabled.
Although bond0 LRO is disabled by default, eth0 which bond0 is based on is not.

Fix:
just disable LRO on eth0

restart network service.

 

To make the changes permenant:

If Dom0/Host is EL5:
add following line to /etc/rc.local

If Dom0/Host is EL6+:
add following line to ifcfg-eth0:

the problem on EL5/6 different fix is on initscripts package version.

EL6 with initscripts 9.03+ accepts this ETHTOOL_OPTS, but EL5 with initscripts 8.45 does not.

 

Refer:

Xen LRO is not disabled automatically with a bonded bridged interface with Intel X5xx 10 Gb Ethernet Adapter

Poor TCP Performance on VMs; dmesg:”received packets cannot be forwarded while LRO is enabled”

 

EL7 yum repo failed on libprotobuf-c.so.0

EL7 with EPEL repo.

Well libgadu was based on libprotobuf-c version 0, but EL7 choose new version 1.

[Fix]:

1. install new libprotobuf-c  in force.

2. download latest libgadu src rpm from koji:

libgadu-1.12.0-4.fc22.src.rpm

It’s based on protobuf-c version 1,  and was prepared for fc22, instead of fc21.

3. re- compile new rpm for EL7

update libgadu.

4. yum update now works .

Running fcitx on EL7 xfce

I thought it should be an easy task, while not…

My Env:

locale:   en_US.UTF-8
kernel:  3.10.0-123.4.2.el7.x86_64

 

I removed ibus related rpms except “ibus-libs”, as it’s required by gnome/gtk.

then build all fcitx packages:
From:

To:

switch im doesnt work.

I have to rebuild  package: imsettings and im-chooser.  as the origin one doesnt enable support for XFCE.

1. fetch following packages: (as f20 doesnt provide the latest im-chooser package, I use el7 version.)

2.  modify spec to support el7. (enable xfce supports)

 

3. im-chooser build has deps on imsettings-devel:
build imsettings first and inst devel pkg :

4. after all packages built, install/update:

 

5.  change immodules.cache as Im using en locale.

6. reboot, and use imsettings-switch, im-chooser to choose fcitx. reboot.

If you hit issues, you may try w/r here:
Note for GNOME Later than 3.6

update thunderbird xpi `Quote Colors`

There was a very nice plugin for tb, named “quote-colors”:
https://addons.mozilla.org/en-us/thunderbird/addon/quote-colors/

 

but currently it doesnt support a higher version > tb 3.0

simply it can be done as following:

1. Download xpi:

2. vi install.rdf

3. update and pack zip

4. install the new xpi.

 

Enable compiz on EL7 with xfce

Im running CentOS7 and EPEL repo, with XFCE desktop.

by design compiz packages may not be prepared for EL release. but if you’re planning to use EL7( like Redhat EL, centos, Oracle Linux 7). and would like to enable compiz/emerald. please continue reading…

 

all packages are based on those fc20 src.rpms

You can visit following link for all src.RPMs, and RPMs compiled, mentioned here:

http://pan.baidu.com/s/1o6OB8ro
As before we need to install compiz as following:

So we are going to check out following src RPMs:  (and deps for compile)

packages like mate* are just prepared for compiling, we only need compiz-xfce after compile, no compiz-mate required then

Issues hit:
1. when installing compiz*

Error: Package: 1:compiz-0.8.8-25.el7.centos.x86_64 (/compiz-0.8.8-25.el7.centos.x86_64)
Requires: emerald
You could try using –skip-broken to work around the problem

but emerald also has dependency when running yum-builddep on compiz-devel
[fix]:
compile compiz, compiz-xfce and compiz-devel first,  install with “rpm –nodeps” option to force.
then build emerald package and install

2.  when building fusion-icon:

[fix]:
the condition is checking fedora version, but we are running EL, it’s safe to comment out the condition.

after the change: build from new spec, but not the src.rpm

after all packages built and installed, run fusion-icon, working!

 

ok , if you need to install RPMs directly, (not like to build your own.) please check out the links above.

and  cd RPMS/x86_64 or noarch, following * means the version:

if  you r using EPEL and xfce, all deps should be solved directly, if not please just find the broken rpms in the link lists.

Then,  after the installation, we can safely drop ALL mate related RPMs (they were just prepared to compile compiz* packages, while we only need compiz-xfce and compiz)

finally, If  you r using RHEL or OracleLinux, you may not hit following issue.

on CentOS, when you running compiz with cube, it may require access file

It’s safely to ignore,  or you can copy from other box, cover the folder “/usr/share/pixmaps/redhat”

As I was using OracleLinux 6, so I package a zip here:
http://pan.baidu.com/s/1o6OB8ro#dir/path=%2FSITE%2FEL7%2Fmy_app

unzip and copy folder to the target.