All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: SIS7012 works but get's frozen
       [not found] <BAY2-F34S5C74a24LnK000028d9@hotmail.com>
@ 2003-07-22 16:47 ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2003-07-22 16:47 UTC (permalink / raw)
  To: Lisandro Pin; +Cc: alsa-devel

At Tue, 22 Jul 2003 16:43:16 +0000,
Lisandro Pin wrote:
> 
> > >    I also have a ECS K7S5A, and i experienced something funny while 
> >trying
> > > to play the attached file (about 45k, sorry, it's the only way :). It's 
> >an
> > > old ICQ soundclip i wanted to use to warn me of new mail, so i hope i'm 
> >not
> > > breaking any laws here; but the thing is that trying to play it directly
> > > through ALSA freezes it about 1/2 of the clip. No errors on aplay (or 
> >any
> > > other player for that sake), just a seg fault. The interesting part is 
> >that
> > > using a wrapper like arts or esd the file plays just fine.
> >
> >could you elaborate the status "freeze"?
> >does machine still respond?  or a kernel panic?
> >if it's a kernel oops, please trace it via ksymoops program.
> 
>   No, just the program. aplay segfaults at about half the clip and XMMS 
> simply halts and needs to be killed (again, no error message). The machine 
> keeps on going but ALSA is mute until the "offending" program ends.

hmm, segfaults is evil.  can you get aplay in gdb running?
you might need to set LD_PRELOAD=/usr/lib/libasound.so.2 to load the
plugins before starting gdb.

> 
> >
> > >   PS: Is PCM volume planned to be implemented for the 
> >SIS7012/snd-intel8x0
> > > driver in any fashion? The driver sounds great and it's the only thing
> > > lacking...
> >
> >check which ac97 chip is found.  if it's a CMI chip, there is no PCM
> >volume control indeed.
> 
>   Nup, a SiS one.

really?  please show /proc/asound/card0/ac97#0 and
/proc/asound/card0/ac97#0regs ?


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

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

* Re: SIS7012 works but get's frozen
  2003-07-23  1:55 Lisandro Pin
@ 2003-07-23  8:25 ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2003-07-23  8:25 UTC (permalink / raw)
  To: Lisandro Pin; +Cc: alsa-devel

At Wed, 23 Jul 2003 01:55:35 +0000,
Lisandro Pin wrote:
> 
> >From: Takashi Iwai <tiwai@suse.de>
> >To: "Lisandro Pin" <lisandro@hotmail.com>
> >CC: alsa-devel@lists.sourceforge.net
> >Subject: Re: [Alsa-devel] SIS7012 works but get's frozen
> >Date: Tue, 22 Jul 2003 18:47:25 +0200
> >
> >At Tue, 22 Jul 2003 16:43:16 +0000,
> >Lisandro Pin wrote:
> > >
> > > > >    I also have a ECS K7S5A, and i experienced something funny while
> > > >trying
> > > > > to play the attached file (about 45k, sorry, it's the only way :). 
> >It's
> > > >an
> > > > > old ICQ soundclip i wanted to use to warn me of new mail, so i hope 
> >i'm
> > > >not
> > > > > breaking any laws here; but the thing is that trying to play it 
> >directly
> > > > > through ALSA freezes it about 1/2 of the clip. No errors on aplay 
> >(or
> > > >any
> > > > > other player for that sake), just a seg fault. The interesting part 
> >is
> > > >that
> > > > > using a wrapper like arts or esd the file plays just fine.
> > > >
> > > >could you elaborate the status "freeze"?
> > > >does machine still respond?  or a kernel panic?
> > > >if it's a kernel oops, please trace it via ksymoops program.
> > >
> > >   No, just the program. aplay segfaults at about half the clip and XMMS
> > > simply halts and needs to be killed (again, no error message). The 
> >machine
> > > keeps on going but ALSA is mute until the "offending" program ends.
> >
> >hmm, segfaults is evil.  can you get aplay in gdb running?
> >you might need to set LD_PRELOAD=/usr/lib/libasound.so.2 to load the
> >plugins before starting gdb.
> 
> (gdb) run ~/newmail.wav
> The program being debugged has been started already.
> Start it from the beginning? (y or n) y
> 
> Starting program: /usr/bin/aplay ~/newmail.wav
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...[New Thread 
> 16384 (LWP 30679)]
> 
> Playing WAVE '/home/lys/newmail.wav' : Signed 16 bit Little Endian, Rate 
> 44100 Hz, Mono
> (no debugging symbols found)...(no debugging symbols found)...
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 30679)]
> 0x4fb68445 in snd_pcm_route_convert1_one () from /usr/lib/libasound.so.2
> 
>    Pretty useless. Could you give me some indications on how to do a quick 
> make of aplay with the symbols table loaded?

