lkml.org 
[lkml]   [2001]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Duron kernel crash (i686 works)
On Mon, 10 Sep 2001, Roberto Jung Drebes wrote:

>
> Hi,
>
> Today I updated the BIOS of my motherboard, a ABIT KT7A (VIA Apollo KT133A
> chipset). The kernel I had (2.4.9) started crashing on boot with an
> invalid page fault, usually right after starting init. I tryed a i686
> kernel and noticed it works OK, so I recompiled my crashy kernel only
> switching the processor type and it also worked. changed it back to
> Athlon/K7/Duron and it starts crashing.
>
> Anyone else experiencing this?

I captured the log via serial console, and the problem does not always
happens at exactly the same time. The time I did the log, it happened
right after init would mount /proc. So I passes init=/bin/sh to the kernel
and initted "manually". At first things seemed to be OK. I then mounted
/proc, no probs, swapon -a, ok, then started just playing around with ls,
etc. Soon the loader would complain that there was no memory to be alloced
to run the programs. After a while, the kernel would complain about trying
to free a page that was not malloced or something like that. It seems to
be related to the VM subsys.

Anyway here is the trace done on the captured log.

Latter, I found on the archives that some people solved instability
problems on the KT133A by disabling the 3DNOW. I changed it to n in
arch/i386/config.in, but it seems to have no effect.

TIA,

--
Roberto Jung Drebes <drebes@inf.ufrgs.br>
Porto Alegre, RS - Brasil
http://www.inf.ufrgs.br/~drebes/
ksymoops 2.3.4 on i686 2.4.9. Options used
-v /usr/src/linux/vmlinux (specified)
-K (specified)
-l /proc/modules (default)
-o /lib/modules/2.4.9/ (specified)
-m /usr/src/linux/System.map (specified)

No modules in ksyms, skipping objects
No ksyms, skipping lsmod
invalid operand: 0000
CPU: 0
EIP: 0010:[<c0129e5a>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010286
eax: 00000020 ebx: 00000001 ecx: 00000001 edx: c0246ea8
esi: c11012dc edi: c02481f8 ebp: 00000000 esp: c3ccfe4c
ds: 0018 es: 0018 ss: 0018
Process logger (pid: 33, stackpage=c3ccf000)
Stack: c020a34c c020a440 000000cc c02481d4 c0248360 00000000 c3c8a134 00002c83
00000282 c0248204 00000000 c02481d4 c0129fb3 000000d2 c116f500 c116dc40
c3c8a134 00000001 c024835c 000000d2 c0129f36 00000000 c01208f2 00000000
Call Trace: [<c0129fb3>] [<c0129f36>] [<c01208f2>] [<c012098f>] [<c0120a9b>]
[<c0110980>] [<c0110ae3>] [<c0110980>] [<c01234c3>] [<c0123400>] [<c012f593>]
[<c0106f48>]
Code: 0f 0b 83 c4 0c 90 89 f0 eb 1c 47 83 44 24 18 0c 83 ff 09 0f

>>EIP; c0129e5a <rmqueue+23a/270> <=====
Trace; c0129fb3 <__alloc_pages+73/280>
Trace; c0129f36 <_alloc_pages+16/20>
Trace; c01208f2 <do_anonymous_page+32/a0>
Trace; c012098f <do_no_page+2f/e0>
Trace; c0120a9b <handle_mm_fault+5b/c0>
Trace; c0110980 <do_page_fault+0/460>
Trace; c0110ae3 <do_page_fault+163/460>
Trace; c0110980 <do_page_fault+0/460>
Trace; c01234c3 <generic_file_read+63/80>
Trace; c0123400 <file_read_actor+0/60>
Trace; c012f593 <sys_read+c3/d0>
Trace; c0106f48 <error_code+34/3c>
Code; c0129e5a <rmqueue+23a/270>
00000000 <_EIP>:
Code; c0129e5a <rmqueue+23a/270> <=====
0: 0f 0b ud2a <=====
Code; c0129e5c <rmqueue+23c/270>
2: 83 c4 0c add $0xc,%esp
Code; c0129e5f <rmqueue+23f/270>
5: 90 nop
Code; c0129e60 <rmqueue+240/270>
6: 89 f0 mov %esi,%eax
Code; c0129e62 <rmqueue+242/270>
8: eb 1c jmp 26 <_EIP+0x26> c0129e80 <rmqueue+260/270>
Code; c0129e64 <rmqueue+244/270>
a: 47 inc %edi
Code; c0129e65 <rmqueue+245/270>
b: 83 44 24 18 0c addl $0xc,0x18(%esp,1)
Code; c0129e6a <rmqueue+24a/270>
10: 83 ff 09 cmp $0x9,%edi
Code; c0129e6d <rmqueue+24d/270>
13: 0f 00 00 sldt (%eax)

invalid operand: 0000
CPU: 0
EIP: 0010:[<c0129942>]
EFLAGS: 00010286
eax: 0000001f ebx: c11012dc ecx: 00000001 edx: c0246ea8
esi: c11012dc edi: 00000001 ebp: 00000000 esp: c3c77b4c
ds: 0018 es: 0018 ss: 0018
Process minilogd (pid: 31, stackpage=c3c77000)
Stack: c020a34c c020a440 00000049 c1105478 c11012dc 00000001 00000001 c11012dc
c01faf19 c3d7a000 c3c83000 c01239b3 c012a22a c01239c6 c0247eb0 c116dd00
c116f440 00000001 00000002 c3fd1ff4 c3c310e4 c3c31040 c3cbe3c0 c01209b2
Call Trace: [<c01faf19>] [<c01239b3>] [<c012a22a>] [<c01239c6>] [<c01209b2>]
[<c0120a9b>] [<c0110980>] [<c0110ae3>] [<c0110980>] [<c01233f2>] [<c01218d6>]
[<c0106f48>] [<c0106f48>] [<c0106f48>] [<c01faace>] [<c01462ec>] [<c01472b8>]
[<c01469a0>] [<c0137f57>] [<c01381dc>] [<c01381f3>] [<c0105b3f>] [<c0106e57>]
Code: 0f 0b 83 c4 0c 83 7b 08 00 74 16 6a 4b 68 40 a4 20 c0 68 4c

>>EIP; c0129942 <__free_pages_ok+22/300> <=====
Trace; c01faf19 <mmx_copy_page+29/30>
Trace; c01239b3 <filemap_nopage+103/3e0>
Trace; c012a22a <__free_pages+1a/20>
Trace; c01239c6 <filemap_nopage+116/3e0>
Trace; c01209b2 <do_no_page+52/e0>
Trace; c0120a9b <handle_mm_fault+5b/c0>
Trace; c0110980 <do_page_fault+0/460>
Trace; c0110ae3 <do_page_fault+163/460>
Trace; c0110980 <do_page_fault+0/460>
Trace; c01233f2 <do_generic_file_read+502/510>
Trace; c01218d6 <do_munmap+56/250>
Trace; c0106f48 <error_code+34/3c>
Trace; c0106f48 <error_code+34/3c>
Trace; c0106f48 <error_code+34/3c>
Trace; c01faace <clear_user+2e/40>
Trace; c01462ec <padzero+1c/20>
Trace; c01472b8 <load_elf_binary+918/a80>
Trace; c01469a0 <load_elf_binary+0/a80>
Trace; c0137f57 <search_binary_handler+67/170>
Trace; c01381dc <do_execve+17c/1f0>
Trace; c01381f3 <do_execve+193/1f0>
Trace; c0105b3f <sys_execve+2f/60>
Trace; c0106e57 <system_call+33/38>
Code; c0129942 <__free_pages_ok+22/300>
00000000 <_EIP>:
Code; c0129942 <__free_pages_ok+22/300> <=====
0: 0f 0b ud2a <=====
Code; c0129944 <__free_pages_ok+24/300>
2: 83 c4 0c add $0xc,%esp
Code; c0129947 <__free_pages_ok+27/300>
5: 83 7b 08 00 cmpl $0x0,0x8(%ebx)
Code; c012994b <__free_pages_ok+2b/300>
9: 74 16 je 21 <_EIP+0x21> c0129963 <__free_pages_ok+43/300>
Code; c012994d <__free_pages_ok+2d/300>
b: 6a 4b push $0x4b
Code; c012994f <__free_pages_ok+2f/300>
d: 68 40 a4 20 c0 push $0xc020a440
Code; c0129954 <__free_pages_ok+34/300>
12: 68 4c 00 00 00 push $0x4c

invalid operand: 0000
CPU: 0
EIP: 0010:[<c0129e5a>]
EFLAGS: 00010282
eax: 00000020 ebx: 00000001 ecx: 00000001 edx: c0246ea8
esi: c11012dc edi: c02481f8 ebp: 00000000 esp: c3ed9e74
ds: 0018 es: 0018 ss: 0018
Process rc (pid: 44, stackpage=c3ed9000)
Stack: c020a34c c020a440 000000cc c02481d4 c0248360 00000000 03e63065 00002c83
00000286 c0248204 00000000 c02481d4 c0129fb3 000000d2 c110925c ffffffff
03e63065 00000001 c024835c 000000d2 c0129f36 080c4f04 c01203b7 080c4f04
Call Trace: [<c0129fb3>] [<c0129f36>] [<c01203b7>] [<c0120acd>] [<c0110980>]
[<c0110ae3>] [<c0110980>] [<c01faca3>] [<c01058a8>] [<c01132f7>] [<c0105ab4>]
[<c0106f48>]
Code: 0f 0b 83 c4 0c 90 89 f0 eb 1c 47 83 44 24 18 0c 83 ff 09 0f

>>EIP; c0129e5a <rmqueue+23a/270> <=====
Trace; c0129fb3 <__alloc_pages+73/280>
Trace; c0129f36 <_alloc_pages+16/20>
Trace; c01203b7 <do_wp_page+157/250>
Trace; c0120acd <handle_mm_fault+8d/c0>
Trace; c0110980 <do_page_fault+0/460>
Trace; c0110ae3 <do_page_fault+163/460>
Trace; c0110980 <do_page_fault+0/460>
Trace; c01faca3 <_mmx_memcpy+53/100>
Trace; c01058a8 <copy_thread+88/a0>
Trace; c01132f7 <do_fork+5f7/6b0>
Trace; c0105ab4 <sys_fork+14/20>
Trace; c0106f48 <error_code+34/3c>
Code; c0129e5a <rmqueue+23a/270>
00000000 <_EIP>:
Code; c0129e5a <rmqueue+23a/270> <=====
0: 0f 0b ud2a <=====
Code; c0129e5c <rmqueue+23c/270>
2: 83 c4 0c add $0xc,%esp
Code; c0129e5f <rmqueue+23f/270>
5: 90 nop
Code; c0129e60 <rmqueue+240/270>
6: 89 f0 mov %esi,%eax
Code; c0129e62 <rmqueue+242/270>
8: eb 1c jmp 26 <_EIP+0x26> c0129e80 <rmqueue+260/270>
Code; c0129e64 <rmqueue+244/270>
a: 47 inc %edi
Code; c0129e65 <rmqueue+245/270>
b: 83 44 24 18 0c addl $0xc,0x18(%esp,1)
Code; c0129e6a <rmqueue+24a/270>
10: 83 ff 09 cmp $0x9,%edi
Code; c0129e6d <rmqueue+24d/270>
13: 0f 00 00 sldt (%eax)

invalid operand: 0000
CPU: 0
EIP: 0010:[<c0129e5a>]
EFLAGS: 00010282
eax: 00000020 ebx: 00000001 ecx: 00000001 edx: c0246ea8
esi: c1101298 edi: c02481f8 ebp: 00000000 esp: c3d35e74
ds: 0018 es: 0018 ss: 0018
Process rc (pid: 45, stackpage=c3d35000)
Stack: c020a34c c020a440 000000cc c02481d4 c0248360 00000000 03f5e065 00002c82
00000286 c02481f8 00000000 c02481d4 c0129fb3 000000d2 c110d508 ffffffff
03f5e065 00000001 c024835c 000000d2 c0129f36 40016b68 c01203b7 40016b68
Call Trace: [<c0129fb3>] [<c0129f36>] [<c01203b7>] [<c0120acd>] [<c0110980>]
[<c0110ae3>] [<c0110980>] [<c01391da>] [<c013a3dc>] [<c012ee3d>] [<c012ed72>]
[<c012f16c>] [<c012f1c3>] [<c0106f48>]
Code: 0f 0b 83 c4 0c 90 89 f0 eb 1c 47 83 44 24 18 0c 83 ff 09 0f

>>EIP; c0129e5a <rmqueue+23a/270> <=====
Trace; c0129fb3 <__alloc_pages+73/280>
Trace; c0129f36 <_alloc_pages+16/20>
Trace; c01203b7 <do_wp_page+157/250>
Trace; c0120acd <handle_mm_fault+8d/c0>
Trace; c0110980 <do_page_fault+0/460>
Trace; c0110ae3 <do_page_fault+163/460>
Trace; c0110980 <do_page_fault+0/460>
Trace; c01391da <permission+2a/30>
Trace; c013a3dc <open_namei+32c/5b0>
Trace; c012ee3d <dentry_open+bd/140>
Trace; c012ed72 <filp_open+52/60>
Trace; c012f16c <filp_close+5c/70>
Trace; c012f1c3 <sys_close+43/60>
Trace; c0106f48 <error_code+34/3c>
Code; c0129e5a <rmqueue+23a/270>
00000000 <_EIP>:
Code; c0129e5a <rmqueue+23a/270> <=====
0: 0f 0b ud2a <=====
Code; c0129e5c <rmqueue+23c/270>
2: 83 c4 0c add $0xc,%esp
Code; c0129e5f <rmqueue+23f/270>
5: 90 nop
Code; c0129e60 <rmqueue+240/270>
6: 89 f0 mov %esi,%eax
Code; c0129e62 <rmqueue+242/270>
8: eb 1c jmp 26 <_EIP+0x26> c0129e80 <rmqueue+260/270>
Code; c0129e64 <rmqueue+244/270>
a: 47 inc %edi
Code; c0129e65 <rmqueue+245/270>
b: 83 44 24 18 0c addl $0xc,0x18(%esp,1)
Code; c0129e6a <rmqueue+24a/270>
10: 83 ff 09 cmp $0x9,%edi
Code; c0129e6d <rmqueue+24d/270>
13: 0f 00 00 sldt (%eax)

invalid operand: 0000
CPU: 0
EIP: 0010:[<c0129942>]
EFLAGS: 00010286
eax: 0000001f ebx: c1101298 ecx: 00000001 edx: c0246ea8
esi: c1101298 edi: c3d4b084 ebp: 00000000 esp: c3d35cd8
ds: 0018 es: 0018 ss: 0018
Process rc (pid: 45, stackpage=c3d35000)
Stack: c020a34c c020a440 00000049 c1101298 c1101298 c3d4b084 c3d4a16c c02a1640
00000000 c0299240 00000000 00000046 c012a22a c012a76a c1101298 00000069
c011f739 c1101298 c116ddc0 c116f140 08048000 0007c000 00448000 08448000
Call Trace: [<c012a22a>] [<c012a76a>] [<c011f739>] [<c0121de5>] [<c0112606>]
[<c01162dd>] [<c01075d0>] [<c0107392>] [<c010764f>] [<c0129e5a>] [<c011ac0f>]
[<c011773a>] [<c0117659>] [<c011743a>] [<c01082ed>] [<c0106ee0>] [<c0106f48>]
[<c0129e5a>] [<c0129fb3>] [<c0129f36>] [<c01203b7>] [<c0120acd>] [<c0110980>]
[<c0110ae3>] [<c0110980>] [<c01391da>] [<c013a3dc>] [<c012ee3d>] [<c012ed72>]
[<c012f16c>] [<c012f1c3>] [<c0106f48>]
Code: 0f 0b 83 c4 0c 83 7b 08 00 74 16 6a 4b 68 40 a4 20 c0 68 4c

>>EIP; c0129942 <__free_pages_ok+22/300> <=====
Trace; c012a22a <__free_pages+1a/20>
Trace; c012a76a <free_page_and_swap_cache+ba/c0>
Trace; c011f739 <zap_page_range+1b9/250>
Trace; c0121de5 <exit_mmap+b5/120>
Trace; c0112606 <mmput+26/50>
Trace; c01162dd <do_exit+9d/200>
Trace; c01075d0 <do_invalid_op+0/90>
Trace; c0107392 <die+42/50>
Trace; c010764f <do_invalid_op+7f/90>
Trace; c0129e5a <rmqueue+23a/270>
Trace; c011ac0f <do_timer+3f/70>
Trace; c011773a <bh_action+1a/50>
Trace; c0117659 <tasklet_hi_action+59/80>
Trace; c011743a <do_softirq+5a/b0>
Trace; c01082ed <do_IRQ+9d/b0>
Trace; c0106ee0 <ret_from_intr+0/7>
Trace; c0106f48 <error_code+34/3c>
Trace; c0129e5a <rmqueue+23a/270>
Trace; c0129fb3 <__alloc_pages+73/280>
Trace; c0129f36 <_alloc_pages+16/20>
Trace; c01203b7 <do_wp_page+157/250>
Trace; c0120acd <handle_mm_fault+8d/c0>
Trace; c0110980 <do_page_fault+0/460>
Trace; c0110ae3 <do_page_fault+163/460>
Trace; c0110980 <do_page_fault+0/460>
Trace; c01391da <permission+2a/30>
Trace; c013a3dc <open_namei+32c/5b0>
Trace; c012ee3d <dentry_open+bd/140>
Trace; c012ed72 <filp_open+52/60>
Trace; c012f16c <filp_close+5c/70>
Trace; c012f1c3 <sys_close+43/60>
Trace; c0106f48 <error_code+34/3c>
Code; c0129942 <__free_pages_ok+22/300>
00000000 <_EIP>:
Code; c0129942 <__free_pages_ok+22/300> <=====
0: 0f 0b ud2a <=====
Code; c0129944 <__free_pages_ok+24/300>
2: 83 c4 0c add $0xc,%esp
Code; c0129947 <__free_pages_ok+27/300>
5: 83 7b 08 00 cmpl $0x0,0x8(%ebx)
Code; c012994b <__free_pages_ok+2b/300>
9: 74 16 je 21 <_EIP+0x21> c0129963 <__free_pages_ok+43/300>
Code; c012994d <__free_pages_ok+2d/300>
b: 6a 4b push $0x4b
Code; c012994f <__free_pages_ok+2f/300>
d: 68 40 a4 20 c0 push $0xc020a440
Code; c0129954 <__free_pages_ok+34/300>
12: 68 4c 00 00 00 push $0x4c

invalid operand: 0000
CPU: 0
EIP: 0010:[<c0129e5a>]
EFLAGS: 00010282
eax: 00000020 ebx: 00000002 ecx: 00000001 edx: c0246ea8
esi: c1104dd4 edi: c0248204 ebp: 00000001 esp: c3eeff20
ds: 0018 es: 0018 ss: 0018
Process rc (pid: 41, stackpage=c3eef000)
Stack: c020a34c c020a440 000000cc c02481d4 c0248340 00000001 c3eeffbc 00002d61
00000296 c0248204 00000001 c02481d4 c0129fb3 000000f0 bffff28c 00000000
c3eeffbc 00000000 c024833c 000000f0 c0129f36 c3eee000 c012a1ca c0112d40
Call Trace: [<c0129fb3>] [<c0129f36>] [<c012a1ca>] [<c0112d40>] [<c0105ab4>]
[<c0106e57>]
Code: 0f 0b 83 c4 0c 90 89 f0 eb 1c 47 83 44 24 18 0c 83 ff 09 0f

>>EIP; c0129e5a <rmqueue+23a/270> <=====
Trace; c0129fb3 <__alloc_pages+73/280>
Trace; c0129f36 <_alloc_pages+16/20>
Trace; c012a1ca <__get_free_pages+a/20>
Trace; c0112d40 <do_fork+40/6b0>
Trace; c0105ab4 <sys_fork+14/20>
Trace; c0106e57 <system_call+33/38>
Code; c0129e5a <rmqueue+23a/270>
00000000 <_EIP>:
Code; c0129e5a <rmqueue+23a/270> <=====
0: 0f 0b ud2a <=====
Code; c0129e5c <rmqueue+23c/270>
2: 83 c4 0c add $0xc,%esp
Code; c0129e5f <rmqueue+23f/270>
5: 90 nop
Code; c0129e60 <rmqueue+240/270>
6: 89 f0 mov %esi,%eax
Code; c0129e62 <rmqueue+242/270>
8: eb 1c jmp 26 <_EIP+0x26> c0129e80 <rmqueue+260/270>
Code; c0129e64 <rmqueue+244/270>
a: 47 inc %edi
Code; c0129e65 <rmqueue+245/270>
b: 83 44 24 18 0c addl $0xc,0x18(%esp,1)
Code; c0129e6a <rmqueue+24a/270>
10: 83 ff 09 cmp $0x9,%edi
Code; c0129e6d <rmqueue+24d/270>
13: 0f 00 00 sldt (%eax)

invalid operand: 0000
CPU: 0
EIP: 0010:[<c0129e5a>]
EFLAGS: 00010282
eax: 00000020 ebx: 00000001 ecx: 00000001 edx: c0246ea8
esi: c1104e5c edi: c02481f8 ebp: 00000000 esp: c3fc7e74
ds: 0018 es: 0018 ss: 0018
Process init (pid: 1, stackpage=c3fc7000)
Stack: c020a34c c020a440 000000cc c02481d4 c0248360 00000000 03ce6065 00002d63
00000286 c0248204 00000000 c02481d4 c0129fb3 000000d2 c1102d28 ffffffff
03ce6065 00000001 c024835c 000000d2 c0129f36 40144740 c01203b7 40144740
Call Trace: [<c0129fb3>] [<c0129f36>] [<c01203b7>] [<c0120acd>] [<c0110980>]
[<c0110ae3>] [<c0110980>] [<c01391da>] [<c013a3dc>] [<c012ee3d>] [<c012ed72>]
[<c012f4c0>] [<c0106f48>]
Code: 0f 0b 83 c4 0c 90 89 f0 eb 1c 47 83 44 24 18 0c 83 ff 09 0f

>>EIP; c0129e5a <rmqueue+23a/270> <=====
Trace; c0129fb3 <__alloc_pages+73/280>
Trace; c0129f36 <_alloc_pages+16/20>
Trace; c01203b7 <do_wp_page+157/250>
Trace; c0120acd <handle_mm_fault+8d/c0>
Trace; c0110980 <do_page_fault+0/460>
Trace; c0110ae3 <do_page_fault+163/460>
Trace; c0110980 <do_page_fault+0/460>
Trace; c01391da <permission+2a/30>
Trace; c013a3dc <open_namei+32c/5b0>
Trace; c012ee3d <dentry_open+bd/140>
Trace; c012ed72 <filp_open+52/60>
Trace; c012f4c0 <sys_llseek+c0/d0>
Trace; c0106f48 <error_code+34/3c>
Code; c0129e5a <rmqueue+23a/270>
00000000 <_EIP>:
Code; c0129e5a <rmqueue+23a/270> <=====
0: 0f 0b ud2a <=====
Code; c0129e5c <rmqueue+23c/270>
2: 83 c4 0c add $0xc,%esp
Code; c0129e5f <rmqueue+23f/270>
5: 90 nop
Code; c0129e60 <rmqueue+240/270>
6: 89 f0 mov %esi,%eax
Code; c0129e62 <rmqueue+242/270>
8: eb 1c jmp 26 <_EIP+0x26> c0129e80 <rmqueue+260/270>
Code; c0129e64 <rmqueue+244/270>
a: 47 inc %edi
Code; c0129e65 <rmqueue+245/270>
b: 83 44 24 18 0c addl $0xc,0x18(%esp,1)
Code; c0129e6a <rmqueue+24a/270>
10: 83 ff 09 cmp $0x9,%edi
Code; c0129e6d <rmqueue+24d/270>
13: 0f 00 00 sldt (%eax)

Kernel panic: Attempted to kill init!
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.104 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site