My bug !

From: Dominique (anamorphose@free.fr)
Date: Sun Jan 30 2000 - 13:32:55 EST


I've found the problem, thanks to all for your answer !
I've compiled the kernel with joy-creative in module
and it's running.
Then :

modprobe joy-creative :

------------------------------------------

js: Joystick driver v1.2.15 (c) 1999 Vojtech Pavlik <vojtech@suse.cz>
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 05d4d000, %cr3 = 05d4d000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<00000000>]
EFLAGS: 00010296
eax: 00000000 ebx: c807d848 ecx: c5d4fe94 edx: c5d4fea0
esi: c5d4feec edi: c5d4feec ebp: 00000000 esp: c5d4fec4
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 694, process nr: 41, stackpage=c5d4f000)
Stack: c807d848 00000001 c807a000 c807d870 c5d4ff0c c5d4fee4 08057000 00000001
       c010efbe c5d4e000 c5d8d8c0 08050000 00000000 00000000 0000020c 00000000
       00000000 00000002 00000000 00000000 00000000 00000000 00000000 00000000
Call Trace: [bttv+132942664/138592256] [bttv+132928256/138592256] [bttv+132942704/138592256] [do_page_fault+278/900] [bttv+132942490/138592256] [bttv+132942278/138592256] [bttv+132940544/138592256]
[sys_init_module+1123/1228] [bttv+132940544/138592256] [bttv+132942704/138592256] [bttv+132928256/138592256] [bttv+132940616/138592256] [system_call+52/56] [bttv+132940544/138592256]
Code: <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 05d4d000, %cr3 = 05d4d000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[show_registers+593/644]
EFLAGS: 00010046
eax: 00000000 ebx: 00000000 ecx: 00000000 edx: c74b6000
esi: 0000002b edi: c5d50000 ebp: c8000000 esp: c5d4fe04
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 694, process nr: 41, stackpage=c5d4f000)
Stack: 00000000 08048000 c022dd8e c5d4feec c5d4feec 00000000 00000000 c807d848
       c5d4fe94 c5d4fea0 00000000 00010296 07ff0000 c8800000 c010a108 c5d4fe88
       c01d9038 c01da70e 00000000 00000000 c010f164 c01da70e c5d4fe88 00000000
Call Trace: [bttv+132942664/138592256] [advansys:driver_template+8067040/191901944] [die+48/56] [error_table+2420/8540] [error_table+8266/8540] [do_page_fault+700/900] [error_table+8266/8540]
[error_code+45/52] [bttv+132942664/138592256] [bttv+132942664/138592256] [bttv+132928256/138592256] [bttv+132942704/138592256] [do_page_fault+278/900] [bttv+132942490/138592256] [bttv+132942278/138592256]
[bttv+132940544/138592256] [sys_init_module+1123/1228] [bttv+132940544/138592256] [bttv+132942704/138592256] [bttv+132928256/138592256] [bttv+132940616/138592256] [system_call+52/56] [bttv+132940544/138592256]
Code: 8a 04 0b 89 44 24 38 50 68 30 90 1d c0 e8 05 9c 00 00 83 c4

---------------------------------------------------

ksymoops (-various-options) < my_oops.txt

---------------------------------------------------
ksymoops 2.3.3 on i686 2.2.14. Options used
     -V (default)
     -k /proc/ksyms (specified)
     -l /proc/modules (specified)
     -o /lib/modules/2.2.14 (specified)
     -m /boot/System.map (specified)

Warning (compare_ksyms_lsmod): module bsd_comp is in lsmod but not in ksyms, probably no symbols exported
Warning (compare_ksyms_lsmod): module bttv is in lsmod but not in ksyms, probably no symbols exported
Warning (compare_ksyms_lsmod): module tuner is in lsmod but not in ksyms, probably no symbols exported
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 05d4d000, %cr3 = 05d4d000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<00000000>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010296
eax: 00000000 ebx: c807d848 ecx: c5d4fe94 edx: c5d4fea0
esi: c5d4feec edi: c5d4feec ebp: 00000000 esp: c5d4fec4
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 694, process nr: 41, stackpage=c5d4f000)
Stack: c807d848 00000001 c807a000 c807d870 c5d4ff0c c5d4fee4 08057000 00000001
       c010efbe c5d4e000 c5d8d8c0 08050000 00000000 00000000 0000020c 00000000
       00000000 00000002 00000000 00000000 00000000 00000000 00000000 00000000
Call Trace: [bttv+132942664/138592256] [bttv+132928256/138592256] [bttv+132942704/138592256] [do_page_fault+278/900] [bttv+132942490/138592256] [bttv+132942278/138592256] [bttv+132940544/138592256]
Code: <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
Warning (Oops_code): trailing garbage ignored on Code: line
  Text: 'Code: <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000 '
  Garbage: 'Unable to handle kernel NULL pointer dereference at virtual address 00000000 '
Warning (Oops_code_values): Code looks like message, not hex digits. No disassembly attempted.

>>EIP; 00000000 Before first symbol

current->tss.cr3 = 05d4d000, %cr3 = 05d4d000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[show_registers+593/644]
EFLAGS: 00010046
eax: 00000000 ebx: 00000000 ecx: 00000000 edx: c74b6000
esi: 0000002b edi: c5d50000 ebp: c8000000 esp: c5d4fe04
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 694, process nr: 41, stackpage=c5d4f000)
Stack: 00000000 08048000 c022dd8e c5d4feec c5d4feec 00000000 00000000 c807d848
       c5d4fe94 c5d4fea0 00000000 00010296 07ff0000 c8800000 c010a108 c5d4fe88
       c01d9038 c01da70e 00000000 00000000 c010f164 c01da70e c5d4fe88 00000000
Call Trace: [bttv+132942664/138592256] [advansys:driver_template+8067040/191901944] [die+48/56] [error_table+2420/8540] [error_table+8266/8540] [do_page_fault+700/900] [error_table+8266/8540]
Code: 8a 04 0b 89 44 24 38 50 68 30 90 1d c0 e8 05 9c 00 00 83 c4

Code; 00000000 Before first symbol
00000000 <_EIP>:
Code; 00000000 Before first symbol
   0: 8a 04 0b movb (%ebx,%ecx,1),%al
Code; 00000003 Before first symbol
   3: 89 44 24 38 movl %eax,0x38(%esp,1)
Code; 00000007 Before first symbol
   7: 50 pushl %eax
Code; 00000008 Before first symbol
   8: 68 30 90 1d c0 pushl $0xc01d9030
Code; 0000000d Before first symbol
   d: e8 05 9c 00 00 call 9c17 <_EIP+0x9c17> 00009c17 Before first symbol
Code; 00000012 Before first symbol
  12: 83 c4 00 addl $0x0,%esp

5 warnings issued. Results may not be reliable.

---------------------------------------

Greetings
Dominique

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:25 EST