From: Piotr Hosowicz on
Hello,

May be this is important, freshly built kernel, I attach the config.

Linux aapi205 2.6.35-git9 #1 SMP PREEMPT Tue Aug 10 14:29:58 CEST 2010
x86_64 GNU/Linux

[ 0.008862] Mount-cache hash table entries: 256
[ 0.009020] Initializing cgroup subsys ns
[ 0.009025] Initializing cgroup subsys cpuacct
[ 0.009029] Initializing cgroup subsys devices
[ 0.009031] Initializing cgroup subsys blkio
[ 0.009072] CPU: Physical Processor ID: 0
[ 0.009073] CPU: Processor Core ID: 0
[ 0.009076] mce: CPU supports 6 MCE banks
[ 0.009083] CPU0: Thermal monitoring enabled (TM2)
[ 0.009087] using mwait in idle threads.
[ 0.009089] Performance Events: PEBS fmt0+, Core2 events, Intel PMU
driver.
[ 0.009096] ... version: 2
[ 0.009098] ... bit width: 40
[ 0.009099] ... generic registers: 2
[ 0.009101] ... value mask: 000000ffffffffff
[ 0.009103] ... max period: 000000007fffffff
[ 0.009105] ... fixed-purpose events: 3
[ 0.009106] ... event mask: 0000000700000003
[ 0.009864] ACPI: Core revision 20100702
[ 0.011430] BUG: scheduling while atomic: swapper/0/0x10000002
[ 0.011437] Modules linked in:
[ 0.011440] Pid: 0, comm: swapper Not tainted 2.6.35-git9 #1
[ 0.011442] Call Trace:
[ 0.011450] [<ffffffff81038a0c>] __schedule_bug+0x5c/0x60
[ 0.011455] [<ffffffff8130e12d>] schedule+0xdc/0x5fc
[ 0.011460] [<ffffffff811ffc22>] ? acpi_ps_delete_parse_tree+0x3e/0x5c
[ 0.011463] [<ffffffff8103b1c0>] __cond_resched+0x13/0x1f
[ 0.011466] [<ffffffff8130e752>] _cond_resched+0x16/0x1d
[ 0.011469] [<ffffffff811ff1af>] acpi_ps_complete_op+0x267/0x27d
[ 0.011472] [<ffffffff811ff9cc>] acpi_ps_parse_loop+0x807/0x95f
[ 0.011476] [<ffffffff811feab1>] acpi_ps_parse_aml+0x9a/0x2b9
[ 0.011479] [<ffffffff811fd223>] acpi_ns_one_complete_parse+0x103/0x120
[ 0.011483] [<ffffffff8130fd94>] ? _raw_spin_unlock_irqrestore+0x3b/0x3d
[ 0.011486] [<ffffffff811fd25b>] acpi_ns_parse_table+0x1b/0x34
[ 0.011489] [<ffffffff811fa6d2>] acpi_ns_load_table+0x4a/0x8c
[ 0.011493] [<ffffffff812019ec>] acpi_load_tables+0x9c/0x15d
[ 0.011497] [<ffffffff8170aa58>] acpi_early_init+0x6c/0xf7
[ 0.011502] [<ffffffff816ded68>] start_kernel+0x3df/0x3ef
[ 0.011505] [<ffffffff816de2ac>] x86_64_start_reservations+0xb3/0xb7
[ 0.011509] [<ffffffff816de3a8>] x86_64_start_kernel+0xf8/0x107
[ 0.016075] Setting APIC routing to flat
[ 0.016383] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.056417] CPU0: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
stepping 07
[ 0.072021] Booting Node 0, Processors #1 #2 #3 Ok.
[ 0.356027] Brought up 4 CPUs
[ 0.356031] Total of 4 processors activated (18663.60 BogoMIPS).
[ 0.357343] devtmpfs: initialized

Regards,

Piotr Hosowicz

--
Familiada:
- Zwierze w paski?
- Biedronka!
NP: Peter Green Splinter Group - Big Change Is Gonna Come
NB: 2.6.35-git9
From: Heinz Diehl on
+1

[....]
ACPI: Core revision 20100702
BUG: scheduling while atomic: swapper/0/0x10000002
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.35-git8 #1
Call Trace:
[<ffffffff81441be8>] ? schedule+0x518/0x9a0
[<ffffffff812e4262>] ? acpi_os_release_object+0x9/0xd
[<ffffffff8103dcfd>] ? __cond_resched+0x1d/0x30
[<ffffffff814421dd>] ? _cond_resched+0x2d/0x40
[<ffffffff81300ca0>] ? acpi_ps_complete_op+0x24c/0x260
[<ffffffff813014c9>] ? acpi_ps_parse_loop+0x815/0x970
[<ffffffff813005d8>] ? acpi_ps_parse_aml+0x8f/0x2aa
[<ffffffff812fee85>] ? acpi_ns_one_complete_parse+0xfd/0x118
[<ffffffff812feeba>] ? acpi_ns_parse_table+0x1a/0x34
[<ffffffff812fc685>] ? acpi_ns_load_table+0x3d/0x7c
[<ffffffff81303321>] ? acpi_load_tables+0x9b/0x156
[<ffffffff81798d87>] ? acpi_early_init+0x6c/0xf7
[<ffffffff81771cf5>] ? start_kernel+0x368/0x436
[<ffffffff81771382>] ? x86_64_start_kernel+0xe1/0xf2
[....]

