Re: [2.5.20-BUG] 3c59x + highmem + acpi + nfs -> kernel panic
Andrew Morton (akpm@zip.com.au)
Mon, 03 Jun 2002 23:37:50 -0700
Trond Myklebust wrote:
>
> >>>>> " " == Andrew Morton <akpm@zip.com.au> writes:
>
> > Anton Altaparmakov wrote:
> >>
> >> Hi,
> >>
> >> Just got this (reproducible) kernel panic (BUG in
> >> asm-i386/highmem.h::kmap_atomic(), the if
> >> (!pte_none(*(kmap_pte-idx))) BUG(); triggers). It happens every
> >> time I boot and on an NFS mount do a ./configure.
>
> > Dunno about this one. I'm seeing some (totally different) NFS
> > funnies at present - pagecache data on the client is coming up
> > zeroes under memory pressure. Trond mentioned that NFS
> > recently went to kmap_atomic, so there is a common thread
> > there.
>
> Following an off-list chat with David, I believe that the appended
> patch should fix the problem reported by Anton. It replaces the
> obsolete km_type "KM_SKB_DATA" with an entry that the RPC layer can
> use in the socket bottom half.
>
> I'm less sure whether or not it will fix your problem, Andrew, but I'm
> hoping you'll find time to give it a brief test ;-)...
It fixed it.
The problem was that pagecache data on the NFS client was showing
incorrect chunks of several k's of zeroes. No particuar alignment,
either. And it only happened when the machine is under page-replacement
pressure. And only when the machine has highmem.
It'd be nice to understand _why_ it fixed it. Do we know why NFS
was losing data when using KM_USER0? As far as I can see the new
and old code look pretty darn similar. Interested.
-
-
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/