Skip to contentSkip to conversation

Server freeze when LSI53C1030 didn't send reply message

DISCUSSION Masao Fukuchi 1 participant 1 message Oct 30, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

I'm working on a verification of sequence for FC/SCSI cards during error injection.

In this test, I experienced the system freeze 1 minutes or more.

This error injection causes no reply from LSI53C1030 and I found mptscsih_tm_pending_wait() finishes by timeout.

This function is called at the beggining of task management request and it waits until the previous task management request will complete. But, because no reply comes from LSI53C1030, this function finishes by timeout. This function uses mdelay(250)(250ms wait) and repeats 240 times, and this causes system freeze 1 minutes because no task can run in mdelay().

Please improve the program not to use mdelay().

Refs(operation flow).
[MID LAYER] [HBA DRIVER] [LSI53C1030]

            ---read cmd--->
                                     --request msg-->
  *Detects 30s timeout
            --task abort-->
                           [message]>> Attempting task abort!
                                     --request msg-->(Task Mgmt:Abort Task)
            <----reply-----(FAILED)
            --targ reset-->
                           [message]>> Attempting target reset!
            <----reply-----(FAILED)
            --bus reset--->
                           [message]>> Attempting bus reset!
                           *wait until previous target reset finishes
                            -> timeout(60s)
            <----reply-----(FAILED)
            --host reset-->
                           [message]>> Attempting host reset!
                            :

Our environment:
Server: Fujitsu Primergy C200

    Linux kernel: 2.6.0-test4

HBA: LSILogic LSI22320-R
HBA driver: default driver in 2.6.0-test4
CARD FW: 01.03.10.00-IM

Thanks,
Fukuchi

---
Masao Fukuchi L-Server Development Div., Fujitsu Limited
E-mail: [email protected]