From owner-freebsd-acpi@FreeBSD.ORG Wed Mar 2 16:55:08 2005 Return-Path: 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 EA0B616A4CE; Wed, 2 Mar 2005 16:55:08 +0000 (GMT) Received: from ms001msg.fastwebnet.it (ms001msg.fastwebnet.it [213.140.2.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9312743D1F; Wed, 2 Mar 2005 16:55:08 +0000 (GMT) (envelope-from filippo@portatile.fastwebnet.it) Received: from portatile (1.255.90.62) by ms001msg.fastwebnet.it (7.2.052.3) id 41FFB4A2006FD89F; Wed, 2 Mar 2005 17:55:07 +0100 Received: from portatile.fastwebnet.it (localhost [127.0.0.1]) by portatile (Postfix) with ESMTP id D0695B868; Wed, 2 Mar 2005 17:55:16 +0100 (CET) Received: (from filippo@localhost) by portatile.fastwebnet.it (8.13.1/8.13.1/Submit) id j22GtGOx000759; Wed, 2 Mar 2005 17:55:16 +0100 (CET) (envelope-from filippo) Date: Wed, 2 Mar 2005 17:55:16 +0100 From: Filippo Forti To: Nate Lawson Message-ID: <20050302165516.GB674@portatile.fastwebnet.it> Mail-Followup-To: Nate Lawson , freebsd-current@freebsd.org, freebsd-acpi@freebsd.org References: <20050301203005.GA684@portatile.fastwebnet.it> <20050301203732.GB684@portatile.fastwebnet.it> <4224F88E.8080205@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4224F88E.8080205@root.org> User-Agent: Mutt/1.5.6i cc: freebsd-acpi@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: Panic on suspend X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: filippo.forti@fastwebnet.it List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 16:55:09 -0000 On Tue, Mar 01, 2005 at 03:19:42PM -0800, Nate Lawson wrote: > Filippo Forti wrote: > >I got a fully reproduceable panic while trying to suspend (to S3) on my > >laptop. > >FreeBSD is -CURRENT from Monday. > > > >I'm using a modified DSDT which used to work before I updated on Monday. > >dmesg from after reboot is attacched. > > > >Here comes gbd output > > > >Fatal trap 12: page fault while in vm86 mode > >fault virtual address = 0x2000 > >fault code = user write, page not present > >instruction pointer = 0xc000:0x5195 > ^^^^^^^ > Unfortunately this doesn't make the trick Thanks anyway > That is in the VGA BIOS. Try setting this sysctl before suspending: > > hw.acpi.reset_video=0 > > >stack pointer = 0x0:0xfe4 > >frame pointer = 0x0:0x0 > >code segment = base 0x600005, limit 0x2, type 0x11 > > = DPL 1, pres 0, def32 0, > > gran 0 > >processor eflag = interrupt enabled, resume, mv86, > >IOPL = 0 > >current process = 1046 (acpiconf) > >[thread pid 1046 tid 100084] > >Stopped at 0x5159: *** error reading from address 5159 *** > > Ian committed code to restore the VESA state so we shouldn't reset video > redundantly. I'm thinking of changing the default to 0 in -current. > > -- > Nate Filippo