lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200925081955.GP28663@shao2-debian>
Date:   Fri, 25 Sep 2020 16:19:55 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Leon Romanovsky <leon@...nel.org>
Cc:     Christoph Hellwig <hch@....de>, Doug Ledford <dledford@...hat.com>,
        Jason Gunthorpe <jgg@...dia.com>,
        Maor Gottlieb <maorg@...dia.com>, linux-rdma@...r.kernel.org,
        0day robot <lkp@...el.com>,
        Leon Romanovsky <leonro@...dia.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
        guobing.chen@...el.com, ming.a.chen@...el.com, frank.du@...el.com,
        Shuhua.Fan@...el.com, wangyang.guo@...el.com,
        Wenhuan.Huang@...el.com, jessica.ji@...el.com, shan.kang@...el.com,
        guangli.li@...el.com, tiejun.li@...el.com, yu.ma@...el.com,
        dapeng1.mi@...el.com, jiebin.sun@...el.com, gengxin.xie@...el.com,
        fan.zhao@...el.com
Subject: [lib/scatterlist] 71606c3597: last_state.is_incomplete_run

Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 71606c35971cec8fec875951914bb54d94af108b ("[PATCH rdma-next v2 1/2] lib/scatterlist: Add support in dynamic allocation of SG table from pages")
url: https://github.com/0day-ci/linux/commits/Leon-Romanovsky/scatterlist-add-sg_alloc_table_append-function/20200917-030749
base: https://git.kernel.org/cgit/linux/kernel/git/rdma/rdma.git for-next

in testcase: phoronix-test-suite
version: 
with following parameters:

	test: clpeak-1.0.1
	option_a: Global Memory Bandwidth
	cpufreq_governor: performance
	ucode: 0xdc

test-description: The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available that provides an extensible framework for which new tests can be easily added.
test-url: http://www.phoronix-test-suite.com/


on test machine: 8 threads Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):




If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>


