lkml.org 
[lkml]   [1998]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject2.1.91 takes 20 min. nap, wakes up unhappy
Date

I'm not certain that this is a kernel-related problem, but I'm
guessing it is, given the mm tweaking going on and the fact
that this sounds similar to a couple other reports, so here goes.

My computer began behaving very strangely this morning. When
I typed, characters would appear on the screen but no processes
were responding to my keystrokes. I could change VCs, but there
was nothing I could do on any of them. Since I figured the
system was going to require a less-than-gentle shutdown, I
delayed as long as possible and in the mean time recorded some
information from the various scroll-lock kernel information
dumps. After about 20 minutes, the system suddenly became
"usable" again, although prior to that I received the message:

INIT: PANIC: segmentation violation! giving up..

and 12 processes went zombie so I use the term "usable"
loosely here. After a couple minutes, I sync'ed a few
times and hit reset.

The system: Cyrix 6x86/166, 24MB RAM, 70MB swap running
RedHat 5.0 and kernel 2.1.91 with kmod & knfsd.
Kernel compiled with gcc 2.7.2.3.
Kernel configuration at bottom of message.


uptime showed:

5:17am up 22:31, 4 users, load average: 0.06, 2.68, 4.84

and presumably the problem was related to the high load average,
although none of the programs I was running at the time should
have caused that (and I was the only user). The only thing that
I had running that should have been using cpu time was an
"rpm -i". There seemed to be quite a bit of hard-drive access
during at least part of the time the system was unusable. Also
kswapd appears to have been pretty busy at some point during
the life of the system although I don't think I ever ran anything
that should have caused much swapping at any point during the
system's 22 hour uptime.

Here are all processes with greater than 0:01 TIME:

USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 776 0 ? SW 06:46 0:03 (init)
root 2 0.0 0.0 0 0 ? SW 06:46 0:04 (kflushd)
root 3 1.3 0.0 0 0 ? SW< 06:46 18:36 (kswapd)
root 297 0.0 0.0 0 0 ? Z 06:46 0:02 (httpd <zombie>)
root 332 0.0 2.1 1116 468 ? S 06:46 0:08 nmbd -D
root 345 0.0 0.0 0 0 ? Z 06:46 0:18 (sshd <zombie>)
root 355 0.0 0.0 720 0 ? SW 06:46 0:02 (update)
root 1995 0.2 0.0 0 0 1 SW 03:09 0:16 (nfsd)
root 1996 0.2 0.0 0 0 1 SW 03:09 0:16 (nfsd)
root 1997 0.2 0.0 0 0 1 SW 03:09 0:16 (nfsd)
root 1998 0.2 0.0 0 0 1 SW 03:09 0:16 (nfsd)


information copied by hand from the magic scroll-lock info:

free pages: 14044kB
(409*4kB 451*8kB 278*16kB 100*32kB 16*64kB 1*128kB = 14044kB)
Swap cache: add 69860/69860, delete 69857/69857, find 0/0
free swap: 67540kB
6144 pages of RAM
4218 free pages
573 reserved pages
313 pages shared
3 pages swap cached
buffer memory: 736kB
buffer heads: 772
buffer blocks:736
clean: 162 buffers, 25 used (last=25), 0 locked, 0 protected, 0 dirty
locked: 506 buffers, 48 used(last=359), 0 locked, 0 protected, 0 dirty
dirty: 14 buffers, 8 used (last=14), 0 locked, 0 protected, 14 dirty


And here I tried watching what was going on at the time:

EIP
---
c0108270 ; c0108230 T cpu_idle
c0125034 ; c0124fe4 t swap_out
c0108270 ; cpu_idle
c011facc ; c011fa70 T shrink_mmap
c0124ed0 ; c0124ae4 t swap_out_vma
c0108270 ; cpu_idle
c0125043 ; swap_out
c012507c ; swap_out
c0108270 ; cpu_idle

INIT: PANIC: segmentation violation! giving up..

c0108270 ; cpu_idle
c0125043 ; swap_out
c011fad9 ; shrink_mmap
c011fb5d ; shrink_mmap
c011fc7d ; shrink_mmap
c0108270 ; cpu_idle
c0108270 ; cpu_idle
c011fac6 ; shrink_mmap
c0108270 ; cpu_idle
c0125043 ; swap_out


I'm not sure that's much to go on, but maybe it will mean
something to someone.


Jeremy




kernel configuration
--------------------
CONFIG_M586=y
CONFIG_MAX_MEMSIZE=1024
CONFIG_MODULES=y
CONFIG_KMOD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_OLD_PROC=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_PARIDE_PARPORT=y
CONFIG_PACKET=y
CONFIG_NET_ALIAS=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_ALIAS=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_NE2000=y
CONFIG_PPP=y
CONFIG_CDROM=y
CONFIG_MINIX_FS=y
CONFIG_EXT2_FS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
CONFIG_NFSD=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_CODA_FS=y
CONFIG_SMB_FS=y
CONFIG_SMB_WIN95=y
CONFIG_NLS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_ISO8859_5=y
CONFIG_NLS_ISO8859_6=y
CONFIG_NLS_ISO8859_7=y
CONFIG_NLS_ISO8859_8=y
CONFIG_NLS_KOI8_R=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_JOYSTICK=m
CONFIG_FTAPE=y
CONFIG_ZFTAPE=y
CONFIG_ZFT_DFLT_BLK_SZ=10240
CONFIG_ZFT_COMPRESSOR=m
CONFIG_FT_PROC_FS=y
CONFIG_FT_FDC_BASE=0
CONFIG_FT_FDC_IRQ=0
CONFIG_FT_FDC_DMA=0
CONFIG_FT_ALPHA_CLOCK=0
CONFIG_SOUND=m
CONFIG_SB=m
CONFIG_ADLIB=m
CONFIG_MPU401=m
CONFIG_YM3812=m
CONFIG_VGA_CONSOLE=y

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.052 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site