From owner-freebsd-ppc@freebsd.org Mon Sep 5 08:25:23 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C124A9D34A for ; Mon, 5 Sep 2016 08:25:23 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5450B6DE for ; Mon, 5 Sep 2016 08:25:23 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-oi0-x235.google.com with SMTP id y2so18783210oie.0 for ; Mon, 05 Sep 2016 01:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fDd8os/lCFcOtHJue3JKPrG5xCoLGlmrZdl/h5fOvVk=; b=VH1XKNdWpLaVz4DblkBwx2lYDAbF6gcEud22MBn6odBVKFArEd7A3HlfDAsNlkPECW YNsLuHcrXG6izE0BEyJMbjo2fXDDVHamSVxEtqAI5JbNW/Hy4TNGcRoIL23g8jnvpnm3 7VxnKrXhe5n+NpkPD4NIxZ5LnwHFt94InWAmg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fDd8os/lCFcOtHJue3JKPrG5xCoLGlmrZdl/h5fOvVk=; b=Aephj2kUuXsYxOM3MDeyRCvVZxE6yNDt8vEY5lkbX/3MGS4Sm/GxphVsWYi81Wes7J V7ZklXhJPw0P/GJ4XH2JImtkvURJ2n7S9sZx/NviIdwN4BInlzJ8FwOzN0Uhw2COUrB5 S08dJjj2f5cRHUbBzFLarB9DWxSK+FaODB28dWS0Mot6MktMtwpyapf6s+hNu8+RyC8Z uhMVB8jVv0lgoRSXp5r9ofzgnKiPVA6Y90amz+hZniFTDwq4CruPkmNCI/K/C9VzXAey g89rZ8u1gHc1M8meAuqZsSVCjDvSOu927GV3Bz7yDsgs03UOS+/tGestJfcPSzFzhXk9 wq8w== X-Gm-Message-State: AE9vXwP7sGWvanavN9U6CmwCd0s3f9vJba+J1xaPXj9bLWK0D3v4l9IwG+kRl78zJGLauumXHVbSSxe7LH0f3Q== X-Received: by 10.157.27.151 with SMTP id z23mr29870143otd.72.1473063922435; Mon, 05 Sep 2016 01:25:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.36.1 with HTTP; Mon, 5 Sep 2016 01:25:21 -0700 (PDT) In-Reply-To: <880f0193-d839-61d4-627a-2b0fe1d40938@freebsd.org> References: <880f0193-d839-61d4-627a-2b0fe1d40938@freebsd.org> From: Kevin Bowling Date: Mon, 5 Sep 2016 01:25:21 -0700 Message-ID: Subject: Re: Booting -CURRENT on VIOS To: Nathan Whitehorn Cc: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2016 08:25:23 -0000 Hi, Can I change that address in ofw or in the loader for testing? 0 > printenv real-base -------------- Partition: common -------- Signature: 0x70 --------------- real-base c00000 c00000 ok 0 > printenv load-base -------------- Partition: common -------- Signature: 0x70 --------------- load-base 4000 4000 ok Regards, On Sun, Sep 4, 2016 at 3:01 AM, Nathan Whitehorn wrote: > OK, so it looks like the fixed address at which loader wants to run is > unavailable. Can you do these two commands as well: > printenv real-base > printenv load-base > > Then I'll try to think of a workaround. > -Nathan > > > On 09/04/16 02:03, Kevin Bowling wrote: > > Sure, > > 0 > dev /memory ok > 0 > .properties > name memory > device_type memory > reg 00000000 00000000 00000000 08000000 > available 00000000 00004000 00000000 001fc000 00000000 > 0021d058 00000000 00010000 > 00000000 00242bfc 00000000 009bd404 00000000 > 02261000 00000000 05d9f000 > #address-cells 00000001 > #size-cells 00000000 > ibm,phandle fffffffa > ibm,associativity 00000004 00000000 00000000 00000000 00000000 > > ok > > > On Sun, Sep 4, 2016 at 2:01 AM, Nathan Whitehorn > wrote: > >> It could be something with the system memory map. Can you sent the output >> of: >> dev /memory@0 >> .properties >> >> That will help see what the memory layout looks like. >> -Nathan >> >> >> On 09/03/16 22:39, Kevin Bowling wrote: >> >>> I'm trying to run -CURRENT on VIOS (on POWER6). After a lot of digging I >>> found how to get the full path to the boot device I want (using >>> firmware's >>> ioinfo tool), and the location of the loader from >>> release/powerpc/mkisoimages.sh. Ubuntu 16.04 is able to boot by >>> selecting >>> the CD from the SMS menu so that's something I will dig into more later. >>> >>> The first major hurdle I've pasted below, when trying to run the loader. >>> It seems to fail quite early so I'm not sure where to start looking or >>> how >>> to debug. Any advice? >>> >>> 0 > boot /vdevice/v-scsi@30000002/disk@8200000000000000:,\ppc\chrp\lo >>> ader >>> CLAIM failed >>> Call History >>> ------------ >>> throw - c3b044 >>> $call-method - c48d18 >>> (poplocals) - c3c9e8 >>> (init-program) - c85738 >>> boot - c8647c >>> evaluate - c4c6ec >>> determine-of-footprint - c19100 >>> invalid pointer - 45 >>> invalid pointer - 45 >>> quit - c4cdcc >>> quit - c4cbc0 >>> >>> My Fix Pt Regs: >>> 00 0000000000000000 0000000000000000 00000000deadbeef 0000000000c6f61c >>> 04 0000000000c16fc0 0000000000a48ef0 0000000000019100 0000000000c05010 >>> 08 0000000008000000 0000000000000000 ffffffffffffffff 0000000000000000 >>> 0c 8000000012f7a914 0000000000c19100 0000000000c1a000 0000000001cc8bb8 >>> 10 0000000000e77c55 0000000000e77b65 0000000000c6f614 0000000000c6f6c4 >>> 14 0000000000000087 0000000000000000 0000000000000006 fffffffffffffffb >>> 18 0000000000c14fe8 0000000000c3a000 0000000000c16fc0 0000000000c19000 >>> 1c 0000000000c22000 0000000000c42100 0000000000c13fd8 0000000000c12fe0 >>> Special Regs: >>> %IV: 00000900 %CR: 24808004 %XER: 20000001 %DSISR: 00000000 >>> %SRR0: 0000000000c6f61c %SRR1: 800000000000b002 >>> %LR: 0000000000c48944 %CTR: 0000000000000005 >>> %DAR: 0000000000000000 >>> ok >>> _______________________________________________ >>> freebsd-ppc@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc >>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >>> >>> >> > >