forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Blue screening on the psptoolchain

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Tue Jun 05, 2007 5:36 am    Post subject: Blue screening on the psptoolchain Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Tue Jun 05, 2007 9:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Jun 06, 2007 3:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Thu Jun 07, 2007 1:43 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Thu Jun 07, 2007 2:08 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jun 07, 2007 4:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Thu Jun 07, 2007 4:13 am    Post subject: Reply with quote

jimparis wrote:
That basically proves that it's a hardware issue.


Apart from ram, any ideas?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jun 07, 2007 4:14 am    Post subject: Reply with quote

CPU overheating maybe, I dunno.
Back to top
View user's profile Send private message
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Thu Jun 07, 2007 4:17 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
gambiting



Joined: 17 Aug 2006
Posts: 154

PostPosted: Thu Jun 07, 2007 5:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Thu Jun 07, 2007 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
gambiting



Joined: 17 Aug 2006
Posts: 154

PostPosted: Thu Jun 07, 2007 6:04 am    Post subject: Reply with quote

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
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Jun 07, 2007 8:41 am    Post subject: Reply with quote

If you want to run specific steps, you can run the script for that step manually from the scripts directory.
Back to top
View user's profile Send private message Visit poster's website
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Thu Jun 07, 2007 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Jun 07, 2007 10:15 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Thu Jun 07, 2007 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Fri Jun 08, 2007 3:17 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group