1 |
On 09/23/10 12:17, Mark Knecht wrote: |
2 |
> On Thu, Sep 23, 2010 at 7:10 AM, Joseph Jezak <josejx@g.o> wrote: |
3 |
> <SNIP> |
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 |
> OK, so I did it like this: |
15 |
> |
16 |
> boot=/dev/hda2 |
17 |
> #device=/pci@f4000000/ata-6@d/disk@0: |
18 |
> device=hd: |
19 |
> timeout=30 |
20 |
> install=/usr/lib/yaboot/yaboot |
21 |
> magicboot=/usr/lib/yaboot/ofboot |
22 |
> |
23 |
> image=/boot/kernel-2.6.34-gentoo-r1 |
24 |
> label=Gentoo-2.6.34-r1 |
25 |
> append="init=/bin/bash" |
26 |
> partition=4 |
27 |
> root=/dev/hda4 |
28 |
> read-only |
29 |
> |
30 |
> and ran ybin -v |
31 |
> |
32 |
> When I reboot I have no keyboard and cannot probe around. The screen is showing |
33 |
> |
34 |
> (none) / # |
35 |
> |
36 |
> The kernel boots with printk timing info on each line, and then |
37 |
> finishes with two messages: |
38 |
> |
39 |
> bash: cannot set terminal process group (-1): Inappropriate ioctl for device |
40 |
> bash: no job control in this shell |
41 |
> |
42 |
> and at that point the machine is hung. |
43 |
> |
44 |
> So this seems like it's just not finding the hardware at this point? |
45 |
> No disk? No keyboard? |
46 |
> |
47 |
> If you want to see the whole screen I can post another screen shot on Flickr. |
48 |
> |
49 |
> Thanks for the interest and help. I'm sure we'll figure it out. |
50 |
> |
51 |
> - Mark |
52 |
> |
53 |
> |
54 |
Okay, that all looks fine. Are you sure that you built USB keyboard |
55 |
support into your kernel? This might be why it wouldn't let you type. I |
56 |
wouldn't mind seeing another screen shot either. Once you get keyboard |
57 |
support working, check to see if those device nodes exist. |
58 |
|
59 |
-Joe |