← Back to team overview

kernel-packages team mailing list archive

[Bug 1388329] Re: Using LVM as storage pool for libvirt causes kernel panic's

 

I'm wondering if the kernel panic's aren't from the use of LVM but might
be from GPU pass through and the vdio module. I wasn't able to get that
to work in Trusty.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1388329

Title:
  Using LVM as storage pool for libvirt causes kernel panic's

Status in libvirt package in Ubuntu:
  Incomplete
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  When operating in a VM through virtual machine manager I get some random kernel panics in the host related tot libvirt.
  After the panic whole libvirt hangs. This usually  happens when trying to shutdown the VM, but also during normal use. Attached to this bug report is the dmesg output. 

  [ 1805.098453] virbr0: port 1(vnet0) entered disabled state
  [ 1805.099042] device vnet0 left promiscuous mode
  [ 1805.099054] virbr0: port 1(vnet0) entered disabled state
  [ 1805.827706] audit: type=1400 audit(1414827748.381:39): apparmor="STATUS" operation="profile_remove" profile="unconfined" name="libvirt-147c7c68-d1d6-4dd0-8753-f13473e3396d" pid=8452 comm="apparmor_parser"
  [ 1805.829964] general protection fault: 0000 [#1] SMP 
  [ 1805.829967] Modules linked in: xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc vhost_net vhost macvtap macvlan rfcomm bnep binfmt_misc joydev hid_generic btusb bluetooth usbhid hid 6lowpan_iphc btrfs xor kvm_amd snd_seq_midi snd_seq_midi_event kvm snd_hda_codec_via crct10dif_pclmul snd_hda_codec_generic snd_rawmidi crc32_pclmul snd_hda_codec_hdmi ghash_clmulni_intel snd_hda_intel snd_seq snd_hda_controller snd_hda_codec aesni_intel uas snd_hwdep aes_x86_64 snd_pcm lrw gf128mul glue_helper ablk_helper snd_seq_device psmouse usb_storage cryptd sp5100_tco nvidia(POE) serio_raw edac_core i2c_piix4 edac_mce_amd snd_timer k10temp fam15h_power r8169 tpm_infineon
  [ 1805.830000]  snd mii drm soundcore mac_hid shpchp vfio_iommu_type1 vfio_pci vfio it87 hwmon_vid raid6_pq nls_iso8859_1 ahci libahci
  [ 1805.830009] CPU: 0 PID: 1602 Comm: libvirtd Tainted: P           OE 3.16.0-24-generic #32-Ubuntu
  [ 1805.830011] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./970A-UD3P, BIOS F1 08/06/2013
  [ 1805.830013] task: ffff88044690b2f0 ti: ffff880445dec000 task.ti: ffff880445dec000
  [ 1805.830014] RIP: 0010:[<ffffffff814d88cf>]  [<ffffffff814d88cf>] __rpm_callback+0x2f/0xe0
  [ 1805.830019] RSP: 0018:ffff880445defd80  EFLAGS: 00010212
  [ 1805.830020] RAX: 0000000000000008 RBX: ffff880447c2f098 RCX: 0000000000000000
  [ 1805.830021] RDX: ffff8803d8a15368 RSI: ffff880447c2f098 RDI: ffff880447c2f098
  [ 1805.830023] RBP: ffff880445defd98 R08: 0000000023670101 R09: 0000000000000246
  [ 1805.830024] R10: ffffffffc028b148 R11: ffff880423670100 R12: 0016000000600460
  [ 1805.830025] R13: ffff880447c2f148 R14: 0000000000000000 R15: fffffffffffffff2
  [ 1805.830027] FS:  00007f4c8eeb7700(0000) GS:ffff88045ec00000(0000) knlGS:0000000000000000
  [ 1805.830028] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  [ 1805.830029] CR2: 00007f4c801cc3d0 CR3: 0000000445df3000 CR4: 00000000000407f0
  [ 1805.830030] Stack:
  [ 1805.830031]  0000000000000004 ffff880447c2f098 0000000000000004 ffff880445defdc8
  [ 1805.830034]  ffffffff814d9c6d 0000000000000004 ffff880447c2f098 ffff880447c2f148
  [ 1805.830036]  0000000000000246 ffff880445defdf8 ffffffff814d9dbd ffff880447c2f098
  [ 1805.830038] Call Trace:
  [ 1805.830041]  [<ffffffff814d9c6d>] rpm_idle+0x1bd/0x2b0
  [ 1805.830044]  [<ffffffff814d9dbd>] __pm_runtime_idle+0x5d/0x80
  [ 1805.830048]  [<ffffffff813e36d4>] pci_device_remove+0x74/0xc0
  [ 1805.830052]  [<ffffffff814cf76f>] __device_release_driver+0x7f/0xf0
  [ 1805.830055]  [<ffffffff814cf803>] device_release_driver+0x23/0x30
  [ 1805.830058]  [<ffffffff814ceb5d>] unbind_store+0xed/0x150
  [ 1805.830061]  [<ffffffff814cd915>] drv_attr_store+0x25/0x40
  [ 1805.830064]  [<ffffffff81258eea>] sysfs_kf_write+0x3a/0x50
  [ 1805.830066]  [<ffffffff8125808e>] kernfs_fop_write+0xee/0x180
  [ 1805.830069]  [<ffffffff811e0c17>] vfs_write+0xb7/0x1f0
  [ 1805.830071]  [<ffffffff811dfd89>] ? do_sys_open+0x1b9/0x280
  [ 1805.830074]  [<ffffffff811e17c6>] SyS_write+0x46/0xb0
  [ 1805.830087]  [<ffffffff81787ced>] system_call_fastpath+0x1a/0x1f
  [ 1805.830088] Code: 90 55 48 89 e5 41 55 41 54 53 f6 86 91 01 00 00 02 49 89 fc 48 89 f3 4c 8d ae b0 00 00 00 74 2c 4c 89 ef e8 34 ef 2a 00 48 89 df <41> ff d4 f6 83 91 01 00 00 02 41 89 c4 4c 89 ef 75 77 e8 5a ea 
  [ 1805.830111] RIP  [<ffffffff814d88cf>] __rpm_callback+0x2f/0xe0
  [ 1805.830113]  RSP <ffff880445defd80>
  [ 1805.830115] ---[ end trace 1759db886910146f ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: libvirt-bin 1.2.8-0ubuntu11
  ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
  Uname: Linux 3.16.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat Nov  1 08:45:18 2014
  SourcePackage: libvirt
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: [modified]
  modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu.conf']
  mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2014-06-05T20:10:02.637036
  --- 
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  mard0      2212 F.... pulseaudio
   /dev/snd/controlC0:  mard0      2212 F.... pulseaudio
   /dev/snd/controlC2:  mard0      2212 F.... pulseaudio
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 14.10
  IwConfig:
   virbr0    no wireless extensions.
   
   eth3      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
  NonfreeKernelModules: nvidia_uvm nvidia
  Package: linux (not installed)
  ProcCmdline: root=UUID=dcbc226d-e5a4-4d61-a299-07bc3641b0f4 ro quiet iommu=pt iommu=1  rootfstype=ext4 add_efi_memmap initrd=\EFI\ubuntu\initrd.img
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: root=UUID=dcbc226d-e5a4-4d61-a299-07bc3641b0f4 ro quiet iommu=pt iommu=1  rootfstype=ext4 add_efi_memmap initrd=\EFI\ubuntu\initrd.img
  ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-24-generic N/A
   linux-backports-modules-3.16.0-24-generic  N/A
   linux-firmware                             1.138
  RfKill:
   0: hci0: Bluetooth
   	Soft blocked: no
   	Hard blocked: no
  Tags:  utopic utopic
  Uname: Linux 3.16.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: daemon kvm libvirtd lp lpadmin plugdev saned video
  WifiSyslog:
   
  _MarkForUpload: True
  dmi.bios.date: 08/06/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F1
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: 970A-UD3P
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF1:bd08/06/2013:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rn970A-UD3P:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
  modified.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: [modified]
  modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission denied: u'/etc/libvirt/qemu.conf']
  mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2014-06-05T20:10:02.637036
  --- 
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  mard0      2212 F.... pulseaudio
   /dev/snd/controlC0:  mard0      2212 F.... pulseaudio
   /dev/snd/controlC2:  mard0      2212 F.... pulseaudio
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 14.10
  IwConfig:
   virbr0    no wireless extensions.
   
   eth3      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
  NonfreeKernelModules: nvidia_uvm nvidia
  Package: linux (not installed)
  ProcCmdline: root=UUID=dcbc226d-e5a4-4d61-a299-07bc3641b0f4 ro quiet iommu=pt iommu=1  rootfstype=ext4 add_efi_memmap initrd=\EFI\ubuntu\initrd.img
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: root=UUID=dcbc226d-e5a4-4d61-a299-07bc3641b0f4 ro quiet iommu=pt iommu=1  rootfstype=ext4 add_efi_memmap initrd=\EFI\ubuntu\initrd.img
  ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
  RelatedPackageVersions:
   linux-restricted-modules-3.16.0-24-generic N/A
   linux-backports-modules-3.16.0-24-generic  N/A
   linux-firmware                             1.138
  RfKill:
   0: hci0: Bluetooth
   	Soft blocked: no
   	Hard blocked: no
  Tags:  utopic utopic
  Uname: Linux 3.16.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: daemon kvm libvirtd lp lpadmin plugdev saned video
  WifiSyslog:
   
  _MarkForUpload: True
  dmi.bios.date: 08/06/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F1
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: 970A-UD3P
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF1:bd08/06/2013:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rn970A-UD3P:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To be filled by O.E.M.
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.
  modified.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: [modified]
  modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission denied: u'/etc/libvirt/qemu.conf']
  mtime.conffile..etc.apparmor.d.usr.lib.libvirt.virt.aa.helper: 2014-06-05T20:10:02.637036

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1388329/+subscriptions