[   22.388431] Kernel tests: Boot OK!
[   22.388433] 
[   22.626333] /lkp/carel/src/bin/run-lkp
[   22.626335] 
[   31.302985] RESULT_ROOT=/result/phoronix-test-suite/performance-Global_Memory_Bandwidth-clpeak-
1.0.1-ucode=0xdc-monitor=71fc66a9/lkp-skl-nuc2/debian-x86_64-phoronix/x86_64-rhel-8.3/gcc-9/71606c
35971cec8fec875951914bb54d94af108b/2
[   31.302988] 
[   31.332075] job=/lkp/jobs/scheduled/lkp-skl-nuc2/phoronix-test-suite-performance-Global_Memory_
Bandwidth-clpeak-1.0.1-ucode=0xdc-monitor=71fc66a9-debian-x86_64-phoronix-71606c35-20200925-23721-
188s5ja-0.yaml
[   31.332076] 
[   33.124259] result_service=inn:/result, RESULT_MNT=/inn/result, RESULT_ROOT=/inn/result/phoroni
x-test-suite/performance-Global_Memory_Bandwidth-clpeak-1.0.1-ucode=0xdc-monitor=71fc66a9/lkp-skl-
nuc2/debian-x86_64-phoronix/x86_64-rhel-8.3/gcc-9/71606c35971cec8fec875951914bb54d94af108b/2
[   33.124262] 
[   33.156070] mount.nfs: try 1 time... mount.nfs -o vers=3 inn:/result /inn/result
[   33.156071] 
[   33.171554] run-job /lkp/jobs/scheduled/lkp-skl-nuc2/phoronix-test-suite-performance-Global_Mem
ory_Bandwidth-clpeak-1.0.1-ucode=0xdc-monitor=71fc66a9-debian-x86_64-phoronix-71606c35-20200925-23
721-188s5ja-0.yaml
[   33.171555] 
[   35.140681] /usr/bin/wget -q --timeout=1800 --tries=1 --local-encoding=UTF-8 http://inn:80/~car
el/cgi-bin/lkp-jobfile-append-var?job_file=/lkp/jobs/scheduled/lkp-skl-nuc2/phoronix-test-suite-pe
rformance-Global_Memory_Bandwidth-clpeak-1.0.1-ucode=0xdc-monitor=71fc66a9-debian-x86_64-phoronix-
71606c35-20200925-23721-188s5ja-0.yaml&job_state=running -O /dev/null
[   35.140684] 
[   35.179165] target ucode: 0xdc
[   35.179166] 
[   35.186302] current_version: dc, target_version: dc
[   35.186303] 
[   35.194877] 2020-09-25 07:30:44 
[   35.194878] 
[   35.202376] for cpu_dir in /sys/devices/system/cpu/cpu[0-9]*
[   35.202377] 
[   35.211365] do
[   35.202377] 
[   35.211365] do
[   35.211366] 
[   35.216823]  online_file="$cpu_dir"/online
[   35.216825] 
[   35.225783]  [ -f "$online_file" ] && [ "$(cat "$online_file")" -eq 0 ] && continue
[   35.225784] 
[   35.236886] 
[   35.240094]  file="$cpu_dir"/cpufreq/scaling_governor
[   35.240095] 
[   35.249739]  [ -f "$file" ] && echo "performance" > "$file"
[   35.249740] 
[   35.258941] done
[   35.258942] 
[   35.179166] 
[   35.186302] current_version: dc, target_version: dc
[   35.186303] 
[   35.194877] 2020-09-25 07:30:44 
[   35.194878] 
[   35.202376] for cpu_dir in /sys/devices/system/cpu/cpu[0-9]*
[   35.202377] 
[   35.211365] do
[   35.211366] 
[   35.216823]  online_file="$cpu_dir"/online
[   35.216825] 
[   35.225783]  [ -f "$online_file" ] && [ "$(cat "$online_file")" -eq 0 ] && continue
[   35.225784] 
[   35.236886] 
[   35.240094]  file="$cpu_dir"/cpufreq/scaling_governor
[   35.240095] 
[   35.249739]  [ -f "$file" ] && echo "performance" > "$file"
[   35.249740] 
[   35.258941] done
[   35.258942] 
[   35.264063] 
[   35.266964] perf version 4.19.37
[   35.266965] 
[   35.274101] PTS_SILENT_MODE=1
[   35.274102] 
[   81.870358] IPMI BMC is not supported on this machine, skip bmc-watchdog setup!
[   81.870360] 
[  122.717329] perf: interrupt took too long (2638 > 2500), lowering kernel.perf_event_max_sample_
rate to 75000
[  122.910327] perf: interrupt took too long (3385 > 3297), lowering kernel.perf_event_max_sample_
rate to 59000
[  123.859332] perf: interrupt took too long (4332 > 4231), lowering kernel.perf_event_max_sample_
rate to 46000
[  124.677330] perf: interrupt took too long (5501 > 5415), lowering kernel.perf_event_max_sample_
rate to 36000
[  125.706330] perf: interrupt took too long (6928 > 6876), lowering kernel.perf_event_max_sample_
rate to 28000
[  128.558329] perf: interrupt took too long (8674 > 8660), lowering kernel.perf_event_max_sample_
rate to 23000
[  230.738516] ------------[ cut here ]------------
[  230.744364] kernel BUG at kernel/dma/mapping.c:186!
[  230.750349] invalid opcode: 0000 [#1] SMP PTI
[  230.755904] CPU: 6 PID: 4235 Comm: clpeak Tainted: G          I       5.9.0-rc3-00097-g71606c35
971cec #1
[  230.766864] Hardware name:  /NUC6i7KYB, BIOS KYSKLi70.86A.0041.2016.0817.1130 08/17/2016
[  230.776355] RIP: 0010:dma_map_sg_attrs+0x3e/0x40
[  230.782124] Code: 76 1d 0f 0b 48 8b 05 81 c1 dd 01 83 f9 02 77 f2 48 85 c0 75 0a e8 12 13 00 00
 85 c0 78 0c c3 48 8b 40 30 e8 a4 d9 c8 00 eb f0 <0f> 0b 0f 1f 44 00 00 48 8b 87 40 02 00 00 48 85
 c0 48 0f 44 05 49
[  230.804046] RSP: 0018:ffffc9000307b9b8 EFLAGS: 00010282
[  230.810547] RAX: 00000000bad55da1 RBX: ffff8888b66c2d00 RCX: 0000000000000000
[  230.819149] RDX: 00000000bad55da1 RSI: ffff8888baf4d020 RDI: ffff8888be8c20b0
[  230.819172] ------------[ cut here ]------------
[  230.827838] RBP: ffff8888bad55a50 R08: 0000000000000130 R09: ffff8888baf4d020
[  230.827839] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8888bb347638
[  230.827839] R13: ffff8888b66c2d00 R14: 0000000000001000 R15: ffff8888bad55a50
[  230.827840] FS:  00007fc7f2960740(0000) GS:ffff8888bed80000(0000) knlGS:0000000000000000
[  230.827841] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  230.827841] CR2: 00005579ebdbe000 CR3: 00000008bbc5a004 CR4: 00000000003706e0
[  230.827842] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  230.827842] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  230.827842] Call Trace:
[  230.827884]  i915_gem_gtt_prepare_pages+0x55/0x80 [i915]
[  230.833614] kernel BUG at kernel/dma/mapping.c:186!
[  230.842130]  __i915_gem_userptr_alloc_pages+0x72/0x140 [i915]
[  230.842210]  i915_gem_userptr_get_pages+0x14b/0x260 [i915]
[  230.930488]  __i915_gem_object_get_pages+0x55/0x60 [i915]
[  230.936965]  i915_vma_pin+0x439/0x740 [i915]
[  230.942170]  ? kmem_cache_alloc+0x3ff/0x480
[  230.947196]  eb_lookup_vmas+0x242/0x9a0 [i915]
[  230.952615]  i915_gem_do_execbuffer+0x269/0xd40 [i915]
[  230.958708]  ? iov_iter_copy_from_user_atomic+0xcb/0x380
[  230.965010]  ? ___perf_sw_event+0x102/0x140
[  230.970108]  i915_gem_execbuffer2_ioctl+0x23b/0x4a0 [i915]
[  230.976730]  ? page_add_new_anon_rmap+0xa3/0x200
[  230.982331]  ? i915_gem_execbuffer_ioctl+0x300/0x300 [i915]
[  230.989012]  drm_ioctl_kernel+0xaa/0x100 [drm]
[  230.994412]  drm_ioctl+0x20c/0x3a0 [drm]
[  230.999325]  ? i915_gem_execbuffer_ioctl+0x300/0x300 [i915]
[  231.005861]  ? handle_mm_fault+0x229/0x2a0
[  231.010788]  ? do_user_addr_fault+0x21b/0x400
[  231.016037]  __x64_sys_ioctl+0x83/0xb0
[  231.020749]  do_syscall_64+0x33/0x40
[  231.025139]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  231.031147] RIP: 0033:0x7fc7f2ba33e7
[  231.035638] Code: 00 00 90 48 8b 05 a9 7a 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66
 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 79 7a 0c 00
 f7 d8 64 89 01 48
