From owner-freebsd-ppc@freebsd.org Mon Dec 10 06:07:55 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 AF1741312E63 for ; Mon, 10 Dec 2018 06:07:55 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhfb03.myregisteredsite.com (atl4mhfb03.myregisteredsite.com [209.17.115.119]) (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 C4E358FB4A for ; Mon, 10 Dec 2018 06:07:54 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from atl4mhob18.registeredsite.com (atl4mhob18.registeredsite.com [209.17.115.111]) by atl4mhfb03.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id wBA67m6M025252 for ; Mon, 10 Dec 2018 01:07:48 -0500 Received: from mailpod.hostingplatform.com (atl4qobmail02pod2.registeredsite.com [10.30.77.36]) by atl4mhob18.registeredsite.com (8.14.4/8.14.4) with ESMTP id wBA67eAP015821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 10 Dec 2018 01:07:40 -0500 Received: (qmail 22329 invoked by uid 0); 10 Dec 2018 06:07:40 -0000 X-TCPREMOTEIP: 174.118.245.214 X-Authenticated-UID: dclarke@blastwave.org Received: from unknown (HELO ?172.16.35.3?) (dclarke@blastwave.org@174.118.245.214) by 0 with ESMTPA; 10 Dec 2018 06:07:40 -0000 Subject: Re: head -r333897 (usefdt and old PowerMac) questions To: freebsd-ppc@freebsd.org References: <9390ba5a-aa1c-c3be-3c2b-aa2e4e6f0643@freebsd.org> <749E008B-8E4A-4252-A3C9-D03972B963B7@yahoo.com> From: Dennis Clarke Message-ID: <1a922d91-aad5-a88c-0bd9-5f59d6b48b37@blastwave.org> Date: Mon, 10 Dec 2018 01:07:39 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0 MIME-Version: 1.0 In-Reply-To: <749E008B-8E4A-4252-A3C9-D03972B963B7@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C4E358FB4A X-Spamd-Result: default: False [2.58 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.18)[-0.180,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.82)[0.820,0]; DMARC_NA(0.00)[blastwave.org]; NEURAL_SPAM_SHORT(0.85)[0.849,0]; MX_GOOD(-0.01)[cached: mx1.netsolmail.net]; RCVD_IN_DNSWL_NONE(0.00)[119.115.17.209.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:19871, ipnet:209.17.112.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.20)[ip: (0.52), ipnet: 209.17.112.0/21(0.31), asn: 19871(0.25), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2018 06:07:55 -0000 On 12/10/18 12:35 AM, Mark Millard via freebsd-ppc wrote: > > On 2018-May-19, at 21:27, Mark Millard wrote: >> On 2018-May-19, at 9:14 PM, Nathan Whitehorn wrote: >>> You need to wait for one more patch. With that, usefdt=1 is confirmed working on PowerMac 11,2 (like the quad core). You must use vt, not sc, but everything should work out of the box once that patch is in. The only caveat is that bge0 and bge1 may swap numbers. >>> -Nathan >> >> Good to know. Thanks. >> >> "You must use vt, not sc": does this mean changing to not >> include sc in the kernel at all? Or will /boot/loader.conf >> having: >> >> kern.vty=vt >> >> be enough despite sc also being present? >> . . . > > Just an FYI about my from-source builds based on devel/powerpc64-xtoolchain-gcc > and the reverted-to-before /usr/src/sys/powerpc/include/vmparam.h -r334498 . > With the recent activity I jumped from -r340287 to -r341766 . It booted fine as > smp. > > I tried booting with "set usefdt=1" and the ethernet connection moved to > the other plugin position. It booted fine as smp. That was with > /boot/loader.conf having: > > kern.vty=sc > I feel a bit out of the loop here. I don't know what that "kern.vty=sc" is for at all. Perhaps kernel video tty = sugar coated? Just a guess. > However I've not used X11 or such in years, just the console and ssh sessions. Same here. I can tell you that 341705 requires kern.smp.disabled=1 and usefdt=1 in order to boot without a strange freeze or panic. I will check out 341781 now and see what new stability has arrived but 341705 requires hand holding and small prayers at boot time. Yes the bge0 and bge1 do swap places. I see your notes on Bug 233863 and will follow along here. Dennis