[BETA7-panic] sodealloc(): so_count 1
Dan Nelson
dnelson at allantgroup.com
Wed Oct 6 18:06:46 PDT 2004
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
More information about the freebsd-current
mailing list