From: Tom Quinn <trq@hermes.astro.washington.edu>
Subject: Oops in shrink_mmap()
Date: Thu, 29 May 1997 13:51:58 -0700 [thread overview]
Message-ID: <89d8b26926642812c321c4078e265271.axp-list@archive.invalid> (raw)
I'm getting the following Oops on my alpha running RedHat linux 4.2:
May 29 08:55:13 shapley4 kernel: Unable to handle kernel paging request at virtual address 0000000001833a17
May 29 08:55:13 shapley4 kernel: kswapd(3): Oops 0
May 29 08:55:13 shapley4 kernel: pc = [<fffffc000032e720>] ps = 0000
May 29 08:55:13 shapley4 kernel: rp = [<fffffc0000334e90>] sp = fffffc00007dbde0
May 29 08:55:13 shapley4 kernel: r0=1 r1=18339ef r2=2769 r3=18339ef
May 29 08:55:13 shapley4 kernel: r8=0
May 29 08:55:13 shapley4 kernel: r16=6 r17=0 r18=0 r19=0
May 29 08:55:13 shapley4 kernel: r20=1555d7cff90 r21=0 r22=0 r23=1
May 29 08:55:13 shapley4 kernel: r24=4000000000000000 r25=1 r26=fffffc0000334e90 r27=fffffc000032e648
May 29 08:55:13 shapley4 kernel: r28=0 r29=fffffc000045bfa8 r30=fffffc00007dbde0
May 29 08:55:13 shapley4 kernel: Code: e4200016 44210403 41259404 <a0230028> 48209781 40651402 e020000c a8c30028 44c21001
The PC is in shrink_mmap(), called from try_to_free_page(). Here is
the top of that function. I've indicated the line where the PC is.
int shrink_mmap(int priority, int dma)
{
static int clock = 0;
struct page * page;
unsigned long limit = MAP_NR(high_memory);
struct buffer_head *tmp, *bh;
int count_max, count_min;
count_max = (limit<<1) >> (priority>>1);
count_min = (limit<<1) >> (priority);
page = mem_map + clock;
do {
count_max--;
if (page->inode || page->buffers)
count_min--;
if (PageLocked(page))
goto next;
if (dma && !PageDMA(page))
goto next;
/* First of all, regenerate the page's referenced bit
from any buffers in the page */
bh = page->buffers;
if (bh) {
tmp = bh;
do {
dies here>>>>>>> if (buffer_touched(tmp)) {
clear_bit(BH_Touched, &tmp->b_state);
set_bit(PG_referenced, &page->flags);
}
tmp = tmp->b_this_page;
} while (tmp != bh);
}
It looks like page->buffers contains garbage (0x00000000018339ef).
My system is a PC164 (enorex) with 256Meg RAM, IDE drive, SMC 9332
ethernet controller running at 100Mb/s, and a Matrox millenium video
card. I'm using the RedHat 4.2 2.0.30 kernel, except for version 0.76
of the tulip ethernet driver with COPY_BREAK set to a large number to
avoid unaligned traps.
The crash happens reliably if I run a program that 1) does a lot of
ethernet traffic (MPI), then 2) allocates and uses most of the
memory. The Oops happens just as the free memory drops to zero.
Any help or hints on tracking down the problem would be appreciated.
--
Tom Quinn Astronomy, University of Washington
Internet: trq@astro.washington.edu
Phone: 206-685-9009
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
reply other threads:[~1997-05-29 20:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox