lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201117143350.GA17824@xsang-OptiPlex-9020>
Date:   Wed, 18 Nov 2020 00:00:46 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Bart Van Assche <bvanassche@....org>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        "James E . J . Bottomley" <jejb@...ux.vnet.ibm.com>,
        Jens Axboe <axboe@...nel.dk>, Christoph Hellwig <hch@....de>,
        linux-scsi@...r.kernel.org, linux-block@...r.kernel.org,
        Bart Van Assche <bvanassche@....org>,
        Alan Stern <stern@...land.harvard.edu>,
        Can Guo <cang@...eaurora.org>,
        Stanley Chu <stanley.chu@...iatek.com>,
        Ming Lei <ming.lei@...hat.com>,
        "Rafael J . Wysocki" <rafael.j.wysocki@...el.com>,
        Martin Kepplinger <martin.kepplinger@...i.sm>,
        0day robot <lkp@...el.com>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [block, scsi, ide]  3e3b42fee6:
 kmsg.sd#:#:#:#:[sdf]Asking_for_cache_data_failed


Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 3e3b42fee621eeed029e224881073bc3e3b5cfa7 ("[PATCH v2 8/9] block, scsi, ide: Only process PM requests if rpm_status != RPM_ACTIVE")
url: https://github.com/0day-ci/linux/commits/Bart-Van-Assche/Rework-runtime-suspend-and-SCSI-domain-validation/20201116-111041
base: https://git.kernel.org/cgit/linux/kernel/git/mkp/scsi.git for-next

in testcase: blktests
version: blktests-x86_64-e10add0-1_20201110
with following parameters:

	disk: 1SSD
	test: block-group1
	ucode: 0xdc



on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):




If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>

[   22.830983] sd 7:0:0:0: [sdc] Mode Sense: 00 00 00 00
[   22.831051] sd 7:0:0:0: [sdc] Asking for cache data failed
[   22.835882] sd 4:0:0:0: [sdd] 0 512-byte logical blocks: (0 B/0 B)
[   22.835883] sd 4:0:0:0: [sdd] 0-byte physical blocks
[   22.835885] sd 4:0:0:0: [sdd] Write Protect is off
[   22.835886] sd 4:0:0:0: [sdd] Mode Sense: 00 00 00 00
[   22.835887] sd 4:0:0:0: [sdd] Asking for cache data failed
[   22.835888] sd 4:0:0:0: [sdd] Assuming drive cache: write through
[   22.835978] sd 6:0:0:0: [sde] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   22.840753] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[   22.991295] sd 6:0:0:0: [sde] Sense not available.
[   22.996123] sd 6:0:0:0: [sde] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   23.005523] sd 6:0:0:0: [sde] Sense not available.
[   23.005730] sd 7:0:0:0: [sdc] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   23.010650] sd 6:0:0:0: [sde] 0 512-byte logical blocks: (0 B/0 B)
[   23.019700] sd 7:0:0:0: [sdc] Sense not available.
[   23.019763] sd 7:0:0:0: [sdc] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   23.025881] sd 6:0:0:0: [sde] 0-byte physical blocks
[   23.026454] sd 6:0:0:0: [sde] Write Protect is off
[   23.030673] sd 7:0:0:0: [sdc] Sense not available.
[   23.031549] sd 4:0:0:0: [sdd] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   23.040065] sd 6:0:0:0: [sde] Mode Sense: 00 00 00 00
[   23.040655] sd 6:0:0:0: [sde] Asking for cache data failed
...
[   37.245634] sd 7:0:0:0: Power-on or device reset occurred
[   37.249853] sd 5:0:0:0: [sde] Sense not available.
[   37.250496] sd 5:0:0:0: [sde] 0 512-byte logical blocks: (0 B/0 B)
[   37.255363] sd 7:0:0:0: [sdf] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   37.261864] sd 6:0:0:0: [sdd] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   37.261865] sd 6:0:0:0: [sdd] Sense not available.
[   37.261869] sd 6:0:0:0: [sdd] 0 512-byte logical blocks: (0 B/0 B)
[   37.261874] sd 6:0:0:0: [sdd] Attached SCSI disk
[   37.263939] sd 5:0:0:0: [sde] Attached SCSI disk
[   37.268939] sd 7:0:0:0: [sdf] Sense not available.
[   37.269001] sd 7:0:0:0: [sdf] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   37.277727] sd 4:0:0:0: [sdc] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   37.282537] sd 7:0:0:0: [sdf] Sense not available.
[   37.282571] sd 7:0:0:0: [sdf] 0 512-byte logical blocks: (0 B/0 B)
[   37.290626] sd 4:0:0:0: [sdc] Sense not available.
[   37.291527] sd 4:0:0:0: [sdc] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[   37.296113] sd 7:0:0:0: [sdf] 0-byte physical blocks
[   37.296708] sd 7:0:0:0: [sdf] Write Protect is off
[   37.304248] sd 4:0:0:0: [sdc] Sense not available.
[   37.309716] sd 7:0:0:0: [sdf] Mode Sense: 00 00 00 00
[   37.318267] sd 4:0:0:0: [sdc] Attached SCSI disk
[   37.323297] sd 7:0:0:0: [sdf] Asking for cache data failed
[   37.783441] sd 7:0:0:0: [sdf] Assuming drive cache: write through




To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Oliver Sang


View attachment "config-5.10.0-rc1-00108-g3e3b42fee621" of type "text/plain" (171533 bytes)

View attachment "job-script" of type "text/plain" (6080 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (46112 bytes)

View attachment "blktests" of type "text/plain" (1750 bytes)

View attachment "job.yaml" of type "text/plain" (5105 bytes)

View attachment "reproduce" of type "text/plain" (284 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