PROBLEM: Kernel oops in kmalloc (network?) - 2.4.3-ac7

2001-04-17 Thread Rasmus Bøg Hansen

Hi

I just got an oops with 2.4.3-ac7:

[1.] Kernel oops'es and KDE hangs.
[2.] While compiling gcc, suddenly KDE hangs. I was able to change to a
console to investigate the problem. It appears that the dying process
was kwin as X and other parts of KDE still is responsive. The kernel
seems to run happily on after the oops.

[3.] Keywords: kmalloc, unix sockets, oops
[4.] Kernel version (from /proc/version):

Linux version 2.4.3-ac7 (root@grignard) (gcc version 2.95.3 20010315
(release)) #2 man apr 16 15:03:36 CEST 2001

[5.] Output of Oops.. message (if applicable) with symbolic information
 resolved (see Documentation/oops-tracing.txt)

ksymoops 2.3.7 on i586 2.4.3-ac7.  Options used
 -V (default)
 -k /proc/ksyms (default)
 -l /proc/modules (default)
 -o /lib/modules/2.4.3-ac7/ (default)
 -m /boot/System.map (specified)

Reading Oops report from the terminal
CPU:0
EIP:0010:[]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010086
eax: 001b   ebx: c1227768   ecx: c01fcca0   edx: 18ef
esi: c1a5a000   edi: 1000   ebp: 0246   esp: c4611e9c
ds: 0018   es: 0018   ss: 0018
Process kdeinit (pid: 10521, stackpage=c4611000)
Stack: c01d1c8f 04dc c2d3f97c c024b020 0007 0002 1000
c1a5a000
   c0193ac6 083c 0007 c4b943e0  c461 c01932cc
0800
   0007 c4611f4c 07e8 c4b940b4 c22fca9c c01c357f c4b943e0
07e8
Call Trace: [] [] [] []
[] [] []
Code: 0f 0b 83 c4 08 f6 43 11 04 74 55 b8 a5 c2 0f 17 87 46 00 3d

>>EIP; c0124953<=
Trace; c0193ac6 
Trace; c01932cc 
Trace; c01c357f 
Trace; c0191234 
Trace; c019143f 
Trace; c012cb1a 
Trace; c0106a63 
Code;  c0124953 
 <_EIP>:
Code;  c0124953<=
   0:   0f 0b ud2a  <=
Code;  c0124955 
   2:   83 c4 08  add$0x8,%esp
Code;  c0124958 
   5:   f6 43 11 04   testb  $0x4,0x11(%ebx)
Code;  c012495c 
   9:   74 55 je 60 <_EIP+0x60> c01249b3

Code;  c012495e 
   b:   b8 a5 c2 0f 17mov$0x170fc2a5,%eax
Code;  c0124963 
  10:   87 46 00  xchg   %eax,0x0(%esi)
Code;  c0124966 
  13:   3d 00 00 00 00cmp$0x0,%eax


[6.] A small shell script or example program which triggers the
 problem (if possible)

none.

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)

Linux grignard 2.4.3-ac7 #2 man apr 16 15:03:36 CEST 2001 i586 unknown

Gnu C  2.96
Gnu make   3.79.1
binutils   2.10.91.0.2
util-linux 2.11a
modutils   2.4.2
e2fsprogs  1.19
reiserfsprogs  3.x.0j
Linux C Library2.2.2
Dynamic linker (ldd)   2.2.2
Procps 2.0.7
Net-tools  1.56
Console-tools  0.3.3
Sh-utils   2.0
Modules Loaded nfsd lockd sunrpc autofs4 af_packet 3c59x ntfs
nls_iso8859-15 nls_cp865 vfat fat


[7.2.] Processor information (from /proc/cpuinfo):

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 5
model   : 9
model name  : AMD-K6(tm) 3D+ Processor
stepping: 1
cpu MHz : 451.035
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow
k6_mtrr
bogomips: 897.84


[7.3.] Module information (from /proc/modules):

Module  Size  Used by
es1370 24400   0  (autoclean) (unused)
soundcore   3728   4  (autoclean) [es1370]
nfsd   65872   8  (autoclean)
lockd  50096   1  (autoclean) [nfsd]
sunrpc 57696   1  (autoclean) [nfsd lockd]
autofs4 9472   2  (autoclean)
af_packet  11136   1  (autoclean)
3c59x  23776   1  (autoclean)
ntfs   35984   1  (autoclean)
nls_iso8859-15  3392   3  (autoclean)
nls_cp865   4352   2  (autoclean)
vfat8656   2  (autoclean)
fat30048   0  (autoclean) [vfat]


[7.4.] Loaded driver and hardware information (/proc/ioports,
/proc/iomem)

/proc/ioports:
-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
c000-cfff : PCI Bus #01
d000-d00f : VIA Technologies, Inc. Bus Master IDE
  d000-d007 : ide0
  d008-d00f : ide1
d800-d87f : 3Com Corporation 3c905B 100BaseTX [Cyclone]
  d800-d87f : eth0
dc00-dcff : Advanced System Products, Inc ABP940-U / ABP960-U
e000-e03f : Ensoniq ES1370 [AudioPCI]
  e000-e03f : es1370

/proc/iomem:
-0009fbff : System RAM
0009fc00-0009 : reserved
000a-000b : Video RAM area

PROBLEM: Kernel oops in kmalloc (network?) - 2.4.3-ac7

