All of lore.kernel.org
 help / color / mirror / Atom feed
* cmipci driver locking up linux hard
@ 2006-08-04 23:22 Christoph Lameter
  2006-08-07 12:25 ` Takashi Iwai
  0 siblings, 1 reply; 13+ messages in thread
From: Christoph Lameter @ 2006-08-04 23:22 UTC (permalink / raw)
  To: alsa-devel

I recently bought a cmpci pci card with support for 6 channel surround 
sound. Vendor was PPA Int'l.

I can play music for shorter or longer time period but then it invariably 
locks up. If one tries the surround sound then it locks up very fast. 
Guess some concurrency issue? Run on a P4M800PROC Motherbord with
a Pentium940 (verified that lockup also occurs with single processor).

Tried to enable the nmi_watchdog but it also could not revive linux.

How do I debug this thing?

christoph@pentium940:/proc/asound$ cat cards
 0 [CMI8738MC6     ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
                      C-Media PCI CMI8738-MC6 (model 55) at 0xe800, irq 201

christoph@pentium940:/proc/asound/card0$ cat cmipci
C-Media PCI CMI8738-MC6 (model 55) at 0xe800, irq 201

00: 02 00 00 00
04: 10 0c 00 00
08: 03 00 09 00
0c: 00 00 00 0a
10: c0 00 00 00
14: 00 00 00 00
18: 00 00 80 0c
1c: 00 00 fe ff
20: 10 40 08 00
24: 00 01 00 04
28: ff ff ff ff
2c: ff ff ff ff
30: 00 00 00 00
34: 00 00 00 00
38: 00 00 00 00
3c: 00 00 00 00

christoph@pentium940:/proc/asound/card0$ cat id
CMI8738MC6



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: cmipci driver locking up linux hard
  2006-08-04 23:22 cmipci driver locking up linux hard Christoph Lameter
@ 2006-08-07 12:25 ` Takashi Iwai
  2006-08-07 16:29   ` Christoph Lameter
  0 siblings, 1 reply; 13+ messages in thread
From: Takashi Iwai @ 2006-08-07 12:25 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: alsa-devel

At Fri, 4 Aug 2006 16:22:56 -0700 (PDT),
Christoph Lameter wrote:
> 
> I recently bought a cmpci pci card with support for 6 channel surround 
> sound. Vendor was PPA Int'l.
> 
> I can play music for shorter or longer time period but then it invariably 
> locks up. If one tries the surround sound then it locks up very fast. 
> Guess some concurrency issue? Run on a P4M800PROC Motherbord with
> a Pentium940 (verified that lockup also occurs with single processor).

Does it happen with 2.6.18rc kernel, too?

There is no big change in the driver and it didn't get much troubles.
One significant fix after 2.6.17 is to disable the support of the
integrated MPU401 interface as default, which may cause lock up at
module loading time.


Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: cmipci driver locking up linux hard
  2006-08-07 12:25 ` Takashi Iwai
@ 2006-08-07 16:29   ` Christoph Lameter
  2006-08-07 18:06     ` Takashi Iwai
  0 siblings, 1 reply; 13+ messages in thread
From: Christoph Lameter @ 2006-08-07 16:29 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Mon, 7 Aug 2006, Takashi Iwai wrote:

> At Fri, 4 Aug 2006 16:22:56 -0700 (PDT),
> Christoph Lameter wrote:
> > 
> > I recently bought a cmpci pci card with support for 6 channel surround 
> > sound. Vendor was PPA Int'l.
> > 
> > I can play music for shorter or longer time period but then it invariably 
> > locks up. If one tries the surround sound then it locks up very fast. 
> > Guess some concurrency issue? Run on a P4M800PROC Motherbord with
> > a Pentium940 (verified that lockup also occurs with single processor).
> 
> Does it happen with 2.6.18rc kernel, too?

Yes. This was reported against 2.6.18-rc3.

 > There is no big change in the driver and it didn't get much troubles.
> One significant fix after 2.6.17 is to disable the support of the
> integrated MPU401 interface as default, which may cause lock up at
> module loading time.

What else could it be? Is there any additional way to get more information 
about the failure?


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

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

* Re: cmipci driver locking up linux hard
  2006-08-07 16:29   ` Christoph Lameter
@ 2006-08-07 18:06     ` Takashi Iwai
  2006-08-07 19:15       ` Christoph Lameter
                         ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Takashi Iwai @ 2006-08-07 18:06 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: alsa-devel

At Mon, 7 Aug 2006 09:29:59 -0700 (PDT),
Christoph Lameter wrote:
> 
> On Mon, 7 Aug 2006, Takashi Iwai wrote:
> 
> > At Fri, 4 Aug 2006 16:22:56 -0700 (PDT),
> > Christoph Lameter wrote:
> > > 
> > > I recently bought a cmpci pci card with support for 6 channel surround 
> > > sound. Vendor was PPA Int'l.
> > > 
> > > I can play music for shorter or longer time period but then it invariably 
> > > locks up. If one tries the surround sound then it locks up very fast. 
> > > Guess some concurrency issue? Run on a P4M800PROC Motherbord with
> > > a Pentium940 (verified that lockup also occurs with single processor).
> > 
> > Does it happen with 2.6.18rc kernel, too?
> 
> Yes. This was reported against 2.6.18-rc3.

:-<

Did you set CONFIG_SND_DEBUG=y, just to be sure?

>  > There is no big change in the driver and it didn't get much troubles.
> > One significant fix after 2.6.17 is to disable the support of the
> > integrated MPU401 interface as default, which may cause lock up at
> > module loading time.
> 
> What else could it be? Is there any additional way to get more information 
> about the failure?

I have also no clue what's broken since the driver is fairly simple
and the interrupt handler looks OK.  You can try to disable some
unnecessary features like midi and opl3 stuff, such as below, to
eliminate the possible causes.

Also, you can still try the old OSS cmpci driver...


Takashi

diff -r c02c4dc749e7 pci/cmipci.c
--- a/pci/cmipci.c	Sat Aug 05 13:48:40 2006 +0200
+++ b/pci/cmipci.c	Mon Aug 07 20:02:53 2006 +0200
@@ -2825,7 +2825,7 @@ static int __devinit snd_cmipci_create(s
 		.dev_free =	snd_cmipci_dev_free,
 	};
 	unsigned int val = 0;
-	long iomidi;
+	long iomidi = 0;
 	int integrated_midi;
 	int pcm_index, pcm_spdif_index;
 	static struct pci_device_id intel_82437vx[] = {
@@ -2931,6 +2931,7 @@ static int __devinit snd_cmipci_create(s
 		return err;
 	}
 
+#if 0
 	integrated_midi = snd_cmipci_read_b(cm, CM_REG_MPU_PCI) != 0xff;
 	if (integrated_midi && mpu_port[dev] == 1)
 		iomidi = cm->iobase + CM_REG_MPU_PCI;
@@ -2953,6 +2954,7 @@ static int __devinit snd_cmipci_create(s
 
 	if ((err = snd_cmipci_create_fm(cm, fm_port[dev])) < 0)
 		return err;
+#endif
 
 	/* reset mixer */
 	snd_cmipci_mixer_write(cm, 0, 0);

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

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

* Re: cmipci driver locking up linux hard
  2006-08-07 18:06     ` Takashi Iwai
@ 2006-08-07 19:15       ` Christoph Lameter
  2006-08-07 19:53       ` Christoph Lameter
  2006-08-07 20:23       ` Christoph Lameter
  2 siblings, 0 replies; 13+ messages in thread
From: Christoph Lameter @ 2006-08-07 19:15 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Mon, 7 Aug 2006, Takashi Iwai wrote:

> > Yes. This was reported against 2.6.18-rc3.
> 
> :-<
> 
> Did you set CONFIG_SND_DEBUG=y, just to be sure?

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_DETECT=y
# CONFIG_SND_PCM_XRUN_DEBUG is not set


> Also, you can still try the old OSS cmpci driver...

I have tried older version for the VIA8237/ALC655 issue but not for this 
one yet. I bought a USB audio stick for $20. That works but no surround 
sound. sighn. Will try the patch and report back.


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

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

* Re: cmipci driver locking up linux hard
  2006-08-07 18:06     ` Takashi Iwai
  2006-08-07 19:15       ` Christoph Lameter
@ 2006-08-07 19:53       ` Christoph Lameter
  2006-08-07 19:58         ` Takashi Iwai
  2006-08-07 20:23       ` Christoph Lameter
  2 siblings, 1 reply; 13+ messages in thread
From: Christoph Lameter @ 2006-08-07 19:53 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Mon, 7 Aug 2006, Takashi Iwai wrote:

