On Fri, May 04, 2007 at 03:25:46PM +0200, Emmanuel Florac wrote:
> Le Fri, 4 May 2007 17:33:44 +1000
> David Chinner <dgc@xxxxxxx> écrivait:
>
> > Well, there's your problem. Stack overflows. IMO, if you use a
> > filesystem, you shouldn't use 4k stacks. ;)
> >
> > If you remake you kernel with 8k stacks then your problems will
> > most likely go away.
>
> Well, I've double-checked the asm-i386/module.h, and it actually looks
> like 4K stacks is NOT the default, so I must be using 8K, isn't it?
Yes.
> I've ran the same test on the same machine but WITHOUT software raid-0
> (so write barriers are in use), and all went well, more than 3TB
> written without a glitch. I still think there's something related to
> the write barriers here. I'll try with another RAID controller, Adaptec
> for instance, to get sure the 3ware driver isn't involved. I'll also try
> again with an amd64 kernel.
So you use software raid and you get corruptions, right? I doubt this has
anything to do with write barriers - if it does thats an indication
of broken drivers or hardware.....
Can you run with "-o nobarrier" and no software raid and see if you
still have a problem?
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
|