[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141113123958.GA15348@wfg-t540p.sh.intel.com>
Date: Thu, 13 Nov 2014 20:39:58 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Jiang Liu <jiang.liu@...ux.intel.com>
Cc: LKP <lkp@...org>, linux-kernel@...r.kernel.org,
Yuanhan Liu <yuanhan.liu@...el.com>
Subject: [x86, irq] INFO: task swapper/0:1 blocked for more than 120 seconds.
Hi Jiang,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/jiangliu/linux.git irqdomain/p4v2
commit b8c2d075135a41f69254a75c4f26162559503ab4
Author: Jiang Liu <jiang.liu@...ux.intel.com>
AuthorDate: Sun Nov 2 22:16:02 2014 +0800
Commit: Jiang Liu <jiang.liu@...ux.intel.com>
CommitDate: Tue Nov 11 21:10:49 2014 +0800
x86, irq: Use cached IOAPIC entry instead of reading from hardware
Use cahced IOAPIC entry instead of reading data from IOAPIC hardware
registers to improve performance.
Signed-off-by: Jiang Liu <jiang.liu@...ux.intel.com>
+--------------------------------------------------+------------+------------+------------+
| | 384c30d19a | b8c2d07513 | 349d0daa5e |
+--------------------------------------------------+------------+------------+------------+
| boot_successes | 1000 | 34 | 10 |
| boot_failures | 0 | 31 | 15 |
| BUG:kernel_test_hang | 0 | 5 | |
| INFO:task_blocked_for_more_than#seconds | 0 | 26 | 15 |
| RIP:native_apic_mem_write | 0 | 26 | 15 |
| RIP:native_safe_halt | 0 | 6 | 5 |
| Kernel_panic-not_syncing:hung_task:blocked_tasks | 0 | 26 | 15 |
| backtrace:init | 0 | 26 | 15 |
| backtrace:kernel_init_freeable | 0 | 26 | 15 |
| backtrace:watchdog | 0 | 26 | 15 |
| backtrace:cpu_startup_entry | 0 | 6 | 5 |
+--------------------------------------------------+------------+------------+------------+
[ 120.948052] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 180.948037] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 180.948037] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 240.224080] INFO: task swapper/0:1 blocked for more than 120 seconds.
[ 240.224080] INFO: task swapper/0:1 blocked for more than 120 seconds.
[ 240.225192] Not tainted 3.18.0-rc3-gb8c2d07 #8
[ 240.225192] Not tainted 3.18.0-rc3-gb8c2d07 #8
[ 240.226050] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
git bisect start 349d0daa5e14b9b402a2dea3e602ef1cb109173b 0df1f2487d2f0d04703f142813d53615d62a1da4 --
git bisect good 71d00938cba8f46d6cd7af0577a19ee256989c80 # 14:42 390+ 0 x86, PCI, MSI: Use hierarchy irqdomain to manage MSI interrupts
git bisect good 08076214697dcf740059247de8e40a76404c98ce # 15:27 390+ 0 x86: irq_remapping: Clean up unused interfaces
git bisect bad 62995ecf6bad313d8925906aad7202c586d6abf8 # 15:27 0- 11 ACPI, irq, x86: Kill private function mp_register_gsi()/ mp_unregister_gsi()
git bisect good 384c30d19a855f8c2df40e4627baece3f815792c # 15:27 780+ 0 x86, irq: Clean up io_apic.h
git bisect bad 73b43c2b87de413c0297c029cc193f2919f75e29 # 15:27 0- 14 x86, irq: Kill function apic_set_affinity()
git bisect bad c07b9f681c75ae000e986b38ddb59cfc867e181c # 15:27 0- 28 x86, irq: Kill unused alloc_irq_and_cfg_at()
git bisect bad b8c2d075135a41f69254a75c4f26162559503ab4 # 15:27 0- 31 x86, irq: Use cached IOAPIC entry instead of reading from hardware
# first bad commit: [b8c2d075135a41f69254a75c4f26162559503ab4] x86, irq: Use cached IOAPIC entry instead of reading from hardware
git bisect good 384c30d19a855f8c2df40e4627baece3f815792c # 16:23 1000+ 0 x86, irq: Clean up io_apic.h
git bisect bad ed233b3515062f426278aa6c87594e7f0c38e39f # 16:23 0- 31 0day head guard for 'devel-lkp-ib04-smoke-201411130604'
git bisect good 04689e749b7ec156291446028a0ce2e685bf3855 # 17:34 1000+ 0 Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
git bisect good bbdef57970d5e1887de755474ff1562baa17ef11 # 18:03 1000+ 0 Add linux-next specific files for 20141113
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=yocto-minimal-x86_64.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-cpu kvm64
-enable-kvm
-kernel $kernel
-initrd $initrd
-m 320
-smp 1
-net nic,vlan=1,model=e1000
-net user,vlan=1
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
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[*]}"
----------------------------------------------------------------------------
Thanks,
Fengguang
View attachment "dmesg-yocto-vp-55:20141113050059:x86_64-randconfig-ib0-11122254:3.18.0-rc3-gb8c2d07:8" of type "text/plain" (66666 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists