From owner-freebsd-mips@FreeBSD.ORG Tue Nov 11 12:24:33 2003 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 6A59B16A4CF; Tue, 11 Nov 2003 12:24:33 -0800 (PST) Date: Tue, 11 Nov 2003 14:24:33 -0600 From: Juli Mallett To: freebsd-mips@FreeBSD.org Message-ID: <20031111142433.A9560@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Title: Code Maven X-Towel: Yes X-Negacore: Yes X-Authentication-Warning: localhost: juli pwned teh intarweb Subject: A note about status. X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 20:24:33 -0000 Heya, I've been very busy with job, moving to Hawai`i, etc., but I've had some time recently to work on FreeBSD/MIPS again. I've fixed some very dumb bugs, and gotten the TLB, etc., stuff working fairly well. Still kernel only, but I've got plans for how the code would need to change for user space, not at it matters yet. Currently getting to SI_SUB_CREATE_INIT, blowing up from a self-positioned pmap_pinit() panic. If I remove it, it blows up for confuddling reasons not long after. The toolchain probably doesn't build right now, but I intend to look at fixing that. The main problem is that BU/GCC changes haven't been caught up with at all by me. I need to synch the FSF files and catch my configurations up as necessary. I've still not touched loader stuff, it seems like an easy way to waste a lot of time right now, and I'd rather get things solid than fight that mess. I'm doing all this on my R4400 Indigo2's. I've seen some weird stuff with my Indy, but that may have been related to a dumb mistake in the TLB refill code I fixed last night. Either than, or the R4600 is just unsuitable for running with the KX bit set (extended kernel mode - 64 bit address space). I have other hardware on the way, and intend to get an O2 to play with, too. I'd like to keep things inclusive from an early stage, and not make any assumptions that might bite me badly. The other hardware on the way isn't something SGI :) Anyone interested in helping out is welcome to, I'm even willing to put in time to make my Perforce tree available to the outside (non-FreeBSD) world, if there's enough interest, or help out in other ways. Questions welcome :) Thanx, juli. -- juli mallett. email: jmallett@freebsd.org; efnet: juli; aim: bsdflata; the finer things keep shining through the way my soul gets lost in you From owner-freebsd-mips@FreeBSD.ORG Tue Nov 11 13:04:14 2003 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8995316A4CE; Tue, 11 Nov 2003 13:04:14 -0800 (PST) Received: from mail.linux-mips.net (p508B68E7.dip.t-dialin.net [80.139.104.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE3AB43FF5; Tue, 11 Nov 2003 13:04:07 -0800 (PST) (envelope-from ralf@linux-mips.org) Received: from dea.linux-mips.net (localhost [127.0.0.1]) by mail.linux-mips.net (8.12.8/8.12.8) with ESMTP id hABL46A0017035; Tue, 11 Nov 2003 22:04:06 +0100 Received: (from ralf@localhost) by dea.linux-mips.net (8.12.8/8.12.8/Submit) id hABL45D8017034; Tue, 11 Nov 2003 22:04:05 +0100 Date: Tue, 11 Nov 2003 22:04:05 +0100 From: Ralf Baechle To: Juli Mallett Message-ID: <20031111210405.GA16834@linux-mips.org> References: <20031111142433.A9560@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031111142433.A9560@FreeBSD.org> User-Agent: Mutt/1.4.1i cc: freebsd-mips@FreeBSD.org Subject: Re: A note about status. X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 21:04:14 -0000 Juli, On Tue, Nov 11, 2003 at 02:24:33PM -0600, Juli Mallett wrote: > I'm doing all this on my R4400 Indigo2's. I've seen some weird stuff > with my Indy, but that may have been related to a dumb mistake in the > TLB refill code I fixed last night. The R4600 only has a 5 stage pipeline unlike the R4400's 8 stages which means most hazards are shorter or do not exist on the R4600 - but not all of them. Some pre-historic, somewhat over-agressive version of the Linux TLB refill handlers got shot down by the tiny differences between the R4000 v2.2 and v3.0 differences, since then I'm behaving like a burned child ;-) > Either than, or the R4600 is just > unsuitable for running with the KX bit set (extended kernel mode - 64 > bit address space). I have other hardware on the way, and intend to > get an O2 to play with, too. I'd like to keep things inclusive from > an early stage, and not make any assumptions that might bite me badly. > The other hardware on the way isn't something SGI :) I can assure you the R4600 is running with KX just fine. > Anyone interested in helping out is welcome to, I'm even willing to put > in time to make my Perforce tree available to the outside (non-FreeBSD) > world, if there's enough interest, or help out in other ways. Questions > welcome :) For curiosity sake I'd be interested. Ralf From owner-freebsd-mips@FreeBSD.ORG Tue Nov 11 15:28:25 2003 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 52B1F16A4CF; Tue, 11 Nov 2003 15:28:25 -0800 (PST) Date: Tue, 11 Nov 2003 17:28:25 -0600 From: Juli Mallett To: Ralf Baechle Message-ID: <20031111172825.A32024@FreeBSD.org> References: <20031111142433.A9560@FreeBSD.org> <20031111210405.GA16834@linux-mips.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031111210405.GA16834@linux-mips.org>; from ralf@linux-mips.org on Tue, Nov 11, 2003 at 10:04:05PM +0100 X-Title: Code Maven X-Towel: Yes X-Negacore: Yes X-Authentication-Warning: localhost: juli pwned teh intarweb cc: freebsd-mips@FreeBSD.org Subject: Re: A note about status. X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 23:28:25 -0000 * Ralf Baechle [ Date: 2003-11-11 ] [ w.r.t. Re: A note about status. ] > Juli, > > On Tue, Nov 11, 2003 at 02:24:33PM -0600, Juli Mallett wrote: > > > I'm doing all this on my R4400 Indigo2's. I've seen some weird stuff > > with my Indy, but that may have been related to a dumb mistake in the > > TLB refill code I fixed last night. > > The R4600 only has a 5 stage pipeline unlike the R4400's 8 stages which > means most hazards are shorter or do not exist on the R4600 - but not > all of them. > > Some pre-historic, somewhat over-agressive version of the Linux TLB refill > handlers got shot down by the tiny differences between the R4000 v2.2 > and v3.0 differences, since then I'm behaving like a burned child ;-) Hmmm, fun. I don't know my history as well as I should, I'm going to make a lot of mistakes I shouldn't, I'm sure. In any case, still a few hours of work before I can get along home and see if the TLB refill fix was enough to fix it. I was seeing something odd with badvaddr being a garbage value (0x10, or so), but that could be an artifact of my XTLB refill being broken, in interesting ways :) > > Either than, or the R4600 is just > > unsuitable for running with the KX bit set (extended kernel mode - 64 > > bit address space). I have other hardware on the way, and intend to > > get an O2 to play with, too. I'd like to keep things inclusive from > > an early stage, and not make any assumptions that might bite me badly. > > The other hardware on the way isn't something SGI :) > > I can assure you the R4600 is running with KX just fine. OK, good to know. > > Anyone interested in helping out is welcome to, I'm even willing to put > > in time to make my Perforce tree available to the outside (non-FreeBSD) > > world, if there's enough interest, or help out in other ways. Questions > > welcome :) > > For curiosity sake I'd be interested. Alright, let me see what kind of time I can put into it :) -- juli mallett. email: jmallett@freebsd.org; efnet: juli; aim: bsdflata; the finer things keep shining through the way my soul gets lost in you