From owner-freebsd-questions@freebsd.org Sun Mar 21 02:42:27 2021 Return-Path: Delivered-To: freebsd-questions@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 6B4A55BBD9E for ; Sun, 21 Mar 2021 02:42:27 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F323Q5Y0zz3p0f for ; Sun, 21 Mar 2021 02:42:26 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 12L2gLrT003566 for ; Sat, 20 Mar 2021 22:42:21 -0400 (EDT) (envelope-from doug@safeport.com) Date: Sat, 20 Mar 2021 22:42:21 -0400 (EDT) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: Adding /usr/src using freebsd-update Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Sat, 20 Mar 2021 22:42:22 -0400 (EDT) X-Rspamd-Queue-Id: 4F323Q5Y0zz3p0f X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.74.231.101:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[198.74.231.101:from:127.0.2.255]; DMARC_NA(0.00)[safeport.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2021 02:42:27 -0000 My motivation for wanting to do this is basically because updating 11.3-->12.2 broke my Lenovo Ideapad. This is a "well known" and apparently has a workaround but I could not find a combination that worked following the very helpful suggestion out of the X11 mailing list or google. What did work was 13.0-RC2. Out of the box following UPDATING and pkg notes. Whatever the issue was it was obviously complex involving the interaction of several components in Xorg, FreeBSD and whether or nor EFI booting was used. All except the last one are perfectly obvious. I only mention this as background for why not use git or subversion (for a while anyway). The fix required that kernel sources be available. On the Lenovo that happened not to be a problem. On another laptop I did not have /usr/src so freebsd-update did not add/update it and I saw no option to add /usr/src. The conf file apparently says take care of it if it is there. On my HP no /usr/src. I did a package add for git adding 32 required packages and the installed failed to deliver a working git command. So on to subversion with similar results. This with 12.2. As I had already updated to 12.2 and it was working I removed all packages, copied a 12.1 /usr/src from another server and did a fetch. This added in the files new to 12.2 and did report doing anything else, so I rather doubt this is a "good" version of the src tree. All of the above for my real question. since I had a number of 11.3 /usr/src trees, if I had just added that before doing an upgrade I think that will work. Correct? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277