**NOTE** January 2022 - Changes to Gstreamer and Pipewire packages from PackmanPlease read the following thread about the current changes
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
I am an nvidia 'the hard way' user, and am hoping that the advice in this post will save me some grief when I go to snapshot 20210527 tomorrow.
To clarify:
After zypper dup, it sounds like I have to:
(1) Reboot to terminal.
(2) As root user, run:
Code:
cd /usr/lib/modules/5.12.4-2-default/
rm build source
ln -s ../../../src/linux-5.12.4-2-obj/x86_64/default build
ln -s ../../../src/linux-5.12.4-2 source
Followed by:
Code:
sh NVIDIA-Linux-x86_64_465.27.run (or later .run file)
mkinitrd
Is this correct?
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
 Originally Posted by Tuner
I am an nvidia 'the hard way' user, and am hoping that the advice in this post will save me some grief when I go to snapshot 20210527 tomorrow.
To clarify:
After zypper dup, it sounds like I have to:
(1) Reboot to terminal.
(2) As root user, run:
Code:
cd /usr/lib/modules/5.12.4-2-default/
rm build source
ln -s ../../../src/linux-5.12.4-2-obj/x86_64/default build
ln -s ../../../src/linux-5.12.4-2 source
Followed by:
Code:
sh NVIDIA-Linux-x86_64_465.27.run (or later .run file)
mkinitrd
Is this correct?
Hi
Yes, I use -aq on the run file It's up to 465.31.....
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!
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
Two successful dup's of hard-way nvidia Tumbleweed machines this morning! Thanks to malcolm, ncrickert and arvidjaar for the tips contributed in this post.
A follow-up question:
Will I have to issue similar ln -s commands on the next Tumbleweed snapshot that pulls in a new kernel? Or will openSUSE be able to deal with this symlink problem with external modules by other means?
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
 Originally Posted by Tuner
Two successful dup's of hard-way nvidia Tumbleweed machines this morning! Thanks to malcolm, ncrickert and arvidjaar for the tips contributed in this post.
A follow-up question:
Will I have to issue similar ln -s commands on the next Tumbleweed snapshot that pulls in a new kernel? Or will openSUSE be able to deal with this symlink problem with external modules by other means?
Hi
Hopefully (well I suspect) it will be corrected in an update, but if not at least it's an easy fix.....
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!
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
I'm afraid that the issue is still with us. Snapsnot 20210603 brought in the 5.12.9 kernel, and a failed 'hard way' installation of the nvidia .run file, with this error message:
Code:
ERROR: Neither the 'include/linux/version.h' nor the '/include/generated/uapi/linux/version.h' kernel header file exists. The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured.'
I edited the related script file, as follows:
Code:
#!/bin/bash
cd /usr/lib/modules/5.12.9-1-default/
rm build source
ln -s ../../../src/linux-5.12.9-1-obj/x86_64/default build
ln -s ../../../src/linux-5.12.9-1 source
After running the script, the .run file installed properly.
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
Firstly a big thank you to all you guys for your contributions and replies.
But I am still getting an error, despite using Snapshot20210603.
Perhaps I am not using the commands properly.
So, from a fresh install I use
cd /usr/lib/modules/5.12.9-1-default/
sudo rm build source (I check the folder and see to folders have been created and are in red)
the the rest;
sudo ln -s ../../../src/linux-5.12.9-1-obj/x86_64/default build
sudo ln -s ../../../src/linux-5.12.9-1 source
I reboot and install Nvidia using
sudo zypper addrepo --refreshhttps://download.nvidia.com/opensuse/tumbleweed NVIDIA
sudo zypper refresh
sudo zypper in x11-video-nvidiaG05
and after a again another reboot I get massive leterring and log in graphics and I can't log in.
What am I doing wrong?
Best wishes - Steve
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
 Originally Posted by SgtPinback
