From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: the reboot will hang at guest os when output "irq 11: nobody cared (try booting with the "irqpoll" option)" Date: Wed, 15 Jan 2014 10:09:21 +0200 Message-ID: <20140115080921.GA1127@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org, Alex Williamson To: =?utf-8?B?5p2O5LmJ?= Return-path: Received: from mx1.redhat.com ([209.132.183.28]:25993 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259AbaAOIJa (ORCPT ); Wed, 15 Jan 2014 03:09:30 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Jan 15, 2014 at 02:48:35PM +0800, =E6=9D=8E=E4=B9=89 wrote: > Hi ALL, >=20 > i have meet kvm guest os issue at redhat7beta. >=20 > Host os: > iredhat7 Beta > #virsh version > Compiled against library: libvirt 1.1.1 > Using library: libvirt 1.1.1 > Using API: QEMU 1.1.1 > Running hypervisor: QEMU 1.5.3 >=20 > guest os: > 2.6.32.43 x86-64 Which OS is this, exactly? Does this reproduce with a newer guest? > Problem: > reboot at the guest os, the guest os will hang.(i have not find th= e > reproduce method) >=20 > pls: the below is the crash info. >=20 > [ 3.446282] Adding 2104504k swap on /dev/vda2. Priority:-1 > extents:1 across:2104504k > [ 63.862133] md: stopping all md devices. > [ 64.960702] ACPI: Preparing to enter system sleep state S5 > [ 64.961280] Disabling non-boot CPUs ... > [ 66.370651] irq 11: nobody cared (try booting with the "irqpoll" o= ption) What uses irq 11? Could you check with lspci before you try to shutdown= ? > [ 66.370656] Pid: 0, comm: swapper Not tainted > 2.6.32.43_guest-1.0.8.kvmguest-default #1 > [ 66.370658] Call Trace: > [ 66.370660] [] __report_bad_irq+0x26/0xa= 0 > [ 66.370687] [] note_interrupt+0x18c/0x1d0 > [ 66.370691] [] handle_fasteoi_irq+0x13d/0x1c0 > [ 66.370701] [] handle_irq+0x1d/0x30 > [ 66.370704] [] do_IRQ+0x67/0xe0 > [ 66.370708] [] ret_from_intr+0x0/0x11 > [ 66.370716] [] ? __do_softirq+0x63/0x140 > [ 66.370720] [] ? call_softirq+0x1c/0x30 > [ 66.370723] [] ? do_softirq+0x65/0xa0 > [ 66.370725] [] ? irq_exit+0x7d/0x90 > [ 66.370728] [] ? do_IRQ+0x70/0xe0 > [ 66.370731] [] ? ret_from_intr+0x0/0x11 > [ 66.370732] [] ? native_safe_halt+0x6/0x= 10 > [ 66.370747] [] ? atomic_notifier_call_chain+0x1= 5/0x20 > [ 66.370753] [] ? default_idle+0x27/0x50 > [ 66.370757] [] ? cpu_idle+0x66/0xc0 > [ 66.370772] [] ? rest_init+0x75/0x80 > [ 66.370786] [] ? start_kernel+0x2ed/0x2f9 > [ 66.370790] [] ? x86_64_start_reservations+0xfb= /0xff > [ 66.370793] [] ? x86_64_start_kernel+0xfa/0x109 > [ 66.370795] handlers: > [ 66.370796] [] (vp_interrupt+0x0/0x60) > [ 66.370810] Disabling IRQ #11 >=20 > =E8=BF=9B=E7=A8=8B: > PID: 1943 TASK: ffff88007da18580 CPU: 0 COMMAND: "halt" > #0 [ffff88007e8b1b98] schedule at ffffffff815b295d > #1 [ffff88007e8b1ca0] schedule_timeout at ffffffff815b358e > #2 [ffff88007e8b1d30] schedule_timeout_uninterruptible at ffffffff81= 5b36c9 > #3 [ffff88007e8b1d40] msleep at ffffffff81050f98 > #4 [ffff88007e8b1d50] native_cpu_die at ffffffff8101d81c > #5 [ffff88007e8b1d80] _cpu_down at ffffffff8159840a > #6 [ffff88007e8b1de0] disable_nonboot_cpus at ffffffff810461f2 > #7 [ffff88007e8b1e30] kernel_power_off at ffffffff81057321 > #8 [ffff88007e8b1e40] sys_reboot at ffffffff810575dc > #9 [ffff88007e8b1f80] system_call_fastpath at ffffffff8100bf02 > RIP: 00007f2d9c768c66 RSP: 00007fff4ad666f8 RFLAGS: 00010202 > RAX: 00000000000000a9 RBX: ffffffff8100bf02 RCX: 00000000000000= 00 > RDX: 000000004321fedc RSI: 0000000028121969 RDI: fffffffffee1de= ad > RBP: 0000000000000003 R8: 0000000000000000 R9: ff000000000000= 00 > R10: 00007fff4ad711e0 R11: 0000000000000202 R12: 00000000000000= 00 > R13: 00007fff4ad71690 R14: 0000000000000003 R15: 00000000000000= 02 > ORIG_RAX: 00000000000000a9 CS: 0033 SS: 002b >=20 >=20 >=20 > struct irq_desc { > irq =3D 11, > timer_rand_state =3D 0x0, > kstat_irqs =3D 0xffff88007f80d598, > handle_irq =3D 0xffffffff8107bc10 , > chip =3D 0xffffffff81825e40, > msi_desc =3D 0x0, > handler_data =3D 0x0, > chip_data =3D 0xffffffff817bd4f0, > action =3D 0xffff88007efda340, > status =3D 8406528, > depth =3D 1, > wake_depth =3D 0, > irq_count =3D 0, > last_unhandled =3D 4294908888, > irqs_unhandled =3D 0, > lock =3D { > raw_lock =3D { > { > head_tail =3D 2532349678, > tickets =3D { > head =3D 38638, > tail =3D 38640 > } > } > } > }, > affinity =3D {{ > bits =3D {3, 0} > }}, > node =3D 0, > pending_mask =3D {{ > bits =3D {0, 0} > }}, > threads_active =3D { > counter =3D 0 > }, > wait_for_threads =3D { > lock =3D { > raw_lock =3D { > { > head_tail =3D 0, > tickets =3D { > head =3D 0, > tail =3D 0 > } > } > } > }, > task_list =3D { > next =3D 0xffffffff817b8ae0, > prev =3D 0xffffffff817b8ae0 > } > }, > dir =3D 0xffff88007f0045c0, > name =3D 0xffffffff8171cd20 "fasteoi" > } >=20 >=20 >=20 > thanks > yili