From: Takashi Iwai Subject: Re: cmipci driver locking up linux hard Date: Mon, 07 Aug 2006 21:58:05 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Christoph Lameter Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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