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>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 8 Sep 2014 17:12:48 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Jiri Kosina <jkosina@...e.cz>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Jet Chen <jet.chen@...el.com>, Su Tao <tao.su@...el.com>,
	Yuanhan Liu <yuanhan.liu@...el.com>, LKP <lkp@...org>,
	linux-kernel@...r.kernel.org
Subject: [dummy-irq] genirq: Flags mismatch irq 0. 00000080 (dummy_irq) vs.
 00015a20 (timer)

Hi Jiri,

This patch is found to trigger a call trace dump during kernel boot.
Can it be possibly fixed? Thanks!

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit 54f69b92f037f4ff5779e5645ab714dee5b59095
Author:     Jiri Kosina <jkosina@...e.cz>
AuthorDate: Thu Mar 21 00:21:21 2013 +0100
Commit:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CommitDate: Mon Mar 25 13:22:32 2013 -0700

    dummy-irq: introduce a dummy IRQ handler driver
    
    This module accepts a single 'irq' parameter, which it should register for.
    
    Its sole purpose is to help with debugging of IRQ sharing problems, by
    force-enabling IRQ that would otherwise be disabled.
    
    Suggested-by: Alan Stern <stern@...land.harvard.edu>
    Signed-off-by: Jiri Kosina <jkosina@...e.cz>
    Acked-by: Daniel Vetter <daniel.vetter@...ll.ch>
    Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

+------------------------------------------------------+------------+------------+---------------+
|                                                      | 4c6e22b8a9 | 54f69b92f0 | next-20140905 |
+------------------------------------------------------+------------+------------+---------------+
| boot_successes                                       | 0          | 0          | 0             |
| boot_failures                                        | 80         | 20         | 21            |
| BUG:kernel_boot_hang                                 | 80         | 20         | 8             |
| genirq:Flags_mismatch_irq.(dummy_irq)vs.(timer)      | 0          | 20         |               |
| backtrace:request_threaded_irq                       | 0          | 20         |               |
| backtrace:dummy_irq_init                             | 0          | 20         |               |
| backtrace:kernel_init_freeable                       | 0          | 20         | 20            |
| WARNING:at_include/linux/kref.h:kobject_get()        | 0          | 0          | 20            |
| WARNING:at_kernel/locking/lockdep.c:__lock_acquire() | 0          | 0          | 20            |
| backtrace:platform_driver_unregister                 | 0          | 0          | 20            |
| backtrace:init_mac80211_hwsim                        | 0          | 0          | 20            |
| INFO:task_blocked_for_more_than_seconds              | 0          | 0          | 13            |
| INFO:lockdep_is_turned_off                           | 0          | 0          | 13            |
| Kernel_panic-not_syncing:hung_task:blocked_tasks     | 0          | 0          | 13            |
| backtrace:watchdog                                   | 0          | 0          | 13            |
+------------------------------------------------------+------------+------------+---------------+

]
[    1.929439] lp0: using parport0 (interrupt-driven).
[    1.929439] lp0: using parport0 (interrupt-driven).
[    1.933789] genirq: Flags mismatch irq 0. 00000080 (dummy_irq) vs. 00015a20 (timer)
[    1.933789] genirq: Flags mismatch irq 0. 00000080 (dummy_irq) vs. 00015a20 (timer)
[    1.942934] Pid: 1, comm: swapper Not tainted 3.9.0-rc2-00065-g54f69b9 #19
[    1.942934] Pid: 1, comm: swapper Not tainted 3.9.0-rc2-00065-g54f69b9 #19
[    1.943172] Call Trace:
[    1.943172] Call Trace:
[    1.943172]  [<782a5f16>] __setup_irq+0x416/0x440
[    1.943172]  [<782a5f16>] __setup_irq+0x416/0x440
[    1.943172]  [<78458f30>] ? bmp085_i2c_probe+0x60/0x60
[    1.943172]  [<78458f30>] ? bmp085_i2c_probe+0x60/0x60
[    1.943172]  [<782a6134>] request_threaded_irq+0xa4/0x150
[    1.943172]  [<782a6134>] request_threaded_irq+0xa4/0x150
[    1.943172]  [<78cefd9b>] ? bmp085_i2c_driver_init+0x11/0x11
[    1.943172]  [<78cefd9b>] ? bmp085_i2c_driver_init+0x11/0x11
[    1.943172]  [<78cefdbf>] dummy_irq_init+0x24/0x5f
[    1.943172]  [<78cefdbf>] dummy_irq_init+0x24/0x5f
[    1.943172]  [<78cd49a2>] do_one_initcall+0x6a/0x10d
[    1.943172]  [<78cd49a2>] do_one_initcall+0x6a/0x10d
[    1.943172]  [<78cd4b25>] kernel_init_freeable+0xe0/0x153
[    1.943172]  [<78cd4b25>] kernel_init_freeable+0xe0/0x153
[    1.943172]  [<7884645b>] kernel_init+0xb/0x140
[    1.943172]  [<7884645b>] kernel_init+0xb/0x140
[    1.943172]  [<788521fb>] ret_from_kernel_thread+0x1b/0x30
[    1.943172]  [<788521fb>] ret_from_kernel_thread+0x1b/0x30
[    1.943172]  [<78846450>] ? rest_init+0xb0/0xb0
[    1.943172]  [<78846450>] ? rest_init+0xb0/0xb0
[    1.993830] dummy-irq: cannot register IRQ 0
[    1.993830] dummy-irq: cannot register IRQ 0
[    1.999645] i2c-core: driver [apds9802als] using legacy suspend method

