Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp978560rdh; Fri, 27 Oct 2023 00:41:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9EnkOVh7WULb3KBTYNv5zQZBLPwdl5OVQ1BfjCmziif+aXbr1gx9z64Pl5z9hQtmBU54C X-Received: by 2002:a25:244f:0:b0:d9a:f948:aae1 with SMTP id k76-20020a25244f000000b00d9af948aae1mr1834392ybk.29.1698392506609; Fri, 27 Oct 2023 00:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698392506; cv=none; d=google.com; s=arc-20160816; b=XmSk/9iwp+XXCxfSGPwxntsj8OoGmR4BGIvroRo+7P8sJZQm9KGegHHfXAxa2f3WWB 8snFbKMtcmya1Qfa8NVzQawbWRfac981JjzBGArmx365e5aSi4bZYfVV43ekVYGyeX5e 9+SGBQln4hjQGPq9H7kIP4L4SQQfv2ueXG1ixj7JO0IN3si9T4vuNF0eOoate4NbH+Mq 7eIFc954xc4XCmZ7m7e6KzPOfr5uRILx/PjCQueQyEgBYw5jrpPMk9+ZRpTVAFgswHUf 76sen6kSMJHbloXYYQikBQvDtBhgfLMxz3ooF5LNLZO4Us5+u1uWodsi2QCf3y9nOCSp xfBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=3KvWaogXu1jEiH7QPPKyFwgwe+2AMwgg1JRrd1K7UjQ=; fh=3vHq785gmNxQKS7kfnz/Dma9aCIkqhwmkTa3hVBp4Xs=; b=bMeNVfHb5S5nMN4YNpa0mwOJcOq6qDLfexjf5w+m/NiefuWBuiFf/Z/DUH7eV4mbqp hY/y+naWf50Vqjektk4qQsJwuvFLRj0Np/4vT8W2m7n/CCk75vNdFWGsr06J/TK9vdDz afO7dm8xMTCZQNl/y/SttsOM6blrkC1rF5XZKGyoney08KhGnXotx0CEE90iOrB1B+Ui F4GzlQSlzk9Cy7lHZaiC90VoxVPivfV9iHZG57vlKMFnihJ1znBk+nfq3HtRwCPOUh5Y VEhB4cZlCsZFxNhV1suKxMeenor7SEoT2yUyxIRPfmmyixXk7e7ctorD2kYutZbeKaMT +/4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e/5k/Mhy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id bu32-20020a056902092000b00d9ab6c99aa4si2306389ybb.589.2023.10.27.00.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 00:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e/5k/Mhy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id BCBC5826FAA6; Fri, 27 Oct 2023 00:41:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345363AbjJ0Hlg (ORCPT + 99 others); Fri, 27 Oct 2023 03:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234963AbjJ0Hlf (ORCPT ); Fri, 27 Oct 2023 03:41:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A747116; Fri, 27 Oct 2023 00:41:33 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A645AC433C8; Fri, 27 Oct 2023 07:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698392492; bh=NvacY1hEpnqQButdl2GZZQ6vULuGFAPU0qOtVRd1wRo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=e/5k/Mhyzvsd0Sz+hPynIiHfCMpBcCwbq4rpPw5o6xUJBpa24Xjb48yTiUTxabp7i xFe7psurwgdbDN1OuYTczgK1JvLGzeg8czCoLoWHuUEqcMdq+EgGwz4IfoIEkD3WU5 VfClx8D9TFTSShSpiL6Nw0r5JFWaE+q6yTwOInz1O+SXvHFODkLaFQBjZyCBwkgH0f YMaqfugGIKT4LnxjfpyUbqiOe3u2HE5vf47x7p3/1FEJynq/hAqRduNgSpVD0KeTOC Eanb/0NG99tTsEYzGgWTQfPi9B7Brec3BbUbBMMFM+ewsniotp9vTCpTqaC2DX3e2u 0G18SbH5kXxYA== Message-ID: Date: Fri, 27 Oct 2023 16:41:30 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fwd: bbbf096ea227607cbb348155eeda7af71af1a35b results in "dirty" shutdown Content-Language: en-US To: Bagas Sanjaya , Linux Kernel Mailing List , Linux Regressions , Linux IDE and libata Cc: Hannes Reinecke , Geert Uytterhoeven , "Martin K. Petersen" , Tejun Heo , Totallyreal Name , loqs References: From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 27 Oct 2023 00:41:43 -0700 (PDT) On 10/25/23 09:40, Bagas Sanjaya wrote: > Hi, > > I notice a regression report on Bugzilla that seems to have been > handled already there [1]. Quoting from it: > >> I have noticed that after each shutdown SMART would log +1 on each raw_value of drives that count power related issues. >> >> Here are some of the smart values where i noticed increase among different drives >> >> POR_Recovery_Count >> Unexpect_Power_Loss_Ct >> Power-Off_Retract_Count >> >> That doesn't happen on previous Kernels.. and it stops as soon as i switch back to LTS. >> I seeked through the Bug Reports but couldn't really find the issue. So i don't know if this has been reported or patched already. > > Another reporter had found the culprit: > >> >> >> This has been reported as being introduced in stable 6.5.8 [1]. Reverting commit bbbf096ea227607cbb348155eeda7af71af1a35b is reported to solve the issue [2]. bbbf096ea227607cbb348155eeda7af71af1a35b [3] is mainline commit aa3998dbeb3abce63653b7f6d4542e7dcd022590 [4] which was introduced in 6.6-rc4 which matches the original report. >> >> [1]: https://bugs.archlinux.org/task/80064 >> [2]: https://bugs.archlinux.org/task/80064#comment223100 >> [3]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bbbf096ea227607cbb348155eeda7af71af1a35b >> [4]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aa3998dbeb3abce63653b7f6d4542e7dcd022590 > > See Bugzilla for the full thread. > > Anyway, I'm adding this regression to regzbot: > > #regzbot introduced: aa3998dbeb3abc https://bugzilla.kernel.org/show_bug.cgi?id=218038 > #regzbot title: dirty shutdown due to disabling manage_system_start_stop on SCSI devices > #regzbot link: https://bugs.archlinux.org/task/80064 #regzbot fixed-by: 24eca2dce0f8d19db808c972b0281298d0bafe99 > > Thanks. > > [1]: https://bugzilla.kernel.org/show_bug.cgi?id=218038 > -- Damien Le Moal Western Digital Research