Re: [oops] rmmod aic7xyz (2.6.14-rc3 and 2.6.13)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wrote:
The solution is probably to add calls to scsi_remove_device() for each device on the host as first action in ahc_linux_pci_dev_remove(). That way, scsi high-level drivers are able to perform their shutdown functions before the host adapter ceases to operate.

scsi_remove_host(), if called before any ahc_... action, is perhaps be able to accomplish the same.

More care needs to be taken for hotswappable hardware. I don't know if aic7xxx falls into this category. If yes, ahc_linux_queue() must be made aware of that the adapter is gone and has to immediately complete any commands with DID_NO_CONNECT. Similarly, the eh handlers should take shortcuts when the adpater is gone.

AFAIK.
--
Stefan Richter
-=====-=-=-= =-=- ---=-
http://arcgraph.de/sr/
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux