All of lore.kernel.org
 help / color / mirror / Atom feed
* Oops on resume, X crashes
@ 2003-10-20  6:42 Gou Zhuang
  0 siblings, 0 replies; 9+ messages in thread
From: Gou Zhuang @ 2003-10-20  6:42 UTC (permalink / raw)
  To: alsa-devel

I'm running kernel 2.4.22 and alsa-0.9.7c on a Dell laptop, the driver used is intel8x0.
At the time of suspend, if the snd-pcm-oss module is in use, then resume will cause X
server to crash and I get an oops in syslog. Suspend/resume has no problem when
snd-pcm-oss is not in use. I have tried 0.9.6, has the same problem.

Below is the decoded oops(using alsa-0.9.7c):

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

Unable to handle kernel paging request at virtual address fffffffc
c0116d70
*pde = 00001063
Oops: 0000
CPU:    0
EIP:    0010:[<c0116d70>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010007
eax: 00000000   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: d7ec2fb0   edi: 00000003   ebp: d5307ee4   esp: d5307ec8
ds: 0018   es: 0018   ss: 0018
Process X (pid: 851, stackpage=d5307000)
Stack: 00000000 00000000 00000001 00000282 d7fc7808 d7fc9eb4 d7fc9ea0 00000000
       d8bee512 d754a000 c021dc06 d7fc7800 c021dd3b d7fc7800 d7fc9ea0 00000003
       00000000 c021de83 d7fc9ea0 c142d2a0 c021dee5 c142d420 c0127e52 c142d2a0
Call Trace:    [<d8bee512>] [<c021dc06>] [<c021dd3b>] [<c021de83>] [<c021dee5>]
  [<c0127e52>] [<c0127f54>] [<c0113a43>] [<c011415c>] [<c0149b39>] [<c010740f>]
Code: 8b 4b fc 8b 01 85 c7 75 19 8b 02 89 d3 89 c2 0f 18 00 39 f3


>>EIP; c0116d70 <__wake_up+30/80>   <=====

>>esi; d7ec2fb0 <_end+17b53f8c/1880603c>
>>ebp; d5307ee4 <_end+14f98ec0/1880603c>
>>esp; d5307ec8 <_end+14f98ea4/1880603c>

Trace; d8bee512 <[snd-intel8x0]snd_intel8x0_resume+12/20>
Trace; c021dc06 <pci_pm_resume_device+26/30>
Trace; c021dd3b <pci_pm_resume_bus+2b/70>
Trace; c021de83 <pci_pm_resume+33/50>
Trace; c021dee5 <pci_pm_callback+45/50>
Trace; c0127e52 <pm_send+72/a0>
Trace; c0127f54 <pm_send_all+74/b0>
Trace; c0113a43 <suspend+e3/120>
Trace; c011415c <do_ioctl+10c/180>
Trace; c0149b39 <sys_ioctl+c9/250>
Trace; c010740f <system_call+33/38>

Code;  c0116d70 <__wake_up+30/80>
00000000 <_EIP>:
Code;  c0116d70 <__wake_up+30/80>   <=====
   0:   8b 4b fc                  mov    0xfffffffc(%ebx),%ecx   <=====
Code;  c0116d73 <__wake_up+33/80>
   3:   8b 01                     mov    (%ecx),%eax
Code;  c0116d75 <__wake_up+35/80>
   5:   85 c7                     test   %eax,%edi
Code;  c0116d77 <__wake_up+37/80>
   7:   75 19                     jne    22 <_EIP+0x22>
Code;  c0116d79 <__wake_up+39/80>
   9:   8b 02                     mov    (%edx),%eax
Code;  c0116d7b <__wake_up+3b/80>
   b:   89 d3                     mov    %edx,%ebx
Code;  c0116d7d <__wake_up+3d/80>
   d:   89 c2                     mov    %eax,%edx
Code;  c0116d7f <__wake_up+3f/80>
   f:   0f 18 00                  prefetchnta (%eax)
Code;  c0116d82 <__wake_up+42/80>
  12:   39 f3                     cmp    %esi,%ebx

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

this is my module list:

Module                  Size  Used by    Not tainted
snd-pcm-oss            39364   1
snd-mixer-oss          13720   1 [snd-pcm-oss]
keybdev                 2112   0 (unused)
mousedev                4404   1
hid                    15624   0 (unused)
input                   3328   0 [keybdev mousedev hid]
uhci                   25968   0 (unused)
usbcore                62624   1 [hid uhci]
snd-intel8x0           19460   2
snd-pcm                61536   0 [snd-pcm-oss snd-intel8x0]
snd-timer              14628   0 [snd-pcm]
snd-ac97-codec         42456   0 [snd-intel8x0]
snd-page-alloc          6484   0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart         3456   0 [snd-intel8x0]
snd-rawmidi            13536   0 [snd-mpu401-uart]
snd-seq-device          4288   0 [snd-rawmidi]
snd                    29956   0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer
snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3588   4 [snd]
3c59x                  27984   1
yenta_socket           10816   0
pcmcia_core            43104   0 [yenta_socket]
nls_cp936             119964   1 (autoclean)
nls_gb2312               448   1 (autoclean)



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Oops on resume, X crashes
@ 2003-10-20  7:48 Gou Zhuang
  2003-10-20 14:48 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Gou Zhuang @ 2003-10-20  7:48 UTC (permalink / raw)
  To: alsa-devel; +Cc: Gou Zhuang

I'm running kernel 2.4.22 and alsa-0.9.7c on a Dell laptop. I have problem on
suspend/resume when alsa modules loaded. I have done a few testings, below is my findings:

If the snd-pcm-oss module is in use(by arts sound server) at the time of suspend, kernel
oops upon resuming and X server crashes. It has no problem when snd-pcm-oss is not in use(
released by arts). 0.9.6 has the same behavior. My sound card is on-board intel8x0.

I searched the mail archive and didn't find any similar cases. Could anybody look into
this problem?

Below is the decoded oops(on kernel 2.4.22 with alsa-0.9.7c loaded):
--------------------------------------------------------------
ksymoops 2.4.9 on i686 2.4.22.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.22/ (default)
     -m /boot/System.map-2.4.22 (specified)

Unable to handle kernel paging request at virtual address fffffffc
c0116d70
*pde = 00001063
Oops: 0000
CPU:    0
EIP:    0010:[<c0116d70>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010007
eax: 00000000   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: d7ec2fb0   edi: 00000003   ebp: d5307ee4   esp: d5307ec8
ds: 0018   es: 0018   ss: 0018
Process X (pid: 851, stackpage=d5307000)
Stack: 00000000 00000000 00000001 00000282 d7fc7808 d7fc9eb4 d7fc9ea0 00000000
       d8bee512 d754a000 c021dc06 d7fc7800 c021dd3b d7fc7800 d7fc9ea0 00000003
       00000000 c021de83 d7fc9ea0 c142d2a0 c021dee5 c142d420 c0127e52 c142d2a0
Call Trace:    [<d8bee512>] [<c021dc06>] [<c021dd3b>] [<c021de83>] [<c021dee5>]
  [<c0127e52>] [<c0127f54>] [<c0113a43>] [<c011415c>] [<c0149b39>] [<c010740f>]
Code: 8b 4b fc 8b 01 85 c7 75 19 8b 02 89 d3 89 c2 0f 18 00 39 f3


>>EIP; c0116d70 <__wake_up+30/80>   <=====

>>esi; d7ec2fb0 <_end+17b53f8c/1880603c>
>>ebp; d5307ee4 <_end+14f98ec0/1880603c>
>>esp; d5307ec8 <_end+14f98ea4/1880603c>

Trace; d8bee512 <[snd-intel8x0]snd_intel8x0_resume+12/20>
Trace; c021dc06 <pci_pm_resume_device+26/30>
Trace; c021dd3b <pci_pm_resume_bus+2b/70>
Trace; c021de83 <pci_pm_resume+33/50>
Trace; c021dee5 <pci_pm_callback+45/50>
Trace; c0127e52 <pm_send+72/a0>
Trace; c0127f54 <pm_send_all+74/b0>
Trace; c0113a43 <suspend+e3/120>
Trace; c011415c <do_ioctl+10c/180>
Trace; c0149b39 <sys_ioctl+c9/250>
Trace; c010740f <system_call+33/38>

Code;  c0116d70 <__wake_up+30/80>
00000000 <_EIP>:
Code;  c0116d70 <__wake_up+30/80>   <=====
   0:   8b 4b fc                  mov    0xfffffffc(%ebx),%ecx   <=====
Code;  c0116d73 <__wake_up+33/80>
   3:   8b 01                     mov    (%ecx),%eax
Code;  c0116d75 <__wake_up+35/80>
   5:   85 c7                     test   %eax,%edi
Code;  c0116d77 <__wake_up+37/80>
   7:   75 19                     jne    22 <_EIP+0x22>
Code;  c0116d79 <__wake_up+39/80>
   9:   8b 02                     mov    (%edx),%eax
Code;  c0116d7b <__wake_up+3b/80>
   b:   89 d3                     mov    %edx,%ebx
Code;  c0116d7d <__wake_up+3d/80>
   d:   89 c2                     mov    %eax,%edx
Code;  c0116d7f <__wake_up+3f/80>
   f:   0f 18 00                  prefetchnta (%eax)
Code;  c0116d82 <__wake_up+42/80>
  12:   39 f3                     cmp    %esi,%ebx

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

This is the list of modules:
Module                  Size  Used by    Not tainted
snd-pcm-oss            39364   1
snd-mixer-oss          13720   1 [snd-pcm-oss]
keybdev                 2112   0 (unused)
mousedev                4404   1
hid                    15624   0 (unused)
input                   3328   0 [keybdev mousedev hid]
uhci                   25968   0 (unused)
usbcore                62624   1 [hid uhci]
snd-intel8x0           19460   2
snd-pcm                61536   0 [snd-pcm-oss snd-intel8x0]
snd-timer              14628   0 [snd-pcm]
snd-ac97-codec         42456   0 [snd-intel8x0]
snd-page-alloc          6484   0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart         3456   0 [snd-intel8x0]
snd-rawmidi            13536   0 [snd-mpu401-uart]
snd-seq-device          4288   0 [snd-rawmidi]
snd                    29956   0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer
snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3588   4 [snd]
3c59x                  27984   1
yenta_socket           10816   0
pcmcia_core            43104   0 [yenta_socket]
nls_cp936             119964   1 (autoclean)
nls_gb2312               448   1 (autoclean)



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com

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

end of thread, other threads:[~2003-10-27  1:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-20  6:42 Oops on resume, X crashes Gou Zhuang
2003-10-20  7:48 Gou Zhuang
2003-10-20 14:48 ` Takashi Iwai
     [not found]   ` <3F94F094.80109@Sun.COM>
2003-10-21 11:29     ` Takashi Iwai
2003-10-23  9:12       ` Gou Zhuang
2003-10-23 18:01         ` Takashi Iwai
2003-10-24  5:45           ` Gou Zhuang
2003-10-24 10:12             ` Takashi Iwai
2003-10-27  1:03               ` Gou Zhuang

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.