Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 07:26:11 +1200
From:      Andrew Thompson <andy@fud.org.nz>
To:        Nate Lawson <nate@root.org>
Cc:        current@freebsd.org
Subject:   Re: ACPI and a Toshiba Tecra 8000
Message-ID:  <3F6763D3.8010007@fud.org.nz>
In-Reply-To: <20030916115255.A9706@root.org>
References:  <20030916115255.A9706@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F6763D3.8010007>