Questions tagged as ['kernel']

Questions concerning the Linux kernel in Ubuntu. Issues may including upgrading and installing kernels, compiling, patches, and kernel modules.
Score: 0
Prabal Kajla avatar
Change Ring parameters' pre-set maximum limits for NIC
cn flag

We have a Dell Poweredge R440 with Ubuntu 20.04 LTS (Kernel - 5.4.0-80.90-generic).

The ethernet adapter is Broadcom NetXtreme BCM5720.

I need to increase the Ring buffer value to 4096 for both RX and TX. The issue is that the pre-set maximimums are not allowing me to change the values greater than them.

Ring parameters for eno2:
Pre-set maximums:
RX:             2047
RX Mini:        0
RX Jumbo:       0
Score: 0
dnaik avatar
Cannot install alsa-driver, INCLUDE_VERSION_H cannot be found
fr flag

I am using Ubuntu 20.04. I want to upgrade my drivers as there is some problem with HDMI output. I tried to compile the alsa-driver package I downloaded from here. Here's the output when I run ./configure:

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compi ...
Score: 0
fuzzyTew avatar
How to diagnose strange intermittent kernel misbehaviors
mg flag

See the Event Logs heading farther down.

I'm on Ubuntu Server 21.04 running kernel 5.11.0-1015-raspi on aarch64.

What are the most effective things to prepare to move forward on diagnosing this next time it happens?

