From owner-freebsd-acpi@FreeBSD.ORG Thu Jul 3 10:12:41 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9699D106567E for ; Thu, 3 Jul 2008 10:12:41 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6B58FC1D for ; Thu, 3 Jul 2008 10:12:41 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from zmori.markir.net (121-73-160-103.dsl.telstraclear.net [121.73.160.103]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0K3F003BTDNFXV00@smtp5.clear.net.nz>; Thu, 03 Jul 2008 22:11:45 +1200 (NZST) Date: Thu, 03 Jul 2008 22:11:21 +1200 From: Mark Kirkwood In-reply-to: <20080702215234.GB1790@phi.local> To: Rui Paulo Message-id: <486CA5C9.8030401@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <486B9B56.3050609@aixmarseille.com> <20080702215234.GB1790@phi.local> User-Agent: Thunderbird 2.0.0.14 (X11/20080601) Cc: freebsd-acpi@FreeBSD.org Subject: Re: Dell ACPI & S3 resume problems. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 10:12:41 -0000 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