linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.13-ac6: videodev/__release_region oops!
@ 2001-11-05 20:50 Mike Maravillo
  2001-11-06  1:44 ` Keith Owens
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Maravillo @ 2001-11-05 20:50 UTC (permalink / raw)
  To: linux-kernel; +Cc: mike.maravillo

# lsmod
Module                  Size  Used by
tuner                   8368   1  (autoclean)
bttv                   58864   0  (autoclean)
videodev                4672   3  (autoclean) [bttv]
i2c-algo-bit            7008   1  (autoclean) [bttv]
i2c-core               13440   0  (autoclean) [tuner bttv
i2c-algo-bit]
ipchains               31456   0 
ide-scsi                7808   0 
scsi_mod               51744   1  [ide-scsi]
ide-cd                 27248   0 
cdrom                  28192   0  [ide-cd]
nls_iso8859-1           2832   4  (autoclean)
nls_cp437               4352   4  (autoclean)
vfat                    9520   4  (autoclean)
fat                    30592   0  (autoclean) [vfat]
md                     49664   0  (unused)

# lsmod | xargs rmmod
rmmod: module Module is not loaded
rmmod: module Size is not loaded
rmmod: module Used is not loaded
rmmod: module by is not loaded
tuner: Device or resource busy
rmmod: module 8368 is not loaded
rmmod: module 1 is not loaded
rmmod: module (autoclean) is not loaded
xargs: rmmod: terminated by signal 11

Unable to handle kernel paging request at virtual address 80008004
c0118012
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c0118012>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010286
eax: 80008000   ebx: c0002014   ecx: 80008000   edx: 80008000
esi: ec000fff   edi: ec000000   ebp: c5c6d000   esp: c4d3ff50
ds: 0018   es: 0018   ss: 0018
Process rmmod (pid: 1289, stackpage=c4d3f000)
Stack: d0130000 00001000 c1430800 d0129062 c0239ff8 ec000000 00001000 02430800 
       c1430800 d012dae0 00000000 c01b663e c1430800 d0123000 c5c6d000 d012949a 
       d012dae0 c011589e d0123000 c5c6d000 00000000 c0114cfc d0123000 00000000 
Call Trace: [<d0130000>] [<d0129062>] [<d012dae0>] [<c01b663e>] [<d012949a>] 
   [<d012dae0>] [<c011589e>] [<c0114cfc>] [<c0106dd3>] 
Code: 8b 42 04 39 f8 77 f0 8b 4a 08 39 f1 72 e9 83 7a 0c 00 78 05 

>>EIP; c0118012 <__release_region+22/70>   <=====
Trace; d0130000 <[videodev].bss.end+edc1/24e21>
Trace; d0129062 <[videodev].bss.end+7e23/24e21>
Trace; d012dae0 <[videodev].bss.end+c8a1/24e21>
Trace; c01b663e <pci_unregister_driver+2e/50>
Trace; d012949a <[videodev].bss.end+825b/24e21>
Trace; d012dae0 <[videodev].bss.end+c8a1/24e21>
Trace; c011589e <free_module+1e/b0>
Trace; c0114cfc <sys_delete_module+11c/1e0>
Trace; c0106dd3 <system_call+33/40>
Code;  c0118012 <__release_region+22/70>
00000000 <_EIP>:
Code;  c0118012 <__release_region+22/70>   <=====
   0:   8b 42 04                  mov    0x4(%edx),%eax   <=====
Code;  c0118015 <__release_region+25/70>
   3:   39 f8                     cmp    %edi,%eax
Code;  c0118017 <__release_region+27/70>
   5:   77 f0                     ja     fffffff7 <_EIP+0xfffffff7> c0118009 <__release_region+19/70>
Code;  c0118019 <__release_region+29/70>
   7:   8b 4a 08                  mov    0x8(%edx),%ecx
Code;  c011801c <__release_region+2c/70>
   a:   39 f1                     cmp    %esi,%ecx
Code;  c011801e <__release_region+2e/70>
   c:   72 e9                     jb     fffffff7 <_EIP+0xfffffff7> c0118009 <__release_region+19/70>
Code;  c0118020 <__release_region+30/70>
   e:   83 7a 0c 00               cmpl   $0x0,0xc(%edx)
Code;  c0118024 <__release_region+34/70>
  12:   78 05                     js     19 <_EIP+0x19> c011802b <__release_region+3b/70>

-- 
 .--.  Michael J. Maravillo                   office://+63.2.894.3592/
( () ) Q Linux Solutions, Inc.              mobile://+63.917.897.0919/
 `--\\ A Philippine Open Source Solutions Co.  http://www.q-linux.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.13-ac6: videodev/__release_region oops!
  2001-11-05 20:50 2.4.13-ac6: videodev/__release_region oops! Mike Maravillo
