Skip to contentSkip to conversation

kernel 2.6.29 rc6 no working rme multiface 1

LAD Dmitry Baikov 3 participants 12 messages Mar 2, 2009 – Mar 5, 2009 2 messages not in the archive Sound

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

---------- Forwarded message ----------
From: Dmitry Baikov <[email protected]>
Date: Mon, Mar 2, 2009 at 5:49 AM
Subject: Re: [LAD] kernel 2.6.29 rc6 no working rme multiface 1
To: "[email protected]" <[email protected]>
Cc: The Linux Audio Developers' Mailing List <[email protected]>

Quoted 16 lines · On Mon, Mar 2, 2009 at 4:59 AM, [email protected] <[email protected]> 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 multiface 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 alsa-tools 1.0.19.

Quoted 6 lines

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

The latest arch kernel gives oops, if the card is inserted before booting. 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).

Dmitry.

#3 lore raw

At Mon, 2 Mar 2009 06:59:35 +0300,

Quoted 32 lines · Dmitry Baikov

---------- Forwarded message ----------
From: Dmitry Baikov <[email protected]>
Date: Mon, Mar 2, 2009 at 5:49 AM
Subject: Re: [LAD] kernel 2.6.29 rc6 no working rme multiface 1
To: "[email protected]" <[email protected]>
Cc: The Linux Audio Developers' Mailing List <[email protected]>

Quoted 21 lines · On Mon, Mar 2, 2009 at 4:59 AM, [email protected] <[email protected]> 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 multiface 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 alsa-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

Quoted 7 lines
Quoted 1 line

the new kernel produce errors. kernel module snd_hdsp is already loaded 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?

git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Also the problem might be rather the cardbus side...

Quoted 5 lines

The latest arch kernel gives oops, if the card is inserted before booting. 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.

thanks,

Takashi

#4 lore raw
Quoted 37 lines · Takashi Iwai

At Mon, 2 Mar 2009 06:59:35 +0300,

Quoted 35 lines · Dmitry Baikov

---------- Forwarded message ----------
From: Dmitry Baikov <[email protected]>
Date: Mon, Mar 2, 2009 at 5:49 AM
Subject: Re: [LAD] kernel 2.6.29 rc6 no working rme multiface 1
To: "[email protected]" <[email protected]>
Cc: The Linux Audio Developers' Mailing List <[email protected]>

Quoted 22 lines · On Mon, Mar 2, 2009 at 4:59 AM, [email protected] <[email protected]> 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 multiface 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 alsa-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 loaded with the new kernel.

Quoted 8 lines
Quoted 4 lines

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?

  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Does not oops.
But the card does not work either.

Quoted 1 line

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

Quoted 8 lines
Quoted 6 lines

The latest arch kernel gives oops, if the card is inserted before booting. 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):

-- top of the screen --
resched_task
try_to_wake_up
ata_scsi_translate
enqueue_task_fair
enqueue_task
resched_task
try_to_wake_up
error_exit
native_apic_mem_write
snd_hdsp_midi_input_read+0x140/0x170
uhci_scan_schedule
_spin_unlock
hdsp_midi_tasklet+0x39/0x40
tasklet_hi_action
__do_softirq
call_softirq

do_softirq+0x4d/0x90
irq_exit+0xa5/0xb0
do_IRQ+0xc5/0x110
ret_from_intr+0x0/0x29
<EOI> datagram_poll+0x0/0xf0
mwait_idle+0x3c/0x50

cpu_idle + 0x65/0xd0
--- end trace ---

Quite meditative to type :)

Dmitry.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#5 lore raw

At Tue, 3 Mar 2009 01:54:14 +0300,

Quoted 46 lines · Dmitry Baikov
Quoted 44 lines · Takashi Iwai

At Mon, 2 Mar 2009 06:59:35 +0300,

Quoted 32 lines · Dmitry Baikov

---------- Forwarded message ----------
From: Dmitry Baikov <[email protected]>
Date: Mon, Mar 2, 2009 at 5:49 AM
Subject: Re: [LAD] kernel 2.6.29 rc6 no working rme multiface 1
To: "[email protected]" <[email protected]>
Cc: The Linux Audio Developers' Mailing List <[email protected]>

Quoted 21 lines · On Mon, Mar 2, 2009 at 4:59 AM, [email protected] <[email protected]> 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 multiface 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 alsa-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

Quoted 7 lines
Quoted 1 line

the new kernel produce errors. kernel module snd_hdsp is already loaded 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?

Quoted 8 lines
Quoted 1 line

  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Does not oops.
But the card does not work either.

Quoted 1 line

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

That explains. A PCI-board is often problematic...

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

The latest arch kernel gives oops, if the card is inserted before booting. 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).

Quoted 5 lines
Quoted 1 line

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

---

sound/pci/rme9652/hdsp.c +3 -0
index dc65fe1..314e735 100644
@@ -3740,6 +3740,9 @@ static irqreturn_t snd_hdsp_interrupt(int irq, void *dev_id)
 	midi0status = hdsp_read (hdsp, HDSP_midiStatusIn0) & 0xff;
 	midi1status = 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].substream);
