Don H.
On Thu, 26 Aug 1999, Connie Sieh wrote:
> Maybe this will fix the problem Jerry is having with
> his module compiles.
>
> -connie
>
> ---------- Forwarded message ----------
> Date: Thu, 26 Aug 1999 09:21:30 -0700
> From: gokhan sozmen <gokhan_sozmen@hotbot.com>
> To: linux-smp@vger.rutgers.edu
> Subject: Re: Module mismatch
>
> This is a Makefile bug. The include/linux/modules
> files which have the symbol signatures don't get
> updated properly when you switch between UP and
> SMP configurations. I ran into a similar problem
> last week.
> The solution is to make a completely clean kernel
> build by starting with make mrproper. This will
> wipe out include/linux/modules and recreate them
> to correspond to the UP or SMP versions. Then build
> the modules you need.
>
> Gokhan Sozmen
>
> --
>
> On Wed, 25 Aug 1999 13:12:17 Thomas Dickson wrote:
> >I recompiled the modules - no good. The error seems to be that the kernel
> >symbol table is not correct.
> >
> >For example:
> >
> >[root@sixtus misc]# cat /proc/ksyms | grep "_R_"
> >c026ade0 cpu_data_R__ver_cpu_data
> >c021c420 kernel_flag_R__ver_kernel_flag
> >c026bde4 smp_invalidate_needed_R__ver_smp_invalidate_needed
> >c026ad40 cpu_number_map_R__ver_cpu_number_map
> >c026bd60 __cpu_logical_map_R__ver___cpu_logical_map
> >c021c438 smp_num_cpus_R__ver_smp_num_cpus
> >c021c430 cpu_present_map_R__ver_cpu_present_map
> >c021c434 cpu_online_map_R__ver_cpu_online_map
> >c010b960 synchronize_irq_R__ver_synchronize_irq
> >c010b910 synchronize_bh_R__ver_synchronize_bh
> >c026c420 global_bh_count_R__ver_global_bh_count
> >c026ad38 global_bh_lock_R__ver_global_bh_lock
> >c021c070 global_irq_holder_R__ver_global_irq_holder
> >c010b974 __global_cli_R__ver___global_cli
> >c010bac0 __global_sti_R__ver___global_sti
> >c010baf0 __global_save_flags_R__ver___global_save_flags
> >c010bb34 __global_restore_flags_R__ver___global_restore_flags
> >c021c698 mtrr_hook_R__ver_mtrr_hook
> >c026c4c0 tqueue_lock_R__ver_tqueue_lock
> >c0224e0c waitqueue_lock_R__ver_waitqueue_lock
> >
> >All of these symbols should be more like
> >
> >__global_save_flags_Rsmp_5d902e96
> >
> >Why won't the kernel update these correctly? The kernel is an smp kernel,
> >the modules are smp modules:
> >
> >(uname -a)
> >Linux sixtus.thomasaquinas.edu 2.2.5-22 #10 SMP Wed Aug 25 10:45:23 PDT
> >1999 i686 unknown
> >
> >Is there anyone who has had this problem? I am willing to recompile
> >the kernel or get new source. (We even got the 2.2.5-22 source rpm and
> >had the same problem as the 2.2.5-15)
> >
> >Thomas Dickson
> >Bombcar
> >PO Box 1371
> >La Jolla, CA 92038-1371
> >
> >-
> >Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
> >To Unsubscribe: send "unsubscribe linux-smp" to majordomo@vger.rutgers.edu
> >
>
>
> HotBot - Search smarter.
> http://www.hotbot.com
> -
> Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
> To Unsubscribe: send "unsubscribe linux-smp" to majordomo@vger.rutgers.edu
>