mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 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

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®