hack for getting suspend/resume to half work on an IBM Thinkpad
freebsd at meijome.net
Thu Sep 21 17:14:37 PDT 2006
On Thu, 21 Sep 2006 08:53:52 +0100
Andrea Bittau <a.bittau at cs.ucl.ac.uk> wrote:
> On Thu, Sep 21, 2006 at 10:44:33AM +1000, Norberto Meijome wrote:
> > would the apic patch work by itself with stable? I've got a z60m (uni-core
> I think it will. Just add the lapic_resume() function in local_apic.c and
> then call it from intr_resume() in intr_machdep.c. Basically you only need
> to apply 3 hunks from my diff:
> 1) lapic_resume prototype
> 2) lapic_resume call
> 3) lapic_resume definition
> If the code works for you, I don't see why it shouldn't go in -CURRENT after
> some style fixups.
ok - i'll give it a try when i get some time. Right now, RELENG_6 is halting on
every single resume. RELENG_6_1 works fine as long as I have pmtimer built in
(otherwise the whole system crawls after a resume - and I mean literally crawls
- 5 seconds for an enter to show the next prompt., 20 minutes to restart
(usually takes 40 seconds from a completelly logged out state).
"Against logic there is no armor like ignorance."
Laurence J. Peter
I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
More information about the freebsd-mobile