Date: Sun, 17 May 2009 11:28:06 -0700 From: Julian Elischer <julian@elischer.org> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: FreeBSD virtualization mailing list <freebsd-virtualization@freebsd.org> Subject: Re: Kernel Compiled with options VIMAGE panics on boot Message-ID: <4A105736.5080505@elischer.org> In-Reply-To: <20090517144647.R72053@maildrop.int.zabbadoz.net> References: <4A06E7B0.10600@gmail.com> <200905110409.04612.zec@icir.org> <4A10222D.8080100@gmail.com> <20090517144647.R72053@maildrop.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Bjoern A. Zeeb wrote: > On Sun, 17 May 2009, Sevan / Venture37 wrote: > > Hi, > >> I've tried to compile a new kernel once again after updating src, this >> time it bombs out during the build process. >> >> http://img33.imageshack.us/img33/6164/img1064.jpg > > yes, we are aware of that one and the patch is easy and both Marko and > I have it but the commit, that introduced this compile time regression > for VIMAGE, also introduced a regression for the !VIMAGE && > !VIMAGE_GLOBALS case that we are currently trying to indentify. > > Here's the patch you want to apply (pasted in) to make things compile > again. BTW Marko is offline for 3 days. > > > Index: sys/netinet/in.c > =================================================================== > --- sys/netinet/in.c (revision 192250) > +++ sys/netinet/in.c (working copy) > @@ -814,6 +814,7 @@ > in_ifinit(struct ifnet *ifp, struct in_ifaddr *ia, struct sockaddr_in > *sin, > int scrub) > { > + INIT_VNET_NET(ifp->if_vnet); > INIT_VNET_INET(ifp->if_vnet); > register u_long i = ntohl(sin->sin_addr.s_addr); > struct sockaddr_in oldaddr; > @@ -1007,6 +1008,7 @@ > static int > in_scrubprefix(struct in_ifaddr *target) > { > + INIT_VNET_NET(curvnet); > INIT_VNET_INET(curvnet); > struct in_ifaddr *ia; > struct in_addr prefix, mask, p; > > > /bz >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A105736.5080505>