@ 2001-11-06  1:44 ` Keith Owens
  2001-11-06  4:31   ` Mike Maravillo
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Owens @ 2001-11-06  1:44 UTC (permalink / raw)
  To: Mike Maravillo; +Cc: linux-kernel

On Tue, 6 Nov 2001 04:50:14 +0800, 
Mike Maravillo <mike.maravillo@q-linux.com> wrote:
># lsmod
>Module                  Size  Used by
>tuner                   8368   1  (autoclean)
>bttv                   58864   0  (autoclean)
>videodev                4672   3  (autoclean) [bttv]
>
># lsmod | xargs rmmod
>rmmod: module Module is not loaded
>rmmod: module Size is not loaded
>rmmod: module Used is not loaded
>rmmod: module by is not loaded
>tuner: Device or resource busy
>rmmod: module 8368 is not loaded
>rmmod: module 1 is not loaded
>rmmod: module (autoclean) is not loaded
>xargs: rmmod: terminated by signal 11
>
>Unable to handle kernel paging request at virtual address 80008004
>c0118012
>*pde = 00000000
>Oops: 0000
>CPU:    0
>EIP:    0010:[<c0118012>]    Not tainted
>Using defaults from ksymoops -t elf32-i386 -a i386
>EFLAGS: 00010286
>eax: 80008000   ebx: c0002014   ecx: 80008000   edx: 80008000
>esi: ec000fff   edi: ec000000   ebp: c5c6d000   esp: c4d3ff50
>ds: 0018   es: 0018   ss: 0018
>Process rmmod (pid: 1289, stackpage=c4d3f000)
>Stack: d0130000 00001000 c1430800 d0129062 c0239ff8 ec000000 00001000 02430800 
>       c1430800 d012dae0 00000000 c01b663e c1430800 d0123000 c5c6d000 d012949a 
>       d012dae0 c011589e d0123000 c5c6d000 00000000 c0114cfc d0123000 00000000 
>Call Trace: [<d0130000>] [<d0129062>] [<d012dae0>] [<c01b663e>] [<d012949a>] 
>   [<d012dae0>] [<c011589e>] [<c0114cfc>] [<c0106dd3>] 
>Code: 8b 42 04 39 f8 77 f0 8b 4a 08 39 f1 72 e9 83 7a 0c 00 78 05 
>
>>>EIP; c0118012 <__release_region+22/70>   <=====
>Trace; d0130000 <[videodev].bss.end+edc1/24e21>
>Trace; d0129062 <[videodev].bss.end+7e23/24e21>
>Trace; d012dae0 <[videodev].bss.end+c8a1/24e21>

It is actually failing in rmmod bttv, not rmmod videodev.  videodev
shows up in the ksymoops decode because the bttv symbols have been
removed by the time the oops occurred.  You need the values of
/proc/ksyms and /proc/modules from _before_ rmmod bttv was issued.  man
insmod and read the section "KSYMOOPS ASSISTANCE", in particular
/var/log/ksymoops.  Once you have /var/log/ksymoops setup, reproduce
the bug using

 lsmod | awk '{print $1}' | xargs -l1 -t rmmod

When it fails, tell ksymoops to use the saved ksyms and modules in
/var/log/ksymoops from just before rmmod bttv.  modules.xxx should
contain bttv and videodev but not tuner.

Send the clean decode to l-k, not to me.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.13-ac6: videodev/__release_region oops!
  2001-11-06  1:44 ` Keith Owens
@ 2001-11-06  4:31   ` Mike Maravillo
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Maravillo @ 2001-11-06  4:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: mike.maravillo

Thanks for the pointers Keith!  Here's my second shot at it...

ksymoops 2.4.1 on i586 2.4.13-ac6.  Options used
     -V (default)
     -k /var/log/ksymoops/20011106121445.ksyms (specified)
     -l /var/log/ksymoops/20011106121445.modules (specified)
     -o /lib/modules/2.4.13-ac6/ (default)
     -m /boot/System.map-2.4.13-ac6 (default)

