* [sparc64] 2.4.21-pre7 and alsa: unresolved symbol
@ 2003-04-06 14:52 Fabio Massimo Di Nitto
2003-04-07 5:54 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Massimo Di Nitto @ 2003-04-06 14:52 UTC (permalink / raw)
To: Kernel Mailing List
Hi all,
Im a bit new to sparc kernel/hardware and I have been hitten by a
problem compiling alsa modules.
In a few words loading the modules i get the following error:
mazinga:/usr/src/modules/alsa-driver# insmod snd-page-alloc
Using /lib/modules/2.4.21-pre7/kernel/sound/acore/snd-page-alloc.o
/lib/modules/2.4.21-pre7/kernel/sound/acore/snd-page-alloc.o: unresolved
symbol virt_to_bus_not_defined_use_pci_map
poking around I found that io.h has this entry on sparc64:
extern unsigned long virt_to_bus_not_defined_use_pci_map(volatile void *addr);
#define virt_to_bus virt_to_bus_not_defined_use_pci_map
while in other archs there is some "real" code.
I understand "use_pci_map" but what i would really like to know is:
* why is virt_to_bus missing from sparc64?
* which is the best way to fix the code? kernel or alsa???
I have also been trying to look at 2.5.66 kernel but unfortunatly I cannot
even boot it to confirm that is working or not (atleast to try a backport
or something)
Any help would be really appreciated.
Thanks
Fabio
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sparc64] 2.4.21-pre7 and alsa: unresolved symbol
2003-04-06 14:52 [sparc64] 2.4.21-pre7 and alsa: unresolved symbol Fabio Massimo Di Nitto
@ 2003-04-07 5:54 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-04-07 5:54 UTC (permalink / raw)
To: Fabio Massimo Di Nitto; +Cc: Kernel Mailing List
On Sun, 2003-04-06 at 07:52, Fabio Massimo Di Nitto wrote:
> Im a bit new to sparc kernel/hardware and I have been hitten by a
> problem compiling alsa modules.
> In a few words loading the modules i get the following error:
>
> mazinga:/usr/src/modules/alsa-driver# insmod snd-page-alloc
> Using /lib/modules/2.4.21-pre7/kernel/sound/acore/snd-page-alloc.o
> /lib/modules/2.4.21-pre7/kernel/sound/acore/snd-page-alloc.o: unresolved
> symbol virt_to_bus_not_defined_use_pci_map
This symbol must never be referenced on the sparc64 platform,
it indicates non-portable code.
The 2.5.x ALSA code does not have this problem, so presumably the
current 2.4.x backport of ALSA has this bug fixed as well.
--
David S. Miller <davem@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-07 5:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-06 14:52 [sparc64] 2.4.21-pre7 and alsa: unresolved symbol Fabio Massimo Di Nitto
2003-04-07 5:54 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®