Re: ✗ Fi.CI.BAT: failure for Save megabytes of wasted sg entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 13/10/2016 16:33, Daniel Vetter wrote:
On Thu, Oct 13, 2016 at 11:24:46AM +0000, Saarinen, Jani wrote:
== Series Details ==

Series: Save megabytes of wasted sg entries
URL   : https://patchwork.freedesktop.org/series/13706/
State : failure

== Summary ==

Series 13706v1 Save megabytes of wasted sg entries
https://patchwork.freedesktop.org/api/1.0/series/13706/revisions/1/mbox/

Test gem_cs_tlb:
         Subgroup basic-default:
                 pass       -> INCOMPLETE (fi-bsw-n3050)
                 pass       -> INCOMPLETE (fi-byt-n2820)
                 pass       -> INCOMPLETE (fi-hsw-4770r)
                 pass       -> INCOMPLETE (fi-skl-6260u)
                 pass       -> INCOMPLETE (fi-ivb-3770)
                 pass       -> INCOMPLETE (fi-kbl-7200u)
                 pass       -> INCOMPLETE (fi-skl-6700hq)
                 pass       -> INCOMPLETE (fi-bdw-5557u)
                 pass       -> INCOMPLETE (fi-ilk-650)
                 pass       -> INCOMPLETE (fi-hsw-4770)
                 pass       -> INCOMPLETE (fi-byt-j1900)
                 pass       -> INCOMPLETE (fi-snb-2520m)
                 pass       -> INCOMPLETE (fi-bxt-t5700)
                 pass       -> INCOMPLETE (fi-ivb-3520m)
running: igt/gem_cs_tlb/basic-default

[014/246] pass: 14 -
Build timed out (after 18 minutes). Marking the build as aborted.

[   96.771613] gem_cs_tlb: starting subtest basic-default
[   96.773567] general protection fault: 0000 [#1] PREEMPT SMP
[   96.773599] Modules linked in: snd_hda_intel i915 cdc_ncm usbnet mii x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel lpc_ich snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec snd_hwdep snd_hda_core snd_pcm mei_me mei sdhci_pci sdhci mmc_core e1000e ptp pps_core [last unloaded: i915]
[   96.773775] CPU: 1 PID: 8922 Comm: gem_cs_tlb Tainted: G     U          4.8.0-CI-Patchwork_2698+ #1
[   96.773806] Hardware name: LENOVO 2356GCG/2356GCG, BIOS G7ET31WW (1.13 ) 07/02/2012
[   96.773833] task: ffff8801311ace40 task.stack: ffff880137654000
[   96.773854] RIP: 0010:[<ffffffff811cd432>]  [<ffffffff811cd432>] kfree+0x72/0x2e0
...
Please paste the full backtrace, it might throw a hint on what's going on.

It was just a RFC, I even labelled it as broken. Just wanted to send it out for feedback on the general approach since I was unsure when I will get back to debugging it.

It is most certainly a bug in my sg_table_trim implementation. :)

[   67.205081] general protection fault: 0000 [#1] PREEMPT SMP
[   67.205115] Modules linked in: snd_hda_intel i915 intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec snd_hwdep snd_hda_core snd_pcm mei_me mei lpc_ich e1000e ptp pps_core [last unloaded: i915]
[   67.205284] CPU: 2 PID: 7725 Comm: gem_cs_tlb Tainted: G     U          4.8.0-CI-Patchwork_2698+ #1
[   67.205315] Hardware name: Hewlett-Packard HP Compaq 8100 Elite SFF PC/304Ah, BIOS 786H1 v01.05 06/09/2010
[   67.205347] task: ffff88020a68a600 task.stack: ffff880207708000
[   67.205370] RIP: 0010:[<ffffffff811cd432>]  [<ffffffff811cd432>] kfree+0x72/0x2e0
[   67.205404] RSP: 0018:ffff88020770bc30  EFLAGS: 00010203
[   67.205425] RAX: ffffea0000000000 RBX: 6b6b6b6b6b6b6b68 RCX: 0000000000000002
[   67.205450] RDX: 0000000080000002 RSI: ffffffff81c595f0 RDI: ffff88020a68ae28
[   67.205476] RBP: ffff88020770bc58 R08: ffffea0008239c20 R09: 0000000000000001
[   67.205501] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000087654321
[   67.205527] R13: ffffffff814392a6 R14: 01ad998dadadad80 R15: 0000000000000000
[   67.205553] FS:  00007ff7454d4740(0000) GS:ffff88021bc80000(0000) knlGS:0000000000000000
[   67.205581] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   67.205602] CR2: 00000000019273f8 CR3: 00000002102a2000 CR4: 00000000000006e0
[   67.205627] Stack:
[   67.205638]  ffff88020cc062c8 0000000087654321 000000000000012f 0000000000000036
[   67.205678]  0000000000000000 ffff88020770bc90 ffffffff814392a6 ffff88020cc062c8
[   67.205717]  ffff880208d8a420 0000000000021292 0000000000000000 ffff880209a35dc0
[   67.205757] Call Trace:
[   67.205772]  [<ffffffff814392a6>] sg_trim_table+0x96/0xe0
[   67.205808]  [<ffffffffa03569c8>] i915_sg_complete+0x38/0x40 [i915]
[   67.205844]  [<ffffffffa0356ae5>] i915_gem_object_get_pages_gtt+0xe5/0x340 [i915]
[   67.205884]  [<ffffffffa0356d7c>] i915_gem_object_get_pages+0x3c/0xb0 [i915]
[   67.205922]  [<ffffffffa035844b>] i915_gem_object_set_to_gtt_domain+0x3b/0x290 [i915]
[   67.205963]  [<ffffffffa03592d8>] i915_gem_set_domain_ioctl+0x108/0x130 [i915]
[   67.205991]  [<ffffffff815488a6>] drm_ioctl+0x1f6/0x480
[   67.206024]  [<ffffffffa03591d0>] ? i915_gem_obj_prepare_shmem_write+0x170/0x170 [i915]
[   67.206054]  [<ffffffff810eaa6d>] ? debug_lockdep_rcu_enabled+0x1d/0x20
[   67.206080]  [<ffffffff811fe76e>] do_vfs_ioctl+0x8e/0x690
[   67.206102]  [<ffffffff810d4372>] ? trace_hardirqs_on_caller+0x122/0x1b0
[   67.206126]  [<ffffffff811fedac>] SyS_ioctl+0x3c/0x70
[   67.206150]  [<ffffffff8180faa9>] entry_SYSCALL_64_fastpath+0x1c/0xac
[   67.206173] Code: 00 00 00 80 ff 77 00 00 49 01 de 48 0f 42 05 f6 db c3 00 49 01 c6 48 b8 00 00 00 00 00 ea ff ff 49 c1 ee 0c 49 c1 e6 06 49 01 c6 <49> 8b 46 20 48 8d 50 ff a8 01 4c 0f 45 f2 49 8b 56 20 48 8d 42
[   67.206487] RIP  [<ffffffff811cd432>] kfree+0x72/0x2e0
[   67.206512]  RSP <ffff88020770bc30>
[   67.206551] ---[ end trace 8401cce8db339cc8 ]---


Regards,

Tvrtko

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux