Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-17363

make install fails with "ln: failed to create symbolic link 'ko2iblnd.ko': File exists"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      I am reporting this as I see this. I will look into this in deep later.

      Machine type:

      Single node VM clinet/server running 4.18.0-425.3.1.el8_lustre.x86_64

      /* Master head is on */

      $ git log --format=oneline | head -1
      1fceff05d85d41c104b44995ebd3bf4075df4126 LU-17312 tests: skip conf-sanity test_53 in interop

      Reproduce:

       

      $ sh autogen.sh
      $ ./configure
      $ make
      $ make install
      <snip large output>
      make[5]: Entering directory '/root/lustre-release/lustre-release/lnet/klnds/in-kernel-o2iblnd'
      (cd "/lib/modules/4.18.0-425.3.1.el8_lustre.x86_64/extra/kernel/net/lustre"; \
       ln -s in-kernel-ko2iblnd.ko ko2iblnd.ko)
      ln: failed to create symbolic link 'ko2iblnd.ko': File exists
      

       

      From config.log

      configure:20050: checking if external o2iblnd needs to use Compat RDMA       
      configure:20211: WARNING:                                                  
      Auto detection of external O2IB failed. Build of external o2ib disabled.     
      configure:20235: result: no    

      Possible reason/solution?

      Under : lnet/klnds/in-kernel-o2iblnd/autoMakefile.am
      Should this be check and then link?
      $(LN_S) in-kernel-ko2iblnd$(KMODEXT) ko2iblnd$(KMODEXT))

      Attachments

        Activity

          People

            wc-triage WC Triage
            arshad512 Arshad Hussain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: