kernel oops: kswapd (?)

From: Scott Merrill (skippy@skippy.net)
Date: Mon Feb 17 2003 - 23:31:00 EST


To whom it may concern:
Please accept my sincere apologies if any necessary information is
omitted. This is my first oops submission. I will gladly provide any
missing information.

I was copying ogg vorbis files freshly ripped from my desktop to my
server, Debian 'woody' running on a Pentium II 450MHz box with 512MB RAM.
The scp process aborted. "Weird," though I, so I started it again. It
aborted a second time. "Not good," thought I.

tail /var/log/messages on the server reported the following:
Feb 17 21:29:07 server1 kernel: <1>Unable to handle kernel NULL pointer
dereference at virtual address 00000004
Feb 17 21:29:07 server1 kernel: printing eip:
Feb 17 21:29:07 server1 kernel: c013f600
Feb 17 21:29:07 server1 kernel: Oops: 0000
Feb 17 21:29:07 server1 kernel: CPU: 0
Feb 17 21:29:07 server1 kernel: EIP: 0010:[prune_dcache+16/296] Not
tainted
Feb 17 21:29:07 server1 kernel: EFLAGS: 00010213
Feb 17 21:29:07 server1 kernel: eax: 0000224c ebx: 00000000 ecx:
00000006 edx: 00000002
Feb 17 21:29:07 server1 kernel: esi: 000001f0 edi: 00000020 ebp:
0000224c esp: c857fe50
Feb 17 21:29:07 server1 kernel: ds: 0018 es: 0018 ss: 0018
Feb 17 21:29:07 server1 kernel: Process sshd (pid: 29389, stackpage=c857f000)
Feb 17 21:29:07 server1 kernel: Stack: 00000019 000001f0 00000020 00000006
c013f96b 0000224c c0129eb6 00000006
Feb 17 21:29:07 server1 kernel: 000001f0 00000006 000001f0 c01f2948
c01f2948 c01f2948 c0129f0f 00000020
Feb 17 21:29:07 server1 kernel: c857e000 00000120 00000000 c012a722
c01f2aa4 00000120 00000010 00000000
Feb 17 21:29:07 server1 kernel: Call Trace: [shrink_dcache_memory+27/52]
[shrink_caches+102/136] [try_to_free_pages+55/88]
[balance_classzone+78/360] [sock_alloc_send_pskb+112/440]
Feb 17 21:29:07 server1 kernel: [__alloc_pages+262/356]
[_alloc_pages+22/24] [__get_free_pages+10/24] [__pollwait+51/140]
[tcp_poll+46/340] [sock_sendmsg+105/136]
Feb 17 21:29:07 server1 kernel: [sock_poll+35/40] [do_select+226/476]
[sys_select+802/1124] [system_call+51/56]
Feb 17 21:29:07 server1 kernel:
Feb 17 21:29:07 server1 kernel: Code: 8b 53 04 8b 03 89 50 04 89 02 89 1b
89 5b 04 8d 73 e8 8b 46

I thought perhaps something was wrong with the disk or partition
(/dev/hdc1) that I was copying these .ogg files to, so I tried to umount
it.

A quick message to my local LUG and some googling pointed me toward
ksymoops. I didn't have it installed, so I tried to apt-get it:
skippy@server1:/tmp/ksymoops-2.4.8$ sudo apt-get install ksymoops
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  ksymoops
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/174kB of archives. After unpacking 382kB will be used.
Selecting previously deselected package ksymoops.
(Reading database ... 32862 files and directories currently installed.)
Unpacking ksymoops (from .../ksymoops_2.4.5-1_i386.deb) ...
E: Sub-process /usr/bin/dpkg received a segmentation fault.

Maybe I can compile from source, you say? No such luck, since the
kernel.org source version of ksymoops requires the Debian binutils-dev
package, which apt-get also segfaults on:
skippy@server1:/tmp/ksymoops-2.4.8$ sudo apt-get install binutils-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  binutils-dev
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 313kB of archives. After unpacking 954kB will be used.
Get:1 http://mirrors.kernel.org stable/main binutils-dev 2.12.90.0.1-4
[313kB]
Fetched 313kB in 6s (51.1kB/s)
E: Sub-process /usr/bin/dpkg received a segmentation fault.

I tried to apt-get ksymoops twice, then binutils-dev twice, and finally
ksymoops once more. Silly, I know.

More posting to my LUG ensues. I'm told that I can reboot provided I save
the oops with a 'dmesg > oops.txt', which is attached.

After rebooting, I was able to install the ksymoops package. The output
is attached as ksymoops.txt.

I realize now that my initial diagnosis was too shallow, and that I should
have tailed a bit further up into /var/log/messages and /var/log/kern.log.
 I originally thought the problem was with ssh, or with the drive or
partition (/dev/hdc1) I was copying to. Looking through the ksymoops.txt
file, I see that the original problem was kswapd.

If I've omitted anything, please let me know! I'll help however I can!





-
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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:20 EST