public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* es1371 sound problem
@ 2002-05-08  4:50 Joaquin Rapela
  2002-05-08 12:05 ` David D. Hagood
       [not found] ` <20020508095713.1f661dd1.kristian.peters@korseby.net>
  0 siblings, 2 replies; 6+ messages in thread
From: Joaquin Rapela @ 2002-05-08  4:50 UTC (permalink / raw)
  To: linux-kernel


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


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

* Re: es1371 sound problem
  2002-05-08  4:50 es1371 sound problem Joaquin Rapela
@ 2002-05-08 12:05 ` David D. Hagood
  2002-05-08 21:29   ` Joaquin Rapela
       [not found] ` <20020508095713.1f661dd1.kristian.peters@korseby.net>
  1 sibling, 1 reply; 6+ messages in thread
From: David D. Hagood @ 2002-05-08 12:05 UTC (permalink / raw)
  To: Joaquin Rapela; +Cc: linux-kernel

Joaquin Rapela wrote:
> 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 

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.



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

* Re: es1371 sound problem
       [not found] ` <20020508095713.1f661dd1.kristian.peters@korseby.net>
@ 2002-05-08 21:20   ` Joaquin Rapela
  2002-05-09  7:30     ` Kristian Peters
  0 siblings, 1 reply; 6+ messages in thread
From: Joaquin Rapela @ 2002-05-08 21:20 UTC (permalink / raw)
  To: Kristian Peters; +Cc: linux-kernel

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.

>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

On Wed, May 08, 2002 at 09:57:13AM +0200, Kristian Peters wrote:
> Joaquin Rapela <rapela@usc.edu> wrote:
> > 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
>   :.........................:

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

* Re: es1371 sound problem
  2002-05-08 12:05 ` David D. Hagood
@ 2002-05-08 21:29   ` Joaquin Rapela
  0 siblings, 0 replies; 6+ messages in thread
From: Joaquin Rapela @ 2002-05-08 21:29 UTC (permalink / raw)
  To: David D. Hagood; +Cc: linux-kernel

On Wed, May 08, 2002 at 07:05:26AM -0500, David D. Hagood wrote:
> Joaquin Rapela wrote:
> > 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 
> 
> 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.

> 
> 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

-- 
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

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

* Re: es1371 sound problem
  2002-05-08 21:20   ` Joaquin Rapela
@ 2002-05-09  7:30     ` Kristian Peters
  2002-05-09 15:54       ` Joaquin Rapela
  0 siblings, 1 reply; 6+ messages in thread
From: Kristian Peters @ 2002-05-09  7:30 UTC (permalink / raw)
  To: Joaquin Rapela; +Cc: linux-kernel

Joaquin Rapela <rapela@usc.edu> wrote:
> 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.

> 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..

> 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
  :.........................:

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

* Re: es1371 sound problem
  2002-05-09  7:30     ` Kristian Peters
@ 2002-05-09 15:54       ` Joaquin Rapela
  0 siblings, 0 replies; 6+ messages in thread
From: Joaquin Rapela @ 2002-05-09 15:54 UTC (permalink / raw)
  To: Kristian Peters; +Cc: linux-kernel, sailer, hb9jnx

> > 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 

> 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

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

-- 
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

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

end of thread, other threads:[~2002-05-09 15:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-08  4:50 es1371 sound problem Joaquin Rapela
2002-05-08 12:05 ` David D. Hagood
2002-05-08 21:29   ` Joaquin Rapela
     [not found] ` <20020508095713.1f661dd1.kristian.peters@korseby.net>
2002-05-08 21:20   ` Joaquin Rapela
2002-05-09  7:30     ` Kristian Peters
2002-05-09 15:54       ` Joaquin Rapela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox