All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Huggins <huggie@dial.pipex.com>
To: linux-sound@vger.kernel.org
Subject: Oops in sound module when module unloaded...
Date: Sun, 16 May 1999 11:15:28 +0000	[thread overview]
Message-ID: <marc-linux-sound-92688304708240@msgid-missing> (raw)

Hi,

This happened just now under 2.2.9 but has happened before under 2.2.x
which I *think* was 0 or 1.

It seems to happen if I unload my sound module and then play something.
(I have a script run from cron that plays x sounds at x o'clock.)

Here's the oops:
---
Options used: -V (default)
              -o /lib/modules/2.2.9/ (default)
              -k /proc/ksyms (default)
              -l /proc/modules (default)
              -m /usr/src/linux/System.map (default)
              -c 1 (default)

You did not tell me where to find symbol information.  I will assume
that the log matches the kernel and modules that are running right now
and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Warning in compare_ksyms_lsmod, module sscape is in lsmod but not in ksyms, probably no symbols exported
May 16 12:01:02 pcdsjh kernel: Unable to handle kernel paging request at virtual address c286871c 
May 16 12:01:02 pcdsjh kernel: current->tss.cr3 = 00456000, %cr3 = 00456000 
May 16 12:01:02 pcdsjh kernel: *pde = 00002063 
May 16 12:01:02 pcdsjh kernel: Oops: 0000 
May 16 12:01:02 pcdsjh kernel: CPU:    0 
May 16 12:01:02 pcdsjh kernel: EIP:    0010:[8390:ei_open+-85490/68] 
May 16 12:01:02 pcdsjh kernel: EFLAGS: 00010202 
May 16 12:01:02 pcdsjh kernel: eax: c2868718   ebx: 00000001   ecx: 00000535   edx: c287c718 
May 16 12:01:02 pcdsjh kernel: esi: c2880000   edi: c15e74d8   ebp: 00000000   esp: c1e5be78 
May 16 12:01:02 pcdsjh kernel: ds: 0018   es: 0018   ss: 0018 
May 16 12:01:02 pcdsjh kernel: Process insmod (pid: 3782, process nr: 66, stackpage¡e5b000) 
May 16 12:01:02 pcdsjh kernel: Stack: c15e74d8 c287ba29 c287c718 c2880000 c287b02a 00000000 c286a26c 00000001  
May 16 12:01:02 pcdsjh kernel:        c286a3d8 c286a440 c286a050 00000000 c2880000 00000080 6e756f53 61635364  
May 16 12:01:02 pcdsjh kernel:        28206570 38314441 00293534 00000a87 00000011 c287c744 00000a87 c287c744  
May 16 12:01:02 pcdsjh kernel: Call Trace: [<c287ba29>] [<c287c718>] [<c2880000>] [<c287b02a>] [<c286a26c>] [<c286a3d8>] [<c286a440>]  
May 16 12:01:02 pcdsjh kernel:        [<c286a050>] [<c2880000>] [<c287c744>] [<c287c744>] [<c287ac81>] [<c287c744>] [<c286a26c>] [<c286a3d8>]  
May 16 12:01:02 pcdsjh kernel:        [<c2869ce8>] [<c286a050>] [<c2869000>] [8390:ei_open+-127052/68] [<c2869e82>] [<c286a3d8>] [sys_init_module+1099/1204] [<c2869000>]  
May 16 12:01:02 pcdsjh kernel:        [<c286a4b0>] [<c286a2fe>] [<c2879000>] [<c2869048>] [system_call+52/56] [<c286a360>] [<c2869000>]  
May 16 12:01:02 pcdsjh kernel: Code: 8b 40 04 39 42 04 7e 3f 89 15 e0 e4 83 c2 eb 37 89 f6 c7 05  
Warning: trailing garbage ignored on Code: line
  Text: 'Code: 8b 40 04 39 42 04 7e 3f 89 15 e0 e4 83 c2 eb 37 89 f6 c7 05  '
  Garbage: '  '

Trace: c287ba29 <ad1848_tmr_install+29/38>
Trace: c287c718 <cleanup_module+c3c/????>
Trace: c2880000 <cleanup_module+4524/????>
Trace: c287b02a <ad1848_init+31e/3d4>
Trace: c286a26c <cleanup_module+5340/14120>
Trace: c286a3d8 <cleanup_module+54ac/14120>
Trace: c286a440 <cleanup_module+5514/14120>
Trace: c286a050 <cleanup_module+5124/14120>
Trace: c2869ce8 <cleanup_module+4dbc/14120>
Trace: c286a4b0 <cleanup_module+5584/14120>
Code:  00000000 Before first symbol            00000000 <_IP>: <=Code:  00000000 Before first symbol               0:	8b 40 04       	movl   0x4(%eax),%eax <=Code:  00000003 Before first symbol               3:	39 42 04       	cmpl   %eax,0x4(%edx)
Code:  00000006 Before first symbol               6:	7e 3f          	jle     00000047 Before first symbol
Code:  00000008 Before first symbol               8:	89 15 e0 e4 83 	movl   %edx,0xc283e4e0
Code:  0000000d Before first symbol               d:	c2 
Code:  0000000e Before first symbol               e:	eb 37          	jmp     00000047 Before first symbol
Code:  00000010 Before first symbol              10:	89 f6          	movl   %esi,%esi
Code:  00000012 Before first symbol              12:	c7 05 00 00 00 	movl   $0x0,0x0
Code:  00000017 Before first symbol              17:	00 00 00 00 00 


3 warnings issued.  Results may not be reliable.
---

Output of scripts/ver_linux
---
[huggie@pcdsjh /usr/src/linux]$ sh scripts/ver_linux
-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux pcdsjh.nottingham.ac.uk 2.2.9 #1 Sat May 15 16:40:01 BST 1999 i586
unknown
Kernel modules         2.1.121
Gnu C                  2.8.1
Binutils               2.9.1.0.15
Linux C Library        2.0.7
Dynamic linker         ldd (GNU libc) 2.0.7
Linux C++ Library      2.8.0
Procps                 1.2.9
Mount                  2.9i
Net-tools              1.50
Kbd                    0.96
Sh-utils               1.16
Modules Loaded         sscape ad1848 mpu401 sg aic7xxx scsi_mod cipcb ne
8390 nls_iso8859-1 nls_cp437 vfat fat sound soundcore
---

The module seems to get stuck after that meaning I can't rmmod or
modprobe -r it.
[root@pcdsjh /etc]# modprobe -r sscape
sscape: Device or resource busy

/proc/modules shows:
---
sscape                  5296 (uninitialized)
ad1848                 15288   0 (autoclean) [sscape]
mpu401                 17808   0 (autoclean) [sscape]
sg                     10192   0 (autoclean)
aic7xxx                89096   0
scsi_mod               35496   2 [sg aic7xxx]
cipcb                  24652   4
ne                      6008   2 (autoclean)
8390                    5792   0 (autoclean) [ne]
nls_iso8859-1           2016   1 (autoclean)
nls_cp437               3540   1 (autoclean)
vfat                   11108   1 (autoclean)
fat                    24632   1 (autoclean) [vfat]
sound                  55644   0 [sscape ad1848 mpu401]
soundcore               2148   5 [sound]
---

I don't really understand what all this means. If anyone wants to give
me a patch to try out though, I'm happy to try it.

My soundcard is an Ensoniq Soundscape PnP card which has been working
fine unless I remove the modules it seems.

/dev/sndstat looks like this:
---
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux pcdsjh.nottingham.ac.uk 2.2.9 #1 Sat May 15 16:40:01 BST 1999 i586
Config options: 0

Installed drivers: 

Card config: 

Audio devices:
0: SoundScape (AD1845)

Synth devices:

Midi devices:
0: SoundScape (MPU401)

Timers:
1: SoundScape (AD1845)

Mixers:
---

Hope someone can at least tell me what all this means.

Thanks,

-- 
Simon                           oOoOo  I don't know, Kyle. Did you ask  oOoOo  
huggie@dial.pipex.com            oOoOo  Mr. Hat? - Mr Garrison, South  oOoOo  
http://ds.dial.pipex.com/huggie/  oOoOo             Park              oOoOo 

                 reply	other threads:[~1999-05-16 11:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-sound-92688304708240@msgid-missing \
    --to=huggie@dial.pipex.com \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.