[Oops] 2.4.5-ac14/2.4.6-pre3+Athlon+gcc3-prerelease+VIAKT133A

2001-06-16 Thread Richard Chan

Here's an oops from

1. Athlon kernel, gcc3 prerelease 14 June compiled
2. Kernel version 2.4.5-ac14
3. Mobo: Soltek 75KAV (VT133A disaster??) with Athlon 1.2G C

Any ideas? Bad compiler or bad kernel?
The problems occur in kmem_cache_.

On this mobo and chipset I have had no luck with locally compiled
Athlon kernels at all (whether stock or -ac, RedHat gcc or gcc3-prerelease).
Me thinks something is seriously wrong with this mobo/chipset or is it
the Athlon code in gcc?

Thanks
ksymoops 2.4.0 on i686 2.4.5-ac14.  Options used
 -v /usr/src/linux-ac/vmlinux (specified)
 -k /proc/ksyms (default)
 -l /proc/modules (default)
 -o /lib/modules/2.4.5-ac14/ (default)
 -m /usr/src/linux-ac/System.map (specified)

CPU:0
EIP:0010:[]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010012
eax: 400a0006   ebx: 004da9ba   ecx: cff3f000   edx: 0180
esi: c1407ae0   edi: 0286   ebp: 0020   esp: cfd3ff18
ds: 0018   es: 0018   ss: 0018
Process minilogd (pid: 22, stackpage=cfd3f000)
Stack: cfd2e0c0  cff3f740 0001 c01167f7 c1407ae0 cff3f740 c14d8340 
   cfd3e000 0500 bd28 c0116d71 cff3f740    
        cf00 c01399ff 0286 
Call Trace: [] [] [] [] [] 
   [] 
Code: 89 44 99 18 8b 41 10 89 59 14 8d 50 ff 89 51 10 3b 46 14 74 

>>EIP; c0128246<=
Trace; c01167f7 
Trace; c0116d71 
Trace; c01399ff 
Trace; c01d0cbd 
Trace; c0116ece 
Trace; c0106edb 
Code;  c0128246 
 <_EIP>:
Code;  c0128246<=
   0:   89 44 99 18   mov%eax,0x18(%ecx,%ebx,4)   <=
Code;  c012824a 
   4:   8b 41 10  mov0x10(%ecx),%eax
Code;  c012824d 
   7:   89 59 14  mov%ebx,0x14(%ecx)
Code;  c0128250 
   a:   8d 50 ff  lea0x(%eax),%edx
Code;  c0128253 
   d:   89 51 10  mov%edx,0x10(%ecx)
Code;  c0128256 
  10:   3b 46 14  cmp0x14(%esi),%eax
Code;  c0128259 
  13:   74 00 je 15 <_EIP+0x15> c012825b 


 guring kernel pa<1>Unable to handle kernel paging request at virtual address d12a9704
c0128246
*pde = 
Oops: 0002
CPU:0
EIP:0010:[]
EFLAGS: 00010012
eax: 400a0006   ebx: 004da9bb   ecx: cff3f000   edx: 0180
esi: c1407ae0   edi: 0286   ebp: 0020   esp: cfd4df18
ds: 0018   es: 0018   ss: 0018
Process sysctl (pid: 23, stackpage=cfd4d000)
Stack: cff24bc0  cff3f900 0001 c01167f7 c1407ae0 cff3f900 c14d83c0 
   cfd4c000  bd68 c0116d71 cff3f900 40019000 1000  
    40019000 1000 c1407ba0 c0122795 c14d83c0 cfd644c0 40019000 
Call Trace: [] [] [] [] [] 
   [] 
Code: 89 44 99 18 8b 41 10 89 59 14 8d 50 ff 89 51 10 3b 46 14 74 

>>EIP; c0128246<=
Trace; c01167f7 
Trace; c0116d71 
Trace; c0122795 
Trace; c012f91e 
Trace; c0116ece 
Trace; c0106edb 
Code;  c0128246 
 <_EIP>:
