Skip to contentSkip to conversation

Bad: scheduling while atomic!

DISCUSSION Lukas Schrangl 4 participants 7 messages Mar 31, 2004 – Apr 2, 2004 5 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

I've been trying to get S4 working for several weeks now using kernel 2.6.4 and it still does not work.
Going to sleep with "echo -n 4 > /proc/acpi/sleep" works - but i get some APIC error (don't know exactly - can't read that fast).
When powering on again it first start normal, but then there is an endless loop displaying "Bad: Scheduling while atomic!" and a call trace again and again very fast. I can only hard- poweroff my computer.
Disabling local APIC does not help.

S3 does not wake up either (fan and hd spin up and then silence). Once, with minimal kernel configuration I managed to get a picture again on the screen, showing the same "Bad: Scheduling while atomic!" thing.

Maybe someone can help me getting S4 working!
Lukas

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Am Mittwoch, 31. März 2004 10:54 schrieb Lukas Schrangl:

Quoted 11 lines

Hi!

I've been trying to get S4 working for several weeks now using kernel 2.6.4 and it still does not work.
Going to sleep with "echo -n 4 > /proc/acpi/sleep" works - but i get some APIC error (don't know exactly - can't read that fast).
When powering on again it first start normal, but then there is an endless loop displaying "Bad: Scheduling while atomic!" and a call trace again and again very fast. I can only hard- poweroff my computer. Disabling local APIC does not help.

Quoted 6 lines

S3 does not wake up either (fan and hd spin up and then silence). Once, with minimal kernel configuration I managed to get a picture again on the screen, showing the same "Bad: Scheduling while atomic!" thing.

Maybe someone can help me getting S4 working!
Lukas

I forgot:
ALi M1533 Chipset
ATI IGP 320M Northbridge
Ahlon XP 2500+ Northbridge
SuSE 9.0
Kernel 2.6.4

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

I get the same error with suspend to disk on a Fujitsu P2120. Ali 1535 chipset is the common bit...

Whats the network card you use?

Tomasz Ciolek

Quoted 36 lines · Lukas Schrangl

Am Mittwoch, 31. M?rz 2004 10:54 schrieb Lukas Schrangl:

Quoted 11 lines

Hi!

I've been trying to get S4 working for several weeks now using kernel 2.6.4 and it still does not work.
Going to sleep with "echo -n 4 > /proc/acpi/sleep" works - but i get some APIC error (don't know exactly - can't read that fast).
When powering on again it first start normal, but then there is an endless loop displaying "Bad: Scheduling while atomic!" and a call trace again and again very fast. I can only hard- poweroff my computer. Disabling local APIC does not help.

Quoted 6 lines

S3 does not wake up either (fan and hd spin up and then silence). Once, with minimal kernel configuration I managed to get a picture again on the screen, showing the same "Bad: Scheduling while atomic!" thing.

Maybe someone can help me getting S4 working!
Lukas

I forgot:
ALi M1533 Chipset
ATI IGP 320M Northbridge
Ahlon XP 2500+ Northbridge
SuSE 9.0
Kernel 2.6.4

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

Signature · 17 lines
Tomasz M. Ciolek	
*******************************************************************************
 tmc at dreamcraft dot com dot au or tmc at goldweb dot com dot au 	
*******************************************************************************
	GPG Key ID: 0x41C4C2F0  Key available on www.pgp.net	
*******************************************************************************
  Everything falls under the law of change;	
  Like a dream, a phantom, a bubble, a shadow,
  like dew of flash of lightning.
  You should contemplate like this. 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click

A message that is not in the archive (sent off-list or not yet received): 20040331135925.GF28355-+XVqjN4+fIJfbCVcMT5z6Ydd74u8MsAO@public.gmane.org

#6 lore raw

Am Mittwoch, 31. März 2004 15:59 schrieb Tomasz Ciolek:

Quoted 5 lines

