Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 1996 01:21:26 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   2.2 release cycle: userconfig problem
Message-ID:  <199611040021.BAA01274@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
While installing my pre-release of 2.2, i've just got a panic when
finishing UserConfig.  Are there any experts for UserConfig around?

static void
savelist(DEV_LIST *list, int active)
{
    struct isa_device	*id_p,*id_pn;

    while (list)
    {
	if ((list->comment == DEV_DEVICE) && list->changed)
	{
	    setdev(list,active);			/* set the device itself */

	    id_pn = NULL;
	    for (id_p=isa_devlist; id_p; id_p=id_p->id_next) 
	    {						/* look on the list for it */
		if (id_p->id_id == list->device->id_id)
		                   ^^^^^^^^^^^^^^^^^^^

The panic was due to a NULL pointer dereference at the marked spot.
I'm not sure which of my actions in UserConfig were responsible for
this error (right now, my next attempt is flying).  Maybe there was
a problem that there was no BIOS-detected disk previously?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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