Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
software-based "DEFAULT CATCH" boot error [SOLVED]
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
NamfFohyr
n00b
n00b


Joined: 18 Nov 2005
Posts: 19
Location: Alberta, Canada

PostPosted: Wed Jun 27, 2007 7:42 pm    Post subject: software-based "DEFAULT CATCH" boot error [SOLVED] Reply with quote

hello:

i had previously got this PowerMac G4 (450 MHz) running Gentoo, all the way to the point of having a working window manager.

i remember needing to modify my yaboot.conf a little bit to get it booting correctly (it didn't fail with errors, though, it just wouldn't recognize the boot volume -- flashing question mark). i don't remember what i did exactly, but it amounted to giving OpenFirmware explicit directions.

then i messed it up (here) and i haven't been able to boot correctly since then. i can boot alright with the LiveCD.

it will give me the 'l for linux, c for cdrom, o for OpenFirmware' menu (stage 1 of the boot) but it fails at stage 2. it goes back to stage 1, in a sort of loop. when it finally leaves this loop, it give the error message: DEFAULT CATCH!, code=300 @ 0:ff80ace0 1:0000b030. (i jotted the hex down quickly; there could be typos there)

thinking this was a kernel problem, i used genkernel to produce a LiveCD-like kernel, and modified yaboot.conf accordingly. still, no dice.

if i boot into OpenFirmware and go:
Code:
 setenv boot-device hd:4,\\:yaboot
 mac-boot
it gives me the same error message.

here's my (de-commented) yaboot.conf: does anyone see what i'm doing wrong (this is with the genkernel version)
Code:

enablecdboot
enableofboot

boot=/dev/hda2
#device=/pci@f2000000/pci-bridge@d/mac-io@7/ata-4@1f000/disk@0
device=hd:
partition=4

delay=10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-genkernel-ppc-2.6.20-gentoo-r5
        label=Gentoo-genkernel
        root=/dev/ram0
        partition=4
        initrd=/boot/initramfs-genkernel-ppc-2.6.20-gentoo-r5
        read-only

and here's the fstab:
Code:

/dev/hda2               /boot           ext2            noauto,noatime  1 2
/dev/hda3               none            swap            sw              0 0
/dev/hda4               /               ext3            noatime         0 1
/dev/cdrom              /mnt/cdrom      auto            noauto,user     0 0
/dev/fd0                /mnt/floppy     auto            noauto,user     0 0
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
proc                    /proc           proc            nodev,nosuid,noexec     0 0

the fstab didn't have the floppy, the first time. could it be buggering things up, if i didn't get that /dev path correct for it?

ry


Last edited by NamfFohyr on Thu Jun 28, 2007 10:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
NamfFohyr
n00b
n00b


Joined: 18 Nov 2005
Posts: 19
Location: Alberta, Canada

PostPosted: Thu Jun 28, 2007 4:54 pm    Post subject: now booting Reply with quote

Quote:

the fstab didn't have the floppy, the first time. could it be buggering things up, if i didn't get that /dev path correct for it?


i commented-out the line for the floppy in the fstab.

there are still boot-time errors (udev is complaining) when using my stripped-down kernel. the genkernel version complains that it can't find a root file system, but if i point it to the right partition, everything seems correct. i do get a warning that there's no ext2 file system on hda2 and to check that.

so i'm still not 'caught up' but i can boot, get ethernet (with the genkernel version) and emerge things.
Back to top
View user's profile Send private message
NamfFohyr
n00b
n00b


Joined: 18 Nov 2005
Posts: 19
Location: Alberta, Canada

PostPosted: Thu Jun 28, 2007 10:03 pm    Post subject: Reply with quote

okay, i didn't read the instructions very well, especially for the genkernel boot.

i commented out the line for /dev/hda2 (bootstrap) in the fstab, and added the line:
append="real_root=/dev/hda4 init=linuxrc"
to the genkernel image, at the end of yaboot.conf. and ran ybin -v.

and now it boots! my problems with my minimal kernel are now entirely my own doing, because the genkernel one works fine.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Jun 29, 2007 3:03 pm    Post subject: Reply with quote

Most likely you compiled for the wrong machine type. This is the most common reason for getting the "Default Catch" error message on boot. If you can't figure it out, feel free to post your kernel config and we'll see if we can fix it for you. Glad you got it working!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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