From nobody Wed Dec 21 15:08:58 2022 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NccKb0C6Jz1H8yn for ; Wed, 21 Dec 2022 15:09:07 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2072.outbound.protection.outlook.com [40.92.21.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NccKZ1gK6z3BtD for ; Wed, 21 Dec 2022 15:09:06 +0000 (UTC) (envelope-from mirror176@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=NLxiUV6k; spf=pass (mx1.freebsd.org: domain of mirror176@hotmail.com designates 40.92.21.72 as permitted sender) smtp.mailfrom=mirror176@hotmail.com; dmarc=pass (policy=none) header.from=hotmail.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K/vg9AJIY8ReCQUJDSNk05l3TlKBASS31NHD88WXQEjYEJBJt7VpLpjKPrKZY2O6hLk0B2CxeCcJc2QQcyaxhDrcY9pGu4fxzGbdxm++8r/xME4sIxFpLXXTeoo8ti2lYoybPKDwreYgVa+UNIwe+8RNvLM0N9h2n2iLJKSKIiHVJyKX5hB/YE2GAYIw7SlwPBqZC5ub9rCSscm+yp8DkQafM0wDiE+b2z/lJCSmw/F2vVQbjJIvEtloL8RBabTmDeg40mCqfWISAjRcc/6isxPaVbC7TAfmKjPHZaeAJHT7/4vyCU/emrNEAh+HnMqeHBGyST2qRttR8kxl7UJJCQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NA9bX//dGWgEfIvUu7g66o2CmLw+YQ2lYDuogLmaZG4=; b=RdHy/ROEpuZFFrtqdO3i1GZxqwZTWLYQfdVCdfv9hlmcsfCfguAObvXDQqW84zydVxHYIEwY7Q5jvswEkyMDMIcsPxgmv1yt9SjBGjg5n/zEiqlYRHVl77h86lA5OLhMx83sci91NlUM1rB0pgKDreWJzvGy548tVlA07ZRGO9BgDTPRE0GlRWlOT2DlVoNMUmuWf7tjsRelpklsAXNTXHFCapOmxRPCUew4ADQYyd6nxgd6t/le6hIJ04fg3kiXVbxANJF6z1w0bxftoEe5bcsPjm5o64iQ3uqMHcOqokK6zJtbx9QpRk+HrduMUpEpJCjjx8ImqpgXNtriH5llMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NA9bX//dGWgEfIvUu7g66o2CmLw+YQ2lYDuogLmaZG4=; b=NLxiUV6kNDPKVnXT4EmZD47k6svFNIq/fXGWms3IbVJlRfBKXPRx0xYChRVCrMV7QW8N5eTK2OrvPVEP0L3CTYifRWJqkt+/OyEtplUn1eTyIXgPcJgiLup6euwQdlwtPL+/VSAIDMakDX2bm6SbBLBYD8NBwHifTjH2YPDEezuIFXnS+yBJifVe8kXNXAQX/QTjTgEiYj1zXkmkloTfY/RxiP1nuu4GYzHRns1ANHTSvqPrkQAw4jhf6CmQ6X/RCw/yFUkygh175UiewH7XWO7D/OU+W6w2m+N0Yh8p3HxxQoKrejyiqfQAtKxJ8ZFoyCUC4le1gwtSXeYtNcdWzw== Received: from CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) by BL3PR11MB6484.namprd11.prod.outlook.com (2603:10b6:208:3bf::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Wed, 21 Dec 2022 15:09:04 +0000 Received: from CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::f5b1:a18e:e7d9:c499]) by CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::f5b1:a18e:e7d9:c499%9]) with mapi id 15.20.5924.016; Wed, 21 Dec 2022 15:09:04 +0000 Message-ID: Date: Wed, 21 Dec 2022 08:08:58 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Content-Language: en-US To: stable@freebsd.org References: <3eae7bee-d0e2-da47-bd15-cf9f72d583ff@nethead.se> From: "Edward Sanford Sutton, III" Subject: Re: Help with git - fetch earlier src version In-Reply-To: <3eae7bee-d0e2-da47-bd15-cf9f72d583ff@nethead.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [UpZ9gwZbLaENKJl88zf08QDcHF0BNB+w] X-ClientProxiedBy: PH0PR07CA0093.namprd07.prod.outlook.com (2603:10b6:510:4::8) To CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) X-Microsoft-Original-Message-ID: List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB4770:EE_|BL3PR11MB6484:EE_ X-MS-Office365-Filtering-Correlation-Id: e82e26ef-045f-473a-22a1-08dae3654c8c X-Microsoft-Antispam: BCL:0; X-Micros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sOTJqRGsxZDc2a05BVW9FTGxCMTVDY3U0TTEvcW1yLzROcmhkNmNuTkMv?= =?utf-8?B?UWxhc1hDZW54c0lXandTcWdsemtSdTA3YUV0T2pGYXhVbDZWaGcvT0FYVlE1?= =?utf-8?B?VmJha0k4Q2R2OXF2OUdiOWlVbG5MUnp0dCs1OGxSNmdFeU9uOUprbnp6UGZq?= =?utf-8?B?UWc3M3NtdW45MTlWMHI0QzdoVmNZUmNUNk9udzVqRlkwRHkyM3FvUjIvL2xm?= =?utf-8?B?bEFwNGhPVlhCL0NSVVFVaXBhMDBjSHpaK2F0TGpqQjJuQ0oxZkxKcTlYQnBB?= =?utf-8?B?ZHNLRCtmWjdsZXY5MjZ0U0ZYaDdZWVVNR3FjSTNacWhUSmduVU5yazJLSmtU?= =?utf-8?B?ZU50aGQ0bUJsWDBFTTYwdmhnbFl0L1JFUkdCcEc1dVVCRnNld0sybndRcUZ1?= =?utf-8?B?SEpqais2RFlacFNuTHhEdFBSYURUSzJzMU5uSk5LRE1xVURNeWEwZlBBbG0w?= =?utf-8?B?ZkFETThEaUd3cE1nYmNLTm5mdFBXL2FUUGpzL1hJNzBISWlPM3BFazB0bTN0?= =?utf-8?B?VGNlZXRBSGdxZ2ZxS2VMQnhHbnRLUEM4Qkl2SnlaeFhndkQ1azV6VWlBPT0=?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-e8f36.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: e82e26ef-045f-473a-22a1-08dae3654c8c X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4770.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2022 15:09:04.4925 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6484 X-Spamd-Result: default: False [-2.18 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.69)[-0.685]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; MLMMJ_DEST(0.00)[stable@freebsd.org]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; RCVD_IN_DNSWL_NONE(0.00)[40.92.21.72:from]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4NccKZ1gK6z3BtD X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On 12/21/22 05:56, Per olof Ljungmark wrote: > I am facing the same issue as in > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268492 > or possibly > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267421 > with a T490 laptop. > > Can someone please help with the git command to fetch an earlier > version, for example the one for the amd64 December 9th. snapshot? If you already have a checkout of stable/13, you made no local changes, you don't share that repo with anyone, and wanted to roll it back to a76fa7bb6cb721bcccc257ddbc4398d25dc8def8 which came 2022-12-08 01:18:32 +0000 just before a linuxkpi patch: git reset --hard a76fa7bb6cb721bcccc257ddbc4398d25dc8def8 When you want to return to the previous state you can run: git merge I thought --soft should work or excluding that parameter entirely to change your tree to that commit and that --hard destroys records of future commits from your git tree but that doesn't seem to be the case. You could also create another branch and revert just select commits from it so you can otherwise include useful changes (presuming they do not also depend on the reverted changes). Depending on the issue, there may be other commits involved so rolling back even further may be relevant. I thought I followed things from the new commits descriptions and emails here and what they were trying to undo to lead to undoing a patch from October 12th that altered ABI compatibility from 13.0. There have been several changes related to accidentally breaking ABI then trying to restore it. If you want to use recompiled packages then you need the ABI restored. If you build your own then you can get code after the breakage though code that later restores it will break relevant kernel modules which will need to be recompiled again after it is properly restored to 13.0 compatibility. You could browse commits by executing `git log` which has many parameters that help filter its output and that is also viewable at https://cgit.freebsd.org/src/log/?h=stable/13 where commit messages are clickable links; the end of the address of each of those links is &id=... where ... is the commit hash you can use to restore to that commit; make sure you grab something older than the commit that brought on your issues. If you want to locate commits that impacted 1 file, you can use something like: git log sys/compat/linuxkpi/common/include/linux/rbtree.h > Instead of > git clone -b stable/13 --depth 1 https://git.freebsd.org/src.git /usr/src > > (this of course if the issue is not already fixed with current 13-STABLE) > > Thanks, > Per >