Skip to contentSkip to conversation

Fusion MPT driver fails PHP

DISCUSSION Masao Fukuchi 1 participant 1 message Jun 9, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

Hi all,

I tested PHP using LSI22320-R, but it ended up with failure.
I locally talked with Eric Moore, but I wanted to hear your opinion, I mailed this problem to ML.

Our Environment:
Host: Intel Tiger4(lk 2.6.6)
SCSI Card: LSI22320-R(Fusion MPT driver 3.01.05)

When I remove LSI22320-R by latch operation, Fusion MPT driver tries to issue some message to adapter for synchronize cache operation, but the reply message doesn't return and it causes timeout.
I think the cause of this problem is remove operation is called in interrupt by latch.
I think we shouldn't issue any message to adapter during this remove operation. And I think the synchronzize cache operation should be activated from upper layer.

Following is the sequence to timeout.

    :
  device_detach_shutdown()
    if (dev->driver && dev->driver->shutdown)
      dev->driver->shutdown(dev);
        V
  mptbase_shutdown()
    MptDeviceDriverHandlers[ii]->shutdown) {
      MptDeviceDriverHandlers[ii]->shutdown(dev);
        V
  mptscsih_shutdown()
    if(hd != NULL)
      mptscsih_synchronize_cache(hd, 0);
        V
   mptscsih_synchronize_cache()
     mpt_config(hd->ioc, &cfg); <- This function doesn't response.

Masao Fukuchi