Re: [CFT] SMP/i386 suspend/resume

From: Gustau Perez <gperez_at_entel.upc.edu>
Date: Sun, 13 May 2012 20:21:05 +0200
Enviat des del meu iTotxo

El 13/05/2012, a les 16:40, Mitsuru IWASAKI <iwasaki_at_jp.FreeBSD.org> va escriure:
> Hi, Thanks for your report.
> 
> From: Gustau PĂ©rez i Querol <gperez_at_entel.upc.edu>
> Subject: Re: [CFT] SMP/i386 suspend/resume
> Date: Sun, 13 May 2012 09:57:33 +0200
> Message-ID: <4FAF696D.3060806_at_entel.upc.edu>
> 
>> Al 11/05/2012 04:10, En/na Mitsuru IWASAKI ha escrit:
>>> Hi
>>> 
>>> I've been working on suspend/resume for SMP/i386 for a week
>>> and created patches against CURRENT, RELENG_9 and RELENG_8
>>> available at:
>>> 
>>> http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-CURRENT-20120511.diff
>>> http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_9-20120511.diff
>>> http://people.freebsd.org/~iwasaki/acpi/i386-SMP-suspend-RELENG_8-20120511.diff
>>> 
>>> A lot of portion of the patches was ported from amd64.
>>> Testing on Thinkpad X60 (Core Duo T2300), so far so good :)
>>> 
>>> I'll commit them against CURRENT hopefully next week.
>>> 
>> 
>>   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?

   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 :(

  Thanks

   Gus

   






> 
> Thanks
> 
>> 
>>    Thanks
>> 
>> 
Received on Sun May 13 2012 - 16:21:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC