[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [x86/xen] WARNING: CPU: 0 PID: 1 at arch/x86/xen/apic.c:73 xen_apic_write()
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip revert-3f4560207f796d5f79c18329d5a5d383fe3c97bb-3f4560207f796d5f79c18329d5a5d383fe3c97bb commit 3f4560207f796d5f79c18329d5a5d383fe3c97bb Author: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> AuthorDate: Mon Mar 2 12:06:23 2015 -0500 Commit: David Vrabel <david.vrabel@xxxxxxxxxx> CommitDate: Mon Mar 2 17:15:05 2015 +0000 x86/xen: Provide a "Xen PV" APIC driver to support >255 VCPUs Instead of mangling the default APIC driver, provide a Xen PV guest specific one that explicitly provides appropriate methods. This allows use to report that all APIC IDs are valid, allowing dom0 to boot with more than 255 VCPUs. Since the probe order of APIC drivers is link dependent, we add in an late probe function to change to the Xen PV if it hadn't been done during bootup. Suggested-by: David Vrabel <david.vrabel@xxxxxxxxxx> Reported-by: Cathy Avery <cathy.avery@xxxxxxxxxx> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx> +--------------------------------------------------+------------+------------+------------+ | | dbc36df319 | 3f4560207f | 64abd71342 | +--------------------------------------------------+------------+------------+------------+ | boot_successes | 60 | 0 | 0 | | boot_failures | 0 | 20 | 12 | | WARNING:at_arch/x86/xen/apic.c:#xen_apic_write() | 0 | 20 | 12 | | BUG:kernel_boot_hang | 0 | 9 | 2 | | backtrace:native_smp_prepare_cpus | 0 | 20 | 12 | | backtrace:kernel_init_freeable | 0 | 20 | 12 | +--------------------------------------------------+------------+------------+------------+ [ 0.021336] Freeing SMP alternatives memory: 32K (ffffffff8264c000 - ffffffff82654000) [ 0.027813] Getting VERSION: 0 [ 0.028005] ------------[ cut here ]------------ [ 0.028838] WARNING: CPU: 0 PID: 1 at arch/x86/xen/apic.c:73 xen_apic_write+0x15/0x17() [ 0.032006] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.0.0-rc1-00008-g3f45602 #10 [ 0.033313] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014 [ 0.035045] 0000000000000009 ffff88001144fe58 ffffffff81b4bc0c 000000000000005e [ 0.036329] 0000000000000000 ffff88001144fe98 ffffffff810729f0 0000000000000000 [ 0.037692] ffffffff81009b3b 0000000000000008 0000000000000000 000000000000a108 [ 0.039067] Call Trace: [ 0.039506] [<ffffffff81b4bc0c>] dump_stack+0x4c/0x6e [ 0.040008] [<ffffffff810729f0>] warn_slowpath_common+0x92/0xac [ 0.041048] [<ffffffff81009b3b>] ? xen_apic_write+0x15/0x17 [ 0.042032] [<ffffffff81072ac1>] warn_slowpath_null+0x15/0x17 [ 0.044007] [<ffffffff81009b3b>] xen_apic_write+0x15/0x17 [ 0.044964] [<ffffffff82562db1>] verify_local_APIC+0x50/0x1a5 [ 0.045980] [<ffffffff825611f3>] native_smp_prepare_cpus+0x1f9/0x2d2 [ 0.047093] [<ffffffff825521fd>] kernel_init_freeable+0x115/0x258 [ 0.048007] [<ffffffff81b467c2>] ? rest_init+0xbc/0xbc [ 0.048915] [<ffffffff81b467cb>] kernel_init+0x9/0xd5 [ 0.049810] [<ffffffff81b5cb3c>] ret_from_fork+0x7c/0xb0 [ 0.050753] [<ffffffff81b467c2>] ? rest_init+0xbc/0xbc [ 0.052021] ---[ end trace 2224f94bfa1995b9 ]--- [ 0.052835] Getting VERSION: 0 git bisect start 64abd713427959b0c88f3f7ddc38888a519d9628 c517d838eb7d07bbe9507871fab3931deccff539 -- git bisect bad 564cdc396432bb58399bee9c85d2f9c9dbd1f4c8 # 02:32 0- 20 Merge 'xen-tip/devel/for-linus-4.1' into devel-xian-x86_64-201503030145 git bisect good 42d429fb535b1ed2a8f2bd64e5e2b0d1507020e8 # 03:30 20+ 0 Merge 'slave-dma/for-linus' into devel-xian-x86_64-201503030145 git bisect good 358928c49c157cfd513af221ccabe22434a63bbe # 03:55 20+ 4 Merge 'cgroup/for-4.1' into devel-xian-x86_64-201503030145 git bisect good 058e1fa5f35fbd876af4e1bcc1f938218a28706e # 04:16 20+ 0 Merge 'wq/for-4.0-fixes' into devel-xian-x86_64-201503030145 git bisect good 06324125b0143ed0efe6c3db9b210ce2fe0f255d # 04:27 20+ 10 xen: synchronize include/xen/interface/xen.h with xen git bisect good f227b2ffd052e52f51c78c692eec4ccfba180d31 # 04:43 20+ 1 xen: use generated hypercall symbols in arch/x86/xen/xen-head.S git bisect bad 3f4560207f796d5f79c18329d5a5d383fe3c97bb # 05:11 0- 11 x86/xen: Provide a "Xen PV" APIC driver to support >255 VCPUs git bisect good dbc36df3197da8364f9a58f76970968c7862eb60 # 05:45 20+ 0 xen/pciback: Don't print scary messages when unsupported by hypervisor. # first bad commit: [3f4560207f796d5f79c18329d5a5d383fe3c97bb] x86/xen: Provide a "Xen PV" APIC driver to support >255 VCPUs git bisect good dbc36df3197da8364f9a58f76970968c7862eb60 # 05:48 60+ 0 xen/pciback: Don't print scary messages when unsupported by hypervisor. # extra tests with DEBUG_INFO git bisect good 3f4560207f796d5f79c18329d5a5d383fe3c97bb # 06:00 60+ 0 x86/xen: Provide a "Xen PV" APIC driver to support >255 VCPUs # extra tests on HEAD of linux-devel/devel-xian-x86_64-201503030145 git bisect bad 64abd713427959b0c88f3f7ddc38888a519d9628 # 06:00 0- 12 0day head guard for 'devel-xian-x86_64-201503030145' # extra tests on tree/branch xen-tip/devel/for-linus-4.1 git bisect bad 3f4560207f796d5f79c18329d5a5d383fe3c97bb # 06:10 0- 20 x86/xen: Provide a "Xen PV" APIC driver to support >255 VCPUs # extra tests with first bad commit reverted # extra tests on tree/branch linus/master git bisect good a38ecbbd0be025a6ecbbfd22d2575a5b46317117 # 06:31 60+ 3 Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # extra tests on tree/branch next/master git bisect good 8bcbe02ae769f1753eb19d57897d71c731d57772 # 06:41 60+ 51 Add linux-next specific files for 20150302 This script may reproduce the error. ---------------------------------------------------------------------------- #!/bin/bash kernel=$1 initrd=quantal-core-x86_64.cgz wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd kvm=( qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel $kernel -initrd $initrd -m 320 -smp 2 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -serial stdio -display none -monitor null ) append=( hung_task_panic=1 earlyprintk=ttyS0,115200 rd.udev.log-priority=err systemd.log_target=journal systemd.log_level=warning debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal root=/dev/ram0 rw drbd.minor_count=8 ) "${kvm[@]}" --append "${append[*]}" ---------------------------------------------------------------------------- Thanks, Fengguang Attachment:
dmesg-quantal-client1-17:20150303050815:x86_64-acpi-redef:4.0.0-rc1-00008-g3f45602:10 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |