xfs
[Top] [All Lists]

Re: xfs 1.3.3 beta 1 stock kernel source configure problems

To: Chris Green <greenc@xxxxxxxx>
Subject: Re: xfs 1.3.3 beta 1 stock kernel source configure problems
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 05 May 2004 16:23:05 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0405051545390.21321-100000@maxwell.fnal.gov>
Organization: Eric Conspiracy Secret Labs
References: <Pine.LNX.4.44.0405051545390.21321-100000@maxwell.fnal.gov>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Wed, 2004-05-05 at 15:53, Chris Green wrote:

> 3) Download the latest 3-ware drivers for the Escalade 8500 series from 
> http://3ware.com/support/download_7.7.0.asp?SNO=246. Note that this hasn't 
> changed since before the last time I successfully compiled these for a 
> kernel.
> 
> 4) Compile the SMP module, install it in the right place as 3w-xxxx.o, and 
> run depmod -ae. You should get:
> 
> depmod: *** Unresolved symbols in 
> /lib/modules/2.4.21-9.0.1.EL.sgi1smp/kernel/drivers/scsi/3w-xxxx.o
> depmod:         __udivdi3

This is thanks to the LBD patch - some symbols are now 64 bits, 
and something in that driver is now doing a 64-bit divide; take a look
at what the LBD patch does to other scsi drivers, you'll probably find
it pretty quickly, something like this:

-  cylinders = disk->capacity / (heads * sectors);
+  cylinders = (long)disk->capacity / (heads * sectors);

-Eric

-- 
Eric Sandeen      [C]XFS for Linux   http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.          651-683-3102


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