← Back to team overview

kernel-packages team mailing list archive

[Bug 1463654] Re: Kernel WARN @drivers/base/memory.c:200 during DLPAR memory operation

 

This bug was fixed in the package linux - 3.19.0-51.57

---------------
linux (3.19.0-51.57) vivid; urgency=low

  [ Seth Forshee ]

  * SAUCE: cred: Add clone_cred() interface
    - LP: #1531747, #1534961, #1535150
    - CVE-2016-1575 CVE-2016-1576
  * SAUCE: overlayfs: Use mounter's credentials instead of selectively
    raising caps
    - LP: #1531747, #1534961, #1535150
    - CVE-2016-1575 CVE-2016-1576
  * SAUCE: overlayfs: Skip permission checking for trusted.overlayfs.*
    xattrs
    - LP: #1531747, #1534961, #1535150
    - CVE-2016-1575 CVE-2016-1576
  * SAUCE: overlayfs: Be more careful about copying up sxid files
    - LP: #1534961, #1535150
    - CVE-2016-1575 CVE-2016-1576
  * SAUCE: overlayfs: Propogate nosuid from lower and upper mounts
    - LP: #1534961, #1535150
    - CVE-2016-1575 CVE-2016-1576

linux (3.19.0-50.56) vivid; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1540576

  [ J. R. Okajima ]

  * SAUCE: ubuntu: aufs: tiny, extract a new func xino_fwrite_wkq()
    - LP: #1533043
  * SAUCE: ubuntu: aufs: for 4.3, XINO handles EINTR from the dying process
    - LP: #1533043

  [ John Johansen ]

  * SAUCE: (no-up): apparmor: fix for failed mediation of socket that is
    being shutdown
    - LP: #1446906

  [ Upstream Kernel Changes ]

  * drivers/base/memory.c: fix kernel warning during memory hotplug on
    ppc64
    - LP: #1463654
  * sched/wait: Fix signal handling in bit wait helpers
    - LP: #1537859
  * sched/wait: Fix the signal handling fix
    - LP: #1537859
  * ARC: Fix silly typo in MAINTAINERS file
    - LP: #1537859
  * ip6mr: call del_timer_sync() in ip6mr_free_table()
    - LP: #1537859
  * gre6: allow to update all parameters via rtnl
    - LP: #1537859
  * atl1c: Improve driver not to do order 4 GFP_ATOMIC allocation
    - LP: #1537859
  * sctp: use the same clock as if sock source timestamps were on
    - LP: #1537859
  * sctp: update the netstamp_needed counter when copying sockets
    - LP: #1537859
  * sctp: also copy sk_tsflags when copying the socket
    - LP: #1537859
  * net: qca_spi: fix transmit queue timeout handling
    - LP: #1537859
  * ipv6: sctp: clone options to avoid use after free
    - LP: #1537859
  * net: add validation for the socket syscall protocol argument
    - LP: #1537859
  * sh_eth: fix kernel oops in skb_put()
    - LP: #1537859
  * net: fix IP early demux races
    - LP: #1537859
  * vlan: Fix untag operations of stacked vlans with REORDER_HEADER off
    - LP: #1537859
  * skbuff: Fix offset error in skb_reorder_vlan_header
    - LP: #1537859
  * pptp: verify sockaddr_len in pptp_bind() and pptp_connect()
    - LP: #1537859
  * bluetooth: Validate socket address length in sco_sock_bind().
    - LP: #1537859
  * fou: clean up socket with kfree_rcu
    - LP: #1537859
  * af_unix: Revert 'lock_interruptible' in stream receive code
    - LP: #1537859
  * KEYS: Fix race between read and revoke
    - LP: #1537859
  * tools: Add a "make all" rule
    - LP: #1537859
  * efi: Disable interrupts around EFI calls, not in the epilog/prolog
    calls
    - LP: #1537859
  * fuse: break infinite loop in fuse_fill_write_pages()
    - LP: #1537859
  * usb: gadget: pxa27x: fix suspend callback
    - LP: #1537859
  * iio: fix some warning messages
    - LP: #1537859
  * USB: cp210x: Remove CP2110 ID from compatibility list
    - LP: #1537859
  * USB: cdc_acm: Ignore Infineon Flash Loader utility
    - LP: #1537859
  * ext4: Fix handling of extended tv_sec
    - LP: #1537859
  * jbd2: Fix unreclaimed pages after truncate in data=journal mode
    - LP: #1537859
  * drm/ttm: Fixed a read/write lock imbalance
    - LP: #1537859
  * i2c: mv64xxx: The n clockdiv factor is 0 based on sunxi SoCs
    - LP: #1537859
  * AHCI: Fix softreset failed issue of Port Multiplier
    - LP: #1537859
  * sata_sil: disable trim
    - LP: #1537859
  * usb-storage: Fix scsi-sd failure "Invalid field in cdb" for USB adapter
    JMicron
    - LP: #1537859
  * staging: lustre: echo_copy.._lsm() dereferences userland pointers
    directly
    - LP: #1537859
  * irqchip/versatile-fpga: Fix PCI IRQ mapping on Versatile PB
    - LP: #1537859
  * usb: core : hub: Fix BOS 'NULL pointer' kernel panic
    - LP: #1537859
  * USB: whci-hcd: add check for dma mapping error
    - LP: #1537859
  * usb: Use the USB_SS_MULT() macro to decode burst multiplier for log
    message
    - LP: #1537859
  * xen/events/fifo: Consume unprocessed events when a CPU dies
    - LP: #1537859
  * dm btree: fix leak of bufio-backed block in btree_split_sibling error
    path
    - LP: #1537859
  * ARM: 8465/1: mm: keep reserved ASIDs in sync with mm after multiple
    rollovers
    - LP: #1537859
  * perf: Fix PERF_EVENT_IOC_PERIOD deadlock
    - LP: #1537859
  * usb: xhci: fix config fail of FS hub behind a HS hub with MTT
    - LP: #1537859
  * ALSA: rme96: Fix unexpected volume reset after rate changes
    - LP: #1537859
  * net: mvpp2: fix missing DMA region unmap in egress processing
    - LP: #1537859
  * net: mvpp2: fix buffers' DMA handling on RX path
    - LP: #1537859
  * net: mvpp2: fix refilling BM pools in RX path
    - LP: #1537859
  * dmaengine: at_xdmac: fix macro typo
    - LP: #1537859
  * ALSA: hda - Add inverted dmic for Packard Bell DOTS
    - LP: #1523232, #1537859
  * vhost: relax log address alignment
    - LP: #1537859
  * virtio: fix memory leak of virtio ida cache layers
    - LP: #1537859
  * IB/srp: Fix a memory leak
    - LP: #1537859
  * IB/srp: Fix possible send queue overflow
    - LP: #1537859
  * ALSA: hda - Fixing speaker noise on the two latest thinkpad models
    - LP: #1523517, #1537859
  * 9p: ->evict_inode() should kick out ->i_data, not ->i_mapping
    - LP: #1537859
  * radeon/cik: Fix GFX IB test on Big-Endian
    - LP: #1537859
  * radeon: Fix VCE ring test for Big-Endian systems
    - LP: #1537859
  * radeon: Fix VCE IB test on Big-Endian systems
    - LP: #1537859
  * video: fbdev: fsl: Fix kernel crash when diu_ops is not implemented
    - LP: #1537859
  * crypto: skcipher - Copy iv from desc even for 0-len walks
    - LP: #1537859
  * ALSA: hda - Fix noise problems on Thinkpad T440s
    - LP: #1537859
  * dm thin metadata: fix bug when taking a metadata snapshot
    - LP: #1537859
  * dm space map metadata: fix ref counting bug when bootstrapping a new
    space map
    - LP: #1537859
  * ipmi: move timer init to before irq is setup
    - LP: #1537859
  * ASoC: es8328: Fix deemphasis values
    - LP: #1537859
  * KVM: PPC: Book3S HV: Prohibit setting illegal transaction state in MSR
    - LP: #1537859
  * rfkill: copy the name into the rfkill struct
    - LP: #1537859
  * dm btree: fix bufio buffer leaks in dm_btree_del() error path
    - LP: #1537859
  * ses: Fix problems with simple enclosures
    - LP: #1537859
  * vgaarb: fix signal handling in vga_get()
    - LP: #1537859
  * ASoC: davinci-mcasp: Fix XDATA check in mcasp_start_tx
    - LP: #1537859
  * ARM: dts: vf610: use reset values for L2 cache latencies
    - LP: #1537859
  * ses: fix additional element traversal bug
    - LP: #1537859
  * xhci: fix usb2 resume timing and races.
    - LP: #1537859
  * USB: add quirk for devices with broken LPM
    - LP: #1537859
  * powercap / RAPL: fix BIOS lock check
    - LP: #1537859
  * parisc iommu: fix panic due to trying to allocate too large region
    - LP: #1537859
  * mm: hugetlb: fix hugepage memory leak caused by wrong reserve count
    - LP: #1537859
  * vmstat: Reduce time interval to stat update on idle cpu
    - LP: #1537859
  * mm, vmstat: allow WQ concurrency to discover memory reclaim doesn't
    make any progress
    - LP: #1537859
  * mm: hugetlb: call huge_pte_alloc() only if ptep is null
    - LP: #1537859
  * drivers/base/memory.c: prohibit offlining of memory blocks with missing
    sections
    - LP: #1537859
  * ocfs2: fix SGID not inherited issue
    - LP: #1537859
  * sh64: fix __NR_fgetxattr
    - LP: #1537859
  * ASoC: wm8974: set cache type for regmap
    - LP: #1537859
  * n_tty: Fix poll() after buffer-limited eof push read
    - LP: #1537859
  * tty: Fix GPF in flush_to_ldisc()
    - LP: #1537859
  * genirq: Prevent chip buslock deadlock
    - LP: #1537859
  * ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest
    DragonFly
    - LP: #1537859
  * ARM: dts: imx6: Fix Ethernet PHY mode on Ventana boards
    - LP: #1537859
  * ARM: 8471/1: need to save/restore arm register(r11) when it is
    corrupted
    - LP: #1537859
  * ALSA: hda - Add a fixup for Thinkpad X1 Carbon 2nd
    - LP: #1537859
  * spi: fix parent-device reference leak
    - LP: #1537859
  * scripts: recordmcount: break hardlinks
    - LP: #1537859
  * dma-debug: Fix dma_debug_entry offset calculation
    - LP: #1537859
  * ftrace/scripts: Have recordmcount copy the object file
    - LP: #1537859
  * ARC: dw2 unwind: Reinstante unwinding out of modules
    - LP: #1537859
  * ARC: dw2 unwind: Ignore CIE version !=1 gracefully instead of bailing
    - LP: #1537859
  * powerpc/powernv: pr_warn_once on unsupported OPAL_MSG type
    - LP: #1537859
  * ALSA: hda - Set SKL+ hda controller power at freeze() and thaw()
    - LP: #1537859
  * s390/dis: Fix handling of format specifiers
    - LP: #1537859
  * airspy: increase USB control message buffer size
    - LP: #1537859
  * USB: ipaq.c: fix a timeout loop
    - LP: #1537859
  * USB: fix invalid memory access in hub_activate()
    - LP: #1537859
  * x86/mce: Ensure offline CPUs don't participate in rendezvous process
    - LP: #1537859
  * i2c: rcar: disable runtime PM correctly in slave mode
    - LP: #1537859
  * parisc: Fix syscall restarts
    - LP: #1537859
  * ALSA: hda/realtek - Fix silent headphone output on MacPro 4,1 (v2)
    - LP: #1537859
  * MIPS: uaccess: Fix strlen_user with EVA
    - LP: #1537859
  * ASoC: arizona: Fix bclk for sample rates that are multiple of 4kHz
    - LP: #1537859
  * arm: fix handling of F_OFD_... in oabi_fcntl64()
    - LP: #1537859
  * ocfs2: fix BUG when calculate new backup super
    - LP: #1537859
  * mm/memory_hotplug.c: check for missing sections in
    test_pages_in_a_zone()
    - LP: #1537859
  * ftrace/scripts: Fix incorrect use of sprintf in recordmcount
    - LP: #1537859
  * tracing: Fix setting of start_index in find_next()
    - LP: #1537859
  * tile: provide CONFIG_PAGE_SIZE_64KB etc for tilepro
    - LP: #1537859
  * ARM: versatile: fix MMC/SD interrupt assignment
    - LP: #1537859
  * async_tx: use GFP_NOWAIT rather than GFP_IO
    - LP: #1537859
  * dts: vt8500: Add SDHC node to DTS file for WM8650
    - LP: #1537859
  * ftrace/module: Call clean up function when module init fails early
    - LP: #1537859
  * vmstat: allocate vmstat_wq before it is used
    - LP: #1537859
  * usb: musb: USB_TI_CPPI41_DMA requires dmaengine support
    - LP: #1537859
  * sctp: convert sack_needed and sack_generation to bits
    - LP: #1537859
  * sctp: start t5 timer only when peer rwnd is 0 and local state is
    SHUTDOWN_PENDING
    - LP: #1537859
  * pinctrl: bcm2835: Fix initial value for direction_output
    - LP: #1537859
  * net: phy: mdio-mux: Check return value of mdiobus_alloc()
    - LP: #1537859
  * sh_eth: fix TX buffer byte-swapping
    - LP: #1537859
  * mISDN: fix a loop count
    - LP: #1537859
  * amd-xgbe: fix a couple timeout loops
    - LP: #1537859
  * qlcnic: fix a timeout loop
    - LP: #1537859
  * ser_gigaset: fix deallocation of platform device structure
    - LP: #1537859
  * net: fix warnings in 'make htmldocs' by moving macro definition out of
    field declaration
    - LP: #1537859
  * net/mlx4_en: Remove dependency between timestamping capability and
    service_task
    - LP: #1537859
  * net/mlx4_en: Fix HW timestamp init issue upon system startup
    - LP: #1537859
  * include/linux/mmdebug.h: should include linux/bug.h
    - LP: #1537859
  * ipv6/addrlabel: fix ip6addrlbl_get()
    - LP: #1537859
  * ASoC: Use nested lock for snd_soc_dapm_mutex_lock
    - LP: #1537859
  * net: filter: make JITs zero A for SKF_AD_ALU_XOR_X
    - LP: #1537859
  * net: sched: fix missing free per cpu on qstats
    - LP: #1537859
  * net: possible use after free in dst_release
    - LP: #1537859
  * kvm: x86: only channel 0 of the i8254 is linked to the HPET
    - LP: #1537859
  * firmware: dmi_scan: Fix UUID endianness for SMBIOS >= 2.6
    - LP: #1537859
  * Linux 3.19.8-ckt13
    - LP: #1537859
  * hotplugcpu: Avoid deadlocks by waking active_writer
    - LP: #1481357
  * xfrm: dst_entries_init() per-net dst_ops
    - LP: #1486670

 -- Luis Henriques <luis.henriques@xxxxxxxxxxxxx>  Fri, 19 Feb 2016
