Subject: Re: i386 MP panic: amap_pp_adjref: negative reference count
To: Stephan Thesing <>
From: Andrew Brown <>
List: current-users
Date: 12/16/2002 18:48:21
>> I'm getting that panic (amap_pp_adjref: negative reference count) when
>> building openoffice. It seems to be repeatable. I don't have ddb/trace
>> output yet (I'll post it when I get the panic next time [don't know how
>> long it actually takes]).. What other information could be useful to
>> catch the reason? Kernel is almost equal to GENERIC.MP (I'm going to compile
>> a new kernel with MPDEBUG option [DEBUG & DIAGNOSTIC are enabled already]).
>I am getting the same panic on with a uni-processor -current kernel.
>Attached are my Config, dmesg and the backtrace from the panic.
>The panic is repeatable and happens during the build in the `setup2'
>directory of openoffice...
>It seems to be caused by a munmap() call from the resource compiler rsc2,
>the pmap of that process is attached (the munmap() call tries to free 4k
>at 0x485ba000).
>If other information is needed, please drop me a note.

could you try applying

instead of the amap_pp_adjref.patch that you originally downloaded?

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."