I get the same error with suspend to disk on a Fujitsu P2120. Ali 1535 chipset is the common bit...

Whats the network card you use?

Broadcom BCM 4401

Quoted 39 lines

Tomasz Ciolek

Quoted 36 lines · Lukas Schrangl

Am Mittwoch, 31. M?rz 2004 10:54 schrieb Lukas Schrangl:

Quoted 11 lines

Hi!

I've been trying to get S4 working for several weeks now using kernel 2.6.4 and it still does not work.
Going to sleep with "echo -n 4 > /proc/acpi/sleep" works - but i get some APIC error (don't know exactly - can't read that fast). When powering on again it first start normal, but then there is an endless loop displaying "Bad: Scheduling while atomic!" and a call trace again and again very fast. I can only hard- poweroff my computer. Disabling local APIC does not help.

Quoted 6 lines

S3 does not wake up either (fan and hd spin up and then silence). Once, with minimal kernel configuration I managed to get a picture again on the screen, showing the same "Bad: Scheduling while atomic!" thing.

Maybe someone can help me getting S4 working!
Lukas

I forgot:
ALi M1533 Chipset
ATI IGP 320M Northbridge
Ahlon XP 2500+ Northbridge
SuSE 9.0
Kernel 2.6.4

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

Lukas

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw
Quoted 8 lines · Lukas Schrangl

Am Mittwoch, 31. März 2004 15:59 schrieb Tomasz Ciolek:

Quoted 5 lines

I get the same error with suspend to disk on a Fujitsu P2120. Ali 1535 chipset is the common bit...

Whats the network card you use?

Broadcom BCM 4401

i need to unload bcm4400 before suspend (swsusp, ACPI S4) and reinsert after resume, otherwise resume fails. Maybe the same is true for S3.

Signature · 9 lines
Stefan Seyfried



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

A message that is not in the archive (sent off-list or not yet received): 20040401150739.GC8091-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org

#10 lore raw

Am Donnerstag, 1. April 2004 17:07 schrieb Stefan Seyfried:

Quoted 11 lines · Lukas Schrangl
Quoted 7 lines

Am Mittwoch, 31. März 2004 15:59 schrieb Tomasz Ciolek:

Quoted 4 lines

I get the same error with suspend to disk on a Fujitsu P2120. Ali 1535 chipset is the common bit...

Whats the network card you use?

Broadcom BCM 4401

i need to unload bcm4400 before suspend (swsusp, ACPI S4) and reinsert after resume, otherwise resume fails. Maybe the same is true for S3.

The problem was enabling both preemptible kernel and MCE. Using only one of them everything works, even if b44 is inserted and Local APIC enabled. Only usb makes problems:
On wakeup I get something like
"Badness in usb/hcd/....c"
and a call trace. Will try to resolve that problem (maybe unloading usbmodules works, haven't had time to try yet).
After resume, I am not able to use usb anymore (even unloading/realoading doesn't work).
And ACPI- poweroff does not work anymore. When shutting down I can read:
"The system will be haltet immediately.
acpi_power_off called"
or something the like, but no nothing happens; i poweroff manually. On "normal" shutdowns (when not having resumed from S4) I don't get the msg "acpi_power_off called" and it powers off.
Should I write a bug report because of the preempt/MCE problem and/or the APIC error which seems not to have any influence?

Lukas

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click

#11 lore raw
In reply to a message not in the archive

Hi!

Quoted 8 lines

I've been trying to get S4 working for several weeks now using kernel 2.6.4 and it still does not work.
Going to sleep with "echo -n 4 > /proc/acpi/sleep" works - but i get some APIC error (don't know exactly - can't read that fast).
When powering on again it first start normal, but then there is an endless loop displaying "Bad: Scheduling while atomic!" and a call trace again and again very fast. I can only hard- poweroff my computer.
Disabling local APIC does not help.

Trun off APIC in kernel config and try without that broadcom network card.
Pavel

Signature · 9 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click