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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140518014712.GB8448@localhost>
Date:	Sun, 18 May 2014 09:47:12 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Stephen Rothwell <sfr@...b.auug.org.au>
Subject: [ACPI] WARNING: CPU: 0 PID: 1 at kernel/irq/manage.c:1325
 __free_irq()

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 64acc0549fea1b404b88c1354813886364902488
Merge: 0856ad1 6456b00
Author:     Stephen Rothwell <sfr@...b.auug.org.au>
AuthorDate: Fri May 16 16:27:24 2014 +1000

    Merge branch 'akpm-current/current'
    
    Conflicts:
    	arch/x86/kernel/apic/hw_nmi.c
    	mm/memblock.c
    	mm/memcontrol.c

+-----------------------------------------------------+------------+------------+------------+---------------+
|                                                     | 0856ad1ef1 | 6456b00c4f | 64acc0549f | next-20140516 |
+-----------------------------------------------------+------------+------------+------------+---------------+
| boot_successes                                      | 60         | 60         | 0          | 0             |
| boot_failures                                       | 0          | 0          | 20         | 13            |
| WARNING:CPU:PID:at_kernel/irq/manage.c:__free_irq() | 0          | 0          | 20         | 13            |
| backtrace:acpi_terminate                            | 0          | 0          | 20         | 13            |
| backtrace:acpi_init                                 | 0          | 0          | 20         | 13            |
| backtrace:kernel_init_freeable                      | 0          | 0          | 20         | 13            |
+-----------------------------------------------------+------------+------------+------------+---------------+

[    0.947668] ACPI: Added _OSI(Processor Aggregator Device)
[    0.951373] ACPI: Unable to start the ACPI Interpreter
[    0.954908] ------------[ cut here ]------------
[    0.958496] WARNING: CPU: 0 PID: 1 at kernel/irq/manage.c:1325 __free_irq+0x10b/0x3c3()
[    0.960000] Trying to free already-free IRQ 9
[    0.960000] Modules linked in:
[    0.960000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.15.0-rc5-06386-g64acc05 #1
[    0.960000] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.960000]  0000000000000000 ffff88001150bc90 ffffffff8160618b ffff88001150bcd8
[    0.960000]  ffff88001150bcc8 ffffffff8105c54f ffffffff810ca9d7 0000000000000000
[    0.960000]  ffff8800000914a0 0000000000000009 ffffffff81315f00 ffff88001150bd28
[    0.960000] Call Trace:
[    0.960000]  [<ffffffff8160618b>] dump_stack+0xa1/0x124
[    0.960000]  [<ffffffff8105c54f>] warn_slowpath_common+0xb0/0xde
[    0.960000]  [<ffffffff810ca9d7>] ? __free_irq+0x10b/0x3c3
[    0.960000]  [<ffffffff81315f00>] ? acpi_map_lookup+0x3/0x63
[    0.960000]  [<ffffffff8105c663>] warn_slowpath_fmt+0x5a/0x63
[    0.960000]  [<ffffffff8161278e>] ? _raw_spin_lock_irqsave+0xd2/0xeb
[    0.960000]  [<ffffffff810ca9a2>] ? __free_irq+0xd6/0x3c3
[    0.960000]  [<ffffffff810ca9d7>] __free_irq+0x10b/0x3c3
[    0.960000]  [<ffffffff81315ffa>] ? acpi_os_drop_map_ref+0x57/0x57
[    0.960000]  [<ffffffff81315ffa>] ? acpi_os_drop_map_ref+0x57/0x57
[    0.960000]  [<ffffffff810caec9>] free_irq+0x167/0x197
[    0.960000]  [<ffffffff820732aa>] ? acpi_sleep_init+0x154/0x154
[    0.960000]  [<ffffffff81316a6d>] acpi_os_remove_interrupt_handler+0x33/0x49
[    0.960000]  [<ffffffff813304f3>] acpi_ev_remove_all_sci_handlers+0x26/0x9e
[    0.960000]  [<ffffffff820732aa>] ? acpi_sleep_init+0x154/0x154
[    0.960000]  [<ffffffff8132f287>] acpi_ev_terminate+0xcc/0x15f
[    0.960000]  [<ffffffff820732aa>] ? acpi_sleep_init+0x154/0x154
[    0.960000]  [<ffffffff8134e52f>] acpi_ut_subsystem_shutdown+0x1a/0xf5
[    0.960000]  [<ffffffff820732aa>] ? acpi_sleep_init+0x154/0x154
[    0.960000]  [<ffffffff820752e7>] acpi_terminate+0x56/0x77
[    0.960000]  [<ffffffff82073645>] acpi_init+0x39b/0x3c3
[    0.960000]  [<ffffffff81000367>] ? do_one_initcall+0xd2/0x2c1
[    0.960000]  [<ffffffff811c1095>] ? kfree+0xe8/0x17b
[    0.960000]  [<ffffffff820732aa>] ? acpi_sleep_init+0x154/0x154
[    0.960000]  [<ffffffff820732aa>] ? acpi_sleep_init+0x154/0x154
[    0.960000]  [<ffffffff81000418>] do_one_initcall+0x183/0x2c1
[    0.960000]  [<ffffffff81086df5>] ? parameq+0x29/0x32
[    0.960000]  [<ffffffff81087098>] ? parse_args+0x29a/0x3e8
[    0.960000]  [<ffffffff82036833>] kernel_init_freeable+0x1e9/0x2dc
[    0.960000]  [<ffffffff82035976>] ? do_early_param+0xd7/0xd7
[    0.960000]  [<ffffffff815fa8ba>] ? rest_init+0x15e/0x15e
[    0.960000]  [<ffffffff815fa8cf>] kernel_init+0x15/0x17a
[    0.960000]  [<ffffffff8161403c>] ret_from_fork+0x7c/0xb0
[    0.960000]  [<ffffffff815fa8ba>] ? rest_init+0x15e/0x15e
[    0.960000] ---[ end trace adcd8b06ce955289 ]---
[    0.980636] vgaarb: loaded

