Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on PS3
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 19, 20, 21  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Fri Mar 30, 2007 10:06 pm    Post subject: Reply with quote

sneeks wrote:

On reading your second message I'd guess you need to change the loader to the default version and not cdonly.


so stupid i am !
try it at once !
Back to top
View user's profile Send private message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Fri Mar 30, 2007 10:13 pm    Post subject: Reply with quote

it works, thks.
would be good to write a lign about it in the install guide, cause i'm certainly not the only one with no brain installing from live cd ;)

thx !
Back to top
View user's profile Send private message
sneeks
n00b
n00b


Joined: 28 Mar 2007
Posts: 7

PostPosted: Fri Mar 30, 2007 10:22 pm    Post subject: Reply with quote

It puzzled me for a while too until I figured out what the problem was. :)
Back to top
View user's profile Send private message
sneeks
n00b
n00b


Joined: 28 Mar 2007
Posts: 7

PostPosted: Sat Mar 31, 2007 11:43 am    Post subject: Reply with quote

sneeks wrote:
How long will 'emerge' kde' take to compile? I've read horror stories stating it can take 1.5 days. Other people here seem to have it up and running in a night so thought I'd ask first. I gave up with Gnome when after 6 hours it was still nowhere near completion. IS there a quicker way of setting up a good GUI?


Anyone able to help? 16 hours this has been running 'emerge kde' and it now apears to be doing nothing but stuck on the same screen emerging 25 of 37. I think I may give up and try YDL instead.
Back to top
View user's profile Send private message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Sat Mar 31, 2007 2:09 pm    Post subject: Reply with quote

I use windowmaker.
PS3 is so slow, i seek smallest is best.
1h30 to compile gnome-terminal :/

I'm emerging distcc right now, will use my laptop to cross compile for PS3.
My core duo is far faster than a cell :p
Back to top
View user's profile Send private message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Sat Mar 31, 2007 2:27 pm    Post subject: Reply with quote

when running crossdev -t, should I use powerpc64 or ppu as argument for target system ?
Back to top
View user's profile Send private message
tokka
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 99

PostPosted: Sat Mar 31, 2007 2:27 pm    Post subject: Reply with quote

You will need to set up distcc for cross compilation - see:

http://www.gentoo.org/doc/en/cross-compiling-distcc.xml

People not using distcc, try MAKEOPTS="-j1", it can make quite a difference...

Also look at the Gentoo PS3 docs for information about installing precompiled packages - discussed at length earlier on this thread.
Back to top
View user's profile Send private message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Sat Mar 31, 2007 6:20 pm    Post subject: Reply with quote

Hello,

I have problems using distcc
I setted the PS3 make.conf for using distcc and -j4
I did create a wrapper for gcc on the ps3
I started distccd on the helper computer
I ran crossdev -t ppu on the helper computer

when starting a emerge on the PS3, i see the network on the computer receiving bytes, but cpu does nothing
on the ps3, disctccmon-gui shows nothing

tested with emerge mozilla-firefox

what could i have forgotten ?
Back to top
View user's profile Send private message
wwdarky
n00b
n00b


Joined: 22 Aug 2006
Posts: 12

PostPosted: Sat Mar 31, 2007 6:23 pm    Post subject: Reply with quote

well in fact a top command on coputer shows cc1plus appearing really briefly sometimes (but distccmon is still clear, on computer and on PS3)
I would prefer the computer taking a heavy load :?

edit : I ran distcc-config --set-hosts "192.168.0.3", so only my computer should compile, not even the PS3, or i didn't understand the meaning of this command ? So why only PS3 works ?
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Sat Mar 31, 2007 9:29 pm    Post subject: Reply with quote

Has anyone had any luck compiling a kernel on the PS3 ? For me all goes well up to the point where it should boot ;) The moment it is supposed to switch videomode it just hangs. Last message is SYSMGR: cleanup. I used genkernel and also the instructions found at http://julipedia.blogspot.com/2007/03/building-updated-kernel-for-ps3.html. Both give the same result.
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Sun Apr 01, 2007 1:54 pm    Post subject: Reply with quote

rig0r wrote:
Has anyone had any luck compiling a kernel on the PS3 ? For me all goes well up to the point where it should boot ;) The moment it is supposed to switch videomode it just hangs. Last message is SYSMGR: cleanup. I used genkernel and also the instructions found at http://julipedia.blogspot.com/2007/03/building-updated-kernel-for-ps3.html. Both give the same result.


No but close, see following...

smokerbag wrote:
Quote:


So "gcc" is selected but how do I select "gcc-powerpc64"? Do you think I should try the compiler from testing branch?



