Skip to contentSkip to conversation

unresolved symbol kernel_flag_cacheline

SMP Joshua N Pritikin 2 participants 3 messages Jun 9, 2003

lore
Share & tools
lore
#0 lore raw

i must be doing something really silly. i compiled alsa 0.9.4 with linux 2.4.20 SMP + lowlatency. When i try to load the snd module, i get this:

remix:/usr/src/alsa-driver-0.9.4# modprobe snd
/lib/modules/2.4.20/kernel/sound/acore/snd.o: unresolved symbol kernel_flag_cacheline
/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod snd failed

But my kernel looks OK:

remix:/usr/src/linux# grep SMP .config
CONFIG_SMP=y
remix:/usr/src/linux# nm vmlinux |grep kernel_flag_cache
c02ec8a0 R __kstrtab_kernel_flag_cacheline
c02f9530 R __ksymtab_kernel_flag_cacheline
c02fe2e0 D kernel_flag_cacheline

i don't have much experience tracking down this kind of link problem. Where should i look?

Signature · 8 lines
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
#1 lore raw
Quoted 11 lines · Joshua N Pritikin

i must be doing something really silly. i compiled alsa 0.9.4 with linux 2.4.20 SMP + lowlatency. When i try to load the snd module, i get this:

remix:/usr/src/alsa-driver-0.9.4# modprobe snd
/lib/modules/2.4.20/kernel/sound/acore/snd.o: unresolved symbol kernel_flag_cacheline
/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod snd failed

But my kernel looks OK:

Quoted 7 lines
remix:/usr/src/linux# grep SMP .config
CONFIG_SMP=y
remix:/usr/src/linux# nm vmlinux |grep kernel_flag_cache
c02ec8a0 R __kstrtab_kernel_flag_cacheline
c02f9530 R __ksymtab_kernel_flag_cacheline
c02fe2e0 D kernel_flag_cacheline

What shows the command: cat /proc/ksyms | grep kernel_flag_cache

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.

#2 lore raw
Quoted 15 lines · Jaroslav Kysela
Quoted 14 lines · Joshua N Pritikin

i must be doing something really silly. i compiled alsa 0.9.4 with linux 2.4.20 SMP + lowlatency. When i try to load the snd module, i get this:

remix:/usr/src/alsa-driver-0.9.4# modprobe snd
/lib/modules/2.4.20/kernel/sound/acore/snd.o: unresolved symbol kernel_flag_cacheline
/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod snd failed

But my kernel looks OK:

remix:/usr/src/linux# grep SMP .config
CONFIG_SMP=y
Quoted 6 lines
Quoted 4 lines
remix:/usr/src/linux# nm vmlinux |grep kernel_flag_cache
c02ec8a0 R __kstrtab_kernel_flag_cacheline
c02f9530 R __ksymtab_kernel_flag_cacheline
c02fe2e0 D kernel_flag_cacheline

What shows the command: cat /proc/ksyms | grep kernel_flag_cache

joshua@remix:~$ cat /proc/ksyms | grep kernel_flag_cache
c02fe2e0 kernel_flag_cacheline_R__ver_kernel_flag_cacheline
remix:/usr/src/linux/arch/i386/kernel# grep kernel_flag *  
i386_ksyms.c:EXPORT_SYMBOL(kernel_flag_cacheline);

What does that mean? How do i solve the problem?

Signature · 8 lines
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.