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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 6 Dec 2011 10:06:12 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	mingo@...hat.com, hpa@...or.com, linux-kernel@...r.kernel.org,
	andi@...stfloor.org, torvalds@...ux-foundation.org,
	peterz@...radead.org, robert.richter@....com, tglx@...utronix.de,
	dzickus@...hat.com
Cc:	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/debug] x86, NMI: Add NMI IPI selftest


* tip-bot for Don Zickus <dzickus@...hat.com> wrote:

> Commit-ID:  99e8b9ca90d688c3ac7d3a141b701c9694a93925
> Gitweb:     http://git.kernel.org/tip/99e8b9ca90d688c3ac7d3a141b701c9694a93925
> Author:     Don Zickus <dzickus@...hat.com>
> AuthorDate: Thu, 13 Oct 2011 15:14:26 -0400
> Committer:  Ingo Molnar <mingo@...e.hu>
> CommitDate: Mon, 5 Dec 2011 12:00:16 +0100
> 
> x86, NMI: Add NMI IPI selftest

The NMI test-suite has caught some badness:

[    0.179992] calling  tracer_alloc_buffers+0x0/0x224 @ 1
[    0.183417] initcall tracer_alloc_buffers+0x0/0x224 returned 0 after 0 usecs
[    0.186658] calling  init_trace_printk+0x0/0xf @ 1
[    0.189992] initcall init_trace_printk+0x0/0xf returned 0 after 0 usecs
[    0.193324] Brought up 1 CPUs
[    0.196657] ----------------
[    0.199989] | NMI testsuite:
[    0.203322] --------------------
[    0.206655]   remote IPI:
[    0.209991] ------------[ cut here ]------------
[    0.213325] WARNING: at arch/x86/kernel/apic/ipi.c:109 default_send_IPI_mask_logical+0xdb/0x120()
[    0.216655] Hardware name: System Product Name
[    0.219987] empty IPI mask
[    0.223321] Modules linked in:
[    0.227015] Pid: 1, comm: swapper/0 Tainted: G        W    3.2.0-rc4-tip+ #163124
[    0.229987] Call Trace:
[    0.233326]  [<c102e2a2>] warn_slowpath_common+0x72/0xa0
[    0.236656]  [<c101e04b>] ? default_send_IPI_mask_logical+0xdb/0x120
[    0.239989]  [<c101e04b>] ? default_send_IPI_mask_logical+0xdb/0x120
[    0.243321]  [<c102e373>] warn_slowpath_fmt+0x33/0x40
[    0.246655]  [<c101e04b>] default_send_IPI_mask_logical+0xdb/0x120
[    0.249988]  [<c1024025>] test_nmi_ipi.constprop.2+0x55/0xb0
[    0.253320]  [<c10240c8>] remote_ipi+0x48/0x80
[    0.256654]  [<c102417d>] dotest.constprop.3+0xd/0x90
[    0.259987]  [<c1024265>] nmi_selftest+0x65/0x120
[    0.263320]  [<c14d4e73>] native_smp_cpus_done+0x15/0xff
[    0.266653]  [<c14ddf3f>] smp_init+0xdb/0xe2
[    0.269988]  [<c14cb7bb>] ? start_kernel+0x386/0x386
[    0.273320]  [<c14cb81d>] kernel_init+0x62/0x118
[    0.276653]  [<c138bb3e>] kernel_thread_helper+0x6/0x10
[    0.279985] ---[ end trace a7919e7f17c0a726 ]---
[    0.283318]   ok  |
[    0.287008]    local IPI:  ok  |
[    0.293675] --------------------
[    0.296650] Good, all   2 testcases passed! |
[    0.299982] ---------------------------------
[    0.303317] Total of 1 processors activated (4022.62 BogoMIPS).
[    0.306818] devtmpfs: initialized
[    0.310004] device: 'platform': device_add

That's an empty IPI mask. NOTE the boot parameters i used:

Kernel command line: root=/dev/sda1 
earlyprintk=ttyS0,115200,keep console=ttyS0,115200 debug 
initcall_debug enforcing=0 apic=verbose ignore_loglevel 
sysrq_always_enabled selinux=0 nmi_watchdog=0 3 panic=1 3 nosmp 
highres=0 highmem=512m pci=nomsi

i think 'nosmp' might be relevant.

Config attached.

Thanks,

	Ingo

View attachment "config" of type "text/plain" (64975 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