Code;  c0128246<=
   0:   89 44 99 18   mov%eax,0x18(%ecx,%ebx,4)   <=
Code;  c012824a 
   4:   8b 41 10  mov0x10(%ecx),%eax
Code;  c012824d 
   7:   89 59 14  mov%ebx,0x14(%ecx)
Code;  c0128250 
   a:   8d 50 ff  lea0x(%eax),%edx
Code;  c0128253 
   d:   89 51 10  mov%edx,0x10(%ecx)
Code;  c0128256 
  10:   3b 46 14  cmp0x14(%esi),%eax
Code;  c0128259 
  13:   74 00 je 15 <_EIP+0x15> c012825b 


 rameters:  <1>Unable to handle kernel paging request at virtual address d12a96fc
c0128246
*pde = 
Oops: 0002
CPU:0
EIP:0010:[]
EFLAGS: 00010012
eax: 400a0006   ebx: 004da9b9   ecx: cff3f000   edx: 0180
esi: c1407ae0   edi: 0286   ebp: 0100   esp: cfd49f18
ds: 0018   es: 0018   ss: 0018
Process initlog (pid: 21, stackpage=cfd49000)
Stack: cff3f580  cff3f580 cfd96000 c01167f7 c1407ae0 cff3f580 c14d82c0 
   cfd48000 0b00 bd48 c0116d71 cff3f580 b710 cfd49f70 cfd49fa4 
   c011d105 cff240c0 ffea  0049 cff240c0 0049  
Call Trace: [] [] [] [] [] 
   [] 
Code: 89 44 99 18 8b 41 10 89 59 14 8d 50 ff 89 51 10 3b 46 14 74 

>>EIP; c0128246<=
Trace; c01167f7 
Trace; c0116d71 
Trace; c011d105 
Trace; c012fd93 
Trace; c0116ece 
Trace; c0106edb 
Code;  c0128246 
 <_EIP>:
Code;  c0128246<=
   0:   89 44 99 18   mov%eax,0x18(%ecx,%ebx,4)   <=
Code;  c012824a 
   4:   8b 41 10  mov0x10(%ecx),%eax
Code;  c012824d 
   7:   89 59 14  mov%ebx,0x14(%ecx)
Code;  c0128250 
   a:   8d 50 ff  lea0x(%eax),%edx
Code;  c0128253 
   d:   89 51 10  mov%edx,0x10(%ecx)
Code;  c0128256 
  10:   3b 46 14  cmp0x14(%esi),%eax
Code;  c0128259 
  13:   74 00 je 15 <_EIP+0x15> c012825b 


 net.ipv4.ip_forw<1>Unable to handle kern

Athlon oops traced to CONFIG_MK7 code in arch/i386/lib/mmx.c

2001-07-06 Thread Richard Chan

Athlon oops saga continues - I consistently get Athlon kernels oopsing
during the boot up process either in rc.sysinit or loading of usb modules
(this is a RedHat system 7.1). These kernels can boot to a shell init=/bin/sh
but once I try to do stuff like inserting modules they oops left, right, and centre.

System: Athlon 1.2GHz VIA KT 133A
Kernel: 2.4.5 and -ac, 2.4.6 and -ac
Compiler: gcc 2.96-RH/3.00/3.01 binutils 2.10.90/2.11.2/2.11.90


I have narrowed a(the?) problem down to the CONFIG_MK7 specific code in 
arch/i386/lib/mmx.c.
If I disable CONFIG_MK7 in that one file with the rest of the kernel untouched and
compiled with CONFIG_MK7 and -march=athlon then my kernel boots sucessfully and manages
to get into multi-user mode. With a few minutes of testing and X everything works fine.

I'm interested if there is an explanation of the MK7 specific code in mmx.c and
whether that could really be the source of the problem. I would like to get
to the bottom of this.

FWIW - the RedHat 7.1 stock 2.4.2 athlon kernel boots successfully without oopsen.

Thanks!

Richard Chan <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/