Date: Thu, 15 Jul 1999 16:06:01 +0100 (BST) From: James Holtom <jholtom@netforce.net> To: freebsd-questions@FreeBSD.ORG Subject: Compaq RAID Problems Message-ID: <Pine.BSF.4.10.9907151557330.5416-100000@bagpuss.i.netforce.net>
next in thread | raw e-mail | index | archive | help
Hi, I am trying to get a 3.2 boot floppy which supports a Compaq RAID controller -- so that I can install (3.2) onto the Compaq Proliant I have just been given, and am trying to prove I can use usefully, before it gets taken away from me ;-) I am tring to use the code by Mark Dawson (http://www.doc.ic.ac.uk/~md/ida/) Unfortunately Mark's web-page only carries a boot image for 2.2.7 which doesn't detect the network-card, and I am also doubtful as to how easily it would be able to install 3.2, and create a working bootable kernel either... I am therefore resigned to a spot of DIY. So, since the code for the controller is now in CVS, I csvupped a few days ago (tracking 3.2-Stable) , and have since rebuilt `world' successfully. I am now trying to create a custom kernel, with support for the RAID controller, using Mark's code (/usr/src/sys/i386/isa/ida.c). I have simply taken the GENERIC kernel, and added the gubbins to provide RAID support, as dictated in the LINT file, and done the usual: ie config COMPAQ, make depend, and then try to build it. I cannot get the darn thing to compile. When I get to the `make` stage, I get an explosion from cc: > Quoted > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../i386/isa/ida.c ../../i386/isa/ida.c: In function `ida_attach_drives': ../../i386/isa/ida.c:844: too few arguments to function `devstat_add_entry' ../../i386/isa/ida.c: In function `idaintr': ../../i386/isa/ida.c:1437: warning: unsigned int format, physaddr_t arg (arg 3) *** Error code 1 Stop. < Quoted < And if you look at the code (ida.c), there are indeed too few arguments for devstat_add_entry, its called with one-fewer than the prototype requires. So, obviously, does anyone have this working...? I am reluctant to just `bodge' a value in, and haven't really got the time to learn all the gory-details of FreeBSDs internals in order to fix it myself... Can anyone help? Or should I be talking to Mark directly, rather than cluttering up this list? Cheers James To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907151557330.5416-100000>