git bisect start v3.10 v3.9 --
git bisect  bad ff89acc563a0bd49965674f56552ad6620415fe2  # 16:03      0-     20  Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
git bisect  bad 24d0c2542b38963ae4d5171ecc0a2c1326c656bc  # 16:03      0-     20  Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect  bad 151173e8ce9b95bbbbd7eedb9035cfaffbdb7cb2  # 16:03      0-     20  Merge tag 'for-v3.10' of git://git.infradead.org/battery-2.6
git bisect  bad 6c24499f40d96bf07a85b709fb1bee5cea611a1d  # 16:14      0-     13  tracing: Fix small merge bug
git bisect  bad ec25e246b94a3233ab064994ef05a170bdba0e7c  # 16:26      0-      7  Merge tag 'usb-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect good 8127b39e700f965a60fca443d23f3e171bf7c3a9  # 16:37     20+     20  Merge tag 'fbdev-for-3.10' of git://gitorious.org/linux-omap-dss2/linux
git bisect  bad 4f567cbc957a7cffd1a428a000d93bd903f42349  # 16:49      0-     20  Merge tag 'char-misc-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect good 000a74f41e601bc4e36a760aa42f219a019c5391  # 17:00     20+     20  Merge tag 'pinctrl-for-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect good 92ddcf4a011a95dac98d3bbb0211a2fa42f13dc1  # 17:11     20+     20  Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
git bisect  bad b68301e9acd30f7fd63533a145f5e003e25ac9bd  # 17:16      0-      1  mei: prefix me hardware specific functions with mei_me_
git bisect good b85c4a18f6543873eaa71772f6252bc4d403eeb2  # 17:28     20+     20  sound/pcmcia: use module_pcmcia_driver() in pcmcia drivers
git bisect good 9ea03dec380208bfee015b25f253c2f58aba0071  # 17:39     20+     20  memory: emif: setup LP settings on freq update
git bisect  bad a6025a2a861845447adeb7a11c3043039959d3a1  # 17:42      0-      6  Drivers: hv: balloon: make local functions static
git bisect good 36caf3e525b24556f649aecd097cad73bde6f035  # 17:53     20+     20  memory: emif: Fix the incorrect 'size' parameter in memcpy
git bisect good f57f27bc6ed7106276004dd224aaeeb160a5b4b8  # 18:06     20+     20  memory: emif: Load the correct custom config values from dt
git bisect  bad 54f69b92f037f4ff5779e5645ab714dee5b59095  # 18:08      0-      5  dummy-irq: introduce a dummy IRQ handler driver
git bisect good 4c6e22b8a93ef038b70661e590de250a09417af7  # 18:20     20+     20  mei: add mei_irq_compl_handler function
# first bad commit: [54f69b92f037f4ff5779e5645ab714dee5b59095] dummy-irq: introduce a dummy IRQ handler driver
git bisect good 4c6e22b8a93ef038b70661e590de250a09417af7  # 18:32     60+     80  mei: add mei_irq_compl_handler function
git bisect  bad 92d88cb068a5dc66d53ef017999b2419b125f764  # 18:32      0-     21  Add linux-next specific files for 20140905
git bisect  bad 92d88cb068a5dc66d53ef017999b2419b125f764  # 18:34      0-     21  Add linux-next specific files for 20140905


This script may reproduce the error.

----------------------------------------------------------------------------
#!/bin/bash

kernel=$1
initrd=yocto-minimal-i386.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-lkp-nex04-164:20140907181726:i386-randconfig-j0-09070149::" of type "text/plain" (60033 bytes)

Download attachment "i386-randconfig-j0-09070149-92d88cb068a5dc66d53ef017999b2419b125f764-+-x-129689.log" of type "application/octet-stream" (121986 bytes)

View attachment "config-3.9.0-rc2-00065-g54f69b9" of type "text/plain" (74789 bytes)

_______________________________________________
LKP mailing list
LKP@...ux.intel.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