From owner-freebsd-current Wed May 15 7:38:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id AD13D37B400; Wed, 15 May 2002 07:38:13 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4FEc7YW087819 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 15 May 2002 16:38:09 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4FEc595009997 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 15 May 2002 16:38:06 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4FEc56J009996; Wed, 15 May 2002 16:38:05 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 15 May 2002 16:38:04 +0200 From: Bernd Walter To: Dag-Erling Smorgrav Cc: alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: loader failure Message-ID: <20020515143803.GF4401@cicely5.cicely.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, May 15, 2002 at 02:22:04PM +0200, Dag-Erling Smorgrav wrote: > 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) I'm running 11th May -current with ev4 on NoName and since yesterday with ev56 on PC164. No problems with /boot/loader. On the PC164 I had an dup alloc ufs panic yesterday :( The filesystem was checked with fsck -y directly after updating. Debugging options in kernel were disabled. > 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). Some UFS2 preparation parts were commited after I checked out my source, IIRC also a part influencing loader. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message