[CFT] SIFTR - Statistical Information For TCP Research: Uncle Lawrence needs YOU!

Rui Paulo rpaulo at lavabit.com
Sun Jun 20 19:44:09 UTC 2010


On 20 Jun 2010, at 20:36, Fabian Keil wrote:

> Fabian Keil <freebsd-listen at fabiankeil.de> wrote:
> 
>> Fabian Keil <freebsd-listen at fabiankeil.de> wrote:
> 
>>> My custom kernel normally doesn't have INVARIANTS and WITNESS
>>> enabled, so I'll try to enable them next.
>> 
>> The culprit seem to be non-default KTR settings in the kernel
>> while loading alq as a module.
> 
> Actually whether or not alq is loaded as a module doesn't
> seem to matter, with:
> 
> options		KTR
> options		KTR_ENTRIES=262144
> options		KTR_COMPILE=(KTR_SCHED)
> options		KTR_MASK=(KTR_SCHED)
> options		KTR_CPUMASK=0x3
> options		ALQ
> options		KTR_ALQ
> 
> enabling siftr panics the system, too.

That's probably because your module was built with different compile time options than the ones used in the kernel. These options may change structure sizes, function parameters, etc. and that easily causes panics.

Regards,
--
Rui Paulo




More information about the freebsd-current mailing list