Hi, retried with the kernel-parameter softlockup_panic=1 , to get a stack-strace. For me, the stacktrace seems to point to the sound-driver:
[ 180.226284] NMI watchdog: Watchdog detected hard LOCKUP on cpu 1^AdModules linked in:^Ac ccm^Ac rfcomm^Ac vmw_vsock_vmci_transport^Ac vsock^Ac vmw_vmci^Ac bnep^Ac acer_wmi^Ac sparse_keymap^A c snd_hda_codec_hdmi^Ac intel_rapl^Ac x86_pkg_temp_thermal^Ac intel_powerclamp^Ac coretemp^Ac kvm_intel^Ac kvm^Ac irqbypass^Ac crct10dif_pclmul^Ac crc32_pclmul^Ac ghash_clmulni_intel^Ac aesni_i ntel^Ac aes_x86_64^Ac lrw^Ac glue_helper^Ac ablk_helper^Ac cryptd^Ac intel_cstate^Ac arc4^Ac uvcvideo^Ac intel_rapl_perf^Ac videobuf2_vmalloc^Ac videobuf2_memops^Ac videobuf2_v4l2^Ac videobuf2_ core^Ac ath9k^Ac snd_hda_codec_realtek^Ac snd_hda_codec_generic^Ac joydev^Ac input_leds^Ac ath9k_common^Ac snd_seq_midi^Ac ath9k_hw^Ac snd_seq_midi_event^Ac snd_hda_intel^Ac videodev^Ac serio_r aw^Ac snd_hda_codec^Ac ath3k^Ac ath^Ac snd_hda_core^Ac btusb^Ac snd_hwdep^Ac snd_rawmidi^Ac btrtl^Ac mac80211^Ac snd_pcm^Ac btbcm^Ac media^Ac btintel^Ac rtsx_pci_ms^Ac bluetooth^Ac cfg80211^Ac snd_seq^Ac snd_seq_device^Ac memstick^Ac lpc_ich^Ac snd_timer^Ac snd^Ac soundcore^Ac mei_me^Ac mei^Ac shpchp^Ac [ 180.238400] CPU: 1 PID: 3175 Comm: alsa-sink-HDMI Not tainted 4.9.0-040900rc8-generic #201612051443 [ 180.240530] Hardware name: Acer TravelMate 8481TG/BA41_HS, BIOS V1.16 11/28/2012 [ 180.242699] ffff8be0ffa45b50^Ac ffffffffac2177d2^Ac 0000000000000000^Ac 0000000000000000^Ac [ 180.244882] ffff8be0ffa45b68^Ac ffffffffabf46df6^Ac ffff8be0f5edc000^Ac ffff8be0ffa45ba0^Ac [ 180.247056] ffffffffabf8fd23^Ac 0000000000000001^Ac ffff8be0ffa4a400^Ac ffff8be0f5edc000^Ac [ 180.249166] Call Trace: [ 180.251194] <NMI> [<ffffffffac2177d2>] dump_stack+0x63/0x81 [ 180.253168] [<ffffffffabf46df6>] watchdog_overflow_callback+0xb6/0xe0 [ 180.255016] [<ffffffffabf8fd23>] __perf_event_overflow+0x83/0x1b0 [ 180.256898] [<ffffffffabf9bb14>] perf_event_overflow+0x14/0x20 [ 180.258775] [<ffffffffabe0c7c5>] intel_pmu_handle_irq+0x1d5/0x490 [ 180.260641] [<ffffffffabe058cc>] perf_event_nmi_handler+0x2c/0x50 [ 180.262476] [<ffffffffabe313ea>] nmi_handle+0x6a/0x120 [ 180.264273] [<ffffffffabe31973>] default_do_nmi+0x53/0x110 [ 180.266057] [<ffffffffabe31b49>] do_nmi+0x119/0x180 [ 180.267837] [<ffffffffac68ef01>] end_repeat_nmi+0x1a/0x1e [ 180.269588] [<ffffffffabed13c9>] ? native_queued_spin_lock_slowpath+0x179/0x1a0 [ 180.271304] [<ffffffffabed13c9>] ? native_queued_spin_lock_slowpath+0x179/0x1a0 [ 180.273036] [<ffffffffabed13c9>] ? native_queued_spin_lock_slowpath+0x179/0x1a0 [ 180.274753] <EOE> [<ffffffffac68d680>] _raw_spin_lock+0x20/0x30 [ 180.276479] [<ffffffffc0a9d911>] azx_pcm_trigger+0x171/0x280 [snd_hda_codec] [ 180.278231] [<ffffffffc086f69e>] snd_pcm_do_stop+0x3e/0x50 [snd_pcm] [ 180.279982] [<ffffffffc086f47f>] snd_pcm_action_single+0x2f/0x70 [snd_pcm] [ 180.281737] [<ffffffffc086f633>] snd_pcm_action+0x103/0x110 [snd_pcm] [ 180.283487] [<ffffffffc08703c1>] snd_pcm_drop+0x61/0x90 [snd_pcm] [ 180.285238] [<ffffffffc087276f>] snd_pcm_common_ioctl1+0x7cf/0xc90 [snd_pcm] [ 180.286912] [<ffffffffac086487>] ? eventfd_ctx_read+0x67/0x210 [ 180.288619] [<ffffffffabeb0cb0>] ? wake_up_q+0x80/0x80 [ 180.290312] [<ffffffffc0872d69>] snd_pcm_playback_ioctl1+0x139/0x260 [snd_pcm] [ 180.292008] [<ffffffffc0872eb7>] snd_pcm_playback_ioctl+0x27/0x40 [snd_pcm] [ 180.293682] [<ffffffffac04bc23>] do_vfs_ioctl+0xa3/0x600 [ 180.295356] [<ffffffffac03715b>] ? vfs_read+0x11b/0x130 [ 180.297019] [<ffffffffac04c1f9>] SyS_ioctl+0x79/0x90 [ 180.298679] [<ffffffffac68d7bb>] entry_SYSCALL_64_fastpath+0x1e/0xad (full log is attached ** Attachment added: "netconsole-mainline5.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1647048/+attachment/4788854/+files/netconsole-mainline5.log -- 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/1647048 Title: System freezes after login (NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s) Status in linux package in Ubuntu: Confirmed Bug description: Hi, Since I updated to kubuntu 16.10 I quite often have the situation that my laptop completely freezes after login in sddm (that means: while KDE is loading). During that time: - Fans run high - laptop is completely unuseable (no mouse or keyboard-input accepted, can't switch to other terminal, etc ...) - only a long press to the power-button helps . - network-connections break (tried to monitor the system remotely, but when the error occurs, also the ssh-connection fails) - the kern.log stops and contains only a few lines of rubbish: Dec 3 11:01:37 orbit kernel: [ 18.951805] ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM Dec 3 11:01:37 orbit kernel: [ 18.951808] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160422/nsarguments-95) Dec 3 11:01:37 orbit kernel: [ 18.951891] nouveau 0000:01:00.0: DRM: suspending console... Dec 3 11:01:37 orbit kernel: [ 18.951894] nouveau 0000:01:00.0: DRM: suspending display... Dec 3 11:01:37 orbit kernel: [ 18.951902] nouveau 0000:01:00.0: DRM: evicting buffers... Dec 3 11:01:37 orbit kernel: [ 18.960908] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle... Dec 3 11:01:37 orbit kernel: [ 18.960935] nouveau 0000:01:00.0: DRM: suspending client object trees... Dec 3 11:01:37 orbit kernel: [ 18.961192] nouveau 0000:01:00.0: DRM: suspending kernel object tree... ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ... - installed and tested kernel-crashdump, but in this situation it is not triggered (or fails to write a coredump) - (once I tried to leave the machin alone for about 30 min, it does not recover...) As a last resort, I installed netconsole and captured the kernel.log on a remote machine, this revealed, that during the lookup, following "soft lockups" occur: [ 107.926161] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [baloo_file:2491] [ 107.926172] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm rfcomm bnep joydev acer_wmi sparse_keymap snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw glue_helper ablk_helper cryptd intel_cstate arc4 intel_rapl_perf ath9k ath9k_common ath9k_hw ath input_leds mac80211 uvcvideo serio_raw videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb btrtl videodev btbcm rtsx_pci_ms btintel cfg80211 media snd_hda_codec_realtek bluetooth snd_hda_codec_generic lpc_ich memstick snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq_midi snd_pcm[ 135.919531] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [baloo_file:2491] [ 135.919536] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm rfcomm bnep joydev acer_wmi sparse_keymap snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw glue_helper ablk_helper cryptd intel_cstate arc4 intel_rapl_perf ath9k ath9k_common ath9k_hw ath input_leds mac80211 uvcvideo serio_raw videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb btrtl videodev btbcm rtsx_pci_ms btintel cfg80211 media snd_hda_codec_realtek bluetooth snd_hda_codec_generic lpc_ich memstick snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq_midi snd_pcm[ 159.917848] NMI watchdog: BUG: soft lockup - CPU#2 stuck for 22s! [systemd-timesyn:502] [ 159.917853] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm rfcomm bnep joydev acer_wmi sparse_keymap snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw glue_helper ablk_helper cryptd intel_cstate arc4 intel_rapl_perf ath9k ath9k_common ath9k_hw ath input_leds mac80211 uvcvideo serio_raw videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb btrtl videodev btbcm rtsx_pci_ms btintel cfg80211 media snd_hda_codec_realtek bluetooth snd_hda_codec_generic lpc_ich memstick snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq_midi snd_pcm[ 163.912901] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [baloo_file:2491] [ 163.912904] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm rfcomm bnep joydev acer_wmi sparse_keymap snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw glue_helper ablk_helper cryptd intel_cstate arc4 intel_rapl_perf ath9k ath9k_common ath9k_hw ath input_leds mac80211 uvcvideo serio_raw videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb btrtl videodev btbcm rtsx_pci_ms btintel cfg80211 media snd_hda_codec_realtek bluetooth snd_hda_codec_generic lpc_ich memstick snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq_midi snd_pcm[ 187.911218] NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [systemd-timesyn:502] [ 187.911221] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm rfcomm bnep joydev acer_wmi sparse_keymap snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw glue_helper ablk_helper cryptd intel_cstate arc4 intel_rapl_perf ath9k ath9k_common ath9k_hw ath input_leds mac80211 uvcvideo serio_raw videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb btrtl videodev btbcm rtsx_pci_ms btintel cfg80211 media snd_hda_codec_realtek bluetooth snd_hda_codec_generic lpc_ich memstick snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq_midi snd_pcm[ 191.906272] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [baloo_file:2491] [ 191.906275] Modules linked in: vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) ccm rfcomm bnep joydev acer_wmi sparse_keymap snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw glue_helper ablk_helper cryptd intel_cstate arc4 intel_rapl_perf ath9k ath9k_common ath9k_hw ath input_leds mac80211 uvcvideo serio_raw videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ath3k videobuf2_core btusb btrtl videodev btbcm rtsx_pci_ms btintel cfg80211 media snd_hda_codec_realtek bluetooth snd_hda_codec_generic lpc_ich memstick snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq_midi snd_pcm About my setup: lsb_release -rd Description: Ubuntu 16.10 Release: 16.10 (using kubuntu) uname -a Linux orbit 4.8.0-28-generic #30-Ubuntu SMP Fri Nov 11 14:03:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Attached tgz contains: - the log taken from netconsole - the kernel-log from the frozen machine (the netconsole.log belongs to the freeeze at "Dec 3 14:09:40") - the output of dpkg -l (to provide a full list of installed packages/versions) The issue occurs approx. every 3-4 logins, regardless whether it's a fersh startup, or if i logged out before/change user. --- ApportVersion: 2.20.3-0ubuntu8 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: misko 1761 F.... pulseaudio /dev/snd/controlC0: misko 1761 F.... pulseaudio CurrentDesktop: KDE DistroRelease: Ubuntu 16.10 HibernationDevice: RESUME=UUID=63876c7b-49f9-44df-9fdb-86f3dd1557a1 InstallationDate: Installed on 2016-06-09 (176 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) MachineType: Acer TravelMate 8481TG Package: linux (not installed) ProcFB: 0 inteldrmfb 1 nouveaufb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.8.0-28-generic root=UUID=f65e0ccb-17e7-48a8-93ea-f130239d4aa0 ro noprompt debug ignore_loglevel crashkernel=384M-:128M ProcVersionSignature: Ubuntu 4.8.0-28.30-generic 4.8.6 RelatedPackageVersions: linux-restricted-modules-4.8.0-28-generic N/A linux-backports-modules-4.8.0-28-generic N/A linux-firmware 1.161 Tags: yakkety Uname: Linux 4.8.0-28-generic x86_64 UpgradeStatus: Upgraded to yakkety on 2016-11-22 (10 days ago) UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo wireshark _MarkForUpload: True dmi.bios.date: 11/28/2012 dmi.bios.vendor: Acer dmi.bios.version: V1.16 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: BA41_HS dmi.board.vendor: Acer dmi.board.version: Base Board Version dmi.chassis.type: 10 dmi.chassis.vendor: Acer dmi.chassis.version: V1.16 dmi.modalias: dmi:bvnAcer:bvrV1.16:bd11/28/2012:svnAcer:pnTravelMate8481TG:pvrV1.16:rvnAcer:rnBA41_HS:rvrBaseBoardVersion:cvnAcer:ct10:cvrV1.16: dmi.product.name: TravelMate 8481TG dmi.product.version: V1.16 dmi.sys.vendor: Acer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1647048/+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