You are not logged in.

#1 2017-04-11 18:27:27

groud
Member
Registered: 2017-04-11
Posts: 2

Kernel NULL pointer dereference with linux 4.10

Hello,

I recently intended to update my archlinux distro with pacman -Syu, but I was not able to boot anymore.
I reverted back to the version 4.9.11 of linux, and now it is working again.

I managed to find the error responsible for the crash, here is the log:

avril 11 19:31:03 SWAGGY kernel: BUG: unable to handle kernel NULL pointer dereference at           (null)
avril 11 19:31:03 SWAGGY kernel: IP: gen8_ppgtt_insert_pte_entries.isra.17+0xfc/0x1c0 [i915]
avril 11 19:31:03 SWAGGY kernel: PGD 14714c067 
avril 11 19:31:03 SWAGGY kernel: PUD 1411cc067 
avril 11 19:31:03 SWAGGY kernel: PMD 0 
avril 11 19:31:03 SWAGGY kernel: 
avril 11 19:31:03 SWAGGY kernel: Oops: 0000 [#1] PREEMPT SMP
avril 11 19:31:03 SWAGGY kernel: Modules linked in: joydev mousedev uvcvideo videobuf2_vmalloc videobuf2_memops arc4 videobuf2_v4l2 videobuf2_core videodev media iwlmvm snd_hda_codec_hdmi iTCO_wdt mac80211 iTCO_vendor_support mmc_block iwlwifi mei_wdt cfg80211 rtsx_pci_ms snd_hda_codec_realtek snd_hda_codec_generic memstick msr intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate nls_iso8859_1 evdev intel_rapl_perf input_leds mac_hid psmouse pcspkr nls_cp437 vfat fat i915 i2c_i801 intel_pch_thermal lpc_ich drm_kms_helper snd_hda_intel snd_hda_codec shpchp drm snd_hda_core e1000e snd_hwdep intel_gtt syscopyarea sysfillrect sysimgblt fb_sys_fops snd_pcm i2c_algo_bit
avril 11 19:31:03 SWAGGY kernel:  mei_me mei ptp snd_timer pps_core thermal wmi thinkpad_acpi nvram snd soundcore ac led_class battery fjes video button tpm_tis tpm_tis_core tpm btusb btrtl btbcm btintel bluetooth rfkill sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 fscrypto mbcache sd_mod rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 ahci libahci libata xhci_pci ehci_pci scsi_mod xhci_hcd ehci_hcd rtsx_pci usbcore usb_common i8042 serio
avril 11 19:31:03 SWAGGY kernel: CPU: 3 PID: 1661 Comm: Xorg Tainted: G     U          4.10.8-1-ARCH #1
avril 11 19:31:03 SWAGGY kernel: Hardware name: LENOVO 20CMCTO1WW/20CMCTO1WW, BIOS N10ET36W (1.15 ) 06/19/2015
avril 11 19:31:03 SWAGGY kernel: task: ffff880145ae0e40 task.stack: ffffc90000d30000
avril 11 19:31:03 SWAGGY kernel: RIP: 0010:gen8_ppgtt_insert_pte_entries.isra.17+0xfc/0x1c0 [i915]
avril 11 19:31:03 SWAGGY kernel: RSP: 0018:ffffc90000d33990 EFLAGS: 00010246
avril 11 19:31:03 SWAGGY kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
avril 11 19:31:03 SWAGGY kernel: RDX: 0000000000000018 RSI: ffff880147b0e438 RDI: ffffc90000d33a00
avril 11 19:31:03 SWAGGY kernel: RBP: ffffc90000d339e8 R08: 0000000000000001 R09: ffff880147b0e000
avril 11 19:31:03 SWAGGY kernel: R10: 00000000fffea000 R11: 0000000000000008 R12: 00000000000001e9
avril 11 19:31:03 SWAGGY kernel: R13: ffffc90000d33a00 R14: 0000000000000000 R15: 0000000000000201
avril 11 19:31:03 SWAGGY kernel: FS:  00007fefc29e2940(0000) GS:ffff88014dcc0000(0000) knlGS:0000000000000000
avril 11 19:31:03 SWAGGY kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
avril 11 19:31:03 SWAGGY kernel: CR2: 0000000000000000 CR3: 0000000145935000 CR4: 00000000003406e0
avril 11 19:31:03 SWAGGY kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
avril 11 19:31:03 SWAGGY kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
avril 11 19:31:03 SWAGGY kernel: Call Trace:
avril 11 19:31:03 SWAGGY kernel:  gen8_ppgtt_insert_entries+0x10b/0x120 [i915]
avril 11 19:31:03 SWAGGY kernel:  aliasing_gtt_bind_vma+0x90/0xf0 [i915]
avril 11 19:31:03 SWAGGY kernel:  i915_vma_bind+0x74/0x1a0 [i915]
avril 11 19:31:03 SWAGGY kernel:  __i915_vma_do_pin+0x2a5/0x450 [i915]
avril 11 19:31:03 SWAGGY kernel:  i915_gem_execbuffer_reserve_vma.isra.8+0x144/0x1b0 [i915]
avril 11 19:31:03 SWAGGY kernel:  i915_gem_execbuffer_reserve.isra.9+0x39e/0x3d0 [i915]
avril 11 19:31:03 SWAGGY kernel:  i915_gem_do_execbuffer.isra.15+0x62e/0x1810 [i915]
avril 11 19:31:03 SWAGGY kernel:  ? i915_gem_object_wait_reservation+0x200/0x2d0 [i915]
avril 11 19:31:03 SWAGGY kernel:  ? i915_gem_object_get_sg+0xfc/0x210 [i915]
avril 11 19:31:03 SWAGGY kernel:  ? i915_gem_pwrite_ioctl+0x4e4/0x790 [i915]
avril 11 19:31:03 SWAGGY kernel:  i915_gem_execbuffer2+0xc5/0x240 [i915]
avril 11 19:31:03 SWAGGY kernel:  drm_ioctl+0x21b/0x4c0 [drm]
avril 11 19:31:03 SWAGGY kernel:  ? i915_gem_execbuffer+0x310/0x310 [i915]
avril 11 19:31:03 SWAGGY kernel:  do_vfs_ioctl+0xa3/0x5f0
avril 11 19:31:03 SWAGGY kernel:  ? __fget+0x77/0xb0
avril 11 19:31:03 SWAGGY kernel:  SyS_ioctl+0x79/0x90
avril 11 19:31:03 SWAGGY kernel:  entry_SYSCALL_64_fastpath+0x1a/0xa9
avril 11 19:31:03 SWAGGY kernel: RIP: 0033:0x7fefc082e0d7
avril 11 19:31:03 SWAGGY kernel: RSP: 002b:00007fffd3c35018 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
avril 11 19:31:03 SWAGGY kernel: RAX: ffffffffffffffda RBX: 00000000022e2290 RCX: 00007fefc082e0d7
avril 11 19:31:03 SWAGGY kernel: RDX: 00007fffd3c350c0 RSI: 0000000040406469 RDI: 000000000000000d
avril 11 19:31:03 SWAGGY kernel: RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000002040
avril 11 19:31:03 SWAGGY kernel: R10: 0000000000017d90 R11: 0000000000003246 R12: 00007fefc2909000
avril 11 19:31:03 SWAGGY kernel: R13: 00000000022e2b50 R14: 00007fffd3c35240 R15: 0000000000000040
avril 11 19:31:03 SWAGGY kernel: Code: 0f 84 89 00 00 00 4c 89 ef e8 e1 3c d6 e0 84 c0 74 56 4d 85 f6 75 a8 48 8b 45 c0 48 8b 55 c8 48 8b 00 48 8b 04 10 4a 8b 44 f8 08 <48> 8b 30 65 ff 05 7a 1a a4 5f 48 8b 45 b8 83 80 b8 09 00 00 01 
avril 11 19:31:03 SWAGGY kernel: RIP: gen8_ppgtt_insert_pte_entries.isra.17+0xfc/0x1c0 [i915] RSP: ffffc90000d33990
avril 11 19:31:03 SWAGGY kernel: CR2: 0000000000000000
avril 11 19:31:03 SWAGGY kernel: ---[ end trace 7329bdd60d956661 ]---
avril 11 19:31:06 SWAGGY kernel: wlp3s0: authenticate with xxx
avril 11 19:31:06 SWAGGY kernel: wlp3s0: send auth to xxx (try 1/3)
avril 11 19:31:06 SWAGGY kernel: wlp3s0: authenticated
avril 11 19:31:06 SWAGGY kernel: wlp3s0: associate with xxx (try 1/3)
avril 11 19:31:06 SWAGGY kernel: wlp3s0: RX AssocResp from xxx (capab=0x411 status=0 aid=1)
avril 11 19:31:06 SWAGGY kernel: wlp3s0: associated
avril 11 19:31:06 SWAGGY kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
avril 11 19:31:06 SWAGGY wpa_actiond[1228]: Interface 'wlp3s0' connected to network 'Livebox-2C54'
avril 11 19:31:06 SWAGGY dhcpcd[2287]: DUID xxx
avril 11 19:31:06 SWAGGY dhcpcd[2287]: wlp3s0: IAID 60:0a:14:eb
avril 11 19:31:06 SWAGGY kernel: wlp3s0: Limiting TX power to 23 (23 - 0) dBm as advertised by xxx
avril 11 19:31:06 SWAGGY dhcpcd[2287]: wlp3s0: rebinding lease of 192.168.1.15
avril 11 19:31:06 SWAGGY dhcpcd[2287]: wlp3s0: probing address 192.168.1.15/24
avril 11 19:31:07 SWAGGY root[2668]: Device /sys/bus/usb/devices/1-0:1.0 is blacklisted, skipping auto suspend.
avril 11 19:31:07 SWAGGY root[2673]: Device /sys/bus/usb/devices/1-1 is blacklisted, skipping auto suspend.
avril 11 19:31:07 SWAGGY root[2677]: Device /sys/bus/usb/devices/1-1:1.0 is blacklisted, skipping auto suspend.
avril 11 19:31:07 SWAGGY root[2681]: Device /sys/bus/usb/devices/2-0:1.0 is blacklisted, skipping auto suspend.
avril 11 19:31:07 SWAGGY ntpd[1649]: bind(23) AF_INET6 xxx flags 0x11 failed: Cannot assign requested address
avril 11 19:31:07 SWAGGY ntpd[1649]: unable to create socket on wlp3s0 (4) for xxx
avril 11 19:31:07 SWAGGY ntpd[1649]: failed to init interface for address xxx
avril 11 19:31:07 SWAGGY root[2740]: Device /sys/bus/usb/devices/3-0:1.0 is blacklisted, skipping auto suspend.
avril 11 19:31:10 SWAGGY ntpd[1649]: Listen normally on 5 wlp3s0 [xxx:123
avril 11 19:31:10 SWAGGY ntpd[1649]: Listen normally on 6 wlp3s0 [xxx]:123
avril 11 19:31:10 SWAGGY ntpd[1649]: new interface(s) found: waking up resolver
avril 11 19:31:11 SWAGGY dhcpcd[2287]: wlp3s0: leased 192.168.1.15 for 86400 seconds
avril 11 19:31:11 SWAGGY dhcpcd[2287]: wlp3s0: adding route to 192.168.1.0/24
avril 11 19:31:11 SWAGGY dhcpcd[2287]: wlp3s0: adding default route via 192.168.1.1
avril 11 19:31:11 SWAGGY dhcpcd[2287]: forked to background, child pid 2806
avril 11 19:31:12 SWAGGY ntpd[1649]: Listen normally on 7 wlp3s0 192.168.1.15:123
avril 11 19:31:12 SWAGGY ntpd[1649]: new interface(s) found: waking up resolver
avril 11 19:31:16 SWAGGY systemd-logind[484]: Power key pressed.
avril 11 19:31:16 SWAGGY systemd-logind[484]: Powering Off...
avril 11 19:31:16 SWAGGY systemd-logind[484]: System is powering down.
avril 11 19:31:16 SWAGGY systemd[1]: Stopped target Sound Card.
-- Reboot --

(please ignore my machine name ^^)

Do you have any idea of what is happening ? I found no one facing a similar error hmm
I am running archlinux on a Lenovo x250 laptop.

Thanks in advance,

groud

Last edited by groud (2017-04-11 20:27:19)

Offline

#2 2017-04-11 20:20:31

loqs
Member
Registered: 2014-03-06
Posts: 17,377

Re: Kernel NULL pointer dereference with linux 4.10

Welcome to the arch linux forums groud.  From the thread title "Kernel NULL pointer dereference with linux 4.11 & 4.10" you reference 4.10 the last mainline release upstream from kernel.org and 4.11 currently on release candidate 6 upstream from kernel.org.

avril 11 19:31:03 SWAGGY kernel: CPU: 3 PID: 1661 Comm: Xorg Tainted: G     U          4.10.8-1-ARCH #1

The log mentions 4.10.8 so do you mean 4.10.9 contains the issue 4.9.11, does not contain the issue and you have not tested any of the releases between those two?

Offline

#3 2017-04-11 20:30:04

groud
Member
Registered: 2017-04-11
Posts: 2

Re: Kernel NULL pointer dereference with linux 4.10

Hello,

Thanks you.

Oops, you are right, I was a little bit confused with all those numbers smile.
The problem happens with th 4.10.* version of the kernel, but not with the 4.9.* ones. Sorry for the mistake.

Offline

#4 2017-04-11 23:12:03

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: Kernel NULL pointer dereference with linux 4.10

Probably it's just i915 borked (again)™.  Might need/want to go upstream.

Offline

#5 2017-04-12 00:13:49

loqs
Member
Registered: 2014-03-06
Posts: 17,377

Re: Kernel NULL pointer dereference with linux 4.10

Before filing a bug report upstream please read all of the following:
https://01.org/linuxgraphics/documentat … eport-bugs
https://www.kernel.org/doc/html/latest/ … -bugs.html
https://wiki.archlinux.org/index.php/Bisecting_bugs

If you are not confident in kernel building, patching, bisecting and seeing the bug report through to completion please do not report it upstream.
Also please do not report it to the arch bugtracker instead see Reporting_bug_guidelines.

Offline

#6 2017-04-16 12:09:12

seth
Member
Registered: 2012-09-03
Posts: 51,299

Re: Kernel NULL pointer dereference with linux 4.10

Offline

#7 2017-04-18 08:21:22

lucac
Member
Registered: 2017-04-18
Posts: 1

Re: Kernel NULL pointer dereference with linux 4.10

I'm a Fedora user, but I have the very same problem.
Thanks for the links and inputs.

Offline

Board footer

Powered by FluxBB