I have my whole system switched to the testing branch. In fact I think you probably need the 4.1.1 powerpc64 compiler to build a bootable kernel. To make kernel builds easier I have the following in my .bash_profile:
alias powerpc64make='make ARCH=powerpc CROSS_COMPILE=powerpc64-unknown-linux-gnu-'

then in the kernel directory you can do powerpc64make <target>


Followed your instructions and I did also switch the system to testing branch but the kernel locks just as the above person. I created the initrd separately, maybe that's the problem.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)


Last edited by RaZoR1394 on Sun Apr 01, 2007 6:15 pm; edited 2 times in total
Back to top
View user's profile Send private message
anunakin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2004
Posts: 101

PostPosted: Sun Apr 01, 2007 3:52 pm    Post subject: Reply with quote

Is there a way to load PPC32 applications on a 64UL ?


Opera released a 32bit PPC version for Linux... I mean this works for PS3Linux!!! :wink:
_________________
Anunakin (Marcus Fazzi)
PHP/Java/C++ Developer
Sony PS3 JPN 60GB, with Gentoo Linux + HDD 160GB
Sony PS2 50001, with PS2Linux, HDD 80GB
Back to top
View user's profile Send private message
smokerbag
n00b
n00b


Joined: 19 Mar 2007
Posts: 7

PostPosted: Sun Apr 01, 2007 8:09 pm    Post subject: Reply with quote

RaZoR1394 wrote:

No but close, see following...

Followed your instructions and I did also switch the system to testing branch but the kernel locks just as the above person. I created the initrd separately, maybe that's the problem.


The kernels I have built do not use an initrd. In the cell overlay there is now a ps3-sources ebuild that you can install.
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Sun Apr 01, 2007 9:01 pm    Post subject: Reply with quote

RaZoR1394 wrote:
rig0r wrote:
Has anyone had any luck compiling a kernel on the PS3 ? For me all goes well up to the point where it should boot ;) The moment it is supposed to switch videomode it just hangs. Last message is SYSMGR: cleanup. I used genkernel and also the instructions found at http://julipedia.blogspot.com/2007/03/building-updated-kernel-for-ps3.html. Both give the same result.


No but close, see following...

smokerbag wrote:
Quote:


So "gcc" is selected but how do I select "gcc-powerpc64"? Do you think I should try the compiler from testing branch?



I have my whole system switched to the testing branch. In fact I think you probably need the 4.1.1 powerpc64 compiler to build a bootable kernel. To make kernel builds easier I have the following in my .bash_profile:
alias powerpc64make='make ARCH=powerpc CROSS_COMPILE=powerpc64-unknown-linux-gnu-'

then in the kernel directory you can do powerpc64make <target>


Followed your instructions and I did also switch the system to testing branch but the kernel locks just as the above person. I created the initrd separately, maybe that's the problem.


I actually got it working now. I followed the instructions at http://julipedia.blogspot.com/2007/03/building-updated-kernel-for-ps3.html, without the cross-compile stuff (I build on the ps3, doesn't take too long). I made the mistake of trying the git kernel sources that are in portage, apparently they are not recent enough.

So git the kernel sources, install dtc, make ps3_defconfig and then make. I also did the MAKEDEV thing though I'm not sure it's necessary.

It's also possible to use genkernel. I copied the .config created from make ps3_defconfig to /etc/kernels/<kernelversion> and then ran genkernel all. The only problem I have atm is that the videomode parameter in kboot.conf doesn't work anymore, it defaults to 576 for some reason.
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Mon Apr 02, 2007 11:42 am    Post subject: Reply with quote

smokerbag wrote:
RaZoR1394 wrote:

No but close, see following...

Followed your instructions and I did also switch the system to testing branch but the kernel locks just as the above person. I created the initrd separately, maybe that's the problem.


The kernels I have built do not use an initrd. In the cell overlay there is now a ps3-sources ebuild that you can install.


I just tried compiling a kernel from the ps3-sources in the overlay, works perfectly. My videomode issues are gone too.
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Mon Apr 02, 2007 3:39 pm    Post subject: Reply with quote

Just noticed this btw: http://www.ps3coderz.com/index.php?option=com_content&task=view&id=13&Itemid=54

Hopefully soon(tm) :D
Back to top
View user's profile Send private message
BstnRich
n00b
n00b


Joined: 02 Apr 2007
Posts: 1
Location: Maine, USA

PostPosted: Tue Apr 03, 2007 2:04 am    Post subject: Need help with install on PS3 Reply with quote

