[Bug 616064] Re: Broken networking in kvm guests

Serge Hallyn 616064 at bugs.launchpad.net
Fri Sep 10 17:56:50 BST 2010


Quoting Brian Fallik (616064 at bugs.launchpad.net):
> 6. apt-add-repository ppa:kernel-ppa/pre-proposed

Did you do an apt-get update here?  If not, then you didn't get the
updated kernels.

> 7. apt-get install linux-headers-server linux-image-server linux-server
> 8. rebooted the machine
> 9. reproduced the issue again
> 
> I did not test new kernel + stock KVM due to time constraints.

Yeah that wouldn't be worth it.

> Please let me know if there are any other tests you'd like me to try and
> I'll try to schedule more maintenance time.

Ok, let's see if using just the bridge without kvm can reproduce the problem.
If you can, please try the following:

1. Get a usable ns_exec:

    git clone git://git.sr71.net/~hallyn/cr_tests.git
    cd cr_tests
    git checkout ns_exec
    make ns_exec
    cp ns_exec /bin/

2. Create a veth tunnel

    sudo ip link add type veth

3. Open two root terminals to configure a network namespace for our test

terminal 1:
	ip link add type veth
terminal 2:
	/bin/ns_exec -cmn /bin/bash
	echo $$   # call this $pid henceforth
terminal 1:
	ifconfig veth0 0.0.0.0 up
	brctl addif virbr0 veth0
	ip link set veth1 netns $pid # use pid from above
terminal 2:
	ifconfig veth1 up
	dhclient veth1

Now, on either the host or on an external host, do

nc -4 -k -l 9999

And from terminal 2 start dumping data
	while [ 1 ]; do
		echo ab | nc ipaddr 999
		sleep 0.5s
	done

where ipaddr is the host or external host's ip address.

Does that eventually lock up too?

-- 
Broken networking in kvm guests
https://bugs.launchpad.net/bugs/616064
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.



More information about the Ubuntu-server-bugs mailing list