[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-08-29 Thread shane
I've hit this bug as well, OpenStack Nova Compute
2:12.0.4-0ubuntu1~cloud1, KVM 1:2.3+dfsg-5ubuntu9.4~cloud1.  Hypervisor
is running Ubuntu 14.04.4 with CPU flags:

flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good
nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64
monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1
sse4_2 x2apic movbe popcnt tsc_deadline_timer xsave avx f16c rdrand
lahf_lm abm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms
invpcid

(NOTE "avx2")

CPU model is Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz

Guest running Ubuntu Xenial (16.04.1) - started up with the following
arguments (note again "avx2"):


libvirt+  7221 1  5 14:22 ?00:01:14 qemu-system-x86_64 -enable-kvm 
-name instance-0002 -S -machine pc-i440fx-vivid,accel=kvm,usb=off -cpu 
Nehalem,+invpcid,+erms,+bmi2,+smep,+avx2,+bmi1,+fsgsbase,+abm,+rdtscp,+pdpe1gb,+rdrand,+f16c,+avx,+osxsave,+xsave,+tsc-deadline,+movbe,+x2apic,+dca,+pcid,+pdcm,+xtpr,+fma,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pclmuldq,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme
 -m 2048 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 
d1d07811-e82c-4fc0-9df0-31b7992b098b -smbios type=1,manufacturer=OpenStack 
Foundation,product=OpenStack 
Nova,version=12.0.4,serial=----0cc47a4e5b5a,uuid=d1d07811-e82c-4fc0-9df0-31b7992b098b,family=Virtual
 Machine -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-0002.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew 
-global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on 
-d
 evice piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive 
file=/dev/disk/by-path/ip-10.101.104.1:3260-iscsi-iqn.2010-10.org.openstack:volume-7ad6788f-fdb0-4e50-a470-525bf36a8f1e-lun-1,if=none,id=drive-virtio-disk0,format=raw,serial=7ad6788f-fdb0-4e50-a470-525bf36a8f1e,cache=none
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:d5:97:04,bus=pci.0,addr=0x3 
-chardev 
file,id=charserial0,path=/home/zerostack/data/openstack/nova/instances/d1d07811-e82c-4fc0-9df0-31b7992b098b/console.log
 -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 
-device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 
-vnc 0.0.0.0:1 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on 


Symptom:  VM Crashes on boot up with similar stack trace as documented here.

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-05-31 Thread Chris J Arges
** Changed in: linux (Ubuntu)
 Assignee: Chris J Arges (arges) => (unassigned)

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 
1000
  [  522.963785] R13: 880043a42000 R14: 880043a43000 R15: 
0012
  [  522.963789] FS:  

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-05-27 Thread Dmitry Sutyagin
Hit this issue when booting Ubuntu Trusty VM on an Ubuntu host, worked
around via editing VM XML by adding this in  section:



This + destroy->start the VM and it booted fine.

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 
1000
  [  

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-05-09 Thread Blake Rouse
Just hit this same issue with nova-compute on Xenial and creating a
Xenial instance in nova. I worked around the issue with:

juju set-config nova-compute cpu-mode=host-passthrough

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 
1000
  [  

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-02-26 Thread Dr. Jens Rosenboom
I am seeing the same issue on some of my OpenStack compute nodes,
interestingly those which seem to have a newer CPU than others.

Affected CPU: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
Mapped in guest to: Intel Core i7 9xx (Nehalem Class Core i7)

Unaffected Host CPU: Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
Mapped in guest to: Intel Xeon E312xx (Sandy Bridge)

Booting a Xenial guest on the affected host crashes during boot, see
http://paste.ubuntu.com/15204908/. A Wily guest runs fine at first, but
generates a similar traceback as soon as I modprobe raid6_pq.

Both hosts are running nova-compute from Wily. Please let me know if you
need any further details.

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-02-02 Thread Joseph Salisbury
** Tags removed: kernel-key
** Tags added: kernel-da-key

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 
1000
  [  522.963785] R13: 880043a42000 R14: 880043a43000 R15: 
0012
  [  522.963789] FS:  7fa330823740() 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-01-17 Thread Mathew Hodson
** No longer affects: kvm (Ubuntu)

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 
1000
  [  522.963785] R13: 880043a42000 R14: 880043a43000 R15: 
0012
  [  522.963789] FS:  7fa330823740() 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-01-06 Thread William Grant
One could argue that libvirt should exclude x2apic from the host-model
checks, as it's emulated by qemu whether or not the host supports it.

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 
1000
  

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-01-05 Thread William Grant
If you need avx2 support, --cpu Haswell-noTSX,-x2apic works on Haswell
desktop/laptop chips.

The most confusing problem is that qemu's definition of "Haswell" is
actually Haswell-E, -EP and -EX; Haswell itself lacks x2apic, which
qemu's Haswell requires. x2apic dates back to Nehalem, but qemu's CPU
definitions only include it back to Sandy Bridge, so a standard desktop
or laptop Haswell CPU falls all the back to Westmere and then adds flags
including avx, avx2 and xsave on top of that[0].

Advertising support for AVX and AVX2 is just a matter of setting
CPUID.1:ECX.AVX and CPUID.7:EBX.AVX2, but the instructions won't
actually work unless XCR0.AVX is set, and kvm_load_guest_xcr0 only sets
XCR0 from the guest if the guest's XR4.OSXSAVE is set. The guest's
fpu__init_cpu_xstate only sets CR4.OSXSAVE when xfeatures_mask is non-
zero, and xfeatures_mask is calculated by fpu__init_system_xstate from
CPUID.(EAX=0DH,ECX=0), which doesn't exist on qemu's Westmere
(level=0xb), so XCR0.AVX remains unset and AVX2 instructions #UD.

The bug is probably that raid6_have_avx2 only checks that AVX2 is
supported in CPUID, not that it's enabled. Checking for
X86_FEATURE_OSXSAVE might work, though I'm not sure if the value checked
by boot_cpu_has is stored too early for that.

I am also a little suspicious of kvm_load_guest_xcr0's CR4.OSXSAVE
guard. The Intel manuals state that XSAVE, XSRSTOR, XGETBV and XSETBV
require the flag to be set, but KVM won't restore a guest's existing
XCR0 unless OSXSAVE is still set.


[0] "-cpu 
Westmere,+invpcid,+erms,+bmi2,+smep,+avx2,+bmi1,+fsgsbase,+abm,+rdtscp,+pdpe1gb,+rdrand,+f16c,+avx,+osxsave,+xsave,+tsc-deadline,+movbe,+pcid,+pdcm,+xtpr,+fma,+tm2,+est,+vmx,+ds_cpl,+monitor,+dtes64,+pclmuldq,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme"

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2016-01-03 Thread Serge Victor
The bug persists in kernel 4.3.0-2-generic #11-Ubuntu.

@Mike - thanks for a workaround, it works, indeed :-)

--cpu=host-model-only

for virt-manager.

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2015-12-16 Thread Serge Victor
To be honest, it's pretty annoying bug, as I am not able to install any
xenial VM :-(

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 
1000
  [  522.963785] R13: 880043a42000 R14: 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2015-12-16 Thread Mike Pontillo
@Serge, A workaround for me is to use "hypervisor default" in  virt-
manager. I'm not sure what the equivalent is in virt-install, but maybe
using --cpu=host-model-only would be a workaround?

>From the man page:

   Expose the host CPUs configuration to the guest. This enables 
the guest to take advantage of many
   of the host CPUs features (better performance), but may cause 
issues if migrating the guest to a
   host without an identical CPU.

   --cpu host-model-only
   Expose the nearest host CPU model configuration to the guest.  
It is the best CPU which can be
   used for a guest on any of the hosts.

   Use --cpu=? to see a list of all available sub options. Complete 
details at
   

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2015-12-09 Thread Andy Whitcroft
** Summary changed:

- [trusty] 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing 
grub devices (was: Xenial KVM: updating Trusty guest from 3.13.0-68 to 
3.13.0-71 causes kernel exception)
+ [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in 
raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: 
updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel exception]

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2015-12-09 Thread Chris J Arges
Ok I attempted to reproduce without success. What I tried:
- Xenial on Xenial on machine/guest with avx2
- Trusty 3.13.0-{68,71} on Xenial on machine/guest with avx2

In both of these instances I modprobed raid6_pq, in the trusty instance
I triggered an upgrade from 68 to 71 and neither of these caused a
segfault.

The following information would be useful in debugging this:

1) The differences between the guests /proc/cpuinfo with it reproducing and 
not-reproducing. This can verify the avx2 bit is to blame.
2) Can you simply 'sudo modprobe -r raid6_pq && sudo modprobe raid6_pq' to 
trigger this issue?
3) Can you test with a xenial guest and a similar configuration to see if this 
still triggers the issue?
4) If you have the ability testing with different versions of hypervisor 
(trusty vs xenial) might also be useful.

