1 |
Hi there, |
2 |
|
3 |
I've tried to emerging glibc-2.3.1-r2 many times but my machine always freezes |
4 |
when installing the locale data (the machine locks solid and I get a band of |
5 |
garbage on the display). I am using an Apple PowerBook 3400c. |
6 |
|
7 |
For the last two times that it happened, I captured the output of the script |
8 |
(see transcript 1 and 2) and noticed that the interleaving of the messages |
9 |
was non-deterministic. This led me to concluded that perhaps that was some |
10 |
sort of parallization was going on. So, on yet another run, I ssh'ed into the |
11 |
machine and captured the output of "ps -ef" a few seconds before the machine |
12 |
froze up. Transcript 3 shows the output of that command, which confirms my |
13 |
suspicions. |
14 |
|
15 |
Anyhow, I am led to believe that problem has something to do with the parallel |
16 |
make. I have two questions 1) does anyone know of a race condition that might |
17 |
cause a hard lockup in this instance, and 2) since my machine is a |
18 |
uniprocessor, what possible advantage could I gain from this parallel make? |
19 |
Is there anything I could do to turn this "feature" off? I am willing to bet |
20 |
that I would be much more successful without it, if only because it would |
21 |
stress my machine less and make it less likely to croak. |
22 |
|
23 |
Thanks, |
24 |
|
25 |
Marcio Luis Teixeira |
26 |
|
27 |
---- |
28 |
TRANSCRIPT 1 |
29 |
---- |
30 |
* Installing Locale data... |
31 |
make: Entering directory |
32 |
`/home/portage/tmp/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere' |
33 |
make -r PARALLELMFLAGS="-j2" CVSOPTS="" -C .. objdir=`pwd` |
34 |
localedata/install-locales |
35 |
make[1]: Entering directory |
36 |
`/home/portage/tmp/glibc-2.3.1-r2/work/glibc-2.3.1' |
37 |
make -j2 -C localedata install-locales |
38 |
make[2]: Entering directory |
39 |
`/home/portage/tmp/glibc-2.3.1-r2/work/glibc-2.3.1/localedata' |
40 |
.././scripts/mkinstalldirs |
41 |
/var/tmp/portage/glibc-2.3.1-r2/image//usr/lib/locale |
42 |
mkdir /var/tmp/portage/glibc-2.3.1-r2/image/usr/lib/locale |
43 |
af_ZA.ISO-8859-1ar_AE.ISO-8859-6...... done |
44 |
ar_BH.ISO-8859-6... done |
45 |
ar_DZ.ISO-8859-6... done |
46 |
ar_EG.ISO-8859-6... done |
47 |
ar_IN.UTF-8... done |
48 |
ar_IQ.ISO-8859-6... done |
49 |
done |
50 |
ar_JO.ISO-8859-6ar_KW.ISO-8859-6... |
51 |
|
52 |
---- |
53 |
TRANSCRIPT 2 |
54 |
---- |
55 |
* Installing Locale data... |
56 |
make: Entering directory |
57 |
`/home/portage/tmp/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere' |
58 |
make -r PARALLELMFLAGS="-j2" CVSOPTS="" -C .. objdir=`pwd` |
59 |
localedata/install-locales |
60 |
make[1]: Entering directory |
61 |
`/home/portage/tmp/glibc-2.3.1-r2/work/glibc-2.3.1' |
62 |
make -j2 -C localedata install-locales |
63 |
make[2]: Entering directory |
64 |
`/home/portage/tmp/glibc-2.3.1-r2/work/glibc-2.3.1/localedata' |
65 |
.././scripts/mkinstalldirs |
66 |
/var/tmp/portage/glibc-2.3.1-r2/image//usr/lib/locale |
67 |
mkdir /var/tmp/portage/glibc-2.3.1-r2/image/usr/lib/locale |
68 |
ar_AE.ISO-8859-6...af_ZA.ISO-8859-1... done |
69 |
ar_BH.ISO-8859-6... done |
70 |
ar_DZ.ISO-8859-6... done |
71 |
ar_EG.ISO-8859-6... done |
72 |
ar_IN.UTF-8... done |
73 |
ar_IQ.ISO-8859-6... done |
74 |
ar_JO.ISO-8859-6... done |
75 |
ar_KW.ISO-8859-6... done |
76 |
ar_LB.ISO-8859-6... done |
77 |
ar_LY.ISO-8859-6... done |
78 |
ar_MA.ISO-8859-6... done |
79 |
ar_OM.ISO-8859-6... done |
80 |
ar_QA.ISO-8859-6... done |
81 |
ar_SA.ISO-8859-6... done |
82 |
ar_SD.ISO-8859-6... done |
83 |
ar_SY.ISO-8859-6... |
84 |
|
85 |
---- |
86 |
TRANSCRIPT 3 |
87 |
---- |
88 |
marciot@powerbook marciot $ ps -ef |
89 |
UID PID PPID C STIME TTY TIME CMD |
90 |
root 1028 1022 0 19:14 tty1 00:00:00 -bash |
91 |
root 1035 1028 0 19:14 tty1 00:00:06 /usr/bin/python2.2 |
92 |
/usr/sbin/ebuild glibc-2.3.1-r2.ebuild instal |
93 |
root 1036 1035 0 19:14 tty1 00:00:00 /bin/bash /usr/sbin/ebuild.sh |
94 |
setup unpack compile install |
95 |
root 6149 1023 0 19:32 tty2 00:00:00 -bash |
96 |
root 7717 1036 0 19:34 tty1 00:00:00 make PARALLELMFLAGS=-j2 |
97 |
install_root=/var/tmp/portage/glibc-2.3. |
98 |
root 7718 7717 2 19:34 tty1 00:00:02 make -r PARALLELMFLAGS=-j2 |
99 |
CVSOPTS= -C .. objdir=/home/portage/t |
100 |
root 7720 7718 5 19:34 tty1 00:00:04 make -j2 -C localedata |
101 |
install-locales |
102 |
root 7829 7720 0 19:35 tty1 00:00:00 /bin/sh -c locale=`echo |
103 |
install-ar_EG/ISO-8859-6 | sed -e 's/^in |
104 |
root 7848 7829 48 19:35 tty1 00:00:05 |
105 |
/home/portage/tmp/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/elf/ |
106 |
root 7850 7720 0 19:35 tty1 00:00:00 /bin/sh -c locale=`echo |
107 |
install-ar_IN/UTF-8 | sed -e 's/^install |
108 |
root 7869 7850 50 19:35 tty1 00:00:04 |
109 |
/home/portage/tmp/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/elf/ |
110 |
marciot 7872 6805 0 19:35 pts/0 00:00:00 ps -ef |
111 |
|
112 |
-- |
113 |
gentoo-ppc-user@g.o mailing list |