Skip to contentSkip to conversation

SIS7012 works but get's frozen

DISCUSSION Lisandro Pin 2 participants 2 messages Jul 23, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 31 lines

From: Takashi Iwai <[email protected]>
To: "Lisandro Pin" <[email protected]>
CC: [email protected]
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,

Quoted 4 lines · Lisandro Pin
Quoted 4 lines
Quoted 2 lines

I also have a ECS K7S5A, and i experienced something funny while

trying

Quoted 1 line

to play the attached file (about 45k, sorry, it's the only way :).

It's

Quoted 2 lines
Quoted 2 lines

an

Quoted 1 line

old ICQ soundclip i wanted to use to warn me of new mail, so i hope

i'm

Quoted 2 lines
Quoted 2 lines

not

Quoted 1 line

breaking any laws here; but the thing is that trying to play it

directly

Quoted 1 line
Quoted 1 line
Quoted 1 line

through ALSA freezes it about 1/2 of the clip. No errors on aplay

(or

Quoted 2 lines
Quoted 2 lines

any

Quoted 1 line

other player for that sake), just a seg fault. The interesting part

is

Quoted 7 lines
Quoted 6 lines

that

Quoted 1 line

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.

Quoted 8 lines
Quoted 2 lines

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

Quoted 1 line

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?

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line

PS: Is PCM volume planned to be implemented for the

SIS7012/snd-intel8x0

Quoted 1 line

driver in any fashion? The driver sounds great and it's the only

thing

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

lacking...

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

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

#1 lore raw

At Wed, 23 Jul 2003 01:55:35 +0000,

Quoted 57 lines · Lisandro Pin
Quoted 32 lines

From: Takashi Iwai <[email protected]>
To: "Lisandro Pin" <[email protected]>
CC: [email protected]
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,

Quoted 4 lines · Lisandro Pin
Quoted 4 lines
Quoted 2 lines

I also have a ECS K7S5A, and i experienced something funny while

trying

Quoted 1 line

to play the attached file (about 45k, sorry, it's the only way :).

It's

Quoted 2 lines
Quoted 2 lines

an

Quoted 1 line

old ICQ soundclip i wanted to use to warn me of new mail, so i hope

i'm

Quoted 2 lines
Quoted 2 lines

not

Quoted 1 line

breaking any laws here; but the thing is that trying to play it

directly

Quoted 1 line
Quoted 1 line
Quoted 1 line

through ALSA freezes it about 1/2 of the clip. No errors on aplay

(or

Quoted 2 lines
Quoted 2 lines

any

Quoted 1 line

other player for that sake), just a seg fault. The interesting part

is

Quoted 7 lines
Quoted 6 lines

that

Quoted 1 line

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.

Quoted 8 lines
Quoted 2 lines

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

Quoted 1 line

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

Quoted 2 lines

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