From owner-freebsd-ppc@freebsd.org Tue Jul 4 23:28:18 2017 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 0F15CD9D23B for ; Tue, 4 Jul 2017 23:28:18 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-18.reflexion.net [208.70.210.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF59566BC1 for ; Tue, 4 Jul 2017 23:28:17 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 18835 invoked from network); 4 Jul 2017 23:32:35 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 4 Jul 2017 23:32:35 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Tue, 04 Jul 2017 19:28:16 -0400 (EDT) Received: (qmail 31718 invoked from network); 4 Jul 2017 23:28:15 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Jul 2017 23:28:15 -0000 Received: from [192.168.1.114] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 4A61AEC90E0; Tue, 4 Jul 2017 16:28:15 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: powerpc64 update from source kernel panic (11.0) From: Mark Millard In-Reply-To: <20170704165249.10d01228@zoo.hsd1.co.comcast.net> Date: Tue, 4 Jul 2017 16:28:14 -0700 Cc: FreeBSD PowerPC ML , Justin Hibbits Content-Transfer-Encoding: 7bit Message-Id: <7800C44D-8FD9-480B-8D53-D505F72F082E@dsl-only.net> References: <20170704145456.6d8c095e@zoo.hsd1.co.comcast.net> <19637A8C-9C28-42D9-8E3E-E30E998D787A@dsl-only.net> <20170704165249.10d01228@zoo.hsd1.co.comcast.net> To: Alan Braslau X-Mailer: Apple Mail (2.3273) 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: Tue, 04 Jul 2017 23:28:18 -0000 On 2017-Jul-4, at 3:52 PM, Alan Braslau wrote: > On Tue, 4 Jul 2017 15:37:31 -0700 > Mark Millard wrote: > >> On 2017-Jul-4, at 1:54 PM, Alan Braslau >> wrote: >> >>>> Alan Braslau braslau.list at comcast.net wrote on >>>> Tue Jul 4 16:01:41 UTC 2017 : >>>> >>>>> I installed freebsd 11.0 powerpc64 on an iMac G5 without any >>>>> problems and have installed a fairly complete functional system. >>>>> >>>>> However, upgrading from source (unmodified configuration) results >>>>> in a kernel panic upon boot. Has anyone experienced this? >>> . . . >>> I'm sorry, I thought that it could be assumed that I installed >>> RELEASE: I simply installed 11.0-RELEASE-p1 (from an iso image) and >>> updated the source from base/releng/11.0 which gave me revision >>> 320623. >>> >>> make buildworld >>> make kernel >>> shutdown -r now >>> -> kernel panic >>> then... >>> boot kernel.old >>> >>> I did not try anything custom. >> >> I probably also should have asked if you are >> using 32-bit FreeBSD or 64-bit. (G5's can use >> either when things are working.) >> >> -r320623 is from head (not from releng/11.0/ ): >> >> https://svnweb.freebsd.org/base/head/?view=log s shows: >> >> Revision 320623 - Directory Listing >> Modified Mon Jul 3 23:27:57 2017 UTC (23 hours, 2 minutes ago) by >> jasone Update jemalloc to 5.0.1. >> >> If this is real then you have jumped to a binary incompatible >> kernel relative to your world. (That may not be the only >> problem and you might not have even got that far.) >> >> As of when I looked head was up to -r320659 . >> >> I list the below in case the 320623 is a typo or some such. . . >> >> https://svnweb.freebsd.org/base/releng/11.0/?view=log shows: >> >> -r317487 from 2017-Apr-27 >> -r316722 from 2017-Apr-12 >> -r314125 from 2017-Feb-23 >> (I'll stop there.) >> >> https://svnweb.freebsd.org/base/releng/11.1/?view=log shows: >> >> -r320654 from 2017-Jul-4 >> -r320639 from 2017-Jul-4 >> -r320608 from 2017-Jul-3 >> (I'll stop there.) >> >> https://svnweb.freebsd.org/base/stable/11/?view=log shows: >> >> -r320645 from 2017-Jul-4 >> -r320641 from 2017-Jul-4 >> -r320638 from 2017-Jul-4 >> -r320621 from 2017-Jul-3 >> (I'll stop there.) >> >> >> Can you report for sure what you actually got? >> >> === >> Mark Millard >> markmi at dsl-only.net >> > > 320623 seemed odd > and typing svn up gives 320659 > and svn info indeed gives 317487 (2017-04-27) as the last changed > revision. There are two revisions for svn. If you explicitly use update -r?????? the two will be equal, for example: # svnlite info /usr/src | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn0.us-west.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 320570 Last Changed Rev: 320570 But if you just grab the most current without specifying then the "Last Changed Rev" number is what you want to reference. The other number will reflect the global svn state across branches and such and so frequently will appear more recent than what is actually checked out and also possibly pointing into the wrong branch. > (am I misusing svn?) > > Also, I thought that I specified powerpc64. I agree that I likely should have taken "freebsd 11.0 powerpc64" to mean: TARGET_ARCH=powerpc64 But, with things already being odd, I wanted to be sure it was just not the processor-type that was being specified. (In head TARGET_ARCH=powerpc recently has had extra problems that did not show up for TARGET_ARCH=powerpc64 .) > Indeed, the problem seems to be the loading of a kmod that does not get > updated until installworld. My fault (or some missing information in > the handbook). I've never used PORTS_MODULES or the like so I'm unsure of the details for avoiding compatibility issues. === Mark Millard markmi at dsl-only.net