Thanks,
--chris j arges

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Chris J Arges (arges)

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2015-12-09 Thread Mike Pontillo
On my Trusty VM with "[x] Copy host CPU configuration" checked in virt-
manager, running 'sudo modprobe -r raid6_pq && sudo modprobe raid6_pq'
is enough to reproduce the kernel exception in dmesg (though I didn't
see it print "Segmentation Fault", so that may be somewhat of a red
herring).

Here's /proc/cpuinfo on the guest:
http://paste.ubuntu.com/13868715/

And here's /proc/cpuinfo on the hypervisor host:
http://paste.ubuntu.com/13868744/

I have a separate issue (which I have not filed, because I haven't
triaged, and am not sure I can reproduce yet) that was blocking me from
creating a Xenial guest, but I can try again shortly.

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2015-12-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: kvm (Ubuntu)
   Status: New => Confirmed

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014
  [  522.963755] task: 880059363000 ti: 88005dec6000 task.ti: 
88005dec6000
  [  522.963759] RIP: 0010:[]  [] 
raid6_avx21_gen_syndrome+0x4a/0x160 [raid6_pq]
  [  522.963767] RSP: 0018:88005dec7c40  EFLAGS: 00010246
  [  522.963771] RAX:  RBX: 88005dec7c88 RCX: 
