Just a small note: Building GHC from CVS finally works, including the
docs. Something really off-topic, but probably helpful for others:
For internal reasons I had to switch to another Linux box and suddenly
got the following message in /var/log/warn:

   Jan 20 00:01:09 marutea kernel: grow_inodes: inode-max limit reached

and the following output from `make all':

   ../../ghc/driver/ghc-inplace -O -recomp -cpp -optC-fglasgow-exts -fvia-C 
-Rghc-timing -I../../ghc/includes  -imonads -static -O -split-objs -odir Int   -H20m 
-monly-3-regs  -c Int.lhs -o Int.o -osuf o
   <<ghc: 527728668 bytes, 417 GCs, 6868434/15170340 avg/max bytes residency (9 
samples), 39M in use, 0.00 INIT (0.00 elapsed), 11.38 MUT (11.54 elapsed), 6.59 GC 
(6.69 elapsed) :ghc>>
   Assembler messages:
   FATAL: Can't create Int/Int__188.o: Cannot allocate memory

A little grep-ing through the kernel sources (2.2.10) suggested that
the kernel was running out of free inodes in its internal table. This
can be fixed (during runtime, no reboot, can you hear me, M$? :-) with:

   echo 49152 > /proc/sys/fs/inode-max

The previous value was 16384, and 32768 was not enough.

I have no idea what I am *really* doing with the above `echo' and why
16384 was enough on my previous Linux box, but it works...

Cheers,
   Sven
-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.informatik.uni-muenchen.de/~Sven.Panne

Reply via email to