problema com distcc
Seguinte,
Depois que fiz o upgrade para o SID no meu laptop, o distcc está travando e não consigo identificar a causa. Durante a compilação de um kernel ele simplesmente trava, como pode ser visto na descrição que segue abaixo. Alguem tem alguma idéia ou está passando pelo mesmo problema?
Agradeço desde já! ;)
O processo de instalação foi feito com o script:
#!/bin/bash
#install distcc
apt-get install distcc
apt-get install distccmon-gnome
#configure distcc
echo 'STARTDISTCC="true"'>/etc/default/distcc
echo 'ALLOWEDNETS="172.18.216.0/24"'>>/etc/default/distcc
echo 'LISTENER="
0.0.0.0"'>>/etc/default/distcc
#distcc executable
mkdir -p /usr/local/distcc/bin
cd /usr/local/distcc/bin
ln -s /usr/bin/distcc c++
ln -s /usr/bin/distcc cc
ln -s /usr/bin/distcc g++
ln -s /usr/bin/distcc gcc
#exporting distcc
echo 'CONCURRENCY_LEVEL=40' >> ~/.bashrc
echo 'DISTCC_HOSTS="172.18.216.220/8 localhost"' >> ~/.bashrc
echo 'PATH="/usr/local/distcc/bin:${PATH}"' >> ~/.bashrc
echo 'export CONCURRENCY_LEVEL DISTCC_HOSTS PATH' >> ~/.bashrc
source ~/.bashrc
echo 'HAPPY COMPILATION!!! ass:keppler '
Executando a compilação do kernel:
alecrim@alecrim
~/kernel/tree/linux-2.6.20 $ distccmon-text 2 &
[1] 8565
alecrim@alecrim ~/kernel/tree/linux-2.6.20 $ make clean && make -j8
CLEAN .tmp_versions
CHK include/linux/version.h
CHK include/linux/utsrelease.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CC arch/i386/kernel/asm-offsets.s
CC scripts/mod/empty.o
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/mod/modpost.o
18685 Blocked [0]
18674 Preprocess asm-offsets.c 172.18.216.220[0]
18721 Preprocess sumversion.c 172.18.216.220[1]
18724 Preprocess modpost.c
172.18.216.220[2]
18717 Compile file2alias.c localhost[0]
18686 Compile conmakehash.c localhost[1]
18674 Preprocess asm-offsets.c
172.18.216.220[0]
18721 Preprocess sumversion.c 172.18.216.220[1]
18724 Preprocess modpost.c 172.18.216.220[2]
18674 Preprocess
asm-offsets.c 172.18.216.220[0]
18721 Preprocess sumversion.c 172.18.216.220[1]
18724 Preprocess modpost.c 172.18.216.220[2]
18674 Preprocess asm-offsets.c 172.18.216.220[0]
18721 Preprocess sumversion.c 172.18.216.220[1]
18724 Preprocess modpost.c
172.18.216.220[2]
18674 Preprocess asm-offsets.c 172.18.216.220[0]
18721 Preprocess sumversion.c 172.18.216.220[1]
18724 Preprocess modpost.c
172.18.216.220[2]
18674 Preprocess asm-offsets.c 172.18.216.220[0]
18721 Preprocess sumversion.c 172.18.216.220[1]
18724 Preprocess modpost.c
172.18.216.220[2]
...
Mensagens de log do sistema ---->
localhost ---->
==> /var/log/distccd.log <==
distccd[15847] (dcc_log_daemon_started) preforking daemon started (2.18.3
i486-pc-linux-gnu, built Jan 27 2007 22:08:44)
==> /var/log/syslog <==
Jul 20 10:03:03 alecrim kernel: DMA write timed out
==> /var/log/distccd.log <==
distccd[15847] (dcc_daemon_terminate) Terminated
distccd[15847] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[17847] (dcc_setup_daemon_path) daemon's PATH is /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
distccd[17847] (dcc_listen_by_addr) listening on 0.0.0.0:3632
distccd[17847] (dcc_standalone_server) 1 CPU online on this server
distccd[17847] (dcc_standalone_server) allowing up to 3 active jobs
distccd[17848] (dcc_log_daemon_started) preforking daemon started (2.18.3 i486-pc-linux-gnu, built Jan 27 2007 22:08:44)
220 ---->
sudo tail -n1 -f /var/log/distccd.log /var/log/syslog
==> /var/log/distccd.log <==
distccd[27430] (dcc_r_file_timed) 217881 bytes received in 3.467449s, rate 61kB/s
==> /var/log/syslog <==
Jul 20 09:57:28 senna distccd[27330]: (dcc_daemon_terminate) Terminated
==> /var/log/distccd.log <==
distccd[27429] (dcc_daemon_terminate) Terminated
distccd[27429] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[27446] (dcc_setup_daemon_path) daemon's PATH is /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
distccd[27446] (dcc_listen_by_addr) listening on 0.0.0.0:3632
distccd[27446] (dcc_standalone_server) 2 CPUs online on this server
distccd[27446] (dcc_standalone_server) allowing up to 4 active jobs
distccd[27447] (dcc_log_daemon_started) preforking daemon started (2.18.3 i486-pc-linux-gnu, built Jan 27 2007 22:08:44)
distccd[27448] (dcc_check_client) connection from
172.18.216.44:33806
distccd[27448] compile from asm-offsets.c to asm-offsets.s
distccd[27449] (dcc_check_client) connection from
172.18.216.44:33808
distccd[27449] compile from modpost.c
to modpost.o
distccd[27450] (dcc_check_client) connection from 172.18.216.44:33807
distccd[27450] compile from
sumversion.c to sumversion.o
--
--
Francisco Keppler Silva Alecrim
INdT - OSMRC http://franciscoalecrim.blogspot.com/
Reply to: