Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-20-2019, 04:27 PM
|
#1
|
LQ Newbie
Registered: Apr 2013
Posts: 13
Rep: 
|
Ubuntu 18.04 LTS Desktop - PKCS#7 signature not signed with a trusted key - NVIDIA GPU
Dear Team,
Since a few weeks I have installed ubuntu 18.04 desktop on a workstation with nvidia Tesla GPU installed. However, I am stuck in a bootloop and can't login to the OS.
After adding 'nomodeset' in GRUB, I am able to boot the OS with the message below several times on startup:
PKCS#7 signature not signed with a trusted key
dmesg logs below:
dmesg -T | grep nvidia
[Fri Jan 18 17:21:11 2019] nvidia: loading out-of-tree module taints kernel.
[Fri Jan 18 17:21:11 2019] nvidia: module license 'NVIDIA' taints kernel.
[Fri Jan 18 17:21:11 2019] nvidia: module verification failed: signature and/or required key missing - tainting kernel
dmesg -T | grep -C 3 PKCS
[Fri Jan 18 17:21:11 2019] PKCS#7 signature not signed with a trusted key
[Fri Jan 18 17:21:11 2019] nvidia: loading out-of-tree module taints kernel.
[Fri Jan 18 17:21:11 2019] nvidia: module license 'NVIDIA' taints kernel.
[Fri Jan 18 17:21:11 2019] Disabling lock debugging due to kernel taint
I have seen several posts whereby a key must be created and trusted via mokutil but I am not convinced about this as it have never encountered this issue before.
Can anyone advise please?
|
|
|
01-21-2019, 02:04 PM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
i think the proprietary nvidia driver will always taint the kernel; maybe these messages are not the problem? they aren't even marked as errors. it even says "- tainting kernel" which means: "i am going ahead and do this now".
a bootloop?
i have never, ever heard of a bootloop on a Linux system.
Please clarify, give us a better problem description.
read the first link in my signature.
|
|
1 members found this post helpful.
|
01-22-2019, 10:11 AM
|
#3
|
LQ Newbie
Registered: Apr 2013
Posts: 13
Original Poster
Rep: 
|
Hi,
The Ubuntu startup screen was stuck on blank screen and never booted up (not a boot loop - thank you for correcting me!)
I booted into recovery mode this time, to see all the messages in the startup and I found the culprit (I don't have a screenshot as the message is no longer in syslog):
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
nvidia-modeset xxxx
Indeed you were right. The PKCS was not the problem this whole time, it was a kernel issue with the Nvidia driver (I'm using nvidia-410)
I did three things:
1) Changed the value to 0 in /proc/sys/kernel/hung_task_timeout_secs
Noticed a server hang after a few hours of operation
2) Changed the drivers - all nvidia drivers from ppa were giving the same error message on boot
3) Changed the sysctl values as below:
$ sudo sysctl -w vm.dirty_ratio=10
$ sudo sysctl -w vm.dirty_background_ratio=5
$ sudo sysctl -p
I referred the link below:
https://www.blackmoreops.com/2014/09...conds-problem/
The server is working ok till now - I will monitor the performance to make it permanent if this is really the fix.
Anyhow, I'd like to understand the issue in depth.
I hope if is clearer now. Please let me know what I can check to gather more information.
Many thanks in advance
|
|
|
02-08-2019, 07:14 AM
|
#4
|
LQ Newbie
Registered: Apr 2013
Posts: 13
Original Poster
Rep: 
|
Hey!
Just wanted to post this in case anyone else is having the same issue.
I tried a lot of tweaking but the OS was never stable.
So I tried one thing: reverting to an older kernel and the issue was fixed!
Hope this helps someone out there 
|
|
|
02-08-2019, 11:38 PM
|
#5
|
Senior Member
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591
|
Your best bet would have been to follow the first suggestion in this tutorial ---> Automatic Install using standard Ubuntu Repository
The option you chose, #2, states: "Using graphics-drivers PPA repository allows us to install bleeding edge Nvidia beta drivers at the risk of unstable system".
Because Nvidia Tesla release was 13 years ago, the best drivers would have been the proven stable, recommended drivers available from standard Ubuntu repositories. The "bleeding edge" 410 drivers did not add any hardware components to your 13 year old graphics device and as such... did not give your old graphics device any extra functionality over the stable driver, it only succeeded in giving you what is highlighted above in red. You could be running the latest stable Ubuntu kernel for Bionic Beaver.
|
|
|
02-09-2019, 09:24 AM
|
#6
|
LQ Newbie
Registered: Apr 2013
Posts: 13
Original Poster
Rep: 
|
Hi Brains,
Thank you for reverting back and also sending the tutorial link.
I did install via the PPA, chose the recommended drivers and sadly still got the kernel instability issues.
The solution which fixed my issue in my current config, in case anyone is pulling off his/her hair in the same situation:
'Revert back to a previous kernel!'
|
|
|
12-29-2019, 10:06 PM
|
#7
|
LQ Newbie
Registered: Dec 2019
Posts: 2
Rep: 
|
Hi,
I'm also facing this situation now. I have spent a lot time on checking the secure boot( annoying Asus ROG motherboard) and I'm pretty sure that it's disabled in both mokutil and (UEFI)BIOS ( these two ways seem different, but I'm not sure). I'm now trying to follow your idea to install a Ubuntu 16.04.....The failure environment is Ubuntu 18.04(kernel 5.0.0-23), nvidia 440, RTX2080TI.
Hope this will help someone like me
|
|
|
12-31-2019, 07:40 AM
|
#8
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by tyz
Hi,
I'm also facing this situation now. I have spent a lot time on checking the secure boot( annoying Asus ROG motherboard) and I'm pretty sure that it's disabled in both mokutil and (UEFI)BIOS ( these two ways seem different, but I'm not sure). I'm now trying to follow your idea to install a Ubuntu 16.04.....The failure environment is Ubuntu 18.04(kernel 5.0.0-23), nvidia 440, RTX2080TI.
Hope this will help someone like me
|
Thank you for saying this, but if your problem continues you should really start a new thread with a dedicated problem description.
Also I'm not sure if using Ubuntu 16.04 is still good advice, or for how long.
|
|
|
01-01-2020, 10:46 PM
|
#9
|
LQ Newbie
Registered: Dec 2019
Posts: 2
Rep: 
|
Oh, I'm not quite familiar with the rules...Just leave it here, can I? I think they are similar failure situation, and will be searched using same keywords.
And I have solved my problem, which may be not suitable for others. It's a problem on GPU hardware where I always get "RMinitadapterfailed" when booting after installing Nvidia driver. Post the error code: "1227","1155" in ubuntu, "43" in win10. Failure occurs when start GPU after successfully installing driver
|
|
|
01-02-2020, 02:31 PM
|
#10
|
LQ Newbie
Registered: Apr 2013
Posts: 13
Original Poster
Rep: 
|
Quote:
Originally Posted by tyz
Hi,
I'm also facing this situation now. I have spent a lot time on checking the secure boot( annoying Asus ROG motherboard) and I'm pretty sure that it's disabled in both mokutil and (UEFI)BIOS ( these two ways seem different, but I'm not sure). I'm now trying to follow your idea to install a Ubuntu 16.04.....The failure environment is Ubuntu 18.04(kernel 5.0.0-23), nvidia 440, RTX2080TI.
Hope this will help someone like me
|
Hello tyz,
happy new year
Just to clarify - the solution that worked for me for my current config was to revert the existing Ubuntu 18.04.xx installation to an older kernel.
You can easily achieve that by choosing an older kernel from the GRUB menu or there third party tools (e.g Ukuu) that help you achieve this easily.
Hope this helps
|
|
|
All times are GMT -5. The time now is 12:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|