Re: sleeping functions called in invalid context during resume

2006-11-18 Thread Paolo Ornati
On Sat, 18 Nov 2006 13:55:04 +0100 Karsten Wiese <[EMAIL PROTECTED]> wrote: > > Could you try the following, as of yet untested patch? > It's i386 twin makes an APIC error vanish here on a K8. > > Karsten > --- > From 54248a

Re: sleeping functions called in invalid context during resume

2006-11-18 Thread Karsten Wiese
Am Samstag, 18. November 2006 12:43 schrieb Paolo Ornati: > On Fri, 17 Nov 2006 08:30:08 -0800 > Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > > APIC error on CPU0: 00(00) > > > > > > > > > > Is it an ACPI problem? > > > > > > > > a 00 error code? Never seen that ... How frequently does

Re: sleeping functions called in invalid context during resume

2006-11-18 Thread Paolo Ornati
On Fri, 17 Nov 2006 08:30:08 -0800 Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > APIC error on CPU0: 00(00) > > > > > > > > Is it an ACPI problem? > > > > > > a 00 error code? Never seen that ... How frequently does it happen? > > > > On my x86-64 boxes the "APIC error on CPU0" message a

Re: sleeping functions called in invalid context during resume

2006-11-17 Thread Stephen Hemminger
On Fri, 17 Nov 2006 16:46:05 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Friday, 17 November 2006 07:52, Ingo Molnar wrote: > > > > * Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > > > BUG: sleeping function called from invalid context at > > > > > drivers/base/power/resum

Re: sleeping functions called in invalid context during resume

2006-11-17 Thread Rafael J. Wysocki
On Friday, 17 November 2006 07:52, Ingo Molnar wrote: > > * Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > BUG: sleeping function called from invalid context at > > > > drivers/base/power/resume.c:99 > > > > in_atomic():1, irqs_disabled():0 > > > > > > > > Call Trace: > > > > [] show

Re: sleeping functions called in invalid context during resume

2006-11-16 Thread Ingo Molnar
* Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > BUG: sleeping function called from invalid context at > > > drivers/base/power/resume.c:99 > > > in_atomic():1, irqs_disabled():0 > > > > > > Call Trace: > > > [] show_trace+0x34/0x47 > > > [] dump_stack+0x12/0x17 > > > [] device_resume+

Re: sleeping functions called in invalid context during resume

2006-11-16 Thread Andi Kleen
> > I have no idea what causes: > > > > APIC error on CPU0: 00(00) > > > > Is it an ACPI problem? What CPU/chipset? > > Strange. x86_64 has that stray exit_idle() in smp_error_interrupt() but > afaict it won't cause this to happen. > > What's that idle_notifier doing in x86_64 anyway? I

Re: sleeping functions called in invalid context during resume

2006-11-16 Thread Andrew Morton
On Thu, 16 Nov 2006 21:21:58 -0800 Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > Lots of sleeping while atomic warnings on 2.6.19-rc5 > > > During resume I see the following: > > > > > > > > > platform floppy.0: EARLY resume > > > API

Re: sleeping functions called in invalid context during resume

2006-11-16 Thread Stephen Hemminger
> Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > Lots of sleeping while atomic warnings on 2.6.19-rc5 > > During resume I see the following: > > > > > > platform floppy.0: EARLY resume > > APIC error on CPU0: 00(00) > > PM: Finishing wakeup. > > BUG: sleeping function called from invalid co