* Compiling ALSA with 2.5.7
@ 2002-04-16 14:49 Downing, Thomas
2002-04-16 16:19 ` Joern Nettingsmeier
0 siblings, 1 reply; 5+ messages in thread
From: Downing, Thomas @ 2002-04-16 14:49 UTC (permalink / raw)
To: linux-sound
I am unable to build ALSA for 2.5.7 either as a module or
built in to kernel.
The problem is that ALSA code uses a function virt_to_bus( ).
This is #defined as virt_to_bus_not_defined_use_pci_map( ).
So there is an unresolved external.
The switch from virt_to_bus( ) to pci_map_*( ) is not obvious.
Am I missing something? I think I must be. So , is there
a kernel config option that needs to be set/unset, or is there
a patch I should get?
BTW I tried building 2.5.8, but that failed spectacularly in other
areas not related to ALSA... Hmmmm, I've never had kernel build
problems before, I must be regressing!
thanks
td
^ permalink raw reply [flat|nested] 5+ messages in thread
* Compiling ALSA with 2.5.7
@ 2002-04-16 15:35 Downing, Thomas
2002-04-16 16:00 ` Takashi Iwai
2002-04-16 16:02 ` Alan Cox
0 siblings, 2 replies; 5+ messages in thread
From: Downing, Thomas @ 2002-04-16 15:35 UTC (permalink / raw)
To: linux-kernel
If this is off-topic, my apologies.
I am unable to build ALSA for 2.5.7 on i386. The problem is that
the ALSA code uses a function virt_to_bus( ). This is #defined in
asm/io.h as virt_to_bus_not_defined_use_pci_map( ). So there is
an unresolved external.
The correct replacement of virt_to_bus( ) to pci_map_*( ) is not
obvious to a newbie from a look at pci.h.
Am I missing something? I think I must be. So , is there
a kernel config option that needs to be set/unset, or is there
a patch I should get?
BTW I tried building 2.5.8, but that failed spectacularly in other
areas not related to ALSA... Hmmmm, I've never had kernel build
problems before, I must be regressing!
thanks
td
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compiling ALSA with 2.5.7
2002-04-16 15:35 Compiling ALSA with 2.5.7 Downing, Thomas
@ 2002-04-16 16:00 ` Takashi Iwai
2002-04-16 16:02 ` Alan Cox
1 sibling, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2002-04-16 16:00 UTC (permalink / raw)
To: Downing, Thomas; +Cc: linux-kernel
At Tue, 16 Apr 2002 11:35:17 -0400,
Downing, Thomas <Thomas.Downing@ipc.com> wrote:
>
> If this is off-topic, my apologies.
>
> I am unable to build ALSA for 2.5.7 on i386. The problem is that
> the ALSA code uses a function virt_to_bus( ). This is #defined in
> asm/io.h as virt_to_bus_not_defined_use_pci_map( ). So there is
> an unresolved external.
is include/asm correctly symlinked to asm-i386?
all ALSA drivers (except for rme9652-mem and ppc ones) don't use
virt_to_bus() any more.
Takashi
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compiling ALSA with 2.5.7
2002-04-16 15:35 Compiling ALSA with 2.5.7 Downing, Thomas
2002-04-16 16:00 ` Takashi Iwai
@ 2002-04-16 16:02 ` Alan Cox
1 sibling, 0 replies; 5+ messages in thread
From: Alan Cox @ 2002-04-16 16:02 UTC (permalink / raw)
To: Downing, Thomas; +Cc: linux-kernel
> The correct replacement of virt_to_bus( ) to pci_map_*( ) is not
> obvious to a newbie from a look at pci.h.
Have a look at the DMA-Mapping.txt documentation file. Its not a trivial
replacement but its maybe one to have a go at.
Alan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compiling ALSA with 2.5.7
2002-04-16 14:49 Downing, Thomas
@ 2002-04-16 16:19 ` Joern Nettingsmeier
0 siblings, 0 replies; 5+ messages in thread
From: Joern Nettingsmeier @ 2002-04-16 16:19 UTC (permalink / raw)
To: linux-sound
"Downing, Thomas" wrote:
>
> I am unable to build ALSA for 2.5.7 either as a module or
> built in to kernel.
>
> The problem is that ALSA code uses a function virt_to_bus( ).
> This is #defined as virt_to_bus_not_defined_use_pci_map( ).
> So there is an unresolved external.
>
> The switch from virt_to_bus( ) to pci_map_*( ) is not obvious.
>
> Am I missing something? I think I must be. So , is there
> a kernel config option that needs to be set/unset, or is there
> a patch I should get?
>
> BTW I tried building 2.5.8, but that failed spectacularly in other
> areas not related to ALSA... Hmmmm, I've never had kernel build
> problems before, I must be regressing!
i think while you're at it, you should get a more recent kernel, and
be sure to grab the latest alsa packages (0.9.0beta12 at the time of
this writing).
don't go for 0.5.0, they are totally deprecated, even though the web
site still classifies it as the "stable" version.
2.4.19-pre plus latest alsa compiles fine for me.
if you have further problems with alsa, you should join the alsa
user list at alsa-project.org
linux-sound is a OSS list, and there's probably nobody who can
really help you here....
in case you're interested in getting involved in linux audio a
little more, i'd like to invite you to the linux-audio-{user|dev}
lists at http://www.linuxdj.com/audio/lad/
best,
jörn
--
Watch out where the huskies go and don't you eat
the yellow snow !
- Frank Zappa
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-04-16 16:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 15:35 Compiling ALSA with 2.5.7 Downing, Thomas
2002-04-16 16:00 ` Takashi Iwai
2002-04-16 16:02 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2002-04-16 14:49 Downing, Thomas
2002-04-16 16:19 ` Joern Nettingsmeier
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.