You are not logged in.

#1 2016-11-19 19:32:01

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 374

linux 4.8.9-1 combined with sddm enabled freezes complete machine

Today I tried to update from linux 4.8.8 to linux 4.8.9-1. All went smooth but after the reboot my sddm did not start and the machine freezed completely. I used an Arch ISO to mount my system disk partitions, ran fsck which found and corrected some errors and then  completed o.k. I haven't seen a hard crash during an update for a long time now...

I then mounted my system partitions, chrooted in an downgraded kernel and kernel headers to 4.8.8 and after a reboot the system was back up again. I tried this twice just to rule out a defect download - both times with the same result sad

If I had to point at something I'd suspect sddm in conjunction with the graphics driver nvidia-340xx 340.98-2 is causing this.

Two other systems - one with amdgpu and a laptop with intel graphics driver were upgrading without errors at the same time.

Anyone experiencing the same?

Harvey

Last edited by Harey (2016-11-19 19:32:59)


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#2 2016-11-19 19:44:49

Zeik
Member
From: Ontario, Canada
Registered: 2013-06-05
Posts: 1

Re: linux 4.8.9-1 combined with sddm enabled freezes complete machine

I think I'm seeing the same issue, seems like linux 4.8.9 + Xorg 1.18.4 + nvidia driver causes problems, though I could still ssh into the machine, only Xorg was broke (and was not killable)

I am not using sddm, so it is likely unrelated to that.

