Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Snapshot 20210527 - Usr merge and compile kernel modules

  1. #1
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,502
    Blog Entries
    15

    Default Snapshot 20210527 - Usr merge and compile kernel modules

    Hi
    Likely issues with compiling modules... See https://lists.opensuse.org/archives/...QJ27IEVA5WUTW/

    I had the issue compiling the nvidia module... the following fixes;

    Code:
    cd /usr/lib/modules/5.12.4-2-default/
    
    find . -type l -ls
    
    build -> ../../../usr/src/linux-5.12.4-2-obj/x86_64/default
    source -> ../../../usr/src/linux-5.12.4-2
    
    rm build source
    
    ln -s ../../../../usr/src/linux-5.12.4-2-obj/x86_64/default build
    ln -s ../../../../usr/src/linux-5.12.4-2 source
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  2. #2

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Likely issues with compiling modules... See https://lists.opensuse.org/archives/...QJ27IEVA5WUTW/

    I had the issue compiling the nvidia module... the following fixes;

    Code:
    cd /usr/lib/modules/5.12.4-2-default/
    
    find . -type l -ls
    
    build -> ../../../usr/src/linux-5.12.4-2-obj/x86_64/default
    source -> ../../../usr/src/linux-5.12.4-2
    
    rm build source
    
    ln -s ../../../../usr/src/linux-5.12.4-2-obj/x86_64/default build
    ln -s ../../../../usr/src/linux-5.12.4-2 source
    Hi Malcolm

    I am running a multi boot with Win 10.

    So I decided to re-install TW with the 270521 snapshot. All went well until I used;

    sudo zypper addrepo --refreshhttps://download.nvidia.com/opensuse/tumbleweed NVIDIA
    sudo zypper refresh
    sudo zypper in x11-video-nvidiaG05

    to install the nvidia prop drivers.

    On reboot the screen log in for Gnome became very big and trying to log in became imposible.

    Should I use the commands you gave and if so please could you kindly verify if
    for example;

    build -> ../../../usr/src/linux-5.12.4-2-obj/x86_64/default
    source -> ../../../usr/src/linux-5.12.4-2

    is all on one line? Because by the looks of it I may have to re-install.

    Thanks in advance and also for your help in allowing me to log back in to the forums.

    Regards

    Steve

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    31,502
    Blog Entries
    15

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    Quote Originally Posted by SgtPinback View Post
    Hi Malcolm

    I am running a multi boot with Win 10.

    So I decided to re-install TW with the 270521 snapshot. All went well until I used;

    sudo zypper addrepo --refreshhttps://download.nvidia.com/opensuse/tumbleweed NVIDIA
    sudo zypper refresh
    sudo zypper in x11-video-nvidiaG05

    to install the nvidia prop drivers.

    On reboot the screen log in for Gnome became very big and trying to log in became imposible.

    Should I use the commands you gave and if so please could you kindly verify if
    for example;

    build -> ../../../usr/src/linux-5.12.4-2-obj/x86_64/default
    source -> ../../../usr/src/linux-5.12.4-2

    is all on one line? Because by the looks of it I may have to re-install.

    Thanks in advance and also for your help in allowing me to log back in to the forums.

    Regards

    Steve
    Hi
    In your example, that is incorrect it only goes up three levels, you should see the items in red in the output of command 2;

    Code:
    command 1: cd /usr/lib/modules/5.12.4-2-default/
    
    command 2: find . -type l -ls
    
    command 3: rm build source
    
    command 4: ln -s ../../../../usr/src/linux-5.12.4-2-obj/x86_64/default build
    
    command 5: ln -s ../../../../usr/src/linux-5.12.4-2 source
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,271
    Blog Entries
    3

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    Quote Originally Posted by SgtPinback View Post
    Should I use the commands you gave and if so please could you kindly verify if
    for example;

    build -> ../../../usr/src/linux-5.12.4-2-obj/x86_64/default
    source -> ../../../usr/src/linux-5.12.4-2

    is all on one line? Because by the looks of it I may have to re-install.
    Those are not the commands. Those two lines are the output from the earlier commands.

    These are the commands that you need:
    Code:
    cd /usr/lib/modules/5.12.4-2-default/
    rm build source
    ln -s ../../../../usr/src/linux-5.12.4-2-obj/x86_64/default build
    ln -s ../../../../usr/src/linux-5.12.4-2 source
    That's 4 commands, and you need to run those as root.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  5. #5
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,884

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  6. #6
    Join Date
    Sep 2012
    Posts
    6,633

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    Quote Originally Posted by malcolmlewis View Post
    Code:
    ln -s ../../../../usr/src/linux-5.12.4-2-obj/x86_64/default build
    ln -s ../../../../usr/src/linux-5.12.4-2 source
    It is actually
    Code:
    ln -s ../../../src/linux-5.12.4-2-obj/x86_64/default build
    ln -s ../../../src/linux-5.12.4-2 source
    There is no need to climb to the top; both /usr/lib and /usr/src are under /usr now. This is link that will be created by kernel packages automatically after UsrMerge.

    But your version works of course.

  7. #7
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,884

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    Pretty intimidating:
    Code:
    The following product is going to be upgraded: 
    openSUSE Tumbleweed 
      20210524-0 -> 20210527-0 
    
    The following 5 packages require a system reboot: 
      dbus-1 glibc kernel-default-5.12.4-2.1 libopenssl1_1 systemd 
    
    3254 packages to upgrade, 9 new. 
    Overall download size: 0 B. Already cached: 3.29 GiB. After the operation, additional 403.9 MiB will be used. 
    
        Note: System reboot required.
    
    Some 20 minutes smooth upgrade.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  8. #8
    Join Date
    Jun 2008
    Location
    Stoney Stanton - England
    Posts
    1,159

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    Thanks very much for the posts.

    I did a fresh install yesterday based on the latest ISO and hit this problem.

  9. #9
    Join Date
    Oct 2014
    Location
    Rotterdam
    Posts
    555

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    Update and reboot were also smooth here.

    On thing I noticed is that my local installed java was not present anymore.
    I have a script starting josm using that was using local installed java because of performance issues and that was outputting:

    /usr/java/jdk1.8.0_261-amd64/bin/java: No such file or directory

    So with the usr merge that has gone.
    Solved the problem by installing the josm package, will keep that until I run in performance problems again, maybe the reason why I did switch in the past to Oracle java is gone.

  10. #10

    Default Re: Snapshot 20210527 - Usr merge and compile kernel modules

    I, on the other hand, had no problem with my Nvidia Geforce 610
    ------------------------------------
    Correct me if I'm wrong .
    ------------------------------------

Page 1 of 3 123 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
  •