htd(a)liesel:~> uname -a
Linux liesel 2.6.35-git8 #1 SMP PREEMPT Mon Aug 9 10:53:49 CEST 2010 x86_64 x86_ 64 x86_64 GNU/Linux

..config and dmesg output is attached.

From: Markus Trippelsdorf on
On Tue, Aug 10, 2010 at 04:07:48PM +0200, Heinz Diehl wrote:
> +1
>
> [....]
> ACPI: Core revision 20100702
> BUG: scheduling while atomic: swapper/0/0x10000002
> Modules linked in:
> Pid: 0, comm: swapper Not tainted 2.6.35-git8 #1
> Call Trace:
> [<ffffffff81441be8>] ? schedule+0x518/0x9a0
> [<ffffffff812e4262>] ? acpi_os_release_object+0x9/0xd
> [<ffffffff8103dcfd>] ? __cond_resched+0x1d/0x30
> [<ffffffff814421dd>] ? _cond_resched+0x2d/0x40
> [<ffffffff81300ca0>] ? acpi_ps_complete_op+0x24c/0x260
> [<ffffffff813014c9>] ? acpi_ps_parse_loop+0x815/0x970
> [<ffffffff813005d8>] ? acpi_ps_parse_aml+0x8f/0x2aa
> [<ffffffff812fee85>] ? acpi_ns_one_complete_parse+0xfd/0x118
> [<ffffffff812feeba>] ? acpi_ns_parse_table+0x1a/0x34
> [<ffffffff812fc685>] ? acpi_ns_load_table+0x3d/0x7c
> [<ffffffff81303321>] ? acpi_load_tables+0x9b/0x156
> [<ffffffff81798d87>] ? acpi_early_init+0x6c/0xf7
> [<ffffffff81771cf5>] ? start_kernel+0x368/0x436
> [<ffffffff81771382>] ? x86_64_start_kernel+0xe1/0xf2

This bug already has two patches available to fix it:

http://lkml.org/lkml/2010/8/6/672
https://patchwork.kernel.org/patch/113092/

--
�A man who doesn't know he is in prison can never escape.�
William S. Burroughs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Sergey Senozhatsky on
Thanks.

Sergey

On (08/10/10 16:29), Markus Trippelsdorf wrote:
> On Tue, Aug 10, 2010 at 04:07:48PM +0200, Heinz Diehl wrote:
> > +1
> >
> > [....]
> > ACPI: Core revision 20100702
> > BUG: scheduling while atomic: swapper/0/0x10000002
> > Modules linked in:
> > Pid: 0, comm: swapper Not tainted 2.6.35-git8 #1
> > Call Trace:
> > [<ffffffff81441be8>] ? schedule+0x518/0x9a0
> > [<ffffffff812e4262>] ? acpi_os_release_object+0x9/0xd
> > [<ffffffff8103dcfd>] ? __cond_resched+0x1d/0x30
> > [<ffffffff814421dd>] ? _cond_resched+0x2d/0x40
> > [<ffffffff81300ca0>] ? acpi_ps_complete_op+0x24c/0x260
> > [<ffffffff813014c9>] ? acpi_ps_parse_loop+0x815/0x970
> > [<ffffffff813005d8>] ? acpi_ps_parse_aml+0x8f/0x2aa
> > [<ffffffff812fee85>] ? acpi_ns_one_complete_parse+0xfd/0x118
> > [<ffffffff812feeba>] ? acpi_ns_parse_table+0x1a/0x34
> > [<ffffffff812fc685>] ? acpi_ns_load_table+0x3d/0x7c
> > [<ffffffff81303321>] ? acpi_load_tables+0x9b/0x156
> > [<ffffffff81798d87>] ? acpi_early_init+0x6c/0xf7
> > [<ffffffff81771cf5>] ? start_kernel+0x368/0x436
> > [<ffffffff81771382>] ? x86_64_start_kernel+0xe1/0xf2
>
> This bug already has two patches available to fix it:
>
> http://lkml.org/lkml/2010/8/6/672
> https://patchwork.kernel.org/patch/113092/
>
> --
> »A man who doesn't know he is in prison can never escape.«
> William S. Burroughs
>
From: Piotr Hosowicz on
On 10.08.2010 16:29, Markus Trippelsdorf wrote:

> This bug already has two patches available to fix it:
>
> http://lkml.org/lkml/2010/8/6/672
> https://patchwork.kernel.org/patch/113092/

None of them works for me. I do:

cat patch.txt | patch -p1

And get:

aapi205:/usr/src/linux# cat ../smp-bug.txt | patch -p1
patching file include/acpi/platform/aclinux.h
Hunk #1 FAILED at 152.
1 out of 1 hunk FAILED -- saving rejects to file
include/acpi/platform/aclinux.h.rej

Help me please.

Regards,

Piotr Hosowicz

--
Zatrzymuje si� samoch�d na sejmowym parkingu. Podchodzi do niego
ochroniarz i m�wi:
- Pan tu parkuje?! Tu Sejm ... Ministrowie, politycy, pos�owiei ...
- Dzi�ki, w��cz� alarm.
NP: Peter Green Splinter Group - There's A River
NB: 2.6.35-git9
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/