kernel module parallel build?

2012-10-21 Thread Andre Oppermann
What's keeping kernel modules from building in parallel with "make -j8"? -- Andre ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebs

Re: -lpthread vs -pthread: does -D_REENTRANT matter?

2012-10-21 Thread Jilles Tjoelker
On Sun, Oct 14, 2012 at 04:55:07PM -0400, Eitan Adler wrote: > On 14 October 2012 10:42, Jilles Tjoelker wrote: > > Because C99 does not specify threading, it allows these transformations. > > In C11, they are forbidden. Passing -pthread disables them as well. > Is the man page wrong or do I mis

VIMAGE crashes on 9.x with hotplug net80211 devices

2012-10-21 Thread Adrian Chadd
Hi all, I have some crashes in the VIMAGE code on releng_9. Specifically, when I enable VIMAGE and then hotplug some cardbus ath(4) NICs. The panics are dereferencing the V_ ifindex and related fields. If I start adding CURVNET_SET(vnet0) and CURVNET_RESTORE() around the ifnet calls (attach, det

Re: VIMAGE crashes on 9.x with hotplug net80211 devices

2012-10-21 Thread Marko Zec
On Sunday 21 October 2012 21:04:41 Adrian Chadd wrote: > Hi all, > > I have some crashes in the VIMAGE code on releng_9. Specifically, when > I enable VIMAGE and then hotplug some cardbus ath(4) NICs. > > The panics are dereferencing the V_ ifindex and related fields. > > If I start adding CURVNET_

Re: VIMAGE crashes on 9.x with hotplug net80211 devices

2012-10-21 Thread Adrian Chadd
On 21 October 2012 12:36, Marko Zec wrote: > The right approach would be to do a single CURVNET_SET(vnet0) / > CURVNET_RESTORE() somewhere near the root of the call graph being triggered > by the hotplug attach event. Not having any hotpluggable hardware at hand > I cannot be more specific where

Re: VIMAGE crashes on 9.x with hotplug net80211 devices

2012-10-21 Thread Marko Zec
On Sunday 21 October 2012 21:50:21 Adrian Chadd wrote: > On 21 October 2012 12:36, Marko Zec wrote: > > The right approach would be to do a single CURVNET_SET(vnet0) / > > CURVNET_RESTORE() somewhere near the root of the call graph being > > triggered by the hotplug attach event. Not having any h

Re: VIMAGE crashes on 9.x with hotplug net80211 devices

2012-10-21 Thread Adrian Chadd
On 21 October 2012 14:22, Marko Zec wrote: >> Right; would that be at the net80211 side, or something higher up (eg >> at device_attach, which gets called from the cardbus/pci bridge >> enumeration code.) > > As high as it gets - if you get lucky, as a side effect you might even fix > similar iss