All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@redhat.com>
To: Alexandre DERUMIER <aderumier@odiso.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] guest kernel 3.10 panic at boot (__mcheck_cpu_init_generic) with kvm64 vcpu + amd host cpu (qemu 1.4)
Date: Wed, 11 Sep 2013 11:24:39 +0300	[thread overview]
Message-ID: <20130911082439.GA17294@redhat.com> (raw)
In-Reply-To: <7f3f6ad8-4065-4726-8452-816c96720475@mailpro>

On Wed, Sep 11, 2013 at 05:39:01AM +0200, Alexandre DERUMIER wrote:
> Hi List,
> I'm trying to boot a debian squeeze guest with a 3.10 kernel, and I have a crash at boot
> 
> This only happen with kvm64 vcpu + amd host (opteron 6100 or opteron 6300).
> 
Check host dmesg for unhandled msrs.

> host vcpu + amd host works fine
> kvm64 vcpu + intel host works fine too.
> 
> 
> host os is proxmox 3.1 (rhel 6.4 2.6.32 kernel + qemu 64)
> 
> I can boot fine this guest with 3.7 kernel.
> 
> (I'll try to build 3.8 and 3.9 kernel later this week).
> 
> Any idea ?
> 
> Regards,
> 
> Alexandre
> 
> 
> 
> 
> [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.10.7 root=UUID=a8eb9f6e-dbc6-4797-baea-8e7198e8e541 ro console=ttyS0 console=tty0
> [    0.000000] e820: BIOS-provided physical RAM map:
> [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
> [    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
> [    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
> [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000dfffdfff] usable
> [    0.000000] BIOS-e820: [mem 0x00000000dfffe000-0x00000000dfffffff] reserved
> [    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
> [    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
> [    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000011fffffff] usable
> [    0.000000] NX (Execute Disable) protection: active
> [    0.000000] SMBIOS 2.4 present.
> [    0.000000] No AGP bridge found
> [    0.000000] e820: last_pfn = 0x120000 max_arch_pfn = 0x400000000
> [    0.000000] x86 PAT enabled: cpu 0, old 0x70406, new 0x7010600070106
> [    0.000000] e820: last_pfn = 0xdfffe max_arch_pfn = 0x400000000
> [    0.000000] found SMP MP-table at [mem 0x000fdaa0-0x000fdaaf] mapped at [ffff8800000fdaa0]
> [    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
> [    0.000000] init_memory_mapping: [mem 0x11fe00000-0x11fffffff]
> [    0.000000] init_memory_mapping: [mem 0x11c000000-0x11fdfffff]
> [    0.000000] init_memory_mapping: [mem 0x100000000-0x11bffffff]
> [    0.000000] init_memory_mapping: [mem 0x00100000-0xdfffdfff]
> [    0.000000] RAMDISK: [mem 0x37576000-0x37feffff]
> [    0.000000] ACPI: RSDP 00000000000fd890 00014 (v00 BOCHS )
> [    0.000000] ACPI: RSDT 00000000dfffe380 00034 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
> [    0.000000] ACPI: FACP 00000000dfffff80 00074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
> [    0.000000] ACPI: DSDT 00000000dfffe3c0 011A9 (v01   BXPC   BXDSDT 00000001 INTL 20100528)
> [    0.000000] ACPI: FACS 00000000dfffff40 00040
> [    0.000000] ACPI: SSDT 00000000dffff6e0 00858 (v01 BOCHS  BXPCSSDT 00000001 BXPC 00000001)
> [    0.000000] ACPI: APIC 00000000dffff5b0 00090 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
> [    0.000000] ACPI: HPET 00000000dffff570 00038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
> [    0.000000] No NUMA configuration found
> [    0.000000] Faking a node at [mem 0x0000000000000000-0x000000011fffffff]
> [    0.000000] Initmem setup node 0 [mem 0x00000000-0x11fffffff]
> [    0.000000]   NODE_DATA [mem 0x11fff8000-0x11fffbfff]
> [    0.000000] Zone ranges:
> [    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
> [    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
> [    0.000000]   Normal   [mem 0x100000000-0x11fffffff]
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x00001000-0x0009efff]
> [    0.000000]   node   0: [mem 0x00100000-0xdfffdfff]
> [    0.000000]   node   0: [mem 0x100000000-0x11fffffff]
> [    0.000000] ACPI: PM-Timer IO Port: 0xb008
> [    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> [    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> [    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
> [    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
> [    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
> [    0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
> [    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
> [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
> [    0.000000] Using ACPI (MADT) for SMP configuration information
> [    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
> [    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
> [    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
> [    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
> [    0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
> [    0.000000] PM: Registered nosave memory: 00000000dfffe000 - 00000000e0000000
> [    0.000000] PM: Registered nosave memory: 00000000e0000000 - 00000000feffc000
> [    0.000000] PM: Registered nosave memory: 00000000feffc000 - 00000000ff000000
> [    0.000000] PM: Registered nosave memory: 00000000ff000000 - 00000000fffc0000
> [    0.000000] PM: Registered nosave memory: 00000000fffc0000 - 0000000100000000
> [    0.000000] e820: [mem 0xe0000000-0xfeffbfff] available for PCI devices
> [    0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:4 nr_node_ids:1
> [    0.000000] PERCPU: Embedded 27 pages/cpu @ffff88011fc00000 s80320 r8192 d22080 u524288
> [    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 1034118
> [    0.000000] Policy zone: Normal
> [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.7 root=UUID=a8eb9f6e-dbc6-4797-baea-8e7198e8e541 ro console=ttyS0 console=tty0
> [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
> [    0.000000] Checking aperture...
> [    0.000000] No AGP bridge found
> [    0.000000] Memory: 4048404k/4718592k available (3634k kernel code, 524688k absent, 145500k reserved, 3099k data, 880k init)
> [    0.000000] Hierarchical RCU implementation.
> [    0.000000] 	RCU dyntick-idle grace-period acceleration is enabled.
> [    0.000000] 	RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=4.
> [    0.000000] NR_IRQS:33024 nr_irqs:712 16
> [    0.000000] Console: colour VGA+ 80x25
> [    0.000000] console [tty0] enabled
> [    0.000000] console [ttyS0] enabled
> [    0.000000] tsc: Fast TSC calibration using PIT
> [    0.000000] tsc: Detected 2100.144 MHz processor
> [    0.000000] tsc: Marking TSC unstable due to TSCs unsynchronized
> [    0.014735] Calibrating delay loop (skipped), value calculated using timer frequency.. 4200.28 BogoMIPS (lpj=8400576)
> [    0.017534] pid_max: default: 32768 minimum: 301
> [    0.020084] Security Framework initialized
> [    0.021949] AppArmor: AppArmor disabled by boot time parameter
> [    0.024371] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
> [    0.030339] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
> [    0.036417] Mount-cache hash table entries: 256
> [    0.038814] Initializing cgroup subsys devices
> [    0.040010] Initializing cgroup subsys freezer
> [    0.042124] Initializing cgroup subsys net_cls
> [    0.044007] Initializing cgroup subsys blkio
> [    0.045905] Initializing cgroup subsys perf_event
> [    0.048286] mce: CPU supports 10 MCE banks
> [    0.050199] general protection fault: 0000 [#1] SMP 
> [    0.052000] Modules linked in:
> [    0.052000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.7-odiso #3
> [    0.052000] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
> [    0.052000] task: ffffffff81610400 ti: ffffffff81600000 task.ti: ffffffff81600000
> [    0.052000] RIP: 0010:[<ffffffff81018167>]  [<ffffffff81018167>] __mcheck_cpu_init_generic+0x8f/0xb1
> [    0.052000] RSP: 0000:ffffffff81601ef8  EFLAGS: 00010217
> [    0.052000] RAX: fffffffffffffbff RBX: ffffffff816882c0 RCX: 0000000000000410
> [    0.052000] RDX: 00000000ffffffff RSI: 0000000000000004 RDI: 0000000000000410
> [    0.052000] RBP: 000000000100010a R08: 0000000000000000 R09: ffff88011f0024d8
> [    0.052000] R10: 0000000000000000 R11: ffff88011f0005c0 R12: 0000000000000280
> [    0.052000] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
> [    0.052000] FS:  0000000000000000(0000) GS:ffff88011fc00000(0000) knlGS:0000000000000000
> [    0.052000] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [    0.052000] CR2: ffff88011ffff000 CR3: 000000000160b000 CR4: 00000000000006f0
> [    0.052000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [    0.052000] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> [    0.052000] Stack:
> [    0.052000]  00000000ffffffff 0000000000000000 0000000000000000 ffffffff81378b8c
> [    0.052000]  0000000000000000 0000000000000000 0000000000000000 ffffffff816882c0
> [    0.052000]  ffffffff816882d4 ffffffff813769b7 6db6db6db6db6db7 ffffffff8172e8d0
> [    0.052000] Call Trace:
> [    0.052000]  [<ffffffff81378b8c>] ? mcheck_cpu_init+0x351/0x3d9
> [    0.052000]  [<ffffffff813769b7>] ? identify_cpu+0x355/0x36e
> [    0.052000]  [<ffffffff816af120>] ? identify_boot_cpu+0x10/0x47
> [    0.052000]  [<ffffffff816af176>] ? check_bugs+0x9/0x2e
> [    0.052000]  [<ffffffff816a9e91>] ? start_kernel+0x3d2/0x404
> [    0.052000]  [<ffffffff816a98f8>] ? repair_env_string+0x58/0x58
> [    0.052000]  [<ffffffff816a95a1>] ? x86_64_start_kernel+0x12f/0x133
> [    0.052000] Code: 00 04 00 00 31 f6 45 31 c0 eb 32 48 63 c6 48 c1 e0 06 48 03 05 23 19 67 00 80 78 08 00 74 19 48 8b 00 89 f9 48 89 c2 48 c1 ea 20 <0f> 30 8d 4f 01 44 89 c0 44 89 c2 0f 30 ff c6 83 c7 04 0f b6 05 
> [    0.052000] RIP  [<ffffffff81018167>] __mcheck_cpu_init_generic+0x8f/0xb1
> [    0.052000]  RSP <ffffffff81601ef8>
> [    0.052029] ---[ end trace 762a7d1ce4cb828c ]---
> [    0.053949] Kernel panic - not syncing: Attempted to kill the idle task!

--
			Gleb.

      parent reply	other threads:[~2013-09-11  8:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <47f83263-3383-4b12-b562-edc13ff5f3ce@mailpro>
2013-09-11  3:39 ` [Qemu-devel] guest kernel 3.10 panic at boot (__mcheck_cpu_init_generic) with kvm64 vcpu + amd host cpu (qemu 1.4) Alexandre DERUMIER
2013-09-11  6:06   ` Alexandre DERUMIER
2013-09-11  8:24   ` Gleb Natapov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130911082439.GA17294@redhat.com \
    --to=gleb@redhat.com \
    --cc=aderumier@odiso.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.