Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-33332

Setup the Virtual Machine of OpenSUSE for EtherLab Training

    XMLWordPrintable

    Details

    • Story Points:
      0
    • Sprint:
      TSSW Sprint - Jan 17 - Jan 31, TSSW Sprint - Jan 31 - Feb 14, TSSW Sprint - Feb 14 - Feb 28, TSSW Sprint - Feb 28 - Mar 14, TSSW Sprint - Mar 14 - Mar 28, TSSW Sprint - Mar 28 - Apr 11
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Setup the virtual machine of OpenSUSE for EtherLab training. This is installed in my Windows laptop.

        Attachments

          Issue Links

            Activity

            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            I need to install the following libraries by zypper to install the ethercat:
            git, kernel-default-devel, gcc , gcc-c++, autoconf, libtool.

            When doing the configure in ethercat repo, I need to do:

            ./configure --enable-generic --disable-e100 --disable-8139too --disable-e1000 --disable-r8169
            

            Show
            ttsai Te-Wei Tsai added a comment - - edited I need to install the following libraries by zypper to install the ethercat : git, kernel-default-devel, gcc , gcc-c++, autoconf, libtool. When doing the configure in ethercat repo, I need to do: . /configure -- enable -generic --disable-e100 --disable-8139too --disable-e1000 --disable-r8169
            Show
            ttsai Te-Wei Tsai added a comment - The followings are the references: 1. https://gitlab.com/etherlab.org/ethercat 2. https://etherlab-users.etherlab.narkive.com/H9VjgQsW/linux-distribution-for-igh-ethercat-master 3. https://www.etherlab.org/en/ethercat/index.php 4. https://doc.opensuse.org/documentation/leap/archive/42.2/reference/html/book.opensuse.reference/cha.sw_cl.html
            Hide
            ttsai Te-Wei Tsai added a comment - - edited

            The service of ethercat can not run successfully. I think this is because there is no hardware connected actually.

            Show
            ttsai Te-Wei Tsai added a comment - - edited The service of ethercat can not run successfully. I think this is because there is no hardware connected actually.
            Hide
            ttsai Te-Wei Tsai added a comment -

            Please help to review this ticket based on the comments. Thanks!

            Show
            ttsai Te-Wei Tsai added a comment - Please help to review this ticket based on the comments. Thanks!
            Hide
            djimenez David Jiménez added a comment -

            I have installed the OpenSuse Leap 15.3 SO in Virtual Machine (Virtual Box 6.1). The ISO file is the following:

            openSUSE-Leap-15.3-2-DVD-x86_64-Build24.5-Media.iso

            The following steps have been the suggested by Te-Wei:

            Installing the libs (Git, Kernel-default-devel, gcc, gcc-c++, autoconf, libtool.

            Then, the bootstrap script was executed successfully. But not the:

            ./configure --enable-generic --disable-e100 --disable-8139too --disable-e1000 --disable-r8169

            I got the following error:

            configure: error: Failed to find Linux sources. Use --with-linux-dir!

            The Kernel-default-devel installed version is:

            Information for package kernel-default-devel:
            ---------------------------------------------
            Repository : Update repository with updates from SUSE Linux Enterprise 15
            Name : kernel-default-devel
            Version : 5.3.18-150300.59.54.1
            Arch : x86_64
            Vendor : SUSE LLC <https://www.suse.com/>
            Installed Size : 4.5 MiB
            Installed : Yes
            Status : up-to-date
            Source package : kernel-default-5.3.18-150300.59.54.1.nosrc
            Summary : Development files necessary for building kernel modules
            Description :
            This package contains files necessary for building kernel modules (and
            kernel module packages) against the default flavor of the kernel.

            the kernel folder should be /usr/src which content is:

            linux          linux-5.3.18-150300.59.54-obj          packages
            linux-5.3.18-150300.59.54          linux-obj

            The content of linux-5.3.18-150300.59.54 is:

            arch crypto fs ipc kernel mm scripts tools
            block Documentation include Kbuild lib net security usr
            certs drivers init Kconfig Makefile samples sound virt

            I haven't been success with any of the following two variants:

            ./configure --enable-generic --disable-e100 --disable-8139too --disable-e1000 --disable-r8169 --with-linux-dir=/usr/src/linux-5.3.18-150300.59.54/kernel

             ./configure --enable-generic --disable-e100 --disable-8139too --disable-e1000 --disable-r8169 --with-linux-dir=/usr/src/linux-5.3.18-150300.59.54/kernel 

            both with the same error:

            configure: error: No configured Linux kernel sources in /usr/src/linux-5.3.18-150300.59.54

            and

            configure: error: No configured Linux kernel sources in /usr/src/linux-5.3.18-150300.59.54/kernel

             

            An email has been sent to the trainer to figure out the issue.

             

             

            Show
            djimenez David Jiménez added a comment - I have installed the OpenSuse Leap 15.3 SO in Virtual Machine (Virtual Box 6.1). The ISO file is the following: openSUSE-Leap-15.3-2-DVD-x86_64-Build24.5-Media.iso The following steps have been the suggested by Te-Wei: Installing the libs (Git, Kernel-default-devel, gcc, gcc-c++, autoconf, libtool. Then, the bootstrap script was executed successfully. But not the: ./configure --enable-generic --disable-e100 --disable-8139too --disable-e1000 --disable-r8169 I got the following error: configure: error: Failed to find Linux sources. Use --with-linux-dir! The Kernel-default-devel installed version is: Information for package kernel-default-devel: --------------------------------------------- Repository : Update repository with updates from SUSE Linux Enterprise 15 Name : kernel-default-devel Version : 5.3.18-150300.59.54.1 Arch : x86_64 Vendor : SUSE LLC < https://www.suse.com/ > Installed Size : 4.5 MiB Installed : Yes Status : up-to-date Source package : kernel-default-5.3.18-150300.59.54.1.nosrc Summary : Development files necessary for building kernel modules Description : This package contains files necessary for building kernel modules (and kernel module packages) against the default flavor of the kernel. the kernel folder should be /usr/src which content is: linux          linux-5.3.18-150300.59.54-obj          packages linux-5.3.18-150300.59.54          linux-obj The content of linux-5.3.18-150300.59.54 is: arch crypto fs ipc kernel mm scripts tools block Documentation include Kbuild lib net security usr certs drivers init Kconfig Makefile samples sound virt I haven't been success with any of the following two variants: ./configure --enable-generic --disable-e100 --disable-8139too --disable-e1000 --disable-r8169 --with-linux-dir=/usr/src/linux-5.3.18-150300.59.54/kernel  ./configure --enable-generic --disable-e100 --disable-8139too --disable-e1000 --disable-r8169 --with-linux-dir=/usr/src/linux-5.3.18-150300.59.54/kernel  both with the same error: configure: error: No configured Linux kernel sources in /usr/src/linux-5.3.18-150300.59.54 and configure: error: No configured Linux kernel sources in /usr/src/linux-5.3.18-150300.59.54/kernel   An email has been sent to the trainer to figure out the issue.    
            Hide
            djimenez David Jiménez added a comment -

            After the OpenSuse install, run the Package Updater.

            All the updates solve the last issue.

            After the following steps at the EtherLab Master User Manual, it doesn't look like work properly. Let's see at the training tomorrow.

            Show
            djimenez David Jiménez added a comment - After the OpenSuse install, run the Package Updater. All the updates solve the last issue. After the following steps at the EtherLab Master User Manual, it doesn't look like work properly. Let's see at the training tomorrow.

              People

              Assignee:
              ttsai Te-Wei Tsai
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              David Jiménez
              Watchers:
              David Jiménez, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.