Re: init scripts problems ?

denis bonnenfant <[email protected]> Mon, 05 Dec 2005 15:13:10 +0100
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Peter T. Breuer wrote:
> "Also sprach ptb:"
> 
>>I may be able to up the openers count to avoid this, but it isn't very
>>clear.  I'll have to locate and study the kernel code responsible.
>>Sigh.

> I should probably raise the openers count by an extra one on the first 
> client daemon claiming the socket, for the very first time. I guess
> I'll have to do one extra de count on module removal! Sigh sigh sigh.
> 
> Raising the openers count is clearly the thing to do.
> 
> Peter

For the moment, it works! it's not really clean, i agree.

I located the problem in FR1 :

you have to suppress lines 189 and 889
in the 2.6.12.2.xxxxxxxxxxxx patch, as
MOD_INC_USE_COUNT and MOD_DEC_USE_COUNT are not defined in these kernels.

I suppressed them, now i can compile, but there is another thing (maybe related), fr1 is crashing (kernel oops) when  bitmap support  is compiled 
inside the kernel (not as module)

compiling bitmap.ko  as module works fine.