Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 20:06:44 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Vlad <marchenko@gmail.com>
Cc:        Marc UBM Bocklet <ubm@u-boot-man.de>
Subject:   Re: [BETA7-panic] sodealloc(): so_count 1
Message-ID:  <20041007010644.GG3848@dan.emsphone.com>
In-Reply-To: <cd70c6810410061637471b9c9c@mail.gmail.com>
References:  <cd70c68104100517074a5cebf2@mail.gmail.com> <20041006090104.06710d85.ubm@u-boot-man.de> <20041006154137.GJ47017@green.homeunix.org> <20041006203220.7f8e7b8a.ubm@u-boot-man.de> <20041006192518.GM47017@green.homeunix.org> <cd70c681041006125527e69bcd@mail.gmail.com> <20041006202143.GA3848@dan.emsphone.com> <cd70c68104100614533d3237e6@mail.gmail.com> <20041006220430.GD3848@dan.emsphone.com> <cd70c6810410061637471b9c9c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 06), Vlad said:
> little problem after your patch has been applied:
> 
> /usr/src/sys/i386/i386/dump_machdep.c: In function `dump_write':
> /usr/src/sys/i386/i386/dump_machdep.c:122: warning: passing arg 3 of
> pointer to function makes
>  integer from pointer without a cast
> *** Error code 1
> 
> line 122 is
>         rv = di->dumper(di->priv, ptr, NULL, dumplo, len);

Change that NULL to a 0.   My source tree didn't have it but the
patchfile on the web site did; I must have edited the patch directly
for some reason I have since forgotten.
 
> also, would you tell how to configure it to gzip data after I'll get
> it comlied?  there will be sysctl parameter to set?

set kern.crashdump.gzip=1 someplace.  /etc/sysctl.conf is where I put
it.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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