From owner-freebsd-mips@FreeBSD.ORG Wed Apr 6 21:25: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 4F6E91065676 for ; Wed, 6 Apr 2011 21:25:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0ADDC8FC15 for ; Wed, 6 Apr 2011 21:25:14 +0000 (UTC) Received: from [10.30.101.53] ([209.117.142.2]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id p36LGPTa007544 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Wed, 6 Apr 2011 15:16:28 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 6 Apr 2011 15:16:19 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Andrew Duane X-Mailer: Apple Mail (2.1082) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Wed, 06 Apr 2011 15:16:28 -0600 (MDT) 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: Wed, 06 Apr 2011 21:25:15 -0000 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: >=20 > 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=3Dmips to TARGET_ARCH=3Dmips64eb. 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: >=20 > panic: sched_priority: invalid priority 231: nice 0, ticks 1955000 = ftick 14022821 ltick 14023821 tick pri 59 >=20 > 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