* 2.6.2 scsi host reset success but all device are offlined
@ 2004-05-04 23:20 yiding_wang
2004-05-04 23:58 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: yiding_wang @ 2004-05-04 23:20 UTC (permalink / raw)
To: linux-kernel; +Cc: yiding_wang
I am running 2.6.2 linux on i386. During the error injection test, eh_device_reset, eh_bus_reset and eh_host_reset were called by scsi_error.c in sequence. For each reset, HBA driver returned SUCCESS (0x2002, I specially traced the host reset case).
The quesion is why scsi_error.c failed to react properly according to the returned reset status.
The scsi_eh_host_reset() calls scsi_try_host_reset() and further calls hba eh_host_reset_handler. Upon the retuned status SUCCESS (0x2002), it shoud not call function scsi_eh_offline_sdevs(). Inmy case, every time host reset SUCCESS will lead to "Device offlined" situation from scsi_eh_offline_sdevs(). All available device are lost.
I thought I might get quick answer for this issue from commmunity before debugging into scsi layer code.
Thanks!
Eddie
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.2 scsi host reset success but all device are offlined
2004-05-04 23:20 2.6.2 scsi host reset success but all device are offlined yiding_wang
@ 2004-05-04 23:58 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2004-05-04 23:58 UTC (permalink / raw)
To: yiding_wang; +Cc: linux-kernel
<yiding_wang@agilent.com> wrote:
>
> I am running 2.6.2 linux on i386. During the error injection test,
> eh_device_reset, eh_bus_reset and eh_host_reset were called by scsi_error.c
> in sequence. For each reset, HBA driver returned SUCCESS (0x2002, I
> specially traced the host reset case).
2.6.2 is ancient. Please:
- test a current kernel
- ensure that linux-scsi@vger.kernel.org is copied on reports
- make the test tools available to other scsi developers
- Hit ENTER after the 70th column when typing emails ;)
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-04 23:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-04 23:20 2.6.2 scsi host reset success but all device are offlined yiding_wang
2004-05-04 23:58 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®