Gentoo Archives: gentoo-dev

From: 320095285153-0001@t-online.de (Achim Gottinger)
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Gentoo RC3 kernel booting with AMD K6
Date: Tue, 09 Jan 2001 10:16:21
Message-Id: 3A5B40C4.27281EF6@gottinger.de
In Reply to: Re: [gentoo-dev] Gentoo RC3 kernel booting with AMD K6 by drobbins@gentoo.org
1 drobbins@g.o wrote:
2
3 > On Tue, Jan 09, 2001 at 08:39:45AM +0100, Achim Gottinger wrote:
4 >
5 > > I tested to install on a K6 yesterday too. The bootcd freezes after linuxrc
6 > > is finished So init gets not started. I compiled everything here with
7 > > -mpentium not -mpentiumpro, so the optimization can not be the cause for
8 > > that. The tarnge thing is that older versions of gentoo worked fine on K6/2
9 > > machines here.
10 >
11 > Achim, remember that if for some reason the kernel is not compatible with the
12 > K6, /sbin/init will crash the first time it makes a call to an incompatible
13 > kernel function. Maybe a good test would be to boot and run /bin/bash first
14 > rather than init to make sure everything works.
15
16 I tried a statically -m486 compiled init instead of the dynamic!! -mpentium
17 optimized one.
18 And saw the first "INIT ...." line then it freezes. I tried to use bash
19 (statically linked) instead
20 and it did not work. :-/.
21 I tried a kernel kompiled with -m486 without success.
22
23 > If everything works (ls, man,
24 > etc) then it might be /sbin/init. I see no special reason why init should
25 > be having problems and I'd guess that "pentiumpro" kernel optimizations are not
26 > compatible with the K6. You can test this by passing the init=/bin/bash option
27 > on the GRUB command line:
28
29 > In GRUB, (e)dit, goto line you want to change, (e)?edit, add "init=/bin/bash",
30 > hit enter, then (b)oot. I think that's how you do it.
31
32 This works for init but init=/linuxrc (as it is in the current bootdisk) does not
33 work! I tried init=/linuxrc2 once without success.
34 Take a look at /usr/src/linux/init/main.c
35 At the end of the function "do_basic_setup" is the call to /linuxrc so this is
36 hardcoded.
37 The calls to init are at the end of main().
38
39 >
40 >
41 > Thanks for looking into it,
42 >
43 > --
44 > Daniel Robbins <drobbins@g.o>
45 > President/CEO http://www.gentoo.org
46 > Gentoo Technologies, Inc.
47 > _______________________________________________
48 > gentoo-dev mailing list
49 > gentoo-dev@g.o
50 > http://www.gentoo.org/mailman/listinfo/gentoo-dev

Replies