2016-04-11 01:33:50

by kernel test robot

[permalink] [raw]
Subject: [lkp] [drm/i915] 9f261f1781: BUG: unable to handle kernel NULL pointer dereference at (null)

FYI, we noticed the below changes on

https://github.com/0day-ci/linux Zhi-Wang/drm-i915-Set-ctx-ppgtt-to-aliasing-PPGTT-if-full-PPGTT-mode-isn-t-enabled/20160404-125026
commit 9f261f17814838c694fef86ec66913990229c68b ("drm/i915: Set ctx->ppgtt to aliasing PPGTT if full PPGTT mode isn't enabled")


+------------------------------------------+------------+------------+
| | a156e64dd6 | 9f261f1781 |
+------------------------------------------+------------+------------+
| boot_successes | 12 | 15 |
| boot_failures | 1 | 2 |
| BUG:kernel_boot_hang | 1 | |
| BUG:unable_to_handle_kernel | 0 | 2 |
| Oops | 0 | 2 |
| RIP:i915_gem_context_free[i915] | 0 | 2 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 2 |
+------------------------------------------+------------+------------+



[ 29.272497] NFS: Registering the id_resolver key type
[ 29.277598] Key type id_resolver registered
[ 29.281802] Key type id_legacy registered
[ 30.954349] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 30.962244] IP: [<ffffffffa02ef820>] i915_gem_context_free+0x40/0x1b0 [i915]
[ 30.969358] PGD 19b1ab067 PUD 19a0e7067 PMD 0
[ 30.973883] Oops: 0000 [#1] SMP
[ 30.977167] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole btrfs xor raid6_pq sg sd_mod ata_generic snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic pata_acpi x86_pkg_temp_thermal coretemp kvm_intel eeepc_wmi kvm irqbypass i915 asus_wmi sparse_keymap crct10dif_pclmul crc32_pclmul drm_kms_helper ppdev syscopyarea sysfillrect rfkill sysimgblt crc32c_intel snd_hda_intel fb_sys_fops ghash_clmulni_intel pata_via aesni_intel lrw gf128mul glue_helper ablk_helper ata_piix snd_hda_codec snd_hda_core snd_hwdep snd_pcm pcspkr serio_raw libata cryptd snd_timer parport_pc snd parport drm tpm_infineon soundcore shpchp wmi video
[ 31.036950] CPU: 0 PID: 626 Comm: kms_flip Not tainted 4.5.0-rc7-01650-g9f261f1 #1
[ 31.044541] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[ 31.053694] task: ffff88019b708000 ti: ffff88007ed18000 task.ti: ffff88007ed18000
[ 31.061191] RIP: 0010:[<ffffffffa02ef820>] [<ffffffffa02ef820>] i915_gem_context_free+0x40/0x1b0 [i915]
[ 31.070723] RSP: 0018:ffff88007ed1bd20 EFLAGS: 00010286
[ 31.076043] RAX: ffff88007f55c000 RBX: 0000000000000000 RCX: 0000000000000000
[ 31.084105] RDX: 0000000000000000 RSI: ffff88019b24c600 RDI: ffff88019b24c600
[ 31.092173] RBP: ffff88007ed1bd38 R08: ffff88019b24c418 R09: 0000000000000000
[ 31.100233] R10: 0000000000000000 R11: ffff88019b37b610 R12: ffff88019b24c600
[ 31.108293] R13: ffff88007f55c108 R14: 0000000000000000 R15: ffff88007ed1bd70
[ 31.116369] FS: 00007f2b094b0880(0000) GS:ffff8801bfa00000(0000) knlGS:0000000000000000
[ 31.125375] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 31.132039] CR2: 0000000000000000 CR3: 000000019ab9c000 CR4: 00000000000406f0
[ 31.140108] Stack:
[ 31.143045] 0000000000000000 00000000000000ff 00000000ffffffff ffff88007ed1bd48
[ 31.151555] ffffffffa02ef9aa ffff88007ed1bdb8 ffffffff814268fb 0000000000000000
[ 31.159997] ffffffffa02ef990 ffff880199e10000 ffff88019b24c600 0000000000000000
[ 31.168438] Call Trace:
[ 31.171867] [<ffffffffa02ef9aa>] context_idr_cleanup+0x1a/0x20 [i915]
[ 31.179362] [<ffffffff814268fb>] idr_for_each+0x9b/0xe0
[ 31.185645] [<ffffffffa02ef990>] ? i915_gem_context_free+0x1b0/0x1b0 [i915]
[ 31.193689] [<ffffffffa02f0193>] i915_gem_context_close+0x23/0x30 [i915]
[ 31.201466] [<ffffffffa03875cb>] i915_driver_preclose+0x2b/0x50 [i915]
[ 31.209074] [<ffffffffa0052fe9>] drm_release+0x89/0x470 [drm]
[ 31.215848] [<ffffffff811f607a>] __fput+0xfa/0x240
[ 31.221660] [<ffffffff811f61fe>] ____fput+0xe/0x10
[ 31.227459] [<ffffffff81096b46>] task_work_run+0x76/0xb0
[ 31.233751] [<ffffffff81003352>] exit_to_usermode_loop+0xc2/0xd0
[ 31.240744] [<ffffffff81003bf5>] syscall_return_slowpath+0xf5/0x180
[ 31.247983] [<ffffffff818e5c48>] int_ret_from_sys_call+0x25/0x8f
[ 31.254967] Code: 90 8b 05 2c 42 0e 00 85 c0 0f 85 3b 01 00 00 49 8b 44 24 48 48 85 c0 0f 84 92 00 00 00 48 8b 88 08 01 00 00 4c 8d a8 08 01 00 00 <48> 8b 11 49 39 cd 48 8d b9 70 ff ff ff 48 8d 9a 70 ff ff ff 75
[ 31.277197] RIP [<ffffffffa02ef820>] i915_gem_context_free+0x40/0x1b0 [i915]
[ 31.285308] RSP <ffff88007ed1bd20>
[ 31.289719] CR2: 0000000000000000
[ 31.293964] ---[ end trace a8a179f1da043ca0 ]---
[ 31.294655] systemd-journald[125]: Compressed data object 661 -> 496



To reproduce:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml



Thanks,
Kernel Test Robot


Attachments:
(No filename) (4.99 kB)
config-4.5.0-rc7-01650-g9f261f1 (142.12 kB)
dmesg.xz (17.75 kB)
job.yaml (3.13 kB)
Download all attachments