Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #82219

Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2)

Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2)
Date Wed, 10 Apr 2024 20:50:01 +0200
Message-ID <IrLbb-5oLI-3@gated-at.bofh.it> (permalink)
References <Irk1j-58je-5@gated-at.bofh.it> <IrD3X-5k5z-3@gated-at.bofh.it> <Ir6hI-4ZkR-19@gated-at.bofh.it> <IrFIt-5lrd-1@gated-at.bofh.it> <IrGlb-5lTd-1@gated-at.bofh.it> <IrGuR-5lWO-9@gated-at.bofh.it> <IrGEy-5m01-7@gated-at.bofh.it> <IrGOd-5miB-5@gated-at.bofh.it> <IrI3D-5mWx-1@gated-at.bofh.it> <IrJCp-5nZK-1@gated-at.bofh.it> <Ir6hI-4ZkR-19@gated-at.bofh.it> <IrJCp-5nZK-1@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Apr 10 18:42:09 2024
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score 0.201
Reply-To Salvatore Bonaccorso <carnil@debian.org>, 1068675@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1068675
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords confirmed
X-Debian-Pr-Source linux
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Debian-User carnil
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1832508
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 68
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 1068675@bugs.debian.org, Diederik de Haas <didi.debian@cknow.org>
X-Original-Date Wed, 10 Apr 2024 20:38:09 +0200
X-Original-Message-ID <ZhbckTCbnKwts5Ab@eldamar.lan>
X-Original-References <9065937.spEHoIYyim@bagend> <ZhZjVpB0BCMtfz6A@eldamar.lan> <171261760314.2433.17148721697100247453.reportbug@anchorage.home> <20240410124842.qqedxtbvnsbfjdr2@mraw.org> <20240410133202.3kqqp7vmzr5vipls@mraw.org> <ZhaXVEQuMJVaXaAM@eldamar.lan> <ZhaZcJWERJbsQcsL@eldamar.lan> <20240410140219.nznbagyv6qstkhqe@mraw.org> <20240410152513.qstnj6ggjn77e3az@mraw.org> <20240410170014.xdmkfwksqs7harhc@mraw.org> <171261760314.2433.17148721697100247453.reportbug@anchorage.home> <20240410170014.xdmkfwksqs7harhc@mraw.org>
Xref csiph.com linux.debian.bugs.dist:1193701 linux.debian.kernel:82219

Cross-posted to 2 groups.

Show key headers only | View raw


Control: tags -1 + upstream

Hi,

On Wed, Apr 10, 2024 at 07:00:14PM +0200, Cyril Brulebois wrote:
> Cyril Brulebois <kibi@debian.org> (2024-04-10):
> > Intermediate results based on upstream stable releases: v6.1.80 is good,
> > v6.1.81 is bad. Still ~200 commits to bisect.
> 
> Final results:
> 
>     kibi@genova:~/hack/linux.git ((cf33e6ca12d81...)|BISECTING)$ git bisect bad
>     cf33e6ca12d814e1be2263cb76960d0019d7fb94 is the first bad commit
>     commit cf33e6ca12d814e1be2263cb76960d0019d7fb94
>     Author: Mike Christie <michael.christie@oracle.com>
>     Date:   Thu Dec 29 13:01:40 2022 -0600
>     
>         scsi: core: Add struct for args to execution functions
>         
>         [ Upstream commit d0949565811f0896c1c7e781ab2ad99d34273fdf ]
>         
>         Move the SCSI execution functions to use a struct for passing in optional
>         args. This commit adds the new struct, temporarily converts scsi_execute()
>         and scsi_execute_req() ands a new helper, scsi_execute_cmd(), which takes
>         the scsi_exec_args struct.
>         
>         There should be no change in behavior. We no longer allow users to pass in
>         any request->rq_flags value, but they were only passing in RQF_PM which we
>         do support by allowing users to pass in the BLK_MQ_REQ flags used by
>         blk_mq_alloc_request().
>         
>         Subsequent commits will convert scsi_execute() and scsi_execute_req() users
>         to the new helpers then remove scsi_execute() and scsi_execute_req().
>         
>         Signed-off-by: Mike Christie <michael.christie@oracle.com>
>         Reviewed-by: Bart Van Assche <bvanassche@acm.org>
>         Reviewed-by: Christoph Hellwig <hch@lst.de>
>         Reviewed-by: John Garry <john.g.garry@oracle.com>
>         Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
>         Stable-dep-of: 321da3dc1f3c ("scsi: sd: usb_storage: uas: Access media prior to querying device properties")
>         Signed-off-by: Sasha Levin <sashal@kernel.org>
>     
>      drivers/scsi/scsi_lib.c    | 52 ++++++++++++++++++++++------------------------
>      include/scsi/scsi_device.h | 51 ++++++++++++++++++++++++++++++++-------------
>      2 files changed, 62 insertions(+), 41 deletions(-)
> 
> 
> That's one of the 3 commits suggested by Diederik, good hunch.
> 
> I know hindsight is always 100% but “There should be no change in
> behavior.”… :D
> 
> Of course, since there are companion changes afterwards, it cannot be
> simply reverted on top of either v6.1.82 (Debian) or v6.1.84 (upstream).
> 
> 
> I'd appreciate if someone could carry the ball through the appropriate
> channels upstream.

Great, thanks a lot for your bisecting work!

Yes, if you prefer to not do the forwarding upstream (stable list, CC
to involved people + regression list), then I can try to take care of
it. Obviously the former would be great, as you are the finder and
have done all the work.

Regards,
Salvatore

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-09 01:10 +0200
  Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Diederik de Haas <didi.debian@cknow.org> - 2024-04-09 15:50 +0200
    Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Salvatore Bonaccorso <carnil@debian.org> - 2024-04-10 12:10 +0200
      Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-10 15:00 +0200
        Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-10 15:40 +0200
          Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Salvatore Bonaccorso <carnil@debian.org> - 2024-04-10 15:50 +0200
            Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Salvatore Bonaccorso <carnil@debian.org> - 2024-04-10 16:00 +0200
              Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-10 16:10 +0200
                Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-10 17:30 +0200
                Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-10 19:10 +0200
                Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-10 19:40 +0200
                Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Salvatore Bonaccorso <carnil@debian.org> - 2024-04-10 20:50 +0200
                Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-10 21:50 +0200
              Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Cyril Brulebois <kibi@debian.org> - 2024-04-11 10:10 +0200
          Bug#1068675: linux-image-6.1.0-19-amd64: loss of SMART information: Device is in SLEEP mode, exit(2) Diederik de Haas <didi.debian@cknow.org> - 2024-04-10 17:00 +0200
  Processed: Re: Bug#1068675: linux-image-6.1.0-19-amd64: loss of  SMART information: Device is in SLEEP mode, exit(2) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-10 12:10 +0200
  Processed: Re: Bug#1068675: linux-image-6.1.0-19-amd64: loss of  SMART information: Device is in SLEEP mode, exit(2) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-10 15:50 +0200
  Processed: Re: Bug#1068675: linux-image-6.1.0-19-amd64: loss of  SMART information: Device is in SLEEP mode, exit(2) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-10 20:50 +0200
  Processed: Re: Bug#1068675: linux-image-6.1.0-19-amd64: loss of  SMART information: Device is in SLEEP mode, exit(2) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-10 21:50 +0200

csiph-web