1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
I'd just like to chime in real quick... I've written a short bash script |
5 |
that has proven to be pretty good at crashing my SMP/SCI boxes on 2.6, |
6 |
it seems that UP/IDE systems are OK but I'm not sure which part of that |
7 |
equation makes the difference. It is just a little script that copies |
8 |
the portage tree around and tars/untars it. On my boxes, it always dies |
9 |
on copying /usr/portage over (seperate disks) and I don't think I've |
10 |
ever made it to 10 iterations. |
11 |
|
12 |
Anyone who has time/ability please run this script and send me the |
13 |
results and I'll tally them up, maybe someone can even get an OOPS. |
14 |
|
15 |
Josh |
16 |
|
17 |
Here is the script. I always clear out /usr/portage/distfiles before I |
18 |
run it. |
19 |
|
20 |
#!/bin/bash |
21 |
mkdir /var/tmp/crash |
22 |
cd /var/tmp/crash |
23 |
X=0 |
24 |
while [ 1 ] |
25 |
do |
26 |
~ echo -n "Copying /usr/portage to /var/tmp/crash " |
27 |
~ date |
28 |
~ mkdir portage |
29 |
~ cp -R /usr/portage/* portage/ |
30 |
~ echo -n "Create tarfile " |
31 |
~ date |
32 |
~ tar cf portage.tar portage |
33 |
~ echo -n "Removin portage " |
34 |
~ date |
35 |
~ rm -r portage |
36 |
~ echo -n "Untar " |
37 |
~ date |
38 |
~ tar xf portage.tar |
39 |
~ echo -n "Removing portage " |
40 |
~ date |
41 |
~ rm -r portage |
42 |
~ let X=$X+1 |
43 |
~ echo -n "Run ${X} completed " |
44 |
~ date |
45 |
|
46 |
done |
47 |
|
48 |
|
49 |
|
50 |
Jason Wever wrote: |
51 |
| On Wed, 27 Oct 2004, Andrew Gaffney wrote: |
52 |
| |
53 |
|>> Maybe you're Ultra 2 just doesn't like you :) My U2 has been using |
54 |
|>> kernel 2.6.6 for atleast a month since I did the initial install and I |
55 |
|>> haven't had a problem. Currently, its uptime is 11 days (since the |
56 |
|>> last time the power went out here). Although, it isn't doing much. The |
57 |
|>> U2 is only acting as the router for my cable internet connection. |
58 |
| |
59 |
| |
60 |
| Most of the stability issues seem to come from high i/o and/or CPU |
61 |
| loads. As with Gentoo typically people are doing a lot of compiling on a |
62 |
| semi-regular basis, it's pretty good at causing this to happen. With |
63 |
| some kernels, a nightly run of updatedb is enough to lock it up, and |
64 |
| with others it'll run fine but die say unpacking a portage tarball. |
65 |
| |
66 |
| If you don't beat the system up too much typically it seems to run fine. |
67 |
| On a slight side note, is your Ultra 2 UP or SMP? |
68 |
| |
69 |
| |
70 |
| -- Jason Wever |
71 |
| Gentoo/Sparc Co-Team Lead |
72 |
|
73 |
- -- |
74 |
gentoo-sparc@g.o mailing list |
75 |
|
76 |
|
77 |
-----BEGIN PGP SIGNATURE----- |
78 |
Version: GnuPG v1.2.6 (GNU/Linux) |
79 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
80 |
|
81 |
iD8DBQFBgAnZT/OY5rt9JCMRAnDAAJ95AdtmoLwOfVQpm2PDfcDNt5vDZACgiuRV |
82 |
Idvm7BwWwVOKuq0tDYiOtRQ= |
83 |
=Ra42 |
84 |
-----END PGP SIGNATURE----- |
85 |
|
86 |
-- |
87 |
gentoo-sparc@g.o mailing list |