Skip to contentSkip to conversation

ACPI resume fails on HP nx6125 with 64 bit kernel

DISCUSSION Matthew Garrett 3 participants 3 messages Aug 15, 2005 – Aug 16, 2005 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Attempting to resume an HP nx6125 results in the system hanging with a blank screen. Hacking serial setup code into wakeup.S so I can get serial console on resume gives me:

Back to C!
arch/x86)64/mm/init.c:146: bad pte ffff810001543f38(80000000fec01173)

and no further output. The kernel never seems to get to device resume, so I guess the error is where it's blowing up. Any ideas? It seems to be independent of how long I leave the machine suspended. (This is a 64 bit kernel)

Signature · 8 lines
Matthew Garrett | [email protected]


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
#2 lore raw
In reply to a message not in the archive

Hi!

Quoted 3 lines

Attempting to resume an HP nx6125 results in the system hanging with a blank screen. Hacking serial setup code into wakeup.S so I can get serial console on resume gives me:

Can we get copy of those hacks?

Quoted 7 lines

Back to C!
arch/x86)64/mm/init.c:146: bad pte ffff810001543f38(80000000fec01173)

and no further output. The kernel never seems to get to device resume, so I guess the error is where it's blowing up. Any ideas? It seems to be independent of how long I leave the machine suspended. (This is a 64 bit kernel)

Does it work ok 32-bit?
Pavel

Signature · 9 lines
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
#4 lore raw
In reply to a message not in the archive
Quoted 9 lines · Pavel Machek

Hi!

Quoted 3 lines

Attempting to resume an HP nx6125 results in the system hanging with a blank screen. Hacking serial setup code into wakeup.S so I can get serial console on resume gives me:

Can we get copy of those hacks?

I did create such a patch some time ago because I had the same problem. Russell King said it should work out of the box, so I'm now working together with him to get it debugged.

Regards,
Carl-Daniel

Signature · 1 line
http://www.hailfinger.org/
drivers/acpi/sleep/main.c +3 -0
diff -urp linux-2.6.11.8-orig/drivers/acpi/sleep/main.c linux-2.6.11.8/drivers/acpi/sleep/main.c
@@ -23,6 +23,7 @@ u8 sleep_states[ACPI_S_STATE_COUNT];
 
 static struct pm_ops acpi_pm_ops;
 
+extern void emerg_uart_setup(char *options);
 extern void do_suspend_lowlevel_s4bios(void);
 extern void do_suspend_lowlevel(void);
 
@@ -126,6 +127,8 @@ static int acpi_pm_enter(suspend_state_t
 	if (pm_state > PM_SUSPEND_STANDBY)
 		acpi_restore_state_mem();
 
+	emerg_uart_setup("io,0x3f8,115200n8");
+
 
 	return ACPI_SUCCESS(status) ? 0 : -EFAULT;
 }
drivers/serial/8250_early.c +29 -16

141 lines not on this page · raw message