[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181108002442.GH24195@shao2-debian>
Date: Thu, 8 Nov 2018 08:24:42 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Bart Van Assche <bvanassche@....org>
Cc: Lee Duncan <lduncan@...e.com>, Hannes Reinecke <hare@...e.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Johannes Thumshirn <jthumshirn@...e.de>,
Christoph Hellwig <hch@....de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Bart Van Assche <bart.vanassche@...disk.com>, lkp@...org
Subject: [LKP] [drivers/base] 1431aa42b3:
WARNING:at_drivers/base.c:#device_bind_driver
FYI, we noticed the following commit (built with gcc-7):
commit: 1431aa42b3afc1dd50b292abcc68ccdc3193da63 ("drivers/base: Verify struct device locking requirements at runtime")
https://github.com/bvanassche/linux for-next
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu IvyBridge -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-----------------------------------------------+------------+------------+
| | 5dca0a7d4f | 1431aa42b3 |
+-----------------------------------------------+------------+------------+
| boot_successes | 30 | 0 |
| boot_failures | 0 | 32 |
| Mem-Info | 0 | 32 |
| WARNING:at_drivers/base.c:#device_bind_driver | 0 | 32 |
| RIP:device_bind_driver | 0 | 32 |
| WARNING:at_drivers/base.c:#driver_sysfs_add | 0 | 32 |
| RIP:driver_sysfs_add | 0 | 32 |
| WARNING:at_drivers/base.c:#driver_bound | 0 | 32 |
| RIP:driver_bound | 0 | 32 |
| WARNING:at_drivers/base.c:#device_is_bound | 0 | 32 |
| RIP:device_is_bound | 0 | 32 |
+-----------------------------------------------+------------+------------+
[ 10.875942] test_overflow: kmalloc_node detected saturation
[ 10.876829] test_overflow: kzalloc detected saturation
[ 10.877645] test_overflow: kzalloc_node detected saturation
[ 10.878558] swapper: vmalloc: allocation failure: 18446744073709551615 bytes, mode:0x6000c0(GFP_KERNEL), nodemask=(null)
[ 10.880254] CPU: 0 PID: 1 Comm: swapper Not tainted 4.20.0-rc1-00010-g1431aa4 #1
[ 10.881419] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 10.882724] Call Trace:
[ 10.883753] dump_stack+0x19/0x23
[ 10.884300] warn_alloc+0xab/0x130
[ 10.884868] ? sched_clock+0x9/0x10
[ 10.885428] __vmalloc_node_range+0x222/0x250
[ 10.886124] __vmalloc_node_flags_caller+0x41/0x50
[ 10.886892] ? test_module_init+0x2b7/0xb04
[ 10.887562] kvmalloc_node+0x65/0x70
[ 10.888128] test_module_init+0x2b7/0xb04
[ 10.888770] ? ___cache_free+0x144/0x190
[ 10.889395] ? test_kzalloc+0xdd/0xdd
[ 10.890079] ? set_debug_rodata+0x12/0x12
[ 10.890716] do_one_initcall+0x63/0x12d
[ 10.891325] ? set_debug_rodata+0x12/0x12
[ 10.891969] kernel_init_freeable+0x112/0x19f
[ 10.892666] ? rest_init+0x130/0x130
[ 10.893238] kernel_init+0x9/0x100
[ 10.893791] ret_from_fork+0x1f/0x30
[ 10.894371] Mem-Info:
[ 10.894762] active_anon:0 inactive_anon:0 isolated_anon:0
[ 10.894762] active_file:0 inactive_file:0 isolated_file:0
[ 10.894762] unevictable:63429 dirty:0 writeback:0 unstable:0
[ 10.894762] slab_reclaimable:6162 slab_unreclaimable:1328
[ 10.894762] mapped:0 shmem:0 pagetables:0 bounce:0
[ 10.894762] free:424517 free_pcp:344 free_cma:0
[ 10.899635] Node 0 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:253716kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[ 10.902962] DMA32 free:1698068kB min:5536kB low:7448kB high:9360kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:253716kB writepending:0kB present:2096584kB managed:1986064kB mlocked:0kB kernel_stack:688kB pagetables:0kB bounce:0kB free_pcp:1376kB local_pcp:1376kB free_cma:0kB
[ 10.907213] lowmem_reserve[]: 0 0 0
[ 10.907781] DMA32: 3*4kB (M) 7*8kB (UM) 7*16kB (UME) 5*32kB (UME) 39*64kB (UM) 78*128kB (UM) 51*256kB (UME) 6*512kB (UME) 4*1024kB (UME) 5*2048kB (ME) 404*4096kB (M) = 1698068kB
[ 10.910250] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[ 10.911570] 63434 total pagecache pages
[ 10.912174] 524146 pages RAM
[ 10.912643] 0 pages HighMem/MovableOnly
[ 10.913251] 27630 pages reserved
[ 10.913773] test_overflow: kvmalloc detected saturation
[ 10.914627] swapper: vmalloc: allocation failure: 18446744073709551615 bytes, mode:0x6000c0(GFP_KERNEL), nodemask=(null)
[ 10.916317] CPU: 0 PID: 1 Comm: swapper Not tainted 4.20.0-rc1-00010-g1431aa4 #1
[ 10.917488] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 10.918790] Call Trace:
[ 10.919189] dump_stack+0x19/0x23
[ 10.919727] warn_alloc+0xab/0x130
[ 10.920271] ? sched_clock+0x9/0x10
[ 10.920833] __vmalloc_node_range+0x222/0x250
[ 10.921529] __vmalloc_node_flags_caller+0x41/0x50
[ 10.922292] ? test_module_init+0x38f/0xb04
[ 10.922966] kvmalloc_node+0x65/0x70
[ 10.923544] test_module_init+0x38f/0xb04
[ 10.924182] ? ___cache_free+0x144/0x190
[ 10.924824] ? test_kzalloc+0xdd/0xdd
[ 10.925512] ? set_debug_rodata+0x12/0x12
[ 10.926148] do_one_initcall+0x63/0x12d
[ 10.926767] ? set_debug_rodata+0x12/0x12
[ 10.927407] kernel_init_freeable+0x112/0x19f
[ 10.928106] ? rest_init+0x130/0x130
[ 10.928686] kernel_init+0x9/0x100
[ 10.929229] ret_from_fork+0x1f/0x30
[ 10.929805] test_overflow: kvmalloc_node detected saturation
[ 10.930702] swapper: vmalloc: allocation failure: 18446744073709551615 bytes, mode:0x6080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null)
[ 10.932540] CPU: 0 PID: 1 Comm: swapper Not tainted 4.20.0-rc1-00010-g1431aa4 #1
[ 10.933702] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 10.935027] Call Trace:
[ 10.935430] dump_stack+0x19/0x23
[ 10.935977] warn_alloc+0xab/0x130
[ 10.936529] ? sched_clock+0x9/0x10
[ 10.937091] __vmalloc_node_range+0x222/0x250
[ 10.937792] __vmalloc_node_flags_caller+0x41/0x50
[ 10.938557] ? test_module_init+0x467/0xb04
[ 10.939222] kvmalloc_node+0x65/0x70
[ 10.939799] test_module_init+0x467/0xb04
[ 10.940433] ? ___cache_free+0x144/0x190
[ 10.941061] ? test_kzalloc+0xdd/0xdd
[ 10.941745] ? set_debug_rodata+0x12/0x12
[ 10.942384] do_one_initcall+0x63/0x12d
[ 10.943000] ? set_debug_rodata+0x12/0x12
[ 10.943647] kernel_init_freeable+0x112/0x19f
[ 10.944338] ? rest_init+0x130/0x130
[ 10.944929] kernel_init+0x9/0x100
[ 10.945481] ret_from_fork+0x1f/0x30
[ 10.946052] test_overflow: kvzalloc detected saturation
[ 10.946883] swapper: vmalloc: allocation failure: 18446744073709551615 bytes, mode:0x6080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null)
[ 10.948722] CPU: 0 PID: 1 Comm: swapper Not tainted 4.20.0-rc1-00010-g1431aa4 #1
[ 10.949881] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 10.951178] Call Trace:
[ 10.951585] dump_stack+0x19/0x23
[ 10.952116] warn_alloc+0xab/0x130
[ 10.952672] ? sched_clock+0x9/0x10
[ 10.953232] __vmalloc_node_range+0x222/0x250
[ 10.953930] __vmalloc_node_flags_caller+0x41/0x50
[ 10.954708] ? test_module_init+0x551/0xb04
[ 10.955375] kvmalloc_node+0x65/0x70
[ 10.955958] test_module_init+0x551/0xb04
[ 10.956605] ? ___cache_free+0x144/0x190
[ 10.957230] ? test_kzalloc+0xdd/0xdd
[ 10.957919] ? set_debug_rodata+0x12/0x12
[ 10.958566] do_one_initcall+0x63/0x12d
[ 10.959179] ? set_debug_rodata+0x12/0x12
[ 10.959825] kernel_init_freeable+0x112/0x19f
[ 10.960522] ? rest_init+0x130/0x130
[ 10.961088] kernel_init+0x9/0x100
[ 10.961638] ret_from_fork+0x1f/0x30
[ 10.962208] test_overflow: kvzalloc_node detected saturation
[ 10.963117] swapper: vmalloc: allocation failure: 18446744073709551615 bytes, mode:0x6000c0(GFP_KERNEL), nodemask=(null)
[ 10.964819] CPU: 0 PID: 1 Comm: swapper Not tainted 4.20.0-rc1-00010-g1431aa4 #1
[ 10.965985] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 10.967283] Call Trace:
[ 10.967689] dump_stack+0x19/0x23
[ 10.968223] warn_alloc+0xab/0x130
[ 10.968771] __vmalloc_node_range+0x222/0x250
[ 10.969460] vmalloc+0x41/0x50
[ 10.969959] ? test_module_init+0x623/0xb04
[ 10.970629] test_module_init+0x623/0xb04
[ 10.971267] ? ___cache_free+0x144/0x190
[ 10.971892] ? test_kzalloc+0xdd/0xdd
[ 10.972570] ? set_debug_rodata+0x12/0x12
[ 10.973203] do_one_initcall+0x63/0x12d
[ 10.973819] ? set_debug_rodata+0x12/0x12
[ 10.974457] kernel_init_freeable+0x112/0x19f
[ 10.975164] ? rest_init+0x130/0x130
[ 10.975745] kernel_init+0x9/0x100
[ 10.976287] ret_from_fork+0x1f/0x30
[ 10.976866] test_overflow: vmalloc detected saturation
[ 10.977691] swapper: vmalloc: allocation failure: 18446744073709551615 bytes, mode:0x6000c0(GFP_KERNEL), nodemask=(null)
[ 10.979367] CPU: 0 PID: 1 Comm: swapper Not tainted 4.20.0-rc1-00010-g1431aa4 #1
[ 10.980528] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 10.981821] Call Trace:
[ 10.982218] dump_stack+0x19/0x23
[ 10.982758] warn_alloc+0xab/0x130
[ 10.983302] __vmalloc_node_range+0x222/0x250
[ 10.983994] vmalloc_node+0x42/0x50
[ 10.984570] ? test_module_init+0x6fe/0xb04
[ 10.985233] test_module_init+0x6fe/0xb04
[ 10.985876] ? ___cache_free+0x144/0x190
[ 10.986506] ? test_kzalloc+0xdd/0xdd
[ 10.987177] ? set_debug_rodata+0x12/0x12
[ 10.987817] do_one_initcall+0x63/0x12d
[ 10.988425] ? set_debug_rodata+0x12/0x12
[ 10.989069] kernel_init_freeable+0x112/0x19f
[ 10.989762] ? rest_init+0x130/0x130
[ 10.990326] kernel_init+0x9/0x100
[ 10.990883] ret_from_fork+0x1f/0x30
[ 10.991457] test_overflow: vmalloc_node detected saturation
[ 10.992349] swapper: vmalloc: allocation failure: 18446744073709551615 bytes, mode:0x6080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null)
[ 10.994194] CPU: 0 PID: 1 Comm: swapper Not tainted 4.20.0-rc1-00010-g1431aa4 #1
[ 10.995376] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 10.996688] Call Trace:
[ 10.997090] dump_stack+0x19/0x23
[ 10.997631] warn_alloc+0xab/0x130
[ 10.998179] __vmalloc_node_range+0x222/0x250
[ 10.998877] vzalloc+0x41/0x50
[ 10.999367] ? test_module_init+0x7d0/0xb04
[ 11.000038] test_module_init+0x7d0/0xb04
[ 11.000682] ? ___cache_free+0x144/0x190
[ 11.001307] ? test_kzalloc+0xdd/0xdd
[ 11.001991] ? set_debug_rodata+0x12/0x12
[ 11.002633] do_one_initcall+0x63/0x12d
[ 11.003247] ? set_debug_rodata+0x12/0x12
[ 11.003892] kernel_init_freeable+0x112/0x19f
[ 11.004597] ? rest_init+0x130/0x130
[ 11.005172] kernel_init+0x9/0x100
[ 11.005729] ret_from_fork+0x1f/0x30
[ 11.006302] test_overflow: vzalloc detected saturation
[ 11.007131] swapper: vmalloc: allocation failure: 18446744073709551615 bytes, mode:0x6080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null)
[ 11.008980] CPU: 0 PID: 1 Comm: swapper Not tainted 4.20.0-rc1-00010-g1431aa4 #1
[ 11.010136] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 11.011438] Call Trace:
[ 11.011842] dump_stack+0x19/0x23
[ 11.012375] warn_alloc+0xab/0x130
[ 11.012924] __vmalloc_node_range+0x222/0x250
[ 11.013625] vzalloc_node+0x42/0x50
[ 11.014180] ? test_module_init+0x8ab/0xb04
[ 11.014859] test_module_init+0x8ab/0xb04
[ 11.015507] ? test_kzalloc+0xdd/0xdd
[ 11.016186] ? set_debug_rodata+0x12/0x12
[ 11.016830] do_one_initcall+0x63/0x12d
[ 11.017442] ? set_debug_rodata+0x12/0x12
[ 11.018082] kernel_init_freeable+0x112/0x19f
[ 11.018776] ? rest_init+0x130/0x130
[ 11.019347] kernel_init+0x9/0x100
[ 11.019895] ret_from_fork+0x1f/0x30
[ 11.020463] test_overflow: vzalloc_node detected saturation
[ 11.021348] test_overflow: devm_kmalloc detected saturation
[ 11.022232] test_overflow: devm_kzalloc detected saturation
[ 11.023184] test_overflow: all tests passed
[ 11.024178] Running rhashtable test nelem=8, max_size=0, shrinking=0
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
rongc
View attachment "config-4.20.0-rc1-00010-g1431aa4" of type "text/plain" (140416 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (22288 bytes)
Powered by blists - more mailing lists