So I wanted to install gentoo on my PS3 and I'm a complete noob at this and the intructions I was follow ended up not working and now I just want to forget about install it all together, problem is that my PS3 keep booting up to the linux screen with the guins on it and I can't seem to get out of that dos mode. Can someone please help this idiot. Thanks
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Apr 03, 2007 3:45 am    Post subject: Reply with quote

Merged above post.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
rig0r
n00b
n00b


Joined: 25 Mar 2004
Posts: 73

PostPosted: Tue Apr 03, 2007 8:42 am    Post subject: Re: Need help with install on PS3 Reply with quote

BstnRich wrote:
So I wanted to install gentoo on my PS3 and I'm a complete noob at this and the intructions I was follow ended up not working and now I just want to forget about install it all together, problem is that my PS3 keep booting up to the linux screen with the guins on it and I can't seem to get out of that dos mode. Can someone please help this idiot. Thanks


Type boot-game-os at the kboot prompt. If that doesn't work, power down your PS3, then power it up again, holding the power button for +/- 5 seconds (you'll hear a second beep). This will get you to the game OS as well, but will reset your video settings to factory default.
Back to top
View user's profile Send private message
swarles_barkley
n00b
n00b


Joined: 09 Apr 2007
Posts: 1

PostPosted: Mon Apr 09, 2007 6:00 pm    Post subject: PS3 gentoo performance? Reply with quote

Hi all,

Not sure if this is off-topic, but has anyone set up their PS3s to mount Windows PC file shares? If so, could you comment on the performance of streaming media across the network?

If you're doing this, what applications are you using? Is there smbfs/cifs support and winbind for Gentoo PPC?
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Mon Apr 09, 2007 8:43 pm    Post subject: Reply with quote

rig0r wrote:
RaZoR1394 wrote:
rig0r wrote:
Has anyone had any luck compiling a kernel on the PS3 ? For me all goes well up to the point where it should boot ;) The moment it is supposed to switch videomode it just hangs. Last message is SYSMGR: cleanup. I used genkernel and also the instructions found at http://julipedia.blogspot.com/2007/03/building-updated-kernel-for-ps3.html. Both give the same result.


No but close, see following...

smokerbag wrote:
Quote:


So "gcc" is selected but how do I select "gcc-powerpc64"? Do you think I should try the compiler from testing branch?



I have my whole system switched to the testing branch. In fact I think you probably need the 4.1.1 powerpc64 compiler to build a bootable kernel. To make kernel builds easier I have the following in my .bash_profile:
alias powerpc64make='make ARCH=powerpc CROSS_COMPILE=powerpc64-unknown-linux-gnu-'

then in the kernel directory you can do powerpc64make <target>


Followed your instructions and I did also switch the system to testing branch but the kernel locks just as the above person. I created the initrd separately, maybe that's the problem.


I actually got it working now. I followed the instructions at http://julipedia.blogspot.com/2007/03/building-updated-kernel-for-ps3.html, without the cross-compile stuff (I build on the ps3, doesn't take too long). I made the mistake of trying the git kernel sources that are in portage, apparently they are not recent enough.

So git the kernel sources, install dtc, make ps3_defconfig and then make. I also did the MAKEDEV thing though I'm not sure it's necessary.

It's also possible to use genkernel. I copied the .config created from make ps3_defconfig to /etc/kernels/<kernelversion> and then ran genkernel all. The only problem I have atm is that the videomode parameter in kboot.conf doesn't work anymore, it defaults to 576 for some reason.


Thanks. I successully compiled both ps3-sources and ps3-linux (git) wth genkernel, unfortunately none finds the root device. I tried using "root=/dev/ram0 real_root=/dev/sda1" and later "root=/dev/sda1" but none works. What do you mean with MAKEDEV? I tried "cd /dev/, "MAKEDEV sda1". Sorry for being an idiot. :?
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
Smeagel
n00b
n00b


Joined: 09 Apr 2007
Posts: 13

PostPosted: Mon Apr 09, 2007 9:01 pm    Post subject: Various stuff Reply with quote

RaZoR1394 wrote:


Thanks. I successully compiled both ps3-sources and ps3-linux (git) wth genkernel, unfortunately none finds the root device. I tried using "root=/dev/ram0 real_root=/dev/sda1" and later "root=/dev/sda1" but none works. What do you mean with MAKEDEV? I tried "cd /dev/, "MAKEDEV sda1". Sorry for being an idiot. :?


How did you format your drive? Did you make two partitions (sda1 = root, sda2 = swap), or a more traditional (sda1 = boot, sda2 = swap, sda3 = root). I know that the kernel that comes with the install disk (I have yet to build my own kernel) wouldn't boot a Reiserfs root for me, did you do a reiserfs or ext2/ext3 root partition? I was considering building my own kernel to try to get reiserfs working (though kboot doesn't recognize it, I thought an ext2 boot partition and a reiser root partition should work), but was too eager to get it working on the PS3 and just went the ext3 lazy route :-P