#6 lore raw
Quoted 66 lines · Takashi Iwai

At Tue, 3 Mar 2009 01:54:14 +0300,

Quoted 46 lines · Dmitry Baikov
Quoted 44 lines · Takashi Iwai

At Mon, 2 Mar 2009 06:59:35 +0300,

Quoted 32 lines · Dmitry Baikov

---------- Forwarded message ----------
From: Dmitry Baikov <[email protected]>
Date: Mon, Mar 2, 2009 at 5:49 AM
Subject: Re: [LAD] kernel 2.6.29 rc6 no working rme multiface 1
To: "[email protected]" <[email protected]>
Cc: The Linux Audio Developers' Mailing List <[email protected]>

Quoted 21 lines · On Mon, Mar 2, 2009 at 4:59 AM, [email protected] <[email protected]> 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 multiface 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 alsa-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

Quoted 7 lines
Quoted 1 line

the new kernel produce errors. kernel module snd_hdsp is already loaded 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?

Quoted 8 lines
Quoted 1 line

  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Does not oops.
But the card does not work either.

Quoted 1 line

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

That explains.  A PCI-board is often problematic...

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

The latest arch kernel gives oops, if the card is inserted before booting. 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).

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

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?

Yes.
2.6.28-ARCH + your patch fixes oops.
Cards still does not work though.

If I additionally apply Tim's patch, I get (coldplugged) NULL pointer dereference at 0000000000000140

IP: snd_hdsp_interrupt + 0x9c/0x220

Trace:

handle_IRQ_event
handle_fasteoi_irq
do_IRQ
ret_from_intr
flat_send_IPI_mask
mwait_idle
cpu_idle

Hotplugging just disables the card (as "usual").

Dmitry.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#7 lore raw

At Wed, 4 Mar 2009 05:06:47 +0300,

Quoted 74 lines · Dmitry Baikov
Quoted 72 lines · Takashi Iwai

At Tue, 3 Mar 2009 01:54:14 +0300,

Quoted 46 lines · Dmitry Baikov
Quoted 44 lines · Takashi Iwai

At Mon, 2 Mar 2009 06:59:35 +0300,

Quoted 32 lines · Dmitry Baikov

---------- Forwarded message ----------
From: Dmitry Baikov <[email protected]>
Date: Mon, Mar 2, 2009 at 5:49 AM
Subject: Re: [LAD] kernel 2.6.29 rc6 no working rme multiface 1
To: "[email protected]" <[email protected]>
Cc: The Linux Audio Developers' Mailing List <[email protected]>

Quoted 21 lines · On Mon, Mar 2, 2009 at 4:59 AM, [email protected] <[email protected]> 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 multiface 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 alsa-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

Quoted 7 lines
Quoted 1 line

the new kernel produce errors. kernel module snd_hdsp is already loaded 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?

Quoted 8 lines
Quoted 1 line

  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Does not oops.
But the card does not work either.

Quoted 1 line

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

That explains.  A PCI-board is often problematic...

Quoted 12 lines
Quoted 8 lines
Quoted 6 lines

The latest arch kernel gives oops, if the card is inserted before booting. 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):

Quoted 5 lines
Quoted 2 lines

Looks like an accessing to the uninitialized device. Does the patch below fix?

Yes.
2.6.28-ARCH + your patch fixes oops.
Cards still does not work though.

Of course, it's totally irrelevant :)

Quoted 2 lines

If I additionally apply Tim's patch, I get (coldplugged) NULL pointer dereference at 0000000000000140

What is Tim's patch? Could you attach or give the commit id if it's already in the git tree?

thanks,

Takashi

Quoted 17 lines

IP: snd_hdsp_interrupt + 0x9c/0x220

Trace:

handle_IRQ_event
handle_fasteoi_irq
do_IRQ
ret_from_intr
flat_send_IPI_mask
mwait_idle
cpu_idle

Hotplugging just disables the card (as "usual").

Dmitry.

#8 lore raw
Quoted 82 lines · Takashi Iwai

At Wed, 4 Mar 2009 05:06:47 +0300,

Quoted 74 lines · Dmitry Baikov
Quoted 72 lines · Takashi Iwai

At Tue, 3 Mar 2009 01:54:14 +0300,

Quoted 46 lines · Dmitry Baikov
Quoted 44 lines · Takashi Iwai

At Mon, 2 Mar 2009 06:59:35 +0300,

Quoted 32 lines · Dmitry Baikov

---------- Forwarded message ----------
From: Dmitry Baikov <[email protected]>
Date: Mon, Mar 2, 2009 at 5:49 AM
Subject: Re: [LAD] kernel 2.6.29 rc6 no working rme multiface 1
To: "[email protected]" <[email protected]>
Cc: The Linux Audio Developers' Mailing List <[email protected]>

Quoted 21 lines · On Mon, Mar 2, 2009 at 4:59 AM, [email protected] <[email protected]> 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 multiface 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 alsa-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

