Fwd: pre-patch-2.0.32-1 and freelist problem

Patrik Olsson (Patrik.Olsson@mbox006.swipnet.se)
Wed, 12 Nov 1997 20:43:13 +0100


I was requested to post this information to the list, I hope it can be of
some help. After the article I have added an Oops which happened last night
(well it does not say Oops as some lines seem to have disappeared..., (klogd tired?))

/Patrik

// taken from deja news as my article did not appear on my ISPs news server :(

Subject: pre-patch-2.0.32-1 and freelist problem
From: Patrik.Olsson@mbox006.swipnet.se (Patrik Olsson)
Date: 1997/11/11
Message-ID: <ck7a46.ac1.ln@muffins.swipnet.se>
Newsgroups: comp.os.linux.development.system
[More Headers]

I have exprienced som problem with my pre-32-1 system.
When I got home from work today I was unable to logon
to my machine so I did a reboot.

I had left the machine on since yesterday evening doing nothing but running
X with "top" in one window and "procinfo -f" in another.

last shows me being logged off at 16:04 today:

me tty1 Mon Nov 10 23:37 - 16:04 (16:26)

I examined the /var/log/messages and discovered this:

Nov 10 23:40:32 muffins su: on /dev/ttyp0
Nov 11 16:04:28 muffins kernel: Problem: block on freelist at 00001909 isn't free.
Nov 11 16:04:29 muffins last message repeated 1274 times

<lines repeated several hundred times>

(This is about my trying to logon but is forced to reboot.)

Nov 11 17:46:57 muffins kernel: Problem: block on freelist at 00001909 isn't free.
Nov 11 17:46:57 muffins last message repeated 74 times
Nov 11 17:50:28 muffins syslogd 1.3-3: restart.
Nov 11 17:50:29 muffins kernel: klogd 1.3-3, log source = /proc/kmsg started.

The /var/log/maillog shows this:

Nov 11 17:44:33 muffins sendmail[149]: runqueue: Skipping queue run -- fork() failed: Out of memory
Nov 11 17:45:43 muffins sendmail[149]: runqueue: Skipping queue run -- fork() failed: Out of memory
Nov 11 17:46:53 muffins sendmail[149]: runqueue: Skipping queue run -- fork() failed: Out of memory
Nov 11 17:50:33 muffins sendmail[151]: starting daemon (8.8.7): SMTP+queueing@00:01:00

My system is a clean 2.0.31 with the pre-2.0.32-1 patch and the cyrix-support-2
patch configured as follows:

CONFIG_CYRIX_6X86=y
CONFIG_CYRIX_6X86_NOLOCK=y
CONFIG_CYRIX_6X86_WTALLOC=y
CONFIG_CYRIX_6X86_BTB=y
# CONFIG_CYRIX_6X86_BTB_RISKY is not set
# CONFIG_CYRIX_6X86_VSPM is not set

I don't know if the info above is enough for fault tracing but I'll
keep my system up and running 24h/day for the next couple of days to
see if the problem can be repeated.

-- 
Patrik Olsson
Linux såklart!
Ducati 900 SS '97 - bullerförsäkrad

------------- end of article ---------------------

>From /var/log/messages:

Nov 11 23:12:16 muffins fetch[3918]: done Nov 12 00:01:06 muffins kernel: PPP: ppp line discipline successfully unregistered Nov 12 00:01:09 muffins kernel: PPP: version 2.2.0 (dynamic channel allocation) Nov 12 00:01:09 muffins kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc. Nov 12 00:01:09 muffins kernel: PPP line discipline registered. Nov 12 03:35:39 muffins kernel: general protection: 1414 Nov 12 03:35:39 muffins kernel: CPU: 0 Nov 12 03:35:39 muffins kernel: EIP: 0010:[verify_area+92/456] Nov 12 03:35:39 muffins kernel: EFLAGS: 00010202 Nov 12 03:35:39 muffins kernel: eax: 019c1d98 ebx: 019c1d98 ecx: 01245968 edx: 019c1d98 Nov 12 03:35:39 muffins kernel: esi: bfffecb4 edi: 00000004 ebp: bfffec3c esp: 00edcf50 Nov 12 03:35:39 muffins kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018 Nov 12 03:35:39 muffins kernel: Process pppload (pid: 4390, process nr: 44, stackpage=00edc000) Nov 12 03:35:39 muffins kernel: Stack: 00a81414 00000000 bfffecb4 bfffec3c 0180a660 00000040 012458dc 0013baeb Nov 12 03:35:39 muffins kernel: 00000001 bfffecb4 00000004 0000541b bfffecb4 08053538 00135f05 01245968 Nov 12 03:35:39 muffins kernel: 0000541b bfffecb4 0180a660 0012cce1 012458dc 0180a660 0000541b bfffecb4 Nov 12 03:35:39 muffins kernel: Call Trace: [unix_ioctl+135/156] [sock_ioctl+33/40] [sys_ioctl+257/272] [system_call+85/128] Nov 12 03:35:39 muffins kernel: Code: 07 84 16 01 00 00 8b 42 00 38 f0 0f 87 d7 00 00 00 80 1c 04 Nov 12 03:36:39 muffins kernel: PPP: ppp line discipline successfully unregistered

// program -rwxr-xr-x 1 root root 47069 Oct 27 17:18 /usr/X11R6/bin/pppload

// code: [root@muffins scripts]# more oops.c char str[]="\07\x84\x16\x01\x00\x00\x8b\x42\x00\x38\xf0\x0f\x87\xd7\x00\x00\x00\ x80\x1c\x04"; main(){} [root@muffins scripts]# gdb a.out GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc... (gdb) disassemble str Dump of assembler code for function str: 0x804944c <str>: popl %es 0x804944d <str+1>: testb %dl,(%esi) 0x804944f <str+3>: addl %eax,(%eax) 0x8049451 <str+5>: addb %cl,0xf0380042(%ebx) 0x8049457 <str+11>: ja 0x8049534 <__fpu_control+28> 0x804945d <str+17>: sbbb $0x0,(%esp,%eax,1) 0x8049461 <str+21>: addb %al,(%eax) 0x8049463 <str+23>: addb %bh,%bh End of assembler dump. (gdb)

I hope this can give some clues...

/Patrik