Skip to contentSkip to conversation

es1371 sound problem

DISCUSSION Joaquin Rapela 3 participants 6 messages May 8, 2002 – May 9, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

I am having problems with a sound card. When I play a sound the machine becomes frozen.

sndconfig tells reports an Ensoniq|ES1371 [AudioPCI-97]

After my machine recovers from the frozen stage I read the following in /var/log/messages:

May  7 21:34:58 plato kernel: scsi : aborting command due to timeout : pid 0,

scsi0, channel 0, id 0, lun 0 Write (10) 00 01 05 aa 19 00 00 26 00

I am running RH7.2 with kernel 2.4.7-10

Is this a problem of the kernel or of the sound card driver? How can I get around this problem?

Any help will be greatly appreciated, Joaquin

#1 lore raw
Quoted 5 lines · Joaquin Rapela

Hello,

I am having problems with a sound card. When I play a sound the machine becomes frozen.

Quoted 7 lines

sndconfig tells reports an Ensoniq|ES1371 [AudioPCI-97]

After my machine recovers from the frozen stage I read the following in /var/log/messages:

May  7 21:34:58 plato kernel: scsi : aborting command due to timeout : pid 0,

scsi0, channel 0, id 0, lun 0 Write (10) 00 01 05 aa 19 00 00 26 00

Since the log message is from your SCSI card, it would have been helpful to know what kind of SCSI card you have, and how it and the ES1371 are mapped in terms of interrupts.

It sounds like your SCSI card and your sound card are on the same interrupt, and the SCSI card isn't sharing. Perchance is your SCSI card an ISA card? If so, then you need to tell your computer's BIOS that the SCSI card's interrupt is "Reserved for legacy ISA" so the sound card won't be assigned to that interrupt.

#2 lore raw
In reply to Joaquin Rapela

Dear Kristian,

I am using a scsi adapter ADAPTEC AIC-7896. The scsi is using irq 10 and the sound card irq 11:

[root@plato rapela]# cat /proc/interrupts
CPU0

0:     511053          XT-PIC  timer
1:       1665          XT-PIC  keyboard
2:          0          XT-PIC  cascade
8:          1          XT-PIC  rtc
9:      29691          XT-PIC  eth0
10:     345860          XT-PIC  aic7xxx, aic7xxx
11:        654          XT-PIC  es1371
12:      17839          XT-PIC  PS/2 Mouse
NMI:          0 
ERR:          0

Just for fun I tried "options es1371 irq=5 dma=1" in /etc/modules.conf but I cannot change the irq mapping of es1371.

Quoted 1 line

From what I read from /var/log/messages the frozen state concludes when the

module unloads:

May  8 12:08:39 vpl kernel: ac97_codec: AC97 Audio codec, id: 0x4352:0x5903
(Cirrus Logic CS4297)
May  8 12:09:39 vpl kernel: scsi : aborting command due to timeout : pid 0,
scsi0, channel 0, id 1, lun 0 Read (10) 00 00 ec 53 27 00 00 08 00
May  8 12:10:39 vpl kernel: scsi : aborting command due to timeout : pid 0,
scsi0, channel 0, id 1, lun 0 Write (10) 00 00 00 17 bf 00 00 10 00
May  8 12:10:39 vpl kernel: (scsi0:0:1:0) SCSISIGI 0x4, SEQADDR 0x162, SSTAT0
0x2, SSTAT1 0x3
May  8 12:10:39 vpl kernel: (scsi0:0:1:0) SG_CACHEPTR 0x2, SSTAT2 0x0, STCNT 0x0
May  8 12:10:39 vpl kernel: scsi : aborting command due to timeout : pid 0,
scsi0, channel 0, id 2, lun 0 Write (10) 00 00 2f db ab 00 00 02 00
May  8 12:11:00 vpl kernel: scsi : aborting command due to timeout : pid 0,
scsi0, channel 0, id 1, lun 0 Read (10) 00 00 08 01 d7 00 00 08 00
May  8 12:11:00 vpl kernel: es1371: unloading
May  8 12:11:05 vpl kernel: es1371: version v0.30 time 17:36:47 Sep  6 2001
May  8 12:11:05 vpl kernel: es1371: found chip, vendor id 0x1274 device id

0x1371 revision 0x08

Finally, the sndconfig utility adds the following lines to /etc/modules.conf:

alias sound-slot-0 es1371
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

If you come up with any suggestiong I will greatly appreciate it.

Thanks for your reply, Joaquin

Quoted 18 lines · Kristian Peters
Quoted 7 lines · Joaquin Rapela

sndconfig tells reports an Ensoniq|ES1371 [AudioPCI-97]

After my machine recovers from the frozen stage I read the following in /var/log/messages:

May  7 21:34:58 plato kernel: scsi : aborting command due to timeout : pid 0,

scsi0, channel 0, id 0, lun 0 Write (10) 00 01 05 aa 19 00 00 26 00

It seems that there're Interrupt conflicts with your scsi-controller and your sound card. Please try to add irq=5 (or any other free irq you have) when loading the module oder add "options es1371 irq=5 dma=1" to your modules.conf. That should work.

*Kristian

:... [snd.science] ...:
:: _o)
:: http://www.korseby.net /\\
:: http://gsmp.sf.net _\_V
:.........................:

#3 lore raw
Quoted 2 lines · Joaquin Rapela

Just for fun I tried "options es1371 irq=5 dma=1" in /etc/modules.conf but I cannot change the irq mapping of es1371.

Yes. Seems like that module has not those options.

Quoted 5 lines

