From owner-freebsd-acpi@FreeBSD.ORG Sun Jul 3 00:38:16 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E77416A4E1; Sun, 3 Jul 2005 00:37:53 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCAE644560; Sun, 3 Jul 2005 00:22:31 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 5CFB16256D; Sat, 2 Jul 2005 17:20:15 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id C80145C9A8 for ; Thu, 3 Mar 2005 09:23:42 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id DCEDE56770; Thu, 3 Mar 2005 17:23:38 +0000 (GMT) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 4556216A4D4; Thu, 3 Mar 2005 17:23:34 +0000 (GMT) Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7E1F16A4CE; Thu, 3 Mar 2005 17:23:29 +0000 (GMT) Received: from ms005msg.fastwebnet.it (ms005msg.fastwebnet.it [213.140.2.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF8F143D5A; Thu, 3 Mar 2005 17:23:28 +0000 (GMT) (envelope-from filippo@portatile.fastwebnet.it) Received: from portatile (1.255.90.62) by ms005msg.fastwebnet.it (7.2.052.3) id 41FFB24D006AF2EA; Thu, 3 Mar 2005 18:23:27 +0100 Received: from portatile.fastwebnet.it (localhost [127.0.0.1]) by portatile (Postfix) with ESMTP id A8B74B868; Thu, 3 Mar 2005 18:23:37 +0100 (CET) Received: (from filippo@localhost) by portatile.fastwebnet.it (8.13.1/8.13.1/Submit) id j23HNauM000707; Thu, 3 Mar 2005 18:23:36 +0100 (CET) (envelope-from filippo) From: Filippo Forti To: Ian Dowse Message-ID: <20050303172334.GA674@portatile.fastwebnet.it> Mail-Followup-To: Ian Dowse , Nate Lawson , freebsd-acpi@freebsd.org, freebsd-current@freebsd.org References: <20050302165516.GB674@portatile.fastwebnet.it> <200503030132.aa82163@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503030132.aa82163@salmon.maths.tcd.ie> User-Agent: Mutt/1.5.6i X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on elvis.mu.org X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,RCVD_ILLEGAL_IP autolearn=no version=3.0.2 X-Spam-Level: Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: Panic on suspend X-BeenThere: freebsd-acpi@freebsd.org Reply-To: filippo.forti@fastwebnet.it List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 00:38:16 -0000 X-Original-Date: Thu, 3 Mar 2005 18:23:35 +0100 X-List-Received-Date: Sun, 03 Jul 2005 00:38:16 -0000 On Thu, Mar 03, 2005 at 01:32:29AM +0000, Ian Dowse wrote: > In message <20050302165516.GB674@portatile.fastwebnet.it>, Filippo Forti writes > : > >On Tue, Mar 01, 2005 at 03:19:42PM -0800, Nate Lawson wrote: > >> That is in the VGA BIOS. Try setting this sysctl before suspending: > >> > >> hw.acpi.reset_video=0 > >Unfortunately this doesn't make the trick > >Thanks anyway > > Did updating to the version 1.49 of vesa.c fix the crash for you? > There is a new patch at: > > http://people.freebsd.org/~iedowse/vesa_restore.diff > > This needs to be applied on top of version 1.49, and should hopefully > correct the behaviour when the VESA state requires more than 4k of > space. Would you be able to test that this version does not crash > for you on suspend? > Thanks, it's much better now, even if I still have a problem (the laptop reboots instead of resuming from sleep), but I'll google to find a solution > I don't fully understand why the previous version was faulting at > 0x2000, since that page should have been mapped into the VM86 address > space. However my code was definitely handling the kernel virtual > addresses incorrectly, so maybe that was causing something to be > overwritten. The updated patch allocates a contiguous virtual buffer > and then maps each page into the VM86 address space starting at > 0x1000. > > Ian Filippo _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"