Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: 320095285153-0001@... (Achim Gottinger)
Subject: Re: Gentoo RC3 kernel booting with AMD K6
Date: Tue, 09 Jan 2001 17:48:04 +0100
drobbins@g.o wrote:

> On Tue, Jan 09, 2001 at 08:39:45AM +0100, Achim Gottinger wrote:
>
> > I tested to install on a K6 yesterday too. The bootcd freezes after linuxrc
> > is finished So init gets not started.  I compiled everything here with
> > -mpentium not -mpentiumpro, so the optimization can not be the cause for
> > that. The tarnge thing is that older versions of gentoo worked fine on K6/2
> > machines here.
>
> Achim, remember that if for some reason the kernel is not compatible with the
> K6, /sbin/init will crash the first time it makes a call to an incompatible
> kernel function.  Maybe a good test would be to boot and run /bin/bash first
> rather than init to make sure everything works.

I tried a statically -m486 compiled init instead of the dynamic!! -mpentium
optimized one.
And saw the first "INIT ...." line then it freezes. I tried to use bash
(statically linked) instead
and it did not work. :-/.
I tried a kernel kompiled with -m486 without success.

>  If everything works (ls, man,
> etc) then it might be /sbin/init.  I see no special reason why init should
> be having problems and I'd guess that "pentiumpro" kernel optimizations are not
> compatible with the K6.  You can test this by passing the init=/bin/bash option
> on the GRUB command line:

> In GRUB, (e)dit, goto line you want to change, (e)?edit, add "init=/bin/bash",
> hit enter, then (b)oot.  I think that's how you do it.

This works for init but init=/linuxrc (as it is in the current bootdisk) does not
work! I tried init=/linuxrc2 once without success.
Take a look at /usr/src/linux/init/main.c
At the end of the function "do_basic_setup" is the call to /linuxrc so this is
hardcoded.
The calls to init are at the end of main().

>
>
> Thanks for looking into it,
>
> --
> Daniel Robbins                                  <drobbins@g.o>
> President/CEO                                   http://www.gentoo.org
> Gentoo Technologies, Inc.
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@g.o
> http://www.gentoo.org/mailman/listinfo/gentoo-dev


Replies:
Re: Gentoo RC3 kernel booting with AMD K6
-- drobbins
References:
Gentoo RC3 kernel booting with AMD K6
-- Brian Snipes
Re: Gentoo RC3 kernel booting with AMD K6
-- Achim Gottinger
Re: Gentoo RC3 kernel booting with AMD K6
-- drobbins
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Gentoo RC3 kernel booting with AMD K6
Next by thread:
Re: Gentoo RC3 kernel booting with AMD K6
Previous by date:
Re: Gentoo RC3 kernel booting with AMD K6
Next by date:
Re: Gentoo RC3 kernel booting with AMD K6


Updated Jun 21, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.