2019-11-26 09:10:11 |
Fred Kimmy |
bug |
|
|
added bug |
2019-11-29 08:58:33 |
Ike Panhc |
nominated for series |
|
kunpeng920/ubuntu-18.04-hwe |
|
2019-11-29 08:58:33 |
Ike Panhc |
bug task added |
|
kunpeng920/ubuntu-18.04-hwe |
|
2019-11-29 08:58:33 |
Ike Panhc |
nominated for series |
|
kunpeng920/ubuntu-20.04 |
|
2019-11-29 08:58:33 |
Ike Panhc |
bug task added |
|
kunpeng920/ubuntu-20.04 |
|
2019-11-29 08:58:33 |
Ike Panhc |
nominated for series |
|
kunpeng920/upstream-kernel |
|
2019-11-29 08:58:33 |
Ike Panhc |
bug task added |
|
kunpeng920/upstream-kernel |
|
2019-11-29 08:58:54 |
Ike Panhc |
kunpeng920/upstream-kernel: milestone |
|
linux-v5.4 |
|
2019-11-29 08:58:57 |
Ike Panhc |
kunpeng920/upstream-kernel: status |
New |
Fix Released |
|
2019-11-29 09:05:48 |
Ike Panhc |
kunpeng920/ubuntu-20.04: milestone |
|
ubuntu-20.04-ga |
|
2019-11-29 09:06:02 |
Ike Panhc |
kunpeng920/ubuntu-18.04-hwe: milestone |
|
ubuntu-18.04.5 |
|
2019-12-02 23:59:35 |
dann frazier |
nominated for series |
|
kunpeng920/ubuntu-18.04 |
|
2019-12-02 23:59:35 |
dann frazier |
bug task added |
|
kunpeng920/ubuntu-18.04 |
|
2019-12-02 23:59:35 |
dann frazier |
nominated for series |
|
kunpeng920/ubuntu-19.04 |
|
2019-12-02 23:59:35 |
dann frazier |
bug task added |
|
kunpeng920/ubuntu-19.04 |
|
2019-12-02 23:59:35 |
dann frazier |
nominated for series |
|
kunpeng920/ubuntu-19.10 |
|
2019-12-02 23:59:35 |
dann frazier |
bug task added |
|
kunpeng920/ubuntu-19.10 |
|
2019-12-03 07:31:22 |
Ike Panhc |
tags |
|
backport |
|
2019-12-03 08:18:04 |
Ike Panhc |
kunpeng920: status |
New |
Incomplete |
|
2019-12-12 00:04:50 |
dann frazier |
kunpeng920/ubuntu-18.04: status |
New |
Triaged |
|
2019-12-12 00:04:52 |
dann frazier |
kunpeng920/ubuntu-18.04-hwe: status |
New |
Triaged |
|
2019-12-12 00:05:20 |
dann frazier |
kunpeng920/ubuntu-18.04-hwe: milestone |
ubuntu-18.04.5 |
ubuntu-18.04.4-sru-1 |
|
2019-12-12 00:05:28 |
dann frazier |
kunpeng920/ubuntu-19.04: status |
New |
Triaged |
|
2019-12-12 00:05:34 |
dann frazier |
kunpeng920/ubuntu-19.04: milestone |
|
ubuntu-19.04-sru-121 |
|
2019-12-12 00:06:36 |
dann frazier |
kunpeng920/ubuntu-19.10: status |
New |
Triaged |
|
2019-12-12 00:06:44 |
dann frazier |
kunpeng920/ubuntu-19.10: milestone |
|
ubuntu-19.10-sru-5 |
|
2019-12-12 00:07:16 |
dann frazier |
kunpeng920/ubuntu-20.04: status |
New |
Fix Committed |
|
2019-12-12 00:07:22 |
dann frazier |
kunpeng920/ubuntu-18.04: milestone |
|
ubuntu-18.04.4-sru-1 |
|
2019-12-12 00:07:26 |
dann frazier |
kunpeng920: status |
Incomplete |
Triaged |
|
2019-12-26 06:58:23 |
Ike Panhc |
bug task added |
|
linux (Ubuntu) |
|
2019-12-26 06:58:58 |
Ike Panhc |
nominated for series |
|
Ubuntu Eoan |
|
2019-12-26 06:58:58 |
Ike Panhc |
bug task added |
|
linux (Ubuntu Eoan) |
|
2019-12-26 06:58:58 |
Ike Panhc |
nominated for series |
|
Ubuntu Bionic |
|
2019-12-26 06:58:58 |
Ike Panhc |
bug task added |
|
linux (Ubuntu Bionic) |
|
2019-12-26 06:58:58 |
Ike Panhc |
nominated for series |
|
Ubuntu Focal |
|
2019-12-26 06:58:58 |
Ike Panhc |
bug task added |
|
linux (Ubuntu Focal) |
|
2019-12-26 06:58:58 |
Ike Panhc |
nominated for series |
|
Ubuntu Disco |
|
2019-12-26 06:58:58 |
Ike Panhc |
bug task added |
|
linux (Ubuntu Disco) |
|
2019-12-26 06:59:37 |
Ike Panhc |
linux (Ubuntu Bionic): status |
New |
In Progress |
|
2019-12-26 06:59:37 |
Ike Panhc |
linux (Ubuntu Bionic): assignee |
|
Ike Panhc (ikepanhc) |
|
2019-12-26 07:00:18 |
Ike Panhc |
linux (Ubuntu Disco): status |
New |
In Progress |
|
2019-12-26 07:00:18 |
Ike Panhc |
linux (Ubuntu Disco): assignee |
|
Ike Panhc (ikepanhc) |
|
2019-12-26 07:00:22 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2019-12-26 07:00:29 |
Ubuntu Kernel Bot |
linux (Ubuntu Eoan): status |
New |
Incomplete |
|
2019-12-26 07:02:22 |
Ike Panhc |
linux (Ubuntu Eoan): status |
Incomplete |
In Progress |
|
2019-12-26 07:02:22 |
Ike Panhc |
linux (Ubuntu Eoan): assignee |
|
Ike Panhc (ikepanhc) |
|
2019-12-26 07:03:27 |
Ike Panhc |
linux (Ubuntu Focal): status |
Incomplete |
Fix Released |
|
2019-12-26 07:04:20 |
Ike Panhc |
kunpeng920/ubuntu-19.10: status |
Triaged |
In Progress |
|
2019-12-26 07:04:20 |
Ike Panhc |
kunpeng920/ubuntu-19.10: assignee |
|
Ike Panhc (ikepanhc) |
|
2019-12-26 07:05:02 |
Ike Panhc |
kunpeng920/ubuntu-19.04: status |
Triaged |
In Progress |
|
2019-12-26 07:05:02 |
Ike Panhc |
kunpeng920/ubuntu-19.04: assignee |
|
Ike Panhc (ikepanhc) |
|
2019-12-26 07:05:41 |
Ike Panhc |
kunpeng920/ubuntu-18.04-hwe: status |
Triaged |
In Progress |
|
2019-12-26 07:05:41 |
Ike Panhc |
kunpeng920/ubuntu-18.04-hwe: assignee |
|
Ike Panhc (ikepanhc) |
|
2019-12-26 07:07:22 |
Ike Panhc |
kunpeng920/ubuntu-18.04: status |
Triaged |
In Progress |
|
2019-12-26 07:07:22 |
Ike Panhc |
kunpeng920/ubuntu-18.04: assignee |
|
Ike Panhc (ikepanhc) |
|
2019-12-26 07:10:15 |
Ike Panhc |
kunpeng920: status |
Triaged |
In Progress |
|
2019-12-26 07:22:31 |
Ike Panhc |
description |
"[Steps to Reproduce]
mkfs.ext4 to the special SAMSUNG M27LH960, and some IO error
[Actual Results]
Io error when the first time of mkfs.ext4
[ 745.809462] hisi_sas_v3_hw 0000:74:02.0: erroneous completion iptt=8 task=00000000975f5cdf dev id=1 CQ hdr: 0x41d03 0x10008 0x1 0x4460000 Error info: 0x0 0x0 0x10000 0x0
[ 776.028794] sas: Enter sas_scsi_recover_host busy: 2 failed: 2
[ 776.034612] sas: trying to find task 0x000000009656953a
[ 776.034613] sas: sas_scsi_find_task: aborting task 0x000000009656953a
[ 776.042785] sas: sas_scsi_find_task: task 0x000000009656953a is done
[ 776.042786] sas: sas_eh_handle_sas_errors: task 0x000000009656953a is done
[ 776.049635] sas: trying to find task 0x00000000975f5cdf
[ 776.049636] sas: sas_scsi_find_task: aborting task 0x00000000975f5cdf
[ 776.056053] sas: sas_scsi_find_task: task 0x00000000975f5cdf is done
[ 776.056054] sas: sas_eh_handle_sas_errors: task 0x00000000975f5cdf is done
[ 776.062900] sas: ata5: end_device-4:0: cmd error handler
[ 776.062914] sas: ata5: end_device-4:0: dev error handler
[ 776.062918] sas: ata6: end_device-4:1: dev error handler
[ 776.062920] ata5.00: exception Emask 0x0 SAct 0xc0000000 SErr 0x0 action 0x6 frozen
[ 776.062924] sas: ata7: end_device-4:2: dev error handler
[ 776.062926] sas: ata8: end_device-4:3: dev error handler
[ 776.070548] ata5.00: failed command: SEND FPDMA QUEUED
[ 776.075669] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 30 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 776.090638] ata5.00: status: { DRDY }
[ 776.094290] ata5.00: failed command: SEND FPDMA QUEUED
[ 776.099410] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 31 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 776.114399] ata5.00: status: { DRDY }
[ 776.118051] ata5: hard resetting link
[ 776.123198] hisi_sas_v3_hw 0000:74:02.0: phydown: phy0 phy_state=0xfe
[ 776.129609] hisi_sas_v3_hw 0000:74:02.0: ignore flutter phy0 down
[ 776.282642] hisi_sas_v3_hw 0000:74:02.0: phyup: phy0 link_rate=10(sata)
[ 776.289236] sas: sas_form_port: phy0 belongs to port0 already(1)!
[ 776.451784] ata5.00: configured for UDMA/133
[ 776.456043] ata5.00: device reported invalid CHS sector 0
[ 776.461423] ata5.00: device reported invalid CHS sector 0
[ 776.466807] ata5: EH complete
[ 776.469773] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 2 tries: 1
[ 776.498528] hisi_sas_v3_hw 0000:74:02.0: erroneous completion iptt=15 task=000000009656953a dev id=1 CQ hdr: 0x41d03 0x1000f 0x1 0x4460000 Error info: 0x0 0x0 0x10000 0x0
[ 806.740789] sas: Enter sas_scsi_recover_host busy: 2 failed: 2
[ 806.746604] sas: trying to find task 0x00000000975f5cdf
[ 806.746605] sas: sas_scsi_find_task: aborting task 0x00000000975f5cdf
[ 806.754732] sas: sas_scsi_find_task: task 0x00000000975f5cdf is done
[ 806.754733] sas: sas_eh_handle_sas_errors: task 0x00000000975f5cdf is done
[ 806.761582] sas: trying to find task 0x000000009656953a
[ 806.761584] sas: sas_scsi_find_task: aborting task 0x000000009656953a
[ 806.768002] sas: sas_scsi_find_task: task 0x000000009656953a is done
[ 806.768003] sas: sas_eh_handle_sas_errors: task 0x000000009656953a is done
[ 806.774852] sas: ata5: end_device-4:0: cmd error handler
[ 806.774864] sas: ata5: end_device-4:0: dev error handler
[ 806.774868] sas: ata6: end_device-4:1: dev error handler
[ 806.774870] ata5.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x6 frozen
[ 806.774873] ata5.00: failed command: SEND FPDMA QUEUED
[ 806.774875] sas: ata7: end_device-4:2: dev error handler
[ 806.774878] sas: ata8: end_device-4:3: dev error handler
[ 806.787013] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 0 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 806.801900] ata5.00: status: { DRDY }
[ 806.805554] ata5.00: failed command: SEND FPDMA QUEUED
[ 806.810674] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 1 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 806.825582] ata5.00: status: { DRDY }
[ 806.829237] ata5: hard resetting link
[ 806.834445] hisi_sas_v3_hw 0000:74:02.0: phydown: phy0 phy_state=0xfe
[ 806.840856] hisi_sas_v3_hw 0000:74:02.0: ignore flutter phy0 down
[ 806.994690] hisi_sas_v3_hw 0000:74:02.0: phyup: phy0 link_rate=10(sata)
[ 807.001279] sas: sas_form_port: phy0 belongs to port0 already(1)!
[ 807.163818] ata5.00: configured for UDMA/133
[ 807.168075] ata5.00: device reported invalid CHS sector 0
[ 807.173453] ata5.00: device reported invalid CHS sector 0
[ 807.178838] ata5: EH complete
[ 807.181806] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 2 tries: 1
[ 807.210880] hisi_sas_v3_hw 0000:74:02.0: erroneous completion iptt=38 task=00000000975f5cdf dev id=1 CQ hdr: 0x41d03 0x10026 0x1 0x4460000 Error info: 0x0 0x0 0x10000 0x0
[ 837.460789] sas: Enter sas_scsi_recover_host busy: 2 failed: 2
[ 837.466601] sas: trying to find task 0x000000009656953a
[ 837.466602] sas: sas_scsi_find_task: aborting task 0x000000009656953a
[ 837.474777] sas: sas_scsi_find_task: task 0x000000009656953a is done
[ 837.474778] sas: sas_eh_handle_sas_errors: task 0x000000009656953a is done
[ 837.481625] sas: trying to find task 0x00000000975f5cdf
[ 837.481626] sas: sas_scsi_find_task: aborting task 0x00000000975f5cdf
[ 837.488040] sas: sas_scsi_find_task: task 0x00000000975f5cdf is done
[ 837.488041] sas: sas_eh_handle_sas_errors: task 0x00000000975f5cdf is done
[ 837.494886] sas: ata5: end_device-4:0: cmd error handler
[ 837.494898] sas: ata5: end_device-4:0: dev error handler
[ 837.494901] sas: ata6: end_device-4:1: dev error handler
[ 837.494904] ata5.00: NCQ disabled due to excessive errors
[ 837.494905] sas: ata7: end_device-4:2: dev error handler
[ 837.494909] sas: ata8: end_device-4:3: dev error handler
[ 837.500288] ata5.00: exception Emask 0x0 SAct 0xc SErr 0x0 action 0x6 frozen
[ 837.507309] ata5.00: failed command: SEND FPDMA QUEUED
[ 837.512429] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 2 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 837.527332] ata5.00: status: { DRDY }
[ 837.530982] ata5.00: failed command: SEND FPDMA QUEUED
[ 837.536101] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 3 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 837.550983] ata5.00: status: { DRDY }
[ 837.554635] ata5: hard resetting link
[ 837.559892] hisi_sas_v3_hw 0000:74:02.0: phydown: phy0 phy_state=0xfe
[ 837.566303] hisi_sas_v3_hw 0000:74:02.0: ignore flutter phy0 down
[ 837.718640] hisi_sas_v3_hw 0000:74:02.0: phyup: phy0 link_rate=10(sata)
[ 837.725233] sas: sas_form_port: phy0 belongs to port0 already(1)!
[ 837.887858] ata5.00: configured for UDMA/133
[ 837.892117] ata5.00: device reported invalid CHS sector 0
[ 837.897503] ata5: EH complete
[ 837.900466] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 2 tries: 1
[Expected Results]
no issue or no IO error
[Reproducibility]
It occurs all the times
[Additional information]
Hardware: D06 CS
Firmware: NA
Kernel: NA
[Resolution]
Currently the NCQ tag is only assigned for FPDMA READ and FPDMA WRITE
commands, and for other NCQ commands (such as FPDMA SEND), their NCQ tags
are set in the delivery command to 0.
So for all the NCQ commands, we also need to assign normal NCQ tag for
them, so drop the command type check in hisi_sas_get_ncq_tag() [drop
hisi_sas_get_ncq_tag() altogether actually], and always use the ATA command
NCQ tag when appropriate."
scsi: hisi_sas: Assign NCQ tag for all NCQ commands |
[Impact]
I/O error on blank Samsung SSD
[Test Case]
mkfs.ext4 on SSDs generates no I/O error
[Fix]
435a05cf8c00 scsi: hisi_sas: Assign NCQ tag for all NCQ commands
[Regression Risk]
Patch restricted to hisi_sas driver.
"[Steps to Reproduce]
mkfs.ext4 to the special SAMSUNG M27LH960, and some IO error
[Actual Results]
Io error when the first time of mkfs.ext4
[ 745.809462] hisi_sas_v3_hw 0000:74:02.0: erroneous completion iptt=8 task=00000000975f5cdf dev id=1 CQ hdr: 0x41d03 0x10008 0x1 0x4460000 Error info: 0x0 0x0 0x10000 0x0
[ 776.028794] sas: Enter sas_scsi_recover_host busy: 2 failed: 2
[ 776.034612] sas: trying to find task 0x000000009656953a
[ 776.034613] sas: sas_scsi_find_task: aborting task 0x000000009656953a
[ 776.042785] sas: sas_scsi_find_task: task 0x000000009656953a is done
[ 776.042786] sas: sas_eh_handle_sas_errors: task 0x000000009656953a is done
[ 776.049635] sas: trying to find task 0x00000000975f5cdf
[ 776.049636] sas: sas_scsi_find_task: aborting task 0x00000000975f5cdf
[ 776.056053] sas: sas_scsi_find_task: task 0x00000000975f5cdf is done
[ 776.056054] sas: sas_eh_handle_sas_errors: task 0x00000000975f5cdf is done
[ 776.062900] sas: ata5: end_device-4:0: cmd error handler
[ 776.062914] sas: ata5: end_device-4:0: dev error handler
[ 776.062918] sas: ata6: end_device-4:1: dev error handler
[ 776.062920] ata5.00: exception Emask 0x0 SAct 0xc0000000 SErr 0x0 action 0x6 frozen
[ 776.062924] sas: ata7: end_device-4:2: dev error handler
[ 776.062926] sas: ata8: end_device-4:3: dev error handler
[ 776.070548] ata5.00: failed command: SEND FPDMA QUEUED
[ 776.075669] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 30 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 776.090638] ata5.00: status: { DRDY }
[ 776.094290] ata5.00: failed command: SEND FPDMA QUEUED
[ 776.099410] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 31 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 776.114399] ata5.00: status: { DRDY }
[ 776.118051] ata5: hard resetting link
[ 776.123198] hisi_sas_v3_hw 0000:74:02.0: phydown: phy0 phy_state=0xfe
[ 776.129609] hisi_sas_v3_hw 0000:74:02.0: ignore flutter phy0 down
[ 776.282642] hisi_sas_v3_hw 0000:74:02.0: phyup: phy0 link_rate=10(sata)
[ 776.289236] sas: sas_form_port: phy0 belongs to port0 already(1)!
[ 776.451784] ata5.00: configured for UDMA/133
[ 776.456043] ata5.00: device reported invalid CHS sector 0
[ 776.461423] ata5.00: device reported invalid CHS sector 0
[ 776.466807] ata5: EH complete
[ 776.469773] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 2 tries: 1
[ 776.498528] hisi_sas_v3_hw 0000:74:02.0: erroneous completion iptt=15 task=000000009656953a dev id=1 CQ hdr: 0x41d03 0x1000f 0x1 0x4460000 Error info: 0x0 0x0 0x10000 0x0
[ 806.740789] sas: Enter sas_scsi_recover_host busy: 2 failed: 2
[ 806.746604] sas: trying to find task 0x00000000975f5cdf
[ 806.746605] sas: sas_scsi_find_task: aborting task 0x00000000975f5cdf
[ 806.754732] sas: sas_scsi_find_task: task 0x00000000975f5cdf is done
[ 806.754733] sas: sas_eh_handle_sas_errors: task 0x00000000975f5cdf is done
[ 806.761582] sas: trying to find task 0x000000009656953a
[ 806.761584] sas: sas_scsi_find_task: aborting task 0x000000009656953a
[ 806.768002] sas: sas_scsi_find_task: task 0x000000009656953a is done
[ 806.768003] sas: sas_eh_handle_sas_errors: task 0x000000009656953a is done
[ 806.774852] sas: ata5: end_device-4:0: cmd error handler
[ 806.774864] sas: ata5: end_device-4:0: dev error handler
[ 806.774868] sas: ata6: end_device-4:1: dev error handler
[ 806.774870] ata5.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x6 frozen
[ 806.774873] ata5.00: failed command: SEND FPDMA QUEUED
[ 806.774875] sas: ata7: end_device-4:2: dev error handler
[ 806.774878] sas: ata8: end_device-4:3: dev error handler
[ 806.787013] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 0 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 806.801900] ata5.00: status: { DRDY }
[ 806.805554] ata5.00: failed command: SEND FPDMA QUEUED
[ 806.810674] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 1 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 806.825582] ata5.00: status: { DRDY }
[ 806.829237] ata5: hard resetting link
[ 806.834445] hisi_sas_v3_hw 0000:74:02.0: phydown: phy0 phy_state=0xfe
[ 806.840856] hisi_sas_v3_hw 0000:74:02.0: ignore flutter phy0 down
[ 806.994690] hisi_sas_v3_hw 0000:74:02.0: phyup: phy0 link_rate=10(sata)
[ 807.001279] sas: sas_form_port: phy0 belongs to port0 already(1)!
[ 807.163818] ata5.00: configured for UDMA/133
[ 807.168075] ata5.00: device reported invalid CHS sector 0
[ 807.173453] ata5.00: device reported invalid CHS sector 0
[ 807.178838] ata5: EH complete
[ 807.181806] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 2 tries: 1
[ 807.210880] hisi_sas_v3_hw 0000:74:02.0: erroneous completion iptt=38 task=00000000975f5cdf dev id=1 CQ hdr: 0x41d03 0x10026 0x1 0x4460000 Error info: 0x0 0x0 0x10000 0x0
[ 837.460789] sas: Enter sas_scsi_recover_host busy: 2 failed: 2
[ 837.466601] sas: trying to find task 0x000000009656953a
[ 837.466602] sas: sas_scsi_find_task: aborting task 0x000000009656953a
[ 837.474777] sas: sas_scsi_find_task: task 0x000000009656953a is done
[ 837.474778] sas: sas_eh_handle_sas_errors: task 0x000000009656953a is done
[ 837.481625] sas: trying to find task 0x00000000975f5cdf
[ 837.481626] sas: sas_scsi_find_task: aborting task 0x00000000975f5cdf
[ 837.488040] sas: sas_scsi_find_task: task 0x00000000975f5cdf is done
[ 837.488041] sas: sas_eh_handle_sas_errors: task 0x00000000975f5cdf is done
[ 837.494886] sas: ata5: end_device-4:0: cmd error handler
[ 837.494898] sas: ata5: end_device-4:0: dev error handler
[ 837.494901] sas: ata6: end_device-4:1: dev error handler
[ 837.494904] ata5.00: NCQ disabled due to excessive errors
[ 837.494905] sas: ata7: end_device-4:2: dev error handler
[ 837.494909] sas: ata8: end_device-4:3: dev error handler
[ 837.500288] ata5.00: exception Emask 0x0 SAct 0xc SErr 0x0 action 0x6 frozen
[ 837.507309] ata5.00: failed command: SEND FPDMA QUEUED
[ 837.512429] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 2 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 837.527332] ata5.00: status: { DRDY }
[ 837.530982] ata5.00: failed command: SEND FPDMA QUEUED
[ 837.536101] ata5.00: cmd 64/01:00:00:00:00/00:00:00:00:00/a0 tag 3 ncq dma 512 out
res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 837.550983] ata5.00: status: { DRDY }
[ 837.554635] ata5: hard resetting link
[ 837.559892] hisi_sas_v3_hw 0000:74:02.0: phydown: phy0 phy_state=0xfe
[ 837.566303] hisi_sas_v3_hw 0000:74:02.0: ignore flutter phy0 down
[ 837.718640] hisi_sas_v3_hw 0000:74:02.0: phyup: phy0 link_rate=10(sata)
[ 837.725233] sas: sas_form_port: phy0 belongs to port0 already(1)!
[ 837.887858] ata5.00: configured for UDMA/133
[ 837.892117] ata5.00: device reported invalid CHS sector 0
[ 837.897503] ata5: EH complete
[ 837.900466] sas: --- Exit sas_scsi_recover_host: busy: 0 failed: 2 tries: 1
[Expected Results]
no issue or no IO error
[Reproducibility]
It occurs all the times
[Additional information]
Hardware: D06 CS
Firmware: NA
Kernel: NA
[Resolution]
Currently the NCQ tag is only assigned for FPDMA READ and FPDMA WRITE
commands, and for other NCQ commands (such as FPDMA SEND), their NCQ tags
are set in the delivery command to 0.
So for all the NCQ commands, we also need to assign normal NCQ tag for
them, so drop the command type check in hisi_sas_get_ncq_tag() [drop
hisi_sas_get_ncq_tag() altogether actually], and always use the ATA command
NCQ tag when appropriate."
scsi: hisi_sas: Assign NCQ tag for all NCQ commands |
|
2020-01-01 16:12:40 |
Ike Panhc |
tags |
backport |
|
|
2020-01-07 16:17:24 |
Kleber Sacilotto de Souza |
linux (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2020-01-07 16:17:35 |
Kleber Sacilotto de Souza |
linux (Ubuntu Disco): status |
In Progress |
Fix Committed |
|
2020-01-07 16:17:44 |
Kleber Sacilotto de Souza |
linux (Ubuntu Eoan): status |
In Progress |
Fix Committed |
|
2020-01-08 05:15:32 |
Ike Panhc |
kunpeng920/ubuntu-19.10: status |
In Progress |
Fix Committed |
|
2020-01-08 05:16:11 |
Ike Panhc |
kunpeng920/ubuntu-19.04: status |
In Progress |
Fix Committed |
|
2020-01-08 05:16:41 |
Ike Panhc |
kunpeng920/ubuntu-18.04-hwe: status |
In Progress |
Fix Committed |
|
2020-01-08 05:17:08 |
Ike Panhc |
kunpeng920/ubuntu-18.04: status |
In Progress |
Fix Committed |
|
2020-01-08 05:17:30 |
Ike Panhc |
kunpeng920: status |
In Progress |
Fix Committed |
|
2020-01-10 18:04:07 |
Ubuntu Kernel Bot |
tags |
|
verification-needed-disco |
|
2020-01-17 15:31:10 |
Ike Panhc |
tags |
verification-needed-disco |
verification-done-disco |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
linux (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
cve linked |
|
2019-14615 |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
cve linked |
|
2019-18885 |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
cve linked |
|
2019-19050 |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
cve linked |
|
2019-19077 |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
cve linked |
|
2019-19078 |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
cve linked |
|
2019-19082 |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
cve linked |
|
2019-19332 |
|
2020-01-27 13:21:23 |
Launchpad Janitor |
cve linked |
|
2020-7053 |
|
2020-01-28 10:21:20 |
Andrew Cloke |
kunpeng920/ubuntu-19.04: status |
Fix Committed |
Fix Released |
|
2020-01-28 10:21:40 |
Andrew Cloke |
kunpeng920/ubuntu-18.04-hwe: status |
Fix Committed |
Fix Released |
|
2020-01-28 10:21:40 |
Andrew Cloke |
kunpeng920/ubuntu-18.04-hwe: milestone |
ubuntu-18.04.4-sru-1 |
ubuntu-18.04.3-sru-7 |
|
2020-02-03 22:44:46 |
Ubuntu Kernel Bot |
tags |
verification-done-disco |
verification-done-disco verification-needed-eoan |
|
2020-02-03 23:12:49 |
Ubuntu Kernel Bot |
tags |
verification-done-disco verification-needed-eoan |
verification-done-disco verification-needed-bionic verification-needed-eoan |
|
2020-02-05 06:55:23 |
Ike Panhc |
tags |
verification-done-disco verification-needed-bionic verification-needed-eoan |
verification-done-bionic verification-done-disco verification-done-eoan |
|
2020-02-17 10:23:38 |
Launchpad Janitor |
linux (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2020-02-17 10:23:38 |
Launchpad Janitor |
cve linked |
|
2019-19965 |
|
2020-02-17 10:36:02 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2020-02-17 10:36:02 |
Launchpad Janitor |
cve linked |
|
2019-20096 |
|
2020-02-17 10:36:02 |
Launchpad Janitor |
cve linked |
|
2019-5108 |
|
2020-02-17 14:31:16 |
Andrew Cloke |
kunpeng920/ubuntu-18.04: status |
Fix Committed |
Fix Released |
|
2020-02-27 09:07:14 |
Andrew Cloke |
kunpeng920/ubuntu-19.10: status |
Fix Committed |
Fix Released |
|
2020-04-24 10:50:50 |
Andrew Cloke |
kunpeng920/ubuntu-20.04: status |
Fix Committed |
Fix Released |
|
2020-04-27 06:58:53 |
Ike Panhc |
kunpeng920: status |
Fix Committed |
Fix Released |
|