Bug#861313: kernel BUG with kvm
On Sat, 2017-04-29 at 19:28 +0200, I. Schrey wrote: > Greetings, > > I'm having a similar issue on a kvm hypervisor running Debian Jessie. > > It is running a vanilla kernel though, but it started hitting > a similar BUG today, after I upgraded from 3.12 to 3.16 series. > > 3.16.42 seems to be the first affected version. > 3.16.41 is working without problems so far. > > > Also I can confirm that Debian kernel 3.16.39-1+deb8u2 works > and 3.16.43-1 does have the issue described. > > > I might try and git bisect the kernel, today or tomorrow, > unless someone else beats me to it. [...] Thanks for this information. I can reproduce the regression and am now doing the bisection. Ben. -- Ben Hutchings This sentence contradicts itself - no actually it doesn't. signature.asc Description: This is a digitally signed message part
Bug#861313: kernel BUG with kvm
Greetings, I'm having a similar issue on a kvm hypervisor running Debian Jessie. It is running a vanilla kernel though, but it started hitting a similar BUG today, after I upgraded from 3.12 to 3.16 series. 3.16.42 seems to be the first affected version. 3.16.41 is working without problems so far. Also I can confirm that Debian kernel 3.16.39-1+deb8u2 works and 3.16.43-1 does have the issue described. I might try and git bisect the kernel, today or tomorrow, unless someone else beats me to it. Side note: the same 3.16.43 vanilla kernel has been working fine on two Wheezy kvm hypervisors for more than a week now. Regards Ingmar
Bug#861313: kernel BUG with kvm
Package: linux-image-3.16.0-4-amd64 Version: 3.16.43-1 Severity: serious Hi, upgrading to 3.16.43-1 led to a "kernel BUG" after kvm virtual machines started. Downgrading to 3.16.39-1+deb8u2 fixed the issue. The "BUG" lines in short (see attached file for full log): --- Apr 27 11:11:42 audria kernel: BUG: Bad page state in process qemu-system-x86 pfn:7e4d00 Apr 27 11:11:42 audria kernel: BUG: Bad page state in process qemu-system-x86 pfn:7e4cfe Apr 27 11:11:42 audria kernel: BUG: Bad page state in process qemu-system-x86 pfn:7e4cfc Apr 27 11:11:42 audria kernel: BUG: Bad page state in process qemu-system-x86 pfn:7e4cf8 Apr 27 11:11:42 audria kernel: BUG: Bad page state in process qemu-system-x86 pfn:7e4cf0 Apr 27 11:11:42 audria kernel: BUG: Bad page state in process qemu-system-x86 pfn:7e4ce0 Apr 27 11:11:42 audria kernel: BUG: Bad page state in process qemu-system-x86 pfn:7e4cc0 Apr 27 11:11:42 audria kernel: BUG: Bad page state in process qemu-system-x86 pfn:7e4c80 Apr 27 11:11:42 audria kernel: BUG: unable to handle kernel NULL pointer dereference at 0003 Apr 27 11:11:42 audria kernel: kernel BUG at /build/linux-em8VbH/linux-3.16.43/arch/x86/kernel/traps.c:729! Apr 27 11:11:42 audria kernel: invalid opcode: [#2] SMP --- Cheers, Stefan Apr 27 11:11:40 audria kernel: [ cut here ] Apr 27 11:11:40 audria kernel: WARNING: CPU: 4 PID: 2684 at /build/linux-em8VbH/linux-3.16.43/arch/x86/kvm/mmu.c:615 mmu_spte_clear_track_bits+0x9c/0x110 [kvm]() Apr 27 11:11:40 audria kernel: Modules linked in: vhost_net vhost macvtap macvlan tun bridge stp llc ip6t_REJECT ip6table_filter ip6_tables xt_comment ipt_REJECT xt_LOG xt_limit xt_conntrack iptable_filter xt_nat xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle ip_tables x_tables zfs(PO) zunicode(PO) zcommon(PO) znvpair(PO) spl(O) zavl(PO) x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp sha256_ssse3 sha256_generic dm_crypt kvm_intel kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper eeepc_wmi asus_wmi sparse_keymap ablk_helper rfkill cryptd evdev serio_raw iTCO_wdt iTCO_vendor_support ppdev lpc_ich mfd_core tpm_infineon battery tpm_tis shpchp ie31200_edac edac_core parport_pc parport tpm video processor button wmi fuse autofs4 ext4 crc16 mbcache Apr 27 11:11:40 audria kernel: jbd2 dm_mod raid1 md_mod sg sd_mod crc_t10dif crct10dif_generic ahci crct10dif_pclmul crct10dif_common libahci crc32c_intel libata ehci_pci i2c_i801 ehci_hcd xhci_hcd r8169 i2c_core scsi_mod mii usbcore usb_common fan thermal thermal_sys Apr 27 11:11:40 audria kernel: CPU: 4 PID: 2684 Comm: qemu-system-x86 Tainted: P O 3.16.0-4-amd64 #1 Debian 3.16.43-1 Apr 27 11:11:40 audria kernel: Hardware name: System manufacturer System Product Name/P8H77-M PRO, BIOS 9002 05/30/2014 Apr 27 11:11:40 audria kernel: 81514201 0009 Apr 27 11:11:40 audria kernel: 81068877 0007e4c000f5 007e4c00 8807f420 Apr 27 11:11:40 audria kernel: 8800 0001 a03e205c 8807ebece040 Apr 27 11:11:40 audria kernel: Call Trace: Apr 27 11:11:40 audria kernel: [] ? dump_stack+0x5d/0x78 Apr 27 11:11:40 audria kernel: [] ? warn_slowpath_common+0x77/0x90 Apr 27 11:11:40 audria kernel: [] ? mmu_spte_clear_track_bits+0x9c/0x110 [kvm] Apr 27 11:11:40 audria kernel: [] ? drop_spte+0x17/0xa0 [kvm] Apr 27 11:11:40 audria kernel: [] ? drop_large_spte.isra.82+0x6c/0xa0 [kvm] Apr 27 11:11:40 audria kernel: [] ? __direct_map.isra.100+0xb8/0x230 [kvm] Apr 27 11:11:40 audria kernel: [] ? tdp_page_fault+0x1bc/0x200 [kvm] Apr 27 11:11:40 audria kernel: [] ? kvm_mmu_page_fault+0x1f/0x130 [kvm] Apr 27 11:11:40 audria kernel: [] ? vmx_handle_exit+0xb5/0xa30 [kvm_intel] Apr 27 11:11:40 audria kernel: [] ? reboot_interrupt+0x80/0x80 Apr 27 11:11:40 audria kernel: [] ? vmx_invpcid_supported+0x20/0x20 [kvm_intel] Apr 27 11:11:40 audria kernel: [] ? kvm_arch_vcpu_ioctl_run+0xc67/0x11a0 [kvm] Apr 27 11:11:40 audria kernel: [] ? get_futex_key+0x1df/0x2c0 Apr 27 11:11:40 audria kernel: [] ? futex_wake+0x6f/0x120 Apr 27 11:11:40 audria kernel: [] ? kvm_arch_vcpu_load+0x46/0x1a0 [kvm] Apr 27 11:11:40 audria kernel: [] ? kvm_vcpu_ioctl+0x2f1/0x5b0 [kvm] Apr 27 11:11:40 audria kernel: [] ? put_prev_entity+0x57/0x350 Apr 27 11:11:40 audria kernel: [] ? set_next_entity+0x56/0x70 Apr 27 11:11:40 audria kernel: [] ? do_vfs_ioctl+0x2cf/0x4b0 Apr 27 11:11:40 audria kernel: [] ? SyS_futex+0x6e/0x150 Apr 27 11:11:40 audria kernel: [] ? SyS_ioctl+0x81/0xa0 Apr 27 11:11:40 audria kernel: [] ? system_call_fast_compare_end+0x10/0x15 Apr 27 11:11:40 audria kernel: ---[ end trace f3debdcfae06e5ef ]--- Apr 27 11:11:41 audria ntpd[2346]: Listen normally on 10 vm_XX [fe80::fc54:ff:fe20:1609%5]:123 Apr 27 11:11:41 audria ntpd[2346]: Listen normally on 11