[Kernel-packages] [Bug 1655842] Re: "Out of memory" errors after upgrade to 4.4.0-59

2017-02-11 Thread Serge Victor
-63 works for me as well, thank you!

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

Title:
  "Out of memory" errors after upgrade to 4.4.0-59

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  Fix Committed

Bug description:
  I recently replaced some Xenial servers, and started experiencing "Out
  of memory" problems with the default kernel.

  We bake Amazon AMIs based on an official Ubuntu-provided image (ami-
  e6b58e85, in ap-southeast-2, from https://cloud-
  images.ubuntu.com/locator/ec2/).  Previous versions of our AMI
  included "4.4.0-57-generic", but the latest version picked up
  "4.4.0-59-generic" as part of a "dist-upgrade".

  Instances booted using the new AMI have been using more memory, and
  experiencing OOM issues - sometimes during boot, and sometimes a while
  afterwards.  An example from the system log is:

  [  130.113411] cloud-init[1560]: Cloud-init v. 0.7.8 running 'modules:final' 
at Wed, 11 Jan 2017 22:07:53 +. Up 29.28 seconds.
  [  130.124219] cloud-init[1560]: Cloud-init v. 0.7.8 finished at Wed, 11 Jan 
2017 22:09:35 +. Datasource DataSourceEc2.  Up 130.09 seconds
  [29871.137128] Out of memory: Kill process 2920 (ruby) score 107 or sacrifice 
child
  [29871.140816] Killed process 2920 (ruby) total-vm:675048kB, 
anon-rss:51184kB, file-rss:2164kB
  [29871.449209] Out of memory: Kill process 3257 (splunkd) score 97 or 
sacrifice child
  [29871.453282] Killed process 3258 (splunkd) total-vm:66272kB, 
anon-rss:6676kB, file-rss:0kB
  [29871.677910] Out of memory: Kill process 2647 (fluentd) score 51 or 
sacrifice child
  [29871.681872] Killed process 2647 (fluentd) total-vm:117944kB, 
anon-rss:23956kB, file-rss:1356kB

  I have a hunch that this may be related to the fix for
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1647400,
  introduced in linux (4.4.0-58.79).

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-59-generic 4.4.0-59.80
  ProcVersionSignature: User Name 4.4.0-59.80-generic 4.4.35
  Uname: Linux 4.4.0-59-generic x86_64
  AlsaDevices:
   total 0
   crw-rw 1 root audio 116,  1 Jan 12 06:29 seq
   crw-rw 1 root audio 116, 33 Jan 12 06:29 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.1-0ubuntu2.4
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  Date: Thu Jan 12 06:38:45 2017
  Ec2AMI: ami-0f93966c
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: ap-southeast-2a
  Ec2InstanceType: t2.nano
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  MachineType: Xen HVM domU
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 cirrusdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-59-generic 
root=UUID=fb0fef08-f3c5-40bf-9776-f7ba00fe72be ro console=tty1 console=ttyS0
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-59-generic N/A
   linux-backports-modules-4.4.0-59-generic  N/A
   linux-firmware1.157.6
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/09/2016
  dmi.bios.vendor: Xen
  dmi.bios.version: 4.2.amazon
  dmi.chassis.type: 1
  dmi.chassis.vendor: Xen
  dmi.modalias: 
dmi:bvnXen:bvr4.2.amazon:bd12/09/2016:svnXen:pnHVMdomU:pvr4.2.amazon:cvnXen:ct1:cvr:
  dmi.product.name: HVM domU
  dmi.product.version: 4.2.amazon
  dmi.sys.vendor: Xen

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1545441] Re: Xenial/4.4 kernel does not honor biosdevname=0

2016-09-09 Thread Serge Victor
net.ifnames=0 biosdevname=0 works for me on xenial/amd64
4.4.0-36-generic

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

Title:
  Xenial/4.4 kernel does not honor biosdevname=0

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I installed the Xenial daily testing image dated 2-13-2016
  (ttp://cdimage.ubuntu.com/lubuntu/daily-live/20160213/xenial-
  desktop-i386.iso).

  I'm booting the kernel with the following:

  ipv6.disable=1 biosdevname=0 longhaul.enable=0 audit=0 quiet
  splash

  However, eth0 is being named enp3s0:

  $ dmesg | egrep 'r8169|net|eth'
  [0.017363] Initializing cgroup subsys net_cls
  [0.017377] Initializing cgroup subsys net_prio
  [3.150713] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
  [3.150735] r8169 :03:00.0: can't disable ASPM; OS doesn't have 
ASPM control
  [3.150765] r8169 :03:00.0: PCI: Disallowing DAC for device
  [3.151266] r8169 :03:00.0 eth0: RTL8102e at 0xf844a000, 
00:e0:4c:52:ca:07, XID 04e0 IRQ 26
  [3.263623] r8169 :03:00.0 enp3s0: renamed from eth0
  [   15.729303] r8169 :03:00.0 enp3s0: link down
  [   15.729327] r8169 :03:00.0 enp3s0: link down
  [   17.381617] r8169 :03:00.0 enp3s0: link up

  And:

  $ cat /etc/network/interfaces
  # interfaces(5) file used by ifup(8) and ifdown(8)
  auto lo
  iface lo inet loopback

  auto eth0
  iface eth0 inet dhcp

  And:

  $ ls -Al /etc/udev/rules.d/
  total 0

  The thing that looks most different (to me) is systemd.

  

  For more information on biosdevname, see "Consistent Network Device
  Naming in Linux,"
  
http://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_linux.pdf.

  

  $ uname -a
  Linux via 4.4.0-4-generic #19-Ubuntu SMP Fri Feb 5 17:38:10 UTC 2016 i686 
i686 i686 GNU/Linux

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Xenial Xerus (development branch)
  Release:  16.04
  Codename: xenial

  

  And hats of for fixing the Xserver problems with the VIA P4M900 chipset 
(http://bugs.launchpad.net/ubuntu/+bug/1540774).
  --- 
  ApportVersion: 2.19.4-0ubuntu2
  Architecture: i386
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  jwalton1598 F lxpanel
  CurrentDesktop: LXDE
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=89996fc5-18ba-4db7-b7d9-9be56ec02a13
  InstallationDate: Installed on 2016-02-14 (0 days ago)
  InstallationMedia: Lubuntu 16.04 LTS "Xenial Xerus" - Alpha i386 (20160213)
  IwConfig:
   lono wireless extensions.
   
   enp3s0no wireless extensions.
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  Package: linux (not installed)
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-4-generic 
root=UUID=edc978dd-91b1-4f90-8e6a-1e69dd73f5d8 ro ipv6.disable=1 biosdevname=0 
longhaul.enable=0 audit=0 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.4.0-4.19-generic 4.4.1
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-4-generic N/A
   linux-backports-modules-4.4.0-4-generic  N/A
   linux-firmware   1.155
  RfKill:
   
  Tags:  xenial
  Uname: Linux 4.4.0-4-generic i686
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 11/17/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 080014
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: Weibu
  dmi.board.vendor: WB
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr080014:bd11/17/2011:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnWB:rnWeibu:rvr1.0:cvnToBeFilledByO.E.M.: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: To Be Filled By O.E.M.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[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-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