Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unbootable newly installed Gentoo system (PS3)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
rjh
n00b
n00b


Joined: 08 Oct 2008
Posts: 25

PostPosted: Sun Jul 05, 2009 9:32 pm    Post subject: Unbootable newly installed Gentoo system (PS3) Reply with quote

Hi,
I've been following the guide found here (http://en.gentoo-wiki.com/wiki/Installation_on_Sony_PS3) and the PPC64 portion of the gentoo handbook. I've been trying to install gentoo onto an external hard drive (sdd2). I'm up to the point in the handbook where you would reboot the system. However, attempting to do so makes the display display a no signal message.
I'm not sure where the problem lies but I suspect its either in the kernel or the kboot.conf file.
So far, I've only emerged gentoo-sources as the guide states:
"WARNING: If you use an old LiveCD, do NOT perform the upgrade now. Wait until you have a recent kernel and booted it. Upgrading glibc will python (and emerge is in python)"
I've interpreted this as saying the use of portage should be kept to a minimum until the system is running under the new kernel.

/etc/modules.autoload.d/kernel-2.6 is currently empty

/etc/kboot.conf:
Code:
#default=Gentoo
#timeout=10

Gentoo1='sdd2:/boot/vmlinux-2.6.30-gentoo-r21 root=/dev/sdd2 video=ps3fb:mode:3 rhgb'
Gentoo2='sdd2:/boot/vmlinux-2.6.30-gentoo-r21 root=/dev/sdd2'
Gentoo3='/boot/vmlinux-2.6.30-gentoo-r2 root=UUID=5168015b-a12f-4c89-887e-58d30b6270bc'


/etc/fstab:
Code:

/dev/sdd2      /      ext3      noatime      0 1
/dev/ps3da2      none      swap      sw      0 0
#/dev/ps3vram      none      swap      sw      0 0

shm         /dev/shm   tmpfs      nodev,nosuid,noexec   0 0
proc                    /proc           proc            defaults        0 0
none            /spu    spufs   defaults    0 0


/etc/make.conf:
Code:
CHOST="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=cell -mabi=altivec"
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j2"
ACCEPT_KEYWORDS="~ppc64"

USE="altivec gsl cblas ps3 subversion wifi -qt -qt3 -qt4 -kde -kde4 -gnome"

VIDEO_CARDS="fbdev"
INPUT_DEVICES="evdev mouse keyboard joystick"


GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo "


/usr/src/linux/.config: http://pastebin.com/m80a319a

Preemptive Thanks,
- R. J. Heywood
Back to top
View user's profile Send private message
rjh
n00b
n00b


Joined: 08 Oct 2008
Posts: 25

PostPosted: Tue Jul 07, 2009 1:37 pm    Post subject: Reply with quote

okay then, does anyone have a working ppc64 2.6.30-r2 kernel config so we could maybe rule the kernel out as the culprit?
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1423
Location: /uk/sheffield

PostPosted: Tue Jul 07, 2009 2:34 pm    Post subject: Reply with quote

I've been going through an install myself recently (see write-up although by the sounds of it you're mostly there already).

At the moment I've been unable to get a working recent kernel >2.6.30 (in fact I've not been able to succesfully roll my own yet!).

User antonlacon has posted in this thread links to his (working) kernel-2.6.29-gentoo-r5 configs, although as I say I've been unable to get those work with 2.6.29 or anything else newer. anotonlacon says he'll update these when he has the time (see post at tope of page 21 in that thread).

The maintainer of petitboot and the cell arm in the Gentoo overlay also advised that I could use...

Code:

make ps3_defconfig


...to get a base kernel that works, but again that hasn't worked for me yet (haven't had time to work on things much of late though). Both methods when I reboot result in blank screen after selecting the new kernel from petitboot.

I'm keen to get a new kernel and bluetooth support (so I can use a Keysonic 540BT Mini Wireless Keyboard with it and free up the USB ports for other peripherals.

If I get a working config I'll post it up, but would be keen to know if you beat me to it :wink:

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
rjh
n00b
n00b


Joined: 08 Oct 2008
Posts: 25

PostPosted: Thu Jul 09, 2009 10:37 am    Post subject: Reply with quote

Thanks for the input, I'll give it another look later today. I'm sceptical of the default config working off the bat as I've partitioned the system in ext3 and the default config file seems to include ext3 support as a module. I don't think it'll work unless the module is a part of an initramfs file. I'm also thinking of installing the system on the internal hard drive instead of on an external drive. I think petitboot might be having a problem loading from a usb drive.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1423
Location: /uk/sheffield

PostPosted: Thu Jul 09, 2009 11:06 am    Post subject: Reply with quote

Not a problem.

I wondered about modules as I prefer to have everything compiled into the kernel, and antonlacon indicated in the linked thread that they think that the only thing that has to be a module is PS3VRAM (see post on pg 20 @ Wed Jun 10, 2009 2:08 am), and if correct then having ext3 filesystems shouldn't be a problem.

Not sure about petitboot, but if its listing your external USB drive as a bootable option in the screen I don't know why it might not work (although it could be a problem with USB drivers in the kernel being required but not available or something).

I replaced the 80Gb and grabbed a 500Gb 2.5" drive (make sure its only 9mm thick) instead. Backed up PS3 install first and after restoring partitioned 10Gb for the PS3 OS and left the rest for the Linux install, got a caddy for the 80Gb and use it for backing up games I've purchased under the PS3 OS ('cause 10Gb ain't that much space really).
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
rjh
n00b
n00b


Joined: 08 Oct 2008
Posts: 25

PostPosted: Thu Jul 09, 2009 1:53 pm    Post subject: Reply with quote

I've looked at the usb drivers in the kernel config and it turns out they were being compiled as modules. changing the setting to compiled directly into the kernel has changed the behaviour. The display now presents a black screen instead of a no signal message. However, it goes no further than that. Interestingly, when the new kernel is placed on the internal hdd with the root parameter set to /dev/ps3da1 it is able to boot the gentoo system left there from a very old stage4 install.
Therefore, copying the system to the internal hdd would work, but ideally I need this on an external hdd.
I have noticed the usb devices seem to power down between selecting the boot option and the operating system loading. Perhaps the kernel is attempting to mount the root file system while the hdd is powered down?

Ignore this:[s]EDIT:
It seems the above is the case. When I boot the new kernel with the old stage4's initrd file pointed to the new installation it complains that the root device does not exist. If i leave it a few seconds I can specify the root device again and it boots happily. Im going to make an initramfs file that'll do the waiting and maybe load that ps3vram module while its at it.[/s]


My mistake. seems it was still running the old kernel. Under the new kernel it complains that /dev/sdd2 is an invalid block device.
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
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