← Back to team overview

kernel-packages team mailing list archive

[Bug 1370425] Re: kernel bug seen while try to use madvise system call with MADV_HWPOISON mode

 

This bug was fixed in the package linux - 3.16.0-26.35

---------------
linux (3.16.0-26.35) utopic; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1398118

  [ Upstream Kernel Changes ]

  * Revert "drm/nouveau: punt fbcon resume out to a workqueue"
  * Revert "drm/nouveau/kms: take more care when pulling down accelerated
    fbcon"

linux (3.16.0-26.34) utopic; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1395892

  [ Chris J Arges ]

  * [Config] CONFIG_SCOM_DEBUGFS=y for powerpc/powerpc64-smp ppc64el/generic
    - LP: #1395855

  [ Tim Gardner ]

  * [Config] CONFIG_GENWQE_PLATFORM_ERROR_RECOVERY=1 for powerpc/ppc64el
    - LP: #1392021

  [ Upstream Kernel Changes ]

  * Revert "usb: dwc3: dwc3-omap: Disable/Enable only wrapper interrupts in
    prepare/complete"
    - LP: #1393401
  * Revert "iwlwifi: mvm: treat EAPOLs like mgmt frames wrt rate"
    - LP: #1393401
  * Revert "block: all blk-mq requests are tagged"
    - LP: #1393401
  * ACPI / blacklist: add Win8 OSI quirks for some Dell laptop models
    - LP: #1339456
  * PCI: Remove "no hotplug settings from platform" warning
    - LP: #1390182
  * drm/nouveau/kms: take more care when pulling down accelerated fbcon
    - LP: #1386695
  * drm/nouveau: punt fbcon resume out to a workqueue
    - LP: #1386695
  * drm/tilcdc: Fix the error path in tilcdc_load()
    - LP: #1393401
  * builddeb: put the dbg files into the correct directory
    - LP: #1393401
  * switch iov_iter_get_pages() to passing maximal number of pages
    - LP: #1393401
  * fuse: honour max_read and max_write in direct_io mode
    - LP: #1393401
  * usb: phy: return -ENODEV on failure of try_module_get
    - LP: #1393401
  * PM / clk: Fix crash in clocks management code if !CONFIG_PM_RUNTIME
    - LP: #1393401
  * rt2x00: support Ralink 5362.
    - LP: #1393401
  * wireless: rt2x00: add new rt2800usb devices
    - LP: #1393401
  * NFS: Fix /proc/fs/nfsfs/servers and /proc/fs/nfsfs/volumes
    - LP: #1393401
  * nfs: fix duplicate proc entries
    - LP: #1393401
  * ext4: check EA value offset when loading
    - LP: #1393401
  * jbd2: free bh when descriptor block checksum fails
    - LP: #1393401
  * ext4: don't check quota format when there are no quota files
    - LP: #1393401
  * target: Fix queue full status NULL pointer for SCF_TRANSPORT_TASK_SENSE
    - LP: #1393401
  * vfs: fix data corruption when blocksize < pagesize for mmaped data
    - LP: #1393401
  * ext4: fix mmap data corruption when blocksize < pagesize
    - LP: #1393401
  * ext4: grab missed write_count for EXT4_IOC_SWAP_BOOT
    - LP: #1393401
  * qla_target: don't delete changed nacls
    - LP: #1393401
  * target: Fix APTPL metadata handling for dynamic MappedLUNs
    - LP: #1393401
  * iser-target: Disable TX completion interrupt coalescing
    - LP: #1393401
  * ext4: don't orphan or truncate the boot loader inode
    - LP: #1393401
  * ext4: add ext4_iget_normal() which is to be used for dir tree lookups
    - LP: #1393401
  * ext4: fix reservation overflow in ext4_da_write_begin
    - LP: #1393401
  * ext4: Replace open coded mdata csum feature to helper function
    - LP: #1393401
  * ext4: move error report out of atomic context in
    ext4_init_block_bitmap()
    - LP: #1393401
  * ARC: [nsimosci] Allow "headless" models to boot
    - LP: #1393401
  * ARC: Update order of registers in KGDB to match GDB 7.5
    - LP: #1393401
  * ARC: unbork FPU save/restore
    - LP: #1393401
  * ext4: check s_chksum_driver when looking for bg csum presence
    - LP: #1393401
  * drm/radeon: fix speaker allocation setup
    - LP: #1393401
  * drm/radeon: use gart memory for DMA ring tests
    - LP: #1393401
  * random: add and use memzero_explicit() for clearing data
    - LP: #1393401
  * MIPS: cp1emu: Fix ISA restrictions for cop1x_op instructions
    - LP: #1393401
  * freezer: Do not freeze tasks killed by OOM killer
    - LP: #1393401
  * OOM, PM: OOM killed task shouldn't escape PM suspend
    - LP: #1393401
  * qxl: don't create too large primary surface
    - LP: #1393401
  * MIPS: loongson2_cpufreq: Fix CPU clock rate setting mismerge
    - LP: #1393401
  * MIPS: tlbex: Properly fix HUGE TLB Refill exception handler
    - LP: #1393401
  * drm/cirrus: bind also to qemu-xen-traditional
    - LP: #1393401
  * cpufreq: intel_pstate: Fix setting max_perf_pct in performance policy
    - LP: #1393401
  * cpufreq: expose scaling_cur_freq sysfs file for set_policy() drivers
    - LP: #1393401
  * cpufreq: intel_pstate: Reflect current no_turbo state correctly
    - LP: #1393401
  * intel_pstate: Don't lose sysfs settings during cpu offline
    - LP: #1393401
  * intel_pstate: Fix BYT frequency reporting
    - LP: #1393401
  * intel_pstate: Correct BYT VID values.
    - LP: #1393401
  * MIPS: ftrace: Fix a microMIPS build problem
    - LP: #1393401
  * kvm: x86: don't kill guest on unknown exit reason
    - LP: #1393401
  * kvm: fix excessive pages un-pinning in kvm_iommu_map error path.
    - LP: #1393401
  * KVM: x86: Fix far-jump to non-canonical check
    - LP: #1393401
  * init/Kconfig: Hide printk log config if CONFIG_PRINTK=n
    - LP: #1393401
  * be careful with nd->inode in path_init() and follow_dotdot_rcu()
    - LP: #1393401
  * can: flexcan: mark TX mailbox as TX_INACTIVE
    - LP: #1393401
  * can: flexcan: correctly initialize mailboxes
    - LP: #1393401
  * can: flexcan: implement workaround for errata ERR005829
    - LP: #1393401
  * can: flexcan: put TX mailbox into TX_INACTIVE mode after tx-complete
    - LP: #1393401
  * can: at91_can: add missing prepare and unprepare of the clock
    - LP: #1393401
  * virtio-rng: fix stuck of hot-unplugging busy device
    - LP: #1393401
  * virtio-rng: skip reading when we start to remove the device
    - LP: #1393401
  * pstore: Fix duplicate {console,ftrace}-efi entries
    - LP: #1393401
  * x86: bpf_jit: fix two bugs in eBPF JIT compiler
    - LP: #1393401
  * ipv4: fix nexthop attlen check in fib_nh_match
    - LP: #1393401
  * vxlan: fix a use after free in vxlan_encap_bypass
    - LP: #1393401
  * vxlan: using pskb_may_pull as early as possible
    - LP: #1393401
  * vxlan: fix a free after use
    - LP: #1393401
  * ipv4: dst_entry leak in ip_send_unicast_reply()
    - LP: #1393401
  * ipv4: fix a potential use after free in ip_tunnel_core.c
    - LP: #1393401
  * ax88179_178a: fix bonding failure
    - LP: #1393401
  * net: tso: fix unaligned access to crafted TCP header in helper API
    - LP: #1393401
  * hyperv: Fix the total_data_buflen in send path
    - LP: #1393401
  * tcp: md5: do not use alloc_percpu()
    - LP: #1393401
  * macvlan: fix a race on port dismantle and possible skb leaks
    - LP: #1393401
  * ipv4: Do not cache routing failures due to disabled forwarding.
    - LP: #1393401
  * net/mlx4_en: Don't attempt to TX offload the outer UDP checksum for
    VXLAN
    - LP: #1393401
  * gre: Use inner mac length when computing tunnel length
    - LP: #1393401
  * drivers/net: macvtap and tun depend on INET
    - LP: #1393401
  * net: sctp: fix skb_over_panic when receiving malformed ASCONF chunks
    - LP: #1393401
  * net: sctp: fix panic on duplicate ASCONF chunks
    - LP: #1393401
  * net: sctp: fix remote memory pressure from excessive queueing
    - LP: #1393401
  * staging:iio:ad5933: Fix NULL pointer deref when enabling buffer
    - LP: #1393401
  * staging:iio:ad5933: Drop "raw" from channel names
    - LP: #1393401
  * iio: st_sensors: Fix buffer copy
    - LP: #1393401
  * iio: adc: mxs-lradc: Disable the clock on probe failure
    - LP: #1393401
  * spi: pl022: Fix incorrect dma_unmap_sg
    - LP: #1393401
  * mac80211: fix typo in starting baserate for rts_cts_rate_idx
    - LP: #1393401
  * ASoC: Intel: HSW/BDW only support S16 and S24 formats.
    - LP: #1393401
  * staging: comedi: (regression) channel list must be set for COMEDI_CMD
    ioctl
    - LP: #1393401
  * usb: dwc3: gadget: fix set_halt() bug with pending transfers
    - LP: #1393401
  * usb: gadget: function: acm: make f_acm pass USB20CV Chapter9
    - LP: #1393401
  * nfsd4: fix response size estimation for OP_SEQUENCE
    - LP: #1393401
  * mtd: move support for struct flash_platform_data into m25p80
    - LP: #1393401
  * mtd: m25p80: get rid of spi_get_device_id
    - LP: #1393401
  * mtd: spi-nor: make spi_nor_scan() take a chip type name, not
    spi_device_id
    - LP: #1393401
  * mtd: m25p80,spi-nor: Fix module aliases for m25p80
    - LP: #1393401
  * ext3: Don't check quota format when there are no quota files
    - LP: #1393401
  * quota: Properly return errors from dquot_writeback_dquots()
    - LP: #1393401
  * USB: serial: cp210x: add Silicon Labs 358x VID and PID
    - LP: #1393401
  * usb: serial: ftdi_sio: add Awinda Station and Dongle products
    - LP: #1393401
  * usb: option: add support for Telit LE910
    - LP: #1393401
  * USB: option: add Haier CE81B CDMA modem
    - LP: #1393401
  * ASoC: adau1761: Fix input PGA volume
    - LP: #1393401
  * x86, apic: Handle a bad TSC more gracefully
    - LP: #1393401
  * i3200_edac: Report CE events properly
    - LP: #1393401
  * i82860_edac: Report CE events properly
    - LP: #1393401
  * cpc925_edac: Report UE events properly
    - LP: #1393401
  * e7xxx_edac: Report CE events properly
    - LP: #1393401
  * scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND
    - LP: #1393401
  * usb: serial: ftdi_sio: add "bricked" FTDI device PID
    - LP: #1393401
  * usb: musb: cppi41: restart hrtimer only if not yet done
    - LP: #1393401
  * usb: gadget: f_fs: remove redundant ffs_data_get()
    - LP: #1393401
  * usb: ffs: fix regression when quirk_ep_out_aligned_size flag is set
    - LP: #1393401
  * usb: musb: dsps: start OTG timer on resume again
    - LP: #1393401
  * usb: gadget: udc: core: fix kernel oops with soft-connect
    - LP: #1393401
  * nfsd4: fix crash on unknown operation number
    - LP: #1393401
  * iwlwifi: configure the LTR
    - LP: #1393401
  * iwlwifi: dvm: drop non VO frames when flushing
    - LP: #1393401
  * usb: dwc3: gadget: Properly initialize LINK TRB
    - LP: #1393401
  * Input: i8042 - quirks for Fujitsu Lifebook A544 and Lifebook AH544
    - LP: #1393401
  * posix-timers: Fix stack info leak in timer_create()
    - LP: #1393401
  * futex: Fix a race condition between REQUEUE_PI and task death
    - LP: #1393401
  * usb: chipidea: Fix oops when removing the ci_hdrc module
    - LP: #1393401
  * drm/i915: Do a dummy DPCD read before the actual read
    - LP: #1393401
  * ALSA: bebob: Uninitialized id returned by saffirepro_both_clk_src_get
    - LP: #1393401
  * PM / Sleep: fix async suspend_late/freeze_late error handling
    - LP: #1393401
  * PM / Sleep: fix recovery during resuming from hibernation
    - LP: #1393401
  * ALSA: pcm: Zero-clear reserved fields of PCM status ioctl in compat
    mode
    - LP: #1393401
  * ima: check xattr value length and type in the ima_inode_setxattr()
    - LP: #1393401
  * evm: check xattr value length and type in evm_inode_setxattr()
    - LP: #1393401
  * drm/radeon/dpm: disable ulv support on SI
    - LP: #1393401
  * drm/radeon: Use drm_malloc_ab instead of kmalloc_array
    - LP: #1393401
  * drm/radeon: add bapm module parameter
    - LP: #1393401
  * drm/radeon: dpm fixes for asrock systems
    - LP: #1393401
  * drm/radeon: remove invalid pci id
    - LP: #1393401
  * zap_pte_range: update addr when forcing flush after TLB batching faiure
    - LP: #1393401
  * staging: comedi: fix memory leak / bad pointer freeing for chanlist
    - LP: #1393401
  * drm/i915: Ignore VBT backlight check on Macbook 2, 1
    - LP: #1393401
  * x86, pageattr: Prevent overflow in slow_virt_to_phys() for X86_PAE
    - LP: #1393401
  * ACPI / EC: Fix regression due to conflicting firmware behavior between
    Samsung and Acer.
    - LP: #1393401
  * cgroup/kmemleak: add kmemleak_free() for cgroup deallocations.
    - LP: #1393401
  * mm: free compound page with correct order
    - LP: #1393401
  * mm, thp: fix collapsing of hugepages on madvise
    - LP: #1393401
  * lib/bitmap.c: fix undefined shift in __bitmap_shift_{left|right}()
    - LP: #1393401
  * sh: fix sh770x SCIF memory regions
    - LP: #1393401
  * mtd: cfi_cmdset_0001.c: fix resume for LH28F640BF chips
    - LP: #1393401
  * ext4: fix overflow when updating superblock backups after resize
    - LP: #1393401
  * ext4: fix oops when loading block bitmap failed
    - LP: #1393401
  * ext4: enable journal checksum when metadata checksum feature enabled
    - LP: #1393401
  * ext4: prevent bugon on race between write/fcntl
    - LP: #1393401
  * ext4: convert do_split() to use the ERR_PTR convention
    - LP: #1393401
  * ext4: bail out from make_indexed_dir() on first error
    - LP: #1393401
  * PCI: Rename sysfs 'enabled' file back to 'enable'
    - LP: #1393401
  * wireless: rt2x00: add new rt2800usb device
    - LP: #1393401
  * fs: allow open(dir, O_TMPFILE|..., 0) with mode 0
    - LP: #1393401
  * tracing/syscalls: Ignore numbers outside NR_syscalls' range
    - LP: #1393401
  * x86_64, entry: Filter RFLAGS.NT on entry from userspace
    - LP: #1393401
  * x86_64, entry: Fix out of bounds read on sysenter
    - LP: #1393401
  * mnt: Prevent pivot_root from creating a loop in the mount tree
    - LP: #1393401
  * mm: Remove false WARN_ON from pagecache_isize_extended()
    - LP: #1393401
  * nfs: fix kernel warning when removing proc entry
    - LP: #1393401
  * Linux 3.16.7-ckt1
    - LP: #1393401
  * MAINTAINERS: Update APM X-Gene section
    - LP: #1381084
  * Documentation: dts: Update section header for APM X-Gene
    - LP: #1381084
  * dtb: Add 10GbE node to APM X-Gene SoC device tree
    - LP: #1381084
  * drivers: net: xgene: Preparing for adding 10GbE support
    - LP: #1381084
  * drivers: net: xgene: Add 10GbE support
    - LP: #1381084
  * drivers: net: xgene: Add 10GbE ethtool support
    - LP: #1381084
  * dtb: Add SGMII based 1GbE node to APM X-Gene SoC device tree
    - LP: #1381216
  * drivers: net: xgene: Preparing for adding SGMII based 1GbE
    - LP: #1381216
  * drivers: net: xgene: Add SGMII based 1GbE support
    - LP: #1381216
  * drivers: net: xgene: Add SGMII based 1GbE ethtool support
    - LP: #1381216
  * drivers: net: xgene: Rewrite buggy loop in xgene_enet_ecc_init()
    - LP: #1381216
  * dtb: xgene: fix: Backward compatibility with older firmware
    - LP: #1381084, #1381216
  * drivers: net: xgene: Backward compatibility with older firmware
    - LP: #1381084, #1381216
  * drivers: net: xgene: fix: Use separate resources
    - LP: #1381216
  * ipr: don't log error messages when applications issues illegal requests
    - LP: #1392152
  * ipr: fix compile failure
    - LP: #1392152
  * powerpc/powernv: Check OPAL dump calls exist before using
    - LP: #1391953
  * powerpc/powernv: Check OPAL elog calls exist before using
    - LP: #1391953
  * powerpc/powernv: Check OPAL RTC calls exists before using
    - LP: #1391953
  * powerpc/powernv: Add OPAL check token call
    - LP: #1391953
  * powerpc/powernv: Improve error messages in dump code
    - LP: #1391953
  * arch/powerpc/platforms/powernv/opal-dump.c: fix world-writable sysfs
    files
    - LP: #1391953
  * arch/powerpc/platforms/powernv/opal-elog.c: fix world-writable sysfs
    files
    - LP: #1391953
  * pseries: Fix endian issues in cpu hot-removal
    - LP: #1391953
  * pseries: Fix endian issues in onlining cpu threads
    - LP: #1391953
  * powerpc/pseries: Fix endian issues in memory hotplug
    - LP: #1391953
  * powerpc/pseries/hvcserver: Fix endian issue in hvcs_get_partner_info
    - LP: #1391953
  * powerpc/pseries: Make CPU hotplug path endian safe
    - LP: #1391953
  * powerpc/fadump: Fix endianess issues in firmware assisted dump handling
    - LP: #1391953
  * GenWQE: Add sysfs interface for bitstream reload
    - LP: #1392021
  * GenWQE: Add support for EEH error recovery
    - LP: #1392021
  * GenWQE: Improve hardware error recovery
    - LP: #1392021
  * GenWQE: Increase driver version number
    - LP: #1392021
  * misc/GenWQE: fix pci_enable_msi usage
    - LP: #1392021
  * GenWQE: Remove unnecessary include
    - LP: #1392021
  * misc: remove DEFINE_PCI_DEVICE_TABLE usage
    - LP: #1392021
  * GenWQE: Check pci_get_totalvfs return code
    - LP: #1392021
  * GenWQE: Remove sysfs entry for driver version
    - LP: #1392021
  * GenWQE: Update author information
    - LP: #1392021
  * GenWQE: Do not modify return code of genwqe_set_interrupt_capability
    - LP: #1392021
  * GenWQE: Check return code of pci_sriov_enable
    - LP: #1392021
  * GenWQE: Fix checkpatch complaints
    - LP: #1392021
  * GenWQE: Fix problem when reading HSI and Retc
    - LP: #1392021
  * GenWQE: Support blocking when DDCB queue is busy
    - LP: #1392021
  * powerpc: Simplify do_sigbus
    - LP: #1370425
  * powerpc: Add VM_FAULT_HWPOISON handling to powerpc page fault handler
    - LP: #1370425
  * powerpc: Fill in si_addr_lsb siginfo field
    - LP: #1370425
 -- Brad Figg <brad.figg@xxxxxxxxxxxxx>   Mon, 01 Dec 2014 10:21:56 -0800

