[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-aacraid-devel
Subject:    RE: aacraid with SuSE Groupware-Server
From:       Matt_Domsch () Dell ! com
Date:       2001-10-04 9:31:00
[Download RAW message or body]

> I'm having problems to run SuSE Groupware-Server witch is 
> based on Kernel
> 2.2.16 on
> a PowerEdge 2500 with a PERC 3/Di Raid controller.
> 
> When I start the Installation and try to load the module 
> aacraid (without
> parameters) it says:
>  Executing: insmod aacraid
>  Using |modules|aacraid.o
>  |modules|aacraid.o:init_module: device or resource busy

Sounds like the SuSE 2.2.16 kernel doesn't know about the PCI IDs for the
3/Di on the PE2500.  That's not unusual, the servers came out about a year
*after* 2.2.16 was released. :-)

You'll need to add in the PCI IDs and rebuild your aacraid driver.

> Then I found the http://domsch.com/linux page and some 
> patches even one for
> Kernel 2.2.16.
> Unfortunately there is no installation instruction on these 
> patches and I'm
> not a Linux specialist.
> So here are my questions on that:
> 
> 1. Which patch or which combination of patches should I use?
>     A) linux-2.2.16-clean-aacraid.patch
>     B) linux-2.2.x-1.0.7-aacraid.patch
>     C) PERCID_add.patch

You really need the proper list of PCI IDs.  It's easiest to grab that from
the 2.4.9 patch at http://domsch.com/linux/ which has the list as up-to-date
as it can be today.  See the file aacid.c for the MiniPorts[] array, and
replace the version in your kernel with the one from 2.4.9.

FSA_MINIPORT MiniPorts[] = {
	{ 0x1028, 0x0001, 0x1028, 0x0001, "afa", RxInitDevice, "percraid",
"DELL    ", "PERCRAID        " }, /* PERC 2/Si */
	{ 0x1028, 0x0002, 0x1028, 0x0002, "afa", RxInitDevice, "percraid",
"DELL    ", "PERCRAID        " }, /* PERC 3/Di */
	{ 0x1028, 0x0003, 0x1028, 0x0003, "afa", RxInitDevice, "percraid",
"DELL    ", "PERCRAID        " }, /* PERC 3/Si */
	{ 0x1028, 0x0004, 0x1028, 0x00d0, "afa", RxInitDevice, "percraid",
"DELL    ", "PERCRAID        " }, /* PERC 3/Si */
	{ 0x1028, 0x0002, 0x1028, 0x00d1, "afa", RxInitDevice, "percraid",
"DELL    ", "PERCRAID        " }, /* PERC 3/Di */
	{ 0x1028, 0x0002, 0x1028, 0x00d9, "afa", RxInitDevice, "percraid",
"DELL    ", "PERCRAID        " }, /* PERC 3/Di */
	{ 0x1028, 0x000a, 0x1028, 0x0106, "afa", RxInitDevice, "percraid",
"DELL    ", "PERCRAID        " }, /* PERC 3/Di */
	{ 0x1011, 0x0046, 0x9005, 0x1364, "afa", SaInitDevice, "percraid",
"DELL    ", "PERCRAID        " }, /* Dell PERC2 "Quad Channel" */
	{ 0x1011, 0x0046, 0x9005, 0x0365, "aac", SaInitDevice, "aacraid",
"ADAPTEC ", "Adaptec 5400S   " }, /* Adaptec 5400S */
	{ 0x1011, 0x0046, 0x103c, 0x10c2, "hpn", SaInitDevice, "hpnraid",
"HP      ", "NetRAID-4M      " }  /* HP NetRAID-4M /
};



> 2. When I run the linux-2.2.16-clean-aacraid.patch patch I get some
> messages:
>    A) Some files are already patched.
>    B) Some files would be created by this patch but they are 
> already there.
> 
>    Obviously is this SuSE-Code not the clean 2.2.16  Code!

Right.  They've already got one old version of aacraid, which is good!
Makes your life easier, you should just need to change the stuff as above.

>    Which parameter should I run the patches with?
>    Must I use a clean Kernel Code instead and where can I get it?

No, you can just fix up what you've got.

> 3. I would prefer to load the module instead compiling the 
> driver into the
> Kernel.
>     Is this possible and how can I just compile and install 
> this module?

Sure.  I'm sure SuSE's kernel has it as a module already.  See their .config
file.

 
> 4. The Bootdisk I found on the page is working so far and can 
> handle the
> controller
>     but it is based on Kernel 2.4.4
>     Is someone out there who has a Module for Kernel 2.2.16 
> or a Bootdisk
> already created?
>     It would be a fantastic to get that!

I don't have such.  Maybe someone else will. :-)

Good luck!  If you can't figure this out, I suggest you call SuSE for
support.  I know they're capable of assisting in this.

Thanks,
Matt
--
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions
www.dell.com/linux
#2 Linux Server provider with 17% in the US and 14% Worldwide (IDC)!
#3 Unix provider with 18% in the US (Dataquest)!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic