[Ubuntu16.10]KV4.8: OOPs while updating initramfs

Bug #1627984 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Critical
Canonical Kernel Team

Bug Description

== Comment: #0 - NAGESWARA R. SASTRY <email address hidden> - 2016-09-22 06:40:59 ==
---Problem Description---
Try installing btrfs-progs using 'apt install -y btrfs-progs'
At the time of updating initramfs seeing a 'segfault' and kernel OOPs

Contact Information = <email address hidden>

---uname output---
Linux pkvmhab010 4.8.0-11-generic #12-Ubuntu SMP Sat Sep 17 19:58:16 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = 8348-21C

---Debugger---
A debugger is not configured

---Steps to Reproduce---
 # apt install -y btrfs-progs/yakkety
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '4.7-1' (Ubuntu:16.10/yakkety [ppc64el]) for 'btrfs-progs'
The following package was automatically installed and is no longer required:
  libprotobuf-lite9v5
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  liblzo2-2
The following NEW packages will be installed:
  btrfs-progs liblzo2-2
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 629 kB of archives.
After this operation, 5,987 kB of additional disk space will be used.
Get:1 http://us.ports.ubuntu.com/ubuntu-ports yakkety/main ppc64el liblzo2-2 ppc64el 2.08-1.2 [67.2 kB]
Get:2 http://us.ports.ubuntu.com/ubuntu-ports yakkety/main ppc64el btrfs-progs ppc64el 4.7-1 [562 kB]
Fetched 629 kB in 0s (2,416 kB/s)
Selecting previously unselected package liblzo2-2:ppc64el.
(Reading database ... 129624 files and directories currently installed.)
Preparing to unpack .../0-liblzo2-2_2.08-1.2_ppc64el.deb ...
Unpacking liblzo2-2:ppc64el (2.08-1.2) ...
Selecting previously unselected package btrfs-progs.
Preparing to unpack .../1-btrfs-progs_4.7-1_ppc64el.deb ...
Unpacking btrfs-progs (4.7-1) ...
Processing triggers for initramfs-tools (0.125ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-4.8.0-11-generic
Segmentation fault

Oops output:
 [ 643.673740] Unable to handle kernel paging request for data at address 0x00000020
[ 643.674688] Faulting instruction address: 0xc000000000185040
[ 643.675418] Oops: Kernel access of bad area, sig: 11 [#1]
[ 643.676115] SMP NR_CPUS=2048 NUMA PowerNV
[ 643.676650] Modules linked in: xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp tun bridge stp llc kvm_hv kvm_pr kvm ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter evdev joydev at24 ghash_generic gf128mul vmx_crypto nvmem_core sg powernv_rng rng_core ip_tables x_tables autofs4 ext4 crc16 jbd2 fscrypto mbcache dm_mod sr_mod cdrom ses enclosure scsi_transport_sas sd_mod hid_generic usbhid hid uas usb_storage xhci_pci bnx2x ast xhci_hcd i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgblt usbcore fb_sys_fops drm tg3 aacraid ptp libphy pps_core ahci mdio usb_common libcrc32c libahci crc32c_generic crc32c_vpmsum
[ 643.686164] CPU: 1 PID: 7267 Comm: grep Not tainted 4.8.0-11-generic #12-Ubuntu
[ 643.687101] task: c000003c7edfd200 task.stack: c000003c82b08000
[ 643.687878] NIP: c000000000185040 LR: c000000000185054 CTR: c0000000004fd390
[ 643.688873] REGS: c000003c82b0b940 TRAP: 0300 Not tainted (4.8.0-11-generic)
[ 643.689851] MSR: 9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE> CR: 88044828 XER: 20000000
[ 643.691001] CFAR: c0000000000087d0 DAR: 0000000000000020 DSISR: 40000000 SOFTE: 1
               GPR00: c000000000185054 c000003c82b0bbc0 c000000000f46700 0000000000000710
               GPR04: 0000000000010000 0000000000000001 ffff0a00ffffff04 d00000001d520723
               GPR08: c0000000004f6700 0000000000000704 c0000000004fd164 0000000000000001
               GPR12: 0000000028044828 c00000000fb80900 00000000289a0010 000000000000000a
               GPR16: ffffffffffffffff 0000000000000000 00000000289a0110 0000000000000000
               GPR20: 000001003d980000 0000000000010000 c000003c7bf63240 c000000002e8bb00
               GPR24: fffffffffffff000 c000003c82b0be00 c000003c82b0bc88 c0000000009a0d50
               GPR28: d00000001d432308 d00000001d432610 c000003c7bf63200 0000000000000000
[ 643.699385] NIP [c000000000185040] m_show+0xb0/0x260
[ 643.703211] LR [c000000000185054] m_show+0xc4/0x260
[ 643.721108] Call Trace:
[ 643.730239] [c000003c82b0bbc0] [c000000000185054] m_show+0xc4/0x260 (unreliable)
[ 643.756587] [c000003c82b0bc60] [c00000000034521c] seq_read+0x43c/0x550
[ 643.787204] [c000003c82b0bd00] [c0000000003a9ba0] proc_reg_read+0xb0/0x110
[ 643.804558] [c000003c82b0bd50] [c00000000030c03c] __vfs_read+0x6c/0xe0
[ 643.823169] [c000003c82b0bd90] [c00000000030d5bc] vfs_read+0xbc/0x1b0
[ 643.858380] [c000003c82b0bde0] [c00000000030f38c] SyS_read+0x6c/0x110
[ 643.893880] [c000003c82b0be30] [c0000000000095e0] system_call+0x38/0x108
[ 643.916214] Instruction dump:
[ 643.936521] 3884a648 7fc3f378 481c0961 60000000 ebfd0309 7fbdf840 419e0164 3f62ffa6
[ 643.988350] 3b7ba650 60000000 60000000 60420000 <e8bf0020> 7f64db78 7fc3f378 38a50018
[ 644.040907] ---[ end trace e452dce365a89415 ]---

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-146640 severity-high targetmilestone-inin1610
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Could you try upgrading to the newer 4.8.0-17.19 kernel that was promoted to the release pocket last night:

https://launchpad.net/ubuntu/+source/linux/4.8.0-17.19

Alternatively, you could retest with the latest image here that now contains this newer kernel as well:

http://cdimage.ubuntu.com/ubuntu-server/daily/20160927/

Please do let us know your results.

Changed in linux (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → Canonical Kernel Team (canonical-kernel-team)
importance: Undecided → Critical
status: New → Triaged
tags: added: kernel-4.8
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-09-28 00:58 EDT-------
(In reply to comment #7)
> Could you try upgrading to the newer 4.8.0-17.19 kernel that was promoted to
> the release pocket last night:
>
> https://launchpad.net/ubuntu/+source/linux/4.8.0-17.19
>

Tested with latest kernel i.e. 4.8.0-17.19, not seeing OOPs or any other error messages.

root@pkvmhab010:~# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.8.0-17-generic
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast

root@pkvmhab010:~# apt install -y btrfs-progs/yakkety
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '4.7-1' (Ubuntu:16.10/yakkety [ppc64el]) for 'btrfs-progs'
The following NEW packages will be installed:
btrfs-progs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/562 kB of archives.
After this operation, 5,656 kB of additional disk space will be used.
Selecting previously unselected package btrfs-progs.
(Reading database ... 130815 files and directories currently installed.)
Preparing to unpack .../btrfs-progs_4.7-1_ppc64el.deb ...
Unpacking btrfs-progs (4.7-1) ...
Processing triggers for initramfs-tools (0.125ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-4.8.0-17-generic
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
Processing triggers for libc-bin (2.24-0ubuntu1) ...
Setting up btrfs-progs (4.7-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for initramfs-tools (0.125ubuntu3) ...
update-initramfs: Generating /boot/initrd.img-4.8.0-17-generic
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
Processing triggers for libc-bin (2.24-0ubuntu1) ...

Revision history for this message
Andy Whitcroft (apw) wrote :

Based on this testing feedback we will close this one Fix Released. Thank you for testing.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.