Quoted 7 lines
Quoted 1 line

the new kernel produce errors. kernel module snd_hdsp is already loaded 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?

Quoted 8 lines
Quoted 1 line

  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Does not oops.
But the card does not work either.

Quoted 1 line

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

That explains.  A PCI-board is often problematic...

Quoted 12 lines
Quoted 8 lines
Quoted 6 lines

The latest arch kernel gives oops, if the card is inserted before booting. 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):

Quoted 5 lines
Quoted 2 lines

Looks like an accessing to the uninitialized device. Does the patch below fix?

Yes.
2.6.28-ARCH + your patch fixes oops.
Cards still does not work though.

Quoted 7 lines

Of course, it's totally irrelevant :)

Quoted 2 lines

If I additionally apply Tim's patch, I get (coldplugged) NULL pointer dereference at 0000000000000140

What is Tim's patch?  Could you attach or give the commit id if it's already in the git tree?

Here it goes:

Quoted 3 lines
Quoted 1 line

http://article.gmane.org/gmane.linux.alsa.devel/60411

looks like a good patch to me. i hope it gets pushed into ALSA soon.

takashi applied it to the sound-2.6 git repository:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=e588ed8304f76cbb396ee85e657a58990298a675

Regards,
Dmitry.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#9 lore raw

At Wed, 4 Mar 2009 21:22:29 +0300,

Quoted 8 lines · Dmitry Baikov
Quoted 7 lines
Quoted 4 lines

If I additionally apply Tim's patch, I get (coldplugged) NULL pointer dereference at 0000000000000140

What is Tim's patch?  Could you attach or give the commit id if it's already in the git tree?

Quoted 8 lines

Here it goes:

Quoted 3 lines
Quoted 1 line

http://article.gmane.org/gmane.linux.alsa.devel/60411

looks like a good patch to me. i hope it gets pushed into ALSA soon.

takashi applied it to the sound-2.6 git repository:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=e588ed8304f76cbb396ee85e657a58990298a675

Weird. It's just adds more check in snd_hdsp_load_firmware_from_cache(), but has nothing to do with the interrupt handling.

Takashi

#10 lore raw
Quoted 14 lines · Takashi Iwai

At Wed, 4 Mar 2009 21:22:29 +0300,

Quoted 12 lines · Dmitry Baikov
Quoted 7 lines
Quoted 4 lines

If I additionally apply Tim's patch, I get (coldplugged) NULL pointer dereference at 0000000000000140

What is Tim's patch? Could you attach or give the commit id if it's already in the git tree?

Here it goes:

Quoted 2 lines
Quoted 1 line

http://article.gmane.org/gmane.linux.alsa.devel/60411

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

looks like a good patch to me. i hope it gets pushed into ALSA soon.

takashi applied it to the sound-2.6 git repository:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=e588ed8304f76cbb396ee85e657a58990298a675

Weird. It's just adds more check in snd_hdsp_load_firmware_from_cache(), but has nothing to do with the interrupt handling.

I checked kernel with your patch only, and with Tim's patch added. I did it twice, every time building from scratch.

Btw, with 2.6.24 the card does not work also, it's can't load firmware. This all started after upgrade. I now have Asus P5Q board (Intel P45 chipset). I think I should test the card in another 2 PCI slots.

Dmitry.

#11 lore raw
In reply to Takashi Iwai

Takashi,

Quoted 4 lines
Quoted 2 lines

takashi applied it to the sound-2.6 git repository:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=e588ed8304f76cbb396ee85e657a58990298a675

Weird. It's just adds more check in snd_hdsp_load_firmware_from_cache(), but has nothing to do with the interrupt handling.

That patch just deals with the problems introduced with the new power managment in 2.6.28 - the cardbus slot seems to be powered up later so the card isn't initialized yet when the driver is loaded.

Flo

Signature · 2 lines
Machines can do the work, so people have time to think.
public key 6C002249          x-hkp://wwwkeys.eu.pgp.net
#12 lore raw

At Thu, 05 Mar 2009 10:13:32 +0100,

Quoted 11 lines · Florian Faber

Takashi,

Quoted 4 lines
Quoted 2 lines

takashi applied it to the sound-2.6 git repository:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=e588ed8304f76cbb396ee85e657a58990298a675

Weird. It's just adds more check in snd_hdsp_load_firmware_from_cache(), but has nothing to do with the interrupt handling.

That patch just deals with the problems introduced with the new power managment in 2.6.28 - the cardbus slot seems to be powered up later so the card isn't initialized yet when the driver is loaded.

Hmm, but how the bug comes up in the interrupt context after patching?

thanks,

Takashi

#13 lore raw
Quoted 1 line · Takashi Iwai

Hmm, but how the bug comes up in the interrupt context after patching?

Sorry, getlemen
my bad.

I'd better checked sources twice.
I took -F option of patch not as serious, as it deserves, and it messed interrupt handler.
After manual patching, everything looks nice and does not oops anymore.

Dmitry.