Nov 19 11:24:21 zach-desktop kernel: BUG: unable to handle kernel paging request at ffffea0f981daf20
Nov 19 11:24:21 zach-desktop kernel: IP: [<ffffffffc0be08af>] nv_alloc_contig_pages+0x11f/0x480 [nvidia]
Nov 19 11:24:21 zach-desktop kernel: PGD 21d7f3067 PUD 0 
Nov 19 11:24:21 zach-desktop kernel: Oops: 0000 [#1] PREEMPT SMP
Nov 19 11:24:21 zach-desktop kernel: Modules linked in: tun snd_hda_codec_hdmi nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) joydev mousedev input_leds intel_rapl led_class x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul snd_usb_audio drm_kms_helper ghash_clmulni_intel aesni_intel snd_usbmidi_lib aes_x86_64 mei_wdt lrw iTCO_wdt gf128mul glue_helper ablk_helper mac_hid cryptd snd_hda_intel iTCO_vendor_support evdev drm snd_rawmidi snd_hda_codec syscopyarea sysfillrect snd_seq_device intel_cstate intel_rapl_perf snd_hda_core sysimgblt fb_sys_fops snd_hwdep snd_pcm r8169 snd_timer snd ie31200_edac soundcore mei_me i2c_i801 mii hid_generic psmouse pcspkr mei edac_core hid_logitech_hidpp shpchp i2c_smbus lpc_ich nuvoton_cir battery video rc_core fjes tpm_tis tpm_tis_core tpm button nfsd auth_rpcgss oid_registry
Nov 19 11:24:21 zach-desktop kernel:  nfs_acl lockd grace sunrpc sch_fq_codel ip_tables x_tables hid_logitech_dj usbhid hid f2fs fscrypto sd_mod serio_raw atkbd libps2 crc32c_intel ahci libahci libata xhci_pci ehci_pci xhci_hcd ehci_hcd scsi_mod usbcore usb_common i8042 serio crc32_pclmul
Nov 19 11:24:21 zach-desktop kernel: CPU: 1 PID: 356 Comm: Xorg Tainted: P           O    4.8.9-1-ARCH #1
Nov 19 11:24:21 zach-desktop kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B75 Pro3, BIOS P1.90 12/20/2013
Nov 19 11:24:21 zach-desktop kernel: task: ffff8be6087caac0 task.stack: ffff8be6087d0000
Nov 19 11:24:21 zach-desktop kernel: RIP: 0010:[<ffffffffc0be08af>]  [<ffffffffc0be08af>] nv_alloc_contig_pages+0x11f/0x480 [nvidia]
Nov 19 11:24:21 zach-desktop kernel: RSP: 0018:ffff8be6087d3890  EFLAGS: 00010286
Nov 19 11:24:21 zach-desktop kernel: RAX: 000003e6076bc000 RBX: 0000000000000000 RCX: ffffea0000000000
Nov 19 11:24:21 zach-desktop kernel: RDX: ffffea0f981daf00 RSI: ffff8be6076131a0 RDI: 000077ff80000000
Nov 19 11:24:21 zach-desktop kernel: RBP: ffff8be6087d38d8 R08: 000000000001bab0 R09: ffffea00081db000
Nov 19 11:24:21 zach-desktop kernel: R10: 0000000000000000 R11: ffff8be61dff6b80 R12: ffff8be6076bc000
Nov 19 11:24:21 zach-desktop kernel: R13: ffff880000000000 R14: ffff880080000000 R15: ffff8be60ce5a120
Nov 19 11:24:21 zach-desktop kernel: FS:  00007f063e82d940(0000) GS:ffff8be61dc80000(0000) knlGS:0000000000000000
Nov 19 11:24:21 zach-desktop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 19 11:24:21 zach-desktop kernel: CR2: ffffea0f981daf20 CR3: 0000000208772000 CR4: 00000000001406e0
Nov 19 11:24:21 zach-desktop kernel: Stack:
Nov 19 11:24:21 zach-desktop kernel:  0000000000000002 ffff8be607613078 ffff8be61116e800 00000000d50a7416
Nov 19 11:24:21 zach-desktop kernel:  0000000000000004 0000000000000003 0000000000000001 ffff8be61116e800
Nov 19 11:24:21 zach-desktop kernel:  ffff8be61116e800 ffff8be6087d3940 ffffffffc0bd8cd3 ffff8be6150032c0
Nov 19 11:24:21 zach-desktop kernel: Call Trace:
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0bd8cd3>] nv_alloc_pages+0x103/0x1d0 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91329590>] ? swiotlb_sync_sg_for_device+0x60/0x60
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc11761c6>] _nv017408rm+0xe6/0x270 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc1176124>] ? _nv017408rm+0x44/0x270 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0f365c5>] ? _nv015616rm+0x475/0x630 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0f368a0>] ? _nv015609rm+0x120/0x410 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0d1036e>] ? _nv000407rm+0x22e/0x370 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0d0fa76>] ? _nv000414rm+0xb6/0x330 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0ced01c>] ? _nv021875rm+0x1bc/0x330 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc11882aa>] ? _nv017538rm+0x1ea/0xad0 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc11898c9>] ? _nv000796rm+0x279/0x6e0 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc117d888>] ? rm_init_adapter+0x128/0x130 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff910a5f7f>] ? ttwu_do_activate+0x6f/0x80
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff910a6dc5>] ? wake_up_process+0x15/0x20
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0bd748f>] ? nv_open_device+0x12f/0x6b0 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff911e29b1>] ? kmem_cache_alloc+0x171/0x1b0
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0bd7db6>] ? nvidia_open+0x206/0x2f0 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0bd6322>] ? nvidia_frontend_open+0x52/0xa0 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff9120e560>] ? chrdev_open+0xb0/0x1e0
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91206e35>] ? do_dentry_open+0x205/0x2e0
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff9120e4b0>] ? cdev_put+0x30/0x30
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91207eec>] ? vfs_open+0x4c/0x70
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91215b6b>] ? may_open+0x9b/0x100
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91217ee2>] ? path_openat+0x282/0x1170
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff9122abf2>] ? legitimize_mnt+0x12/0x60
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91230648>] ? simple_xattr_get+0x68/0xb0
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff912b3f78>] ? security_capable+0x48/0x60
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91226912>] ? setattr_copy+0x82/0x100
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91219fa1>] ? do_filp_open+0x91/0x100
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91227ec9>] ? __alloc_fd+0xc9/0x180
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91208317>] ? do_sys_open+0x147/0x210
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91207d5d>] ? SyS_fchownat+0xdd/0x110
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff912083fe>] ? SyS_open+0x1e/0x20
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff915f7f32>] ? entry_SYSCALL_64_fastpath+0x1a/0xa4
Nov 19 11:24:21 zach-desktop kernel: Code: f2 4a 8d 14 30 48 39 d7 48 bf 00 00 00 80 ff 77 00 00 48 89 06 48 0f 47 3d 6f c7 e2 d0 48 01 fa 48 c1 ea 0c 48 c1 e2 06 48 01 ca <4c> 8b 4a 20 49 8d 79 ff 41 83 e1 01 48 0f 44 fa 8b 7f 1c 4c 89 
Nov 19 11:24:21 zach-desktop kernel: RIP  [<ffffffffc0be08af>] nv_alloc_contig_pages+0x11f/0x480 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  RSP <ffff8be6087d3890>
Nov 19 11:24:21 zach-desktop kernel: CR2: ffffea0f981daf20
Nov 19 11:24:21 zach-desktop kernel: ---[ end trace a69f1eacaa2cab37 ]---
Nov 19 11:24:21 zach-desktop kernel: BUG: unable to handle kernel paging request at 00000001911e34d8
Nov 19 11:24:21 zach-desktop kernel: IP: [<ffffffffc10b7c25>] _nv015293rm+0x4b5/0x520 [nvidia]
Nov 19 11:24:21 zach-desktop kernel: PGD 0 
Nov 19 11:24:21 zach-desktop kernel: Oops: 0000 [#2] PREEMPT SMP
Nov 19 11:24:21 zach-desktop kernel: Modules linked in: tun snd_hda_codec_hdmi nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) joydev mousedev input_leds intel_rapl led_class x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul snd_usb_audio drm_kms_helper ghash_clmulni_intel aesni_intel snd_usbmidi_lib aes_x86_64 mei_wdt lrw iTCO_wdt gf128mul glue_helper ablk_helper mac_hid cryptd snd_hda_intel iTCO_vendor_support evdev drm snd_rawmidi snd_hda_codec syscopyarea sysfillrect snd_seq_device intel_cstate intel_rapl_perf snd_hda_core sysimgblt fb_sys_fops snd_hwdep snd_pcm r8169 snd_timer snd ie31200_edac soundcore mei_me i2c_i801 mii hid_generic psmouse pcspkr mei edac_core hid_logitech_hidpp shpchp i2c_smbus lpc_ich nuvoton_cir battery video rc_core fjes tpm_tis tpm_tis_core tpm button nfsd auth_rpcgss oid_registry
Nov 19 11:24:21 zach-desktop kernel:  nfs_acl lockd grace sunrpc sch_fq_codel ip_tables x_tables hid_logitech_dj usbhid hid f2fs fscrypto sd_mod serio_raw atkbd libps2 crc32c_intel ahci libahci libata xhci_pci ehci_pci xhci_hcd ehci_hcd scsi_mod usbcore usb_common i8042 serio crc32_pclmul
Nov 19 11:24:21 zach-desktop kernel: CPU: 1 PID: 356 Comm: Xorg Tainted: P      D    O    4.8.9-1-ARCH #1
Nov 19 11:24:21 zach-desktop kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B75 Pro3, BIOS P1.90 12/20/2013
Nov 19 11:24:21 zach-desktop kernel: task: ffff8be6087caac0 task.stack: ffff8be6087d0000
Nov 19 11:24:21 zach-desktop kernel: RIP: 0010:[<ffffffffc10b7c25>]  [<ffffffffc10b7c25>] _nv015293rm+0x4b5/0x520 [nvidia]
Nov 19 11:24:21 zach-desktop kernel: RSP: 0018:ffff8be6087d3cd0  EFLAGS: 00010006
Nov 19 11:24:21 zach-desktop kernel: RAX: 00000001911e34d8 RBX: ffffffffc165c338 RCX: ffff8be6087d3d68
Nov 19 11:24:21 zach-desktop kernel: RDX: ffff8be6087d3b78 RSI: 0000000000000164 RDI: ffffffffc165c338
Nov 19 11:24:21 zach-desktop kernel: RBP: ffff8be60a29dff8 R08: 0000000000000fa0 R09: 0000000000000000
Nov 19 11:24:21 zach-desktop kernel: R10: ffff8be608605400 R11: 0000000000000000 R12: 0000000000000200
Nov 19 11:24:21 zach-desktop kernel: R13: 0000000000000164 R14: ffff8be60a29b000 R15: ffff8be6087d3e20
Nov 19 11:24:21 zach-desktop kernel: FS:  0000000000000000(0000) GS:ffff8be61dc80000(0000) knlGS:0000000000000000
Nov 19 11:24:21 zach-desktop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 19 11:24:21 zach-desktop kernel: CR2: 00000001911e34d8 CR3: 000000001fa06000 CR4: 00000000001406e0
Nov 19 11:24:21 zach-desktop kernel: Stack:
Nov 19 11:24:21 zach-desktop kernel:  0000000000000000 ffffffffc10b72e5 ffff8be60a29dff8 ffffffffc1111dec
Nov 19 11:24:21 zach-desktop kernel:  0000000000000000 ffffffffc1653240 ffff8be60dcf0200 ffffffffc117e102
Nov 19 11:24:21 zach-desktop kernel:  ffff8be60ddd08c0 ffff8be6087d3d28 0000000000000164 ffff8be600000010
Nov 19 11:24:21 zach-desktop kernel: Call Trace:
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc10b72e5>] ? _nv015290rm+0x15/0x20 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc1111dec>] ? _nv021534rm+0x11c/0x1c0 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc117e102>] ? rm_purge_mmap_contexts+0x42/0x720 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0be1beb>] ? os_free_mem+0x1b/0x30 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0bd9023>] ? nvidia_close+0x1e3/0x300 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffffc0bd639c>] ? nvidia_frontend_close+0x2c/0x50 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff9120b73f>] ? __fput+0x9f/0x1e0
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff9120b8be>] ? ____fput+0xe/0x10
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff9109a320>] ? task_work_run+0x80/0xa0
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91080932>] ? do_exit+0x2c2/0xb50
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91207d5d>] ? SyS_fchownat+0xdd/0x110
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff915f96d7>] ? rewind_stack_do_exit+0x17/0x20
Nov 19 11:24:21 zach-desktop kernel: Code: 84 00 00 00 00 00 31 c9 48 85 ff 53 48 89 fb 74 0d 48 85 d2 74 08 48 63 47 08 48 8d 0c 10 48 8b 03 31 d2 0f 1f 00 48 85 c0 74 11 <48> 39 30 48 89 c2 76 47 48 8b 40 10 48 85 c0 75 ef 48 85 d2 48 
Nov 19 11:24:21 zach-desktop kernel: RIP  [<ffffffffc10b7c25>] _nv015293rm+0x4b5/0x520 [nvidia]
Nov 19 11:24:21 zach-desktop kernel:  RSP <ffff8be6087d3cd0>
Nov 19 11:24:21 zach-desktop kernel: CR2: 00000001911e34d8
Nov 19 11:24:21 zach-desktop kernel: ---[ end trace a69f1eacaa2cab38 ]---
Nov 19 11:24:21 zach-desktop kernel: Fixing recursive fault but reboot is needed!
Nov 19 11:24:21 zach-desktop kernel: BUG: scheduling while atomic: Xorg/356/0x00000002
Nov 19 11:24:21 zach-desktop kernel: Modules linked in: tun snd_hda_codec_hdmi nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) joydev mousedev input_leds intel_rapl led_class x86_pkg_temp_thermal coretemp kvm_intel kvm irqbypass crct10dif_pclmul snd_usb_audio drm_kms_helper ghash_clmulni_intel aesni_intel snd_usbmidi_lib aes_x86_64 mei_wdt lrw iTCO_wdt gf128mul glue_helper ablk_helper mac_hid cryptd snd_hda_intel iTCO_vendor_support evdev drm snd_rawmidi snd_hda_codec syscopyarea sysfillrect snd_seq_device intel_cstate intel_rapl_perf snd_hda_core sysimgblt fb_sys_fops snd_hwdep snd_pcm r8169 snd_timer snd ie31200_edac soundcore mei_me i2c_i801 mii hid_generic psmouse pcspkr mei edac_core hid_logitech_hidpp shpchp i2c_smbus lpc_ich nuvoton_cir battery video rc_core fjes tpm_tis tpm_tis_core tpm button nfsd auth_rpcgss oid_registry
Nov 19 11:24:21 zach-desktop kernel:  nfs_acl lockd grace sunrpc sch_fq_codel ip_tables x_tables hid_logitech_dj usbhid hid f2fs fscrypto sd_mod serio_raw atkbd libps2 crc32c_intel ahci libahci libata xhci_pci ehci_pci xhci_hcd ehci_hcd scsi_mod usbcore usb_common i8042 serio crc32_pclmul
Nov 19 11:24:21 zach-desktop kernel: CPU: 1 PID: 356 Comm: Xorg Tainted: P      D    O    4.8.9-1-ARCH #1
Nov 19 11:24:21 zach-desktop kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B75 Pro3, BIOS P1.90 12/20/2013
Nov 19 11:24:21 zach-desktop kernel:  0000000000000086 00000000d50a7416 ffff8be6087d3e50 ffffffff912fe050
Nov 19 11:24:21 zach-desktop kernel:  ffff8be61dc97f80 0000000000000009 ffff8be6087d3e60 ffffffff910a3684
Nov 19 11:24:21 zach-desktop kernel:  ffff8be6087d3eb8 ffffffff915f3e60 00ffffff9117636d ffff8be600000008
Nov 19 11:24:21 zach-desktop kernel: Call Trace:
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff912fe050>] dump_stack+0x63/0x83
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff910a3684>] __schedule_bug+0x54/0x70
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff915f3e60>] __schedule+0x600/0x780
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff915f401c>] schedule+0x3c/0x90
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91080fa9>] do_exit+0x939/0xb50
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff91207d5d>] ? SyS_fchownat+0xdd/0x110
Nov 19 11:24:21 zach-desktop kernel:  [<ffffffff915f96d7>] rewind_stack_do_exit+0x17/0x20

