Re: NTFS problems in 2.2.0-pre4

Ryan Moore (rmoore@rmoore.i.seawood.org)
Mon, 4 Jan 1999 08:31:26 -0800 (PST)


On Sun, 3 Jan 1999, Martin von Loewis wrote:
> > I have added a debug output before the ntfs_malloc
> > right after the set_blocksize - vol->mft_recordsize
> > is the 503808 (0x7b000) and vol->clustersize is 2048.
>
> Thanks for the good detective work. I'd appreciate if you could find
> the text
>
> #define NTFS_GETS8(p) ((*(ntfs_u8*)(p)))
>
> in ntfsendian.h and replace it with
>
> #define NTFS_GETS8(p) ((*(ntfs_s8*)(p)))
>
> Please report if this works, so I can provide Linus with an additional
> patch. Well, this is is what we get if we accept other people's
> patches without looking at them line-by-line. I start hating myself
> for rushing this release.

I had the same message:

Jan 3 23:40:15 jaipur kernel: kmalloc: Size (503808) too large

when trying to mount my NTFS partition under 2.2.0-pre4 after fixing
/usr/src/linux/include/linux/ntfs_fs_i.h to include the definitions
for ntfs_s* integer definitions.

After making the above change in ntfsendian.h, my NTFS partition mounted
properly. Fixing the definition of NTFS_GETS8 fixed the problem in my
case. Better get this change to Linus.

Thanks,
Ryan

--------------------------------
Ryan Moore rmoore@rmoore.i.seawood.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/