Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FOkvY-0008Mw-6R for qemu-devel@nongnu.org; Wed, 29 Mar 2006 19:22:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FOkvW-0008Ma-VL for qemu-devel@nongnu.org; Wed, 29 Mar 2006 19:22:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FOkvW-0008MO-Sb for qemu-devel@nongnu.org; Wed, 29 Mar 2006 19:22:14 -0500 Received: from [82.138.79.37] (helo=laudanum.oxalya.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FOkxa-0000bp-2B for qemu-devel@nongnu.org; Wed, 29 Mar 2006 19:24:22 -0500 Received: from [192.168.128.101] (vol75-3-82-66-218-99.fbx.proxad.net [82.66.218.99]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by laudanum.oxalya.com (Postfix) with ESMTP id 55762476105 for ; Thu, 30 Mar 2006 02:22:12 +0200 (CEST) Content-Disposition: inline From: Thibaut LAURENT Date: Thu, 30 Mar 2006 03:20:50 +0200 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_yJzKEmy3r1IGpYo" Message-Id: <200603300320.50815.thibaut.laurent@laposte.net> Subject: [Qemu-devel] Qemu failures: x86_64 host / x86_64 guest Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Boundary-00=_yJzKEmy3r1IGpYo Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, still no luck with x86_64 on last night CVS build... * CentOS 3.6 x86_64: - UP won't boot with or without kqemu. Log file is attached. - Booting with "-kernel-kqemu" is even worse: the guest kernel won't start at all (at least it does not print anything). - Booting with "-smp 2" makes it a bit further: the kernel fully boots but the system crashes while starting Anaconda. System output in attachment. In all cases qemu gets stuck eating 100% CPU. * CentOS 4.2 x86_64: - UP does run without kqemu and with user code virtualization. Booting with "-smp 2" also works. - However, running with "-kernel-kqemu" does not work: the kernel won't boot and it makes qemu crash. Log files are attached (guest output and crash). The good news is that i386 versions for both distros do run smoothly :-) Host system is an Athlon 64 running a Mandriva 2006.0 with a plain kernel.org 2.6.15-4 kernel. Kqemu is 1.3.0pre5. Qemu was compiled with gcc 3.3.6-2mdk and the host kernel with gcc 4.0.2-1mdk. I tried several values for '-m' (128,160,192,224) with the same results. Fabrice, do you need any more information in order to help you debug this ? Regards, Thibaut --Boundary-00=_yJzKEmy3r1IGpYo Content-Type: text/plain; charset="us-ascii"; name="CentOS-3.6-x86_64_no-kqemu.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="CentOS-3.6-x86_64_no-kqemu.txt" ok =0DBootdata ok (command line is initrd=3Dinitrd.img devfs=3Dnomount ramdisk= _size=3D9216 BOOT_IMAGE=3Dvmlinuz text console=3DttyS0,115200) =0DLinux version 2.4.21-37.EL (centos@sillage.bis.pasteur.fr) (gcc version = 3.2.3 20030502 (Red Hat Linux 3.2.3-52)) #1 SMP Wed Sep 28 12:59:51 EDT 2005 =0DBIOS-provided physical RAM map: =0D BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) =0D BIOS-e820: 0000000000100000 - 000000000c000000 (usable) =0Dkernel direct mapping tables upto 1000c000000 @ 8000-a000 =0DNo NUMA configuration found =0DFaking a node at 0000000000000000-000000000c000000 =0DBootmem setup node 0 0000000000000000-000000000c000000 =0Dsetting up node 0 0-c000 =0DOn node 0 totalpages: 49152 =0Dzone(0): 4096 pages. =0Dzone(1): 45056 pages. =0Dzone(2): 0 pages. =0DACPI: Unable to locate RSDP =0DFound and enabled local APIC! =0DKernel command line: initrd=3Dinitrd.img devfs=3Dnomount ramdisk_size=3D= 9216 BOOT_IMAGE=3Dvmlinuz text console=3DttyS0,115200 =0DInitializing CPU#0 =0Dtime.c: Detected 1.193182 MHz PIT timer. =0Dtime.c: Detected 1795.151 MHz TSC timer. =0DConsole: colour VGA+ 80x25 =0DCalibrating delay loop... 3565.15 BogoMIPS =0DPage-cache hash table entries: 65536 (order: 7, 512 KB) =0DPage-pin hash table entries: 16384 (order: 4, 64 KB) =0DDentry cache hash table entries: 32768 (order: 7, 512 KB) =0DInode cache hash table entries: 16384 (order: 6, 256 KB) =0DBuffer cache hash table entries: 16384 (order: 5, 128 KB) =0DMemory: 179516k/196608k available (1821k kernel code, 0k reserved, 1883k= data, 228k init) =0DMount cache hash table entries: 256 (order: 0, 4096 bytes) =0DCPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2= way) =0DCPU: L2 Cache: 512K (64 bytes/line/8 way) =0DIntel machine check architecture supported. =0DIntel machine check reporting enabled on CPU#0. =0DPOSIX conformance testing by UNIFIX =0Dmtrr: v2.02 (20020716)) =0DCPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2= way) =0DCPU: L2 Cache: 512K (64 bytes/line/8 way) =0DCPU0: QEMU Virtual CPU version 0.8.0 stepping 03 =0Dper-CPU timeslice cutoff: 2560.10 usecs. =0Dtask migration cache decay timeout: 10 msecs. =0DSMP motherboard not detected. =0Dgeneral protection fault: 0000 =0DCPU 0=20 =0DPid: 1, comm: swapper Not tainted =0DRIP: 0010:[] =0DRSP: 0000:000001000bfd3ee0 EFLAGS: 00000216 =0DRAX: 0000000000000000 RBX: 0000000000000011 RCX: 0000000000050011 =0DRDX: ffffffff804388c0 RSI: 0000010001bd6140 RDI: ffffffff804388a0 =0DRBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 =0DR10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 =0DR13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 =0DFS: 0000000000000000(0000) GS:ffffffff805e8040(0000) knlGS:000000000000= 0000 =0DCS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b =0DCR2: 0000000000000000 CR3: 0000000000101000 CR4: 00000000000006e0 =0DCall Trace: []{init+40} []{child_rip= +8}=20 =0D []{init+0} []{child_rip+0}=20 =0D =20 =0DProcess swapper (pid: 1, stackpage=3D1000bfd3000) =0DStack: 000001000bfd3ee0 0000000000000000 ffffffff806280f5 00000000000000= 00=20 =0D ffffffff806286bc 0000000000000000 ffffffff80627b14 00000000000000= 00=20 =0D 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 =0D ffffffff80621599 000001000bfd2000 ffffffff8010c098 00000000000000= 00=20 =0D ffffffff80110cc1 0000000000000000 0000000000000000 00000000000000= 00=20 =0D 0000000000000000 0000000000000000 0000000000000000 00000000000000= 0a=20 =0D ffffffff805eecc0 ffffffff805eecc0 ffffffff805eed08 00000000000000= 00=20 =0D ffffffff8061e000 0000000000000e00 0000000000000000 ffffffff8010c0= 70=20 =0D 0000000000000000 ffffffff80110cb9 0000000000000010 00000000000002= 00=20 =0D 000001000bfd3f58 0000000000000000=20 =0DCall Trace: []{init+40} []{child_rip= +8}=20 =0D []{init+0} []{child_rip+0}=20 =0D =20 =0DCode: Bad RIP value. =0DKernel panic: Fatal exception =0D=20 =0D --Boundary-00=_yJzKEmy3r1IGpYo Content-Type: text/plain; charset="us-ascii"; name="CentOS-3.6-x86_64_smp_2.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="CentOS-3.6-x86_64_smp_2.txt" ok =0DBootdata ok (command line is initrd=3Dinitrd.img devfs=3Dnomount ramdisk= _size=3D9216 BOOT_IMAGE=3Dvmlinuz text console=3DttyS0,115200) =0DLinux version 2.4.21-37.EL (centos@sillage.bis.pasteur.fr) (gcc version = 3.2.3 20030502 (Red Hat Linux 3.2.3-52)) #1 SMP Wed Sep 28 12:59:51 EDT 2005 =0DBIOS-provided physical RAM map: =0D BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) =0D BIOS-e820: 0000000000100000 - 000000000c000000 (usable) =0Dkernel direct mapping tables upto 1000c000000 @ 8000-a000 =0DNo NUMA configuration found =0DFaking a node at 0000000000000000-000000000c000000 =0DBootmem setup node 0 0000000000000000-000000000c000000 =0Dfound SMP MP-table at 000fb0f0 =0Dhm, page 000fb000 reserved twice. =0Dhm, page 000fc000 reserved twice. =0Dhm, page 000fb000 reserved twice. =0Dsetting up node 0 0-c000 =0DOn node 0 totalpages: 49152 =0Dzone(0): 4096 pages. =0Dzone(1): 45056 pages. =0Dzone(2): 0 pages. =0DACPI: Unable to locate RSDP =0DIntel MultiProcessor Specification v1.4 =0D Virtual Wire compatibility mode. =0DOEM ID: QEMUCPU <6>Product ID: 0.1 <6>APIC at: 0xFEE00000 =0DProcessor #0 6:0 APIC version 17 =0DProcessor #1 6:0 APIC version 17 =0DI/O APIC #2 Version 17 at 0xFEC00000. =0DProcessors: 2 =0DSetting APIC routing to flat =0DKernel command line: initrd=3Dinitrd.img devfs=3Dnomount ramdisk_size=3D= 9216 BOOT_IMAGE=3Dvmlinuz text console=3DttyS0,115200 =0DInitializing CPU#0 =0Dtime.c: Detected 1.193182 MHz PIT timer. =0Dtime.c: Detected 1795.263 MHz TSC timer. =0DConsole: colour VGA+ 80x25 =0DCalibrating delay loop... 3578.26 BogoMIPS =0DPage-cache hash table entries: 65536 (order: 7, 512 KB) =0DPage-pin hash table entries: 16384 (order: 4, 64 KB) =0DDentry cache hash table entries: 32768 (order: 7, 512 KB) =0DInode cache hash table entries: 16384 (order: 6, 256 KB) =0DBuffer cache hash table entries: 16384 (order: 5, 128 KB) =0DMemory: 179516k/196608k available (1821k kernel code, 0k reserved, 1883k= data, 228k init) =0DMount cache hash table entries: 256 (order: 0, 4096 bytes) =0DCPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2= way) =0DCPU: L2 Cache: 512K (64 bytes/line/8 way) =0DIntel machine check architecture supported. =0DIntel machine check reporting enabled on CPU#0. =0DPOSIX conformance testing by UNIFIX =0Dmtrr: v2.02 (20020716)) =0DCPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2= way) =0DCPU: L2 Cache: 512K (64 bytes/line/8 way) =0DCPU0: QEMU Virtual CPU version 0.8.0 stepping 03 =0Dper-CPU timeslice cutoff: 2560.10 usecs. =0Dtask migration cache decay timeout: 10 msecs. =0DCPU present map: 3 =0DBooting processor 1/1 rip 6000 page 0000010001bea000 =0DSetting warm reset code and vector. =0D1. =0D2. =0D3. =0DAsserting INIT. =0DWaiting for send to finish... =0D+Deasserting INIT. =0DWaiting for send to finish... =0D+#startup loops: 2. =0DSending STARTUP #1. =0DAfter apic_write. =0Dtarget apic 1000000 =0Dafter target chip =0Dafter eip write =0DStartup point 1. =0DInitializing CPU#1 =0DCPU#1 (phys ID: 1) waiting for CALLOUT =0DWaiting for send to finish... =0D+Sending STARTUP #2. =0DAfter apic_write. =0Dtarget apic 1000000 =0Dafter target chip =0Dafter eip write =0DStartup point 1. =0DWaiting for send to finish... =0D+After Startup. =0DBefore Callout 1. =0DAfter Callout 1. =0DCALLIN, before setup_local_APIC(). =0DCalibrating delay loop... 734.00 BogoMIPS =0DStack at about 0000010001bebfd4 =0DCPU: L1 I Cache: 64K (64 bytes/line/2 way), D cache 64K (64 bytes/line/2= way) =0DCPU: L2 Cache: 512K (64 bytes/line/8 way) =0DIntel machine check reporting enabled on CPU#1. =0DOK. =0DCPU1: QEMU Virtual CPU version 0.8.0 stepping 03 =0DCPU has booted. =0DBefore bogomips. =0DTotal of 2 processors activated (4312.26 BogoMIPS). =0DBefore bogocount - setting activated=3D1. =0DBoot done. =0DENABLING IO-APIC IRQs =0DUsing IO-APIC 2 =0D...changing IO-APIC physical APIC ID to 2 ... ok. =0D..TIMER: vector=3D0x31 pin1=3D0 pin2=3D-1 =0Dtesting the IO APIC....................... =0D.................................... done. =0DUsing local APIC timer interrupts. =0DDetected 112.204 MHz APIC timer. =0Dcpu: 0, clocks: 17952695, slice: 5984231 =0DCPU0 =0Dcpu: 1, clocks: 17952695, slice: 5984231 =0DCPU1 =0Dchecking TSC synchronization across CPUs:=20 =0DBIOS BUG: CPU#0 improperly initialized, has -1490 usecs TSC skew! FIXED. =0DBIOS BUG: CPU#1 improperly initialized, has 1490 usecs TSC skew! FIXED. =0Dtime.c: Using PIT based timekeeping. =0DSetting commenced=3D1, go go go =0DStarting migration thread for cpu 0 =0DStarting migration thread for cpu 1 =0DACPI: Subsystem revision 20030619 =0DPCI: Using configuration type 1 =0DACPI: System description tables not found =0D ACPI-0084: *** Error: acpi_load_tables: Could not get RSDP, AE_NOT_F= OUND =0D ACPI-0134: *** Error: acpi_load_tables: Could not load tables: AE_NO= T_FOUND =0DACPI: Unable to load the System Description Tables =0DPCI: Probing PCI hardware =0DPCI: Using IRQ router PIIX [8086/7000] at 00:01.0 =0DPCI BIOS passed nonexistent PCI bus 0! =0DLinux agpgart interface v0.99 (c) Jeff Hartmann =0Dagpgart: Maximum main memory to use for agp memory: 150M =0DPCI-DMA: Disabling IOMMU. =0DPCI: PIIX3: Enabling Passive Release on 00:01.0 =0DLimiting direct PCI/PCI transfers. =0DActivating ISA DMA hang workarounds. =0DLinux NET4.0 for Linux 2.4 =0DBased upon Swansea University Computer Society NET3.039 =0DInitializing RT netlink socket =0DStarting kswapd =0DVFS: Disk quotas vdquot_6.5.1 =0Daio_setup: num_physpages =3D 12288 =0Daio_setup: sizeof(struct page) =3D 104 =0DHugetlbfs mounted. =0DTotal HugeTLB memory allocated, 0 =0DIA32 emulation $Id: sys_ia32.c,v 1.56 2003/04/10 10:45:37 ak Exp $ =0Dpty: 2048 Unix98 ptys configured =0DSerial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE= _IRQ SERIAL_PCI SERIAL_ACPI enabled =0DttyS0 at 0x03f8 (irq =3D 4) is a 16450 =0DReal Time Clock Driver v1.10e =0DNET4: Frame Diverter 0.46 =0DRAMDISK driver initialized: 256 RAM disks of 9216K size 1024 blocksize =0DUniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 =0Dide: Assuming 33MHz system bus speed for PIO modes; override with idebus= =3Dxx =0DPIIX3: IDE controller at PCI slot 00:01.1 =0DPIIX3: chipset revision 0 =0DPIIX3: not 100% native mode: will probe irqs later =0DPCI: Setting latency timer of device 00:01.1 to 64 =0D ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:pio, hdb:pio =0D ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:pio, hdd:pio =0Dhda: QEMU HARDDISK, ATA DISK drive =0Dhdc: QEMU CD-ROM, ATAPI CD/DVD-ROM drive =0Dide0 at 0x1f0-0x1f7,0x3f6 on irq 14 =0Dide1 at 0x170-0x177,0x376 on irq 15 =0Dhda: attached ide-disk driver. =0Dhda: 12582912 sectors (6442 MB) w/256KiB Cache, CHS=3D12483/16/63, (U)DMA =0Dide-floppy driver 0.99.newide =0DPartition check: =0D hda: unknown partition table =0Dide-floppy driver 0.99.newide =0Dmd: md driver 0.90.0 MAX_MD_DEVS=3D256, MD_SB_DISKS=3D27 =0Dmd: Autodetecting RAID arrays. =0Dmd: autorun ... =0Dmd: ... autorun DONE. =0DInitializing Cryptographic API =0DNET4: Linux TCP/IP 1.0 for NET4.0 =0DIP: routing cache hash table of 1024 buckets, 16Kbytes =0DTCP: Hash tables configured (established 8192 bind 8192) =0DLinux IP multicast router 0.06 plus PIM-SM =0DInitializing IPsec netlink socket =0DNET4: Unix domain sockets 1.0/SMP for Linux NET4.0. =0DRAMDISK: Compressed image found at block 0 =0DVFS: Mounted root (ext2 filesystem). =0D=1B[9;0]=1B[8]Greetings. CentOS install init version 9.1.6.8 starting mounting /proc filesystem... done mounting /dev/pts (unix98 pty) filesystem... done CentOS install init version 9.1.6.8 using a serial console remember, cereal is an important part of a nutritionally balanced breakfast. trying to remount root filesystem read write... done mounting /tmp as ramfs... done Unable to handle kernel paging request at virtual address 0000007fbfffc148 =0D printing rip: =0D000000000040046e =0DPML4 b8aa067 PGD b8a7067 PMD b8a6067 PTE 800000000b899065 =0DOops: 0007 =0DCPU 0=20 =0DPid: 0, comm: swapper Not tainted =0DRIP: 0033:[<000000000040046e>] =0DRSP: 002b:0000007fbfffc150 EFLAGS: 00000202 =0DRAX: 000000000000000d RBX: 000000000045205d RCX: 000000000040c220 =0DRDX: 0000000000000000 RSI: 0000000000000041 RDI: 0000000000000003 =0DRBP: 0000000000000003 R08: 0000000000020901 R09: 000000000001f8a1 =0DR10: 000000000001f8a0 R11: 0000000000000246 R12: 0000007fbfffc760 =0DR13: 0000000000000002 R14: 0000007fbfffc960 R15: 0000000000000000 =0DFS: 0000000000000000(0000) GS:ffffffff805e8040(0000) knlGS:000000000000= 0000 =0DCS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b =0DCR2: 0000007fbfffc148 CR3: 0000000001bd1000 CR4: 00000000000006e0 =0DCall Trace:=20 =0DProcess swapper (pid: 0, stackpage=3Dffffffff8061f000) =0DKernel panic: Fatal exception =0DIn idle task - not syncing =0D=20 =0D --Boundary-00=_yJzKEmy3r1IGpYo Content-Type: text/plain; charset="us-ascii"; name="CentOS-4.2-x86_64_kernel-kqemu.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="CentOS-4.2-x86_64_kernel-kqemu.txt" Bootdata ok (command line is initrd=3Dinitrd.img ramdisk_size=3D9216 BOOT_I= MAGE=3Dvmlinuz text console=3DttyS0,115200) =0DLinux version 2.6.9-22.EL (buildcentos@monk.karan.org) (gcc version 3.4.= 4 20050721 (Red Hat 3.4.4-2)) #1 Sat Oct 8 21:08:40 BST 2005 =0DBIOS-provided physical RAM map: =0D BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) =0D BIOS-e820: 0000000000100000 - 000000000c000000 (usable) =0DACPI: Unable to locate RSDP =0DNo mptable found. =0DDMI not present. =0DChecking aperture... =0DBuilt 1 zonelists =0DKernel command line: initrd=3Dinitrd.img ramdisk_size=3D9216 BOOT_IMAGE= =3Dvmlinuz text console=3DttyS0,115200 =0DInitializing CPU#0 =0DPID hash table entries: 1024 (order: 10, 32768 bytes) =0Dtime.c: Using 1.193182 MHz PIT timer. =0Dtime.c: Detected 1795.125 MHz processor. =0Dtime.c: Using PIT/TSC based timekeeping. =0DConsole: colour VGA+ 80x25 =0D --Boundary-00=_yJzKEmy3r1IGpYo Content-Type: text/plain; charset="us-ascii"; name="CentOS-4.2-x86_64_kernel-kqemu_qemu-crash.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="CentOS-4.2-x86_64_kernel-kqemu_qemu-crash.txt" RAX=ffffffff80533900 RBX=0000000000000002 RCX=0000000000000000 RDX=00000000fffffffe RSI=000000000017648f RDI=000000000017648f RBP=ffffffff804cd340 RSP=ffffffff804a1558 R8 =000000000017648f R9 =ffffffff805105a0 R10=00000000000003e8 R11=ffffffff80537f38 R12=000000000000000a R13=ffffffff80537f38 R14=0000000000000000 R15=0000000000000000 RIP=ffffffff8013f389 RFL=00010002 [-------] CPL=0 II=0 A20=1 HLT=0 ES =0018 0000000000000000 ffffffff 00cff300 CS =0010 0000000000000000 ffffffff 00affb00 SS =0018 0000000000000000 ffffffff 00cff300 DS =0018 0000000000000000 ffffffff 00cff300 FS =0000 0000000000000000 00000000 00000000 GS =0000 ffffffff80533900 00000000 00000000 LDT=0000 0000000000000000 00000000 00008000 TR =0040 ffffffff804a6600 000000ef 8000894a GDT= ffffffff8041c980 00000080 IDT= ffffffff8041ca00 00001000 CR0=8005003b CR2=0000000000000000 CR3=0000000000101000 CR4=000006a0 Unsupported return value: 0xffffffff --Boundary-00=_yJzKEmy3r1IGpYo--