From owner-freebsd-x11@freebsd.org Tue Apr 14 07:30:57 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 994B02B7AFA for ; Tue, 14 Apr 2020 07:30:57 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from mx.sdf.org (mx.sdf.org [205.166.94.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 491cbh48dmz3HxJ for ; Tue, 14 Apr 2020 07:30:56 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from sdf.org (IDENT:bennett@miku.sdf.org [205.166.94.6]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 03E7UsvJ017387 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 14 Apr 2020 07:30:54 GMT Received: (from bennett@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 03E7UrX9004169; Tue, 14 Apr 2020 02:30:53 -0500 (CDT) From: Scott Bennett Message-Id: <202004140730.03E7UrX9004169@sdf.org> Date: Tue, 14 Apr 2020 02:30:53 -0500 To: imp@bsdimp.com Subject: Re: Upgrading 11.3 -> 12.1 [was Re: Radeon 5770, graphics/gpu-firmware-kmod, and graphics/drm-fbsd11.2-kmod] Cc: freebsd-x11@freebsd.org References: <202004121042.03CAgZFl029863@sdf.org> <202004131206.03DC6lpA026230@sdf.org> <7332320f-4717-e42f-5098-45b7aade6df1@netfence.it> <202004140136.03E1aQ6A018930@sdf.org> <202004140454.03E4s0Yf008317@sdf.org> In-Reply-To: User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 491cbh48dmz3HxJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of bennett@sdf.org has no SPF policy when checking 205.166.94.20) smtp.mailfrom=bennett@sdf.org X-Spamd-Result: default: False [-1.04 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.75)[-0.753,0]; FROM_HAS_DN(0.00)[]; IP_SCORE(-0.22)[ip: (-0.71), ipnet: 205.166.94.0/24(-0.36), asn: 14361(-0.01), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sdf.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.96)[-0.962,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2020 07:30:57 -0000 Warner Losh wrote: > On Mon, Apr 13, 2020, 10:54 PM Scott Bennett wrote: > > > Warner Losh wrote: > > > > > On Mon, Apr 13, 2020 at 7:36 PM Scott Bennett wrote: > > > > > > > Warner Losh wrote: > > > > > > > > > On Mon, Apr 13, 2020 at 9:05 AM Andrea Venturoli > > wrote: > > > > > > > > > > > On 2020-04-13 14:06, Scott Bennett wrote: > > > > > > > > > > > > > If I can ever get 12.1 to build on 11.3, I can upgrade. > > > > > > > > > > > > This is going out of the scope of the thread, but what is your > > problem > > > > > > exactly? > > > > > > I was able to build 12.1 on 11.3 on different boxes. > > > > > > > > > > > > > > > > He doesn't have LLD or a newer binutils, so is hitting the test for > > that > > > > in > > > > > libc. Or we've got some kind of false positive. > > > > > > > > > How new does binutils have to be? The last time a portmaster -a > > run > > > > updated it was on 25 February, though I have no idea when the time > > before > > > > that might have been. I.e., I can't say which version was installed by > > > > 26 Nov. 2019. > > > > > > > That should be new enough, but you may need to turn the cross build knobs > > > to build with 'external toolchain items'. Are you doing that? If not, > > then > > > I'll look into which ones you need. > > > > > Not that I know of. That has not been the standard procedure for > > source- > > based upgrades across major release changes as long as I've been a FreeBSD > > user. > > While you're looking into that, would you please find out if there is > > anything special I will need to do about the boot loader phases in > > upgrading? > > Changes to the boot loaders caused me considerable grief a while back just > > within 11-STABLE, and I'd like to be better prepared, rather than run into > > similar problems again. > > > > I'm trying to understand why this upgrade isn't working for you. It should > be a no brainer easy thing based on what I know. The fact that it's not That was certainly what I had expected, and when it wasn't, I was quite dismayed. > means there is something i don't know that's standing in the way. I'd like > to know what that is. Nice to have company. :-} > > I'd also like to understand the boot loader thing better too. I didn't > think anything we'd merged was a huge hassle. Maybe the two are related. > Maybe there is some left over config that caused both? Maybe it's two > different things. > > In either even, I'd like to understand... > In any case, the problems remain for Radeon HD 5770 on FreeBSD 11-STABLE. Why is the GPU firmware hanging? Why, when the GPU hangs, does the driver crash the system instead of reinitializing the GPU? I'm not sure I can even file a PR using just lynx(1). Scott