From owner-freebsd-ppc@FreeBSD.ORG Wed Sep 17 03:28:51 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6951DA9; Wed, 17 Sep 2014 03:28:51 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D85CE858; Wed, 17 Sep 2014 03:28:50 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id w7so1014934lbi.4 for ; Tue, 16 Sep 2014 20:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4q9E5PILaoaIUPOJjTiUf3RwGtQlCZXgCQ+Z3lSjvZY=; b=RCOMy/46WLgjQKGUQ7btgcq68az7mjt6tLbgAg5UKy9SCqBAQlOYHodd1XfGu+GOWZ goKuxxNPaLNuDtXom01cevcQroIcHJ68dedppsIQ78ytFX7xOEWsXkh8cEhs0FysCx5s unEcEGmSomvM7DxeLCoCLNV1xe4jktDGj6erisw5dwqaEZ5cErZXhp5bZH8Mh+u/NoVb ztjc7eatOBQgRBXyVJPs9QRTXoLRhnLXeL6lF2dYmMaNCSLwuY7SEFo/UuuJwZI0M6SG 5iUOPvLcgDi9CNRdWEF4RvBROBbb9uUc7RZ04NCHnQnDcgT3GKGA1D4XIqmNNmrSnnIz b3ZA== MIME-Version: 1.0 X-Received: by 10.112.34.78 with SMTP id x14mr39115203lbi.38.1410924528786; Tue, 16 Sep 2014 20:28:48 -0700 (PDT) Received: by 10.25.15.29 with HTTP; Tue, 16 Sep 2014 20:28:48 -0700 (PDT) Received: by 10.25.15.29 with HTTP; Tue, 16 Sep 2014 20:28:48 -0700 (PDT) In-Reply-To: <2ED3DB50-B985-4382-8FF2-3B44E7E65453@dsl-only.net> References: <1118046C-0FF7-49FC-82DA-DB9A7A310991@dsl-only.net> <2ED3DB50-B985-4382-8FF2-3B44E7E65453@dsl-only.net> Date: Tue, 16 Sep 2014 20:28:48 -0700 Message-ID: Subject: Re: PowerMac G5 boot hangups before Copyright notice: "Stopped at 0: illegal instruction 0" [10.1-BETA1 example] From: Justin Hibbits To: Mark Millard Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2014 03:28:51 -0000 Hi mark, I see this on my G5, and I think it's due to the amount of RAM in the machine. More than 4gb seems to confuse open firmware when called by FreeBSD. There is some effort to remove the need of the callbacks but thus far it's not far along. The good news is that after it boots it's solid except when switching vtys, buy earlier this year or last year I added a sysctl hack to disable the call into open firmware on vty switch (don't recall offhand and not at my computer right now, but if you grep the sysctl output for reset and ofw you can find it). -Justin On Sep 16, 2014 8:01 PM, "Mark Millard" wrote: > I've now spent time with rebooting and power-off/power-on for all 3 > PowerMac G5's (one PowerMac7,2 and two PowerMac11,2's) and all 3 get the > > GDB: no debug ports present > KDB: debugger backends: DDB > KDB: current backend: DDB > [ thread pid -1 tid 1006665719 ] > Stopped at 0: illegal instruction 0 > db> > > > when they fail just before the Copyright notice would normally be > displayed. None fail any earlier. At that spot none have failed any other > way. It is the same SSD in all 3. (Happens with other SSD's as well.) > Overall there is a mix of Radeon and NVIDIA display boards. Besides the SSD > use and RAM upgrades the rest is stock equipment. scons used, not vt. (I've > yet to try vt.) > > Seeing a failure after the Copyright notice as been fairly rare in all my > experiments from when I started last April or so. The ones that I've noted > had Data Storage Interrupt reported. So far no examples of the above have > been reported after the Copyright notice. So I'd guess that they are > separate issues. Of course it seems that only in the last few days would I > have seen the above sort of thing if it did happen after the Copyright > notice: The prior history does not count for judgements about that. > > === > Mark Millard > markmi at dsl-only.net > > On Sep 16, 2014, at 8:15 AM, Mark Millard wrote: > > Using 10.1-BETA1 I added "options DDB" and "options GDB" to powerpc64's > GENERIC64. (I also used WITH_DEBUG_FILES=, WITHOUT_CLANG=, and WITH_DEBUG= > in /etc/make.conf.) So buildworld, kernel was basically just set up to have > more of a debugging context around (including for any ports builds). > > The result was new information about the PowerMac G5 boot hangups: The > screen is no longer blank when the G5 is hung up without there being a > Copyright notice yet. It says... > > GDB: no debug ports present > KDB: debugger backends: DDB > KDB: current backend: DDB > [ thread pid -1 tid 1006665719 ] > Stopped at 0: illegal instruction 0 > db> > > > (I had no ability to input at that point.) Normally the Copyright notice > would have displayed instead of "[...]" and what follows. (I do not claim > to have all the spacing, capitalization, and such correct above.) > > That text is constant from hang to hang when it hangs just before it would > normally output the Copyright notice: The numbers do not vary, much less > the other text. It has never failed until after the two KDB messages are > present. So far I've only tested one PowerMac G5, booting over and over for > a few hours. > > > > (I do not claim to be set up for remote kernel debugging. I just decided > to let GDB go along for the ride when I added DDB.) > > === > Mark Millard > markmi at dsl-only.net > > >