Firstly a big thank you to all you guys for your contributions and replies.
But I am still getting an error, despite using Snapshot20210603.
Perhaps I am not using the commands properly.
So, from a fresh install I use
cd /usr/lib/modules/5.12.9-1-default/
sudo rm build source (I check the folder and see to folders have been created and are in red)
the the rest;
sudo ln -s ../../../src/linux-5.12.9-1-obj/x86_64/default build
sudo ln -s ../../../src/linux-5.12.9-1 source
I reboot and install Nvidia using
sudo zypper addrepo --refreshhttps://download.nvidia.com/opensuse/tumbleweed NVIDIA
sudo zypper refresh
sudo zypper in x11-video-nvidiaG05
and after a again another reboot I get massive leterring and log in graphics and I can't log in.
What am I doing wrong?
Best wishes - Steve
Hi Steve
Missing one level....
Code:
command 4: ln -s ../../../../usr/src/linux-5.12.9-1-obj/x86_64/default build
command 5: ln -s ../../../../usr/src/linux-5.12.9-1 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!
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
Hi Malcolm
Thanks for your last reply, but I must be doing something wrong,
so one final time here are the commands I use and here is what I get in return
# cd /usr/lib/modules/5.12.9-1-default/ (Moves to usr)
# find . -type l -ls (Nothing happens)
# sudo rm build source (message states that it can not remove no such dir)
# ln -s ../../../../usr/src/linux-5.12.9-1-obj/x86_64/default build
# ln -s ../../../../usr/src/linux-5.12.9-1 source
I check after commands 4 and 5 and I can see that 2 folders in red have been created.
I then reboot, install Nvidia, and again reboot, and I get big lettering and graphics and I can’t log in.
My graphics is a GE Force 1650 and it is dual boot with Win 10.
Thanks again not just you but to all in advance for any help.
All the best - Steve
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
 Originally Posted by SgtPinback
Hi Malcolm
Thanks for your last reply, but I must be doing something wrong,
so one final time here are the commands I use and here is what I get in return
# cd /usr/lib/modules/5.12.9-1-default/ (Moves to usr)
# find . -type l -ls (Nothing happens)
# sudo rm build source (message states that it can not remove no such dir)
# ln -s ../../../../usr/src/linux-5.12.9-1-obj/x86_64/default build
# ln -s ../../../../usr/src/linux-5.12.9-1 source
I check after commands 4 and 5 and I can see that 2 folders in red have been created.
I then reboot, install Nvidia, and again reboot, and I get big lettering and graphics and I can’t log in.
My graphics is a GE Force 1650 and it is dual boot with Win 10.
Thanks again not just you but to all in advance for any help.
All the best - Steve
Hi
If the folders are red, then something is wrong.... so you have kernel-default-devel installed?
Code:
zypper se -si kernel
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!
-
Re: Snapshot 20210527 - Usr merge and compile kernel modules
 Originally Posted by malcolmlewis
Hi
If the folders are red, then something is wrong.... so you have kernel-default-devel installed?
Code:
zypper se -si kernel
Hi Malcolm
Here is the output
Code:
S | Name | Type | Version | Arch | Repository
---+-----------------------------+---------+--------------+--------+----------------------
i+ | kernel-default | package | 5.12.9-1.1 | x86_64 | Main Repository (OSS)
i | kernel-firmware-all | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-amdgpu | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-ath10k | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-ath11k | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-atheros | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-bluetooth | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-bnx2 | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-brcm | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-chelsio | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-dpaa2 | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-i915 | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-intel | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-iwlwifi | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-liquidio | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-marvell | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-media | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-mediatek | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-mellanox | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-mwifiex | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-network | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-nfp | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-nvidia | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-platform | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-prestera | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-qcom | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-qlogic | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-radeon | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-realtek | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-serial | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-sound | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-ti | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-ueagle | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | kernel-firmware-usb-network | package | 20210503-1.2 | noarch | Main Repository (OSS)
i | purge-kernels-service | package | 0-8.1 | noarch | Main Repository (OSS)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|