| View previous topic :: View next topic |
| Author |
Message |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Tue Jun 05, 2007 5:36 am Post subject: Blue screening on the psptoolchain |
|
|
Hey,
I had to format my machine, just generally XP had got itself screwed up and needed a clean up anyway and it would be quicker to reinstall.
Luckily I made the machine dual-boot ubuntu and XP.
However I tried to resetup the toolchain on my XP machine, on the first go it failed giving an error of something like make all (***) Error 2, when finishing up GCC, however each and ever attempt after this has lead to a bluescreen error.
Now hopefully I can set it up on the ubuntu side of things, although I'm pretty new to linux.
Mainly this post is a question of, is there a way to work out what's gone wrong with the xp version? A logfile or anything? There's only been one hardware change since the format and that's an external harddrive. I am using oopo's new script. Also I'm now on XP home compared to using XP MCE last time. Apart from that there's no differences since the last time I set up.
thanks for your time,
Energy |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Tue Jun 05, 2007 9:39 pm Post subject: |
|
|
While installing in Unbuntu I'm reciving this error:
| Code: | gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include -I../../gcc/../libcpp/include -o build/genoutput.o ../../gcc/genoutput.c
../../gcc/genemit.c: In function ‘main’:
../../gcc/genemit.c:812: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include -I../../gcc/../libcpp/include -o build/genpeep.o ../../gcc/genpeep.c
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [build/genemit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/energy/pspdev/psptoolchain/build/gcc-4.1.0/build-psp/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/energy/pspdev/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.1.0-stage1.sh: Failed. |
Just can't get past it. Please help! |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Jun 06, 2007 3:02 am Post subject: |
|
|
Read the error:
| Quote: | | The bug is not reproducible, so it is likely a hardware or OS problem. |
You most likely have bad hardware. Run memtest etc. |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Thu Jun 07, 2007 1:43 am Post subject: |
|
|
| jimparis wrote: | Read the error:
| Quote: | | The bug is not reproducible, so it is likely a hardware or OS problem. |
You most likely have bad hardware. Run memtest etc. |
I did read the error and did run a few scan tools.
Didn't pick anything up, gonna try memtest tho. |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Thu Jun 07, 2007 2:08 am Post subject: |
|
|
Okay....
i've got further... until:
| Code: | checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkheaders.almost
config.status: creating config.h
make[1]: Leaving directory `/home/energy/pspdev/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/005-gcc-4.1.0-stage2.sh: Failed. |
Ok I get different errors everytime i try to run the script. >_< |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Jun 07, 2007 4:11 am Post subject: |
|
|
| Quote: | | Ok I get different errors everytime i try to run the script. | That proves that it's a hardware issue.
Last edited by jimparis on Thu Jun 07, 2007 4:13 am; edited 1 time in total |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Thu Jun 07, 2007 4:13 am Post subject: |
|
|
| jimparis wrote: | | That basically proves that it's a hardware issue. |
Apart from ram, any ideas? |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Jun 07, 2007 4:14 am Post subject: |
|
|
| CPU overheating maybe, I dunno. |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Thu Jun 07, 2007 4:17 am Post subject: |
|
|
| jimparis wrote: | | CPU overheating maybe, I dunno. |
Nah - all the temps remain in their limits. >_< Gah this is so frustrating.
----
gone back to windows armd with a digital camera and a notepad to catch this bluescreen and hopefully find out what's causing the bluescreen. If it's the hardware it'll hopefully show something there. |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Thu Jun 07, 2007 5:26 am Post subject: |
|
|
| Boot from your ubuntu cd,and select memtest option.Let it run for 2-3 hours.If no errors occur,then boot windows,download a Prime95 program,and choose torture test(use cpu stress option).Again,let it run for some time.I bet that if it's a hardware problem then one of these programs should tell you what's wrong. |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Thu Jun 07, 2007 5:53 am Post subject: |
|
|
| gambiting wrote: | | Boot from your ubuntu cd,and select memtest option.Let it run for 2-3 hours.If no errors occur,then boot windows,download a Prime95 program,and choose torture test(use cpu stress option).Again,let it run for some time.I bet that if it's a hardware problem then one of these programs should tell you what's wrong. |
I will do -
thing is that my pc is pretty stable all the time, issues only seem to occur with this. It's not like I don't put it through a lot either. Gaming, Video Editing, Encoding, Programming. All fine...
Either way - the windows install didn't bluescreen!!!! - however it didn't complete.
| Code: | xgcc: : No such file or directory
/home/Energy/psptoolchain/build/gcc-4.1.0/build-psp/./gcc/xgcc -shared-libgcc -B
/home/Energy/psptoolchain/build/gcc-4.1.0/build-psp/./gcc -nostdinc++ -L/home/En
ergy/psptoolchain/build/gcc-4.1.0/build-psp/psp/libstdc++-v3/src -L/home/Energy/
psptoolchain/build/gcc-4.1.0/build-psp/psp/libstdc++-v3/src/.libs -B/usr/local/p
spdev/psp/bin/ -B/usr/local/pspdev/psp/lib/ -isystem /usr/local/pspdev/psp/inclu
de -isystem /usr/local/pspdev/psp/sys-include -I/home/Energy/psptoolchain/build/
gcc-4.1.0/libstdc++-v3/../gcc -I/home/Energy/psptoolchain/build/gcc-4.1.0/build-
psp/psp/libstdc++-v3/include/psp -I/home/Energy/psptoolchain/build/gcc-4.1.0/bui
ld-psp/psp/libstdc++-v3/include -I/home/Energy/psptoolchain/build/gcc-4.1.0/libs
tdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -Wall -Wextra -Wwrite-strings
-Wcast-qual -fdiagnostics-show-location=once -G0 -c ../../../../libstdc++-v3/lib
supc++/eh_unex_handler.cc -o eh_unex_handler.o
make[4]: *** [eh_type.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/home/Energy/psptoolchain/build/gcc-4.1.0/build-psp/
psp/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Energy/psptoolchain/build/gcc-4.1.0/build-psp/
psp/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Energy/psptoolchain/build/gcc-4.1.0/build-psp/
psp/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/Energy/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/005-gcc-4.1.0-stage2.sh: Failed.
|
Is there any way to skip stages. On windows it takes forever to get that far, - on older toolchains you could pass arguments to redo specific parts. Can this be done? It's so annoying waiting so long just to fail an hour and a half in.
Last edited by Energy on Thu Jun 07, 2007 6:23 am; edited 1 time in total |
|
| Back to top |
|
 |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Thu Jun 07, 2007 6:04 am Post subject: |
|
|
| Prime95 and memtest show problems deep inside your computer.It can be running stable,but under specific load it can make miscalculations.If there are any,these programs will show them.You can find problem after 5 minutes of running,but I know about cases that prime95 found errors after two weeks of constant running. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Jun 07, 2007 8:41 am Post subject: |
|
|
| If you want to run specific steps, you can run the script for that step manually from the scripts directory. |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Thu Jun 07, 2007 8:47 am Post subject: |
|
|
| ooPo wrote: | | If you want to run specific steps, you can run the script for that step manually from the scripts directory. |
Thanks ooPo :)
Start on 005 then
-- erm will all the work now occur in the scripts folder? |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Jun 07, 2007 10:15 am Post subject: |
|
|
It does its work in the current directory.
You could always do this...
| Code: | cd build
../scripts/005-gcc-4.1.0-stage2.sh |
...which is basically all toolchain.sh does. |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Thu Jun 07, 2007 10:23 am Post subject: |
|
|
| ooPo wrote: | It does its work in the current directory.
You could always do this...
| Code: | cd build
../scripts/005-gcc-4.1.0-stage2.sh |
...which is basically all toolchain.sh does. |
thanks ooPo, it's late and my brain isn't in gear. Been a real rough day today.
Good news (for me) tho, literally just now the cygwin install got past the gcc stage 2 process. Which is where all the problems occur. Hopefulyl smooth sailing from here on in... |
|
| Back to top |
|
 |
Energy
Joined: 26 Mar 2005 Posts: 133 Location: uk/beds/flitwick
|
Posted: Fri Jun 08, 2007 3:17 am Post subject: |
|
|
All worked fine until I got to the final stage. Once again bluescreens. However as it's an optional stage I'm continuing working and will look into the hardware issues. >_<
However all this has resulted in:
http://forums.ps2dev.org/viewtopic.php?t=8463&start=0 |
|
| Back to top |
|
 |
|