From owner-freebsd-sparc64@FreeBSD.ORG Sun Jun 13 20:31:31 2010 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A83DE106564A for ; Sun, 13 Jun 2010 20:31:31 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 37DB28FC1A for ; Sun, 13 Jun 2010 20:31:31 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id o5DKVGcg096646; Sun, 13 Jun 2010 22:31:16 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id o5DKVFkA096645; Sun, 13 Jun 2010 22:31:15 +0200 (CEST) (envelope-from marius) Date: Sun, 13 Jun 2010 22:31:15 +0200 From: Marius Strobl To: Andreas Tobler Message-ID: <20100613203115.GD68288@alchemy.franken.de> References: <4C14ED7C.2030809@fgznet.ch> <20100613191518.GA95797@alchemy.franken.de> <4C1530F1.6070207@fgznet.ch> <20100613201836.GC68288@alchemy.franken.de> <4C153F8E.1010106@fgznet.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C153F8E.1010106@fgznet.ch> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: U60 doesn't boot anymore with -CURRENT X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2010 20:31:31 -0000 On Sun, Jun 13, 2010 at 10:29:02PM +0200, Andreas Tobler wrote: > On 13.06.10 22:18, Marius Strobl wrote: > >On Sun, Jun 13, 2010 at 09:26:41PM +0200, Andreas Tobler wrote: > >>On 13.06.10 21:15, Marius Strobl wrote: > >>>On Sun, Jun 13, 2010 at 04:38:52PM +0200, Andreas Tobler wrote: > >>>>Hi, > >>>> > >>>>my gecko testmachine refuses to boot with -CURRENT. > >>>> > >>>>Here the verbose part of the messages: > >>>> > >>>>--- > >>>>FreeBSD 9.0-CURRENT #0 r209123M: Sun Jun 13 14:07:28 CEST 2010 > >>>> > >>>> andreast@u60.andreas.nets:/usr/obj/export/devel/src/sys/GENERIC > >>>> sparc64 > >>>>Preloaded elf kernel "/boot/kernel/kernel" at 0xc0bbc000. > >>>>real memory = 1610612736 (1536 MB) > >>>>avail memory = 1554571264 (1482 MB) > >>>>machine: SUNW,Ultra-60 > >>>>cpu0: Sun Microsystems UltraSparc-II Processor (449.99 MHz CPU) > >>>> mask=0xa0 maxtl=5 maxwin=7 > >>>>initalizing intr_countp > >>>>--- > >>>> > >>>>And here it hangs. > >>>> > >>>>Any idea on hwat is going wrong? > >>>> > >>> > >>>Nothing obvious as no sparc64 specific changes went in lately. > >>>If you use a kernel built with options ALT_BREAK_TO_DEBUGGER, > >>>can you break into the debugger via the alternate break sequence > >>>on the serial console and get backtrace when it hangs? What is > >>>the last known working revision? Can you bisect which revsion > >>>triggers the problem? > >> > >>I tracked it down to r207537, especially mp_locore.S. > >>If I use r207536 from mp_locore.S then my machine boots again. > >> > > > >Ah, that revision fails to update one branch. Could you please > >give the attached patch a try with current sources? > > Well, there is/was no patch attached. I hope it goes in the direction I > discovered ? > Oops, sorry; yes both patches are identical. Marius