From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Fwd: [LAD] kernel 2.6.29 rc6 no working rme multiface 1 Date: Tue, 03 Mar 2009 08:18:10 +0100 Message-ID: References: <20090302025929.64889223@rt-ente> <70a871c80903011849r586443e4h7188747ac01cbaf3@mail.gmail.com> <70a871c80903011959s9e4c94ds62aa0e88b4f2c040@mail.gmail.com> <70a871c80903021454u7e644a56lba1814fec69f1494@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id C3E5B103810 for ; Tue, 3 Mar 2009 08:18:10 +0100 (CET) In-Reply-To: <70a871c80903021454u7e644a56lba1814fec69f1494@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Dmitry Baikov Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 3 Mar 2009 01:54:14 +0300, Dmitry Baikov wrote: > = > On Mon, Mar 2, 2009 at 7:50 PM, Takashi Iwai wrote: > > At Mon, 2 Mar 2009 06:59:35 +0300, > > Dmitry Baikov wrote: > >> > >> ---------- Forwarded message ---------- > >> From: Dmitry Baikov > >> Date: Mon, Mar 2, 2009 at 5:49 AM > >> Subject: Re: [LAD] kernel 2.6.29 rc6 no working rme multiface 1 > >> To: "m.wolkstein@gmx.de" > >> Cc: The Linux Audio Developers' Mailing List > >> > >> > >> > >> On Mon, Mar 2, 2009 at 4:59 AM, m.wolkstein@gmx.de wrote: > >> > hiho, > >> > my name is michael wolkstein and i wrote the first time to this list. > >> > sorry about my english. but i am no english native-speaker. > >> > > >> > after booting kernel 2.6.29 rc6 i get a problem with my rme multifac= e 1 connected true pcmcia cardbusinterface. > >> > > >> > i get this message after insert my card. > >> > RME Hammerfall DSP 0000:16:00.0: enabling device (0000 -> 0002) > >> > RME Hammerfall DSP 0000:16:00.0: PCI INT A -> GSI 16 (level, low) ->= IRQ 16 > >> > Hammerfall-DSP: no Digiface or Multiface connected! > >> > RME Hammerfall DSP 0000:16:00.0: PCI INT A disabled > >> > RME Hammerfall DSP: probe of 0000:16:00.0 failed with error -5 > >> > > >> > i have compile the kernel included alsa module. > >> > also i have installed the newest alsa-firmware 1.0.19 and newest als= a-tools 1.0.19. > >> > > >> > my old kernel 2.6.24 load both firmwares correct. > >> > > >> > the old one 1.0.16 (debian unstable) > >> > and the new 1.0.19 download from the alsa-project page > >> > > >> > the new kernel produce errors. kernel module snd_hdsp is already loa= ded with the new kernel. > >> > >> > >> Have the same problem here. > >> 2.6.24 works, 2.6.28 doesn't (tried 2.6.8-ARCH and 2.6.28.7-1-ARCH). > >> I reported the problem to alsa-devel list, but they said I have hw > >> problems (I think I do not). > > > > Could you check the latest sound git tree to be sure? > > > > =A0 git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git > = > Does not oops. > But the card does not work either. > = > > Also the problem might be rather the cardbus side... > I suspect, too. > Because it works in my laptop. But fails on a desktop with pci-cardbus ad= apter. That explains. A PCI-board is often problematic... > > > >> The latest arch kernel gives oops, if the card is inserted before boot= ing. > >> It crashes during udev event processing (i.e. something from userspace > >> triggers the problem) > >> If anybody is really interested, I can try to provide kernel backtrace > >> (either type it in, or try to use serial console). > > > > Oops is bad, and yes, it'd be helpful if you can show the backtrace. > = > No serial console :( My new M/B have only pin header and no rs232 > jack. Need to find/build an adapter. > So. what I see (without stack addresses and some offsets): Looks like an accessing to the uninitialized device. Does the patch below fix? We should initialize spinlock & co at the very beginning, though... Takashi --- diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index dc65fe1..314e735 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c @@ -3740,6 +3740,9 @@ static irqreturn_t snd_hdsp_interrupt(int irq, void *= dev_id) midi0status =3D hdsp_read (hdsp, HDSP_midiStatusIn0) & 0xff; midi1status =3D hdsp_read (hdsp, HDSP_midiStatusIn1) & 0xff; = + if (!(hdsp->state & HDSP_InitializationComplete)) + return IRQ_HANDLED; + if (audio) { if (hdsp->capture_substream) snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_CAPTURE].sub= stream);