Professional Web Applications Themes

Problems loading modules after compiling for SMP 2.4.22 - Linux Setup, Configuration & Administration

I had read somewhere online that to take full advantage of the new hyperthreading technology, the kernel should be compiled for SMP. Well, I checked the box but then got tons of errors loading modules. Yes, I recompiled the modules too. Is there some other flag I need to set, unset? Below is the ouput of trying to load modules. Thanks, DT -- Technical Director - Virginia Center for Computer Music http://www.virginia.edu/music/vccm.html Module dependencies up to date (no new kernel modules found). /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol kernel_flag_cacheline /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol __global_cli /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol set_cpus_allowed /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol __global_save_flags /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved ...

  1. #1

    Default Problems loading modules after compiling for SMP 2.4.22

    I had read somewhere online that to take full advantage of the new
    hyperthreading technology, the kernel should be compiled for SMP. Well,
    I checked the box but then got tons of errors loading modules. Yes, I
    recompiled the modules too.

    Is there some other flag I need to set, unset?

    Below is the ouput of trying to load modules.

    Thanks,

    DT

    --
    Technical Director - Virginia Center for Computer Music
    http://www.virginia.edu/music/vccm.html

    Module dependencies up to date (no new kernel modules found).
    /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol kernel_flag_cacheline
    /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol __global_cli
    /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol set_cpus_allowed
    /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol __global_save_flags
    /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol __global_restore_flags
    /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: unresolved symbol smp_num_cpus
    /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: insmod /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o failed
    /lib/modules/2.4.22/kernel/arch/i386/kernel/apm.o: insmod apm failed
    /lib/modules/2.4.22/kernel/drivers/char/agp/agpgart.o: unresolved symbol kernel_flag_cacheline
    /lib/modules/2.4.22/kernel/drivers/char/agp/agpgart.o: unresolved symbol smp_call_function
    /lib/modules/2.4.22/kernel/drivers/char/agp/agpgart.o: unresolved symbol smp_num_cpus
    /lib/modules/2.4.22/kernel/drivers/char/agp/agpgart.o: insmod /lib/modules/2.4.22/kernel/drivers/char/agp/agpgart.o failed
    /lib/modules/2.4.22/kernel/drivers/char/agp/agpgart.o: insmod agpgart failed
    /lib/modules/2.4.22/kernel/drivers/scsi/scsi_mod.o: unresolved symbol kernel_flag_cacheline
    /lib/modules/2.4.22/kernel/drivers/scsi/scsi_mod.o: insmod /lib/modules/2.4.22/kernel/drivers/scsi/scsi_mod.o failed
    /lib/modules/2.4.22/kernel/drivers/scsi/scsi_mod.o: insmod ide-scsi failed


    David Guest

  2. #2

    Default Re: Problems loading modules after compiling for SMP 2.4.22

    David Topper wrote: 

    Did you run "depmod -a" to update the dependencies file?
    This can also be caused by not running "make mrproper" before you
    run "make {config,menuconfig,xconfig}" sometimes.

    --
    Confucius: He who play in root, eventually kill tree.
    Registered with The Linux Counter. http://counter.li.org/
    Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
    Uptime: 1 day, 21 min, 2 users, load average: 1.31, 1.25, 1.23
    David Guest

  3. #3

    Default Re: Problems loading modules after compiling for SMP 2.4.22

    David wrote: 
    >
    > Did you run "depmod -a" to update the dependencies file?
    > This can also be caused by not running "make mrproper" before you
    > run "make {config,menuconfig,xconfig}" sometimes.[/ref]

    Also, did you install the new modules in the same directory as the old
    ones? If so, the modules for the new kernel would have overwritten the
    existing modules *except* in cases where your selections differ from the
    earlier kernel. I.e., if you previously built agpgart (as an example
    from the original post) as a module, but have it built-in to the kernel
    now, the old module would not get overwritten. Those old modules will
    cause depmod to spew "unresolved symbol" errors.

    Of course, this doesn't really apply if you've changed kernel versions
    along the way. Only in the case where you went from 2.4.22 to 2.4.22
    w/SMP without changing the kernel version in any way.
    John-Paul Guest

  4. #4

    Default Re: Problems loading modules after compiling for SMP 2.4.22

    "David Topper" <edu> wrote: 

    So you did "make modules". Did you also do "make modules_install"? If so,
    are you really using your new kernel? Check with "cat /proc/version" and
    look if it says something about SMP.
     

    Yes, for hyperthreading to work with kernel 2.4.22 you will also have to
    enable ACPI. It is enough to enable CONFIG_ACPI and CONFIG_ACPI_HT_ONLY
    if you don't want the other features of ACPI.

    regards Henrik

    --
    The address in the header is only to prevent spam. My real address is:
    hc2(at)uthyres.com Examples of addresses which go to spammers:
    se ee rootlocalhost
    Henrik Guest

  5. #5

    Default Re: Problems loading modules after compiling for SMP 2.4.22

    Thanks, make mrproper worked. Strange, I' ve compiled SMP kernels
    before and didn't have to do that.

    Oh well. She's cruisin' now.

    Thanks,

    DT

    --
    Technical Director - Virginia Center for Computer Music
    http://www.virginia.edu/music/vccm.html

    David Guest

Similar Threads

  1. Compiling modules for Windows?
    By Neil Cherry in forum PERL Modules
    Replies: 2
    Last Post: July 9th, 05:28 PM
  2. compiling/add modules when no root access
    By gbarn in forum PERL Modules
    Replies: 2
    Last Post: March 23rd, 06:37 AM
  3. Loading Modules - More
    By Owen in forum PERL Beginners
    Replies: 3
    Last Post: December 22nd, 10:29 PM
  4. Replies: 3
    Last Post: July 11th, 03:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139