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.

Filter by
Sorted by
Tagged with
3
votes
0answers
106 views

Implementing a system call for CPU hotplug on RPI3/ModelB

My goal is to implement a system call in linux kernel that enables/disables a CPU core. First, I implemented a system call that disbales CPU3 in a 4-core system. The system call code is as follows: ...
3
votes
0answers
364 views

Issues getting specific Raspberry Kernel Sources from Github [closed]

I have a Issue getting the Kernel Sources for the Raspberry from Github. To be clear, I have no Problem in getting them as such, but for a specific Kernel Version of the 3.10.y-Branch, lets say 3.10....
3
votes
1answer
197 views

linux-imag-?-dbg and linux-headers package missing

I'd like to make use of systemtap on my 2016-02-09-raspbian/jessie system. For that I need the kernel debug package and the kernel headers. The kernel in use is: root@raspberrypi:/home/pi# uname -r ...
2
votes
3answers
9k views

Compile linux device driver in Raspbian

I have some problems with compiling & building a simple gpio driver that I wrote( after THIS documentation). I have a Raspberry Pi Model B+ ( not sure if it's relevant to the question) with a ...
2
votes
2answers
3k views

Raspbian source code

I´m using Raspbian on RaspBerry Pi and it´s working ok, but now I want to modify the distro according to my needs. I know the source for the kernel is found in kernel.org, but I haven't been able to ...
2
votes
1answer
125 views

Recover pi 2 from wrong kernel build?

I built rt kernel incorrectly, so it did not boot at all and I left the old one with a different name. I want to know how to change these files back so it can be booted??I mean by a program for SD ...
2
votes
2answers
15k views

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. ...
2
votes
1answer
79 views

kernel types in Raspbian 10 - Buster

In the /boot directory I've found the following kernel files: kernel.img: Kernel For ARMv6 - rpi 1 and rpi zero kernel7.img: Kernel For ARMv7 - rpi 2 & 3 kernel7l.img: Used In rpi 4 but I don't ...
2
votes
2answers
609 views

How to find a specific kernel version in the Github repository?

I'm trying to get the Linux 4.14.85 kernel, for a problem I've posted before, related to Xenomai. I see here that there is a branch for 4.14.y, but there are no tags to find which commit corresponds ...
2
votes
1answer
101 views

How to make a distribution bootable on raspberry pi / package migration from 32-bit x86 Debian install?

I have a Debian based distro that boots and runs fine on a 32-bit PC. What I would like to do is be able to do the same with this distribution on a Raspberry Pi. It has packages on it that are custom ...
2
votes
2answers
324 views

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 ...
2
votes
3answers
2k views

Disabling IRQ #32

Suddenly, out of the blue, I got this message: Message from syslogd@raspberrypi Kernel: [1277.201127] Disabling IRQ #32 and then my PI froze. What could be causing this and how would I fix it.
2
votes
2answers
13k views

Colored screen when booting raspbian from noobs

i have a raspberry pi model b with noobs and raspbian installed on the sd card. ive used it for quite a while but today when i boot the pi it just shows me a colored screen and i cant do anything. i ...
2
votes
3answers
5k views

Should I use use `rpi-update` for kernel upgrading on Ubuntu Mate v16.04.3 LTS for RaspBerry Pi 2 B+?

According to the GitHub rpi-update site: This is only intended for use with Raspbian. If you are using a different distribution then check with the maintainers if using rpi-update is safe. ...
2
votes
1answer
1k views

Why can't the kernel7.img be replaced with a kernel from Fedora's arm builds?

I was able to get fedora running using a kernel from a raspian image (as proposed here). But when I replace the kernel7.img with the vmlinuz-4.2.3-300.fc23.armv7hl from a Fedora-Minimal(armhfp) the ...
2
votes
1answer
3k views

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. ...
2
votes
1answer
8k views

Restore kernel version

I have Raspbian 3.12.X, and I want to compile modules, so I installed a distribution with kernel headers: sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv Then, I tell Raspbian to ...
2
votes
3answers
163 views

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 ...
2
votes
1answer
58 views

Building an old kernel is not possible because the arch/arm/boot/dts/overlays/ directory does not exist

I've been trying to build a kernel from the 4.14.85 version. I followed the instructions from the official documentation but instead of using the latest version you can find in the repository I ...
2
votes
2answers
124 views

Fastest way to copy gpio state to memory?

Following an impressive write-up in MagPi 32,there has been other write-ups for better parallel ADC control from a Raspberry Pi. It appears that the ADC can be driven by Raspberry on-board clock at ...
2
votes
1answer
206 views

Reading files with a custom kernel

I've been following this tutorial showing you how to write a custom kernel for the raspberry pi. Everything's working out well, but I can't figure out how to read files from the boot partition of the ...
2
votes
1answer
3k views

How to use BMP280 SPI Kernel Module

I got a adafruit BME280 sensor board and I wired it to the raspberry pi zero via spi. According to the datasheet I can read sensor data from the device via the userspace spi interface. Everything ...
2
votes
1answer
1k views

Why don't LXC containers start on RPi1B (lxc_seccomp policy loading error)?

My LXC containers do not start, any of you knowledgeable people know why? Your insights would be greatly appreciated; also when they do not directly offer a solution, but point me in a direction ...
2
votes
1answer
2k views

end Kernal Panic - not syncing: VFS: Unable to mount root fs on unkown block (0,0)

I have the following error after attempting to boot ua-netinst from a 64GB Class 10 Verbatim microSDXC formatted to FAT32 on Windows7 with fat32format: end Kernal Panic - not syncing: VFS: Unable to ...
2
votes
1answer
3k views

How to set pull up/down resistors in a kernel module

Hellow I'm enthusiast newbie in linux kernel modules development. I started writing basic kernel modules that control Pi's gpio. But i came in to sticky situation i need to set pull up/down of pins ...
2
votes
1answer
468 views

Error compiling kernel using guide provided on Raspberry Pi website

I'm encountering errors while trying to compile the kernel from source. I've looked around but I'm not finding anything that deals with the error I'm seeing specifically. I am using the guide on the ...
2
votes
1answer
111 views

What are the steps to port a edited Kernel to a newer version?

Title is the full question. Story: I got now one of these 3.6" TFT Screens for the Pi. Now I followed this tutorial on how to set the Pi up for the screen, which is basically a changed kernel. Now ...
2
votes
1answer
1k views

Raspberry Pi kernel compilation adding Galaxy touchscreen drivers

I am trying to add the eGalaxy touchscreen drivers to raspbian os . Following this link .. http://simonmcc.blogspot.in/2013/08/raspberry-pi-rpi-kernel-build-for.html?showComment=1421908155346 But ...
2
votes
1answer
3k views

Raspberry Pi freezes during boot

I can't get past the attached picture. Nothing happens anymore. The red light is always on. I don't have anything plugged in the USB. It just stays there, and the cursors continues blinking. Also, at ...
2
votes
1answer
466 views

download kernel source code : error : Not enough diskspace (900MB) on /root

I need to download the source code of my current kernel with rpi-source command I receive an error Not enough diskspace (900MB) on /root I have an 8GB SD card. ubuntu shows me two partitions one ...
2
votes
1answer
1k views

Redirecting stdout and stderr to UART

I am building my own cross-linux-from-scratch (CLFS) system for Raspberry Pi. I already build whole system, I prepared SD card and now I try to boot. I am redirecting all kernel output to serial ...
2
votes
2answers
118 views

Raspberry PI boot FAT32 arrangement

I recently thought about tinkering with Raspbian by adding an initramfs. But I have still some unresolved questions about the boot (FAT32) partition. Does the partition have to be on a specific ...
2
votes
1answer
114 views

How to Package Custom RPI Kernel into *.deb?

I have compiled a custom Raspbian kernel from source because i need to enable the CONFIG_AUDIT flags for installing SELinux & Auditd. Following the Official Kernel Documentation i was able to do ...
2
votes
1answer
114 views

Kernel Parameters in AArch64

My Raspberry Pi 3B runs fine with the standard installation of ArchLinuxARM-rpi-3-latest.tar.gz. However I cannot set kernel parameters anywhere for a custom TFT. Formerly there was a file cmdline.txt,...
2
votes
2answers
4k views

Build a customized Linux kernel for the Raspberry Pi

I downloaded a linux kernel "linux-4.1.13.tar.xz" from kernel.org that i want to compile them for Raspberry Pi. Is it possible?
2
votes
1answer
430 views

spi stopped working after upgrade

I recently ran apt-get dist-upgrade on my Raspberry Pi B. Afterwards the spi-devices /dev/spi* were gone. This is the changelog of the upgrade: Package changes: +device-tree-compiler 1.4.1-1+rpi1 +...
2
votes
1answer
733 views

Can't mount volume encrypted with aes-xts-plain64 after upgrading to Jessie

I have an encrypted disk attached via USB. After upgrading to Jessie, I'm not able to mount it any more, getting error Check that kernel supports aes-xts-plain64 cipher (check syslog for more info) ...
2
votes
1answer
164 views

Cross compile kernel error

While compiling rt kernel following this http://www.frank-durr.de/?p=203 I got that error
2
votes
1answer
88 views

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 ...
2
votes
1answer
273 views

issues installing cross-compiled kernel onto blank SD card

I've followed this tutorial when it comes to compiling a kernel for the Raspberry Pi. I'm installing onto a properly partitioned SD card, which I completely formatted first (it now has a fat32 boot ...
2
votes
1answer
1k views

Problem installing usbip on Raspbian

I am trying to set up USB/IP to share a USB device I have connected to my Pi model B. Here are the steps I have completed. I have installed the usbip package and cross-compiled a new kernel (4.0.6-...
2
votes
1answer
81 views

Time between power on and kernel starting

On my RPi2, I have measured exactly 5 seconds between : "I plug the power cord" and "Kernel starting time 0.00s", as displayed on the top left here: Is there a way to optimize this before-...
2
votes
1answer
1k views

Raspberry Pi kernel image installation on new SD Card (no pre installed Raspbian or NOOBS in it - it's free with no partions)

I have been working on kernel compilation of Raspberry Pi on Ubuntu using a cross compiler. I have compiled the kernel, and I got the image file generated (https://www.raspberrypi.org/documentation/...
2
votes
1answer
266 views

RPi crashes randomly after 1 to 2 days

I don't know what causes it so I write down what I found out so far, hoping it matters: I have multiple rpis installed in my house, all running perfectly, except this one. I exchanged that rpi ...
2
votes
1answer
674 views

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 ...
2
votes
2answers
2k views

insmod segmentation fault error each time I insert a basic module

I'm trying to build some kernel modules on RPI, the ismond work fine for some times, now the insmod command crash each time I try to insert a simple module. the kernel module compile without any error ...
2
votes
1answer
332 views

What is the significance of .y and .y-next in the Raspberry Pi kernel branch names?

The Raspberry Pi kernel repository has branch names that end in .y and .y-next? For example, rpi-3.17.y and rpi-3.13.y-next. What is the significant of the .y and .y-next?
2
votes
1answer
559 views

Building Linux Kernel for Driver Creation

I am attempting to compile the kernel for the RPI using Raspbian. These are the steps I took... (1) Imaged the SD card from http://www.raspberrypi.org/downloads (2) Downloaded the kernel from and ...
2
votes
2answers
345 views

raspbian stretch overrides cmdline.txt kernel.hostname parameter

i'm building an embedded prototyp with a raspberry pi 3b+ and its booting via pxe from the network read only. Multiple devices share the same root file system and just the boot folders are customized ...
2
votes
0answers
88 views

running kernel 3.x on R Pi 3 Model B?

I'm looking to run kernel 3.x (3.14 to be exact) on an R Pi 3 Model B hardware. I'm trying to do this by re-compiling the kernel using the instructions here: https://www.raspberrypi.org/documentation/...