[ovs-discuss] CentOS 6.4 kernel panic when adding port

Andrei Andone andrei.andone at softvision.ro
Wed Aug 14 15:34:48 UTC 2013


Hello,

I've been struggling with my previous problem (dhcp issue) trying to fix it.
Does anyone else use CentOS?

I managed to get the kernel to crash everytime I try to add eth0 port to 
a bridge.

_Steps to reproduce_:

1. get a git clone and switch to branch-1.12 (works with latest master too)
2. ./boot.sh
3. ./configure --with-linux=/lib/modules/`uname -r`/build
4. make
5. make dist
6. copy generated openvswitch-1.12.0.tar.gz to rpmbuild/SOURCES folder
7. copy rhel/kmod-openvswitch.files to rpmbuild/SOURCES folder
8. unpack the archive in /tmp and cd to /tmp/openvswitch-1.12.0/
9. rpmbuild -bb rhel/openvswitch.spec
10. rpmbuild -bb -D "kversion `uname -r`" -D "kflavors default" 
rhel/openvswitch-kmod-rhel6.spec
11. yum -y localinstall 
/home/$USER/rpmbuild/RPMS/x86_64/kmod-openvswitch-1.12.0-1.el6.x86_64.rpm /home/$USER/rpmbuild/RPMS/x86_64/openvswitch-1.12.0-1.x86_64.rpm
12. reboot
13. ovs-vsctl add-br br0
14. ovs-vsctl add-port br0 eth0 -> this crashes my X and it reboots

_Note_:
Also, using the same installation steps I had 
/etc/sysconfig/network-scripts/ifcfg-* in place and kernel panic was 
shown every time I tried to boot.

_Additional info_:
[root at sl57-53 ~]# uname -r
2.6.32-358.14.1.el6.x86_64
[root at sl57-53 ~]#

Thanks,
-- 
Andrei Andone

SOFTVISION | 57 Republicii Street, 400489 Cluj-Napoca, Romania
Email: andrei.andone at softvision.ro <mailto:andrei.andone at softvision.ro> 
| Web: www.softvision.ro <http://www.softvision.ro>

The content of this communication is classified as SOFTVISION 
Confidential and Proprietary Information.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130814/98985ca0/attachment.html>


More information about the discuss mailing list