kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #101971
[Bug 1402141] Re: Ubuntu 14.10 freezes when use smt-enabled=off as kernel argument
This bug was fixed in the package linux - 3.16.0-30.40
---------------
linux (3.16.0-30.40) utopic; urgency=low
[ Seth Forshee ]
* Release Tracking Bug
- LP: #1409890
[ Andy Whitcroft ]
* Revert "SAUCE: scsi: hyper-v storsvc switch up to SPC-3"
* [Packaging] uploadnum should be the remainder of the version
- LP: #1407755
[ K. Y. Srinivasan ]
* SAUCE: storvsc: force SPC-3 compliance on win8 and win8 r2 hosts
- LP: #1406867
[ Upstream Kernel Changes ]
* Revert "xhci: clear root port wake on bits if controller isn't wake-up
capable"
- LP: #1408697
* KVM: PPC: BOOK3S: HV: CMA: Reserve cma region only in hypervisor mode
- LP: #1400209
* powerpc/powernv: Ignore smt-enabled on Power8 and later
- LP: #1402141
* net/mlx4_en: Add VXLAN ndo calls to the PF net device ops too
- LP: #1407760
* net/mlx4_core: Enable CQE/EQE stride support
- LP: #1400127
* net/mlx4_core: Cache line EQE size support
- LP: #1400127
* net/mlx4_en: Add mlx4_en_get_cqe helper
- LP: #1400127
* net/mlx4_core: Introduce mlx4_get_module_info for cable module info
reading
- LP: #1400127
* ethtool, net/mlx4_en: Cable info, get_module_info/eeprom ethtool
support
- LP: #1400127
* net/mlx4_core: Introduce ACCESS_REG CMD and eth_prot_ctrl dev cap
- LP: #1400127
* net/mlx4_core: Add ethernet backplane autoneg device capability
- LP: #1400127
* ethtool, net/mlx4_en: Add 100M, 20G, 56G speeds ethtool reporting
support
- LP: #1400127
* net/mlx4_en: Use PTYS register to query ethtool settings
- LP: #1400127
* net/mlx4_en: Use PTYS register to set ethtool settings (Speed)
- LP: #1400127
* net/mlx4_en: Add support for setting rxvlan offload OFF/ON
- LP: #1400127
* net/mlx4_en: Add ethtool support for [rx|tx]vlan offload set to OFF/ON
- LP: #1400127
* net/mlx4_core: Prevent VF from changing port configuration
- LP: #1400127
* net/mlx4_en: mlx4_en_set_settings() always fails when autoneg is set
- LP: #1400127
* sparc64: Fix constraints on swab helpers.
- LP: #1408697
* inetdevice: fixed signed integer overflow
- LP: #1408697
* ipv4: Fix incorrect error code when adding an unreachable route
- LP: #1408697
* ieee802154: fix error handling in ieee802154fake_probe()
- LP: #1408697
* qmi_wwan: Add support for HP lt4112 LTE/HSPA+ Gobi 4G Modem
- LP: #1408697
* bonding: fix curr_active_slave/carrier with loadbalance arp monitoring
- LP: #1408697
* pptp: fix stack info leak in pptp_getname()
- LP: #1408697
* ipx: fix locking regression in ipx_sendmsg and ipx_recvmsg
- LP: #1408697
* net/mlx4_en: Advertize encapsulation offloads features only when VXLAN
tunnel is set
- LP: #1408697
* target: Don't call TFO->write_pending if data_length == 0
- LP: #1408697
* vhost-scsi: Take configfs group dependency during
VHOST_SCSI_SET_ENDPOINT
- LP: #1408697
* srp-target: Retry when QP creation fails with ENOMEM
- LP: #1408697
* ASoC: fsi: remove unsupported PAUSE flag
- LP: #1408697
* ASoC: rsnd: remove unsupported PAUSE flag
- LP: #1408697
* ib_isert: Add max_send_sge=2 minimum for control PDU responses
- LP: #1408697
* iser-target: Handle DEVICE_REMOVAL event on network portal listener
correctly
- LP: #1408697
* ASoC: dpcm: Fix race between FE/BE updates and trigger
- LP: #1408697
* ASoC: samsung: Add MODULE_DEVICE_TABLE for Snow
- LP: #1408697
* mac80211: Fix regression that triggers a kernel BUG with CCMP
- LP: #1408697
* rt2x00: do not align payload on modern H/W
- LP: #1408697
* ath9k: Fix RTC_DERIVED_CLK usage
- LP: #1408697
* ASoC: cs42l51: re-hook of_match_table pointer
- LP: #1408697
* ASoC: sgtl5000: Fix SMALL_POP bit definition
- LP: #1408697
* ALSA: usb-audio: Add ctrl message delay quirk for Marantz/Denon devices
- LP: #1408697
* bitops: Fix shift overflow in GENMASK macros
- LP: #1408697
* x86: Require exact match for 'noxsave' command line option
- LP: #1408697
* drm/i915: drop WaSetupGtModeTdRowDispatch:snb
- LP: #1408697
* drm/i915: Handle failure to kick out a conflicting fb driver
- LP: #1408697
* drm/i915: Kick fbdev before vgacon
- LP: #1408697
* ASoC: wm_adsp: Avoid attempt to free buffers that might still be in use
- LP: #1408697
* can: dev: avoid calling kfree_skb() from interrupt context
- LP: #1408697
* can: esd_usb2: fix memory leak on disconnect
- LP: #1408697
* x86, mm: Set NX across entire PMD at boot
- LP: #1408697
* x86, kaslr: Handle Gold linker for finding bss/brk
- LP: #1408697
* of/irq: Drop obsolete 'interrupts' vs 'interrupts-extended' text
- LP: #1408697
* of: Fix crash if an earlycon driver is not found
- LP: #1408697
* of/base: Fix PowerPC address parsing hack
- LP: #1408697
* clockevent: sun4i: Fix race condition in the probe code
- LP: #1408697
* MIPS: IP27: Fix __node_distances undefined error
- LP: #1408697
* MIPS: oprofile: Fix backtrace on 64-bit kernel
- LP: #1408697
* MIPS: asm: uaccess: Add v1 register to clobber list on EVA
- LP: #1408697
* MIPS: lib: memcpy: Restore NOP on delay slot before returning to caller
- LP: #1408697
* btrfs: fix lockups from btrfs_clear_path_blocking
- LP: #1408697
* PCI: Support 64-bit bridge windows if we have 64-bit dma_addr_t
- LP: #1408697
* ACPI / PM: Ignore wakeup setting if the ACPI companion can't wake up
- LP: #1408697
* IB/isert: Adjust CQ size to HW limits
- LP: #1408697
* drm/radeon: fix endian swapping in vbios fetch for tdp table
- LP: #1408697
* fold swapping ->d_name.hash into switch_names()
- LP: #1408697
* vfs: Don't exchange "short" filenames unconditionally.
- LP: #1408697
* ARM: pxa: fix hang on startup with DEBUG_LL
- LP: #1408697
* ALSA: hda_intel: Add Device IDs for Intel Sunrise Point PCH
- LP: #1408697
* ALSA: hda_intel: Add DeviceIDs for Sunrise Point-LP
- LP: #1408697
* HID: usbhid: Use flag HID_DISCONNECTED when a usb device is removed
- LP: #1408697
* Bluetooth: Add support for Intel bootloader devices
- LP: #1408697
* Bluetooth: Handle Intel USB bootloader with buggy interrupt
- LP: #1408697
* Bluetooth: Ignore isochronous endpoints for Intel USB bootloader
- LP: #1408697
* Bluetooth: Fix endian and alignment issue with ath3k version handling
- LP: #1408697
* Bluetooth: Add support for Broadcom device of Asus Z97-DELUXE
motherboard
- LP: #1408697
* Bluetooth: Fix crash in the Marvell driver initialization codepath
- LP: #1408697
* Bluetooth: Add support for Acer [13D3:3432]
- LP: #1408697
* Add a new PID/VID 0227/0930 for AR3012.
- LP: #1408697
* Input: xpad - add VID/PID for Razer Sabertooth
- LP: #1408697
* Input: xpad - sync device IDs with xboxdrv
- LP: #1408697
* Input: xpad - add USB ID for Thrustmaster Ferrari 458 Racing Wheel
- LP: #1408697
* Input: serio - avoid negative serio device numbers
- LP: #1408697
* nfs: Don't busy-wait on SIGKILL in __nfs_iocounter_wait
- LP: #1408697
* aio: fix uncorrent dirty pages accouting when truncating AIO ring
buffer
- LP: #1408697
* ARM: mvebu: add missing of_node_put() call in coherency.c
- LP: #1408697
* spi: dw: Fix dynamic speed change.
- LP: #1408697
* USB: serial: cp210x: add IDs for CEL MeshConnect USB Stick
- LP: #1408697
* iio: Fix IIO_EVENT_CODE_EXTRACT_DIR bit mask
- LP: #1408697
* iio: adc: men_z188_adc: Add terminating entry for men_z188_ids
- LP: #1408697
* Input: synaptics - adjust min/max on Thinkpad E540
- LP: #1408697
* spi: Fix mapping from vmalloc-ed buffer to scatter list
- LP: #1408697
* clk-divider: Fix READ_ONLY when divider > 1
- LP: #1408697
* spi: sirf: fix word width configuration
- LP: #1408697
* usb: serial: ftdi_sio: add PIDs for Matrix Orbital products
- LP: #1408697
* USB: keyspan: fix tty line-status reporting
- LP: #1408697
* USB: keyspan: fix overrun-error reporting
- LP: #1408697
* USB: ssu100: fix overrun-error reporting
- LP: #1408697
* nfsd: correctly define v4.2 support attributes
- LP: #1408697
* SUNRPC: Fix locking around callback channel reply receive
- LP: #1408697
* nfsd: Fix slot wake up race in the nfsv4.1 callback code
- LP: #1408697
* bnx2fc: do not add shared skbs to the fcoe_rx_list
- LP: #1408697
* scsi: add Intel Multi-Flex to scsi scan blacklist
- LP: #1408697
* ARM: 8216/1: xscale: correct auxiliary register in suspend/resume
- LP: #1408697
* USB: uas: Add no-uas quirk for Hitachi usb-3 enclosures 4971:1012
- LP: #1408697
* USB: xhci: don't start a halted endpoint before its new dequeue is set
- LP: #1408697
* USB: xhci: Reset a halted endpoint immediately when we encounter a
stall.
- LP: #1408697
* usb: xhci: rework root port wake bits if controller isn't allowed to
wakeup
- LP: #1408697
* ixgbe: Correctly disable VLAN filter in promiscuous mode
- LP: #1408697
* ixgbe: Fix possible null-dereference in error path
- LP: #1408697
* ixgbe: fix use after free adapter->state test in
ixgbe_remove/ixgbe_probe
- LP: #1408697
* ALSA: hda - Limit 40bit DMA for AMD HDMI controllers
- LP: #1408697
* PCI/MSI: Add device flag indicating that 64-bit MSIs don't work
- LP: #1408697
* gpu/radeon: Set flag to indicate broken 64-bit MSI
- LP: #1408697
* sound/radeon: Move 64-bit MSI quirk from arch to driver
- LP: #1408697
* powerpc/pseries: Honor the generic "no_64bit_msi" flag
- LP: #1408697
* MIPS: r4kcache: Add EVA case for protected_writeback_dcache_line
- LP: #1408697
* MIPS: cpu-probe: Set the FTLB probability bit on supported cores
- LP: #1408697
* MIPS: fix EVA & non-SMP non-FPU FP context signal handling
- LP: #1408697
* MIPS: Loongson: Make platform serial setup always built-in.
- LP: #1408697
* drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset
- LP: #1408697
* net/ping: handle protocol mismatching scenario
- LP: #1408697
* usb-quirks: Add reset-resume quirk for MS Wireless Laser Mouse 6000
- LP: #1408697
* Input: xpad - use proper endpoint type
- LP: #1408697
* powerpc/powernv: Replace OPAL_DEASSERT_RESET with EEH_RESET_DEACTIVATE
- LP: #1408697
* powerpc: 32 bit getcpu VDSO function uses 64 bit instructions
- LP: #1408697
* drm/radeon: report disconnected for LVDS/eDP with PX if ddc fails
- LP: #1408697
* ARM: 8222/1: mvebu: enable strex backoff delay
- LP: #1408697
* ARM: 8226/1: cacheflush: get rid of restarting block
- LP: #1408697
* staging: r8188eu: Add new device ID for DLink GO-USB-N150
- LP: #1408697
* btrfs: zero out left over bytes after processing compression streams
- LP: #1408697
* uprobes, x86: Fix _TIF_UPROBE vs _TIF_NOTIFY_RESUME
- LP: #1408697
* powerpc/powernv: Honor the generic "no_64bit_msi" flag
- LP: #1408697
* net: sun4i-emac: fix memory leak on bad packet
- LP: #1408697
* drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets
- LP: #1408697
* smiapp: Only some selection targets are settable
- LP: #1408697
* i2c: omap: fix NACK and Arbitration Lost irq handling
- LP: #1408697
* s2255drv: fix payload size for JPG, MJPEG
- LP: #1408697
* x86: Use $(OBJDUMP) instead of plain objdump
- LP: #1408697
* of/fdt: memblock_reserve /memreserve/ regions in the case of partial
overlap
- LP: #1408697
* drm/nouveau/gf116: remove copy1 engine
- LP: #1408697
* nouveau: move the hotplug ignore to correct place.
- LP: #1408697
* ALSA: hda/realtek - Add headset Mic support for new Dell machine
- LP: #1408697
* drm/i915: More cautious with pch fifo underruns
- LP: #1408697
* drm/i915: Unlock panel even when LVDS is disabled
- LP: #1408697
* AHCI: Add DeviceIDs for Sunrise Point-LP SATA controller
- LP: #1408697
* sata_fsl: fix error handling of irq_of_parse_and_map
- LP: #1408697
* drm/radeon: kernel panic in drm_calc_vbltimestamp_from_scanoutpos with
3.18.0-rc6
- LP: #1408697
* mm: frontswap: invalidate expired data on a dup-store failure
- LP: #1408697
* mm/vmpressure.c: fix race in vmpressure_work_fn()
- LP: #1408697
* drivers/input/evdev.c: don't kfree() a vmalloc address
- LP: #1408697
* mm: fix swapoff hang after page migration and fork
- LP: #1408697
* mm: fix anon_vma_clone() error treatment
- LP: #1408697
* slab: fix nodeid bounds check for non-contiguous node IDs
- LP: #1408697
* ahci: disable MSI on SAMSUNG 0xa800 SSD
- LP: #1408697
* i2c: davinci: generate STP always when NACK is received
- LP: #1408697
* i2c: cadence: Set the hardware time-out register to maximum value
- LP: #1408697
* drm/radeon: sync all BOs involved in a CS v2
- LP: #1408697
* ip_tunnel: the lack of vti_link_ops' dellink() cause kernel panic
- LP: #1408697
* ipv6: gre: fix wrong skb->protocol in WCCP
- LP: #1408697
* Fix race condition between vxlan_sock_add and vxlan_sock_release
- LP: #1408697
* tg3: fix ring init when there are more TX than RX channels
- LP: #1408697
* net/mlx4_core: Limit count field to 24 bits in qp_alloc_res
- LP: #1408697
* bond: Check length of IFLA_BOND_ARP_IP_TARGET attributes
- LP: #1408697
* rtnetlink: release net refcnt on error in do_setlink()
- LP: #1408697
* gre: Set inner mac header in gro complete
- LP: #1408697
* mips: bpf: Fix broken BPF_MOD
- LP: #1408697
* net: mvneta: fix Tx interrupt delay
- LP: #1408697
* net: mvneta: fix race condition in mvneta_tx()
- LP: #1408697
* net: sctp: use MAX_HEADER for headroom reserve in output path
- LP: #1408697
* i2c: omap: fix i207 errata handling
- LP: #1408697
* x86/asm/traps: Disable tracing and kprobes in fixup_bad_iret and
sync_regs
- LP: #1408697
* USB: add reset resume quirk for usb3503
- LP: #1408697
* PCI: pciehp: Prevent NULL dereference during probe
- LP: #1408697
* Linux 3.16.7-ckt3
- LP: #1408697
* Drivers: hv: util: make struct hv_do_fcopy match Hyper-V host messages
- LP: #1401903
-- Seth Forshee <seth.forshee@xxxxxxxxxxxxx> Mon, 12 Jan 2015 14:11:48 -0600
** 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/1402141
Title:
Ubuntu 14.10 freezes when use smt-enabled=off as kernel argument
Status in linux package in Ubuntu:
Fix Committed
Status in linux source package in Utopic:
Fix Released
Bug description:
SRU Justification:
Impact: Booting a POWER8 machine with smt-enabled=off will cause a system to hang at "Freeing initrd memory", note is only affects kernel with powernv split-core support.
Fix: commit d70a54e2d08510a99b1f10eceeae6f2f7086e226 upstream
Testcase: Boot with smt-enabled=off on a POWER8 machine
--
== Comment: #0 - Paulo Flabiano Smorigo <pfsmorigo@xxxxxxxxxx> - 2014-11-18 12:28:42 ==
Using Ubuntu as the host, if you add smt-enabled=off as kernel argument, the system will boot until the "Freeing initrd memory" line:
...
[ 1.371729] vgaarb: loaded
[ 1.372989] SCSI subsystem initialized
[ 1.373977] libata version 3.00 loaded.
[ 1.374158] usbcore: registered new interface driver usbfs
[ 1.374246] usbcore: registered new interface driver hub
[ 1.374382] usbcore: registered new device driver usb
[ 1.374505] pps_core: LinuxPPS API ver. 1 registered
[ 1.374563] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx>
[ 1.374671] PTP clock support registered
[ 1.377135] NetLabel: Initializing
[ 1.377218] NetLabel: domain hash size = 128
[ 1.377328] NetLabel: protocols = UNLABELED CIPSOv4
[ 1.377472] NetLabel: unlabeled traffic allowed by default
[ 1.377983] Switched to clocksource timebase
[ 1.395029] AppArmor: AppArmor Filesystem Enabled
[ 1.402044] NET: Registered protocol family 2
[ 1.403795] TCP established hash table entries: 524288 (order: 6, 4194304 bytes)
[ 1.408343] TCP bind hash table entries: 65536 (order: 4, 1048576 bytes)
[ 1.409301] TCP: Hash tables configured (established 524288 bind 65536)
[ 1.409490] TCP: reno registered
[ 1.409645] UDP hash table entries: 65536 (order: 5, 2097152 bytes)
[ 1.411943] UDP-Lite hash table entries: 65536 (order: 5, 2097152 bytes)
[ 1.415409] NET: Registered protocol family 1
[ 1.415753] PCI: CLS 128 bytes, default 128
[ 1.415962] Trying to unpack rootfs image as initramfs...
[ 2.250464] Freeing initrd memory: 21952K (c000000003820000 - c000000004d90000)
Machine Type = Power 8 (S822L)
== Comment: #1 - Thadeu Lima De Souza Cascardo <thadeul@xxxxxxxxxx> - 2014-11-18 13:42:37 ==
What is the firmware version?
Cascardo.
== Comment: #2 - Paulo Flabiano Smorigo <pfsmorigo@xxxxxxxxxx> - 2014-11-19 07:13:35 ==
Currently is FW810.02 (SV810_061). Will update it today.
Smorigo.
== Comment: #3 - Paulo Flabiano Smorigo <pfsmorigo@xxxxxxxxxx> - 2014-11-19 12:47:24 ==
Updated to FW810.20 (SV810_101). Nothing changed.
== Comment: #4 - Greg Kurz <KURZGREG@xxxxxxxxxx> - 2014-11-20 05:47:45 ==
I reproduce it on a s824 with the FW810.20 (TV810_101) firmware, running 14.04.2 "alpha" (kernel 3.16.0-25). The issue doesn't show up with kernel 3.13.0-39. I shall try mainline and do some bisect.
== Comment: #5 - Greg Kurz <KURZGREG@xxxxxxxxxx> - 2014-11-20 13:31:03 ==
FYI issue is upstream.
== Comment: #6 - Breno Henrique Leitao <brenohl@xxxxxxxxxx> - 2014-11-24 11:23:04 ==
(In reply to comment #5)
> FYI issue is upstream.
Greg, are you working to solve this issue?
== Comment: #7 - Greg Kurz <KURZGREG@xxxxxxxxxx> - 2014-11-24 12:08:33 ==
(In reply to comment #6)
> (In reply to comment #5)
> > FYI issue is upstream.
>
> Greg, are you working to solve this issue?
Yes I am.
== Comment: #8 - Greg Kurz <KURZGREG@xxxxxxxxxx> - 2014-12-01 04:56:07 ==
The hang occurs because all running threads are looping in the split core code:
static void wait_for_sync_step(int step)
{
int i, cpu = smp_processor_id();
for (i = cpu + 1; i < cpu + threads_per_core; i++)
> while(per_cpu(split_state, i).step < step)
> barrier();
The problem is that the split core code needs all possible threads to
participate... if the kernel is booted with smt-enabled set to
something different than the maximum value, some threads are missing
and this ruins the sync.
== Comment: #9 - Greg Kurz <KURZGREG@xxxxxxxxxx> - 2014-12-01 05:24:28 ==
The current implementaqtion for smt-enabled= is a hack: it simply leaves hw threads looping where they happen to be (firmware probably)... This isn't acceptable in a production environment.
An "acceptable" fix would be to start all threads anyway and offline
the ones that need to be to honour the requested SMT mode AFTER
subcores init. This requires a non-trivial patch.
Since changing SMT mode from userspace when the system is booted is
really straightforward, Michael Ellerman suggests we simply drop that
smt-enabled= feature.
Smorigo,
Why were you using smt-enabled= ? Is there a reason not to do it after the system is booted with
ppc64_cpu --smt or writing directly to /sys/devices/system/cpu/cpu*/online ?
== Comment: #10 - Paulo Flabiano Smorigo <pfsmorigo@xxxxxxxxxx> - 2014-12-01 06:23:34 ==
I used smt-enabled= because for me was the easier way to disable it. Like, add this parameter in GRUB_CMDLINE_LINUX and done. :)
I'll check if there is a problem to drop it.
== Comment: #11 - Paulo Flabiano Smorigo <pfsmorigo@xxxxxxxxxx> - 2014-12-01 08:30:55 ==
Greg, are you saying to dropping it for good? Maybe we can add that as a feature request for next year. Btw, I'm ok with drop it for now.
== Comment: #12 - Greg Kurz <KURZGREG@xxxxxxxxxx> - 2014-12-01 09:30:00 ==
(In reply to comment #11)
> Greg, are you saying to dropping it for good? Maybe we can add that as a
> feature request for next year. Btw, I'm ok with drop it for now.
Yes, drop it for good as suggested by Michael Ellerman...
<mpe> groug: that smt-enabled stuff is just a hack. It leaves the cpu executing wherever it happens to be, possibly in firmware, possibly busy looping somewhere, it's really no good for use in production
<mpe> the only way we could make it usable I think is to have the cpu come up, and then we offline it
<mpe> but I'm really inclined to say that should just be done in userspace
<groug> mpe, yeah... I had thought of something similar (starting and then offlining) but I agree it should be handled from userspace
<mpe> I'll talk to benh and anton about it tomorrow, but I think we just rip it out
The point is that it is already extremely easy to change SMT mode from
an init script and you get the same result... compared to the hassle
of doing it in the kernel without breaking things. Not even worth a
feature request I would say.
== Comment: #13 - Greg Kurz <KURZGREG@xxxxxxxxxx> - 2014-12-12 08:50:25 ==
I've sent a patch:
powerpc/powernv: force all CPUs to be bootable
http://patchwork.ozlabs.org/patch/420440/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1402141/+subscriptions