I have posted this problem on several lists but am not getting any
answers. Sorry if this is not the best place to ask this, but thought
someone here might at least point me in a good direction.
I am trying to build 2.2.5-22 kernel from RH src.rpm on an Intel P166
with 128M ram and 128M swap. My current kernel is the same one,
installed from the RH binary rpm. When it gets to make modules, the
memory usuage grows until all swap is exhausted at which point the
system slows and eventually crawls to a stop. The pattern has been the
same on 9-10 attempts. I have tried selecting both of the 586 config
options with the same results. This is RH6 (upgraded from 5.1), fully
updated, with gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release). I have tried reinstalling egcs. Nothing much else running --
X, windowmaker, a few xterms and dockapps ...
Partial output from ps captured a few minutes before the system dies:
root 14261 2.4 3.3 5984 4300 pts/5 R 15:42 0:03 [cc1]
root 14265 0.0 0.0 1756 124 pts/5 D 15:42 0:00 [as]
root 14267 0.0 0.1 1756 244 pts/5 S 15:42 0:00 [as]
root 14268 0.4 0.0 2740 56 pts/5 S 15:42 0:00 [cpp]
root 14269 0.0 0.0 1152 24 pts/5 S 15:42 0:00 [gcc]
root 14270 2.4 3.8 6548 4888 pts/5 D 15:42 0:03 [cc1]
root 14271 0.3 0.0 1604 0 pts/5 SW 15:42 0:00 [make]
root 14273 0.0 0.0 1756 0 pts/5 SW 15:42 0:00 [as]
root 14278 2.6 4.1 6996 5336 pts/5 D 15:42 0:03 [cc1]
root 14280 0.0 0.0 1152 24 pts/5 S 15:42 0:00 [gcc]
root 14282 0.0 0.0 1756 0 pts/5 SW 15:42 0:00 [as]
root 14286 2.4 4.2 6840 5384 pts/5 R 15:42 0:03 [cc1]
root 14288 0.0 0.0 1756 0 pts/5 SW 15:42 0:00 [as]
root 14291 0.0 0.0 1152 0 pts/5 SW 15:42 0:00 [gcc]
root 14294 0.0 0.0 1152 0 pts/5 SW 15:42 0:00 [gcc]
root 14295 0.6 0.1 2348 228 pts/5 S 15:42 0:00 [cpp]
root 14296 0.0 0.0 1152 0 pts/5 SW 15:42 0:00 [gcc]
root 14297 1.9 2.9 5580 3820 pts/5 R 15:42 0:02 [cc1]
root 14299 0.0 0.0 1152 0 pts/5 SW 15:42 0:00 [gcc]
<snip>
root 14357 2.2 1.1 2308 1512 pts/5 S 15:44 0:00
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cpp -lang-c -I/usr/sr
root 14358 3.9 2.0 3876 2620 pts/5 R 15:44 0:00
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cc1 -mcpu=i486 -march
....... etc
Note the cc1 STATE column and memory/cpu columns. There are 200 or so
total processes at this point, most from from the kernel build. What
makes cc1 so hungry? It doesn't seem to want to let go of mem or cpu?
It seems to me the cc1 is causing the problem, but why?
If I let this go on long enough, the system completely stops. I can
get to a clean shutdown with Alt-Printscreen keys, but anything else
is futile (no Ctrl-Alt-Del, etc). I have waited as long as 2 hours to
see if the system gets it feet back under it, but no go.
Any ideas? (please!)
TIA
[This is a repost, but never saw this or any answers, so sorry if this
winds up getting through twice.]
--
Hal B
[EMAIL PROTECTED]
--
Linux helps those who help themselves
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null