From owner-freebsd-current@FreeBSD.ORG Tue Sep 16 12:22:39 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 B8AC216A4B3 for ; Tue, 16 Sep 2003 12:22:39 -0700 (PDT) Received: from smtp.fud.org.nz (203-79-110-29.cable.paradise.net.nz [203.79.110.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3842743F93 for ; Tue, 16 Sep 2003 12:22:36 -0700 (PDT) (envelope-from andy@fud.org.nz) Received: from localhost (localhost [127.0.0.1]) by smtp.fud.org.nz (Postfix) with ESMTP id EE7F15C3B; Wed, 17 Sep 2003 07:22:34 +1200 (NZST) Received: from smtp.fud.org.nz ([127.0.0.1]) by localhost (grace.fud.org.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87363-08; Wed, 17 Sep 2003 07:22:34 +1200 (NZST) Received: from fud.org.nz (sambo.fud.org.nz [192.168.10.100]) by smtp.fud.org.nz (Postfix) with ESMTP id 7A46A5C39; Wed, 17 Sep 2003 07:22:34 +1200 (NZST) Message-ID: <3F6763D3.8010007@fud.org.nz> Date: Wed, 17 Sep 2003 07:26:11 +1200 From: Andrew Thompson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20030910 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <20030916115255.A9706@root.org> In-Reply-To: <20030916115255.A9706@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at fud.org.nz 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: Tue, 16 Sep 2003 19:22:39 -0000 Nate Lawson wrote: >Please compile your kernel with debug symbols (config -g KERNEL) and load >it into gdb to get the actual line of code that is getting that NULL >deref: > > gdb kernel.debug > l *scsuspend+0x17 > >That should show the offending code segment. > > > Hopefully I have done this right :) (gdb) l *scsuspend+0x17 0xc03d7b17 is in scsuspend (/usr/src/sys/isa/syscons_isa.c:111). 106 int retry = 10; 107 static int dummy; 108 sc_softc_t *sc; 109 110 sc = &main_softc; 111 sc_cur_scr = sc->cur_scp->index; 112 113 if (sc_no_suspend_vtswitch) 114 return (0); 115 (gdb) Andy