make sure that you installed the non-stripped library and exec files.
if not, specify the location of the original binaries (usually hidden
under .libs directory).  don't forget to set LD_PRELOAD.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

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

* Re: SIS7012 works but get's frozen
@ 2003-07-23  1:55 Lisandro Pin
  2003-07-23  8:25 ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Lisandro Pin @ 2003-07-23  1:55 UTC (permalink / raw)
  To: alsa-devel

>From: Takashi Iwai <tiwai@suse.de>
>To: "Lisandro Pin" <lisandro@hotmail.com>
>CC: alsa-devel@lists.sourceforge.net
>Subject: Re: [Alsa-devel] SIS7012 works but get's frozen
>Date: Tue, 22 Jul 2003 18:47:25 +0200
>
>At Tue, 22 Jul 2003 16:43:16 +0000,
>Lisandro Pin wrote:
> >
> > > >    I also have a ECS K7S5A, and i experienced something funny while
> > >trying
> > > > to play the attached file (about 45k, sorry, it's the only way :). 
>It's
> > >an
> > > > old ICQ soundclip i wanted to use to warn me of new mail, so i hope 
>i'm
> > >not
> > > > breaking any laws here; but the thing is that trying to play it 
>directly
> > > > through ALSA freezes it about 1/2 of the clip. No errors on aplay 
>(or
> > >any
> > > > other player for that sake), just a seg fault. The interesting part 
>is
> > >that
> > > > using a wrapper like arts or esd the file plays just fine.
> > >
> > >could you elaborate the status "freeze"?
> > >does machine still respond?  or a kernel panic?
> > >if it's a kernel oops, please trace it via ksymoops program.
> >
> >   No, just the program. aplay segfaults at about half the clip and XMMS
> > simply halts and needs to be killed (again, no error message). The 
>machine
> > keeps on going but ALSA is mute until the "offending" program ends.
>
>hmm, segfaults is evil.  can you get aplay in gdb running?
>you might need to set LD_PRELOAD=/usr/lib/libasound.so.2 to load the
>plugins before starting gdb.

(gdb) run ~/newmail.wav
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /usr/bin/aplay ~/newmail.wav
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 
16384 (LWP 30679)]

Playing WAVE '/home/lys/newmail.wav' : Signed 16 bit Little Endian, Rate 
44100 Hz, Mono
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 30679)]
0x4fb68445 in snd_pcm_route_convert1_one () from /usr/lib/libasound.so.2

   Pretty useless. Could you give me some indications on how to do a quick 
make of aplay with the symbols table loaded?

> > > >   PS: Is PCM volume planned to be implemented for the
> > >SIS7012/snd-intel8x0
> > > > driver in any fashion? The driver sounds great and it's the only 
>thing
> > > > lacking...
> > >
> > >check which ac97 chip is found.  if it's a CMI chip, there is no PCM
> > >volume control indeed.
> >
> >   Nup, a SiS one.
>
>really?  please show /proc/asound/card0/ac97#0 and
>/proc/asound/card0/ac97#0regs ?

  "0-0/0: C-Media Electronics CMI9738". You were right; it lists as 
"SiS7012" in /proc/pci. My bad!

  Lys.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

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

* Re: SIS7012 works but get's frozen
  2003-07-21 14:35   ` Takashi Iwai
@ 2003-07-21 16:19     ` David B Harris
  0 siblings, 0 replies; 9+ messages in thread
From: David B Harris @ 2003-07-21 16:19 UTC (permalink / raw)
  To: alsa-devel

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

(Please note that I'm subscribed to the list, thus personal copies need
not be sent to me.)

