[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Semi-working patch for amd64 suspend/resume
- To: Ian Smith <smithi_(_at_)_nimnet_(_dot_)_asn_(_dot_)_au>
- Subject: Re: Semi-working patch for amd64 suspend/resume
- From: Alexander Motin <mav_(_at_)_FreeBSD_(_dot_)_org>
- Date: Mon, 01 Dec 2008 19:19:32 +0200
- Cc: peter_(_at_)_freebsd_(_dot_)_org, freebsd-acpi_(_at_)_freebsd_(_dot_)_org, freebsd-amd64_(_at_)_freebsd_(_dot_)_org
Ian Smith wrote:
On Mon, 1 Dec 2008, Alexander Motin wrote:
> Alexander Motin wrote:
> > As result, I have found, that if I am inserting:
> > qqq:
> > jmp qqq
> > lines before line 98 of acpi_switch.S:
> > movl $MSR_MTRRdefType, %ecx
> > movl WAKEUP_CTX(mtrr), %eax
> > wrmsr
> > system hangs, but if I insert it just after them - system reboots.
> > With just commenting this three lines I was able to get successful
> > suspend/resume with UP amd64 kernel!!!
> > Here is problems I still have now:
> > - SMP kernel resume is not working, system reboots while doing
> > acpi_wakeup_cpus();
> > - SATA controller does not resumes correctly, it dies for some reason,
> > reporting timeouts on any request;
> This one is not a problem anymore. Seems to be fixed.
> > - text mode video does not restores on resume, while Xorg graphic one
> > does. hw.acpi.reset_video=1 does not help, it just hanging resume process.
Longshot: hw.syscons.sc_no_suspend_vtswitch=1 fixes similar symptoms on
two (older, i386 and UP) laptops here. Some folks have reported needing
to have VESA loaded to get text mode video back up. Maybe worth a try?
vtswitch does not help and vesa generally does not working under amd64.
freebsd-amd64_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-amd64-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org