[  231.057103] RSP: 002b:00007fff4c962b18 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[  231.065859] RAX: ffffffffffffffda RBX: 00007fff4c962b60 RCX: 00007fc7f2ba33e7
[  231.074066] RDX: 00007fff4c962b60 RSI: 0000000040406469 RDI: 0000000000000007
[  231.082446] RBP: 0000000040406469 R08: 0000000000000000 R09: 0000000000000001
[  231.090823] R10: 0000000000000050 R11: 0000000000000246 R12: 0000000000000002
[  231.099063] R13: 00005579ebdbae00 R14: 00007fff4c962d90 R15: 00007fff4c962c40
[  231.107356] Modules linked in: iptable_filter netconsole sg ip_tables overlay rpcsec_gss_krb5 a
uth_rpcgss nfsv4 dns_resolver btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c sd_mod t1
0_pi intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel i91
5 kvm ahci irqbypass intel_gtt crct10dif_pclmul drm_kms_helper crc32_pclmul sdhci_pci crc32c_intel
 syscopyarea intel_wmi_thunderbolt libahci ghash_clmulni_intel sysfillrect cqhci ir_rc6_decoder ra
pl sysimgblt fb_sys_fops intel_cstate mei_me sdhci rc_rc6_mce drm libata mmc_core intel_uncore mei
 intel_pch_thermal joydev wmi nuvoton_cir rc_core video intel_pmc_core acpi_pad