On Mon, 21 Jul 2003 16:35:11 +0200
Takashi Iwai <tiwai@suse.de> wrote:
> > Playing MPEG stream from Don MacLean - American Pie.mp3 ...
> > MPEG 1.0 layer III, 192 kbit/s, 44100 Hz stereo
> > ALSA lib pcm_params.c:2096:(snd_pcm_hw_refine_slave) Slave PCM not usable
> > ALSA snd_pcm_hw_params_any error: Invalid argument
> 
> did you run snddevices script to make /dev/snd/* files static?

Yes. :)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: SIS7012 works but get's frozen
  2003-07-19 10:25 ` David B Harris
@ 2003-07-21 14:35   ` Takashi Iwai
  2003-07-21 16:19     ` David B Harris
  0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2003-07-21 14:35 UTC (permalink / raw)
  To: David B Harris; +Cc: alsa-devel

At Sat, 19 Jul 2003 06:25:42 -0400,
David B Harris wrote:
> 
> [1  <text/plain; US-ASCII (7bit)>]
> On 18 Jul 2003 18:47:17 -0400
> "P.I.Julius" <julius@solutions-i.org> wrote:
> > Hi all ALSA developers
> > 
> > I have a sis7012 sound card with my new laptop SonyVaio PCG-GRT100 but
> > the sound is not working. I tried out with the kernel i810_audio modul,
> > with the OpenSounSystem, and with the alsa too, but with every driver my
> > sound card is not working. The modules are loaded, and i can change the
> > volume with aumix, but if i try to play a sound file, just the first
> > second gets played, and then my box gets frozen.
> > 
> > Please help, i really want to hear more then 1 second from a mp3 file :)
> > Thanks a lot
> > Julius
> 
> I'd like to "me too" this particular report; I use the on-board audio of
> the ECS K7S5A motherboard, and 0.9.5 doesn't seem to be particularily
> happy with it. Here are some error messages:
> 
> [ david@willow: ~/music/ ]$ xmms
> ALSA lib pcm_params.c:2096:(snd_pcm_hw_refine_slave) Slave PCM not usable
> [ david@willow: ~/music/ ]$ mpg321 -o alsa Don\ MacLean\ -\ American\ Pie.mp3 
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
> Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
> Uses code from various people. See 'README' for more!
> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> 
> Playing MPEG stream from Don MacLean - American Pie.mp3 ...
> MPEG 1.0 layer III, 192 kbit/s, 44100 Hz stereo
> ALSA lib pcm_params.c:2096:(snd_pcm_hw_refine_slave) Slave PCM not usable
> ALSA snd_pcm_hw_params_any error: Invalid argument

did you run snddevices script to make /dev/snd/* files static?


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

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

* Re: SIS7012 works but get's frozen
  2003-07-18 22:47 P.I.Julius
  2003-07-19 10:25 ` David B Harris
@ 2003-07-21 14:34 ` Takashi Iwai
  1 sibling, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2003-07-21 14:34 UTC (permalink / raw)
  To: P.I.Julius; +Cc: alsa-devel

At 18 Jul 2003 18:47:17 -0400,
P.I.Julius <julius@solutions-i.org> wrote:
> 
> Hi all ALSA developers
> 
> I have a sis7012 sound card with my new laptop SonyVaio PCG-GRT100 but
> the sound is not working. I tried out with the kernel i810_audio modul,
> with the OpenSounSystem, and with the alsa too, but with every driver my
> sound card is not working. The modules are loaded, and i can change the
> volume with aumix, but if i try to play a sound file, just the first
> second gets played, and then my box gets frozen.

what kernel are you using?
this might be related with ACPI irq routing...


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

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

* Re: SIS7012 works but get's frozen
  2003-07-18 22:47 P.I.Julius
@ 2003-07-19 10:25 ` David B Harris
  2003-07-21 14:35   ` Takashi Iwai
  2003-07-21 14:34 ` Takashi Iwai
  1 sibling, 1 reply; 9+ messages in thread
From: David B Harris @ 2003-07-19 10:25 UTC (permalink / raw)
  To: alsa-devel

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

On 18 Jul 2003 18:47:17 -0400
"P.I.Julius" <julius@solutions-i.org> wrote:
> Hi all ALSA developers
> 
> I have a sis7012 sound card with my new laptop SonyVaio PCG-GRT100 but
> the sound is not working. I tried out with the kernel i810_audio modul,
> with the OpenSounSystem, and with the alsa too, but with every driver my
> sound card is not working. The modules are loaded, and i can change the
> volume with aumix, but if i try to play a sound file, just the first
> second gets played, and then my box gets frozen.
> 
> Please help, i really want to hear more then 1 second from a mp3 file :)
> Thanks a lot
> Julius

I'd like to "me too" this particular report; I use the on-board audio of
the ECS K7S5A motherboard, and 0.9.5 doesn't seem to be particularily
happy with it. Here are some error messages:

[ david@willow: ~/music/ ]$ xmms
ALSA lib pcm_params.c:2096:(snd_pcm_hw_refine_slave) Slave PCM not usable
[ david@willow: ~/music/ ]$ mpg321 -o alsa Don\ MacLean\ -\ American\ Pie.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

Playing MPEG stream from Don MacLean - American Pie.mp3 ...
MPEG 1.0 layer III, 192 kbit/s, 44100 Hz stereo
ALSA lib pcm_params.c:2096:(snd_pcm_hw_refine_slave) Slave PCM not usable
ALSA snd_pcm_hw_params_any error: Invalid argument
libao - OSS cannot set channels to 2
Can't find a suitable libao driver. (Is device in use?)
[ david@willow: ~/music/ ]$ 
[ david@willow: ~/music/ ]$ esd -tcp -public -nobeeps -as 2
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 44.1Khz, stereo, 16bit failed
Trying 44.1Khz, 8bit stereo.
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 44.1Khz, stereo, 8bit failed
Trying 48Khz, 16bit stereo.
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 48Khz, stereo,16bit failed
Trying 22.05Khz, 8bit stereo.
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 22.05Khz, stereo, 8bit failed
Trying 44.1Khz, 16bit mono.
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 44.1Khz, mono, 8bit failed
Trying 22.05Khz, 8bit mono.
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 22.05Khz, mono, 8bit failed
Trying 11.025Khz, 8bit stereo.
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 11.025Khz, stereo, 8bit failed
Trying 11.025Khz, 8bit mono.
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 11.025Khz, mono, 8bit failed
Trying 8.192Khz, 8bit mono.
SNDCTL_DSP_SETFMT: Invalid argument
Audio device open for 8.192Khz, mono, 8bit failed
Trying 8Khz, 8bit mono.
SNDCTL_DSP_SETFMT: Invalid argument
Sound device inadequate for Esound. Fatal.
[ david@willow: ~/music/ ]$ 

Thanks :)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* SIS7012 works but get's frozen
@ 2003-07-18 23:37 P.I.Julius
  0 siblings, 0 replies; 9+ messages in thread
From: P.I.Julius @ 2003-07-18 23:37 UTC (permalink / raw)
  To: linux-kernel

Hi kernel hackers

I have a sis7012 sound card with my new laptop SonyVaio PCG-GRT100 but
the sound is not working. I tried out with the kernel i810_audio modul,
with the OpenSounSystem, and with the alsa too, but with every driver my
sound card is not working. The modules are loaded, and i can change the
volume with aumix, but if i try to play a sound file, just the first
second gets played, and then my box gets frozen.

Please help, i really want to hear more then 1 second from a mp3 file :)
Thanks a lot
Julius

-- 
:: solutions-i.org :: | your imagination + our solutions


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

* SIS7012 works but get's frozen
@ 2003-07-18 22:47 P.I.Julius
  2003-07-19 10:25 ` David B Harris
  2003-07-21 14:34 ` Takashi Iwai
  0 siblings, 2 replies; 9+ messages in thread
From: P.I.Julius @ 2003-07-18 22:47 UTC (permalink / raw)
  To: alsa-devel

Hi all ALSA developers

I have a sis7012 sound card with my new laptop SonyVaio PCG-GRT100 but
the sound is not working. I tried out with the kernel i810_audio modul,
with the OpenSounSystem, and with the alsa too, but with every driver my
sound card is not working. The modules are loaded, and i can change the
volume with aumix, but if i try to play a sound file, just the first
second gets played, and then my box gets frozen.

Please help, i really want to hear more then 1 second from a mp3 file :)
Thanks a lot
Julius

-- 
:: solutions-i.org :: | your imagination + our solutions



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0

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

end of thread, other threads:[~2003-07-23  8:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BAY2-F34S5C74a24LnK000028d9@hotmail.com>
2003-07-22 16:47 ` SIS7012 works but get's frozen Takashi Iwai
2003-07-23  1:55 Lisandro Pin
2003-07-23  8:25 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2003-07-18 23:37 P.I.Julius
2003-07-18 22:47 P.I.Julius
2003-07-19 10:25 ` David B Harris
2003-07-21 14:35   ` Takashi Iwai
2003-07-21 16:19     ` David B Harris
2003-07-21 14:34 ` Takashi Iwai

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.