Skip to contentSkip to conversation

New: Panic: Unable to handle kernel paging request

Bug 29382 [email protected] 1 participant 12 messages Feb 18, 2011 – May 12, 2012 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=29382

Summary: Panic: Unable to handle kernel paging request
Product: Virtualization
Version: unspecified
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: kvm
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

Created an attachment (id=48302)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48302)
screeb dump

ello,

I have an kvm host which kernel panic frequently.

extract from lshw
product: PowerEdge M610
vendor: Dell Inc.
version: PowerEdge M1000e
product: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz

# uname -a
Linux hkvm-cap-2 2.6.35.7 #1 SMP Mon Oct 25 15:28:33 UTC 2010 x86_64
GNU/Linux
# kvm  --version
QEMU emulator version 0.13.0 (qemu-kvm-0.13.0), Copyright (c) 2003-2008
Fabrice Bellard
# dpkg -l|grep -e libvirt
ii  libvirt-bin                         0.8.7-1+sj1                 the
programs for the libvirt library
ii  libvirt0                            0.8.7-1+sj1
library for interfacing with different virtualization systems
ii  python-libvirt                      0.8.7-1+sj1
libvirt Python bindings

I've take some screenshot from idrac about kernel panic trace. Do you have preconisation about this?

Regards,

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

https://bugzilla.kernel.org/show_bug.cgi?id=29382

--- Comment #1 from Seb Lu <[email protected]> 2011-02-18 14:59:41 --- Created an attachment (id=48312)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48312)
screeb dump

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

--- Comment #2 from Seb Lu <[email protected]> 2011-02-18 15:00:10 --- Created an attachment (id=48322)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48322)
screen dump

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

--- Comment #3 from Seb Lu <[email protected]> 2011-02-18 15:00:46 --- Created an attachment (id=48332)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48332)
screen dump

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#5 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

--- Comment #5 from Seb Lu <[email protected]> 2011-02-19 11:17:26 --- Created an attachment (id=48412)
--> (https://bugzilla.kernel.org/attachment.cgi?id=48412)
crash 19/02/2011

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#6 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

Avi Kivity <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Avi Kivity <[email protected]> 2011-02-20 10:48:03 --- What is your qemu command line?

The crash is in

int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level)

{
    struct kvm_kernel_irq_routing_entry *e, irq_set[KVM_NR_IRQCHIPS];
    int ret = -1, i = 0;
    struct kvm_irq_routing_table *irq_rt;
    struct hlist_node *n;

    trace_kvm_set_irq(irq, level, irq_source_id);

    /* Not possible to detect if the guest uses the PIC or the
     * IOAPIC.  So set the bit in both. The guest will ignore
     * writes to the unused one.
     */
    rcu_read_lock();
    irq_rt = rcu_dereference(kvm->irq_routing);
    if (irq < irq_rt->nr_rt_entries)

^^^ here

        hlist_for_each_entry(e, n, &irq_rt->map[irq], link)
            irq_set[i++] = *e;
    rcu_read_unlock();

Looks like kvm->irq_routing is corrupted (but not NULL).

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#7 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

Jean-Philippe Menil <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |jean-philippe.menil@univ-na
                   |                            |ntes.fr

--- Comment #7 from Jean-Philippe Menil <[email protected]> 2011-03-01 20:21:40 --- Hi,

sorry to interfer, but i have similar issue:
http://www.mail-archive.com/[email protected]/msg50199.html

This happen only when vhost_net is charged and guest are run with vhost=on.

You can find some markup_oops result in the thread.

Regards.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#8 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

--- Comment #8 from Seb Lu <[email protected]> 2011-03-29 10:32:23 ---

Quoted 12 lines · On Sun, Feb 20, 2011 at 11:48 AM, <[email protected]> wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=29382

Avi Kivity <[email protected]> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
                CC|                            |[email protected]

Quoted 3 lines

--- Comment #6 from Avi Kivity <[email protected]>  2011-02-20 10:48:03 --- What is your qemu command line?

I start kvm with libvirt.

# cat /proc/1804/cmdline
/usr/bin/kvm-S-Mpc-0.12-enable-kvm-m2047-smp2,sockets=2,cores=1,threads=1-nameslproxy-b1-uuid88aafa5a-928e-6b04-20db-24e59fbaebed-nodefconfig-nodefaults-chardevsocket,id=monitor,path=/var/lib/libvirt/qemu/slproxy-b1.monitor,server,nowait-monchardev=monitor,mode=readline-rtcbase=utc-bootc-drivefile=/dev/vg/slproxy-b1,if=none,id=drive-virtio-disk0,boot=on,format=raw-devicevirtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0-devicevirtio-net-pci,vlan=0,id=net0,mac=52:54:00:96:e3:1f,bus=pci.0,addr=0x3-nettap,fd=37,vlan=0,name=hostnet0-devicevirtio-net-pci,vlan=1,id=net1,mac=52:54:00:3b:70:78,bus=pci.0,addr=0x4-nettap,fd=39,vlan=1,name=hostnet1-usb-deviceusb-tablet,id=input0-vnc0.0.0.0:0,password-kfr-vgacirrus-devicevirtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#9 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

--- Comment #9 from Seb Lu <[email protected]> 2011-04-06 14:57:15 --- do you need more information?

I currently run test with 2.6.37 and 2.6.38, i don't see this problem again.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#10 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |CODE_FIX
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#11 lore raw

[Bug 29382] Panic: Unable to handle kernel paging request

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=29382

Alan <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.