Re: SoundBlaster Live! with kernel 2.5.x

From: Randy.Dunlap (rddunlap@osdl.org)
Date: Tue Apr 15 2003 - 23:58:54 EST


> On Tuesday 15 April 2003 09:49 pm, Robert Love wrote:
>> On Tue, 2003-04-15 at 20:01, Udo Hoerhold wrote:
>> > I've been running Debian woody with 2.4.20 kernel. I'm trying to switch
>> to 2.5. I built 2.5.67 with emu10k driver in the kernel (same as I had
>> with 2.4.20), but I get only a lot of popping sounds from the sound
>> card. I also tried 2.5.50 and 2.5.67-mm3, with the same result. I
>> googled for emu10k and soundblaster with 2.5, but I haven't seen anyone
>> else with the same problem. Does anyone know what this problem is?
>>
>> Not sure. It seems to work fine here.
>>
>> Are you using ALSA or OSS? Best bet is ALSA. You want something like:
>>
>> CONFIG_SND=y
>> CONFIG_SND_SEQUENCER=y
>> CONFIG_SND_OSSEMUL=y
>> CONFIG_SND_MIXER_OSS=y
>> CONFIG_SND_PCM_OSS=y
>> CONFIG_SND_SEQUENCER_OSS=y
>> CONFIG_SND_EMU10K1=y
>>
>> And then do not include any of the OSS stuff.
>>
>> Then a normal audio playback on /dev/audio or whatever should work fine.
>>
>> If not, do you see any errors during boot?
>>
>> Robert Love
>
> I have the exact configuration you have above. The soundcard is detected,
> but I do get one error:
>
> Apr 15 22:17:45 hobbiton kernel: Advanced Linux Sound Architecture Driver
> Version 0.9.2 (Thu Mar 20$
> Apr 15 22:17:45 hobbiton kernel: request_module: failed /sbin/modprobe --
> snd-card-0. error = -16
> Apr 15 22:17:45 hobbiton kernel: PCI: Found IRQ 10 for device 02:0b.0 Apr 15
> 22:17:45 hobbiton kernel: PCI: Sharing IRQ 10 with 00:1f.2
> Apr 15 22:17:45 hobbiton kernel: ALSA device list:
> Apr 15 22:17:45 hobbiton kernel: #0: Sound Blaster Live! (rev.7) at
> 0xdf80, irq 10
>
> I've been ignoring modprobe errors because I know there are some issues with
> 2.5 kernel and modules, and I'm compiling everythiu10k and soundblaster with
2.5, but I haven't seen anyone
>> else with the same problem. Does anyone know what this problem is?
>>
>> Not sure. It seems to work fine here.
>>
>> Are you using ALSA or OSS? Best bet is ALSA. You want something like:
>>
>> CONFIG_SND=y
>> CONFIG_SND_SEQUENCER=y
>> CONFIG_SND_OSSEMUL=y
>> CONFIG_SND_MIXER_OSS=y
>> CONFIG_SND_PCM_OSS=y
>> CONFIG_SND_SEQUENCER_OSS=y
>> CONFIG_SND_EMU10K1=y
>>
>> And then do not include any of the OSS stuff.
>>
>> Then a normal audio playback on /dev/audio or whatever should work fine.
>>
>> If not, do you see any errors during boot?
>>
>> Robert Love
>
> I have the exact configuration you have above. The soundcard is detected,
> but I do get one error:
>
> Apr 15 22:17:45 hobbiton kernel: Advanced Linux Sound Architecture Driver
> Version 0.9.2 (Thu Mar 20$
> Apr 15 22:17:45 hobbiton kernel: request_module: failed /sbin/modprobe --
> snd-card-0. error = -16
> Apr 15 22:17:45 hobbiton kernel: PCI: Found IRQ 10 for device 02:0b.0 Apr 15
> 22:17:45 hobbiton kernel: PCI: Sharing IRQ 10 with 00:1f.2
> Apr 15 22:17:45 hobbiton kernel: ALSA device list:
> Apr 15 22:17:45 hobbiton kernel: #0: Sound Blaster Live! (rev.7) at
> 0xdf80, irq 10
>
> I've been ignoring modprobe errors because I know there are some issues with
> 2.5 kernel and modules, and I'm compiling everything into the kernel. Could
> this be causing a problem, though?

I don't think you need to be ignoring module problems now.

Do you have emu10k1 built as loadable module or in-kernel?

-16 error is saying that the IO region or the IRQ is busy so the
driver can't allocate it.

Is /sbin/modprobe a current version (for 2.5.50++ and recent)?

~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:17 EST