Received: from [140.186.70.92] (port=47593 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P27na-0007ph-S8 for qemu-devel@nongnu.org; Sat, 02 Oct 2010 15:31:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P27nZ-0000SQ-79 for qemu-devel@nongnu.org; Sat, 02 Oct 2010 15:31:10 -0400 Received: from adelie.canonical.com ([91.189.90.139]:40353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P27nZ-0000SK-0d for qemu-devel@nongnu.org; Sat, 02 Oct 2010 15:31:09 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1P27nT-0003Bz-6q for ; Sat, 02 Oct 2010 20:31:05 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5C5832E8143 for ; Sat, 2 Oct 2010 19:30:55 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 02 Oct 2010 19:23:53 -0000 From: daniel pecka <638955@bugs.launchpad.net> Sender: bounces@canonical.com References: <20100915132907.2955.78648.malonedeb@gandwana.canonical.com> Message-Id: <20101002192353.2231.46121.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 638955] Re: emulated netcards don't work with recent sunos kernel Reply-To: Bug 638955 <638955@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org well, i did some more investigations and here come a results .. this patch http://patchwork.ozlabs.org/patch/65137/raw/ solves problem partially .. NICs are working with that but after a deeper look, connection is lost when the netstack is flooded with higher traffic .. i can connect with ssh|telnet from qemu-kvm host to sunos machines, but when i type dmesg for example (or anything else which does for a moment a higher traffic), the connection freezes .. when i bind both tap ifaces under one bridge, access each machine via theirs /dev/console, conection to neighboring guest seems like works as expected, so this issue only affects connection between kvm host and guests .. sorry for my very plain description of problem, but it's again easy to reproduce .. so once more in short: two machines with following settings: -net nic,model=3De1000,macaddr=3D"00:50:56:ba:5e:74",vlan=3D1 \ -net tap,ifname=3Doi0,script=3Dno,vlan=3D1 & ## openindiana -net nic,model=3De1000,macaddr=3D"00:50:56:ba:6e:74",vlan=3D1 \ -net tap,ifname=3Dsolaris0,script=3Dno,vlan=3D1 & ## solaris 1) ping over directly assigned address on oi0|solaris0 works, connection is lost when invoked higher trafic aka - ssh|telnet in there and then typed dmesg command or whatever else which floods /dev/stdin and invokes due to the that higher traffic 2) when created bridge (brctl addbr br0; brctl addif br0 oi0 solaris0) and assigned address it behaves same way with exception, that when used /dev/console on each of them for connection to second machine, netstack seems like working there okay .. regards, daniel -- = emulated netcards don't work with recent sunos kernel https://bugs.launchpad.net/bugs/638955 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: hi there, i'm using qemu-kvm backend in version: # qemu-kvm -version QEMU PC emulator version 0.12.5 (qemu-kvm-0.12.5), Copyright (c) 2003-2008 = Fabrice Bellard and there are just *not working any of model=3D$type with combinations of r= ecent sunos (solaris, openindiana, opensolaris, ..) .. you can download for testing purposes iso from here: http://dlc-origin.open= indiana.org/isos/147/ or from here: http://genunix.org/distributions/indian= a/ << osol and oi are also bubuntu-like *live cds, so no need to bother wit= h installing behaviour is as follows: e1000 - receiving doesn't work, transmitting works .. dladm (tool for handl= e ethers) shows that is all ok, correct mode is loaded up, it just seems li= ke this driver works at 100% but .. rtl8169|pcnet - works in 10Mbit mode with several other issues like high cp= u utilization and so .. dladm is unable to recognize options for this kind = of -nic others - just don't work .. i experienced this issue several times in past .. woraround was, that rt= l8169 worked so-so .. with recent sunos kernel it doesn't. it's easy to reproduce, this is why i'm not putting here more then launchin= g script for my virtual machine: # cat openindiana.sh qemu-kvm -hda /home/kvm/openindiana/openindiana.img -m 2048 -localtime -cdr= om /home/kvm/+images/oi-dev-147-x86.iso -boot d \ -vga std -vnc :9 -k en-us -monitor unix:/home/kvm/openindiana/instance,serv= er,nowait \ -net nic,model=3De1000,vlan=3D1 -net tap,ifname=3Doi0,script=3Dno,vlan=3D1 & sleep 2; ip l set oi0 up; ip a a 192.168.99.9/24 dev oi0; regards by daniel