Received: from [140.186.70.92] (port=57112 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu8Zc-0002Zv-Uu for qemu-devel@nongnu.org; Mon, 28 Feb 2011 14:16:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu8ZZ-0004i6-TV for qemu-devel@nongnu.org; Mon, 28 Feb 2011 14:16:00 -0500 Received: from adelie.canonical.com ([91.189.90.139]:45176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu8ZZ-0004hi-PE for qemu-devel@nongnu.org; Mon, 28 Feb 2011 14:15:57 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Pu8ZY-0007dE-6h for ; Mon, 28 Feb 2011 19:15:56 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E6A052E8488 for ; Mon, 28 Feb 2011 19:15:54 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Feb 2011 19:06:29 -0000 From: geppz Sender: bounces@canonical.com References: <20100915132907.2955.78648.malonedeb@gandwana.canonical.com> Message-Id: <20110228190629.4363.68111.malone@palladium.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 Hi all, I can confirm this bug, on latest openindiana-148 and qemu-kvm 0.13.0 you cannot even ping the virt= ualization host. With qemu-kvm-0.14.0 (just released!) you CAN ping the host: this is alread= y an improvement. HOWEVER = biggest bug is still there: if you log in to the openindiana machine via ss= h and do "dmesg" or "netstat" or some other command which ouptuts a lot of = text, the tcp socket will hang (well say it hangs once every 3 attempts) fo= rever. Going with tcpdump -e from within the guest, I have identified that the pro= blem is when a big enough packet is outputed. I tried a few times with dmesg, and as soon as the tcp packet reaches the f= ollowing length: 18:38:28.340097 52:54:69:b5:89:11 (oui Unknown) > 00:19:b9:81:2c:52 (oui Unknown), ethertype IPv4 (0x0800), length 1514: 192.168.7.38.ssh > 192.168.7.52.59008: Flags [.], ack 2824, win 64436, options [nop,nop,TS val 27488132 ecr 6063255], length 1448 it cannot get through. Then the IP stack tries and retries to send the same identical packet, but there will never be any reply from the other side. Finally the socket is torn down. I have bridged networking for the VM. My bridge is a normal linux bridge br= 0 with MTU 1500. Has MTU anything to do with all this? Is it a linux-bridge bug or a qemu-kvm bug? Please fix this, solaris is important for its ZFS. Thank you -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/638955 Title: emulated netcards don't work with recent sunos kernel 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-200= 8 Fabrice Bellard and there are just *not working any of model=3D$type with combinations of recent sunos (solaris, openindiana, opensolaris, ..) .. you can download for testing purposes iso from here: http://dlc- origin.openindiana.org/isos/147/ or from here: http://genunix.org/distributions/indiana/ << osol and oi are also bubuntu-like *live cds, so no need to bother with installing behaviour is as follows: e1000 - receiving doesn't work, transmitting works .. dladm (tool for han= dle ethers) shows that is all ok, correct mode is loaded up, it just seems = like this driver works at 100% but .. rtl8169|pcnet - works in 10Mbit mode with several other issues like high cpu 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 rtl8169 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 launching script for my virtual machine: # cat openindiana.sh qemu-kvm -hda /home/kvm/openindiana/openindiana.img -m 2048 -localtime -c= drom /home/kvm/+images/oi-dev-147-x86.iso -boot d \ -vga std -vnc :9 -k en-us -monitor unix:/home/kvm/openindiana/instance,se= rver,nowait \ -net nic,model=3De1000,vlan=3D1 -net tap,ifname=3Doi0,script=3Dno,vlan=3D= 1 & sleep 2; ip l set oi0 up; ip a a 192.168.99.9/24 dev oi0; regards by daniel