Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jul 2008 17:48:35 +0200
From:      Olivier Fauchon <olivier@aixmarseille.com>
To:        Mark Kirkwood <markir@paradise.net.nz>
Cc:        freebsd-acpi@FreeBSD.org, Rui Paulo <rpaulo@FreeBSD.org>
Subject:   Re: Dell ACPI & S3 resume problems.
Message-ID:  <486CF4D3.8020706@aixmarseille.com>
In-Reply-To: <486CA5C9.8030401@paradise.net.nz>
References:  <486B9B56.3050609@aixmarseille.com> <20080702215234.GB1790@phi.local> <486CA5C9.8030401@paradise.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Kirkwood wrote:
> Rui Paulo wrote:
>> On Wed, Jul 02, 2008 at 05:14:30PM +0200, Olivier Fauchon wrote:
>>  
>>> Hi,
>>>
>>> When I try to resume from S3 on my DELL Latitude D430 by pressing 
>>> power button, the laptop reboots.
>>>
>>> I tried the same test with a Knoppix Live CD, and It passes (Laptop 
>>> revives although LCD is buggy).
>>> But I could type "shutdown -r now" blindly, to confirm it wakes up 
>>> properly.
>>>
>>> Now I need help to find out the differences between FREEBSD and 
>>> LINUX which makes resume fail.
>>>
>>> You'll find here all collected informations:
>>>
>>> * Verbose Booting with FreeBSD7  
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/boot_verbose_d430_FB7.log 
>>>
>>> * Booting with Knoppix dmesg  
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/dmesg_knoppix_d430.log
>>> * Dell LAtitude D430 original ASL: 
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/dell-d430.orig.asl
>>> * Patched ASL (which only correct a LID and warning problems) 
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/dell-d430.patched.asl
>>> * Kernel configuration : 
>>> http://www.aixmarseille.com/pub/acpi_fb7_casino/kern_conf_CASINO.txt
>>> * lspci : http://www.aixmarseille.com/pub/acpi_fb7_casino/lpsci.txt
>>>
>>> Can someone explains me what are the main steps of a resume, so I 
>>> can try to troubleshoot further.
>>>     
>>
>> Well, your best bet is to disable every driver and make them modules. 
>> Boot
>> with the bare minimum necessary for input/output and in single user 
>> mode.
>> Try suspend and resume in single user mode. If that works, the 
>> problem, most likely lies in the drivers.
>>
>> Try enabling one driver at a time, and retest suspend/resume. This way
>> you can find the problematic driver, if any.
>>
>> Also, try changing the hw.acpi sysctls, namely reset_video.
>>
>> HTH,
>>   
>
> From your dmesg it looks like you are running both cores (i.e smp 
> kernel). Try disabling one core via kern.smp.disabled=1 in loader.conf 
> (some laptops will not suspend properly with both cores running).
>
> Cheers
>
> Mark

Perfect.... That works !

I 'm actualy running a SMP kernel (CoreDuo CPU) with one disabled core 
(with BIOS). This was not enough.

"kern.smp.disabled=1" corrects the problem.

I'm now able to resume under Xorg, in multiuser mode. I'm lucky.
 

THX !




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486CF4D3.8020706>