Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 08:40:40 -0500
From:      Suleiman Souhlal <refugee@segfaulted.com>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Alu Powerbook
Message-ID:  <20040209084040.6718d16e@zZzZ.segfaulted.com>
In-Reply-To: <402740C9.1050506@freebsd.org>
References:  <20040206000245.20a84f0c@zZzZ.segfaulted.com> <40232DA3.5090508@freebsd.org> <20040206013218.4eb1cd37@zZzZ.segfaulted.com> <40235C60.9010509@freebsd.org> <20040206115743.2f6ad7af@zZzZ.segfaulted.com> <402450B7.9030106@freebsd.org> <20040208224036.6f1fb172@zZzZ.segfaulted.com> <402731BD.3070703@freebsd.org> <20040209023918.079ec9f5@zZzZ.segfaulted.com> <402740C9.1050506@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Mon__9_Feb_2004_08_40_40_-0500_=y+30wncpapP//HF
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi!
On Mon, 09 Feb 2004 18:11:53 +1000
Peter Grehan <grehan@freebsd.org> wrote:
>   My only guess is that the user program may have corrupted code
> and is sitting in a tight loop. I thought this may be due to
> L3 cache problems, but it also occurs on systems that don't have
> any L3 cache (e.g. ibook).

  After a long night of compiling the kernel countless times, I have
found what was wrong. The TDF_NEEDRESCHED flag kept being set to the
init thread, which, to my understanding, shouldn't happen, as it runs in
the userland. The (very simple) patch is attached. I can now get to
multi-user.

  Suleiman Souhlal

--Multipart=_Mon__9_Feb_2004_08_40_40_-0500_=y+30wncpapP//HF
Content-Type: application/octet-stream;
 name="intr_machdep.c.diff"
Content-Disposition: attachment;
 filename="intr_machdep.c.diff"
Content-Transfer-Encoding: base64

SW5kZXg6IGludHJfbWFjaGRlcC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9ob21lL25jdnMvc3Jj
L3N5cy9wb3dlcnBjL3Bvd2VycGMvaW50cl9tYWNoZGVwLmMsdgpyZXRyaWV2aW5nIHJldmlzaW9u
IDEuMwpkaWZmIC1jIC1yMS4zIGludHJfbWFjaGRlcC5jCioqKiBpbnRyX21hY2hkZXAuYwkxNyBO
b3YgMjAwMyAwNjoxMDoxNSAtMDAwMAkxLjMKLS0tIGludHJfbWFjaGRlcC5jCTkgRmViIDIwMDQg
MTM6MzI6NDYgLTAwMDAKKioqKioqKioqKioqKioqCioqKiAyNzYsMjgyICoqKioKICAKICAJaWgg
PSAoc3RydWN0IGludHJfaGFuZGxlciAqKWNvb2tpZTsKICAKISAJZXJyb3IgPSBpdGhyZWFkX3Nj
aGVkdWxlKGloLT5paF9pdGhkLCAwKTsKICAKICAJaWYgKGVycm9yID09IEVJTlZBTCkKICAJCWlu
dHJfc3RyYXlfaGFuZGxlcihpaCk7Ci0tLSAyNzYsMjgyIC0tLS0KICAKICAJaWggPSAoc3RydWN0
IGludHJfaGFuZGxlciAqKWNvb2tpZTsKICAKISAJZXJyb3IgPSBpdGhyZWFkX3NjaGVkdWxlKGlo
LT5paF9pdGhkLCAxKTsKICAKICAJaWYgKGVycm9yID09IEVJTlZBTCkKICAJCWludHJfc3RyYXlf
aGFuZGxlcihpaCk7Cg==

--Multipart=_Mon__9_Feb_2004_08_40_40_-0500_=y+30wncpapP//HF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040209084040.6718d16e>