From what I read from /var/log/messages the frozen state concludes when the module unloads:

May  8 12:08:39 vpl kernel: ac97_codec: AC97 Audio codec, id: 0x4352:0x5903

(Cirrus Logic CS4297)

^^^^^^^^^^^^^
Maybe you own a Cirrus Logic soundcard instead ?
ac97 reports that your soundcard uses a codec from Cirrus L. See /usr/src/linux/Documentation/sound/cs46xx maybe
It could be possible that your sndconfig from RedHat detects a wrong one..

Quoted 4 lines

post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

These entries only save and restore your mixer settings before/after (un)loading sound-slot-0.
So you can try to modprobe cs46xx or cs4232 for a Cirrus Logic Soundcard - but I suspect that this won't work correctly. Or try to load ac97_codec and ac97 only. Those es1371 soundcards have 2 dsps. ;-) But one should be enough for now.

If your model is not a Creative one try to use ES1370. Try lspci -n for that.
The PCI ID "1274:1371" should indicate that your card is from Creative, the ID "1274:5000" incidates that it is from Ensoniq.

*Kristian

:... [snd.science] ...:
:: _o)
:: http://www.korseby.net /\\
:: http://gsmp.sf.net _\_V
:.........................:

#4 lore raw
In reply to Joaquin Rapela
Quoted 11 lines · David D. Hagood
Quoted 10 lines · Joaquin Rapela

Hello,

I am having problems with a sound card. When I play a sound the machine becomes frozen.

sndconfig tells reports an Ensoniq|ES1371 [AudioPCI-97]

After my machine recovers from the frozen stage I read the following in /var/log/messages:

Quoted 6 lines
Quoted 2 lines
May  7 21:34:58 plato kernel: scsi : aborting command due to timeout : pid 0,

scsi0, channel 0, id 0, lun 0 Write (10) 00 01 05 aa 19 00 00 26 00

Since the log message is from your SCSI card, it would have been helpful to know what kind of SCSI card you have, and how it and the ES1371 are mapped in terms of interrupts.

Dear David,

My scsi is an ADAPTEC AIC-7896 mapped to irq=10, my sound card is an Ensoniq|ES1371 [AudioPCI-97] mapped to irq=11.

Quoted 6 lines

It sounds like your SCSI card and your sound card are on the same interrupt, and the SCSI card isn't sharing. Perchance is your SCSI card an ISA card? If so, then you need to tell your computer's BIOS that the SCSI card's interrupt is "Reserved for legacy ISA" so the sound card won't be assigned to that interrupt.

It seems that my scsi is not ISA. When I set in BIOS irq10 to ISA neither the scsi card or the sound card use irq10.

I am wondering how the scsi could be interfering with the sound card if the two card are using different IRQs.

Thanks for your help, Joaquin

Signature · 12 lines
Joaquin Rapela
PhD Student, Visual Processing Group
University of Southern California
3650 South McClintock Ave.
Olin Hall of Engineering 500
Los Angeles, CA 90089-1451
tel/fax: (213) 821-2070
----------------------------------

"Respectfully keep at your studies constantly, and then you will have results."

                                                                     Confucius
#5 lore raw
In reply to Joaquin Rapela
Quoted 8 lines
Quoted 2 lines
May  8 12:08:39 vpl kernel: ac97_codec: AC97 Audio codec, id: 0x4352:0x5903

(Cirrus Logic CS4297)

^^^^^^^^^^^^^
Maybe you own a Cirrus Logic soundcard instead ?
ac97 reports that your soundcard uses a codec from Cirrus L. See /usr/src/linux/Documentation/sound/cs46xx maybe
It could be possible that your sndconfig from RedHat detects a wrong one..

Unsuccesfully I tried to load cs46xx or cs4232 from sndconfig. qqqqqqqqqqqqqqqqqqqqqqu modprobe error tqqqqqqqqqqqqqqqqqqqqqqk
x x
x The following error occurred running the modprobe program: x
x
x
x /lib/modules/2.4.7-10/kernel/drivers/sound/cs46xx.o:
x
x init_module: No such device
x
x /lib/modules/2.4.7-10/kernel/drivers/sound/cs46xx.o: insmod x x /lib/modules/2.4.7-10/kernel/drivers/sound/cs46xx.o failed x
x /lib/modules/2.4.7-10/kernel/drivers/sound/cs46xx.o: insmod x x sound-slot-0 failed
x

Quoted 4 lines

So you can try to modprobe cs46xx or cs4232 for a Cirrus Logic Soundcard - but I suspect that this won't work correctly. Or try to load ac97_codec and ac97 only. Those es1371 soundcards have 2 dsps. ;-) But one should be enough for now.

If your model is not a Creative one try to use ES1370. Try lspci -n for that.
The PCI ID "1274:1371" should indicate that your card is from Creative, the ID "1274:5000" incidates that it is from Ensoniq.

lspci -n reports a Creative soundcard:

00:0c.0 Class 0401: 1274:1371 (rev 08)

I am cc Thomas Sailer the author of the module.

Thanks for your great comments, Joaco

Quoted 8 lines

*Kristian

:... [snd.science] ...:
:: _o)
:: http://www.korseby.net /\\
:: http://gsmp.sf.net _\_V
:.........................:

Signature · 12 lines
Joaquin Rapela
PhD Student, Visual Processing Group
University of Southern California
3650 South McClintock Ave.
Olin Hall of Engineering 500
Los Angeles, CA 90089-1451
tel/fax: (213) 821-2070
----------------------------------

"Respectfully keep at your studies constantly, and then you will have results."

                                                                     Confucius