Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / Documentation / scsi / ChangeLog.megaraid
index 431e398..c173806 100644 (file)
@@ -1,3 +1,255 @@
+Release Date   : Mon Apr 11 12:27:22 EST 2006 - Seokmann Ju <sju@lsil.com>
+Current Version : 2.20.4.8 (scsi module), 2.20.2.6 (cmm module)
+Older Version  : 2.20.4.7 (scsi module), 2.20.2.6 (cmm module)
+
+1.     Fixed a bug in megaraid_reset_handler().
+       Customer reported "Unable to handle kernel NULL pointer dereference
+       at virtual address 00000000" when system goes to reset condition
+       for some reason. It happened randomly.
+       Root Cause: in the megaraid_reset_handler(), there is possibility not
+       returning pending packets in the pend_list if there are multiple
+       pending packets.
+       Fix: Made the change in the driver so that it will return all packets
+       in the pend_list.
+
+2.     Added change request.
+       As found in the following URL, rmb() only didn't help the
+       problem. I had to increase the loop counter to 0xFFFFFF. (6 F's)
+       http://marc.theaimsgroup.com/?l=linux-scsi&m=110971060502497&w=2
+
+       I attached a patch for your reference, too.
+       Could you check and get this fix in your driver?
+
+       Best Regards,
+       Jun'ichi Nomura
+
+Release Date   : Fri Nov 11 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com>
+Current Version : 2.20.4.7 (scsi module), 2.20.2.6 (cmm module)
+Older Version  : 2.20.4.6 (scsi module), 2.20.2.6 (cmm module)
+
+1.     Sorted out PCI IDs to remove megaraid support overlaps.
+       Based on the patch from Daniel, sorted out PCI IDs along with
+       charactor node name change from 'megadev' to 'megadev_legacy' to avoid
+       conflict.
+       ---
+       Hopefully we'll be getting the build restriction zapped much sooner, 
+       but we should also be thinking about totally removing the hardware 
+       support overlap in the megaraid drivers.
+
+       This patch pencils in a date of Feb 06 for this, and performs some 
+       printk abuse in hope that existing legacy users might pick up on what's
+       going on.
+
+       Signed-off-by: Daniel Drake <dsd@gentoo.org>
+       ---
+
+2.     Fixed a issue: megaraid always fails to reset handler.
+       ---
+       I found that the megaraid driver always fails to reset the
+       adapter with the following message:
+               megaraid: resetting the host...
+               megaraid mbox: reset sequence completed successfully
+               megaraid: fast sync command timed out
+               megaraid: reservation reset failed
+       when the "Cluster mode" of the adapter BIOS is enabled.
+       So, whenever the reset occurs, the adapter goes to
+       offline and just become unavailable.
+
+       Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]
+       ---
+
+Release Date   : Mon Mar 07 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com>
+Current Version : 2.20.4.6 (scsi module), 2.20.2.6 (cmm module)
+Older Version  : 2.20.4.5 (scsi module), 2.20.2.5 (cmm module)
+
+1.     Added IOCTL backward compatibility.
+       Convert megaraid_mm driver to new compat_ioctl entry points.
+       I don't have easy access to hardware, so only compile tested.
+               - Signed-off-by:Andi Kleen <ak@muc.de>
+
+2.     megaraid_mbox fix: wrong order of arguments in memset()
+       That, BTW, shows why cross-builds are useful-the only indication of
+       problem had been a new warning showing up in sparse output on alpha
+       build (number of exceeding 256 got truncated).
+               - Signed-off-by: Al Viro
+               <viro@parcelfarce.linux.theplanet.co.uk>
+
+3.     Convert pci_module_init to pci_register_driver
+       Convert from pci_module_init to pci_register_driver
+       (from:http://kerneljanitors.org/TODO)
+               - Signed-off-by: Domen Puncer <domen@coderock.org>
+
+4.     Use the pre defined DMA mask constants from dma-mapping.h
+       Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h when calling
+       pci_set_dma_mask() or pci_set_consistend_dma_mask(). See
+       http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for more
+       details.
+               Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
+               Signed-off-by: Domen Puncer <domen@coderock.org>
+
+5.     Remove SSID checking for Dobson, Lindsay, and Verde based products.
+       Checking the SSVID/SSID for controllers which have Dobson, Lindsay,
+       and Verde is unnecessary because device ID has been assigned by LSI
+       and it is unique value. So, all controllers with these IOPs have to be
+       supported by the driver regardless SSVID/SSID.
+
+6.     Date Thu, 27 Jan 2005 04:31:09 +0100 
+       From Herbert Poetzl <> 
+       Subject RFC: assert_spin_locked() for 2.6 
+
+       Greetings!
+
+       overcautious programming will kill your kernel ;)
+       ever thought about checking a spin_lock or even
+       asserting that it must be held (maybe just for
+       spinlock debugging?) ...
+
+       there are several checks present in the kernel
+       where somebody does a variation on the following:
+
+         BUG_ON(!spin_is_locked(&some_lock));
+
+       so what's wrong about that? nothing, unless you
+       compile the code with CONFIG_DEBUG_SPINLOCK but 
+       without CONFIG_SMP ... in which case the BUG()
+       will kill your kernel ...
+
+       maybe it's not advised to make such assertions, 
+       but here is a solution which works for me ...
+       (compile tested for sh, x86_64 and x86, boot/run
+       tested for x86 only)
+
+       best,
+       Herbert
+
+               - Herbert Poetzl <herbert@13thfloor.at>, Thu, 27 Jan 2005
+
+Release Date   : Thu Feb 03 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com>
+Current Version        : 2.20.4.5 (scsi module), 2.20.2.5 (cmm module)
+Older Version  : 2.20.4.4 (scsi module), 2.20.2.4 (cmm module)
+
+1.     Modified name of two attributes in scsi_host_template.
+       On Wed, 2005-02-02 at 10:56 -0500, Ju, Seokmann wrote:
+       > +     .sdev_attrs                     = megaraid_device_attrs,
+       > +     .shost_attrs                    = megaraid_class_device_attrs,
+
+       These are, perhaps, slightly confusing names.
+       The terms device and class_device have well defined meanings in the
+       generic device model, neither of which is what you mean here.
+       Why not simply megaraid_sdev_attrs and megaraid_shost_attrs?
+
+       Other than this, it looks fine to me too.
+
+Release Date   : Thu Jan 27 00:01:03 EST 2005 - Atul Mukker <atulm@lsil.com>
+Current Version        : 2.20.4.4 (scsi module), 2.20.2.5 (cmm module)
+Older Version  : 2.20.4.3 (scsi module), 2.20.2.4 (cmm module)
+
+1.     Bump up the version of scsi module due to its conflict.
+
+Release Date   : Thu Jan 21 00:01:03 EST 2005 - Atul Mukker <atulm@lsil.com>
+Current Version        : 2.20.4.3 (scsi module), 2.20.2.5 (cmm module)
+Older Version  : 2.20.4.2 (scsi module), 2.20.2.4 (cmm module)
+
+1.     Remove driver ioctl for logical drive to scsi address translation and
+       replace with the sysfs attribute. To remove drives and change
+       capacity, application shall now use the device attribute to get the
+       logical drive number for a scsi device. For adding newly created
+       logical drives, class device attribute would be required to uniquely
+       identify each controller.
+               - Atul Mukker <atulm@lsil.com>
+
+       "James, I've been thinking about this a little more, and you may be on
+       to something here. Let each driver add files as such:"
+
+               - Matt Domsch <Matt_Domsch@dell.com>, 12.15.2004
+                linux-scsi mailing list
+
+
+       "Then, if you simply publish your LD number as an extra parameter of
+       the device, you can look through /sys to find it."
+
+               - James Bottomley <James.Bottomley@SteelEye.com>, 01.03.2005
+                linux-scsi mailing list
+
+
+       "I don't see why not ... it's your driver, you can publish whatever
+       extra information you need as scsi_device attributes; that was one of
+       the designs of the extensible attribute system."
+
+               - James Bottomley <James.Bottomley@SteelEye.com>, 01.06.2005
+                linux-scsi mailing list
+
+2.     Add AMI megaraid support - Brian King <brking@charter.net>
+               PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID3,
+               PCI_VENDOR_ID_AMI, PCI_SUBSYS_ID_PERC3_DC,
+
+3.     Make some code static - Adrian Bunk <bunk@stusta.de>
+       Date:   Mon, 15 Nov 2004 03:14:57 +0100
+
+       The patch below makes some needlessly global code static.
+       -wait_queue_head_t wait_q;
+       +static wait_queue_head_t wait_q;
+
+       Signed-off-by: Adrian Bunk <bunk@stusta.de>
+
+4.     Added NEC ROMB support - NEC MegaRAID PCI Express ROMB controller
+               PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_MEGARAID_NEC_ROMB_2E,
+               PCI_SUBSYS_ID_NEC, PCI_SUBSYS_ID_MEGARAID_NEC_ROMB_2E,
+
+5.     Fixed Tape drive issue : For any Direct CDB command to physical device
+       including tape, timeout value set by driver was 10 minutes. With this 
+       value, most of command will return within timeout. However, for those
+       command like ERASE or FORMAT, it takes more than an hour depends on
+       capacity of the device and the command could be terminated before it 
+       completes.
+       To address this issue, the 'timeout' field in the DCDB command will 
+       have NO TIMEOUT (i.e., 4) value as its timeout on DCDB command.
+
+
+
+Release Date   : Thu Dec  9 19:10:23 EST 2004
+       - Sreenivas Bagalkote <sreenib@lsil.com>
+
+Current Version        : 2.20.4.2 (scsi module), 2.20.2.4 (cmm module)
+Older Version  : 2.20.4.1 (scsi module), 2.20.2.3 (cmm module)
+
+i.     Introduced driver ioctl that returns scsi address for a given ld.
+       
+       "Why can't the existing sysfs interfaces be used to do this?"
+               - Brian King (brking@us.ibm.com)
+       
+       "I've looked into solving this another way, but I cannot see how
+       to get this driver-private mapping of logical drive number-> HCTL
+       without putting code something like this into the driver."
+
+       "...and by providing a mapping a function to userspace, the driver
+       is free to change its mapping algorithm in the future if necessary .."
+               - Matt Domsch (Matt_Domsch@dell.com)
+
+Release Date   : Thu Dec  9 19:02:14 EST 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
+
+Current Version        : 2.20.4.1 (scsi module), 2.20.2.3 (cmm module)
+Older Version  : 2.20.4.1 (scsi module), 2.20.2.2 (cmm module)
+
+i.     Fix a bug in kioc's dma buffer deallocation
+
+Release Date   : Thu Nov  4 18:24:56 EST 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
+
+Current Version        : 2.20.4.1 (scsi module), 2.20.2.2 (cmm module)
+Older Version  : 2.20.4.0 (scsi module), 2.20.2.1 (cmm module)
+
+i.     Handle IOCTL cmd timeouts more properly.
+
+ii.    pci_dma_sync_{sg,single}_for_cpu was introduced into megaraid_mbox
+       incorrectly (instead of _for_device). Changed to appropriate 
+       pci_dma_sync_{sg,single}_for_device.
+
+Release Date   : Wed Oct 06 11:15:29 EDT 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
+Current Version        : 2.20.4.0 (scsi module), 2.20.2.1 (cmm module)
+Older Version  : 2.20.4.0 (scsi module), 2.20.2.0 (cmm module)
+
+i.     Remove CONFIG_COMPAT around register_ioctl32_conversion
+
 Release Date   : Mon Sep 27 22:15:07 EDT 2004 - Atul Mukker <atulm@lsil.com>
 Current Version        : 2.20.4.0 (scsi module), 2.20.2.0 (cmm module)
 Older Version  : 2.20.3.1 (scsi module), 2.20.2.0 (cmm module)