Date: Wed, 6 Apr 2011 15:16:19 -0600 From: Warner Losh <imp@bsdimp.com> To: Andrew Duane <aduane@juniper.net> Cc: "mips@freebsd.org" <mips@FreeBSD.org> Subject: Re: Trouble making a filesystem Message-ID: <C8BE6153-5861-4E54-90EC-B84A96FA9C5F@bsdimp.com> In-Reply-To: <AC6674AB7BC78549BB231821ABF7A9AEB52FBD7A34@EMBX01-WF.jnpr.net> References: <AC6674AB7BC78549BB231821ABF7A9AEB52FBD7A34@EMBX01-WF.jnpr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C8BE6153-5861-4E54-90EC-B84A96FA9C5F>