2020-11-17 15:49:05

by kernel test robot

[permalink] [raw]
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 <[email protected]>

[ 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


Attachments:
(No filename) (4.24 kB)
config-5.10.0-rc1-00108-g3e3b42fee621 (174.20 kB)
job-script (6.10 kB)
dmesg.xz (45.03 kB)
blktests (1.74 kB)
job.yaml (5.14 kB)
reproduce (286.00 B)
Download all attachments

2020-11-17 16:51:33

by Bart Van Assche

[permalink] [raw]
Subject: Re: [block, scsi, ide] 3e3b42fee6: kmsg.sd#:#:#:#:[sdf]Asking_for_cache_data_failed

On 11/17/20 8:00 AM, kernel test robot wrote:
> 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 <[email protected]>

Please fix the test bot. The DID_ERROR messages are reported during test
block/001 and in the attached dmesg output I found the following:

block/001 (stress device hotplugging) [passed]

Bart.

2020-11-18 01:24:44

by Philip Li

[permalink] [raw]
Subject: Re: [LKP] Re: [block, scsi, ide] 3e3b42fee6: kmsg.sd#:#:#:#:[sdf]Asking_for_cache_data_failed

On Tue, Nov 17, 2020 at 08:46:46AM -0800, Bart Van Assche wrote:
> On 11/17/20 8:00 AM, kernel test robot wrote:
> > 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 <[email protected]>
>
> Please fix the test bot. The DID_ERROR messages are reported during test
sorry for the false positive, we will resolve this problem soon. Thanks
for your feedback.

> block/001 and in the attached dmesg output I found the following:
>
> block/001 (stress device hotplugging) [passed]
>
> Bart.
> _______________________________________________
> LKP mailing list -- [email protected]
> To unsubscribe send an email to [email protected]