Re: 2.6.16-rc1-mm4 i386 atomic operations broken on SMP (in modulesat least)

From: Neil Brown
Date: Thu Feb 02 2006 - 03:21:28 EST


On Thursday February 2, jamagallon@xxxxxxx wrote:
> On Thu, 2 Feb 2006 12:50:19 +1100, Neil Brown <neilb@xxxxxxx> wrote:
>
> > On Thursday February 2, jamagallon@xxxxxxx wrote:
> > > On Thu, 2 Feb 2006 12:19:22 +1100, Neil Brown <neilb@xxxxxxx> wrote:
> > >
> > > >
> > > > I've been testing md/raid in 2.6.16-rc1-mm4 on a dual Xeon with most
> > > > of the md personalities compiled as modules, and weird stuff if
> > > > happening.
> > > >
> > > > In particular I'm getting lots of
> > > >
> > > > BUG: atomic counter underflow at:
> > > >
> > > > reports in raid10 and raid5, which are modules.
> > > >
> > > >
> > >
> > > I also run this kernel (plus a couple patches) on a SATA raid5 setup, and
> > > had no problems. People throws and gets files via SMB/AFP, mainly.
> > >
> > > My box is dual PIII@933.
> >
> > Is 'raid5' a module, or is it compiled in?
> >
>
> nada:/usr/src/linux# grep _MD_ .config
> CONFIG_MD_LINEAR=y
> CONFIG_MD_RAID0=y
> CONFIG_MD_RAID1=y
> CONFIG_MD_RAID10=y
> CONFIG_MD_RAID5=y

I see it's not a module.
That points pretty strongly to the module loading code then I guess.

Thanks,
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/