** Changed in: linux (Ubuntu Utopic)
       Status: Fix Committed => Fix Released

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

Title:
  kernel bug seen while try to use madvise system call with
  MADV_HWPOISON mode

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Utopic:
  Fix Released
Status in linux source package in Vivid:
  Fix Released

Bug description:
  Problem Description
  ====================
  kernel bug seen while try to use madvise system call with MADV_HWPOISON mode
   
  ---uname output---
  Linux u10thp 3.16.0-9-generic #14-Ubuntu SMP Fri Aug 15 15:03:36 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = Power 8 
   
  Steps to Reproduce
  ====================
  1.  Install Ubuntu 14.10 guest on PowerKVM.
  2.  Setup hugepage backing guest VM.
  3.  Try madv_poison.c code to test madvise sys. call with HWPOISON mode(test code is attached).
  	gcc -o madv_poison madv_poison.c
  	./madv_poison -C -i 1 		(1 - shm_test)

  Ubuntu 14.10 LE throws kernel bug :
  root@u10thp:~# ./madv_poison -C -i 1
  vm.memory_failure_early_kill = 0
  [pid 2301] start page-poisoning test
  [pid 2301] there are 1 shm_child
  [pid 2301] have spawned 1 processes
  [pid 2301] wait for Pid 2304
  [pid 2304] shm dirty poisoning page 0x3fffa7ce0000
  [ 7905.009001] Injecting memory failure for page 0xe6a7 at 0x3fffa7ce0000
  [ 7905.009359] MCE 0xe6a7: dirty LRU page recovery: Recovered
  [pid 2304] writing 2
  [ 7905.009901] ------------[ cut here ]------------
  [ 7905.010164] kernel BUG at /build/buildd/linux-3.16.0/arch/powerpc/mm/fault.c:180!
  [ 7905.010396] Oops: Exception in kernel mode, sig: 5 [#234]
  [ 7905.010438] SMP NR_CPUS=2048 NUMA pSeries
  [ 7905.010480] Modules linked in: pseries_rng rtc_generic ohci_pci
  [ 7905.010614] CPU: 0 PID: 2304 Comm: madv_poison Tainted: G      D       3.16.0-9-generic #14-Ubuntu
  [ 7905.010686] task: c0000000e0a92a60 ti: c0000000e09e8000 task.ti: c0000000e09e8000
  [ 7905.010746] NIP: c0000000009e3314 LR: c0000000009e2e54 CTR: 0000000000000000
  [ 7905.010864] REGS: c0000000e09eb990 TRAP: 0700   Tainted: G      D        (3.16.0-9-generic)
  [ 7905.010924] MSR: 8000000000029033 <SF,EE,ME,IR,DR,RI,LE>  CR: 28002882  XER: 00000000
  [ 7905.011125] CFAR: c0000000009e3170 SOFTE: 1 
  GPR00: c0000000009e2e54 c0000000e09ebc10 c0000000013742e0 0000000000000010 
  GPR04: c0000000e0b37ff8 00003fffa7ce0000 00000000000000a9 0000000000000000 
  GPR08: 0000000000000000 0000000000000010 c0000000e0a92a60 0000000000000020 
  GPR12: 0000000048002884 c00000000fe40000 0000000000000000 0000000000000000 
  GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
  GPR20: 00000000000000a9 0000000000000000 c0000000e0597a40 c0000000e022b060 
  GPR24: 0000000000000010 c0000000e022b000 c000000000009568 00003fffa7ce0000 
  GPR28: 0000000000000000 0000000000000000 0000000002000000 c0000000e09ebea0 
  [ 7905.012189] NIP [c0000000009e3314] do_page_fault+0x984/0x990
  [ 7905.012241] LR [c0000000009e2e54] do_page_fault+0x4c4/0x990
  [ 7905.012281] Call Trace:
  [ 7905.012361] [c0000000e09ebc10] [c0000000009e2e54] do_page_fault+0x4c4/0x990 (unreliable)
  [ 7905.012434] [c0000000e09ebe30] [c000000000009568] handle_page_fault+0x10/0x30
  [ 7905.012494] Instruction dump:
  [ 7905.012580] e92d0290 e8690460 38630060 4b7274d9 60000000 e93f0108 3bc00000 792a97e3 
  [ 7905.012683] 4082f77c 3bc00009 60000000 4bfff774 <0fe00000> 00000000 00000000 3c4c0099 
  [ 7905.012845] ---[ end trace a48a199a061eed79 ]---
  [ 7905.019084] 
  [pid 2301] Ins 0: Pid 2304: failed - shared memory test
  [pid 2301] 	!!! Page Poisoning Test is FAILED (1 failures found). !!!

  [pid 2301] page-poisoning test done!
  root@u10thp:~# 

  == Comment: #1 - Kalpana Shetty <kalshett@xxxxxxxxxx> -  ==
  The test code works fine with x86/Ubuntu VM so if it is not supported on power then it should have thrown an error not supported as it does with PowerKVM / RHEL 7 VM.

  Intel/Ubuntu 14.04 VM:			=================================> Working fine.
  root@u04vm14:~# ./madv_poison -C -i 1               (shm_test case)
  vm.memory_failure_early_kill = 0
  [pid 7325] start page-poisoning test
  [pid 7325] there are 1 shm_child
  [pid 7325] have spawned 1 processes
  [pid 7325] wait for Pid 7328
  [pid 7328] shm dirty poisoning page 0x7f60ca8ea000
  [pid 7328] writing 2
  [pid 7328] signal 7 code 4 addr 0x7f60ca8ea000
  [pid 7328] pass: recovered
  [pid 7325] Ins 0: Pid 7328: pass - shared memory test
  [pid 7325] 	!!! Page Poisoning Test got PASS. !!!

  [pid 7325] page-poisoning test done!

  PowerKVM / RHEL 7 VM:
  [root@rhel7-web-VM1 ~]# ./madv_poison -C -i 1
  sysctl: cannot stat /proc/sys/vm/memory_failure_early_kill: No such file or directory
  [pid 11512] start page-poisoning test
  [pid 11512] there are 1 shm_child
  [pid 11512] have spawned 1 processes
  [pid 11514] shm dirty poisoning page 0x3fff84d60000
  [pid 11512] wait for Pid 11514
  [pid 11514] failed: Kernel doesn't support poison injection ============================> unsupported error.
  [pid 11512] Ins 0: Pid 11514: failed - shared memory test
  [pid 11512] 	!!! Page Poisoning Test is FAILED (1 failures found). !!!

  [pid 11512] page-poisoning test done!

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