public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* S3 resume on Fujitsu-Siemens Amilo A7620 (CONTINUES)
@ 2004-10-18 11:42 Alberto Piai
       [not found] ` <20041018134238.4cf1b380.albeclemit-whZMOeQn8C0@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Alberto Piai @ 2004-10-18 11:42 UTC (permalink / raw)
  To: pavel-+ZI9xUNit7I
  Cc: HIROIT-JE5g2YyFxFHQT0dZR+AlfA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	shaohua.li-ral2JQCrhuEAvxtiuMwx3w,
	len.brown-ral2JQCrhuEAvxtiuMwx3w


Please refer to threads "ACPI S3 resume only reboots" and "[PATCH] GDT table patch for resume only reboots problem" for history on this thread. I moved to a new one because was becoming hard to follow.

Properly using beeping code by Pavel I was able to follow the code after
	wakeup_pmode_return:
		movw	$__KERNEL_DS, %ax
		movw	%ax, %ss
and verified that it doesn't hang at that point.

Wakeup works until:
[...]
# and restore the stack ... but you need gdt for this to work
	movl	saved_context_esp, %esp

	movl	%cs:saved_magic, %eax
	cmpl	$0x12345678, %eax
	jne	bogus_magic

	# jump to place where we left off
	movl	saved_eip,%eax
	jmp	*%eax		###BEFORE THE JMP IT'S STILL ALIVE!
[...]

If i let it enter the jmp, it hangs. How can i follow that jump? Does that mean that we're going out of wakeup.S, finally? That would be a progress.

Current situation is:
with wakeup_addr.patch, wakeup_gdt.patch and 
	movl  %cr0, %eax
	andl  $0xfffffff0, %eax # TS/EM/MP bit off	
	movl  %eax, %cr0
placed at the beginning of wakeup code as suggest by Hiroshi 2 Itoh
the laptop still doesn't survive pushl $0, that causes reboot.
Commenting out pushl $0 and popfl it goes on until the point reported above.

Thanks,
Alberto










-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-10-27 23:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18 11:42 S3 resume on Fujitsu-Siemens Amilo A7620 (CONTINUES) Alberto Piai
     [not found] ` <20041018134238.4cf1b380.albeclemit-whZMOeQn8C0@public.gmane.org>
2004-10-18 12:47   ` Pavel Machek
     [not found]     ` <20041018124756.GA28463-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-10-18 20:54       ` Alberto Piai
     [not found]         ` <20041018225412.397dcd1f.albeclemit-whZMOeQn8C0@public.gmane.org>
2004-10-18 21:22           ` Pavel Machek
     [not found]             ` <20041018212208.GA10490-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-10-18 22:21               ` Alberto Piai
     [not found]                 ` <20041019002115.2faa9436.albeclemit-whZMOeQn8C0@public.gmane.org>
2004-10-18 23:00                   ` Pavel Machek
     [not found]                     ` <20041018230008.GC10490-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-10-27 22:44                       ` Alberto Piai
     [not found]                         ` <20041028004424.1b0f95fb.albeclemit-whZMOeQn8C0@public.gmane.org>
2004-10-27 23:47                           ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox