Questions tagged [kernel]

The kernel is the central component of the operating system and manages hardware, process scheduling, file systems, virtual memory paging, inter-process and network communication, etc.

502 questions
10
votes
2 answers

Control GPIO pins from C

Most of the libraries, in multiple languages, interact with the GPIO pins via /sys/class/gpio/export, /sys/class/gpio/import, /sys/class/gpio/gpio10/value, etc. However the linux kernel docs clearly state that is the legacy way of doing things. What…
Simão Martins
  • 211
  • 1
  • 2
  • 6
5
votes
3 answers

Stuck with the old kernel

I did recently an updated (sudo apt-get updated && sudo apt-get dist-upgrade) on my 3 raspberies. Two RPI 3B, and one RPI Zero W. The strange thing is that the raspberries that I installed later (a year later), have the newest kernel and bootloader,…
5
votes
1 answer

How do I roll back a kernel upgrade?

I am using the Occidentalis distro and stupidly ran apt-get upgrade without thinking about the repercussions. After a reboot I now am on a stock kernel, which means I lost kernel support for OneWire, which was my reason for using Occidentalis. Is…
speshak
  • 171
  • 1
  • 6
5
votes
2 answers

How to get a specific kernel version for Raspberry Pi Linux?

I'm trying to find the source for version 3.12.20, but the current 3.12.y version on GitHub is 3.12.24. I understand I can just update my current version, but shouldn't downloading the source for my current version surely be faster?
chintogtokh
  • 153
  • 1
  • 1
  • 3
5
votes
1 answer

End kernel panic not syncing cannot allocate swiotlb buffer and cannot provide with dma bouncer buffer

I am using raspberry pi 4b after successfully installation of raspbian os i connected the pi with raspberry display (official raspberry pi 7 inch display) then error msg appears as kernel panic cant allocate swiotlb buffer before and cant allocate…
vaibhav kadam
  • 51
  • 1
  • 3
4
votes
3 answers

CentOS Development Tools "No package kernel-devel available."

When attempting to install the Development Tools on CentOS 7 I get the error: Error: Package: systemtap-devel-2.8-10.el7.armv7hl (base) Requires: kernel-devel However I can not seem to find a kernel-devel with yum search? Anyone know how…
Enayet Hussain
  • 538
  • 2
  • 5
  • 10
4
votes
1 answer

How to get kernel source corresponding with the kernel installed by rpi-update

After an upgrade using rpi-update the kernel could be upgraded. The script download the kernel from an other gihub repository rpi-firmware. Till now, in order to get the kernel source, I download the last kernel source from…
mpromonet
  • 1,124
  • 18
  • 37
3
votes
2 answers

top/htop not showing CPU usage of kernel processes

I'm trying to improve FPS from a USB webcam. Supposedly I should be able to use htop to show where the bottleneck is, since top won't show kernel processes such as time spent waiting for disk access. (top only shows about 10% CPU usage when clearly…
Jodes
  • 562
  • 2
  • 6
  • 19
3
votes
2 answers

Is it possible to run only the kernel?

I would like to run some user space application, hence I would like to know whether the followings are possible: is it possible to run only the kernel without Debian? if yes, how can I compile and run my application?
Mokus
  • 983
  • 5
  • 10
  • 19
2
votes
1 answer

Systemwide Hotkey that runs a script

I know its possible to assign a Hotkey to run a Python script by configuring the openbox/lxde-pi-rc.xml. However this Hotkey then only works under X11 GUI. What I would need is a hotkey that works even if the system is not booted into the GUI but…
Boooing
  • 23
  • 4
2
votes
4 answers

Which kernel source is required to compile for Raspberry Pi?

I am trying to compile and build a kernel image for Raspberry Pi. I build my customized cross compiler tool-chain for Raspberry Pi using Buildroot. Successfully I got all tools which I needed. I found a Linux header 4.1.5 in dl directory of…
2
votes
1 answer

image very small and time to build too short

I've performed a kernel building by performing this map. Each step have been all right until the step 9 make ARCH=arm CROSS_COMPILE=${CCPREFIX} and no errors occured. I did default configuration for new options in make old_config and my .config has…
steffff
  • 31
  • 2
2
votes
1 answer

Install Custom Kernel

I have a custom linux kernel I need to use. I have the source tree and seem to have cross-compiled it correctly. I don't need help with that, but I don't know how to now install and use the kernel. Can I use this with any Raspberry Pi OS and if…
goldilocks
  • 58,849
  • 17
  • 112
  • 227
2
votes
1 answer

How to upgrade my Pi to a new major kernel version?

I am considering upgrading the kernel of my Raspberry Pi router to 3.19. But how can I do this? I have found an out-of-tree nl80211-compatible driver for rtl8188cus that supports hostapd and acs, but it calls for a 3.19 kernel. How do I build this…
Maxthon Chan
  • 1,051
  • 7
  • 14
2
votes
0 answers

How do I install the matching kernel sources for raspbian?

After spending a lot of time with the presumably correct kernel source for my RPi in order to compile a driver (kernel sources for the driver module and the built kernel need to match precisely, settings included) I gave up and decided to start from…
cedivad
  • 121
  • 1
1
2 3