[<prev] [next>] [day] [month] [year] [list]
Message-ID: <56b89267.oDa+U7TsfON34ym/%fengguang.wu@intel.com>
Date: Mon, 08 Feb 2016 21:04:39 +0800
From: kernel test robot <fengguang.wu@...el.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: LKP <lkp@...org>, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>, wfg@...ux.intel.com
Subject: [genirq] aff62cf66a: BUG: unable to handle kernel NULL pointer
dereference at 0000000000000018
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
commit aff62cf66ad6065ce04fc3454a11ec19714537fb
Author: Daniel Lezcano <daniel.lezcano@...aro.org>
AuthorDate: Thu Jan 14 10:54:13 2016 +0100
Commit: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Mon Feb 8 11:45:21 2016 +0100
genirq: Use a common macro to go through the actions list
The irq code browses the list of actions differently to inspect the element
one by one. Even if it is not a problem, for the sake of consistent code,
provide a macro similar to for_each_irq_desc in order to have the same loop to
go through the actions list and use it in the code.
[ tglx: Renamed the macro ]
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Link: http://lkml.kernel.org/r/1452765253-31148-1-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
+-------------------------------------------------------+----------+------------+------------+
| | v4.5-rc3 | aff62cf66a | 23fc8d6658 |
+-------------------------------------------------------+----------+------------+------------+
| boot_successes | 321 | 0 | 0 |
| boot_failures | 3 | 26 | 21 |
| BUG:kernel_test_crashed | 3 | | |
| BUG:unable_to_handle_kernel | 0 | 26 | 21 |
| Oops | 0 | 26 | 21 |
| RIP:handle_irq_event_percpu | 0 | 26 | 21 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 26 | 21 |
| backtrace:setup_default_timer_irq | 0 | 26 | 21 |
| backtrace:hpet_time_init | 0 | 26 | 21 |
| backtrace:x86_late_time_init | 0 | 26 | 21 |
+-------------------------------------------------------+----------+------------+------------+
[ 0.000000] console [ttyS0] enabled
[ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.000000] hpet clockevent registered
[ 0.000000] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[ 0.000000] IP: [<ffffffff811466e2>] handle_irq_event_percpu+0x106/0x1a5
[ 0.000000] PGD 0
[ 0.000000] Oops: 0000 [#1] SMP
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.5.0-rc3-00001-gaff62cf #1
[ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 0.000000] task: ffffffff8220f500 ti: ffffffff82200000 task.ti: ffffffff82200000
[ 0.000000] RIP: 0010:[<ffffffff811466e2>] [<ffffffff811466e2>] handle_irq_event_percpu+0x106/0x1a5
[ 0.000000] RSP: 0000:ffff880011203ee8 EFLAGS: 00010002
[ 0.000000] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8220f500
[ 0.000000] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff82203da8
[ 0.000000] RBP: ffff880011203f20 R08: 000000000000000f R09: 0000000000000005
[ 0.000000] R10: 0000000000000000 R11: 0000000000000020 R12: ffffffff8221d640
[ 0.000000] R13: 0000000000000001 R14: ffff88001002e800 R15: 0000000000015a00
[ 0.000000] FS: 0000000000000000(0000) GS:ffff880011200000(0000) knlGS:0000000000000000
[ 0.000000] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 0.000000] CR2: 0000000000000018 CR3: 000000000220a000 CR4: 00000000000006b0
[ 0.000000] Stack:
[ 0.000000] 0000000000000000 0000000100000086 ffff88001002e800 ffff88001002e858
[ 0.000000] ffffffff82203da8 ffff88001002e800 0000000000000000 ffff880011203f40
[ 0.000000] ffffffff811467b6 0000000000018858 ffff88001002e800 ffff880011203f60
[ 0.000000] Call Trace:
[ 0.000000] <IRQ>
[ 0.000000] [<ffffffff811467b6>] handle_irq_event+0x35/0x55
[ 0.000000] [<ffffffff811495a4>] handle_level_irq+0xa7/0xe0
[ 0.000000] [<ffffffff8104a63b>] handle_irq+0x22/0x26
[ 0.000000] [<ffffffff81a76f9b>] do_IRQ+0x4b/0xc9
[ 0.000000] [<ffffffff81a7524c>] common_interrupt+0x8c/0x8c
[ 0.000000] <EOI>
[ 0.000000] [<ffffffff81082512>] ? native_restore_fl+0x6/0x8
[ 0.000000] [<ffffffff81a742fe>] _raw_spin_unlock_irqrestore+0x35/0x3f
[ 0.000000] [<ffffffff81148336>] __setup_irq+0x3e0/0x4ec
[ 0.000000] [<ffffffff811455b3>] ? vprintk_default+0x1d/0x1f
[ 0.000000] [<ffffffff811bd491>] ? printk+0x48/0x50
[ 0.000000] [<ffffffff811484a1>] setup_irq+0x5f/0x7f
[ 0.000000] [<ffffffff823da44e>] setup_default_timer_irq+0x1e/0x20
[ 0.000000] [<ffffffff823da467>] hpet_time_init+0x17/0x19
[ 0.000000] [<ffffffff823da429>] x86_late_time_init+0xa/0x11
[ 0.000000] [<ffffffff823d2e87>] start_kernel+0x3a0/0x44f
[ 0.000000] [<ffffffff823d2120>] ? early_idt_handler_array+0x120/0x120
[ 0.000000] [<ffffffff823d24a2>] x86_64_start_reservations+0x2a/0x2c
[ 0.000000] [<ffffffff823d25dc>] x86_64_start_kernel+0x138/0x145
[ 0.000000] Code: 89 de 48 c7 c7 16 c0 ec 81 31 c0 e8 82 6d 07 00 eb 10 4c 89 e6 4c 89 f7 e8 d0 fe ff ff 45 0b 7c 24 3c 49 8b 44 24 18 44 09 6d d4 <4c> 8b 60 18 e9 1e ff ff ff 44 89 fe 89 df e8 1e 6c 44 00 80 3d
[ 0.000000] RIP [<ffffffff811466e2>] handle_irq_event_percpu+0x106/0x1a5
[ 0.000000] RSP <ffff880011203ee8>
[ 0.000000] CR2: 0000000000000018
[ 0.000000] ---[ end trace 777a7a2be043deb8 ]---
[ 0.000000] Kernel panic - not syncing: Fatal exception in interrupt
git bisect start 23fc8d665855b7ed03f3cfc94cbfaa4329b1ced2 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 --
git bisect good 0a36e732719cf36b4940dcf413fbc61555e4fb12 # 19:13 22+ 0 Merge 'linux-review/Krzysztof-Adamski/ARM-dts-sunxi-Fix-interrupt-cells-for-PIO-in-H3/20160208-173249' into devel-spot-201602081848
git bisect good 258f87c0ce4f8e160fc936bbeed9ec5828458257 # 19:37 22+ 0 Merge 'linux-review/Masahiro-Yamada/ARM-remove-bzImage-target/20160208-144412' into devel-spot-201602081848
git bisect good 031d53a075e483c0b649eefd0adb158db4da8152 # 19:42 22+ 0 Merge 'jeffmerkey/master' into devel-spot-201602081848
git bisect good ad5b9253777f8f8ba87fe11d7d9b7005157479b0 # 19:47 22+ 0 Merge 'anttip-media/astrometa' into devel-spot-201602081848
git bisect good 336a075bd84e848708f0aab260ea67f39c087d29 # 19:59 22+ 0 Merge 'platform-drivers-x86/testing' into devel-spot-201602081848
git bisect bad 06102a12eceb91a54dbdb53add81a198ab8c8610 # 20:07 0- 23 Merge 'tip/irq/core' into devel-spot-201602081848
git bisect bad 665075d0c77d5eec1badc55cb4b97b8497ef954b # 20:20 0- 22 irqchip/atmel-aic: Handle aic_common_irq_fixup in aic_common_of_init
git bisect bad aff62cf66ad6065ce04fc3454a11ec19714537fb # 20:26 0- 25 genirq: Use a common macro to go through the actions list
# first bad commit: [aff62cf66ad6065ce04fc3454a11ec19714537fb] genirq: Use a common macro to go through the actions list
git bisect good 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 # 20:29 66+ 3 Linux 4.5-rc3
# extra tests on HEAD of linux-devel/devel-spot-201602081848
git bisect bad 23fc8d665855b7ed03f3cfc94cbfaa4329b1ced2 # 20:29 0- 21 0day head guard for 'devel-spot-201602081848'
# extra tests on tree/branch tip/irq/core
git bisect bad 35fdd6e4bf0868ed9b1d8662fc9fca766d6963d1 # 20:37 0- 33 genirq: Add default affinity mask command line option
# extra tests with first bad commit reverted
git bisect good cb1fa446968271b5d159fef6384a3fe87c9745ca # 20:43 66+ 0 Revert "genirq: Use a common macro to go through the actions list"
# extra tests on tree/branch tip/master
git bisect good 5ce81134a5b8c83ac149f7b86470980e5548d463 # 21:00 66+ 1 Merge branch 'x86/mm'
# extra tests on tree/branch linus/master
git bisect good 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 # 21:02 66+ 3 Linux 4.5-rc3
# extra tests on tree/branch linux-next/master
git bisect good 32a751629978ea48ca4511beb5050b52442d2df3 # 21:04 61+ 0 Add linux-next specific files for 20160208
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-m 300
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
systemd.log_level=err
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
load_ramdisk=2
prompt_ramdisk=0
console=ttyS0,115200
console=tty0
vga=normal
root=/dev/ram0
rw
drbd.minor_count=8
)
"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
View attachment "dmesg-quantal-vp-50:20160208202555:x86_64-lkp:4.5.0-rc3-00001-gaff62cf:1" of type "text/plain" (26232 bytes)
View attachment "dmesg-quantal-vp-54:20160208202807:x86_64-lkp:4.5.0-rc3:1" of type "text/plain" (35587 bytes)
Powered by blists - more mailing lists