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 

Problem with newest otheros/kboot

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



Joined: 11 Nov 2007
Posts: 27

PostPosted: Sat Jan 12, 2008 7:10 am    Post subject: Problem with newest otheros/kboot Reply with quote

Hello,

As a friend of mine updated my ps3 to 2.10 and i had a RSX kernel, i had to update the whole thing. I used http://overlays.gentoo.org/proj/cell/wiki/Rescue
Everything worked, but after rebooting, kboot didnt want to boot my gentoo. As it said something like "eval error", i looked if my kboot.conf was correct. And it wasnt my kboot.conf, but something... other. There seems to be a something like a "mini filesystem", not correlating with the one on the harddisc (i rebootet, useing livecd, all my files where on the disc, correct kboot.conf etc). It's even missing /boot!

I'm... confused. What did i wrong?

Which otheros.bld do i need for 2.10? Does the old one's still work?
I used this one: http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20071220-ADDON/PS3/otheros/otheros.bld
Back to top
View user's profile Send private message
anthraxx



Joined: 11 Nov 2007
Posts: 27

PostPosted: Sun Jan 13, 2008 2:26 am    Post subject: Reply with quote

uhm, i installed the otheros.bld from the gentoo iso. it had an different size then the one i used before, but i still have the same problem.
Am i the only one with this problem?!

Am i the only one in the whole world with a fake filesystem in kboot on ps3?! Or just dumb?
Back to top
View user's profile Send private message
anthraxx



Joined: 11 Nov 2007
Posts: 27

PostPosted: Sun Jan 13, 2008 2:48 am    Post subject: Reply with quote

after some googling, i think other people encountered this problem, at different dates, distributions etc.
It seems one way to fix this is to re-make the partitions. Obviously, i dont want to do that :-(
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Jan 13, 2008 6:21 am    Post subject: Reply with quote

Yes, the kboot image has an initramfs built in. Without the specific error you got, you're not going to get a specific answer, but generally you need kboot to be able to find and mount your local disk and kexec the proper kernel.
Back to top
View user's profile Send private message
anthraxx



Joined: 11 Nov 2007
Posts: 27

PostPosted: Sun Jan 13, 2008 7:01 am    Post subject: Reply with quote

Yeah, i could boot gentoo when i write the whole boot command line (ps3da1:/boot/kernel ...).
Not very suitable for a mediacenter :-)
i'll look what causes the the kboot to fail to mount my partition. But documentation of kboot is very scarce :-(

I dont even know how to configure kboot, except for kboot.conf, which aint been loaded (?!). Maybe there was a file in /boot or /lib/modules, which i've overwritten. I havent changed any other file.

Anyway, thx for the answer, it's a little clearer for me now.
Back to top
View user's profile Send private message
ouasse



Joined: 30 Jul 2007
Posts: 90
Location: Paris, France

PostPosted: Thu Jan 17, 2008 7:29 pm    Post subject: Reply with quote

I was being stuck for some time with the same problem on a Debian system. What I was doing was :
- type "sh" at the kboot prompt
- manually mount the root fs in readonly mode to the /mnt/root mount point
- run kboot

After some heavy googling and rtfm'ing, I finally found out what the problem was :
- The root partition must have the "/" ext2 label (use command "e2label /dev/ps3daX /", using your actual root partition device name)
- the root partition must have the bootable flag set (use the "a" command in fdisk).

This definitely solved the problem for me, using latest kboot.img from geoff's addon CD, and a recently built kernel from the ps3 kernel tree.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Linux 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