RE: Dell2650/Perc 3Di: another victim

"Salyzyn, Mark" <[email protected]> Mon, 20 Oct 2003 10:49:13 -0400
Newsgroups gmane.linux.drivers.aacraid.devel
Message-ID <[email protected]>
I know I ask for it when I release sources ;->.

To compile a module based on the sources I am providing, on a RedHat kernel
source tree, perform the following steps. Your mileage will necessarily
vary, I tried my best to set up a cookbook to just build the module rather
than going through the strain of building *everything*. If anyone has
corrections, do not feel timid, tell us before `just enough information do
do oneself some harm' happens!

VERS is the kernel version, eg: RH7.3 is 2.4.18-3 etc
KERNVERS is the kernel version minus the EXTRAVERSION eg: RH7.3 is 2.4.18
DOWNLOADDIR is where you placed the aacraid driver source tarball
AACVERS is the aacraid driver version (eg 1.1.4-2256)
CONFIG is your specific configuration (eg: i686-smp)
SUBCONFIG is your sub configuration (eg: smp)
You can use your favorite editor, I placed the `ed' interaction for a RH7.3
kernel, the idea is to make sure that the EXTRAVERSION in the Makefile
matches the kernel module you need to build.

# cd /usr/src/linux-VERS/drivers/scsi
# rm -rf aacraid
# tar -zxf DOWNLOADDIR/aacraid-AACVERS.tgz
# cd ../..
# make mrproper
# cp configs/kernel-KERNVERS-CONFIG.config .config
# ed Makefile
18746
/EXTRAVERSION
EXTRAVERSION = -3custom
s/custom/SUBCONFIG/p
w
q
# echo x | make menuconfig
# make dep
# make SUBDIRS=drivers/scsi/aacraid modules
# make SUBDIRS=drivers/scsi/aacraid modules_install

Then do a mkinitrd to set up the appropriate initrd image ... cross you
fingers that you do not have a pile of mudd when you are finished (it may be
a good idea to make a backup copy of the initrd image ;-> ).

I *really* hope this helps, distributing the all-seeing-all-knowing prebuild
rpm modules is a 14MB file. I do not have the resources, or the permission,
to provide those in a manner that would be timely enough to satisfy (1 month
+ matrix testing).

Sincerely -- Mark Salyzyn

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Monday, October 20, 2003 9:59 AM
To: [email protected]
Subject: Dell2650/Perc 3Di: another victim


Hi,
I'm one of the many victims of the aacraid timeouts/crashes on a PE2650/Perc
3Di.
It seems that using a non-SMP kernel alleviates the problem for me but is
is not a solution.
We are in process to migrate all servers in our company from HP to Dell
and this issue is a big problem.
I'm not a kernel-compiling-fan, but I'm more an rpm-installer: I'd like
to see on official RPM update from Redhat.
In any case, I can also try the kernel-compiling way... I downloaded the
patch from Mark but I'm not able to compile it as module: do I need to
recompile
the whole kernel?

Thanks for any further help
Domenico Viggiani

__________________________________________________________________
Tiscali ADSL e' SENZA CANONE, paghi solo quello che consumi!
Abbonati subito, Gratis per te un anno di Supermail e tanti servizi in piu'!
http://point.tiscali.it/adsl/index.shtml



_______________________________________________
Linux-aacraid-devel mailing list
[email protected]
http://lists.us.dell.com/mailman/listinfo/linux-aacraid-devel
Please read the FAQ at http://lists.us.dell.com/faq or search the list
archives at http://lists.us.dell.com/htdig/

_______________________________________________
Linux-aacraid-devel mailing list
[email protected]
http://lists.us.dell.com/mailman/listinfo/linux-aacraid-devel
Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/