From owner-freebsd-alpha Wed May 15 5:22:52 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id ECBE837B40B; Wed, 15 May 2002 05:22:06 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id EE4995307; Wed, 15 May 2002 14:22:04 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: alpha@freebsd.org Cc: current@freebsd.org Subject: loader failure From: Dag-Erling Smorgrav Date: 15 May 2002 14:22:04 +0200 Message-ID: Lines: 50 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Trying to boot with a newly-built loader (make world earlier today from fresh sources) results in: FreeBSD/alpha SRM disk boot, Revision 1.2 (des@dsa.thinksec.com, Wed May 15 08:01:43 CEST 2002) Memory: 262144 k Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x283780+0x63670 / Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Entering /boot/kernel/kernel at 0xfffffc000032e740... halted CPU 0 halt code = 2 kernel stack not valid halt PC = 200000000 boot failure no matter which kernel I try to boot. Booting my new kernel with the old loader (from the DP1 dist) works fine until it tries to start init(8): spec_getpages: preposterous offset 0xfff80000f4460000 exec /sbin/init: error 5 spec_getpages: preposterous offset 0xfff800001426c000 exec /sbin/init.bak: error 5 spec_getpages: preposterous offset 0xfff80000c86c0000 exec /stand/sysinstall: error 5 init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall panic: no init panic Stopped at Debugger+0x34: zapnot v0,#0xf,v0 Booting DP1's GENERIC with the old loader and the new userland works fine. Clean tree, no funny stuff in make.conf (unless 'CPUTYPE?=ev56' counts as funny stuff) The loader problem is possibly a compiler issue (since DP1 was built with gcc 2.95 while my world was built with 3.1). The init problem is probably a UFS2 f*up; the code has obviously not been tested on a 64-bit architecture (the UFS2 stuff broke the kernel build). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message