[linux-laptop] RE: S3 slow resume
sdfa
slinky1776 at excite.com
Wed Oct 26 23:29:15 EDT 2005
i havent been able to find a boot parameter that disables dma in
linux/Documentation/kernel-parameters.txt, but i found this:
"ATAPI_DMA_DISABLE=YES" with google, i tried and a "hdparm /dev/hda" showed that dma was still enabled and being used. i'm not sure why disabling dma from startup would solve the problem, "hdparm -d0 /dev/hda" seems to do just fine. i'm going to try recompiling my kernel without dma support, but i dont think it will make much difference.
--- On Wed 10/26, Keith Roberts < keith at kar.eclipse.co.uk > wrote:
From: Keith Roberts [mailto: keith at kar.eclipse.co.uk]
To: slinky1776 at excite.com
Date: Wed, 26 Oct 2005 23:00:28 +0100 (BST)
Subject: Re: [linux-laptop] RE: S3 slow resume
<br>Well, I'm using a different Linux distro, but you might like <br>to try the following.<br><br>Don't use hdparm as it is not compatible with all IDE <br>drives. Check the documentation for details.<br><br>Try turning off dma via a Linux kernel paramater at boot <br>time, if your distro supports this.<br><br>Let me know if this helps!<br><br>Kind Regards - Keith<br> <br><br>On Wed, 26 Oct 2005, sdfa wrote:<br><br>> To: linux-laptop at mobilix.org<br>> From: sdfa <slinky1776 at excite.com><br>> Subject: [linux-laptop] RE: S3 slow resume<br>> <br>> <br>> i've tried turning dma off with "hdparm -d 0 /dev/hda" and then sleeping/resuming with the same results. i've also read that enabling "Use multi-mode by default" in my kernel would fix errors like the ones reported, but it hasn't worked for me.<br>> <br>> <br>> <br>> --- On Tue 10/25, sdfa < slinky1776 at excite.com > wrote:<br>> <br>> From: sdfa [mailto: slinky1776 at excite.com]<br>> <br>> To: linux-laptop at mobilix.org<br>> <br>> Date:
Tue, 25 Oct 2005 16:12:28 -0400<br>> <br>> Subject: S3 slow resume<br>> <br>> <br>> <br>> i've got a sony vaio with slackware 10.2 and a 2.6.13.4 kernel on it. i've been pretty successful getting S4 to work but i've had a few issues resuming from S3. Basically, this is what happens when i do an "echo mem > /sys/power/state": it goes into sleep mode: my power indicator light starts slowly blinking red(i guess that means it's asleep, i think it did this with standby in windows, too).<br><br>without the acpi_sleep=bios_s3 parmaeter, when i hit a key, the light turns green(like it's back on) but the screen doesn't come back. with the parameter it resumes like this:<br>[code]<br>inu<br><br><br>Back to C!<br>ipw2200 error -22<br>ACPI: PCI Interrupt 0000:00:02.0<br>...<br>[/code]<br>is that normal? the "inu" and "back to c!" stuff seem kinda wierd. after this wakeup stuff(about 30 seconds), i get a prompt and anything i enter in it just kinda ... does nothing. so its
like:<br>[code]<br>root at slink:~# ls <return><br><blank line> <return><br><blank line> <return><br><blan<br> k <br>> line> <return><br><blank line> <return><br><blank line> <return><br>asdfdsaf<br>wtf ??????<br><blank line> <return><br><blank line> <return><br><blank line> <return><br>[/code]<br>its as if i'm in a program that has crashed and i cant break out of it. at this point i still have keyboard control, etc. but i cant ctrl+alt+del to reboot and i cant actually do anything. after about 2 minutes of this, i hear a little whir(the hd spin up maybe?) and everything works(successful suspend/resume) but that's way too long, i could have used S4 and resumed faster than that. is there anything i can do to speed up my resume from S3?<br><br>_______________________________________________<br>Join Excite! - http://www.excite.com<br>The most personalized portal on the Web!<br><br><br>> <br>> _______________________________________________<br>> Join Excite! -
http://www.excite.com<br>> The most personalized portal on the Web!<br>> <br>> <br>> /* -----------------------------------------------------<br>> http://Xtops.DE/ Laptops and PDAs with Linux (Germany)<br>> -------------------------------------------- adv. ---- */<br>> <br>> You may manage this list at http://tuxmobil.org/mobilix_ml.html<br>> <br>
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
More information about the linux-laptop
mailing list