880059363000
  [  522.963774] RDX:  RSI: 0080 RDI: 
0012
  [  522.963778] RBP: 88005dec7c70 R08: 0086 R09: 
025f
  [  522.963781] R10:  R11: 88005dec79ae R12: 
1000
  [  

[Kernel-packages] [Bug 1524069] Re: [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial KVM: updating Trusty guest from 3.13.0-68 t

2015-12-09 Thread Serge Victor
It affects me, trying to bootstrap xenial vm on xenial, getting OOPS
like above.

# virt-install --name $SHORT \
--ram $MEM \
--vcpus $CPUS \

--location=http://hk.archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/
 \
--os-type=linux --os-variant=virtio26 \
--bridge=siec,model=virtio,mac=$MAC \
--disk path=$DISK \
--cpuset=0,1,2 --cpu=host \
--autostart --nographics \
--extra-args="auto=true priority=critical locale=pl_PL keymap=pl 
debian-installer/allow_unauthenticated_ssl=true console-setup/ask_detect=false 
netcfg/hostname=$HOST url=https://domain.com/ubuntu.pre4seed.cfg console=tty0 
console=ttyS0,115200n8 serial"

-- 
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/1524069

Title:
  [Xenial] KVM trusty guest 3.13.0-68 raid6-pq panic in
  raid6_avx21_gen_syndrome() while probing grub devices [was: Xenial
  KVM: updating Trusty guest from 3.13.0-68 to 3.13.0-71 causes kernel
  exception]

Status in kvm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The symptom I saw was this (note the segfault, and apt-get upgrade
  hangs after this):

  Setting up linux-image-3.13.0-71-generic (3.13.0-71.114) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic
  Segmentation fault
  done
  Setting up linux-firmware (1.127.19) ...
  Setting up linux-image-extra-3.13.0-71-generic (3.13.0-71.114) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
3.13.0-71-generic /boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  update-initramfs: Generating /boot/initrd.img-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-71-generic 
/boot/vmlinuz-3.13.0-71-generic
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is 
set is no longer supported.
  Found linux image: /boot/vmlinuz-3.13.0-71-generic
  Found initrd image: /boot/initrd.img-3.13.0-71-generic
  Found linux image: /boot/vmlinuz-3.13.0-68-generic
  Found initrd image: /boot/initrd.img-3.13.0-68-generic

  In dmesg, I saw a corresponding kernel stack trace:

  [  522.649091] SGI XFS with ACLs, security attributes, realtime, large 
block/inode numbers, no debug enabled
  [  522.654031] JFS: nTxBlock = 8192, nTxLock = 65536
  [  522.660515] NTFS driver 2.1.30 [Flags: R/O MODULE].
  [  522.672519] QNX4 filesystem 0.2.3 registered.
  [  522.677257] xor: measuring software checksum speed
  [  522.715613]prefetch64-sse: 17306.000 MB/sec
  [  522.755589]generic_sse: 16039.000 MB/sec
  [  522.755590] xor: using function: prefetch64-sse (17306.000 MB/sec)
  [  522.823619] raid6: sse2x1   10481 MB/s
  [  522.891614] raid6: sse2x2   13303 MB/s
  [  522.959616] raid6: sse2x4   15209 MB/s
  [  522.963634] invalid opcode:  [#1] SMP 
  [  522.963645] Modules linked in: raid6_pq(+) xor ufs qnx4 hfsplus hfs minix 
ntfs msdos jfs xfs libcrc32c ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT 
xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables 
iptable_filter ip_tables ebtable_nat ebtables x_tables snd_hda_intel 
snd_hda_codec snd_hwdep qxl snd_pcm kvm_intel ttm snd_page_alloc kvm 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper snd_timer 
aesni_intel snd aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd drm 
soundcore lp parport serio_raw i2c_piix4 mac_hid pata_acpi floppy psmouse
  [  522.963746] CPU: 2 PID: 11288 Comm: modprobe Not tainted 3.13.0-68-generic 
#111-Ubuntu
  [  522.963751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Ubuntu-1.8.2-1ubuntu1 04/01/2014