Skip to contentSkip to conversation

New: Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

Bug 197875 [email protected] 1 participant 14 messages Nov 14, 2017 – Oct 8, 2019 SCSI

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=197875

            Bug ID: 197875
           Summary: Processes hang on attempted access of WDC WD30-EZRX
                    3TB HDD on HP Z420 Workstation
           Product: IO/Storage
           Version: 2.5
    Kernel Version: 4.13.x
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: SCSI
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

When booted under kernel 4.13.x, processes (such as parted, boot-info, gparted, etc) always hang when attempting to run due to a Western Digital Green WD30-EZRX 3TB HDD. Drive works as expected under kernel 4.10.x (even when all other things are the same about the system but only booted kernel is different).

Full specs of the machine if useful:
https://www.support.hp.com/id-en/document/c03277050

More details on Ubuntu's LaunchPad (where they asked me to come here to file an upstream bug): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1730746

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

Bart Van Assche ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Bart Van Assche ([email protected]) --- Please provide the output of the following command after having reproduced the hang:

dmesg -c >/dev/null; echo w > /proc/sysrq-trigger; dmesg

Additionally, if you know how to build the kernel yourself, it would be helpful if you could bisect this issue. Documentation is available e.g. at
https://git-scm.com/docs/git-bisect.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

--- Comment #2 from Chuck Burt ([email protected]) --- Created attachment 260925
--> https://bugzilla.kernel.org/attachment.cgi?id=260925&action=edit
Output of requested command

I reproduced the hang and ran the command as requested. See attached file output-20171129.txt

Building the kernel is something I could attempt tackling, but as a newbie I'm highly likely to mess something up. Either way, it will be a few weeks before I can get to it (best case). So I _really_ hope this provides the clue needed!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#4 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

--- Comment #3 from Chuck Burt ([email protected]) --- Created attachment 260927
--> https://bugzilla.kernel.org/attachment.cgi?id=260927&action=edit
Output of requested command as su

After reading the first few lines of the last attachment, it occurred to me that running this command as su might be useful. See attached.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

Chuck Burt ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #260927|0                           |1

is obsolete| |

--- Comment #4 from Chuck Burt ([email protected]) --- Created attachment 260929
--> https://bugzilla.kernel.org/attachment.cgi?id=260929&action=edit
Output of requested command as su

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

--- Comment #5 from Bart Van Assche ([email protected]) ---
So command processing got stuck. Since there are two code paths in recent kernels we need to know whether or not scsi-mq was used. Hence please provide the output of the following command:

for d in /sys/block/*; do sfx=""; [ -e "$d/mq" ] && sfx=" [mq]"; echo "$d$sfx"; done

If the above command reports that scsi-mq is being used for the WDC disk, please check whether the following command resolves the lockup:

for d in /sys/kernel/debug/block/*/state; do echo kick >$d; done

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#7 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

--- Comment #6 from Chuck Burt ([email protected]) ---

Quoted 14 lines
# for d in /sys/block/*; do sfx=""; [ -e "$d/mq" ] && sfx=" [mq]"; echo
"$d$sfx"; done
/sys/block/loop0 [mq]
/sys/block/loop1 [mq]
/sys/block/loop2 [mq]
/sys/block/loop3 [mq]
/sys/block/loop4 [mq]
/sys/block/loop5 [mq]
/sys/block/loop6 [mq]
/sys/block/loop7 [mq]
/sys/block/sda
/sys/block/sdb
/sys/block/sdc
/sys/block/sr0
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

--- Comment #7 from Bart Van Assche ([email protected]) --- That's weird, there are no known queue lockup bugs in the legacy block/SCSI core layers. Is the WDC harddisk perhaps controlled by a HBA? Can you provide the output of lspci (run as root)?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#9 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

--- Comment #8 from Chuck Burt ([email protected]) --- Created attachment 260953
--> https://bugzilla.kernel.org/attachment.cgi?id=260953&action=edit
Output of lspci on 4.10.x kernel

I won't be able to boot into the newer kernel for about a week, however since lspci is hardware-oriented, sharing the output under the older kernel in case it's helpful. Please let me know if you want me to run it on the new one instead and I'll get it when I can.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#10 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

--- Comment #9 from Bart Van Assche ([email protected]) ---
My hope was that the list of PCI devices would show a PCI HBA of which the driver has been modified recently. Since that's not the case I'm out of ideas about what could be the root cause of this bug. Unless someone else has an idea about how to find the root cause of this issue I think your only option is to perform a bisect of the Linux kernel.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#11 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

Gabriel Carter ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #23 from Gabriel Carter ([email protected]) --- whatever you have written in you blog is knowledgeable and any one can easily understand but if you don’t mind I would like to tell everyone if anyone Having problems Like hp printer showing offline then don’t be panic we are here to support you and solve all your issues of HP printers.
for more information visit our website.
https://www.800customersupport24x7.com/hp-printer-support/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#12 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

Jerry Smith ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #24 from Jerry Smith ([email protected]) --- All the blog which is provided by you is having valuable and useful content. Many bloggers learn many things from you and enhance their writting skills. As I also write blogs and in that blogs we provide information related to Canon Printer and also provide services to resolve problems of Canon Printer. If you have any query or need any help you can use canon printer customer support or can contact to our experts or you can visit our site:-
https://www.800customersupport24x7.com/canon-printer-support/

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#13 lore raw

[Bug 197875] Processes hang on attempted access of WDC WD30-EZRX 3TB HDD on HP Z420 Workstation

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=197875

Theodore Tso ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

     Comment #23 is|0                           |1
            private|                            |
     Comment #24 is|0                           |1
            private|                            |
                 CC|                            |[email protected]
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.