git bisect start 4151fa6adc65da14673ece623bbb2acc6936f8be 0856ad1ef175c45dc6a0bc629ca355fdfbb1001e --
git bisect  bad 64acc0549fea1b404b88c1354813886364902488  # 20:10      0-      1  Merge branch 'akpm-current/current'
git bisect good 894878f70476deaca209750445d5c6d370180a43  # 20:14     20+      0  mm-use-the-light-version-__mod_zone_page_state-in-mlocked_vma_newpage-checkpatch-fixes
git bisect good 1578d82c1dfd0faa67229a41aad15db5783db440  # 20:20     20+      0  rtc: rtc-ds1742: make of_device_id array const
git bisect good 9588c229c1e48d024a7ef34af489f576a395adf6  # 20:24     20+      0  smp-print-more-useful-debug-info-upon-receiving-ipi-on-an-offline-cpu-fix
git bisect good 146494976f9be2f0e38a291abe41f33f368a530e  # 20:29     20+      0  kernel/profile.c: use static const char instead of static char
git bisect good e217856eed37885172ae6762a78a6fad8a02b960  # 20:34     20+      0  ipc,shm: document new limits in the uapi header
git bisect good 98495af6a9ea22abc87ef5f800267f1536a3426f  # 20:40     20+      0  lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig
git bisect good 29bfc4afc4fe1f9337dc60e19015af02867c1844  # 20:45     20+      0  lib/scatterlist: clean up useless architecture versions of scatterlist.h
git bisect good d66cd3b40705c5873f81621a530d05b60544aee8  # 20:50     20+      0  sysrq: rcu-ify __handle_sysrq
git bisect good 6456b00c4f4ac3774506ff54242a8849172cb650  # 20:55     20+      0  sysrq,rcu: suppress RCU stall warnings while sysrq runs
# first bad commit: [64acc0549fea1b404b88c1354813886364902488] Merge branch 'akpm-current/current'
git bisect good 0856ad1ef175c45dc6a0bc629ca355fdfbb1001e  # 20:58     60+      0  Merge branch 'rd-docs/master'
git bisect good 6456b00c4f4ac3774506ff54242a8849172cb650  # 21:00     60+      0  sysrq,rcu: suppress RCU stall warnings while sysrq runs
git bisect  bad 4151fa6adc65da14673ece623bbb2acc6936f8be  # 21:00      0-     13  Add linux-next specific files for 20140516
git bisect good 14186fea0cb06bc43181ce239efe0df6f1af260a  # 21:05     60+      0  Merge tag 'locks-v3.15-4' of git://git.samba.org/jlayton/linux
git bisect  bad 4151fa6adc65da14673ece623bbb2acc6936f8be  # 21:05      0-     13  Add linux-next specific files for 20140516


This script may reproduce the error.

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

kernel=$1

kvm=(
	qemu-system-x86_64 -cpu kvm64 -enable-kvm 
	-kernel $kernel
	-smp 2
	-m 256M
	-net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio
	-net user,vlan=0
	-net nic,vlan=1,model=e1000
	-net user,vlan=1
	-boot order=nc
	-no-reboot
	-watchdog i6300esb
	-serial stdio
	-display none
	-monitor null
)

append=(
	debug
	sched_debug
	apic=debug
	ignore_loglevel
	sysrq_always_enabled
	panic=10
	prompt_ramdisk=0
	earlyprintk=ttyS0,115200
	console=ttyS0,115200
	console=tty0
	vga=normal
	root=/dev/ram0
	rw
)

"${kvm[@]}" --append "${append[*]}"
-----------------------------------------------------------------------------

Thanks,
Fengguang

View attachment "dmesg-quantal-f3-39:20140517200915:x86_64-randconfig-iv1-05171949:3.15.0-rc5-06386-g64acc05:1" of type "text/plain" (37992 bytes)

Download attachment "x86_64-randconfig-iv1-05171949-4151fa6adc65da14673ece623bbb2acc6936f8be-WARNING:---at----__free_irq+-x-4377.log" of type "application/octet-stream" (29863 bytes)

View attachment "config-3.15.0-rc5-06386-g64acc05" of type "text/plain" (87510 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