11:12:52 +0000

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

Title:
  Kernel WARN @drivers/base/memory.c:200 during DLPAR memory operation

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Vivid:
  Fix Released
Status in linux source package in Wily:
  Fix Released
Status in linux source package in Xenial:
  Fix Released

Bug description:
  ---Problem Description---
  Kernel WARN @drivers/base/memory.c:200 during DLPAR memory operation
   
  Contact Information = Sachin Sant / ssant@xxxxxxxxxx 
   
  ---uname output---
  3.19.0-18-generic
   
  ---Patches Installed---
  A patched powerpc-ibm-utils package is required
   
  Machine Type = POWER8 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   1) Using latest daily ISO install 14.04.02 as a Power VM guest
  2) Upgrade the kernel to 3.19 level (3.19.0-18-generic)
  3) Ensure ksh and powerpc-ibm-utils packages are installed.
  4) Download following DLPAR packages from http://ausgsa.ibm.com/projects/r/rsctdev/builds/muthu/rmuts006a/ppc64le/

  devices.chrp.base.servicerm_2.5.0.1-15111_ppc64el.deb
  dynamicrm_2.0.1-3_ppc64el.deb
  rsct.core_3.2.0.6-15111_ppc64el.deb
  rsct.core.utils_3.2.0.6-15111_ppc64el.deb
  src_3.2.0.6-15111_ppc64el.deb

  5) Install the packages.
  6) Perform a add memory operation via HMC
   
  Stack trace output:

  alp9 kernel: [44170.234662] ------------[ cut here ]------------
  alp9 kernel: [44170.234667] WARNING: at /build/buildd/linux-lts-vivid-3.19.0/drivers/base/memory.c:200
  alp9 kernel: [44170.234668] Modules linked in: rpadlpar_io rpaphp pseries_rng rtc_generic
  alp9 kernel: [44170.234675] CPU: 2 PID: 1391 Comm: systemd-udevd Not tainted 3.19.0-18-generic #18~14.04.1-Ubuntu
  alp9 kernel: [44170.234677] task: c0000003dbea7c80 ti: c0000003dbf10000 task.ti: c0000003dbf10000
  Jun  4 19:44:47 alp9 kernel: [44170.234678] NIP: c000000000668f34 LR: c0000000006699b0 CTR: 0000000000000000
  Jun  4 19:44:47 alp9 kernel: [44170.234680] REGS: c0000003dbf13910 TRAP: 0700   Not tainted  (3.19.0-18-generic)
  Jun  4 19:44:47 alp9 kernel: [44170.234680] MSR: 8000000000029033 <SF,EE,ME,IR,DR,RI,LE>  CR: 28042888  XER: 20000000
  Jun  4 19:44:47 alp9 kernel: [44170.234686] CFAR: c000000000668ed8 SOFTE: 1 
  Jun  4 19:44:47 alp9 kernel: [44170.234686] GPR00: c0000000006699b0 c0000003dbf13b90 c00000000144c760 0000000000000001 
  Jun  4 19:44:47 alp9 kernel: [44170.234686] GPR04: 0000000000000779 0000000000000100 0000000000078000 f000000001de4000 
  Jun  4 19:44:47 alp9 kernel: [44170.234686] GPR08: c0000000013ac760 0000000000000001 0000000000007790 00000000003fffff 
  Jun  4 19:44:47 alp9 kernel: [44170.234686] GPR12: c00000000172cb00 c00000000e831200 00000100074a0010 0000000000000000 
  Jun  4 19:44:47 alp9 kernel: [44170.234686] GPR16: 0000000010032230 00000000100311d0 00003fffcb59bf20 0000000000000003 
  Jun  4 19:44:47 alp9 kernel: [44170.234686] GPR20: 00000000100527f8 00000000100322b0 0000000001312d00 00000100074af7f0 
  Jun  4 19:44:47 alp9 kernel: [44170.234686] GPR24: 00000000100322d0 00003fffcb59bf20 c0000003dbf13e00 0000000000000000 
  Jun  4 19:44:47 alp9 kernel: [44170.234686] GPR28: 0000000000001000 0000000000000000 0000000000077000 0000000000077900 
  Jun  4 19:44:47 alp9 kernel: [44170.234707] NIP [c000000000668f34] pages_correctly_reserved+0x134/0x1c0
  Jun  4 19:44:47 alp9 kernel: [44170.234709] LR [c0000000006699b0] memory_subsys_online+0x70/0x140
  Jun  4 19:44:47 alp9 kernel: [44170.234710] Call Trace:
  Jun  4 19:44:47 alp9 kernel: [44170.234711] [c0000003dbf13b90] [0000000000000006] 0x6 (unreliable)
  Jun  4 19:44:47 alp9 kernel: [44170.234714] [c0000003dbf13c00] [c0000000006699b0] memory_subsys_online+0x70/0x140
  Jun  4 19:44:47 alp9 kernel: [44170.234716] [c0000003dbf13c40] [c0000000006476f4] device_online+0xb4/0x120
  Jun  4 19:44:47 alp9 kernel: [44170.234718] [c0000003dbf13c80] [c00000000066987c] store_mem_state+0x8c/0x150
  Jun  4 19:44:47 alp9 kernel: [44170.234721] [c0000003dbf13cc0] [c000000000643618] dev_attr_store+0x68/0xa0
  Jun  4 19:44:47 alp9 kernel: [44170.234724] [c0000003dbf13d00] [c00000000035afd0] sysfs_kf_write+0x80/0xb0
  Jun  4 19:44:47 alp9 kernel: [44170.234726] [c0000003dbf13d40] [c000000000359f0c] kernfs_fop_write+0x18c/0x1f0
  Jun  4 19:44:47 alp9 kernel: [44170.234730] [c0000003dbf13d90] [c0000000002b450c] vfs_write+0xdc/0x260
  Jun  4 19:44:47 alp9 kernel: [44170.234732] [c0000003dbf13de0] [c0000000002b53bc] SyS_write+0x6c/0x110
  Jun  4 19:44:47 alp9 kernel: [44170.234735] [c0000003dbf13e30] [c000000000009258] system_call+0x38/0xd0
  Jun  4 19:44:47 alp9 kernel: [44170.234736] Instruction dump:
  Jun  4 19:44:47 alp9 kernel: [44170.234737] 419e0024 788a2428 7d095214 2fa80000 41de0014 7d29502a 38e74000 7928ffe3 
  Jun  4 19:44:47 alp9 kernel: [44170.234740] 4082ff7c 3d02fff6 892808e3 69290001 <0b090000> 2fa90000 40de0068 38600000 
  Jun  4 19:44:47 alp9 kernel: [44170.234744] ---[ end trace f8d28c560fa5c980 ]---
   

  System Dump Info:
    The system is not configured to capture a system dump.
   
  == Comment: #1 - SACHIN P. SANT <ssant@xxxxxxxxxx> - 2015-06-05 01:28:00 ==
  The DLPAR memory operation succeeds and is not affected by this warning.

  == Comment: #3 - Nathan D. Fontenot <nfonteno@xxxxxxxxxx> - 2015-06-05 07:11:45 ==
  Looking at this issue further, it appears to only happen when adding memory that was previously removed. When adding memory that has not been assigned to the partition yet the warnings are not generated.

  Need to look into the memory remove code paths to make sure we are
  releasing the memory properly.

  == Comment: #4 - Nathan D. Fontenot <nfonteno@xxxxxxxxxx> - 2015-06-05 07:59:17 ==
  I will have to verify in the Ubuntu source, but this seems like this is an issue that was solved previously by commit 2bbcb8788311a40714b585fc11b51da6ffa2ab92.

  https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/base/memory.c?id=2bbcb8788311a40714b585fc11b51da6ffa2ab92

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