Re: atl1 64-bit => 32-bit DMA borkage (reproducible, bisected)

From: Jay Cliburn
Date: Sun Apr 20 2008 - 07:06:24 EST


On Sun, 20 Apr 2008 15:14:53 +0400
Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> On Sat, Apr 19, 2008 at 09:54:44PM -0500, Jay Cliburn wrote:
> > On Sat, 19 Apr 2008 18:45:35 +0400
> > Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> >
> > > OK, nailed it.
> > >
> > > It's commit 5f08e46b621a769e52a9545a23ab1d5fb2aec1d4 aka "atl1:
> > > disable broken 64-bit DMA".
> > >
> > > With this commit in tree, I can reproduce either
> > > a) kmalloc-2048 corruption after initscripts shutdown eth0
> > > http://marc.info/?l=linux-kernel&m=120820360221261&w=2
> > >
> > > b) or oopses at filp_close() first reported long ago
> > > (sorry, can't find that email)
> > >
> > > c) or hard hang after initscripts shutdown eth0 with even SysRq
> > > not working.
> > > http://marc.info/?l=linux-kernel&m=120795046008115&w=2
> > >
> > > I have two boxes one with atl1, 4G RAM with 2G remapped after 4G
> > > boundary, another with r8169 connected with just ethernet cable.
> > > NICs agree on 1Gbps speed.
> > >
> > > So, it's enough to scp 200 MB git archive and immediately start
> > > rebooting sequence for horrors described above to appear. It's not
> > > 100% reproducible but more like 90%.
> >
> > Do I understand correctly that these failures occur only while the
> > network interface is going down?
>
> Yep. During up or running there were no problems with this card.
>

One more question: Does it happen whether or not you're using atl1 as
a netconsole?
--
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/