From owner-freebsd-ppc@freebsd.org Mon Oct 8 17:00:17 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0F4CF10C4D05 for ; Mon, 8 Oct 2018 17:00:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-22.consmr.mail.ne1.yahoo.com (sonic302-22.consmr.mail.ne1.yahoo.com [66.163.186.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8D0D5724D6 for ; Mon, 8 Oct 2018 17:00:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: u6s.lkQVM1nZtCozIf6wwJ0KKv6E8RKNoQlG_Om9Ety1D4itW7GODnVUJcLrj96 dEm7ieTd3JnMIO7GAZt.1dpiiBkyrVjBBl_hA0Df4Q0wlvwLwkH486PowYFtkb5p6Ki5ABCJlNhL vq6G72xuy4ffSP37CaM7tNY7p6lHLNAS2F5_yD1UiGlIoL0KOsNgrVCkdUZ65YRwhBJWavnmMnAz zyHqvRKyNw9ElqbICSThkW7nzNxZaIC7ucNAhXX5OF2X36z414MmHc1Pp4ssRD5.9UV9pUHFe83H cUlV5J78KFOj0wz_PSkTjW4svz7_sO_SEXzfc.ljiFJfNawGd59gdteOYLnST161VXFrku_spiU. DgB3.P2si6Pb_O.O16nEdFtBjU3ZFGOaoyOhsKCZPbiA8wcUWLzNqWJz6dICeSdchyDd9XzQA6ff kLYBufu4cIZ2J36g6_yTKqt4.Ki5RvAZrxwM_VDsQ9rZGGwOMCn9tu4UjuBxsLwbPdAuXi.Us_6Z s1hFC_IAfhAMcNNUJZnEP1tCv8qPre.OLRTuvba13w1p8RXv65tvn.KfQv7B6C1GoQy0IEp5MgJm nvfQe3I3ToLfRGA5ccBiAeqAJJT0nrVbR2vh8InQ7e0d5z9ye1esUHbiMS_nc_2w2zWN4WxFWlio kYWRAVKM0NAIARzWYreIbKM9XYNGKIKxYpsq0bF3Aqj_1M1Ns6uCTfyaecTG6Rlkwou9WavAdK4R 6DG8VG3AYof4XQUWPdaNUsng__.j5tP6Zl6PxPZT80sZ2gWNlYP6GTRgd0XBWFdFQY_fDxpxZ1y5 ptNfuzX46iSusTlM7CwjqfkipHTZH2Hr49FjN7YYCZ.kovg7pGvkCbPsD_t9MhmAax2EvUX6XLmW B5hkeTKAW_3.mQEDJXwzrxb1jGAw7LpCiWVyOAtl1SBHwefiIrCPRGKMH0FEn2EvJb0Gp5dwieTl Cb49C.4w5WZrA3ApxGnbFcBIb2z9v1mIFa.ngoccr1ix7rzvFsGOeOmTm4go1kqNK6.kpx.U7hwJ UXgvfJMz2fCTq6oRiqpbiwHAdYV3ziDuco7FKpO8NzzvDk1wwPl1ljz4RO8KKj9gibw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Mon, 8 Oct 2018 17:00:09 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.101]) ([76.115.7.162]) by smtp405.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f1d6ddb8ece72cf024df34e7f928d8af; Mon, 08 Oct 2018 17:00:08 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Failed attempt to boot a (non-debug) head -r339076 on an old PowerMac G5 "Quad Core" (built via devel/powerpc64-gcc): Waking up CPU 1 From: Mark Millard In-Reply-To: <785D268A-2612-459F-BD1F-A650D9ECCA28@fh-muenster.de> Date: Mon, 8 Oct 2018 10:00:07 -0700 Cc: FreeBSD PowerPC ML , Justin Hibbits , Nathan Whitehorn Content-Transfer-Encoding: quoted-printable Message-Id: References: <0E6DB192-37A3-45EC-87E9-C5AA1C9397AE@yahoo.com> <785D268A-2612-459F-BD1F-A650D9ECCA28@fh-muenster.de> To: Michael Tuexen X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 17:00:17 -0000 [kern.smp.disabled=3D1 is confirmed to enable booting my head -r339076 build on teh "Quad Core", much like the 11.2 reports for "2MHz dual-core".] On 2018-Oct-8, at 3:09 AM, Michael Tuexen = wrote: >> On 8. Oct 2018, at 09:48, Mark Millard via freebsd-ppc = wrote: >>=20 >> [I finally have access to old PowerMacs again. The below >> is based on my environment for experimenting with building >> via more modern C/C++ compilers with matching toolchains. >> The build here was via a cross build from amd64 via >> devel/powerpc64-gcc .] >>=20 >> When I attempt to boot the PowerMac G5 "Quad Core" >> with my head -r339076 build it gets as far a reporting >> (based on boot -v output): >>=20 >> . . . >> ada0: (I'll not list the 5 ada0: lines) >> GEOM: new disk cd0 >> GEOM: new disk ada0 >> Adding CPU 0, hwref=3Dff89d680, awake=3D1 >> Waking up CPU 1 (dev=3Dff89eb70) >>=20 >> That is the last of the output. After a while the fans >> wind up. (The text is hand translated from a picture >> of the screen.) >>=20 >> Without the "boot -v" the "ada0:" lines are the last to >> show. >>=20 >> The build is a non-debug build (with symbols). I've >> not tried a debug kernel build yet. It may be a while >> before I will get to. Nor have I tried a gcc 4.2.1 >> based build yet. >>=20 >> At this point I do not have a clue what is going on. >> This early in the boot I'm not sure how or if I'll >> get a clue. (I've never had serial console access >> on the old PowerMac's, which contributes to the messy >> context.) >>=20 >> I do have in place in the variation used of src.conf: >> LOADER_DEFAULT_INTERP=3D4th >>=20 >> The PowerMac G5 used does boot fine with the boot disk >> I had experimented with back in May (or before). > Does it boot when you disable SMP by adding > kern.smp.disabled=3D1 > to /boot/loader.conf >=20 > This turned a non-booting/hanging up dual CPU G5 into a > very stable (single core) machine... Sure enough, kern.smp.disabled=3D1 lets my -r339076 devel/powerpc64-gcc based build boot on the G5 "Quad Core". Unfortunately I jumped from -r333594 (May-13) to -r339076 so I can not well narrow the range for when things changed beyond that. I see that the original report was for 11.2, while I'm using head. Also that Justin reported seeing the problem on a 2GHz dual-core too (on 11.x I assume). So we have . . . 2GHz dual-core (11.2) 2.5 GHz "Quad Core" (2 dual-core processors) (head) as contexts so far, not that the internal issue needs to be the same for the two, but it might be. I wonder if 11 at, say, -r333583 (May-13) might be before its problem. If so, it might be easier for someone using 11.x variants to find when it broke in 11 than to do so for head, presuming the problem is common. Is there a bugzilla for this? =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)