WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] 3ware 9550SX - Xen-3.0.0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] 3ware 9550SX - Xen-3.0.0
From: Ernst Bachmann <e.bachmann@xxxxxxxx>
Date: Fri, 27 Jan 2006 20:06:41 +0100
Delivery-date: Fri, 27 Jan 2006 19:14:12 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43DA642B.8070804@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <43DA642B.8070804@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9
On Friday 27 January 2006 19:19, Ferenc Sipos wrote:
> Guys,
>
> I'm about to set up Xen on a dual Opteron server backed with SATA
> storage which is driven by a 3ware 9550SX controller.
>
> The problem is that as linux-2.6.12.6 has no support for this type of
> card by default, so I need to download & compile the driver the vendor
> provides. I did so (for the kernel 2.6.12.6-xen0) and generated an
> initrd image which gets loaded properly at bootime, but whenever the
> 3w-9xxx.ko module is loaded it all I get in addition to a bunch of dump
> is 'Aiee, killing interrupt handler...' and my boot process gets stuck.
>
> Any ideas how I can compile a third party driver to support my ARCH=xen
> kernel and the Hypervisor 'underneath' it? Is it feasible at all?
>
> Thanks for any hints and suggestions.
>
> Frank

Your kernel drivers all need to be compiled with the same ARCH setting, So, 
try to compile your 3ware driver with 'make ARCH=xen' as well.

(inserting an "ARCH=xen" line at top of your kernel toplevel Makefile usually 
forces that ARCH setting onto external module Makefiles automagically, so 
there's less chance of accidently forgetting it)

but if your driver contains some precompiled object code with no source 
available, you're probably out of luck...

Still I wonder why the kernel loads a module compiled for a different 
architecture at all... Doesn't it have any checks there, could I have it load 
and crash on e.g. a linux-ppc module on intel, given the symbols match?
/Ernst

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>