From owner-freebsd-ppc@freebsd.org Sun Sep 4 05:39:53 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 3565CBCC95A for ; Sun, 4 Sep 2016 05:39:53 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (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 F3980C2E for ; Sun, 4 Sep 2016 05:39:52 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: by mail-oi0-x229.google.com with SMTP id m11so85425966oif.1 for ; Sat, 03 Sep 2016 22:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=g7bbg/oEd+CMJXRl7j4IzTH7jc3UMjSo+Z5mHRkbY+w=; b=MLBj0ysiglR84v8Qy5y7HS92iS8kohLH9ftRhw5z4gdrGsewGxMXZ1b+MwfLO+AMzZ vBDKFQPmE01tybXavEdrLBWaQegDFYlbwnOxH6/B2h7iQShBNUBxzHcidLrZroA0Ak13 BObCWYD7KBw7bFTydEIhpp/cUI5F/Jt78OgFg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=g7bbg/oEd+CMJXRl7j4IzTH7jc3UMjSo+Z5mHRkbY+w=; b=P48IFm+OKRldl5y8LDZXWQXTJBHC3ZtdBHMvkOJjcBFZ4HTWpnCyzy4N7ZbiwnbLzw pJxDzDSL3AGP/xNAbwxZNWPwDPHcLa8bezGEdXlPpVqtFjZlt8nkTtNxmjYEZESewWsz oHRLCK22ZtH61DR4ysgnWLfTWghohGYzLLgMshIvkc30Lxd34XrhV0/kjMeIOLrPDr7y sv2Pm2yQpHPlzSrPuU2lrVrMmm8evFoWA3nt3Nn1SpdCNexjRSWQVwkgHcfvKj4KJGOd XxoH3b6Oa4vst/p8P6VoiBsEdFEPxr1JVWFRh7dsvo5/E20J09eZbUaRBMRgxr2j4qzS UgKg== X-Gm-Message-State: AE9vXwMeLUp5iiFNb3rt4Khi+DbXkmANMM3ZlnRbLE0WQqVnquawCtro21BvZiOSTfywylTHi0XJ3mNnrkz4Pw== X-Received: by 10.157.27.68 with SMTP id l62mr26406151otl.119.1472967592078; Sat, 03 Sep 2016 22:39:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.36.1 with HTTP; Sat, 3 Sep 2016 22:39:51 -0700 (PDT) From: Kevin Bowling Date: Sat, 3 Sep 2016 22:39:51 -0700 Message-ID: Subject: Booting -CURRENT on VIOS To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Sep 2016 05:39:53 -0000 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\loader 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