Received: from eggs.gnu.org ([140.186.70.92]:39870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RahqW-0002bG-EA for qemu-devel@nongnu.org; Wed, 14 Dec 2011 00:57:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RahqU-0006rt-JB for qemu-devel@nongnu.org; Wed, 14 Dec 2011 00:57:40 -0500 Received: from indium.canonical.com ([91.189.90.7]:41166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RahqU-0006rj-CR for qemu-devel@nongnu.org; Wed, 14 Dec 2011 00:57:38 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RahqS-0003Pp-OC for ; Wed, 14 Dec 2011 05:57:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id F2D7C2E825D for ; Wed, 14 Dec 2011 05:50:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 14 Dec 2011 05:43:39 -0000 From: Klaus Rennecke <882997@bugs.launchpad.net> Sender: bounces@canonical.com References: <20111028091955.8736.21797.malonedeb@gac.canonical.com> Message-Id: <20111214054339.7533.44167.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 882997] Re: 64-bit linux guests fail to start on oneiric running 3.0 kernel Reply-To: Bug 882997 <882997@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 1. Trying to break it: Installed the SLES-11-SP1 with the parameters for SLES-10 causing it to us= e IDE disk instead of virtio. Runs fine though, IDE seems not to be the problem. 2. Trying to fix it: Compiled from the sources: commit da5361cc685c004d8bb4e7c5e7b3a52c7aca2c56= Mon Dec 12 17:21:34 2011 +0100 Had to copy the executable to /usr/bin/qemu-system-x86_64 moving aside the= original first. Libvirt would not pick it up from a soft link, apparently = failing in trying to auto-sense the version. Strange but inconsequential fo= r the issue at hand. Crashes nicely now: 2011-12-14 06:34:29.783: starting up LC_ALL=3DC PATH=3D/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/= bin QEMU_AUDIO_DRV=3Dnone /usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 1024 -s= mp 1,sockets=3D1,cores=3D1,threads=3D1 -name chamae -uuid bda73a8f-37fc-e67= 1-235e-67afa23de4fd -nodefconfig -nodefaults -chardev socket,id=3Dcharmonit= or,path=3D/var/lib/libvirt/qemu/chamae.monitor,server,nowait -mon chardev= =3Dcharmonitor,id=3Dmonitor,mode=3Dreadline -rtc base=3Dutc -boot c -drive = file=3D/var/lib/libvirt/images/chamae.img,if=3Dnone,id=3Ddrive-ide0-0-0,for= mat=3Draw -device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id= =3Dide0-0-0 -drive if=3Dnone,media=3Dcdrom,id=3Ddrive-ide0-1-0,readonly=3Do= n,format=3Draw -device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-= 0,id=3Dide0-1-0 -netdev tap,fd=3D19,id=3Dhostnet0 -device rtl8139,netdev=3D= hostnet0,id=3Dnet0,mac=3D52:54:00:81:b8:be,bus=3Dpci.0,addr=3D0x3 -chardev = pty,id=3Dcharserial0 -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 = -usb -vnc 127.0.0.1:0 -vga cirrus -device virtio-balloon-pci,id=3Dballoon0,= bus=3Dpci.0,addr=3D0x4 char device redirected to /dev/pts/2 KVM internal error. Suberror: 1 emulation failure EAX=3D00000010 EBX=3D0004e090 ECX=3D00063f00 EDX=3D00002cb6 ESI=3D00000052 EDI=3D0002ce88 EBP=3D00001ff0 ESP=3D00001fd8 EIP=3D00001879 EFL=3D00000002 [-------] CPL=3D0 II=3D0 A20=3D1 SMM=3D0 HLT= =3D0 ES =3D0008 00000000 ffffffff 00809300 DPL=3D0 DS16 [-WA] CS =3D3c16 0003c160 0000ffff 00009b00 DPL=3D0 CS16 [-RA] SS =3D0000 00000000 0000ffff 00009300 DPL=3D0 DS16 [-WA] DS =3D3c16 0003c160 0000ffff 00009300 DPL=3D0 DS16 [-WA] FS =3D0000 00000000 0000ffff 00009300 DPL=3D0 DS16 [-WA] GS =3D0000 00000000 0000ffff 00009300 DPL=3D0 DS16 [-WA] LDT=3D0000 00000000 0000ffff 00008200 DPL=3D0 LDT TR =3D0000 00000000 0000ffff 00008b00 DPL=3D0 TSS32-busy GDT=3D 0003c740 0000000f IDT=3D 00000000 000003ff CR0=3D00000011 CR2=3D00000000 CR3=3D00000000 CR4=3D00000000 DR0=3D0000000000000000 DR1=3D0000000000000000 DR2=3D0000000000000000 DR3=3D= 0000000000000000 = DR6=3D00000000ffff0ff0 DR7=3D0000000000000400 EFER=3D0000000000000000 Code=3D06 6a 08 0f a1 eb 0b f6 06 f2 05 08 74 04 6a 08 0f a9 24 fe <0f> 22 = c0 a0 f2 05 08 06 f1 05 66 58 c3 c6 06 f1 05 00 fb c3 66 50 e8 af 03 5e 0f = a1 b0 00 -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/882997 Title: 64-bit linux guests fail to start on oneiric running 3.0 kernel Status in QEMU: New Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: Incomplete Bug description: Host: Ubuntu 11.10 kernel vmlinuz-3.0.0-12-generic or vmlinuz-3.0.0-12-se= rver on AMD Athlon(tm) II P360 Dual-Core Guests: SLES 10 or 11, all 64 bit 32 bit windows guest starts fine. All 64 bit linux guests loop during boot, when GRUB is starting. VMs are managed using libvirt 0.9.2-4ubuntu15 and virt-manager 0.9.0. Log file shows: KVM internal error. Suberror: 1 emulation failure repeated for each GRUB attempt. Starting the same host with vmlinuz-2.6.38-11-generic makes all VMs run O= K. --- = ApportVersion: 1.23-0ubuntu4 Architecture: amd64 DistroRelease: Ubuntu 11.10 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427= .1) KvmCmdLine: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD 113 3739 1 15 573004 24800 1 16:51 ? 00:00:06 /usr/bin= /kvm -S -M pc-0.14 -cpu qemu64,+wdt,+skinit,+osvw,+3dnowprefetch,+sse4a,+ab= m,+cr8legacy,+extapic,+cmp_legacy,+lahf_lm,+rdtscp,+pdpe1gb,+popcnt,+cx16,+= ht,+vme -enable-nesting -enable-kvm -m 2048 -smp 1,sockets=3D1,cores=3D1,th= reads=3D1 -name gasse -uuid 7cb0c88c-db14-b3f0-6696-4bd717165b9a -nodefconf= ig -nodefaults -chardev socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qem= u/gasse.monitor,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mode= =3Dreadline -rtc base=3Dutc -no-acpi -boot order=3Dc,menu=3Don -drive file= =3D/var/lib/libvirt/images/gasse-0.img,if=3Dnone,id=3Ddrive-ide0-0-0,format= =3Draw -device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Di= de0-0-0 -drive if=3Dnone,media=3Dcdrom,id=3Ddrive-ide0-1-0,readonly=3Don,fo= rmat=3Draw -device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id= =3Dide0-1-0 -netdev tap,fd=3D19,id=3Dhostnet0 -device rtl8139,netdev=3Dhost= net0,id=3Dnet0,mac=3D52:54:00:c6:f5:b4,bus=3Dpci.0,addr=3D0x3 -chardev pty,= id=3Dcharserial0 -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 -usb= -vnc 127.0.0.1:0 -vga cirrus -device virtio-balloon-pci,id=3Dballoon0,bus= =3Dpci.0,addr=3D0x4 MachineType: Hewlett-Packard HP 625 NonfreeKernelModules: wl fglrx Package: qemu-kvm 0.14.1+noroms-0ubuntu6 PackageArchitecture: amd64 ProcKernelCmdLine: BOOT_IMAGE=3D/boot/vmlinuz-3.0.0-13-server root=3DUUID= =3D338f05b6-6307-4f1a-a8b6-9b12a0edc5ee ro quiet splash vt.handoff=3D7 ProcVersionSignature: Ubuntu 3.0.0-13.22-server 3.0.6 Tags: oneiric running-unity Uname: Linux 3.0.0-13-server x86_64 UpgradeStatus: Upgraded to oneiric on 2011-10-18 (35 days ago) UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambasha= re dmi.bios.date: 12/07/2010 dmi.bios.vendor: Hewlett-Packard dmi.bios.version: 68DVA Ver. F.06 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: 1475 dmi.board.vendor: Hewlett-Packard dmi.board.version: KBC Version 72.0E dmi.chassis.asset.tag: CNU1060YXZ dmi.chassis.type: 10 dmi.chassis.vendor: Hewlett-Packard dmi.modalias: dmi:bvnHewlett-Packard:bvr68DVAVer.F.06:bd12/07/2010:svnHew= lett-Packard:pnHP625:pvr:rvnHewlett-Packard:rn1475:rvrKBCVersion72.0E:cvnHe= wlett-Packard:ct10:cvr: dmi.product.name: HP 625 dmi.sys.vendor: Hewlett-Packard --- = ApportVersion: 1.23-0ubuntu4 Architecture: amd64 DistroRelease: Ubuntu 11.10 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427= .1) KvmCmdLine: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD 113 3976 1 15 573004 25340 0 15:04 ? 00:00:04 /usr/bin= /kvm -S -M pc-0.14 -cpu qemu64,+wdt,+skinit,+osvw,+3dnowprefetch,+sse4a,+ab= m,+cr8legacy,+extapic,+cmp_legacy,+lahf_lm,+rdtscp,+pdpe1gb,+popcnt,+cx16,+= ht,+vme -enable-nesting -enable-kvm -m 2048 -smp 1,sockets=3D1,cores=3D1,th= reads=3D1 -name gasse -uuid 7cb0c88c-db14-b3f0-6696-4bd717165b9a -nodefconf= ig -nodefaults -chardev socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qem= u/gasse.monitor,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mode= =3Dreadline -rtc base=3Dutc -no-acpi -boot order=3Dc,menu=3Don -drive file= =3D/var/lib/libvirt/images/gasse-0.img,if=3Dnone,id=3Ddrive-ide0-0-0,format= =3Draw -device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Di= de0-0-0 -drive if=3Dnone,media=3Dcdrom,id=3Ddrive-ide0-1-0,readonly=3Don,fo= rmat=3Draw -device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id= =3Dide0-1-0 -netdev tap,fd=3D19,id=3Dhostnet0 -device rtl8139,netdev=3Dhost= net0,id=3Dnet0,mac=3D52:54:00:c6:f5:b4,bus=3Dpci.0,addr=3D0x3 -chardev pty,= id=3Dcharserial0 -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 -usb= -vnc 127.0.0.1:0 -vga cirrus -device virtio-balloon-pci,id=3Dballoon0,bus= =3Dpci.0,addr=3D0x4 MachineType: Hewlett-Packard HP 625 NonfreeKernelModules: wl fglrx Package: qemu-kvm 0.14.1+noroms-0ubuntu6 PackageArchitecture: amd64 ProcKernelCmdLine: BOOT_IMAGE=3D/boot/vmlinuz-3.0.0-14-server root=3DUUID= =3D338f05b6-6307-4f1a-a8b6-9b12a0edc5ee ro quiet splash vt.handoff=3D7 ProcVersionSignature: Ubuntu 3.0.0-14.23-server 3.0.9 Tags: oneiric running-unity Uname: Linux 3.0.0-14-server x86_64 UpgradeStatus: Upgraded to oneiric on 2011-10-18 (56 days ago) UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambasha= re dmi.bios.date: 12/07/2010 dmi.bios.vendor: Hewlett-Packard dmi.bios.version: 68DVA Ver. F.06 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: 1475 dmi.board.vendor: Hewlett-Packard dmi.board.version: KBC Version 72.0E dmi.chassis.asset.tag: CNU1060YXZ dmi.chassis.type: 10 dmi.chassis.vendor: Hewlett-Packard dmi.modalias: dmi:bvnHewlett-Packard:bvr68DVAVer.F.06:bd12/07/2010:svnHew= lett-Packard:pnHP625:pvr:rvnHewlett-Packard:rn1475:rvrKBCVersion72.0E:cvnHe= wlett-Packard:ct10:cvr: dmi.product.name: HP 625 dmi.sys.vendor: Hewlett-Packard To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/882997/+subscriptions