[lkp-robot] [x86/paravirt] b1e955caea: WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_off_caller
by kernel test robot
FYI, we noticed the following commit:
commit: b1e955caea7e3ae340ebd5392a7fe4478f64ce1d ("x86/paravirt: Avoid setting IF flag, if not necessary")
url: https://github.com/0day-ci/linux/commits/Waiman-Long/x86-paravirt-Avoid-s...
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -m 320M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------------+------------+------------+
| | 10b9dd5686 | b1e955caea |
+----------------------------------------------------------------+------------+------------+
| boot_successes | 2 | 4 |
| boot_failures | 2 | 4 |
| WARNING:at_arch/x86/include/asm/fpu/internal.h:#fpu__restore | 2 | |
| WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_off_caller | 0 | 4 |
| calltrace:native_smp_prepare_cpus | 0 | 4 |
+----------------------------------------------------------------+------------+------------+
[ 3.528640] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:2760 trace_hardirqs_off_caller+0x108/0x120
[ 3.530745] DEBUG_LOCKS_WARN_ON(!irqs_disabled())
[ 3.532013] Modules linked in:
[ 3.533837] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-rc6-00134-gb1e955c #1
[ 3.534833] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 3.537411] ffffc9000000bcc8 ffffffff8144e9e3 ffffffff8113d618 ffffc9000000bd28
[ 3.539432] ffffc9000000bd28 0000000000000000 ffffc9000000bd18 ffffffff810ac222
[ 3.540000] 0000000000000000 00000ac800000001 0000000000000000 00000000ffff8c25
[ 3.540000] Call Trace:
[ 3.540000] [<ffffffff8144e9e3>] dump_stack+0xf1/0x16e
[ 3.540000] [<ffffffff8113d618>] ? trace_hardirqs_off_caller+0x108/0x120
[ 3.540000] [<ffffffff810ac222>] __warn+0x172/0x1a0
[ 3.540000] [<ffffffff810ac361>] warn_slowpath_fmt+0x61/0x80
[ 3.540000] [<ffffffff814644d0>] ? delay_tsc+0x1a0/0x1d0
[ 3.540000] [<ffffffff8113d618>] trace_hardirqs_off_caller+0x108/0x120
[ 3.540000] [<ffffffff8113d64d>] trace_hardirqs_off+0x1d/0x30
[ 3.540000] [<ffffffff82636855>] timer_irq_works+0x9f/0x10f
[ 3.540000] [<ffffffff82636f58>] setup_IO_APIC+0x693/0xee5
[ 3.540000] [<ffffffff81b6cb91>] ? _raw_spin_unlock_irqrestore+0x91/0xf0
[ 3.540000] [<ffffffff81054d43>] ? clear_IO_APIC_pin+0xe3/0x1a0
[ 3.540000] [<ffffffff82634398>] apic_bsp_setup+0x105/0x122
[ 3.540000] [<ffffffff82633422>] native_smp_prepare_cpus+0x4b3/0x55e
[ 3.540000] [<ffffffff8261fbfd>] kernel_init_freeable+0x76/0x2c4
[ 3.540000] [<ffffffff81b54e10>] ? rest_init+0x220/0x220
[ 3.540000] [<ffffffff81b54e26>] kernel_init+0x16/0x1d0
[ 3.540000] [<ffffffff81b6cfaa>] ret_from_fork+0x2a/0x40
[ 3.543531] ---[ end trace 14a0f48288b7a69f ]---
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
5 years, 6 months
[lkp-robot] [rhashtable] 60be2ebf32: INFO:suspicious_RCU_usage
by kernel test robot
FYI, we noticed the following commit:
commit: 60be2ebf326aa90c88e9a967412557d832a1612e ("rhashtable: Add nested tables")
url: https://github.com/0day-ci/linux/commits/Herbert-Xu/rhashtable-Handle-tab...
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------+------------+------------+
| | 12f609851b | 60be2ebf32 |
+-------------------------------------------------+------------+------------+
| boot_successes | 123 | 5 |
| boot_failures | 9 | 8 |
| BUG:kernel_reboot-without-warning_in_test_stage | 9 | |
| INFO:suspicious_RCU_usage | 0 | 8 |
+-------------------------------------------------+------------+------------+
[ 222.678280] [ INFO: suspicious RCU usage. ]
[ 222.678280] [ INFO: suspicious RCU usage. ]
[ 222.699410] 4.10.0-rc6-00112-g60be2eb #534 Not tainted
[ 222.699410] 4.10.0-rc6-00112-g60be2eb #534 Not tainted
[ 222.725264] -------------------------------
[ 222.725264] -------------------------------
[ 222.741887] lib/rhashtable.c:1125 suspicious rcu_dereference_check() usage!
[ 222.741887] lib/rhashtable.c:1125 suspicious rcu_dereference_check() usage!
[ 222.783537]
[ 222.783537] other info that might help us debug this:
[ 222.783537]
[ 222.783537]
[ 222.783537] other info that might help us debug this:
[ 222.783537]
[ 222.823615]
[ 222.823615] rcu_scheduler_active = 2, debug_locks = 1
[ 222.823615]
[ 222.823615] rcu_scheduler_active = 2, debug_locks = 1
[ 222.856672] 4 locks held by kworker/0:1/19:
[ 222.856672] 4 locks held by kworker/0:1/19:
[ 222.877765] #0: ("events"){.+.+.+}, at: [<ffffffff810e6bf5>] process_one_work+0x2ac/0x761
[ 222.877765] #0: ("events"){.+.+.+}, at: [<ffffffff810e6bf5>] process_one_work+0x2ac/0x761
[ 222.917921] #1: ((&ht->run_work)){+.+.+.}, at: [<ffffffff810e6c1f>] process_one_work+0x2d6/0x761
[ 222.917921] #1: ((&ht->run_work)){+.+.+.}, at: [<ffffffff810e6c1f>] process_one_work+0x2d6/0x761
[ 222.960763] #2: (&ht->mutex){+.+.+.}, at: [<ffffffff8145b13a>] rht_deferred_worker+0x22/0x26a
[ 222.960763] #2: (&ht->mutex){+.+.+.}, at: [<ffffffff8145b13a>] rht_deferred_worker+0x22/0x26a
[ 223.004378] #3: (&(&tbl->locks[i])->rlock){+.....}, at: [<ffffffff8145abce>] rhashtable_rehash_table+0xf6/0x640
[ 223.004378] #3: (&(&tbl->locks[i])->rlock){+.....}, at: [<ffffffff8145abce>] rhashtable_rehash_table+0xf6/0x640
[ 223.055769]
[ 223.055769] stack backtrace:
[ 223.055769]
[ 223.055769] stack backtrace:
[ 223.078034] CPU: 0 PID: 19 Comm: kworker/0:1 Not tainted 4.10.0-rc6-00112-g60be2eb #534
[ 223.078034] CPU: 0 PID: 19 Comm: kworker/0:1 Not tainted 4.10.0-rc6-00112-g60be2eb #534
[ 223.118613] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 223.118613] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 223.169614] Workqueue: events rht_deferred_worker
[ 223.169614] Workqueue: events rht_deferred_worker
[ 223.193302] Call Trace:
[ 223.193302] Call Trace:
[ 223.205882] dump_stack+0x19/0x1b
[ 223.205882] dump_stack+0x19/0x1b
[ 223.222639] lockdep_rcu_suspicious+0xdd/0xf4
[ 223.222639] lockdep_rcu_suspicious+0xdd/0xf4
[ 223.244610] rht_bucket_nested+0x107/0x10c
[ 223.244610] rht_bucket_nested+0x107/0x10c
[ 223.265382] rhashtable_rehash_table+0x373/0x640
[ 223.265382] rhashtable_rehash_table+0x373/0x640
[ 223.289295] rht_deferred_worker+0x112/0x26a
[ 223.289295] rht_deferred_worker+0x112/0x26a
[ 223.308573] process_one_work+0x3b7/0x761
[ 223.308573] process_one_work+0x3b7/0x761
[ 223.328696] ? process_one_work+0x2d6/0x761
[ 223.328696] ? process_one_work+0x2d6/0x761
[ 223.349210] worker_thread+0x2aa/0x6a5
[ 223.349210] worker_thread+0x2aa/0x6a5
[ 223.368199] kthread+0x107/0x13a
[ 223.368199] kthread+0x107/0x13a
[ 223.384633] ? process_one_work+0x761/0x761
[ 223.384633] ? process_one_work+0x761/0x761
[ 223.405721] ? __kthread_create_on_node+0x232/0x232
[ 223.405721] ? __kthread_create_on_node+0x232/0x232
[ 223.430350] ret_from_fork+0x31/0x40
[ 223.430350] ret_from_fork+0x31/0x40
[ 223.448309]
[ 223.448309]
[ 223.456052] ===============================
[ 223.456052] ===============================
[ 223.477118] [ INFO: suspicious RCU usage. ]
[ 223.477118] [ INFO: suspicious RCU usage. ]
[ 223.498249] 4.10.0-rc6-00112-g60be2eb #534 Not tainted
[ 223.498249] 4.10.0-rc6-00112-g60be2eb #534 Not tainted
[ 223.524590] -------------------------------
[ 223.524590] -------------------------------
[ 223.545889] lib/rhashtable.c:1130 suspicious rcu_dereference_check() usage!
[ 223.545889] lib/rhashtable.c:1130 suspicious rcu_dereference_check() usage!
[ 223.588207]
[ 223.588207] other info that might help us debug this:
[ 223.588207]
[ 223.588207]
[ 223.588207] other info that might help us debug this:
[ 223.588207]
[ 223.630761]
[ 223.630761] rcu_scheduler_active = 2, debug_locks = 1
[ 223.630761]
[ 223.630761] rcu_scheduler_active = 2, debug_locks = 1
[ 223.663675] 4 locks held by kworker/0:1/19:
[ 223.663675] 4 locks held by kworker/0:1/19:
[ 223.684903] #0: ("events"){.+.+.+}, at: [<ffffffff810e6bf5>] process_one_work+0x2ac/0x761
[ 223.684903] #0: ("events"){.+.+.+}, at: [<ffffffff810e6bf5>] process_one_work+0x2ac/0x761
[ 223.727266] #1: ((&ht->run_work)){+.+.+.}, at: [<ffffffff810e6c1f>] process_one_work+0x2d6/0x761
[ 223.727266] #1: ((&ht->run_work)){+.+.+.}, at: [<ffffffff810e6c1f>] process_one_work+0x2d6/0x761
[ 223.772273] #2: (&ht->mutex){+.+.+.}, at: [<ffffffff8145b13a>] rht_deferred_worker+0x22/0x26a
[ 223.772273] #2: (&ht->mutex){+.+.+.}, at: [<ffffffff8145b13a>] rht_deferred_worker+0x22/0x26a
[ 223.815952] #3: (&(&tbl->locks[i])->rlock){+.....}, at: [<ffffffff8145abce>] rhashtable_rehash_table+0xf6/0x640
[ 223.815952] #3: (&(&tbl->locks[i])->rlock){+.....}, at: [<ffffffff8145abce>] rhashtable_rehash_table+0xf6/0x640
[ 223.867261]
[ 223.867261] stack backtrace:
[ 223.867261]
[ 223.867261] stack backtrace:
[ 223.889319] CPU: 0 PID: 19 Comm: kworker/0:1 Not tainted 4.10.0-rc6-00112-g60be2eb #534
[ 223.889319] CPU: 0 PID: 19 Comm: kworker/0:1 Not tainted 4.10.0-rc6-00112-g60be2eb #534
[ 223.929997] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 223.929997] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 223.981005] Workqueue: events rht_deferred_worker
[ 223.981005] Workqueue: events rht_deferred_worker
[ 224.004663] Call Trace:
[ 224.004663] Call Trace:
[ 224.017225] dump_stack+0x19/0x1b
[ 224.017225] dump_stack+0x19/0x1b
[ 224.034147] lockdep_rcu_suspicious+0xdd/0xf4
[ 224.034147] lockdep_rcu_suspicious+0xdd/0xf4
[ 224.056211] rht_bucket_nested+0xb1/0x10c
[ 224.056211] rht_bucket_nested+0xb1/0x10c
[ 224.076497] rhashtable_rehash_table+0x373/0x640
[ 224.076497] rhashtable_rehash_table+0x373/0x640
[ 224.099931] rht_deferred_worker+0x112/0x26a
[ 224.099931] rht_deferred_worker+0x112/0x26a
[ 224.122059] process_one_work+0x3b7/0x761
[ 224.122059] process_one_work+0x3b7/0x761
[ 224.142702] ? process_one_work+0x2d6/0x761
[ 224.142702] ? process_one_work+0x2d6/0x761
[ 224.163871] worker_thread+0x2aa/0x6a5
[ 224.163871] worker_thread+0x2aa/0x6a5
[ 224.182764] kthread+0x107/0x13a
[ 224.182764] kthread+0x107/0x13a
[ 224.199164] ? process_one_work+0x761/0x761
[ 224.199164] ? process_one_work+0x761/0x761
[ 224.220351] ? __kthread_create_on_node+0x232/0x232
[ 224.220351] ? __kthread_create_on_node+0x232/0x232
[ 224.244855] ret_from_fork+0x31/0x40
[ 224.244855] ret_from_fork+0x31/0x40
[ 234.724349] Started 10 threads, 0 failed
[ 234.724349] Started 10 threads, 0 failed
[ 234.962237] test_printf: all 260 tests passed
[ 234.962237] test_printf: all 260 tests passed
[ 235.933585] test_bitmap: all 460506 tests passed
[ 235.933585] test_bitmap: all 460506 tests passed
[ 235.974966] test_uuid: all 18 tests passed
[ 235.974966] test_uuid: all 18 tests passed
[ 236.023025] glob: 64 self-tests passed, 0 failed
[ 236.023025] glob: 64 self-tests passed, 0 failed
[ 236.048527] rbtree testing
[ 236.048527] rbtree testing
[ 243.915063] -> 177860 cycles
[ 243.915063] -> 177860 cycles
[ 245.007005] augmented rbtree testing
[ 245.007005] augmented rbtree testing
[ 254.991361] -> 225745 cycles
[ 254.991361] -> 225745 cycles
[ 256.827942] gpio_it87: no device
[ 256.827942] gpio_it87: no device
[ 256.853015] gpio-mockup: probe of gpio-mockup failed with error -22
[ 256.853015] gpio-mockup: probe of gpio-mockup failed with error -22
[ 256.918377] cr_bllcd: INTEL CARILLO RANCH LPC not found.
[ 256.918377] cr_bllcd: INTEL CARILLO RANCH LPC not found.
[ 256.946920] cr_bllcd: Carillo Ranch Backlight Driver Initialized.
[ 256.946920] cr_bllcd: Carillo Ranch Backlight Driver Initialized.
[ 256.997383] vmlfb: initializing
[ 256.997383] vmlfb: initializing
[ 257.017758] no IO addresses supplied
[ 257.017758] no IO addresses supplied
[ 257.040767] hgafb: HGA card not detected.
[ 257.040767] hgafb: HGA card not detected.
[ 257.062684] hgafb: probe of hgafb.0 failed with error -22
[ 257.062684] hgafb: probe of hgafb.0 failed with error -22
[ 257.102876] uvesafb: failed to execute /sbin/v86d
[ 257.102876] uvesafb: failed to execute /sbin/v86d
[ 257.126137] uvesafb: make sure that the v86d helper is installed and executable
[ 257.126137] uvesafb: make sure that the v86d helper is installed and executable
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
5 years, 6 months
[scsi/sd] 6abeeb67b0: reboot/777 is trying to release lock (&shost->scan_mutex) at:
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux Song-Liu/scsi-sd-release-scan_mutex-during-sync_cache-and-start_stop/20170208-144337
commit 6abeeb67b0590096a6934269b47b00f3a2222a99
Author: Song Liu <songliubraving(a)fb.com>
AuthorDate: Tue Feb 7 21:41:06 2017 -0800
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Wed Feb 8 14:43:41 2017 +0800
scsi/sd: release scan_mutex during sync_cache and start_stop
When a device is deleted through sysfs handle "delete", the code
locks shost->scan_mutex. If multiple devices are deleted at the
same time, these deletes will be handled in series.
On the other hand, sd_shutdown() sometimes issues long latency
commands: sync cache and start_stop. It is not necessary for these
commands to run in series.
To reduce latency of parallel "delete" requests, this patch unlock
shost->scan_mutex before long latency commands and relock the mutex
after the command.
Signed-off-by: Song Liu <songliubraving(a)fb.com>
+-------------------------------------------------+------------+------------+------------+
| | d35ea41f1d | 6abeeb67b0 | 55fc4005c7 |
+-------------------------------------------------+------------+------------+------------+
| boot_successes | 66 | 0 | 0 |
| boot_failures | 0 | 22 | 13 |
| is_trying_to_release_lock(&shost->scan_mutex)at | 0 | 22 | 13 |
+-------------------------------------------------+------------+------------+------------+
[ 112.762290] [ BUG: bad unlock balance detected! ]
[ 112.763155] 4.10.0-rc2-00172-g6abeeb6 #1 Not tainted
[ 112.764099] -------------------------------------
[ 112.765008] reboot/777 is trying to release lock (&shost->scan_mutex) at:
[ 112.766884] [<ffffffffba5fa2a5>] sd_shutdown+0x12e/0x26c
[ 112.767803] but there are no more locks to release!
[ 112.768629]
[ 112.768629] other info that might help us debug this:
[ 112.769721] 3 locks held by reboot/777:
[ 112.770368] #0: (reboot_mutex){......}, at: [<ffffffffb994f3e4>] SYSC_reboot+0x150/0x28a
[ 112.771781] #1: (&dev->mutex){......}, at: [<ffffffffba4e1d0e>] device_shutdown+0xdd/0x32a
[ 112.773363] #2: (&dev->mutex){......}, at: [<ffffffffba4e1d20>] device_shutdown+0xef/0x32a
[ 112.774897]
[ 112.774897] stack backtrace:
[ 112.775819] CPU: 0 PID: 777 Comm: reboot Not tainted 4.10.0-rc2-00172-g6abeeb6 #1
[ 112.777326] Call Trace:
[ 112.777871] show_stack+0x6b/0x6e
[ 112.778568] dump_stack+0x19/0x1b
[ 112.779287] print_unlock_imbalance_bug+0xfd/0x106
git bisect start 55fc4005c72091403ef4f2db7cef3ab82744d22f d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c --
git bisect bad 0ad52b960e702c83f16bf1b00b4ee425652612b2 # 23:29 0- 9 Merge 'linux-review/Markus-Mayer/cpufreq-bmips-cpufreq-Add-CPUfreq-driver-for-Broadcom-s-BMIPS-SoCs/20170208-062037' into devel-spot-201702082038
git bisect good 7951fc0707eb5e0ec95572ea1a8e73e10c4ae2cd # 23:51 22+ 0 Merge 'linux-review/yuantian-tang-nxp-com/cpufreq-qoriq-added-arm64-socs-support/20170208-163748' into devel-spot-201702082038
git bisect bad 8a1a11b7d494dfe04e32776bb658513a1ddfdd20 # 00:15 0- 16 Merge 'linux-review/Kinglong-Mee/SUNRPC-Drop-all-entries-from-cache_detail-when-cache_purge/20170208-100000' into devel-spot-201702082038
git bisect bad af5506487c3aa52be63ed755d42792c19d102a95 # 00:27 0- 11 Merge 'linux-review/David-Carrillo-Cisneros/tools-lib-traceevent-Robustify-do_generate_dynamic_list_file/20170208-133901' into devel-spot-201702082038
git bisect good 26899ada4d96e4c6009a46928d8c32c9cd0864e5 # 00:40 21+ 0 Merge 'linux-review/Gustavo-A-R-Silva/drivers-usb-early-remove-unused-code/20170208-144808' into devel-spot-201702082038
git bisect bad 164c4bed04d2047beee51e6cc030609d997e85db # 00:58 0- 12 Merge 'linux-review/Song-Liu/scsi-sd-release-scan_mutex-during-sync_cache-and-start_stop/20170208-144337' into devel-spot-201702082038
git bisect bad 6abeeb67b0590096a6934269b47b00f3a2222a99 # 01:19 0- 11 scsi/sd: release scan_mutex during sync_cache and start_stop
# first bad commit: [6abeeb67b0590096a6934269b47b00f3a2222a99] scsi/sd: release scan_mutex during sync_cache and start_stop
git bisect good d35ea41f1df455df8102af4d6e1150a1bfeeadce # 01:49 62+ 0 Merge branch 'misc' into for-next
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 6abeeb67b0590096a6934269b47b00f3a2222a99 # 02:03 0- 29 scsi/sd: release scan_mutex during sync_cache and start_stop
# extra tests on HEAD of linux-devel/devel-spot-201702082038
git bisect bad 55fc4005c72091403ef4f2db7cef3ab82744d22f # 02:03 0- 13 0day head guard for 'devel-spot-201702082038'
# extra tests on tree/branch linux-review/Song-Liu/scsi-sd-release-scan_mutex-during-sync_cache-and-start_stop/20170208-144337
git bisect bad 6abeeb67b0590096a6934269b47b00f3a2222a99 # 02:05 0- 22 scsi/sd: release scan_mutex during sync_cache and start_stop
# extra tests with first bad commit reverted
git bisect good ffb4d278ae2f5fa3abcb4d4b22c386d65fe2da07 # 02:42 66+ 0 Revert "scsi/sd: release scan_mutex during sync_cache and start_stop"
# extra tests on tree/branch linus/master
git bisect good 926af6273fc683cd98cd0ce7bf0d04a02eed6742 # 03:00 66+ 1 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
# extra tests on tree/branch linux-next/master
git bisect good e3e6c5f3544c5d05c6b3b309a34f4f2c3537e993 # 03:12 63+ 0 Add linux-next specific files for 20170208
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
5 years, 6 months
[auxdisplay: charlcd] cdcb352cdb: INFO: trying to register non-static key.
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux Geert-Uytterhoeven/Add-HD44780-Character-LCD-support/20170206-225742
commit cdcb352cdba7559c3e450f6dc0b365a1fc27faef
Author: Geert Uytterhoeven <geert(a)linux-m68k.org>
AuthorDate: Mon Feb 6 15:38:11 2017 +0100
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Mon Feb 6 22:57:49 2017 +0800
auxdisplay: charlcd: Extract character LCD core from misc/panel
Extract the character LCD core from the Parallel port LCD/Keypad Panel
driver in the misc subsystem, and convert it into a subdriver in the
auxdisplay subsystem. This allows the character LCD core to be used by
other drivers later.
Compilation is controlled by its own Kconfig symbol CHARLCD, which is to
be selected by its users, but can be enabled manually for
compile-testing.
All functions changed their prefix from "lcd_" to "charlcd_", and gained
a "struct charlcd *" parameter to operate on a specific instance.
While the driver API thus is ready to support multiple instances, the
current limitation of a single display (/dev/lcd has a single misc minor
assigned) is retained.
No functional changes intended.
Signed-off-by: Geert Uytterhoeven <geert(a)linux-m68k.org>
+-------------------------------------------------+------------+------------+------------+
| | e1792a60e1 | cdcb352cdb | 6916040948 |
+-------------------------------------------------+------------+------------+------------+
| boot_successes | 64 | 0 | 0 |
| boot_failures | 2 | 22 | 13 |
| BUG:kernel_reboot-without-warning_in_test_stage | 2 | | |
| INFO:trying_to_register_non-static_key | 0 | 22 | 13 |
+-------------------------------------------------+------------+------------+------------+
[ 6.923024] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]
[ 6.929389] ibmasm: IBM ASM Service Processor Driver version 1.0 loaded
[ 6.929389] ibmasm: IBM ASM Service Processor Driver version 1.0 loaded
[ 7.036785] INFO: trying to register non-static key.
[ 7.036785] INFO: trying to register non-static key.
[ 7.038916] the code is fine but needs lockdep annotation.
[ 7.038916] the code is fine but needs lockdep annotation.
[ 7.041191] turning off the locking correctness validator.
[ 7.041191] turning off the locking correctness validator.
[ 7.043647] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc7-00133-gcdcb352 #2
[ 7.043647] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc7-00133-gcdcb352 #2
[ 7.046960] Call Trace:
[ 7.046960] Call Trace:
[ 7.048089] dump_stack+0x19/0x1b
[ 7.048089] dump_stack+0x19/0x1b
[ 7.049694] register_lock_class+0x12f/0x2fa
git bisect start 691604094882dd7cacfc5a6cb99918a50e1f7e70 d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c --
git bisect good 2ada4336df0cc3db96edac0722eb68fdb4009537 # 03:48 22+ 0 Merge 'namhyung-perf/perf/diff-delta-abs-v1' into devel-catchup-201702070104
git bisect good 1e46e4a05a72278d0738a04061e969960ae75bc5 # 04:29 22+ 0 Merge 'linux-review/Richard-Leitner/usb-misc-add-USB251xB-xBi-Hi-Speed-Hub-Controller-Driver/20170206-220950' into devel-catchup-201702070104
git bisect bad b96fd90dbd7d72104a79cb2b87a180216271c69d # 05:00 0- 7 Merge 'iommu/arm/core' into devel-catchup-201702070104
git bisect bad 6d02899f91bb4e332459c4eda3793785c40976e2 # 05:13 0- 6 Merge 'hverkuil-media/sama5d3' into devel-catchup-201702070104
git bisect good 4b4a3027af35eb69bce1727eaabaf3da54f080da # 05:30 22+ 0 Merge 'linux-review/Cheah-Kok-Cheong/scripts-checkincludes-add-exit-message-for-no-duplicates-found/20170206-224241' into devel-catchup-201702070104
git bisect good c06282ba22c87dd00f6305ded3f4381d4c5aab56 # 05:53 20+ 0 Merge 'perf/perf/core' into devel-catchup-201702070104
git bisect bad cf3aa68bf1c5c6d134e09f7d21003c84df63fe7d # 06:08 0- 2 Merge 'linux-review/Geert-Uytterhoeven/Add-HD44780-Character-LCD-support/20170206-225742' into devel-catchup-201702070104
git bisect good bd58941b08cb6657205b980c5da7682f8ad1ef41 # 06:38 20+ 0 misc: panel: Add lcd_home() helper
git bisect bad 234bf551433cdecbd25593a2bce8b72e7e7280f5 # 06:50 0- 3 auxdisplay: charlcd: Add support for 4-bit interfaces
git bisect bad cdcb352cdba7559c3e450f6dc0b365a1fc27faef # 07:15 0- 2 auxdisplay: charlcd: Extract character LCD core from misc/panel
git bisect good e1792a60e10daf3a273332dce849c2d922272e5c # 07:25 20+ 0 misc: panel: Abstract temporary backlight handling
# first bad commit: [cdcb352cdba7559c3e450f6dc0b365a1fc27faef] auxdisplay: charlcd: Extract character LCD core from misc/panel
git bisect good e1792a60e10daf3a273332dce849c2d922272e5c # 07:32 62+ 2 misc: panel: Abstract temporary backlight handling
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad cdcb352cdba7559c3e450f6dc0b365a1fc27faef # 08:05 0- 1 auxdisplay: charlcd: Extract character LCD core from misc/panel
# extra tests on HEAD of linux-devel/devel-catchup-201702070104
git bisect bad 691604094882dd7cacfc5a6cb99918a50e1f7e70 # 08:06 0- 13 0day head guard for 'devel-catchup-201702070104'
# extra tests on tree/branch linux-review/Geert-Uytterhoeven/Add-HD44780-Character-LCD-support/20170206-225742
git bisect bad 35cb5b31397ef24e055b5311109422b6beaf5c85 # 08:23 0- 28 auxdisplay: Add HD44780 Character LCD support
# extra tests on tree/branch linus/master
git bisect good f7d6040aa45df6ffd9e891114125dc919f18b96b # 08:36 62+ 0 Merge tag 'pm-4.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
# extra tests on tree/branch linux-next/master
git bisect good ce05054690c4e11ea08a3c883c5428f5a4dd92c2 # 08:39 64+ 0 Add linux-next specific files for 20170206
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
5 years, 6 months
[x86/mm] fe76e5cf4c: BUG: spinlock bad magic on CPU#0, init/1
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/pcid
commit fe76e5cf4cffaf677fdf425ddb0f711f0b754081
Author: Andy Lutomirski <luto(a)kernel.org>
AuthorDate: Tue Mar 22 15:22:30 2016 -0700
Commit: Andy Lutomirski <luto(a)kernel.org>
CommitDate: Tue Feb 7 10:39:05 2017 -0800
x86/mm: Hold a spinlock when propagating TLB flushes
We currently allow unlimited concurrency when flushing TLB entries
associated with an mm_struct. This isn't a problem right now, but,
when we add ASID support, this would make the bookkeeping very
messy.
This patch adds a per-mm spinlock that is held only when propagating
TLB flushes for that mm. This means that there will be a total
order of flush events for a given mm, which means that we will be
able to cleanly associate generation numbers with an mm.
This should have negligible performance impact: TLB flush
propagation is effectively serialized by the synchronous cross-CPU
function calls even if multiple CPUs try to do propagate_tlb_flush()
concurrently.
Signed-off-by: Andy Lutomirski <luto(a)kernel.org>
+-------------------------------------------------+------------+------------+------------+
| | e3b2e8485e | fe76e5cf4c | 0eef6efbfd |
+-------------------------------------------------+------------+------------+------------+
| boot_successes | 121 | 0 | 0 |
| boot_failures | 1 | 30 | 13 |
| BUG:kernel_reboot-without-warning_in_test_stage | 1 | | |
| BUG:spinlock_bad_magic_on_CPU | 0 | 30 | 13 |
+-------------------------------------------------+------------+------------+------------+
[ 4.645752] Write protecting the kernel read-only data: 10240k
[ 4.647334] Freeing unused kernel memory: 1040K
[ 4.657208] Freeing unused kernel memory: 1492K
[ 4.658433] BUG: spinlock bad magic on CPU#0, init/1
[ 4.658972] lock: 0xffff88001dd52300, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[ 4.659814] CPU: 0 PID: 1 Comm: init Not tainted 4.10.0-rc7-00006-gfe76e5c #1
[ 4.660628] Call Trace:
[ 4.660896] dump_stack+0x65/0x8c
[ 4.661243] spin_dump+0x86/0x8b
[ 4.661580] spin_bug+0x26/0x28
git bisect start 0eef6efbfddb6e2f300efd31dea7570feb23d599 d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c --
git bisect good eef8be18620ecbf8bf6a9a40642751f4176ab8a2 # 08:57 27+ 0 Merge 'linux-review/Christophe-JAILLET/gdrom-Add-missing-error-code/20170207-060516' into devel-catchup-201702080604
git bisect good b2d45dac2b2d7e935006116fdd4459a1e6b2af27 # 09:10 27+ 0 Merge 'linux-review/Kinglong-Mee/Some-cleanups-and-updates-for-sunrpc/20170207-232119' into devel-catchup-201702080604
git bisect bad f4490293f3b2f7e0b47fd54ad265bc77750b5b35 # 09:23 3- 27 Merge 'dax/idr-4.11' into devel-catchup-201702080604
git bisect good 8a5119225c65ba66b6cb88f181d54f727e4fbf84 # 09:40 27+ 1 Merge 'linux-review/Paolo-Abeni/brcmfmac-clear-skb-head-state-on-xmit/20170208-020119' into devel-catchup-201702080604
git bisect good ad99dc24caa9c29297b5a932f85317882403441b # 09:51 27+ 1 Merge 'linux-review/Guennadi-Liakhovetski/uvcvideo-asynchronous-control-reporting/20170208-023929' into devel-catchup-201702080604
git bisect bad ac91d1142c41fdbb2c4276fea777bb2e32cae20d # 09:59 1- 4 Merge 'fdmanana/integration-4.11' into devel-catchup-201702080604
git bisect bad 07ed875283a3e721bf45828c4c416b808a632a3c # 10:06 4- 13 Merge 'linux-review/Leon-Romanovsky/RDMA-Remove-kernel-private-defines-and-reference-to-header-from-UAPI/20170208-024811' into devel-catchup-201702080604
git bisect bad b7acfe0aab4b498a69e295d573638ca5f639b5f0 # 10:16 12- 27 Merge 'luto/x86/pcid' into devel-catchup-201702080604
git bisect good 36f503f3cf69dd997c1936352be2a4e442e70811 # 10:28 29+ 3 x86/mm: Make __native_flush_tlb safe against asynchronous PCID changes
git bisect bad fe76e5cf4cffaf677fdf425ddb0f711f0b754081 # 10:38 4- 10 x86/mm: Hold a spinlock when propagating TLB flushes
git bisect good e3b2e8485e6e02adaeec207807864e25f93693dd # 10:49 30+ 1 x86/mm: Factor out remote TLB flushing
# first bad commit: [fe76e5cf4cffaf677fdf425ddb0f711f0b754081] x86/mm: Hold a spinlock when propagating TLB flushes
git bisect good e3b2e8485e6e02adaeec207807864e25f93693dd # 10:54 91+ 1 x86/mm: Factor out remote TLB flushing
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad fe76e5cf4cffaf677fdf425ddb0f711f0b754081 # 11:04 1- 2 x86/mm: Hold a spinlock when propagating TLB flushes
# extra tests on HEAD of linux-devel/devel-catchup-201702080604
git bisect bad 0eef6efbfddb6e2f300efd31dea7570feb23d599 # 11:04 0- 13 0day head guard for 'devel-catchup-201702080604'
# extra tests on tree/branch luto/x86/pcid
# extra tests on tree/branch linus/master
git bisect good 926af6273fc683cd98cd0ce7bf0d04a02eed6742 # 11:24 92+ 3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
# extra tests on tree/branch linux-next/master
git bisect good eb60f01302b24ce93108414e2c4c673cb7cd6e05 # 11:37 86+ 3 Add linux-next specific files for 20170207
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
5 years, 6 months
[lkp-robot] [UPSTREAM] 42ba386392: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit:
commit: 42ba3863926da95014682f985b9f41826e2f9989 ("UPSTREAM: ASoC: Intel: Skylake: Increase loglevel of debug messages.")
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-3.18
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-i386 -enable-kvm -smp 2 -m 320M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | f729f15b70 | 42ba386392 |
+------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 6 | 7 |
| INFO:suspicious_RCU_usage | 6 | |
| calltrace:test_rht_init | 6 | |
| BUG:unable_to_handle_kernel | 0 | 7 |
| Oops | 0 | 7 |
| EIP_is_at_strlen | 0 | 7 |
| calltrace:dynamic_debug_init | 0 | 7 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 7 |
+------------------------------------------+------------+------------+
[ 0.111006] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 0.112005] **********************************************************
[ 0.112005] **********************************************************
[ 0.126357] BUG: unable to handle kernel
[ 0.126357] BUG: unable to handle kernel NULL pointer dereferenceNULL pointer dereference at (null)
at (null)
[ 0.127000] IP:
[ 0.127000] IP: [<88c06ee0>] strlen+0x10/0x20
[<88c06ee0>] strlen+0x10/0x20
[ 0.127000] *pdpt = 0000000000000000
[ 0.127000] *pdpt = 0000000000000000 *pde = f000ff53f000ff53 *pde = f000ff53f000ff53
[ 0.127000] Oops: 0000 [#1]
[ 0.127000] Oops: 0000 [#1]
[ 0.127000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-12613-g42ba386 #2
[ 0.127000] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-12613-g42ba386 #2
[ 0.127000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.127000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.127000] task: 80068000 ti: 80064000 task.ti: 80064000
[ 0.127000] task: 80068000 ti: 80064000 task.ti: 80064000
[ 0.127000] EIP: 0060:[<88c06ee0>] EFLAGS: 00010246 CPU: 0
[ 0.127000] EIP: 0060:[<88c06ee0>] EFLAGS: 00010246 CPU: 0
[ 0.127000] EIP is at strlen+0x10/0x20
[ 0.127000] EIP is at strlen+0x10/0x20
[ 0.127000] EAX: 00000000 EBX: 00000035 ECX: ffffffff EDX: 8972b902
[ 0.127000] EAX: 00000000 EBX: 00000035 ECX: ffffffff EDX: 8972b902
[ 0.127000] ESI: 00000004 EDI: 00000000 EBP: 80065eec ESP: 80065ee8
[ 0.127000] ESI: 00000004 EDI: 00000000 EBP: 80065eec ESP: 80065ee8
[ 0.127000] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 0.127000] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 0.127000] CR0: 8005003b CR2: 00000000 CR3: 09a76000 CR4: 000006b0
[ 0.127000] CR0: 8005003b CR2: 00000000 CR3: 09a76000 CR4: 000006b0
[ 0.127000] Stack:
[ 0.127000] Stack:
[ 0.127000] 899bbd40
[ 0.127000] 899bbd40 80065f18 80065f18 899e832e 899e832e 8972b902 8972b902 00000024 00000024 00001034 00001034 0006557f 0006557f 000001d0 000001d0
[ 0.127000] 899bbce0
[ 0.127000] 899bbce0 930bb4e0 930bb4e0 899e829f 899e829f 00000000 00000000 80065f78 80065f78 899c5b90 899c5b90 00000001 00000001 00000046 00000046
[ 0.127000] 89a0f800
[ 0.127000] 89a0f800 89a0f8a4 89a0f8a4 80065f38 80065f38 88a7de7b 88a7de7b 80065f44 80065f44 892eb977 892eb977 7fffffff 7fffffff 80065f7c 80065f7c
[ 0.127000] Call Trace:
[ 0.127000] Call Trace:
[ 0.127000] [<899e832e>] dynamic_debug_init+0x8f/0x207
[ 0.127000] [<899e832e>] dynamic_debug_init+0x8f/0x207
[ 0.127000] [<899e829f>] ? ddebug_setup_query+0x42/0x42
[ 0.127000] [<899e829f>] ? ddebug_setup_query+0x42/0x42
[ 0.127000] [<899c5b90>] do_one_initcall+0xe8/0x16a
[ 0.127000] [<899c5b90>] do_one_initcall+0xe8/0x16a
[ 0.127000] [<88a7de7b>] ? trace_hardirqs_on+0xb/0x10
[ 0.127000] [<88a7de7b>] ? trace_hardirqs_on+0xb/0x10
[ 0.127000] [<892eb977>] ? _raw_spin_unlock_irq+0x27/0x40
[ 0.127000] [<892eb977>] ? _raw_spin_unlock_irq+0x27/0x40
[ 0.127000] [<892e7f8e>] ? wait_for_common+0x4e/0x120
[ 0.127000] [<892e7f8e>] ? wait_for_common+0x4e/0x120
[ 0.127000] [<88a7de7b>] ? trace_hardirqs_on+0xb/0x10
[ 0.127000] [<88a7de7b>] ? trace_hardirqs_on+0xb/0x10
[ 0.127000] [<899c5c5d>] kernel_init_freeable+0x4b/0x166
[ 0.127000] [<899c5c5d>] kernel_init_freeable+0x4b/0x166
[ 0.127000] [<892e8157>] ? wait_for_completion+0x17/0x20
[ 0.127000] [<892e8157>] ? wait_for_completion+0x17/0x20
[ 0.127000] [<899c5c5d>] ? kernel_init_freeable+0x4b/0x166
[ 0.127000] [<899c5c5d>] ? kernel_init_freeable+0x4b/0x166
[ 0.127000] [<892d9c10>] kernel_init+0x10/0xe0
[ 0.127000] [<892d9c10>] kernel_init+0x10/0xe0
[ 0.127000] [<88a6a8c1>] ? schedule_tail+0x11/0x40
[ 0.127000] [<88a6a8c1>] ? schedule_tail+0x11/0x40
[ 0.127000] [<892ec400>] ret_from_kernel_thread+0x20/0x30
[ 0.127000] [<892ec400>] ret_from_kernel_thread+0x20/0x30
[ 0.127000] [<892d9c00>] ? rest_init+0x120/0x120
[ 0.127000] [<892d9c00>] ? rest_init+0x120/0x120
[ 0.127000] Code:
[ 0.127000] Code: c0 c0 75 75 f7 f7 be be 01 01 00 00 00 00 00 00 89 89 f0 f0 48 48 5e 5e 5d 5d c3 c3 8d 8d b6 b6 00 00 00 00 00 00 00 00 8d 8d bc bc 27 27 00 00 00 00 00 00 00 00 55 55 89 89 e5 e5 57 57 e8 e8 57 57 60 60 6e 6e 00 00 83 83 c9 c9 ff ff 89 89 c7 c7 31 31 c0 c0 <f2> <f2> ae ae b8 b8 fe fe ff ff ff ff ff ff 5f 5f 29 29 c8 c8 5d 5d c3 c3 8d 8d 74 74 26 26 00 00 55 55 89 89 e5 e5 57 57 e8 e8
[ 0.127000] EIP: [<88c06ee0>]
[ 0.127000] EIP: [<88c06ee0>] strlen+0x10/0x20strlen+0x10/0x20 SS:ESP 0068:80065ee8
SS:ESP 0068:80065ee8
[ 0.127000] CR2: 0000000000000000
[ 0.127000] CR2: 0000000000000000
[ 0.127000] ---[ end trace d0bbc1ccede9fe14 ]---
[ 0.127000] ---[ end trace d0bbc1ccede9fe14 ]---
[ 0.127000] Kernel panic - not syncing: Fatal exception
[ 0.127000] Kernel panic - not syncing: Fatal exception
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
5 years, 6 months
[lkp-robot] [sched/clock] acb04058de: INFO:suspicious_RCU_usage
by kernel test robot
FYI, we noticed the following commit:
commit: acb04058de49458010c44bb35b849d45113fd668 ("sched/clock: Fix hotplug crash")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: cpu-hotplug
with following parameters:
on test machine: qemu-system-x86_64 -enable-kvm -cpu Nehalem -smp 2 -m 1G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------+------------+------------+
| | 02cfdc95a0 | acb04058de |
+-------------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 0 | 4 |
| INFO:suspicious_RCU_usage | 0 | 4 |
| RCU_used_illegally_from_offline_CPU | 0 | 4 |
+-------------------------------------+------------+------------+
[ 30.328035] masked ExtINT on CPU#1
[ 30.328035]
[ 30.328035] ===============================
[ 30.328035] [ INFO: suspicious RCU usage. ]
[ 30.328035] 4.10.0-rc3-00271-gacb0405 #1 Not tainted
[ 30.328035] -------------------------------
[ 30.328035] kernel/workqueue.c:712 sched RCU or wq_pool_mutex should be held!
[ 30.328035]
[ 30.328035] other info that might help us debug this:
[ 30.328035]
[ 30.328035]
[ 30.328035] RCU used illegally from offline CPU!
[ 30.328035] rcu_scheduler_active = 1, debug_locks = 0
[ 30.328035] no locks held by swapper/1/0.
[ 30.328035]
[ 30.328035] stack backtrace:
[ 30.328035] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.10.0-rc3-00271-gacb0405 #1
[ 30.328035] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 30.328035] Call Trace:
[ 30.328035] dump_stack+0x86/0xc0
[ 30.328035] lockdep_rcu_suspicious+0xf7/0x100
[ 30.328035] get_work_pool+0x55/0xa6
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
5 years, 6 months
[lkp-robot] [fs] 99f64a2676: ltp.creat08.fail & ltp.open10.fail
by kernel test robot
FYI, we noticed the following commit:
commit: 99f64a2676f0bec4ad32e39fc76eb0914ee091b8 ("fs: Harden against open(..., O_CREAT, 02777) in a setgid directory")
https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git vfs/suid
in testcase: ltp
with following parameters:
test: ltplite
test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 128G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
user :notice: [ 113.810232] tag=creat08 stime=1485669539
user :notice: [ 113.810724] cmdline="creat08"
user :notice: [ 113.811048] contacts=""
user :notice: [ 113.811427] analysis=exit
user :notice: [ 113.811919] <<<test_output>>>
user :notice: [ 113.813322] creat08 1 TPASS : Test passed in block0.
user :notice: [ 113.814681] creat08 2 TPASS : Test passed in block1.
user :notice: [ 113.817942] creat08 3 TFAIL : creat08.c:366: testdir.B.2467/setgid: Incorrect modes, setgid bit should be set
user :notice: [ 113.819664] creat08 4 TFAIL : creat08.c:374: Test failed in block2.
[...]
user :notice: [ 244.775233] tag=open10 stime=1485669670
user :notice: [ 244.775505] cmdline="open10"
user :notice: [ 244.775695] contacts=""
user :notice: [ 244.775923] analysis=exit
user :notice: [ 244.776216] <<<test_output>>>
user :notice: [ 244.777045] open10 1 TPASS : Test passed in block0.
user :notice: [ 244.777883] open10 2 TPASS : Test passed in block1.
user :notice: [ 244.779876] open10 3 TFAIL : open10.c:352: open10.testdir.B.5503/setgid: Incorrect modes, setgid bit not set
user :notice: [ 244.780976] open10 4 TFAIL : open10.c:359: Test failed in block2.
user :notice: [ 244.781811] open10 5 TPASS : Test passed in block3.
user :notice: [ 244.783235] open10 6 TFAIL : open10.c:443: Test failed because of above failures.
user :notice: [ 244.775233] tag=open10 stime=1485669670
user :notice: [ 244.775505] cmdline="open10"
user :notice: [ 244.775695] contacts=""
user :notice: [ 244.775923] analysis=exit
user :notice: [ 244.776216] <<<test_output>>>
user :notice: [ 244.777045] open10 1 TPASS : Test passed in block0.
user :notice: [ 244.777883] open10 2 TPASS : Test passed in block1.
user :notice: [ 244.779876] open10 3 TFAIL : open10.c:352: open10.testdir.B.5503/setgid: Incorrect modes, setgid bit not set
user :notice: [ 244.780976] open10 4 TFAIL : open10.c:359: Test failed in block2.
user :notice: [ 244.781811] open10 5 TPASS : Test passed in block3.
user :notice: [ 244.783235] open10 6 TFAIL : open10.c:443: Test failed because of above failures.
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,
Xiaolong
5 years, 6 months
[lkp-robot] [fs] 24972782d0: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit:
commit: 24972782d0379cd7e2f1d049f642863223c4416b ("fs: Remove iput_final()")
https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git locking/refcounts
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-i386 -enable-kvm -smp 2 -m 320M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | 9a4111a75d | 24972782d0 |
+------------------------------------------+------------+------------+
| boot_successes | 10 | 0 |
| boot_failures | 0 | 12 |
| BUG:unable_to_handle_kernel | 0 | 12 |
| Oops:#[##] | 0 | 12 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 12 |
+------------------------------------------+------------+------------+
[ 29.182485] skip http request: cgi-bin/lkp-jobfile-append-var?job_file=/lkp/scheduled/vm-ivb41-yocto-i386-25/trinity-300s-yocto-tiny-i386-2016-04-22.cgz-24972782d0379cd7e2f1d049f642863223c4416b-20170207-63339-1useqcq-0.yaml&job_state=running -O /dev/null
[ 40.737707] trinity-main uses obsolete (PF_INET,SOCK_PACKET)
[ 40.800286] VFS: Warning: trinity-c0 using old stat() call. Recompile your binary.
[ 41.048800] BUG: unable to handle kernel NULL pointer dereference at 0000001c
[ 41.049642] IP: iput+0x9/0x142
[ 41.049990] *pde = 00000000
[ 41.049990]
[ 41.050500] Oops: 0000 [#1]
[ 41.050815] CPU: 0 PID: 330 Comm: trinity-c3 Not tainted 4.10.0-rc6-00059-g2497278 #1
[ 41.051675] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 41.052770] task: 4d900000 task.stack: 4d910000
[ 41.053278] EIP: iput+0x9/0x142
[ 41.053627] EFLAGS: 00010202 CPU: 0
[ 41.054013] EAX: 00000000 EBX: 534698dc ECX: 00000000 EDX: 00000000
[ 41.054699] ESI: 00000000 EDI: 5346bd48 EBP: 4d911f48 ESP: 4d911f34
[ 41.055385] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 41.055976] CR0: 80050033 CR2: 0000001c CR3: 0d904000 CR4: 00000690
[ 41.056667] Call Trace:
[ 41.056950] iterate_bdevs+0xfb/0x103
[ 41.057359] ? fdatawait_one_bdev+0x10/0x10
[ 41.057826] sys_sync+0x52/0x70
[ 41.058180] do_fast_syscall_32+0xa8/0x11c
[ 41.058642] entry_SYSENTER_32+0x4e/0x7c
[ 41.059072] EIP: 0x3774ebb1
[ 41.059393] EFLAGS: 00000216 CPU: 0
[ 41.059785] EAX: ffffffda EBX: 0000fb1a ECX: 70000008 EDX: 00000fb0
[ 41.060477] ESI: 000000b4 EDI: 00000019 EBP: 745e374c ESP: 3ffac65c
[ 41.061165] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 41.061762] Code: c8 00 00 00 eb ca b8 88 d3 a4 41 e8 cf 94 61 00 5a 89 d8 5b 5e 5f 5d c3 55 b8 01 00 00 00 89 e5 5d c3 55 89 e5 57 56 53 83 ec 08 <8b> 48 1c 85 c0 8b 71 20 89 4d f0 89 75 ec 0f 84 1e 01 00 00 f6
[ 41.063804] EIP: iput+0x9/0x142 SS:ESP: 0068:4d911f34
[ 41.064365] CR2: 000000000000001c
[ 41.064751] ---[ end trace 30f07bfbc097c0f2 ]---
[ 41.080669] Kernel panic - not syncing: Fatal exception
[ 41.081260] Kernel Offset: disabled
Elapsed time: 50
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
5 years, 6 months
[lkp-robot] [mm, vmscan] 51f2c7c090: fio.latency_10us% 20.1% regression
by kernel test robot
Greeting,
FYI, we noticed a 20.1% regression of fio.latency_10us% due to commit:
commit: 51f2c7c0900521da299f5b28f642582ea97dc47a ("mm, vmscan: consider eligible zones in get_scan_count")
https://git.kernel.org/cgit/linux/kernel/git/mhocko/mm.git to_test/linus-tree/oom_hickups
in testcase: fio-basic
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 128G memory
with following parameters:
disk: 1SSD
fs: ext4
runtime: 300s
nr_task: 8
rw: write
bs: 4k
ioengine: sync
test_size: 512g
cpufreq_governor: performance
test-description: Fio is a tool that will spawn a number of threads or processes doing a particular type of I/O action as specified by the user.
test-url: https://github.com/axboe/fio
Details are as below:
-------------------------------------------------------------------------------------------------->
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
testcase/path_params/tbox_group/run: fio-basic/1SSD-ext4-300s-8-write-4k-sync-512g-performance/lkp-bdw-ep2
c675d2353ec11e10 51f2c7c0900521da299f5b28f6
---------------- --------------------------
14.19 20% 17.04 ± 5% fio.latency_10us%
0.50 ± 3% 12% 0.56 ± 3% fio.latency_50us%
636 628 fio.write_clat_stddev
83.22 81.09 fio.latency_4us%
1.41 ± 10% -55% 0.63 fio.latency_2us%
386 5% 406 fio.time.system_time
152 5% 159 fio.time.percent_of_cpu_this_job_got
95250 4% 99321 fio.time.voluntary_context_switches
4.315e+11 7% 4.6e+11 ± 3% perf-stat.branch-instructions
2.178e+12 6% 2.314e+12 perf-stat.instructions
8887 6% 9424 ± 3% perf-stat.instructions-per-iTLB-miss
6.109e+11 6% 6.459e+11 perf-stat.dTLB-loads
2.404e+09 4% 2.502e+09 perf-stat.branch-misses
3.751e+11 4% 3.894e+11 perf-stat.dTLB-stores
7.819e+08 4% 8.111e+08 ± 3% perf-stat.dTLB-load-misses
1.663e+08 1.638e+08 perf-stat.dTLB-store-misses
0.04 -5% 0.04 perf-stat.dTLB-store-miss-rate%
0 1e+04 14354 ±100% latency_stats.avg.balance_dirty_pages.balance_dirty_pages_ratelimited.generic_perform_write.__generic_file_write_iter.ext4_file_write_iter.__vfs_write.vfs_write.SyS_write.do_syscall_64.return_from_SYSCALL_64
0 8e+04 82365 ± 5% latency_stats.max.call_rwsem_down_read_failed.ext4_da_get_block_prep.__block_write_begin_int.__block_write_begin.ext4_da_write_begin.generic_perform_write.__generic_file_write_iter.ext4_file_write_iter.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
0 1e+04 14354 ±100% latency_stats.max.balance_dirty_pages.balance_dirty_pages_ratelimited.generic_perform_write.__generic_file_write_iter.ext4_file_write_iter.__vfs_write.vfs_write.SyS_write.do_syscall_64.return_from_SYSCALL_64
0 1e+06 1353230 ± 11% latency_stats.sum.call_rwsem_down_read_failed.ext4_da_get_block_prep.__block_write_begin_int.__block_write_begin.ext4_da_write_begin.generic_perform_write.__generic_file_write_iter.ext4_file_write_iter.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
0 1e+04 14354 ±100% latency_stats.sum.balance_dirty_pages.balance_dirty_pages_ratelimited.generic_perform_write.__generic_file_write_iter.ext4_file_write_iter.__vfs_write.vfs_write.SyS_write.do_syscall_64.return_from_SYSCALL_64
perf-stat.dTLB-stores
3.94e+11 ++---------------------------------------------------------------+
3.92e+11 ++O O O O O O O O O |
O O O O O O O O O O O |
3.9e+11 ++ O |
3.88e+11 ++ O O O O |
3.86e+11 ++ |
3.84e+11 ++ |
| |
3.82e+11 ++ |
3.8e+11 ++ |
3.78e+11 ++ * *. * * |
3.76e+11 ++ + : *.* + *.*.* + : + : *.* |
| .* : .. + .* + .* : .* : + +|
3.74e+11 *+* *.* * *.*. *.*.*.* *.*..*.*.* *
3.72e+11 ++---------------------------------------------------------------+
fio.time.voluntary_context_switches
101000 ++-----------------------------------------------------------------+
| O O |
100000 ++ O O O O O |
| O O O O O O O O O O |
99000 O+O O O O O O O |
| |
98000 ++ |
| |
97000 ++ |
| |
96000 ++ *.* * * |
| .*.*.. : + .*.*. .*.* : + .*.* : + .*.. .*.*
95000 *+* : *. .*..* *.*.*. + : *.*. + : * *.* |
| * * * * |
94000 ++-----------------------------------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
5 years, 6 months