From owner-freebsd-mips@FreeBSD.ORG Thu Apr 7 14:07:15 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE5751065673 for ; Thu, 7 Apr 2011 14:07:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3578FC16 for ; Thu, 7 Apr 2011 14:07:14 +0000 (UTC) Received: by wwk4 with SMTP id 4so5127375wwk.1 for ; Thu, 07 Apr 2011 07:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Ti6kf5rBlPGpUkK8v7X4G1Grtdgc5CiWLMpcWE+VAVI=; b=SO+qVBDS2JyIOhJA+xvY2uQsIAZvGgjvFZrolC1GwLp65msGBxLcj50ZqroR28QxXr 3YVWp4y5ThAM+6lzAa5yDDYrywaLZT6fZavDtb+tVCVVzfyh/4vwB7y1RVIIVhWS45cz rGVfS3s+mUcAd69QldO0G9F/EB8qE3b6yIbNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=IELAcczDnsiQfTvgfiRENDUdHy9nG37uW22tz84AeR8CUSKnj5TOEziCncma6GamMs 4D6Iq1Al9tnXQkm1fEB9K76YIGMgZJhEDsn0qboMuDCLTwXyXqUSwQ1Now2vSmmIFka6 WMZc9RkVcF0JVBOwyoIwrr6q+OPWhzoCOU334= MIME-Version: 1.0 Received: by 10.227.131.9 with SMTP id v9mr936844wbs.6.1302183809256; Thu, 07 Apr 2011 06:43:29 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.132.199 with HTTP; Thu, 7 Apr 2011 06:43:29 -0700 (PDT) In-Reply-To: References: Date: Thu, 7 Apr 2011 21:43:29 +0800 X-Google-Sender-Auth: lhozsfxGTqlXC8DQkKRrVhUad_I Message-ID: From: Adrian Chadd To: Andrew Duane Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "mips@freebsd.org" Subject: Re: Trouble making a filesystem X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2011 14:07:15 -0000 It's "make distribution" :-) Adrian On 7 April 2011 08:03, Andrew Duane wrote: > I was trying to follow the instructions on the MIPS wiki page, but they do > seem to be volatile. I will check my build setup tomorrow and see what I > have for TARGET and TARGET_ARCH and all. I didn't do a distribute step, I > was trying to this afternoon and it just failed completely. > > -- > Andrew Duane Juniper Networks > 978-589-0551 10 Technology Park Dr > aduane@juniper.net Westford, MA 01886-3418 > > ________________________________________ > From: Warner Losh [imp@bsdimp.com] > Sent: Wednesday, April 06, 2011 5:16 PM > To: Andrew Duane > Cc: mips@freebsd.org > Subject: Re: Trouble making a filesystem > > On Apr 6, 2011, at 2:58 PM, Andrew Duane wrote: > > > I'm having trouble making a working filesystem for my OCTEON1 kernel to > run on. I do a "buildworld", but there are three problems: > > > > 1) Most of the executables won't execute, they give "Exec format error". > The problem seems to be with dynamically linked executables. When I rebuilt > "/bin/sh" as a static executable, it worked OK. I guess I could manually fix > every Makefile to use static linking, but that seems absurd. > > I've not seen this. However, I did "recently" change the way to build mips > from TARGET_ARCH=mips to TARGET_ARCH=mips64eb. Maybe that's the issue? > > > 2) Some things aren't being populated. For example, that the only thing > in the buildworld output of etc is sendmail. In the installworld output > there are a handful of subdirectorties, but no "rc" files. > > Do you have a make distribution step in your build scripts? That's what > populates the system with most of /etc and a few other oddities... > > > 3) Eventually, the kernel tips over with: > > > > panic: sched_priority: invalid priority 231: nice 0, ticks 1955000 > ftick 14022821 ltick 14023821 tick pri 59 > > > > Any thoughts on what I'm missing? > > Haven't seen that, but I've not run FreeBSD/mips from source built newer > than mid January. Maybe that's a clue? > > Warner > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >