All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel oops with snd-intel8x0 driver and Sis7012 chipset
@ 2003-09-12  0:58 Olivier Blin
  2003-09-12  8:52 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Olivier Blin @ 2003-09-12  0:58 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

Hi,

With snd-intel8x0 driver from alsa 0.9.6 and a Sis7012 chipset, some
sound applications cause kernel oops. For example, aplay segfaults
with some files (KDE_Startup.wav) and SDL_OpenAudio() segfaults.

I've joined the following files :
- kernel strace through ksymoops
- /proc/asound/card0/ac97#0
- /proc/asound/card0/ac97#0regs

Regards

-- 
Olivier Blin

[-- Attachment #2: ac97#0 --]
[-- Type: application/octet-stream, Size: 423 bytes --]

0-0/0: Realtek RL5383 rev 6

Capabilities     :
DAC resolution   : 16-bit
ADC resolution   : 16-bit
3D enhancement   : Realtek 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Extended ID      : codec=0 rev=0 AMAP DSA=0
Extended status  :

[-- Attachment #3: ac97#0regs --]
[-- Type: application/octet-stream, Size: 768 bytes --]

0:00 = 5800
0:02 = 0606
0:04 = 8000
0:06 = 801f
0:08 = 0000
0:0a = 0006
0:0c = 801f
0:0e = 801f
0:10 = 0707
0:12 = 0606
0:14 = 9f1f
0:16 = 9f1f
0:18 = 0606
0:1a = 0000
0:1c = 0202
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 0200
0:2a = 0000
0:2c = 0000
0:2e = 0000
0:30 = 0000
0:32 = 0000
0:34 = 0000
0:36 = 0000
0:38 = 0000
0:3a = 0000
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 1199
0:74 = 0000
0:76 = 0000
0:78 = 0000
0:7a = 0000
0:7c = 414c
0:7e = 4326

[-- Attachment #4: oops_snd-intel8x0.bz2 --]
[-- Type: application/octet-stream, Size: 4509 bytes --]

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

* Re: kernel oops with snd-intel8x0 driver and Sis7012 chipset
  2003-09-12  0:58 kernel oops with snd-intel8x0 driver and Sis7012 chipset Olivier Blin
@ 2003-09-12  8:52 ` Takashi Iwai
  2003-09-12 10:46   ` Olivier Blin
  2003-09-14 17:52   ` Olivier Blin
  0 siblings, 2 replies; 4+ messages in thread
From: Takashi Iwai @ 2003-09-12  8:52 UTC (permalink / raw)
  To: Olivier Blin; +Cc: alsa-devel

At Fri, 12 Sep 2003 02:58:15 +0200,
Olivier Blin wrote:
> 
> Hi,
> 
> With snd-intel8x0 driver from alsa 0.9.6 and a Sis7012 chipset, some
> sound applications cause kernel oops. For example, aplay segfaults
> with some files (KDE_Startup.wav) and SDL_OpenAudio() segfaults.

are you sure aplay segfaults with the same oops?

the oops in resample_expand() was known in the ealier 2.6.0-test
kernels when it's build without frame pointer.  but it appears only on
OSS emulation.
also, in the recent version, at least 0.9.6, it no longer appears.

anyway the oops you've seen is not the problem of intel8x0 driver but
in the somewhere core part.

please check whether the compiler is correct (the exactly same
compiler which is used for the kernel), and check the compile option
whether -fomit-frame-pointer is NOT set.
also, trying cvs version is recommended in such a case, since i'm
working only on the latest version, too.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: kernel oops with snd-intel8x0 driver and Sis7012 chipset
  2003-09-12  8:52 ` Takashi Iwai
@ 2003-09-12 10:46   ` Olivier Blin
  2003-09-14 17:52   ` Olivier Blin
  1 sibling, 0 replies; 4+ messages in thread
From: Olivier Blin @ 2003-09-12 10:46 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Fri, 12 Sep 2003 10:52:22 +0200
Takashi Iwai <tiwai@suse.de> wrote:

> are you sure aplay segfaults with the same oops?

Sorry, I haven't checked, I'll tell you in a few hours.

> the oops in resample_expand() was known in the ealier 2.6.0-test
> kernels when it's build without frame pointer.  but it appears only on
> OSS emulation.
> also, in the recent version, at least 0.9.6, it no longer appears.

It is fixed in 2.6.0-test kernels (at least no problem with kernel >=
test4), but not in 2.4.22 pre kernels.

> anyway the oops you've seen is not the problem of intel8x0 driver but
> in the somewhere core part.
> 
> please check whether the compiler is correct (the exactly same
> compiler which is used for the kernel), and check the compile option
> whether -fomit-frame-pointer is NOT set.

I'll check all this

> also, trying cvs version is recommended in such a case, since i'm
> working only on the latest version, too.

ok, i'll stick to cvs from now


-- 
Olivier Blin


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: kernel oops with snd-intel8x0 driver and Sis7012 chipset
  2003-09-12  8:52 ` Takashi Iwai
  2003-09-12 10:46   ` Olivier Blin
@ 2003-09-14 17:52   ` Olivier Blin
  1 sibling, 0 replies; 4+ messages in thread
From: Olivier Blin @ 2003-09-14 17:52 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

> please check whether the compiler is correct (the exactly same
> compiler which is used for the kernel), and check the compile option
> whether -fomit-frame-pointer is NOT set.
> also, trying cvs version is recommended in such a case, since i'm
> working only on the latest version, too.

I now use alsa compiled without  -fomit-frame-pointer and it works
a lot better, thanks for your help.

aplay still segfaults with some files (without kernel oops), I'll try
to track it.

-- 
Olivier Blin


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2003-09-14 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-12  0:58 kernel oops with snd-intel8x0 driver and Sis7012 chipset Olivier Blin
2003-09-12  8:52 ` Takashi Iwai
2003-09-12 10:46   ` Olivier Blin
2003-09-14 17:52   ` Olivier Blin

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.