corrupted eboots under debian

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
bit188
Posts: 6
Joined: Mon Aug 18, 2008 8:08 am

corrupted eboots under debian

Post by bit188 »

Hey all,

I have psptoolchain running on both my 10.5 PPC Mac and a Debian machine. It runs without a hitch on my PPC, but on Debian it seems to be pumping out corrupted eboots...

... I compiled a program and put it on my PSP, but it showed up as corrupted data and gave me an 'I/O error' when I tried to delete it on the computer. Trying to delete it from the PSP wiped my memory stick!

Fortunately, my Mac allowed me to delete the file, but this seems to happen with everything I've compiled on the machine so far. I tried copying the eboot to a flash drive, taking it over to the Mac and copying it to the PSP, but the file didn't even show up on the flash drive when I plugged it into my Mac.

Help? Thanks so much!!
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

compile the eboot on your mac.

Wally
bit188
Posts: 6
Joined: Mon Aug 18, 2008 8:08 am

Post by bit188 »

Wally4000 wrote:compile the eboot on your mac.

Wally
Isn't there a way to get my Debian machine working? >_>;;

My Mac is a desktop, the Debian compy's a laptop. I want a computer to take with me.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

What is the laptop? If it's a PPC (Mac) laptop you put linux on, the issue is that certain programs used by the toolchain to generate the EBOOT are not endian aware. So on linux on Big Endian systems, they generate bad files. Patches were made for those apps when building on OSX on older PPC systems. You need to apply those same patches to debian on your PPC.

If it's an x86/AMD64 laptop, then debian should work... Ubuntu certainly does, and it's based on debian. Maybe you're using an old toolchain. Be sure to compile the latest toolchain/libs from the psptoolchain/psplibraries scripts in the repo. The tutorial on how to set up the toolchain/libs in linux is here:

http://www.guztech.nl/index.php?view=ca ... &Itemid=56
bit188
Posts: 6
Joined: Mon Aug 18, 2008 8:08 am

Post by bit188 »

J.F. wrote:What is the laptop? If it's a PPC (Mac) laptop you put linux on, the issue is that certain programs used by the toolchain to generate the EBOOT are not endian aware. So on linux on Big Endian systems, they generate bad files. Patches were made for those apps when building on OSX on older PPC systems. You need to apply those same patches to debian on your PPC.

If it's an x86/AMD64 laptop, then debian should work... Ubuntu certainly does, and it's based on debian. Maybe you're using an old toolchain. Be sure to compile the latest toolchain/libs from the psptoolchain/psplibraries scripts in the repo. The tutorial on how to set up the toolchain/libs in linux is here:

http://www.guztech.nl/index.php?view=ca ... &Itemid=56
It's an x86 laptop, but I've done a little bit of digging-- turns out the problem is not with the toolchain, but with all files I try to copy from the computer!

It's a new computer, so I wasn't aware of this yet; thanks for your help, though. :D
Geijer
Posts: 3
Joined: Wed Aug 18, 2004 8:39 am

Post by Geijer »

Sounds like you are removing the memorycard/closing the usb connection on the PSP before a proper unmount in Debian!

Debian, as most distributions so far, do have writecache even for writing to memory cards / usb-drives so it's very important to do a proper unmount before removing it or the filesystem will be trashed!
bit188
Posts: 6
Joined: Mon Aug 18, 2008 8:08 am

Post by bit188 »

Geijer wrote:Sounds like you are removing the memorycard/closing the usb connection on the PSP before a proper unmount in Debian!

Debian, as most distributions so far, do have writecache even for writing to memory cards / usb-drives so it's very important to do a proper unmount before removing it or the filesystem will be trashed!
Oh! Okay, thanks SO much! :D

YAY!
jsharrad
Posts: 100
Joined: Thu Oct 20, 2005 3:06 am

Post by jsharrad »

Or if you're copying it using the terminal, type "sync" after a copy... but you should always cleanly unmount it.
sauron_le_noir
Posts: 203
Joined: Sat Jul 05, 2008 8:03 am

Post by sauron_le_noir »

umount /dev/sdxx or eject /dev/sdxxx does also the job ;)
Post Reply