Rejected. Please upgrade your management software package. The new tools search for existence of the driver in sysfs. Sincerely -- Mark Salyzyn > -----Original Message----- > From: Patrick_Boyd@xxxxxxxx [mailto:Patrick_Boyd@xxxxxxxx] > Sent: Wednesday, August 30, 2006 2:22 PM > To: markh@xxxxxxxx; Bill_Edwards@xxxxxxxx; > Sumeet_Kukreja@xxxxxxxx; Jonathan_L_Hall@xxxxxxxx > Cc: linux-scsi@xxxxxxxxxxxxxxx; James.Bottomley@xxxxxxxxxxxx; > Salyzyn, Mark > Subject: [PATCH 001/001] AACRAID: patch for AFA management libraries > > > From: Patrick Boyd <Patrick_Boyd@xxxxxxxx>, Bill Edwards > <Bill_Edwards@xxxxxxxx> > > The problem that we are having is that on the current version > of RedHat > Enterprise Linux 5 (2.6.16 kernel) the Adaptec raid > management libraries > (AFALIB) no longer function. We were able to root cause this > to the fact > that the /proc/scsi/aacraid directory was missing. > > This directory is created if two properties are set in the > scsi_host_template structure: proc_name and proc_info. > However, previous > driver version were not setting proc_info and as far as we > can tell this > was just being set to uninitialized memory which was allowing the > directory creation to succeed. Apparently compiler or runtime behavior > has changed so that uninitialized entries in this static > struct are set > to 0. Our solution is to simply create a function and put the function > pointer into the struct to restore the original behavior under the new > compiler. > > Signed-off-by: Patrick Boyd <Patrick_Boyd@xxxxxxxx>, Bill Edwards > <Bill_Edwards@xxxxxxxx> > > --- > > --- linux-2.6.16/drivers/scsi/aacraid/linit.c.orig 2006-08-30 > 11:53:58.000000000 -0500 > +++ linux-2.6.16/drivers/scsi/aacraid/linit.c 2006-08-30 > 11:55:27.000000000 -0500 > @@ -782,10 +782,18 @@ static struct file_operations aac_cfg_fo > .open = aac_cfg_open, > }; > > +static int aacraid_proc_info(struct Scsi_Host *host, char > *buffer, char > **start, off_t offset, > + int length, int inout) > +{ > + return 0; > +} > + > + > static struct scsi_host_template aac_driver_template = { > .module = THIS_MODULE, > .name = "AAC", > .proc_name = AAC_DRIVERNAME, > + .proc_info = aacraid_proc_info, > .info = aac_info, > .ioctl = aac_ioctl, > #ifdef CONFIG_COMPAT > - To unsubscribe from this list: 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