Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yaboot hang loading kernel (new world g3)
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
progman32
n00b
n00b


Joined: 16 Aug 2006
Posts: 50

PostPosted: Sat Mar 15, 2008 5:59 am    Post subject: Yaboot hang loading kernel (new world g3) Reply with quote

So I have this old G3 iMac that I'm trying to get working. The installation is done, the only thing left to do is to get the freaking thing to boot. I installed yaboot using yabootconfig as per the instructions. When I boot the mac, it gets as far as "Please wait, loading kernel..." and halts. No messages. Nothing. I recompiled yaboot (1.3.14) and the kernel. I tried using the kernel that came with the livecd. Nothing, still hangs at the exact same spot. The livecd works fine.

Any pointers?
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sat Mar 15, 2008 1:21 pm    Post subject: Reply with quote

kernel 2.6.23 ?
Back to top
View user's profile Send private message
progman32
n00b
n00b


Joined: 16 Aug 2006
Posts: 50

PostPosted: Sat Mar 15, 2008 9:08 pm    Post subject: Reply with quote

2.6.23, 2.6.19-r5 (both compiled myself and copied from boot disk)

Also:

root: /dev/hda5
bootstrap: /dev/hda2

yaboot.conf:
Code:

boot=/dev/hda2
device:/pci@80000000/mac-io@10/ide@20000/disk@0:
partition=5
root=/dev/hda5
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/apple
label=Linux
read-only


(this is transcribed by hand, I may have the wrong number of zeroes in the PCI offset).

Root partition was reiserfs, changing to ext3 to see if that's the problem. I'll follow up.

EDIT: I cleared the prom, it made the thing complain about a corrupted filesystem or somesuch. But that stopped upon re-running yabootconfig. Now it's back to the same problem.

EDIT2: ext3 not the problem.
Back to top
View user's profile Send private message
bmaass
n00b
n00b


Joined: 15 Mar 2008
Posts: 25

PostPosted: Mon Mar 17, 2008 10:15 am    Post subject: Reply with quote

I'm booting from ReiserFS too, here's my yaboot.conf:
Code:
boot=/dev/sda2
ofboot=/ht@0,f2000000/pci@9/k2-sata-root@c/k2-sata@0/disk@0:2
device=/ht@0,f2000000/pci@9/k2-sata-root@c/k2-sata@0/disk@0:

delay=5
defaultos=linux
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.24-r3
        label=Linux
        root=/dev/sda4
        partition=4
        read-only

image=/boot/safe-2.6.24-r2
        label=Safe
        root=/dev/sda4
        partition=4
        read-only

enablecdboot
enableofboot

macosx=/ht@0,f2000000/pci@9/k2-sata-root@c/k2-sata@0/disk@0:6
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Mon Mar 17, 2008 10:43 am    Post subject: Reply with quote

@progman32

it happens something similar to an old ppc603/4 powermac model 4400 that wants boot from ata (with yaboot/linux it hangs up "loading kernel ....", as you have described). So ata booting suxs while scsi booting has success. Netbsd has success in booting from ATA and from SCSI both: WOW
(4400 has been called "old world" machine, but it is a lie, even if it is not correct to call it "new world machine" ... it is particular 'cause it is able to boot without the need of any macOS9)

However, I'm now a bit of topic talking about an older powermac than yours; the message is: i suggest you to google around to understand if your model has this issue, in case, you could consider to boot from scsi, as i did to fix my problem.

good luck
Back to top
View user's profile Send private message
progman32
n00b
n00b


Joined: 16 Aug 2006
Posts: 50

PostPosted: Mon Mar 17, 2008 6:44 pm    Post subject: Reply with quote

Thanks for the tip. Unfortunately, I have no SCSI drives on hand. I will google later. I have tried installing Ubuntu Desktop on it, in hopes of it installing a Yaboot I can commandeer to use for Gentoo. Unfortunately, at some point during live cd startup, it turns off the screen and turns the power light yellow. It's still alive, I can hear it seeking around on the CD, but no graphical output. Oh well...
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