Warning (compare_maps): mismatch on symbol proc_scsi  , scsi_mod says d00fc9e4, /lib/modules/2.4.13-ac6/kernel/drivers/scsi/scsi_mod.o says d00fc448.  Ignoring /lib/modules/2.4.13-ac6/kernel/drivers/scsi/scsi_mod.o entry
Warning (compare_maps): mismatch on symbol scsi_devicelist  , scsi_mod says d00fca10, /lib/modules/2.4.13-ac6/kernel/drivers/scsi/scsi_mod.o says d00fc474.  Ignoring /lib/modules/2.4.13-ac6/kernel/drivers/scsi/scsi_mod.o entry
Warning (compare_maps): mismatch on symbol scsi_hostlist  , scsi_mod says d00fca0c, /lib/modules/2.4.13-ac6/kernel/drivers/scsi/scsi_mod.o says d00fc470.  Ignoring /lib/modules/2.4.13-ac6/kernel/drivers/scsi/scsi_mod.o entry
Warning (compare_maps): mismatch on symbol scsi_hosts  , scsi_mod says d00fca14, /lib/modules/2.4.13-ac6/kernel/drivers/scsi/scsi_mod.o says d00fc478.  Ignoring /lib/modules/2.4.13-ac6/kernel/drivers/scsi/scsi_mod.o entry
Warning (compare_maps): mismatch on symbol md_size  , md says d001a8e0, /lib/modules/2.4.13-ac6/kernel/drivers/md/md.o says d001a700.  Ignoring /lib/modules/2.4.13-ac6/kernel/drivers/md/md.o entry
Warning (compare_maps): mismatch on symbol mddev_map  , md says d001a0e0, /lib/modules/2.4.13-ac6/kernel/drivers/md/md.o says d0019f00.  Ignoring /lib/modules/2.4.13-ac6/kernel/drivers/md/md.o entry
Unable to handle kernel paging request at virtual address 05c80741
c0118012
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<c0118012>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: 09b20b27   ebx: c0002014   ecx: 105e11e6   edx: 05c8073d
esi: ec000fff   edi: ec000000   ebp: cb98f000   esp: cb6f5f50
ds: 0018   es: 0018   ss: 0018
Process rmmod (pid: 1129, stackpage=cb6f5000)
Stack: d0130000 00001000 c1430800 d0129062 c0239ff8 ec000000 00001000 02430800 
       c1430800 d012dae0 00000000 c01b663e c1430800 d0123000 cb98f000 d012949a 
       d012dae0 c011589e d0123000 cb98f000 00000000 c0114cfc d0123000 00000000 
Call Trace: [<d0130000>] [<d0129062>] [<d012dae0>] [<c01b663e>] [<d012949a>] 
   [<d012dae0>] [<c011589e>] [<c0114cfc>] [<c0106dd3>] 
Code: 8b 42 04 39 f8 77 f0 8b 4a 08 39 f1 72 e9 83 7a 0c 00 78 05 

>>EIP; c0118012 <__release_region+22/70>   <=====
Trace; d0130000 <[bttv]__ksymtab_bttv_write_gpio+0/8>
Trace; d0129062 <[bttv]bttv_remove+1e2/210>
Trace; d012dae0 <[bttv]bttv_pci_driver+0/40>
Trace; c01b663e <pci_unregister_driver+2e/50>
Trace; d012949a <[bttv]cleanup_module+a/10>
Trace; d012dae0 <[bttv]bttv_pci_driver+0/40>
Trace; c011589e <free_module+1e/b0>
Trace; c0114cfc <sys_delete_module+11c/1e0>
Trace; c0106dd3 <system_call+33/40>
Code;  c0118012 <__release_region+22/70>
00000000 <_EIP>:
Code;  c0118012 <__release_region+22/70>   <=====
   0:   8b 42 04                  mov    0x4(%edx),%eax   <=====
Code;  c0118015 <__release_region+25/70>
   3:   39 f8                     cmp    %edi,%eax
Code;  c0118017 <__release_region+27/70>
   5:   77 f0                     ja     fffffff7 <_EIP+0xfffffff7> c0118009 <__release_region+19/70>
Code;  c0118019 <__release_region+29/70>
   7:   8b 4a 08                  mov    0x8(%edx),%ecx
Code;  c011801c <__release_region+2c/70>
   a:   39 f1                     cmp    %esi,%ecx
Code;  c011801e <__release_region+2e/70>
   c:   72 e9                     jb     fffffff7 <_EIP+0xfffffff7> c0118009 <__release_region+19/70>
Code;  c0118020 <__release_region+30/70>
   e:   83 7a 0c 00               cmpl   $0x0,0xc(%edx)
Code;  c0118024 <__release_region+34/70>
  12:   78 05                     js     19 <_EIP+0x19> c011802b <__release_region+3b/70>


6 warnings issued.  Results may not be reliable.

-- 
 .--.  Michael J. Maravillo                   office://+63.2.894.3592/
( () ) Q Linux Solutions, Inc.              mobile://+63.917.897.0919/
 `--\\ A Philippine Open Source Solutions Co.  http://www.q-linux.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-06  4:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-05 20:50 2.4.13-ac6: videodev/__release_region oops! Mike Maravillo
2001-11-06  1:44 ` Keith Owens
2001-11-06  4:31   ` Mike Maravillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).