Find the answer to your Linux question:
Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 34
I thought you'd ask that. I always start out with 'make clean' before compiling the kernel....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319

    I thought you'd ask that. I always start out with 'make clean' before compiling the kernel.
    The best things in life are free.

  2. #22
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Check what these return:
    Code:
    nm /lib/modules/2.4.21/kernel/drivers/scsi/scsi_mod.o | grep mmx
    ksyms -a | grep mmx

  3. #23
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    First things first, I forget if I ever asked this question or not but how do I see the depmod errors from when the system boots up?
    The first command returns
    Code:
    U _mmx_memcpy
    and the second command returns
    Code:
    c0276460 _mmx_memcpy_R__ver__mmx_memcpy
    c0276710 mmx_clear_page_R__ver__mmx_clear_page
    c0276760 mmx_copy_page_R__ver__mmx_copy_page
    The best things in life are free.

  4. $spacer_open
    $spacer_close
  5. #24
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    It seems that your module versioning system has been screwed up somehow. I'm examining it right now, and I'll post back later.

  6. #25
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Try this (from the kernel source tree root dir), and then try to recompile again:
    Code:
    rm -rf include/linux/modules include/linux/modversions.h && make clean

  7. #26
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    Sorry. It's still not working. I do see a lot of module errors during boot. Perhaps these can help us as to why I'm having these problems.
    The best things in life are free.

  8. #27
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    To recreate the errors, just run "depmod -a". That will at least give you the unresolved symbols.
    I guess that you could always try to recompile the kernel without CONFIG_MODVERSIONS. That should fix the problem, and although it's not a good solution, missing module versions will probably do you no harm.
    After recompiling, do the commands still return the same symbol names? Could you get the output of this (again from the kernel source tree root dir):
    Code:
    grep mmx include/linux/modules/i386-ksyms.ver

  9. #28
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    The second command gives me the following
    Code:
    c0276460 _mmx_memcpy_R15670e2d
    c0276710 mmx_clear_page_Rd0c312ff
    c0276760 mmx_copy_page_Recb52bbc
    As for the new grep line you wanted me to run
    Code:
    #define __ver__mmx_memcpy  15670e2d
    #define  _mmx_memcpy  _set_ver(_mmx_memcpy)
    #define  __ver__mmx_clear_page  d0c312ff
    #define  mmx_clear_page  _set_ver(mmx_clear_page)
    #define  __ver_mmx_copy_page  ecb52bbc
    #define  mmx_copy_page  _set_ver(mmx_copy_page)
    The best things in life are free.

  10. #29
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    That means that it actually did set your ksym versioning right. I don't know why it isn't being used in scsi_mod, though. Did you make modules_install?

  11. #30
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    I'm pretty sure that I set it or else the modules for sidewinder and apm shouldn't be working either.
    The best things in life are free.

Page 3 of 4 FirstFirst 1 2 3 4 LastLast

Posting Permissions

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