Re: [BETA7-panic] sodealloc(): so_count 1

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Wed, 6 Oct 2004 20:06:44 -0500
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_at_allantgroup.com
Received on Wed Oct 06 2004 - 23:06:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC