Skip to contentSkip to conversation

Alsa won't load (Delta 410 and latest cvs snapshot)

Alsa-user Clemens Ladisch 2 participants 2 messages Jan 21, 2003 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · Søren Bovbjerg

/lib/modules/2.4.18-6mdk/kernel/sound/acore/snd-pcm.o:
unresolved symbol vmalloc_to_page

This is a bug in ALSA.

Revision 1.4 of alsa-driver/acore/pcm_sgbuf.c added the following code:

	...
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
	page = vmalloc_to_page(vmaddr + (i << PAGE_SHIFT));
	...

but vmalloc_to_page() doesn't exist before 2.4.19.

AFAICS alsa-driver/drivers/vx/vx_pcm.c doesn't define it for 2.4.18, either.

Clemens

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

#2 lore raw

At Tue, 21 Jan 2003 08:43:04 +0100 (MET),

Quoted 14 lines · Clemens Ladisch
Quoted 2 lines · Søren Bovbjerg

/lib/modules/2.4.18-6mdk/kernel/sound/acore/snd-pcm.o:
unresolved symbol vmalloc_to_page

This is a bug in ALSA.

Revision 1.4 of alsa-driver/acore/pcm_sgbuf.c added the following code:

	...
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0)
	page = vmalloc_to_page(vmaddr + (i << PAGE_SHIFT));
	...
Quoted 4 lines

but vmalloc_to_page() doesn't exist before 2.4.19.

AFAICS alsa-driver/drivers/vx/vx_pcm.c doesn't define it for 2.4.18, either.

ok, thanks for pointing out. i'll fix it asap.

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com