From owner-freebsd-ppc@FreeBSD.ORG Sat Apr 10 02:50:57 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35A9E106567C; Sat, 10 Apr 2010 02:50:57 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBC98FC0C; Sat, 10 Apr 2010 02:50:56 +0000 (UTC) Received: by bwz8 with SMTP id 8so1462145bwz.3 for ; Fri, 09 Apr 2010 19:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:cc:content-type; bh=c5yrZ6L46zplrmmvNVBiQBUWVTDAazPqTv7Jf/cUG5Q=; b=q0gXEYgXJxqKvLAUixUQkS3e5efunbUqlvY+WiwJTaGP4WTkuMW7qdrrj7STvVpj/l LQlFFOo9FRcoCB2obrrykmne4biNYuZch72GuGg1sIJed2xxgrzcwsCEgID9ACrUwULT A0IDNl22Ugy4J/FE5ppzVfjAdWR/SmYACLN98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=TKodSdvPfdEgp6cu4re9cD0RIHOfCM7GZtB3ZUy5SFQEkZEjikMIK0zluPavnDX2AX fz6BrB3Ttj1iACmd/C7PUUFg+kq5tgfKKB21rhxqytXnAGyCjaIVtYSVKqu+x09ivQZS KgLViQKpJ4IRskzsHFhl/iqonBuqtgGADMEUA= MIME-Version: 1.0 Sender: chmeeedalf@gmail.com Received: by 10.204.135.133 with HTTP; Fri, 9 Apr 2010 19:50:55 -0700 (PDT) In-Reply-To: <4BBFD278.30804@freebsd.org> References: <4BBB6DC0.3030808@freebsd.org> <4BBFD278.30804@freebsd.org> Date: Fri, 9 Apr 2010 22:50:55 -0400 X-Google-Sender-Auth: e4b17cc7ce3b4faa Received: by 10.204.19.137 with SMTP id a9mr1012289bkb.24.1270867855285; Fri, 09 Apr 2010 19:50:55 -0700 (PDT) Message-ID: From: Justin Hibbits To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD PowerPC ML Subject: Re: ppc64 snapshot X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2010 02:50:57 -0000 On Fri, Apr 9, 2010 at 9:20 PM, Nathan Whitehorn wrote: > On 04/09/10 19:54, Justin Hibbits wrote: > > On Thu, Apr 8, 2010 at 9:57 PM, Justin Hibbits wrote: > >> On Tue, Apr 6, 2010 at 1:22 PM, Nathan Whitehorn > > wrote: >> >>> Justin Hibbits wrote: >>> >>>> I just got my hands on a dual-core G5 (Late 2005), and want to throw >>>> -CURRENT on it. Is there a snapshot available with the recent ppc64 >>>> changes >>>> that I could test out? >>>> >>>> - Justin >>>> _______________________________________________ >>>> freebsd-ppc@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >>>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >>>> >>>> >>> I just finished implementing the last missing feature in the 64-bit >>> PowerPC port, and there are no more 64-bit-specific bugs that I know about. >>> Once M. Warner Losh's build system changes are in the tree, I will submit a >>> final patch set for review, and merge it to head, but the port should be >>> completely usable at this point. >>> >>> System Compatibility: >>> - Apple G5 machines >>> >>> Caveats: >>> - Do not run ofwdump on an SMP system, as it can cause hangs (also a >>> 32-bit bug) >>> - Many ports (e.g. X and GTK) need patches not currently in the ports >>> tree to compile, since this is a new platform >>> >>> Instructions: >>> svn co http://svn.freebsd.org/base/projects/ppc64 >>> cd ppc64 >>> make buildworld buildkernel installkernel installworld distribution >>> DESTDIR=/path/to/installation TARGET_ARCH=powerpc64 >>> >>> I would appreciate any feedback or tests, as well as testing on 32-bit >>> Book-E systems to make sure I did not break anything. Many thanks to Andreas >>> Tobler for his tireless testing efforts during development of this port. >>> -Nathan >>> >>> >> I've finally had a chance to test it, but it hangs with the string >> >> Kernel entry at 0x1034e0... >> >> nothing more. I tried booting verbose, but that gave nothing, it looks >> like it may not even be leaving the loader. >> >> - Justin >> > > I just tried a fresh head boot, and I got the same thing loading a ppc32 > kernel. Trying with hw.physmem=512M (the machine has 4GB physical memory) > failed as well, and loading a ppc32 kernel from loader.ppc64 same result. > Any ideas of how to continue debugging this? > > - Justin > > This sounds like an issue with syscons. Can you try setting > hw.syscons.disable=1 from the loader? That should make the kernel fall back > to the Open Firmware text console. > -Nathan > Same result, with both ppc32 and ppc64 kernels. Should I just start riddling the kernel with printf()s to track this down? - Justin