COMPILING TIPS
A) If at all possible, if you have another machine on the network, and I mean ANY other machine, use it with distcc and don't let the ps3 do any work for big compiles. 256 ram is just not enough for major builds these days. I watched my ps3 run at 1% cpu utilization, with the swapd going at 30-40% for about 45 minutes on one snes9x files (tile.cpp) before I said 'screw it' and set up distcc with my dual opteron. What PS3 was stuck on for 45, my dual opteron did in about 2 minutes. It's not because my dual opteron is faster, the chips aren't (1.6ghz), it's because the PS3 was working at the bus speed and swapping like crazy. Where my opteron has a gig of ram and a raptor HD to swap with, the PS3 was stuck in swap limbo. Long story short, USE DISTCC IF YOU CAN. I just built all of kde with amarok, etc, and a very large USE="" list in about 4 hours with distcc.

B) If this isn't an option, minimize memory as much as you can. TURN OFF THE FRAME BUFFER. a 1080p frame buffer is 2 million pixels * 2-3 bytes a pixel, * however many times it's off-screen buffered. In other words it could be using as much as 10% of your precious PS3's memory. Do not use a WM when compiling, I usually use fluxbox, but even its precious 5megs of memory could be used. Use emerge --fetchonly to get all your stuff, then unplug your ethernet and kill all your daemons. If you're not getting the point, memory is far and away the bottleneck when compiling large things for this system. As a previous poster said, make sure -j1 is defined, because 2 instances of gcc = twice as much memory needed at a time.

OK, that's all I can think of, good luck if you can't distcc it ;)
_________________
Redhat? Really? Sigh.
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Tue Apr 10, 2007 9:30 am    Post subject: Re: Various stuff Reply with quote

Smeagel wrote:
RaZoR1394 wrote:


Thanks. I successully compiled both ps3-sources and ps3-linux (git) wth genkernel, unfortunately none finds the root device. I tried using "root=/dev/ram0 real_root=/dev/sda1" and later "root=/dev/sda1" but none works. What do you mean with MAKEDEV? I tried "cd /dev/, "MAKEDEV sda1". Sorry for being an idiot. :?


How did you format your drive? Did you make two partitions (sda1 = root, sda2 = swap), or a more traditional (sda1 = boot, sda2 = swap, sda3 = root). I know that the kernel that comes with the install disk (I have yet to build my own kernel) wouldn't boot a Reiserfs root for me, did you do a reiserfs or ext2/ext3 root partition? I was considering building my own kernel to try to get reiserfs working (though kboot doesn't recognize it, I thought an ext2 boot partition and a reiser root partition should work), but was too eager to get it working on the PS3 and just went the ext3 lazy route :-P


I'm just using the standard gentoo ps3 layout (sda1 = root,ext3, sda2 = swap).

edit: Whoops, I overlooked the makedev thing in the guide. Although I tried it it didn't help.

edit2: I'm running custom 2.6.16 now with uinput. The trick was to use:

# zcat /proc/config.gz > /usr/src/config
# genkernel --kernel-config=/usr/src/config --menuconfig all

instead of

# genkernel --menuconfig all (using config from /etc/kernels.

http://ps3mods.blogspot.com/2007/04/bd-remote-for-linux-update-2.html - Anyone know where to download this driver?
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
Smeagel
n00b
n00b


Joined: 09 Apr 2007
Posts: 13

PostPosted: Wed Apr 11, 2007 12:11 am    Post subject: Bluetooth controller Reply with quote

I'm sorry if this is documented somewhere, I googled for some time and didn't find it. Has anyone gotten the PS3 controllers working via bluetooth? I have bluetooth working, I can scan and see my bluetooth headset and phone (haven't tried interacting yet) using bluez-libs/bluez-utils. I tried hitting the "ps" button on the controller hoping that was really a bluetooth seek mode, but it appears not to be (I'm guessing the do the pairing somehow using USB at the start).

Any idea's here?

Thanks.
_________________
Redhat? Really? Sigh.
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Fri Apr 13, 2007 5:31 pm    Post subject: Xvid, divx Reply with quote

I was wondering if someone found a way to play xvid/divx plays smoothly. I don't have a PS3, but would like to use one for that, in a massive lcd. So far all I read were old posts where people had to use small resolutions for decent framerates. Cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 19, 20, 21  Next
Page 15 of 21

 
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