Gentoo Archives: gentoo-ppc-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!
Date: Thu, 23 Sep 2010 16:18:15
Message-Id: AANLkTinZWyqZidZJdu6Difr3q-aVKZVQHEeWhemD6f9S@mail.gmail.com
In Reply to: Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?! by Joseph Jezak
1 On Thu, Sep 23, 2010 at 7:10 AM, Joseph Jezak <josejx@g.o> wrote:
2 <SNIP>
3 >
4 > mtab is generated on boot as you mount devices. It's not the problem here.
5 >
6 > Can you try adding this line to your yaboot config? It will make the
7 > system boot directly into a shell instead of starting init:
8 > ### Put this in the kernel section
9 > append="init=/bin/bash"
10 >
11 > Once this boots, does hda* exist in /dev? How about /dev/null and /dev/zero?
12 >
13 > -Joe
14
15 OK, so I did it like this:
16
17 boot=/dev/hda2
18 #device=/pci@f4000000/ata-6@d/disk@0:
19 device=hd:
20 timeout=30
21 install=/usr/lib/yaboot/yaboot
22 magicboot=/usr/lib/yaboot/ofboot
23
24 image=/boot/kernel-2.6.34-gentoo-r1
25 label=Gentoo-2.6.34-r1
26 append="init=/bin/bash"
27 partition=4
28 root=/dev/hda4
29 read-only
30
31 and ran ybin -v
32
33 When I reboot I have no keyboard and cannot probe around. The screen is showing
34
35 (none) / #
36
37 The kernel boots with printk timing info on each line, and then
38 finishes with two messages:
39
40 bash: cannot set terminal process group (-1): Inappropriate ioctl for device
41 bash: no job control in this shell
42
43 and at that point the machine is hung.
44
45 So this seems like it's just not finding the hardware at this point?
46 No disk? No keyboard?
47
48 If you want to see the whole screen I can post another screen shot on Flickr.
49
50 Thanks for the interest and help. I'm sure we'll figure it out.
51
52 - Mark

Replies

Subject Author
Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?! Joseph Jezak <josejx@g.o>