[  231.173027] invalid opcode: 0000 [#2] SMP PTI
[  231.173041] ---[ end trace 7f1e0f1bbb700472 ]---
[  231.178562] CPU: 7 PID: 314 Comm: kworker/u17:1 Tainted: G      D   I       5.9.0-rc3-00097-g71
606c35971cec #1
[  231.178563] Hardware name:  /NUC6i7KYB, BIOS KYSKLi70.86A.0041.2016.0817.1130 08/17/2016
[  231.178590] Workqueue: i915-userptr-acquire __i915_gem_userptr_get_pages_worker [i915]
[  231.184376] RIP: 0010:dma_map_sg_attrs+0x3e/0x40
[  231.195984] RIP: 0010:dma_map_sg_attrs+0x3e/0x40
[  231.195985] Code: 76 1d 0f 0b 48 8b 05 81 c1 dd 01 83 f9 02 77 f2 48 85 c0 75 0a e8 12 13 00 00
 85 c0 78 0c c3 48 8b 40 30 e8 a4 d9 c8 00 eb f0 <0f> 0b 0f 1f 44 00 00 48 8b 87 40 02 00 00 48 85
 c0 48 0f 44 05 49
[  231.195986] RSP: 0018:ffffc900004d3dc8 EFLAGS: 00010282
[  231.195986] RAX: 00000000bb1f1d40 RBX: ffff8888b53fc600 RCX: 0000000000000000
[  231.195987] RDX: 00000000bb1f1d40 RSI: ffff8888b6743000 RDI: ffff8888be8c20b0
[  231.195987] RBP: ffff8888bb1f16d0 R08: 0000000000000130 R09: ffff88887f20e800
[  231.195988] R10: 000000000003ffbf R11: 0000000000000230 R12: ffff88883f400000
[  231.195988] R13: ffff8888b53fc600 R14: 0000000040000000 R15: ffff8888bb1f16d0
[  231.195989] FS:  0000000000000000(0000) GS:ffff8888bedc0000(0000) knlGS:0000000000000000
[  231.195991] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  231.195992] CR2: 00007fed8ec66000 CR3: 00000008bd60a002 CR4: 00000000003706e0
[  231.205376] Code: 76 1d 0f 0b 48 8b 05 81 c1 dd 01 83 f9 02 77 f2 48 85 c0 75 0a e8 12 13 00 00
 85 c0 78 0c c3 48 8b 40 30 e8 a4 d9 c8 00 eb f0 <0f> 0b 0f 1f 44 00 00 48 8b 87 40 02 00 00 48 85
 c0 48 0f 44 05 49
