From owner-freebsd-current@freebsd.org Sun Jan 24 18:05:45 2021 Return-Path: Delivered-To: freebsd-current@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 8E2BF4D4BC6 for ; Sun, 24 Jan 2021 18:05:45 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DP1Bc6n24z3t2W for ; Sun, 24 Jan 2021 18:05:44 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10OI5WRP022356; Sun, 24 Jan 2021 10:05:44 -0800 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2173.outbound.protection.outlook.com [104.47.55.173]) by mx0b-00273201.pphosted.com with ESMTP id 368jxf9p31-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 24 Jan 2021 10:05:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GXJ39O+oV3Q6WNzzyTWJb9Bp+PIuvUO7Gg5d2m3I69o+q+mrmZCfCBSQa+JIbqfvHBBZ9sPIFsT5a9CLQJt9v6oO6Q34iy0m/7agDIIMgluqho53gVoWtupDmlkqP/9hpVWZLkCW/KZN8ECjg68U9hvc4FULlW93xxrJ6nX2QTRWp9IfJaQAqnYOgfozPeVpaE7SDN8s6V7U2C5hW/ppBM5Yv+Asz8YtRMV6IHuTaxxQ48jyIzeciO5ak89kRTRrGpwI9N+ka7NX6odOax/p9sqwepF1Dj4dVJYb2Y3FdODjWuJJcVbpuucXnl8jx+KSCCVXzwfh3aKdpqAvstHDpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4JVY33Zd1LKdKxYFXynuVWt4rGCq5vfBIm8fWBzkzJQ=; b=VLp+Kjhii2eElnwjw8rvHAuFpSZBrxrCNPJo290jTDvm315eqdKrduHb2MNYfXLmEkFODvrBevlSqNmYSSNB6DqjiBQJ9R1YOMmrV0DG6k4xUQre0MaSh4kXea3Q13YUdgZX8VWmbc1O8NgZutsnl84w6vsZIcF/ulu/XeN6QJ4McYRA/mOLbeMNV+crzA05N8kWmZOU+H2dEC0vJ+L3U8J2cpgzEVPWxAZ0fD115t8iiZuVeCzutFZ0QqNv7UpUBA/rKScrAsZu2U7GeqMkuVQGoJhYmMXVuF8bi/95CqlnrgXRUtae2mZD/w7r+4FWXB3fCdQ5EfFTmlW1Ga5E7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.239.13) smtp.rcpttodomain=troutmask.apl.washington.edu smtp.mailfrom=juniper.net; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=juniper.net; dkim=none (message not signed); arc=none Received: from MW4PR03CA0329.namprd03.prod.outlook.com (2603:10b6:303:dd::34) by BN7PR05MB5938.namprd05.prod.outlook.com (2603:10b6:408:d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.7; Sun, 24 Jan 2021 18:05:40 +0000 Received: from MW2NAM12FT041.eop-nam12.prod.protection.outlook.com (2603:10b6:303:dd:cafe::fe) by MW4PR03CA0329.outlook.office365.com (2603:10b6:303:dd::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12 via Frontend Transport; Sun, 24 Jan 2021 18:05:40 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 66.129.239.13) smtp.mailfrom=juniper.net; troutmask.apl.washington.edu; dkim=none (message not signed) header.d=none;troutmask.apl.washington.edu; dmarc=fail action=oreject header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.13 as permitted sender) Received: from P-EXFEND-EQX-02.jnpr.net (66.129.239.13) by MW2NAM12FT041.mail.protection.outlook.com (10.13.181.1) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.3805.6 via Frontend Transport; Sun, 24 Jan 2021 18:05:39 +0000 Received: from P-EXBEND-EQX-03.jnpr.net (10.104.8.56) by P-EXFEND-EQX-02.jnpr.net (10.104.8.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 24 Jan 2021 10:05:39 -0800 Received: from P-EXBEND-EQX-02.jnpr.net (10.104.8.53) by P-EXBEND-EQX-03.jnpr.net (10.104.8.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 24 Jan 2021 10:05:39 -0800 Received: from p-mailhub01.juniper.net (10.104.20.6) by P-EXBEND-EQX-02.jnpr.net (10.104.8.53) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Sun, 24 Jan 2021 10:05:39 -0800 Received: from kaos.jnpr.net (kaos.jnpr.net [172.23.255.201]) by p-mailhub01.juniper.net (8.14.4/8.11.3) with ESMTP id 10OI5cpV026692; Sun, 24 Jan 2021 10:05:38 -0800 (envelope-from sjg@juniper.net) Received: by kaos.jnpr.net (Postfix, from userid 1377) id B5CA52BE55; Sun, 24 Jan 2021 10:05:38 -0800 (PST) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id B438B2BD72; Sun, 24 Jan 2021 10:05:38 -0800 (PST) To: Steve Kargl CC: , Subject: Re: Getting /usr/src to match specific git hash? In-Reply-To: <20210124035852.GA73653@troutmask.apl.washington.edu> References: <20210124035852.GA73653@troutmask.apl.washington.edu> Comments: In-reply-to: Steve Kargl message dated "Sat, 23 Jan 2021 19:58:52 -0800." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13615.1611511538.1@kaos.jnpr.net> Date: Sun, 24 Jan 2021 10:05:38 -0800 Message-ID: <18487.1611511538@kaos.jnpr.net> X-EXCLAIMER-MD-CONFIG: e3cb0ff2-54e7-4646-8a04-0dae4ac7b136 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b67aeacd-d74a-4673-e7a3-08d8c092a8a3 X-MS-TrafficTypeDiagnostic: BN7PR05MB5938: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3513; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X3602bNrNFx2YmehCYZsQkIWIoZ2FhfftV6j19Qc+ASnx0WMEum496LAjan3vSn6OGwAtonQnoPR0bvfEJkUXZ/T32p+4B12rg9E3sCVsbhh/wb33TfUhMyS+IUvGQThmcNwcbEVaxy0BsH611ytIUKtNXm/1fz+8/0wE7OIYVmtz6oiahUxy6MoKyGK1IglrnCPbpu3x6qa3sFdBzruR718+OS8GIMKDcByPmAlgNr/QJGMRbCKur0RTkDhRpZxYBbJS03ul0uTU3aT9oOYHumsZfr4fU2fcx529aHNLxHVH5DFVS2KwAEl5xTtjIHnZSdqYz5g8rDu4MPxD6pE9WzAUpGhmxNuBPow16Ai0x01mkYakMlAJxYKZ3OL77eDg2F45TQ8JnHDYunVJ34JVj2pVER0g+Lq5XDTC9PQ95Xof/fXZlsdl9xhDIP0sGrnJvZ3wxqg1FsHmbRNfdDlZ3lhfes9B0F53io/sMF/jp+k6cslwR+rtYSbEvpK08kDuDsaNbWbvPcbW8RxkWr4/8x//X7MOnXIko5wMZqSDe98aKJF9vrLrZIN5xhWQWUK+MgYgvm7PTsq+Sq08U9XDAVw1/hCWfmLUzrafhclvtxn44kxoPWdA+6dFPj9ybiX X-Forefront-Antispam-Report: CIP:66.129.239.13; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:P-EXFEND-EQX-02.jnpr.net; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(136003)(346002)(376002)(396003)(39860400002)(46966006)(82740400003)(4326008)(4744005)(82310400003)(336012)(70586007)(356005)(8936002)(70206006)(26005)(186003)(7126003)(7696005)(47076005)(54906003)(81166007)(6916009)(86362001)(316002)(107886003)(478600001)(2906002)(9686003)(8676002)(5660300002)(55016002)(6266002)(36610700001); DIR:OUT; SFP:1102; X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2021 18:05:39.8907 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b67aeacd-d74a-4673-e7a3-08d8c092a8a3 X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.13]; Helo=[P-EXFEND-EQX-02.jnpr.net] X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT041.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB5938 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343, 18.0.737 definitions=2021-01-24_06:2021-01-22, 2021-01-24 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 malwarescore=0 suspectscore=0 adultscore=0 clxscore=1011 priorityscore=1501 mlxlogscore=488 phishscore=0 spamscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101240117 X-Rspamd-Queue-Id: 4DP1Bc6n24z3t2W X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[juniper.net:s=PPS1017,juniper.net:s=selector1]; FREEFALL_USER(0.00)[sjg]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:67.231.152.164]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; RWL_MAILSPIKE_EXCELLENT(0.00)[67.231.152.164:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[juniper.net:+]; DMARC_POLICY_ALLOW(-0.50)[juniper.net,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:22843, ipnet:67.231.152.0/24, country:US]; RCVD_COUNT_SEVEN(0.00)[11]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[67.231.152.164:from] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2021 18:05:45 -0000 Steve Kargl wrote: > Suppose further that one had to re-install a 32-bit > i386-*-freebsd with the 24 Dec 2020 image available > from freebsd.org. > > uname -a for the booted kernel shows > > % uname -a > FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT #0 \ > 3cc0c0d66a0-c255241(main)-dirty: Thu Dec 24 05:43:23 UTC 2020 \ > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/i386.i386/sys/GENERIC i386 > > How does one use git to pull the exact sources that match > this specifc kernel? As others have described, you can clone and 'git checkout 3cc0c0d66a0' but that "-dirty" above implies the tree had changes, so you cannot reproduce "the exact sources". --sjg