Bug 9839 - WARNING on boot
Summary: WARNING on boot
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: i386 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Thomas Gleixner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-28 14:46 UTC by Denys Fedoryshchenko
Modified: 2008-01-29 10:28 UTC (History)
0 users

See Also:
Kernel Version: 2.6.24
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
Full dmesg (15.26 KB, text/plain)
2008-01-28 14:46 UTC, Denys Fedoryshchenko
Details
Patch for testing (2.43 KB, patch)
2008-01-29 03:22 UTC, Thomas Gleixner
Details | Diff

Description Denys Fedoryshchenko 2008-01-28 14:46:17 UTC
Latest working kernel version: It is all working, just warning
Earliest failing kernel version: Unknown, probably 2.6.24
Distribution: Custom
Hardware Environment: 
Software Environment: Semi-embedded distribution
Problem Description:
In boot log found this, probably interesting:
[   24.101851] CPU: L2 cache: 1024K
[   24.101854] CPU: Physical Processor ID: 0
[   24.101857] CPU: After all inits, caps: bfebfbff 00000000 00000000 0000b180 0000441d 00000000 00000000 00000000
[   24.101864] Intel machine check architecture supported.
[   24.101871] Intel machine check reporting enabled on CPU#1.
[   24.101874] CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
[   24.101879] CPU1: Thermal monitoring enabled
[   24.102148] CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 04
[   24.102196] Total of 2 processors activated (11971.66 BogoMIPS).
[   24.102322] ENABLING IO-APIC IRQs
[   24.102491] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
[   24.112498] WARNING: at arch/x86/kernel/smp_32.c:561 native_smp_call_function_mask()
[   24.112504] Pid: 1, comm: swapper Not tainted 2.6.24-build-0021 #4
[   24.112509]  [<c011188d>] native_smp_call_function_mask+0x43/0xf7
[   24.112519]  [<c0113974>] enable_NMI_through_LVT0+0x0/0x28
[   24.112525]  [<c0113974>] enable_NMI_through_LVT0+0x0/0x28
[   24.112530]  [<c0113974>] enable_NMI_through_LVT0+0x0/0x28
[   24.112535]  [<c0112b2a>] smp_call_function+0x1c/0x22
[   24.112539]  [<c0126716>] on_each_cpu+0x18/0x27
[   24.112544]  [<c01149d2>] setup_nmi+0x30/0x47
[   24.112549]  [<c038d538>] setup_IO_APIC+0x804/0xd42
[   24.112556]  [<c01f27ba>] vsnprintf+0x442/0x47e
[   24.112563]  [<c0122b1d>] release_console_sem+0x181/0x19a
[   24.112570]  [<c038adb2>] native_smp_prepare_cpus+0x49d/0x4ad
[   24.112576]  [<c0124643>] release_task+0x1f6/0x26f
[   24.112582]  [<c011cb8d>] task_rq_lock+0x28/0x4b
[   24.112586]  [<c011ed0e>] set_cpus_allowed+0x86/0x8e
[   24.112591]  [<c0384349>] kernel_init+0x0/0x2a2
[   24.112596]  [<c038439b>] kernel_init+0x52/0x2a2
[   24.112600]  [<c011f789>] schedule_tail+0x18/0x52
[   24.112605]  [<c0104cb6>] ret_from_fork+0x6/0x1c
[   24.112610]  [<c0384349>] kernel_init+0x0/0x2a2
[   24.112615]  [<c0384349>] kernel_init+0x0/0x2a2
[   24.112619]  [<c01059bb>] kernel_thread_helper+0x7/0x10
[   24.112625]  =======================
[   24.213748] APIC timer registered as dummy, due to nmi_watchdog=1!
[   24.213853] checking TSC synchronization [CPU#0 -> CPU#1]: passed.
[   24.233857] Brought up 2 CPUs
[   24.234075] net_namespace: 64 bytes
[   24.234547] NET: Registered protocol family 16
[   24.234720] ACPI: bus type pci registered
[   24.236178] PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
                                                                                                                 


Steps to reproduce:
It is appearing on each boot.

Hardware
MB Intel D865GBF
CPUinfo
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 4
cpu MHz         : 2992.673
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1

1GB RAM
Full dmesg i will attach as file.
Comment 1 Denys Fedoryshchenko 2008-01-28 14:46:46 UTC
Created attachment 14632 [details]
Full dmesg
Comment 2 Thomas Gleixner 2008-01-29 02:11:08 UTC
Yes, that warning needs care. Problem was introduced with commit 4aae07025265151e3f7041dfbf0f529e122de1d8, which fixed a bug in that code. Fix is in the work.

Thanks for reporting !

   tglx
Comment 3 Thomas Gleixner 2008-01-29 03:22:23 UTC
Created attachment 14635 [details]
Patch for testing

Can you please test the attached patch ?
Comment 4 Denys Fedoryshchenko 2008-01-29 04:11:38 UTC
Warning is not appearing anymore.
Comment 5 Thomas Gleixner 2008-01-29 10:28:21 UTC
Fix is queued for mainline and .24.stable series.

Thanks for testing,

    tglx

Note You need to log in before you can comment on or make changes to this bug.