[CFT] SMP/i386 suspend/resume

Mitsuru IWASAKI iwasaki at jp.FreeBSD.org
Mon May 14 04:16:25 UTC 2012


Hi,

> >>   Reporting from an Acer Centrino Duo, running CURRENT r235266. The 
> >> machine has an nvidia card (Ge7300go). The acpi_video and nvidia modules 
> >> are there.
> >> 
> >>   I did test it a few times with X running (plain twm) and worked just 
> >> fine. Setting hw.acpi.lid_switch_state=S3 allowed me to use the 
> >> close-the-lid-to-sleep functionality.
> >> 
> >>   The problem comes when I suspend the machine in the console. The 
> >> machine resumes fine (I can ping and ssh it) but the screen remains 
> >> black. I set hw.acpi.reset_video to 0 or 1 but no go. If I'm in a 
> >> console but X is running, after the resume I can CTRL+ALT+F9 and get my 
> >> video back; then I can return to the console. If I don't have X running, 
> >> I don't know how to get my console back.
> > 
> > I think this is graphic driver problem.  nvidia's driver seems
> > to have correct suspend/resume method.
> > http://www.nvidia.com/object/freebsd_archive.html
> > 
> > Have you try it?
> 
>   Yes, it is running the propietary driver. Everything was done with it loaded. Do you want me to try without the nvidia binary driver?

Yes, if it doesn't bother you.
Hmmm, it doesn't seem related with my SMP/i386 sleep patches.
Could you try also Uni-processer kernel (w/o SMP and apic from config
file) without my patches?

>    OTOH, IIRC the console only test (without X) without acpi_video lead to freeze. No crash dump. The machine has no serial or fwire ports :(

We can improve video initialization on another opportunity.
Linux have many video hacks while we have only hw.acpi.reset_video ;)
http://www.kernel.org/doc/Documentation/power/video.txt
I believe there are some solutions for you in this document, then
we can implement them in our source if found.

Thanks


More information about the freebsd-current mailing list