Re: [PATCH] 64 bit scsi read/write

From: Matti Aarnio (matti.aarnio@zmailer.org)
Date: Sat Aug 11 2001 - 16:44:05 EST


On Thu, Jul 26, 2001 at 04:18:21AM +0200, Ragnar Kjørstad wrote:
> On Tue, Jul 03, 2001 at 10:19:36PM -0400, Ben LaHaise wrote:
> > Here's the [completely untested] generic scsi fixup, but I'm told that
> > some controllers will break with it. Give it a whirl and let me know how
> > many pieces you're left holding. =) Please note that msdos partitions do
> > *not* work on devices larger than 2TB, so you'll have to use the scsi disk
> > directly. This patch applies on top of v2.4.6-pre8-largeblock4.diff.
>
> I just trid this, but when I can't load the md modules becuase of
> missing symbols for __divdi3 and __umoddi3.

   This should, most likely, be linux-kernel FAQ item -- it might even be
   there..

   You need to develop an additional patch to the MD module code so
   that it won't do careless arbitrary divisions of long64 / int32 kind.
   It will be more efficient to do that with suitable shifts, after all.

/Matti Aarnio

> /lib/modules/2.4.6-pre8/kernel/drivers/md/linear.o
> depmod: __udivdi3
> depmod: __umoddi3
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.6-pre8/kernel/drivers/md/lvm-mod.o
> depmod: __udivdi3
> depmod: __umoddi3
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.6-pre8/kernel/drivers/md/md.o
> depmod: __udivdi3
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.6-pre8/kernel/drivers/md/raid0.o
> depmod: __udivdi3
> depmod: __umoddi3
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.6-pre8/kernel/drivers/md/raid5.o
> depmod: __udivdi3
> depmod: __umoddi3
>
>
> Did you forget something in your patch, or was it not supposed to work
> on ia32?
>
> This is kind of urgent, because I will temporarely be without testing
> equipment pretty soon. Tips are appreciated!
>
>
>
> --
> Ragnar Kjorstad
> Big Storage
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:39 EST