From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 27 16:45:04 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 6BA33883; Sun, 27 Jul 2014 16:45:04 +0000 (UTC) Received: from mail-yk0-x22c.google.com (mail-yk0-x22c.google.com [IPv6:2607:f8b0:4002:c07::22c]) (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 194FC2C68; Sun, 27 Jul 2014 16:45:04 +0000 (UTC) Received: by mail-yk0-f172.google.com with SMTP id 10so4118764ykt.17 for ; Sun, 27 Jul 2014 09:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=T5X46N2EEcC+ySwiKyrIlFlLgYiLxVGBdxmnVH83y/Y=; b=OInLySMeFiiF83Mzge+gd5TcpdhH3iTpMLpPcbbx7E94f+9wE6Z6DR4FZJnYUOA8fs ciRlRyDai55RQOZQSRMFHZ2tHOLscMA9RNqeO36DPGz8YOg97UGogo0+K7h/WDPtLreR MHdMENUBwvwqlMFoDEnvHiDnljo6achBuRlFh8+Xlt5EboG3BqKJZff9kfeS/Ab/oWQB LmsobSvtV00zsCxSDHlLkfz4Cm7P00TwHJfpC2OYL2SIumfFfgmv9DfrxM4E5B5orqT2 vhU7xV1e0D6AuxdaT+chrpr++GbBRgPOvworIFHoIiGZna+pm3x06Pfq4YwRVe5Lytqv ewZg== X-Received: by 10.236.0.200 with SMTP id 48mr44460520yhb.72.1406479503142; Sun, 27 Jul 2014 09:45:03 -0700 (PDT) Received: from zhabar.att.net (107-222-186-3.lightspeed.sntcca.sbcglobal.net. [107.222.186.3]) by mx.google.com with ESMTPSA id l26sm33194360yha.45.2014.07.27.09.45.02 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 27 Jul 2014 09:45:03 -0700 (PDT) Date: Sun, 27 Jul 2014 09:44:57 -0700 From: Justin Hibbits To: Mark Millard Subject: Re: Running FreeBSD-ppc/ppc64 on emulators? [.iso based CD boot problems exist for PowerMac G5's too] Message-ID: <20140727094457.4827b851@zhabar.att.net> In-Reply-To: <27E2583C-FA8E-4F6E-83D1-C950318133C2@dsl-only.net> References: <9104D42E-5A30-49AF-B5B8-F2C97090802F@dsl-only.net> <0E217B0D-233B-4698-B482-75C3BFE66638@dsl-only.net> <53D49EDC.3050301@freebsd.org> <27E2583C-FA8E-4F6E-83D1-C950318133C2@dsl-only.net> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 16:45:04 -0000 Hi Mark, Just a guess, but you probably have more than 4GB RAM in those machines, right? If so, then you hit the same problem I've encountered on my G5, which has 12GB RAM. Nathan and I both speculate that it's dropping into Open Firmware (we make extensive use of OFW), and then messing something up, taking a page fault or something. Off and on we're working on the problem, taking the solution that Linux and Darwin use, to cache all the OFW properties while in the loader, and hand this off to the kernel (in our case, we'd format it as FDT). If you have a debug kernel, you would see "KDB: Supported backend...." and then it would hang. - Justin On Sun, 27 Jul 2014 00:33:02 -0700 Mark Millard wrote: > You are welcome. > > You may run into another G5 (PowerPC64) problem that I've not > reported because I've so little evidence and it has been very > intermittent. Also it is a normal boot issue, not an > installation-media specific issue. > > Normally one goes through open firmware and either types boot or one > lets it autoboot (explicit return or timed out) and the screen > changes to black and the white text starts to show up, starting with > the copyright notice. > > But some of the time on the G5's it instead hangs after going black > but before any part of the copyright text shows up. This has happened > on all 3 G5's, two being 7,11's (NVIDIA video) and one being a 7,2 > (Radeon video). The fans gradually wind up when this happens. > (Unlikely if only the video display was messed but it actually went > through the normal steps otherwise.) > > I've had a wild mix: At times I've gone bunches of boots without the > problem. On rare occasion I've had to reboot up to a dozen times to > finally not have it hang. Normally once the problem happens I have to > retry at most a few times. > > [I do not have access to a single-processor PowerMac G5 system. So I > can not compare/contrast behavior with those. All my PowerMac G5 > notes are multi-processor G5 notes.] > > > > > === > Mark Millard > markmi at dsl-only.net > > On Jul 26, 2014, at 11:40 PM, Nathan Whitehorn > wrote: > > Interesting. It seems loader is broken. I just tried with a > 10.0-STABLE image and can reproduce the problem -- 11 oddly is OK. > What really perplexes me is that the powerpc and powerpc64 loaders > are identical, since loader is built 32-bit in either case. Super > weird. I'll try to get it fixed. Thanks for the problem report and > reminder! -Nathan > > On 07/26/14 23:33, Mark Millard wrote: > > > > To make clear about the "/" in the line: > > > > and stops while displaying "/" from its progress indicator. The > > fans then gradually spin up. > > > > This "progress indicator" is the repeating sequence -, \, |, /. It > > always stopped with / as I remember. But I've no clue for if that > > is from the repeating sequence or is the leading / > > from /boot/kernel/kernel. At this point I'm limited to reporting > > just the visual result, not the internal stage it is tied to. > > > > === > > Mark Millard > > markmi at dsl-only.net > > > > On Jul 26, 2014, at 7:53 PM, Mark Millard > > wrote: > > > > First I quote what I wrote about when the hangups occur on the G5's > > (combining quotes from the two messages so the overall notes are > > easier to understand): > > > >> For a C-key style boot it hangs shortly after displaying > >> > >> loading /boot/defaults/loader.conf > >> > >> and stops while displaying "/" from its progress indicator. The > >> fans then gradually spin up. > >> > >> In other words: It hangs just before it would normally display the > >> line that includes the text: /boot/kernel/kernel > > > > The original messages were: > > > > http://lists.freebsd.org/pipermail/freebsd-ppc/2014-June/007029.html > > and > > http://lists.freebsd.org/pipermail/freebsd-ppc/2014-June/007056.html > > > > Even the /b prefix from /boot/kernel/kernel did not show up even > > though /boot/defaults/loader.conf did show up just fine. > > > > > > > > As for trying 11-CURRENT: I've not tried 11-CURRENT for anything > > yet. And, unfortunately, I'm now away from the PowerMacs for weeks > > so I will not be doing new experiments for several weeks. I can try > > once I get back. > > > > All the 9.2/9.3-STABLE's that I tried worked. And 10.0-RELELASE > > worked. Any 10.0-STABLE from before about Apr-27 I've never tried: > > Late April is about when I started the experiments with PowerMacs. > > > > Also: I had no troubles with 10.0-STABLE for powerpc on PowerMacs. > > PowerPC64 on PowerMac G5's is where I had problems. (I do not have > > other kinds of PowerPC equipment available.) > > > > > > > > === > > Mark Millard > > markmi at dsl-only.net > > > > On Jul 26, 2014, at 2:23 PM, Mark Millard > > wrote: > > > > This boot issue from .iso's (burned to CDs) is not specific to > > emulation (assuming it is the same problem in both places). > > > > I'm afraid that it sounds like PowerMac G5's hang the same > > way/place whenever I've tried a fairly modern PowerPC64 > > 10.0-STABLE .iso burned to a CD. I was able to boot > > 10.0-RELEASE's .iso burned to a CD. I've not tried emulation. > > > > Having an initial FreeBSD running I tend to use the MANIFEST > > and .txz files with "bsdinstall auto" to make new from-scratch (not > > buildworld/buildkernel) installations when I want such. > > > > My notes on the G5 boot issue for the .iso's burned to CD's were > > reported in: (I'm not near the PowerMacs, unfortunately) > > > > FreeBSD 10-STABLE powerpc64 r266807 CD PowerMac7, 2 (and 7, 11) > > boot hangs very early in the process > > > > Has anyone booted a G5 PowerMac from a recent 10.0-STABLE .iso > > burned to CD? A multi-processor one? > > > > === > > Mark Millard > > markmi at dsl-only.net > > > > > > > > > _______________________________________________ > 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"