Oops with >= 2.4.0-test7 when modprobing gus module

2000-09-09 Thread Guus Sliepen

Hello,

Whenever I modprobe the gus module the kernel gives an oops:

Gravis Ultrasound audio driver Copyright (C) by Hannu Savolainen 1993-1996
 at 0x240 irq 3 dma 1,5
Unable to handle kernel NULL pointer dereference at virtual address


The module is loaded after that, and the soundcard is functioning as it
should. However, the refcount of the module is all wrong and it can't be
removed anymore. The full oops (processed by ksymoops) is attached.

---
Met vriendelijke groet / with kind regards,
  Guus Sliepen <[EMAIL PROTECTED]>
---
See also: http://tinc.nl.linux.org/
  http://www.kernelbench.org/
---


ksymoops 2.3.4 on i586 2.4.0-test8.  Options used
 -V (default)
 -k /proc/ksyms (default)
 -l /proc/modules (default)
 -o /lib/modules/2.4.0-test8/ (default)
 -m /System.map (specified)

Unable to handle kernel NULL pointer dereference at virtual address 
c486321b
*pde = 
Oops: 
CPU:0
EIP:0010:[]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010212
eax:    ebx: c37c64a0   ecx: c486f8b8   edx: 0040
esi: c11f14a0   edi: c36a1240   ebp: c379fee0   esp: c360df4c
ds: 0018   es: 0018   ss: 0018
Process aumix (pid: 95, stackpage=c360d000)
Stack: c012acd8 c36a1240 c37c64a0 c37c64a0  c3688060 0001 c012ae82 
   c37c64a0 c0129ec1 c37c64a0 c3688060 0009  c0117268 c37c64a0 
   c3688060 c11db6c0 c360c000  bd5c c3688180 c01177ea c3688060 
Call Trace: [] [] [] [] [] 
[] [] 
Code: 8b 00 85 c0 74 4d ff 48 10 8b 04 0a 8b 00 80 48 14 08 eb 3f 

>>EIP; c486321b <[sound]sound_release+2b/84>   <=
Trace; c012acd8 <_fput+2c/c0>
Trace; c012ae82 
Trace; c0129ec1 
Trace; c0117268 
Trace; c01177ea 
Trace; c0117e76 
Trace; c0108d63 
Code;  c486321b <[sound]sound_release+2b/84>
 <_EIP>:
Code;  c486321b <[sound]sound_release+2b/84>   <=
   0:   8b 00 mov(%eax),%eax   <=
Code;  c486321d <[sound]sound_release+2d/84>
   2:   85 c0 test   %eax,%eax
Code;  c486321f <[sound]sound_release+2f/84>
   4:   74 4d je 53 <_EIP+0x53> c486326e 
<[sound]sound_release+7e/84>
Code;  c4863221 <[sound]sound_release+31/84>
   6:   ff 48 10  decl   0x10(%eax)
Code;  c4863224 <[sound]sound_release+34/84>
   9:   8b 04 0a  mov(%edx,%ecx,1),%eax
Code;  c4863227 <[sound]sound_release+37/84>
   c:   8b 00 mov(%eax),%eax
Code;  c4863229 <[sound]sound_release+39/84>
   e:   80 48 14 08   orb$0x8,0x14(%eax)
Code;  c486322d <[sound]sound_release+3d/84>
  12:   eb 3f jmp53 <_EIP+0x53> c486326e 
<[sound]sound_release+7e/84>



Oops with = 2.4.0-test7 when modprobing gus module

2000-09-09 Thread Guus Sliepen

Hello,

Whenever I modprobe the gus module the kernel gives an oops:

Gravis Ultrasound audio driver Copyright (C) by Hannu Savolainen 1993-1996
Gravis UltraSound 3.7 (512k) at 0x240 irq 3 dma 1,5
Unable to handle kernel NULL pointer dereference at virtual address


The module is loaded after that, and the soundcard is functioning as it
should. However, the refcount of the module is all wrong and it can't be
removed anymore. The full oops (processed by ksymoops) is attached.

---
Met vriendelijke groet / with kind regards,
  Guus Sliepen [EMAIL PROTECTED]
---
See also: http://tinc.nl.linux.org/
  http://www.kernelbench.org/
---


ksymoops 2.3.4 on i586 2.4.0-test8.  Options used
 -V (default)
 -k /proc/ksyms (default)
 -l /proc/modules (default)
 -o /lib/modules/2.4.0-test8/ (default)
 -m /System.map (specified)

Unable to handle kernel NULL pointer dereference at virtual address 
c486321b
*pde = 
Oops: 
CPU:0
EIP:0010:[c486321b]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010212
eax:    ebx: c37c64a0   ecx: c486f8b8   edx: 0040
esi: c11f14a0   edi: c36a1240   ebp: c379fee0   esp: c360df4c
ds: 0018   es: 0018   ss: 0018
Process aumix (pid: 95, stackpage=c360d000)
Stack: c012acd8 c36a1240 c37c64a0 c37c64a0  c3688060 0001 c012ae82 
   c37c64a0 c0129ec1 c37c64a0 c3688060 0009  c0117268 c37c64a0 
   c3688060 c11db6c0 c360c000  bd5c c3688180 c01177ea c3688060 
Call Trace: [c012acd8] [c012ae82] [c0129ec1] [c0117268] [c01177ea] 
[c0117e76] [c0108d63] 
Code: 8b 00 85 c0 74 4d ff 48 10 8b 04 0a 8b 00 80 48 14 08 eb 3f 

EIP; c486321b [sound]sound_release+2b/84   =
Trace; c012acd8 _fput+2c/c0
Trace; c012ae82 fput+12/18
Trace; c0129ec1 filp_close+51/5c
Trace; c0117268 put_files_struct+54/b8
Trace; c01177ea do_exit+c2/1fc
Trace; c0117e76 sys_exit+e/10
Trace; c0108d63 system_call+33/40
Code;  c486321b [sound]sound_release+2b/84
 _EIP:
Code;  c486321b [sound]sound_release+2b/84   =
   0:   8b 00 mov(%eax),%eax   =
Code;  c486321d [sound]sound_release+2d/84
   2:   85 c0 test   %eax,%eax
Code;  c486321f [sound]sound_release+2f/84
   4:   74 4d je 53 _EIP+0x53 c486326e 
[sound]sound_release+7e/84
Code;  c4863221 [sound]sound_release+31/84
   6:   ff 48 10  decl   0x10(%eax)
Code;  c4863224 [sound]sound_release+34/84
   9:   8b 04 0a  mov(%edx,%ecx,1),%eax
Code;  c4863227 [sound]sound_release+37/84
   c:   8b 00 mov(%eax),%eax
Code;  c4863229 [sound]sound_release+39/84
   e:   80 48 14 08   orb$0x8,0x14(%eax)
Code;  c486322d [sound]sound_release+3d/84
  12:   eb 3f jmp53 _EIP+0x53 c486326e 
[sound]sound_release+7e/84