2001-04-17 Thread Rasmus Bøg Hansen

Hi

I just got an oops with 2.4.3-ac7:

[1.] Kernel oops'es and KDE hangs.
[2.] While compiling gcc, suddenly KDE hangs. I was able to change to a
console to investigate the problem. It appears that the dying process
was kwin as X and other parts of KDE still is responsive. The kernel
seems to run happily on after the oops.

[3.] Keywords: kmalloc, unix sockets, oops
[4.] Kernel version (from /proc/version):

Linux version 2.4.3-ac7 (root@grignard) (gcc version 2.95.3 20010315
(release)) #2 man apr 16 15:03:36 CEST 2001

[5.] Output of Oops.. message (if applicable) with symbolic information
 resolved (see Documentation/oops-tracing.txt)

ksymoops 2.3.7 on i586 2.4.3-ac7.  Options used
 -V (default)
 -k /proc/ksyms (default)
 -l /proc/modules (default)
 -o /lib/modules/2.4.3-ac7/ (default)
 -m /boot/System.map (specified)

Reading Oops report from the terminal
CPU:0
EIP:0010:[c0124953]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010086
eax: 001b   ebx: c1227768   ecx: c01fcca0   edx: 18ef
esi: c1a5a000   edi: 1000   ebp: 0246   esp: c4611e9c
ds: 0018   es: 0018   ss: 0018
Process kdeinit (pid: 10521, stackpage=c4611000)
Stack: c01d1c8f 04dc c2d3f97c c024b020 0007 0002 1000
c1a5a000
   c0193ac6 083c 0007 c4b943e0  c461 c01932cc
0800
   0007 c4611f4c 07e8 c4b940b4 c22fca9c c01c357f c4b943e0
07e8
Call Trace: [c0193ac6] [c01932cc] [c01c357f] [c0191234]
[c019143f] [c012cb1a] [c0106a63]
Code: 0f 0b 83 c4 08 f6 43 11 04 74 55 b8 a5 c2 0f 17 87 46 00 3d

EIP; c0124953 kmalloc+123/1c0   =
Trace; c0193ac6 alloc_skb+de/190
Trace; c01932cc sock_alloc_send_skb+68/f0
Trace; c01c357f unix_stream_sendmsg+10b/2ec
Trace; c0191234 sock_sendmsg+68/88
Trace; c019143f sock_write+a3/ac
Trace; c012cb1a sys_write+8e/c4
Trace; c0106a63 system_call+33/40
Code;  c0124953 kmalloc+123/1c0
 _EIP:
Code;  c0124953 kmalloc+123/1c0   =
   0:   0f 0b ud2a  =
Code;  c0124955 kmalloc+125/1c0
   2:   83 c4 08  add$0x8,%esp
Code;  c0124958 kmalloc+128/1c0
   5:   f6 43 11 04   testb  $0x4,0x11(%ebx)
Code;  c012495c kmalloc+12c/1c0
   9:   74 55 je 60 _EIP+0x60 c01249b3
kmalloc+183/1c0
Code;  c012495e kmalloc+12e/1c0
   b:   b8 a5 c2 0f 17mov$0x170fc2a5,%eax
Code;  c0124963 kmalloc+133/1c0
  10:   87 46 00  xchg   %eax,0x0(%esi)
Code;  c0124966 kmalloc+136/1c0
  13:   3d 00 00 00 00cmp$0x0,%eax


[6.] A small shell script or example program which triggers the
 problem (if possible)

none.

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)

Linux grignard 2.4.3-ac7 #2 man apr 16 15:03:36 CEST 2001 i586 unknown

Gnu C  2.96
Gnu make   3.79.1
binutils   2.10.91.0.2
util-linux 2.11a
modutils   2.4.2
e2fsprogs  1.19
reiserfsprogs  3.x.0j
Linux C Library2.2.2
Dynamic linker (ldd)   2.2.2
Procps 2.0.7
Net-tools  1.56
Console-tools  0.3.3
Sh-utils   2.0
Modules Loaded nfsd lockd sunrpc autofs4 af_packet 3c59x ntfs
nls_iso8859-15 nls_cp865 vfat fat


[7.2.] Processor information (from /proc/cpuinfo):

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 5
model   : 9
model name  : AMD-K6(tm) 3D+ Processor
stepping: 1
cpu MHz : 451.035
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr mce cx8 pge mmx syscall 3dnow
k6_mtrr
bogomips: 897.84


[7.3.] Module information (from /proc/modules):

Module  Size  Used by
es1370 24400   0  (autoclean) (unused)
soundcore   3728   4  (autoclean) [es1370]
nfsd   65872   8  (autoclean)
lockd  50096   1  (autoclean) [nfsd]
sunrpc 57696   1  (autoclean) [nfsd lockd]
autofs4 9472   2  (autoclean)
af_packet  11136   1  (autoclean)
3c59x  23776   1  (autoclean)
ntfs   35984   1  (autoclean)
nls_iso8859-15  3392   3  (autoclean)
nls_cp865   4352   2  (autoclean)
vfat8656   2  (autoclean)
fat30048   0  (autoclean) [vfat]


[7.4.] Loaded driver and hardware information (/proc/ioports,
/proc/iomem)

/proc/ioports:
-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
c000-cfff : PCI Bus #01
d000-d00f : VIA Technologies, Inc. Bus Master IDE