Re: cmipci driver locking up linux hard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 7 Aug 2006 13:23:02 -0700 (PDT),
Christoph Lameter wrote:
> 
> On Mon, 7 Aug 2006, Takashi Iwai wrote:
> 
> > Also, you can still try the old OSS cmpci driver...
> 
> Well that one is still in the kernel but one cannot enable it
> in menuconfig. I needed the following patch to make it possible
> to enable that module. It was not loaded automatically on bootup so I 
> needed to do a
> 
> modprobe cmpci
> 
> After that I had sound for 2 minutes before the system locked up
> again. Same code base?

Not same but the control part does pretty similar thing.
I also didn't expect much it would work, but who knows.

I still don't get it right whether the problem is in the interrupt
lockup or it hits some hardware things.  The fact that the lockup
happens after playing mp3 sounds like the former, though.

Could you check the values of registers CM_REG_INT_STATUS and
CM_REG_INT_HLDCLR in snd_cmipci_interrupt() by printk?

Also, you can comment out the whole block of if (cm->pcm) { ... }
in snd_cmipci_interrupt().  This will skip the processing of data,
i.e. exclude the possibility in ALSA PCM core part.


Takashi


diff -r c02c4dc749e7 pci/cmipci.c
--- a/pci/cmipci.c	Sat Aug 05 13:48:40 2006 +0200
+++ b/pci/cmipci.c	Tue Aug 08 11:26:47 2006 +0200
@@ -1301,6 +1301,7 @@ static irqreturn_t snd_cmipci_interrupt(
 	
 	/* fastpath out, to ease interrupt sharing */
 	status = snd_cmipci_read(cm, CM_REG_INT_STATUS);
+	printk("XXX cmipci STAT=0x%x, INT=0x%x\n", status, snd_cmipci_read(cm, CM_REG_INT_HLDCLR);
 	if (!(status & CM_INTR))
 		return IRQ_NONE;
 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux