From owner-freebsd-current@FreeBSD.ORG Fri Sep 19 15:26:34 2003 Return-Path: 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 D817916A4B3 for ; Fri, 19 Sep 2003 15:26:34 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id F092943FEC for ; Fri, 19 Sep 2003 15:26:31 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 24259 invoked by uid 1000); 19 Sep 2003 22:26:33 -0000 Date: Fri, 19 Sep 2003 15:26:33 -0700 (PDT) From: Nate Lawson To: Andrew Thompson In-Reply-To: <03Sep16.233331nzst.336012@homer.fire.org.nz> Message-ID: <20030919152455.K23391@root.org> References: <20030916115255.A9706@root.org> <3F6763D3.8010007@fud.org.nz> <20030916122545.V9796@root.org> <03Sep16.233331nzst.336012@homer.fire.org.nz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: ACPI and a Toshiba Tecra 8000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2003 22:26:35 -0000 On Wed, 17 Sep 2003, Andrew Thompson wrote: > Nate Lawson wrote: > > On Wed, 17 Sep 2003, Andrew Thompson wrote: > > > >>111 sc_cur_scr = sc->cur_scp->index; > > > > For a temporary workaround, try changing line 111 to: > > if (sc->cur_scp == NULL) > > return (0); > > > > This may not help things though. > > It has helped and the laptop is able to suspend with the serial cable > attached (further than before). It now panics on the first resume with > the following (gdb output at bottom). > > I think the serial cable is masking the problem as without it I can > suspend/resume once and it only panics on the second resume. I guess I > need the serail working to see that panic anyway. You should do a quick grep through sys/dev/syscons for "= sc->cur_scp->index" and replace them all with the above NULL check. I'm interested if this will fix things. -Nate