Last edited by Zeik (2016-11-19 20:00:39)

Offline

#3 2016-11-20 02:05:49

Tribex
Member
Registered: 2016-11-20
Posts: 2

Re: linux 4.8.9-1 combined with sddm enabled freezes complete machine

I can confirm this as well, downgrading the kernel resolved the issue.

Offline

#4 2016-11-20 09:57:53

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 267
Website

Re: linux 4.8.9-1 combined with sddm enabled freezes complete machine

You just need to rebuild the nvidia package, no downgrade is necessary.

Offline

#5 2016-11-20 10:23:16

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 374

Re: linux 4.8.9-1 combined with sddm enabled freezes complete machine

@Daerandin: If you found this out, did you open a bug report so the devs can correct this and rebuild the nvidia packages in the repos as well before this goes out of testing?

nvidia users all over the world will be thankful, I think wink

Greetings
Harvey


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

#6 2016-11-20 10:25:32

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 267
Website

Re: linux 4.8.9-1 combined with sddm enabled freezes complete machine

There is already a bug report here: https://bugs.archlinux.org/task/51895?p … ing=nvidia

However, you don't need to wait for a rebuild, simply do it yourself using abs. The PKGBUILD for the nvidia package does not require any modifications for this rebuild either so it is a very simple process.

Last edited by Daerandin (2016-11-20 10:27:28)

Offline

#7 2016-11-20 10:41:05

Harey
Member
From: Bavaria, Germany
Registered: 2007-03-24
Posts: 374

Re: linux 4.8.9-1 combined with sddm enabled freezes complete machine

Or switch to the nvidia dkms packages wink


Linux is like a wigwam: No Gates, no Windows and an Apache inside

Offline

Board footer

Powered by FluxBB