[  231.214554] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  231.214554] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  231.214554] Call Trace:
[  231.214598]  i915_gem_gtt_prepare_pages+0x55/0x80 [i915]
[  231.214656]  __i915_gem_userptr_alloc_pages+0x72/0x140 [i915]
[  231.220612] RSP: 0018:ffffc9000307b9b8 EFLAGS: 00010282
[  231.226543]  __i915_gem_userptr_get_pages_worker+0x266/0x2a0 [i915]
[  231.226546]  process_one_work+0x1b5/0x3a0
[  231.248132] RAX: 00000000bad55da1 RBX: ffff8888b66c2d00 RCX: 0000000000000000
[  231.254619]  ? process_one_work+0x3a0/0x3a0
[  231.254620]  worker_thread+0x50/0x3c0
[  231.254621]  ? process_one_work+0x3a0/0x3a0
[  231.254623]  kthread+0x114/0x160
[  231.254625]  ? kthread_park+0xa0/0xa0
[  231.254626]  ret_from_fork+0x22/0x30
[  231.254627] Modules linked in: iptable_filter netconsole sg ip_tables overlay rpcsec_gss_krb5 a
uth_rpcgss nfsv4 dns_resolver btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c sd_mod t1
0_pi intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel i91
5 kvm ahci irqbypass intel_gtt crct10dif_pclmul drm_kms_helper crc32_pclmul sdhci_pci crc32c_intel
 syscopyarea intel_wmi_thunderbolt libahci ghash_clmulni_intel sysfillrect cqhci ir_rc6_decoder ra
pl sysimgblt fb_sys_fops intel_cstate mei_me sdhci rc_rc6_mce drm libata mmc_core intel_uncore mei
 intel_pch_thermal joydev wmi nuvoton_cir rc_core video intel_pmc_core acpi_pad
[  231.263144] RDX: 00000000bad55da1 RSI: ffff8888baf4d020 RDI: ffff8888be8c20b0
[  231.271667] ---[ end trace 7f1e0f1bbb700473 ]---
[  231.280128] RBP: ffff8888bad55a50 R08: 0000000000000130 R09: ffff8888baf4d020
[  231.280130] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8888bb347638
[  231.288647] RIP: 0010:dma_map_sg_attrs+0x3e/0x40
[  231.288648] Code: 76 1d 0f 0b 48 8b 05 81 c1 dd 01 83 f9 02 77 f2 48 85 c0 75 0a e8 12 13 00 00
 85 c0 78 0c c3 48 8b 40 30 e8 a4 d9 c8 00 eb f0 <0f> 0b 0f 1f 44 00 00 48 8b 87 40 02 00 00 48 85
 c0 48 0f 44 05 49
[  231.288649] RSP: 0018:ffffc9000307b9b8 EFLAGS: 00010282
[  231.297315] R13: ffff8888b66c2d00 R14: 0000000000001000 R15: ffff8888bad55a50
[  231.297316] FS:  00007fc7f2960740(0000) GS:ffff8888bed80000(0000) knlGS:0000000000000000
[  231.297318] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  231.306740] RAX: 00000000bad55da1 RBX: ffff8888b66c2d00 RCX: 0000000000000000
[  231.306740] RDX: 00000000bad55da1 RSI: ffff8888baf4d020 RDI: ffff8888be8c20b0
[  231.306741] RBP: ffff8888bad55a50 R08: 0000000000000130 R09: ffff8888baf4d020
[  231.306741] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8888bb347638
[  231.306743] R13: ffff8888b66c2d00 R14: 0000000000001000 R15: ffff8888bad55a50
[  231.313753] CR2: 00005579ebdbe000 CR3: 00000008bbc5a004 CR4: 00000000003706e0
[  231.313754] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  231.313754] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  231.313755] Kernel panic - not syncing: Fatal exception
[  231.322158] FS:  0000000000000000(0000) GS:ffff8888bedc0000(0000) knlGS:0000000000000000
[  231.343770] Kernel Offset: disabled
[  231.676344] ACPI MEMORY or I/O RESET_REG.





Thanks,
Rong Chen


View attachment "config-5.9.0-rc3-00097-g71606c35971cec" of type "text/plain" (170215 bytes)

View attachment "job-script" of type "text/plain" (7441 bytes)

View attachment "job.yaml" of type "text/plain" (4693 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