> diff -r c02c4dc749e7 pci/cmipci.c
> --- a/pci/cmipci.c	Sat Aug 05 13:48:40 2006 +0200
> +++ b/pci/cmipci.c	Mon Aug 07 20:02:53 2006 +0200
> @@ -2825,7 +2825,7 @@ static int __devinit snd_cmipci_create(s
>  		.dev_free =	snd_cmipci_dev_free,
>  	};
>  	unsigned int val = 0;
> -	long iomidi;
> +	long iomidi = 0;
>  	int integrated_midi;
>  	int pcm_index, pcm_spdif_index;
>  	static struct pci_device_id intel_82437vx[] = {
> @@ -2931,6 +2931,7 @@ static int __devinit snd_cmipci_create(s
>  		return err;
>  	}
>  
> +#if 0
>  	integrated_midi = snd_cmipci_read_b(cm, CM_REG_MPU_PCI) != 0xff;
>  	if (integrated_midi && mpu_port[dev] == 1)
>  		iomidi = cm->iobase + CM_REG_MPU_PCI;
> @@ -2953,6 +2954,7 @@ static int __devinit snd_cmipci_create(s
>  
>  	if ((err = snd_cmipci_create_fm(cm, fm_port[dev])) < 0)
>  		return err;
> +#endif
>  
>  	/* reset mixer */
>  	snd_cmipci_mixer_write(cm, 0, 0);
> 

Tried the patch and it looked up on the first gnome sound. Rebooted again 
and now its okay just occasionally doing gnome beeps (same as before). 
Will lockup if I play an mp3.


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

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

* Re: cmipci driver locking up linux hard
  2006-08-07 19:53       ` Christoph Lameter
@ 2006-08-07 19:58         ` Takashi Iwai
  2006-08-07 20:03           ` Christoph Lameter
  0 siblings, 1 reply; 13+ messages in thread
From: Takashi Iwai @ 2006-08-07 19:58 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: alsa-devel

At Mon, 7 Aug 2006 12:53:47 -0700 (PDT),
Christoph Lameter wrote:
> 
> On Mon, 7 Aug 2006, Takashi Iwai wrote:
> 
> > diff -r c02c4dc749e7 pci/cmipci.c
> > --- a/pci/cmipci.c	Sat Aug 05 13:48:40 2006 +0200
> > +++ b/pci/cmipci.c	Mon Aug 07 20:02:53 2006 +0200
> > @@ -2825,7 +2825,7 @@ static int __devinit snd_cmipci_create(s
> >  		.dev_free =	snd_cmipci_dev_free,
> >  	};
> >  	unsigned int val = 0;
> > -	long iomidi;
> > +	long iomidi = 0;
> >  	int integrated_midi;
> >  	int pcm_index, pcm_spdif_index;
> >  	static struct pci_device_id intel_82437vx[] = {
> > @@ -2931,6 +2931,7 @@ static int __devinit snd_cmipci_create(s
> >  		return err;
> >  	}
> >  
> > +#if 0
> >  	integrated_midi = snd_cmipci_read_b(cm, CM_REG_MPU_PCI) != 0xff;
> >  	if (integrated_midi && mpu_port[dev] == 1)
> >  		iomidi = cm->iobase + CM_REG_MPU_PCI;
> > @@ -2953,6 +2954,7 @@ static int __devinit snd_cmipci_create(s
> >  
> >  	if ((err = snd_cmipci_create_fm(cm, fm_port[dev])) < 0)
> >  		return err;
> > +#endif
> >  
> >  	/* reset mixer */
> >  	snd_cmipci_mixer_write(cm, 0, 0);
> > 
> 
> Tried the patch and it looked up on the first gnome sound. Rebooted again 
> and now its okay just occasionally doing gnome beeps (same as before). 
> Will lockup if I play an mp3.

Hm, it sounds really odd. 

I'm afraid that the problem might lie rahter on the VIA controller
side.  Which devices are sharing the same irq line?


Takashi

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

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

* Re: cmipci driver locking up linux hard
  2006-08-07 19:58         ` Takashi Iwai
@ 2006-08-07 20:03           ` Christoph Lameter
  0 siblings, 0 replies; 13+ messages in thread
From: Christoph Lameter @ 2006-08-07 20:03 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Mon, 7 Aug 2006, Takashi Iwai wrote:

> > Will lockup if I play an mp3.
> 
> Hm, it sounds really odd. 
> 
> I'm afraid that the problem might lie rahter on the VIA controller
> side.  Which devices are sharing the same irq line?

pentium940:/usr/src/linux-2.6# cat /proc/interrupts
           CPU0       CPU1
  0:     757651     740334    IO-APIC-edge  timer
  1:         10          3    IO-APIC-edge  i8042
  9:          0          0   IO-APIC-level  acpi
 14:       4974       3633    IO-APIC-edge  ide0
 15:       6542       6659    IO-APIC-edge  ide1
185:       4494          0   IO-APIC-level  eth0
201:       2291       2450   IO-APIC-level  uhci_hcd:usb1, uhci_hcd:usb2, 
uhci_h cd:usb3, uhci_hcd:usb4, ehci_hcd:usb5
209:         45        122   IO-APIC-level  CMI8738-MC6
NMI:    1497891    1497799
LOC:    1497738    1497765



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

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

* Re: cmipci driver locking up linux hard
  2006-08-07 18:06     ` Takashi Iwai
  2006-08-07 19:15       ` Christoph Lameter
  2006-08-07 19:53       ` Christoph Lameter
@ 2006-08-07 20:23       ` Christoph Lameter
  2006-08-08  9:30         ` Takashi Iwai
  2 siblings, 1 reply; 13+ messages in thread
From: Christoph Lameter @ 2006-08-07 20:23 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

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?

Index: linux-2.6/sound/oss/Kconfig
===================================================================
--- linux-2.6.orig/sound/oss/Kconfig	2006-08-07 13:12:48.000000000 -0700
+++ linux-2.6/sound/oss/Kconfig	2006-08-07 13:13:38.000000000 -0700
@@ -479,6 +479,12 @@
 
 	  This driver is also available as a module and will be called aci.
 
+config SOUND_CMPCI
+	tristate "CMPCI Sound"
+	depends on SOUND_OSS
+	help
+		CMPCI sound
+
 config SOUND_CS4232
 	tristate "Crystal CS4232 based (PnP) cards"
 	depends on SOUND_OSS

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

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

* Re: cmipci driver locking up linux hard
  2006-08-07 20:23       ` Christoph Lameter
@ 2006-08-08  9:30         ` Takashi Iwai
  2006-08-09  0:14           ` Christoph Lameter
  0 siblings, 1 reply; 13+ messages in thread
From: Takashi Iwai @ 2006-08-08  9:30 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: alsa-devel

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

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

* Re: cmipci driver locking up linux hard
  2006-08-08  9:30         ` Takashi Iwai
@ 2006-08-09  0:14           ` Christoph Lameter
  2006-08-09  0:20             ` Christoph Lameter
  2006-08-09 16:09             ` Takashi Iwai
  0 siblings, 2 replies; 13+ messages in thread
From: Christoph Lameter @ 2006-08-09  0:14 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, 8 Aug 2006, Takashi Iwai wrote:

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

Ok. Output was

XXXX cmpci STAT=0x800000c1 INT=0xa010000

Was not able to use the system with this.
 
> 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.

Did that at the same time as adding the printk part. Will now take out the 
printk to see if it still works.


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

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

* Re: cmipci driver locking up linux hard
  2006-08-09  0:14           ` Christoph Lameter
@ 2006-08-09  0:20             ` Christoph Lameter
  2006-08-09 16:09             ` Takashi Iwai
  1 sibling, 0 replies; 13+ messages in thread
From: Christoph Lameter @ 2006-08-09  0:20 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, 8 Aug 2006, Christoph Lameter wrote:

> Did that at the same time as adding the printk part. Will now take out the 
> printk to see if it still works.

System hangs on X startup. All screens are grey (background) and I hear a 
murmuring sound from the speakers. wirr wirr wirr. The murmuring sound 
continues until I reset the system.

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

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

* Re: cmipci driver locking up linux hard
  2006-08-09  0:14           ` Christoph Lameter
  2006-08-09  0:20             ` Christoph Lameter
@ 2006-08-09 16:09             ` Takashi Iwai
  1 sibling, 0 replies; 13+ messages in thread
From: Takashi Iwai @ 2006-08-09 16:09 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: alsa-devel

At Tue, 8 Aug 2006 17:14:52 -0700 (PDT),
Christoph Lameter wrote:
> 
> On Tue, 8 Aug 2006, Takashi Iwai wrote:
> 
> > 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?
> 
> Ok. Output was
> 
> XXXX cmpci STAT=0x800000c1 INT=0xa010000
> 
> Was not able to use the system with this.

Hm, the bits look OK.  Only PCM channel 0 issues irq.
Puzzling...

I'm afraid that it's not in the driver code but some hardware
confliction or hardware bug.  If so, it's likely specific to your
mobo.

Do you have any chance to try this c-media card on another machine?


Takashi

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

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

end of thread, other threads:[~2006-08-09 16:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-04 23:22 cmipci driver locking up linux hard Christoph Lameter
2006-08-07 12:25 ` Takashi Iwai
2006-08-07 16:29   ` Christoph Lameter
2006-08-07 18:06     ` Takashi Iwai
2006-08-07 19:15       ` Christoph Lameter
2006-08-07 19:53       ` Christoph Lameter
2006-08-07 19:58         ` Takashi Iwai
2006-08-07 20:03           ` Christoph Lameter
2006-08-07 20:23       ` Christoph Lameter
2006-08-08  9:30         ` Takashi Iwai
2006-08-09  0:14           ` Christoph Lameter
2006-08-09  0:20             ` Christoph Lameter
2006-08-09 16:09             ` 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.