Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1595138 - i915: Failed to release pages: bind_count=0, pages_pin_count=1, pin_global=0
Summary: i915: Failed to release pages: bind_count=0, pages_pin_count=1, pin_global=0
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 28
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-26 08:38 UTC by Stefan Assmann
Modified: 2018-06-26 14:13 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Stefan Assmann 2018-06-26 08:38:07 UTC
Description of problem:
Found the following in dmesg:
[94424.380689] ------------[ cut here ]------------
[94424.380701] Failed to release pages: bind_count=0, pages_pin_count=1, pin_global=0
[94424.380873] WARNING: CPU: 0 PID: 8828 at drivers/gpu/drm/i915/i915_gem_userptr.c:89 cancel_userptr+0xe5/0xf0 [i915]
[94424.380878] Modules linked in: vhost_net vhost tap veth rfcomm fuse xt_CHECKSUM tun ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_addrtype br_netfilter overlay ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack devlink ip_set nfnetlink ebtable_nat ebtable_broute bridge ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep vfat fat rmi_smbus rmi_core arc4 iwlmvm mac80211 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common iwlwifi videodev btusb intel_rapl btrtl btbcm x86_pkg_temp_thermal btintel intel_powerclamp iTCO_wdt media mei_wdt coretemp
[94424.380968]  gpio_ich snd_hda_codec_realtek iTCO_vendor_support snd_hda_codec_hdmi kvm_intel cfg80211 bluetooth snd_hda_codec_generic kvm snd_hda_intel snd_hda_codec ecdh_generic irqbypass snd_hda_core intel_cstate snd_hwdep intel_uncore snd_seq snd_seq_device intel_rapl_perf thinkpad_acpi snd_pcm joydev snd_timer wmi_bmof mei_me snd i2c_i801 mei lpc_ich rfkill soundcore shpchp ie31200_edac binfmt_misc nfsd auth_rpcgss nfs_acl lockd grace dm_crypt uas usb_storage 8021q garp mrp stp llc i915 i2c_algo_bit drm_kms_helper sdhci_pci crct10dif_pclmul crc32_pclmul cqhci crc32c_intel sdhci drm e1000e ghash_clmulni_intel mmc_core serio_raw wmi video dm_multipath sunrpc target_core_mod
[94424.381057] CPU: 0 PID: 8828 Comm: kworker/u16:0 Not tainted 4.17.2-200.fc28.x86_64 #1
[94424.381061] Hardware name: LENOVO 20EGS0R60P/20EGS0R60P, BIOS GNET86WW (2.34 ) 03/07/2018
[94424.381139] Workqueue: i915-userptr-release cancel_userptr [i915]
[94424.381213] RIP: 0010:cancel_userptr+0xe5/0xf0 [i915]
[94424.381218] RSP: 0018:ffffa741cc38be80 EFLAGS: 00010282
[94424.381224] RAX: 0000000000000000 RBX: ffff9560e7d6f300 RCX: 0000000000000006
[94424.381228] RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff95627e216930
[94424.381232] RBP: ffff9560e7d6f4a0 R08: 0000000000000005 R09: 00000000000004b9
[94424.381236] R10: 0000000000000000 R11: ffffffff8f9981ad R12: 0000000000000000
[94424.381240] R13: 0000000000000000 R14: ffff955c692d56c0 R15: ffff9560344c4558
[94424.381245] FS:  0000000000000000(0000) GS:ffff95627e200000(0000) knlGS:0000000000000000
[94424.381249] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[94424.381254] CR2: 00007f1530600000 CR3: 000000041a20a006 CR4: 00000000001626f0
[94424.381258] Call Trace:
[94424.381276]  process_one_work+0x187/0x340
[94424.381284]  worker_thread+0x2e/0x380
[94424.381291]  ? pwq_unbound_release_workfn+0xd0/0xd0
[94424.381298]  kthread+0x112/0x130
[94424.381305]  ? kthread_create_worker_on_cpu+0x70/0x70
[94424.381314]  ret_from_fork+0x35/0x40
[94424.381320] Code: 52 60 ff ff eb c9 8b 93 c0 01 00 00 8b 8b 9c 01 00 00 48 c7 c7 60 d9 6f c0 c6 05 5e 76 16 00 01 8b b3 94 01 00 00 e8 d5 12 a9 cd <0f> 0b eb bc 0f 1f 80 00 00 00 00 0f 1f 44 00 00 41 57 41 56 41
[94424.381403] ---[ end trace ff9b31b40c6a8006 ]---

Version-Release number of selected component (if applicable):
4.17.2-200.fc28.x86_64

How reproducible:
happened once so far

Steps to Reproduce:
1. unknown

System: Lenovo w541
lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 221e
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Memory at b3400000 (64-bit, non-prefetchable) [size=4M]
        Memory at 80000000 (64-bit, prefetchable) [size=512M]
        I/O ports at 5000 [size=64]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915


Note You need to log in before you can comment on or make changes to this bug.