Occasionally after heavy use I start getting strange issues such as these:

  • some processes that should be doing nothing display 100% usage of a single core on top (this happened recently  ...
Score: 0
Poulett0 avatar
Ubuntu 20.04 - drm_atomic_helper_wait_for_flip_done
br flag

I've decided to start using linux (because... why not?), so I went through all the installation process without any problem, the system ask for rebooting, so I let it does.

But when the machine restarted, my screen started turning on and off twice and this message appeared:

Photo of the message (It's not a VM so I couldn't take screenshot/copy the message

And it stays stuck like this forever.

The screen ...

Score: 0
Omar Shawky avatar
it flag

I want to control NVIDIA booting.

I had a lot of issues with NVIDIA and it is almost the reason of any linux-devil but i also need to run dual screens and Nouveau does not work out of the box and only the proprietary drivers work (unlike Manjaro, open-source drivers work out of the box).

The most important reason i want to block it from working is that it consumes 75% of my battery consumption alone ...

Score: 5
Athena avatar
After Kernel 5.11 update, computer won't boot? Related to nVidia drivers. (Kernel
id flag

Almost solved - Please help!

I thought earlier it was due to installed i386 architecture, when it in fact was because of the newest Ubuntu 20.04.10 Linux Kernel

    $ dpkg --list | grep linux-image
ii  linux-image-5.11.0-25-generic              5.11.0-25.27~20.04.1                  amd64        Signed kernel image generic
rc  linux-image-5.4.0-42-generic               5.4.0-42.46             ...
Score: 1
Realtek wireless adapter not working after update to kernel 5.11.0-25
cn flag

I am facing networking issue when kernel updated on my 20.04 LTS from 5.8.0-63 to 5.11.0-25. All worked fine in 5.8.0-63. After update, the wifi networking is not available at all. I am running a VMWare installation with a tp-link wifi usb stick.

I tried steps from here. I did sudo apt install linux-modules-extra-5.11.0-25-generic and sudo apt install --reinstall linux-generic.

sudo modprobe iwlwifi

Score: 4
BCM4352 802.11ac Wireless Network Adapter not working on kernel 5.11 and ubuntu 20.04
cn flag

Right now it works with kernel 5.8 but in 5.11 (installed this morning along other upgrades) the wifi adapter doesn't get detected at all and apparently there are no fixes until the drivers gets patched (unless i'm mistaken). Do someone know if/when bcmwl-kernel-source will get patched?

edit: current version of bcmwl-kernel-source is

PS: To be honest each time there's a ke ...

Score: 0
Mippi avatar
Problem with installation of nvidia driver 340 after last update ubuntu 20.04
cn flag

After yesterday update of Ubuntu 20.04, I am not able to install nvidia driver 340 and all Ubuntu systems with driver 340 crashed:( Has somebody met the same problem? Is there any simple and quick solution? All suggestions are very welcome.

I have Nvidia Quadro NVS 295. The systems have worked for last two years without any problem. Since last update All are crashed.

I tried to reinstall one of them ...

Score: 0
Emil Majer avatar
Ubuntu 20.04: Kernel and display manager not loading on system boot
ps flag

OS: Ubuntu 20.04.2 LTS x86_64

Kernel: 5.8.0-63-generic

Hi! I have problem with my Ubuntu. When I try to boot, it shows me an error you need to load the kernel first. I googled a lot about this issue and I try to fix it with my grub (v2.04).

When I set prefix like this: set prefix=(hd0,gpt2)/boot/grub terminal just freeze. No matter how long I wait prompt doesnt show again. I restart system (using ...

Score: 0
themetman avatar
Building kernel for Raspberry Pi Compute Module 4 with SATA Support fails
cn flag

I am trying to compile a Kernel with SATA_AHCI and MARVELL Support for Ubuntu 20.04lts to run on a Raspberry Pi Compute Module 4. I have succeeded in doing this using RaspiOS. My SATA PCI Card with a 4 disk ZFS RaidZ2 Pool works fine.

sda           8:0    1  1.8T  0 disk 
├─sda1        8:1    1  1.8T  0 part 
└─sda9        8:9    1   ...
Score: 0
Alex Szücs avatar
How to figure out currently used kernel if uname does not tell the detailed version?
cn flag

There seems to be a lot of kernels installed:

root@v59530:/boot# dpkg -l | grep "linux-[a-z]*-"
ii  linux-aws-headers-4.15.0-1007                 4.15.0-1007.7                           all          Header files related to Linux kernel version 4.15.0
ii  linux-aws-headers-4.15.0-1032                 4.15.0-1032.34                          all          Header files related to Linux kernel versio ...
Score: 0
Gautam Agrawal avatar
Whenever I edit .config file for linux testing and run "make" to compile it , .config file is automatically reset
in flag

Currently I am working on a project and need to test linux in kernel in virtual environment. I need to use PDS scheduler, so I added the following lines in my .config file

# Scheduler features
# end of Scheduler features

But after I run "make" to compile it , .config file is reset to the original configuration. Is there any-othe ...

Score: 0
BeckBo avatar
Lenovo Thinkpad E550, either no boot or kernel panic in reverory mode
cn flag

I have a significant problem with booting my computer. Formatting the computer does not help, I have tried more than once to reinstall ubuntu 18.04 LTS and windows. When I have Ubuntu installed I cannot boot, just black screen when I try to let the computer boot normally. If I try recovery mode, I get a kernel panic error. There have been problems getting Windows 10 installed, but after installation the ...

Score: 0
brad avatar
ERROR: Can't find hypervisor information in sysfs!
in flag

Following an update, I can no long boot any of my VMs.

xl create lv-vm-debian01.cfg

gives the error

ERROR:  Can't find hypervisor information in sysfs!

I tried

mv /etc/grub.d/10_linux /etc/grub.d/50_linux

and then


That runs error free but still cannot boot VMs. Yes I rebooted.

Ubuntu 20.04

How do I get past this error?

Score: 44
What is meant by the "Ubuntu kernel"?
ng flag

My thinking was that all Linux distributions used one kernel (the one developed by Linus Torvalds).

So why do all Linux distributions have their own kernel?

Score: 0
creativeguru avatar
Odd Text Flashing in Restart and Shutdown Menu List
in flag

I noticed the other day when I moved my mouse to the area to shut down or restart the computer the text (Shutdown, Restart) in the menu list flashes on and off making it impossible to select anything in the menu list.

The only way I could get the computer to turn off was to physically press the shutdown or restart button on my tower. Has anyone else experienced this odd behaviour? I wonder if it  ...

Score: 0
elysium avatar
-Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100) (08-01-2021)
us flag

I was trying to download Visual Base to Ubuntu 21.04; before actually download, I tried to run sudo apt-get update, it showed there are 4 upgradable n, I ran sudo apt-get dist-upgrade

it downloads the packages but fails to install, it threw an error as the title indicated. Now, I realized I cannot install VB, or any other software, or even update the packages to that matter.

How do I fix this and downlo ...

Score: 0
Pragyan avatar
Stuck on black screen with blinking cursor and mouse pointer after I force closed during upgrade
us flag

I ran sudo apt upgrade. The process got stuck at 49% and my laptop hanged. I couldn't do anything at all to make it work, so I force closed like I used to do in Windows. Now when I boot it up, it sticks on a black screen with a blinking cursor and mouse pointer. How to fix it?

Some background

Also, my laptop is Acer Aspire 7 (Ryzen 5000 series), so it has some problems with kernels 5.10 lower. So I had up ...

Score: 0
Resk avatar
please help with acpi problems
gb flag

Hello and thanks for reading this!

my PC has the kworker problem and I digged a bit with But sadly I don't know how to interpret the backtrace...

So I continued and did run sudo fwts that showed a lot of fails... As I understand them, they are related to acpi problems.

From there I tried to disable the acpi powerbutton function with ...

Score: 1
Danny avatar
How to change TTY screen refresh rate?
cn flag

Linux starts at 60 hz, but Xorg goes up to 144. Monitor has to restart itself which obviously takes ages. I guess it's a minor problem, but it might help me solve a couple more.

GPU is r9 390x, using AMDGPU drivers.

Score: 0
JahStation avatar
howto patch a surface lapotop kernel
ru flag

I found that my system needs at least 2 patch for making it works with no errors, so ive found this howto for installed patches and all seems clear: How to apply patch from git.kernel?

The note that i have found says:

The following patches are required:

pinctrl-amd HID
Quirk providing IRQ7 override supporting pinctrl-amd interrupt ...

Score: 0
Shreyas Devesh avatar
In short i accidentally typed sudo rm /* and now my system doesnt boot as something is deleted in /
cn flag

I am a beginner and hence did a child's mistake and now i cant enter my system and when I try to enter recovery shell it says "Kernel panic - not syncing attempted to kill init?" and i didn't find any answer on how to solve my error online . I am desperate ...

Score: 0
WebLab - group avatar
Can't install anything after installing dde on ubuntu 20.04
gb flag
user@host:~$ sudo apt install iverilog 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
iverilog is already the newest version (10.3-1build1).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up deepin-any ...
Score: 0
Parker Davis avatar
Trying to isolate random freezes in Ubuntu 20.04
cn flag

I'm new to Ubuntu/Linux but an experienced if not expert Windows user. I've set up Ubuntu 20.04 on an older PC with an Asus a8N32-SLI Deluxe (nvidia nforce4 chipset) motherboard and a Radeon HD 7850 as a retro gaming machine for my kids. I have a triple boot with XP, Vista and Ubuntu all loading perfectly. Ubuntu runs fine for a while but crashes periodically with no specific pattern (sometimes whil ...

Score: 0
Laszlo Toth avatar
Several type of Linux logs collecting, correlation, evaluation and system maintenance
dk flag

I have an Ubuntu 20.04 home-purpose-usage operating system. Sometimes to fine-tuning or look after a problem I need to see some logs and correlate them to other type of logs. I have already realized that several types of logs created continuously: application logs kernel logs, HW device logs operating system logs

I have an intention to collect as many type of logs as I can then consolidate &  ...

Score: 0
Ubuntu 20.04 auto resetting Mouse
tr flag

I have a Logitech bluetooth mouse. Since last month, it randomly stopped working every once in a while. If I unplugged and plugged it again, it would work for the next few minutes but eventually stopped as before. I thought the mouse went bad and bought a new wired one. A few days later, I faced the exact same issue. Looked up online and I did find similar issues but none of them were exactly like mine. ...

Score: 1
No internet connection - Ubuntu 18.04
cn flag

I use Ubuntu since 2 months and I had a problem this morning I could not fix. I have tried many solutions on forums but none worked so far. I hope I will find any help here as I need this computer to work.

Issue : Network card is not detected, I do not have access to Wi-Fi, audio and bluetooth. I only have "dummy output" as audio output.

Clue : I tried to fix an issue with Ubuntu giving me black screen wh ...

Score: 0
Amint avatar
modinfo: ERROR: Module /lib/modules/5.8.0-59-generic/updates/dkms/openvswitch.ko
do flag

kindly assist me on our to resolve this error (modinfo: ERROR: Module /lib/modules/5.8.0-59-generic/updates/dkms/openvswitch.ko) while I was trying to upgrade the kernel with this command ""