Re: VM: Found a writable swap-cached page!

Anders Melchiorsen (postmaster@and.nospam.kampsax.k-net.dk)
29 Jul 1998 20:36:07 +0200


"Stephen C. Tweedie" <sct@redhat.com> writes:

> Fine --- could you please try the following diagnostic patch:

I guess this is not required since Bill seems to have found out what
is happening with xdos?I still applied it as I was going to compile
for 2.1.112 anyway :-).

> and tell us what it shows? It should display bot the pid and virtual
> address at which the problem pte resides. What we really need is to
> know about the mapping of this pte: if you could send me the error log
> and the result of a "cat /proc/<pid>/maps" for the process concerned it
> would help a lot.
>
> What compiler are you using, btw?

[and@k0817 and]$ gcc --version
2.7.2.3

Jul 29 20:29:26 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:26 k0817 kernel: VM: pid 384, VA 000b9000
Jul 29 20:29:26 k0817 kernel: page=c01e93d0@00002600, found=c01e93d0, count=4
Jul 29 20:29:26 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:26 k0817 kernel: VM: pid 384, VA 000ba000
Jul 29 20:29:26 k0817 kernel: page=c01e93a0@00002700, found=c01e93a0, count=4
Jul 29 20:29:26 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:26 k0817 kernel: VM: pid 384, VA 000bb000
Jul 29 20:29:26 k0817 kernel: page=c01e9370@00002800, found=c01e9370, count=4
Jul 29 20:29:26 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:26 k0817 kernel: VM: pid 384, VA 000bc000
Jul 29 20:29:26 k0817 kernel: page=c01e9340@00002900, found=c01e9340, count=4
Jul 29 20:29:26 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:26 k0817 kernel: VM: pid 384, VA 000bd000
Jul 29 20:29:26 k0817 kernel: page=c01e9310@00002a00, found=c01e9310, count=4
Jul 29 20:29:26 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:26 k0817 kernel: VM: pid 384, VA 000be000
Jul 29 20:29:26 k0817 kernel: page=c01e92e0@00002b00, found=c01e92e0, count=4
Jul 29 20:29:26 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:26 k0817 kernel: VM: pid 384, VA 000bf000
Jul 29 20:29:26 k0817 kernel: page=c01e92b0@00002c00, found=c01e92b0, count=4
Jul 29 20:29:31 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:31 k0817 kernel: VM: pid 384, VA 4017a000
Jul 29 20:29:31 k0817 kernel: page=c01e93d0@00002600, found=c01e93d0, count=4
Jul 29 20:29:31 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:31 k0817 kernel: VM: pid 384, VA 4017b000
Jul 29 20:29:31 k0817 kernel: page=c01e93a0@00002700, found=c01e93a0, count=4
Jul 29 20:29:31 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:31 k0817 kernel: VM: pid 384, VA 4017c000
Jul 29 20:29:31 k0817 kernel: page=c01e9370@00002800, found=c01e9370, count=4
Jul 29 20:29:31 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:31 k0817 kernel: VM: pid 384, VA 4017d000
Jul 29 20:29:31 k0817 kernel: page=c01e9340@00002900, found=c01e9340, count=4
Jul 29 20:29:31 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:31 k0817 kernel: VM: pid 384, VA 4017e000
Jul 29 20:29:31 k0817 kernel: page=c01e9310@00002a00, found=c01e9310, count=4
Jul 29 20:29:31 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:31 k0817 kernel: VM: pid 384, VA 4017f000
Jul 29 20:29:31 k0817 kernel: page=c01e92e0@00002b00, found=c01e92e0, count=4
Jul 29 20:29:31 k0817 kernel: VM: Found a writable swap-cached page!
Jul 29 20:29:31 k0817 kernel: VM: pid 384, VA 40180000
Jul 29 20:29:31 k0817 kernel: page=c01e92b0@00002c00, found=c01e92b0, count=4

[and@k0817 and]$ cat /proc/384/maps
00000000-00010000 rwxs 00000000 00:00 0
00010000-000b8000 rwxp 00010000 00:00 0
000b8000-000c0000 rwxs 40179000 00:00 0
000c0000-000c1000 r--p 000c0000 00:00 0
000c1000-00100000 rwxp 000c1000 00:00 0
00100000-00110000 rwxs 00000000 00:00 0
08048000-080f9000 r-xp 00000000 03:06 14258 /usr/bin/dos
080f9000-08103000 rw-p 000b0000 03:06 14258 /usr/bin/dos
08103000-081da000 rwxp 00000000 00:00 0
081da000-081ea000 rwxs 00000000 00:00 0
081ea000-081f4000 rwxp 000e7000 00:00 0
40000000-40009000 r-xp 00000000 03:05 192 /lib/ld-2.0.7.so
40009000-4000b000 rw-p 00008000 03:05 192 /lib/ld-2.0.7.so
4000b000-40015000 r-xp 00000000 03:06 10308 /usr/X11R6/lib/libXext.so.6.3
40015000-40016000 rw-p 00009000 03:06 10308 /usr/X11R6/lib/libXext.so.6.3
40016000-400a8000 r-xp 00000000 03:06 10304 /usr/X11R6/lib/libX11.so.6.1
400a8000-400ad000 rw-p 00091000 03:06 10304 /usr/X11R6/lib/libX11.so.6.1
400ad000-400b1000 r--p 00000000 03:05 2214 /etc/ld.so.cache
400b1000-400c9000 r-xp 00000000 03:05 197 /lib/libm-2.0.7.so
400c9000-400ca000 rw-p 00017000 03:05 197 /lib/libm-2.0.7.so
400ca000-400cb000 rwxs 00000000 00:00 0
400cb000-400cc000 rw-p 00001000 00:00 0
400cc000-4015d000 r-xp 00000000 03:05 193 /lib/libc-2.0.7.so
4015d000-40164000 rw-p 00090000 03:05 193 /lib/libc-2.0.7.so
40164000-40170000 rw-p 00000000 00:00 0
40170000-40177000 r-xp 00000000 03:05 200 /lib/libnss_files-2.0.7.so
40177000-40178000 rw-p 00006000 03:05 200 /lib/libnss_files-2.0.7.so
40178000-4027b000 rw-p 00000000 00:00 0
4027b000-4037b000 rwxs 40179000 00:00 0
4037b000-4037c000 rw-p 00203000 00:00 0
bfffc000-c0000000 rwxp ffffd000 00:00 0

-- 
Regards, Anders
(address is valid)

DEFINITION: Computer - A device designed to speed and automate errors.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html