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
1
vote
2answers
598 views

Kernel Configuration for CAN-Bus

I'm trying to configure my can-bus module. I'm following these steps . My branch is 3.18.y-rebase (from github) When I came to device drivers->spi support step I couldn't see BCM2798 SPI controller ...
1
vote
1answer
232 views

“Bind” linux kernel to a specific cpu?

I'd like to build a linux kernel that's specific to a given Raspberry, ie. one that won't boot on any other Raspberries. My idea is to bind the kernel to the cpu's serial number bit I haven't found ...
1
vote
1answer
1k views

Linux based cross compiler [duplicate]

I need an ARMv6 cross compiler for my B and B+ pis, primarily for building the kernel since this requires many hours on the pi itself and sometimes requires trial and error to get right. I would also ...
1
vote
1answer
6k views

Need help troubleshooting kernel Out of memory: Kill process

I've set up a weekly backup cron job using tar and xz. Lately I'm getting the xz process killed by the kernel because of lack of memory. From /var/log/errors.log: Jun 30 03:52:09 pi kernel: [1155695....
1
vote
1answer
870 views

Pending kernel upgrade even after reboot my RPi4

Every time I update my Pi4, it runs needrestart which complains that I'm using an old kernel version and I should reboot, but rebooting doesn't change anything. First, I have to precise that: I ...
1
vote
1answer
146 views

Running Docker on Raspbian — need to install raspberrypi-kernel-headers

I am running an image that's running on several amd64 servers and on a brand new RPI4. One of the things that's needed are the kernel headers. The image is being pulled is FROM debian:stable-slim. ...
1
vote
2answers
495 views

Cannot boot Raspberry pi into recovery mode

I am getting an error with my Raspberry Pi on boot: Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,2) I have been trying to follow this answer: Kernel panic-not syncing: ...
1
vote
1answer
242 views

Installation of kernel module for I2S Mic fails

I have a I2S mems microphone from adafruit. Now I am following the guide at https://github.com/nejohnson2/rpi-i2s#compile-the-i2s-module Now after I have mounted the debugfs I attempt to look for the ...
1
vote
1answer
35 views

custom kernel fails to boot - 'task init:1 blocked for more than 120 seconds'

I'm trying to build a custom kernel for my 3B+ (following this guide: https://www.raspberrypi.org/documentation/linux/kernel/building.md). It seems to boot without any error messages until it ...
1
vote
1answer
730 views

Missing cpu.cfs_period_us cgroup subsystem in Raspbian Stretch on Raspberry Pi Zero

I'm dabbling about with cgroups on my Raspberry Pi Zero using the latest version of Raspbian Stretch and I was surprised to see only the following cpu cgroup subsystems available: cgroup....
1
vote
1answer
57 views

latest raspbian kernel update broke bash

I just updated by raspbian box (stretch, upgraded raspbian-kernel, using it as console only) and somehow broke bash. Every time I try to log in (either by ssh or locally) I get the following error: ...
1
vote
1answer
1k views

Header files not being found (sys/stat.h)

I am trying to compile a device driver to control some LEDs connected via GPIO pins. First, I got errors that /lib/modules/4.14.31-v7+/build was not found, so I ran sudo apt-get install raspberrypi-...
1
vote
2answers
7k views

Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,6) running Raspbian NOT on top of NOOBS

I tried many fixes, but most of them are for NOOBS Raspbian installations, not for a clan Raspbian installation. I got the following Kernel Panic error: Kernel panic-not syncing: VFS: unable to ...
1
vote
1answer
185 views

Raspbian Kernel Cross Compiling Peripherals not working

I am having trouble compiling the Raspbian kernel from source. I used the instructions here: https://www.raspberrypi.org/documentation/linux/kernel/building.md. I am cross compiling on Ubuntu 16.04 ...
1
vote
2answers
4k views

Continuesly monitor GPIO input change/events in Bash

On a Raspberry Pi you can set the GPIO pins as an output or an input. An output or an input can be either high or low. For example, to monitor the input state (high or low) of GPIO pin 26 you can ...
1
vote
1answer
1k views

Trying to apply real time patch to kernel 4.9.76

Raspberry Pi 3 model B OS: Raspbian 9.3 stretch Kernel: armv7l Linux 4.9.76-v7+ CPU: ARMv7 rev 4 (v7l) @ 1.2GHz RAM: 1GB I'm trying to apply the real-time patch (it's highly desirable for my ...
1
vote
1answer
2k views

dtoverlay=gpio-poweroff not working on raspberry pi 3 B

Problem: I have a Raspi 3B rev: a02082 (Q1 2016 3 Model B 1.2 1 GB (Mfg by Sony)) running raspbian jessie kernel 4.9.35-v7 I want to signal to a power management circuit that filesystems ...
1
vote
1answer
950 views

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

end kernel panic error during booting

I'm using raspberry pi model B.i have write the raspberry-stretch 2017 image to sd card. but when i put it on my pi, pi show the following error end Kernel panic-not syncing: VFS: unable to mount ...
1
vote
1answer
5k views

How do I install v4l2loopback on raspbian Jessie

Normally I get v4l2loopback by simply git clone https://github.com/umlaeute/v4l2loopback cd v4l2loopback make && sudo make install sudo modprobe v4l2loopback video_nr=10,11 and now I get: ...
1
vote
1answer
4k views

Loading kernel module *qmi_wwan* before *option* to get /dev/cdc-wdm0 automatically

I try to setup a USB modem (Chip is a SimTech SIM5215) using QMI. Everything works fine and it connects to my mobile provider. One problem remains: most of the time the kernel loads the module option (...
1
vote
1answer
3k views

Problem compiling a kernel module

I am trying to compile a driver for a USB to serial converter. I've ran the following commands based on a previous thread: sudo apt-get update sudo apt-get upgrade sudo rpi-update I then downloaded ...
1
vote
1answer
159 views

How to install custom mainline kernel in Ubuntu snappy core?

I have cloned latest Torvalds kernel, compiled it for the Raspberry Pi 2 model B and generated deb packages as well. When I install them using dpkg -i *.deb the files under /boot/firmware are not ...
1
vote
1answer
928 views

Modifying libcomposite module doesn't work

I'm trying to modify the libcomposite module in a way that it prints the functions of which are loaded to the log file. I'm using an Raspberry Pi Zero W with the 4.9.20+ Kernel. I updated everything ...
1
vote
1answer
699 views

Why did my kernel version rolled back after rpi-update and apt-get update? Should I only use one of them?

I'm currently using Raspbian (Jessie). Yesterday I've done rpi-update. I've checked the kernel and it's up-to-date (from 4.4.27-v7+ to 4.4.30-v7+). After reboot I did apt-get upgrade but ...
1
vote
1answer
1k views

How to permanently delete this line in Kernel IP Routing table

I have a problem to delete line in next routing table. Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 160.99.37.11 0.0.0.0 ...
1
vote
1answer
660 views

Disable expert mode

I'm trying to recompile a kernel with audit support for that a use the following command: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig -j 12 make menuconfig arch=arm When I try ...
1
vote
1answer
5k views

getting error on raspbian boot up failing to start Load Kernel Modules

Getting error on Raspbian boot up: $ sudo systemctl status systemd-modules-load.service -l ● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-...
1
vote
2answers
558 views

Yocto build on Raspberry Pi3 stuck on Rainbow screen

I am trying to learn about Yocto Project on my Raspberry Pi3 board. I have followed the steps mentioned in this link to build the Yocto image. I am behind a firewall, so I have changed the git.py ...
1
vote
1answer
219 views

Ubuntu MATE booting into Raspbian lock screen then not starting?

I have two micro SD cards, one with Raspbian, one with Ubuntu MATE. After using a different monitor for a while, I went back to my flat screen, and it said "Not Supported". So I changed the HDMI ...
1
vote
1answer
386 views

I cannot change the kernel on 4.4.11-v7+

I have a pi 2B where I installed raspbian using noobs on 6-14-16. I have been trying to compile drivers for a wireless nic, specifically the archer T4UH. Doing this requires that the kernel be ...
1
vote
2answers
217 views

Why my RPI in showing black screen and two icons?

I'm able to boot into Raspbian, but the screen is black and is showing the icons and I'm not able to use Keyboard or mouse. It was working fine until today. and this is what I'm getting before the ...
1
vote
1answer
155 views

Raspberry Pi 2 and Adafruit Thermal Printer 597

I have been encountering problems regarding my raspberry pi 2. I've been following the instructions given @ https://learn.adafruit.com/pi-thermal-printer/overview when I change parameters in my /...
1
vote
2answers
4k views

Asus USB WiFi driver install

I am in the process of creating some access points and have bought three RPi2. Before this purchase I've followed this tutorial and managed to create an AP. For that I used 1 Raspberry Pi 2, ...
1
vote
1answer
2k views

Installing ESP8266 SDIO driver; “make” command gives “Kernel build tree not found” error

I'm attempting to add a kernel module on a Raspbian Debian installation for an SDIO-based wifi module driver( found here: https://hackaday.io/post/28712) The stable image comes with kernel 4.1, so ...
1
vote
1answer
618 views

Trouble with rpi-source with kernel 4.0.x

Since a while I was using rpi-source to download kernel source corresponding to the kernel update using rpi-update. As it works great on kernel Linux pib 3.18.14+ #793 PREEMPT Sat May 30 13:15:19 ...
1
vote
1answer
804 views

missing crypto kernel module on Raspberry Pi 2

I'm trying to use dm-crypt on my Raspberry Pi 2 with Raspbian (jessie) to open a trueCrypt volume, but i get Required kernel crypto interface not available. Ensure you have algif_skcipher kernel ...
1
vote
1answer
874 views

How to U-Boot for Arch linux over NAS?

I want to use u-boot my Arch linux including the kernel from the NAS via NFS (or TFTP if it requires). I have installed Arch before and I understand kernel.img, I have read this link about U-Boot ...
1
vote
1answer
326 views

Keyboard and Wi-Fi dongle don't work after updating kernel

I have installed Raspbian on my Paspberry Pi and was experimenting with developing for it. I have followed this tutorial and cloned the kernel on an Ubuntu VM to cross compile it with raspberry tools. ...
1
vote
2answers
2k views

Raspbian kernel source compilation configuration

I try to compile Raspbian, [ http://hermess.no-ip.org/rpi/index.php ] when I Prime kernel with the old config: make ARCH=arm CROSS_COMPILE=${CCPREFIX} oldconfig I get a lot lot of dialog messages, so ...
1
vote
1answer
783 views

Installing kernel 3.10.24 headers on raspbmc

I'm trying to build drivers for my wifi dongle (a LogiLink WL0084B), but for that I need to download kernel headers for my current kernel (3.10.24). I'm using raspbmc. Sadly I cannot find where to ...
1
vote
1answer
2k views

How do I install webcam firmware on the Raspberry Pi?

I want my Raspberry PI to be able to use this cheap webcam I bought from China. Identified as 17a1:0128 TASCORP After quite a bit of searching I found a post from someone who had got it to work ...
1
vote
0answers
146 views

ZFS and USB boot on Pi4b 8Gb

I'm trying to make myself a NAS appliance with a Pi4b 8Gb. I would like to use ZFS for my storage but I'm having some trouble with installing it on pi OS. I'm trying to use USB boot (No SD) so I can ...
1
vote
0answers
158 views

Failed to start Load Kernel Modules for installing Ubuntu 18.04 on Raspberry 4

I tried to install Ubuntu 18.04 on Pi4. I followed the link from ubuntu for pi. After inserting the SD card with Ubuntu image, the error appeared after few lines with [FAILED] Failed to start Load ...
1
vote
0answers
62 views

Compile Linux kernel with toolchain built for aarch64 and uClibc

I am using RPI3 model B I have compiled toolchain using crosstool-ng with the following sample. ./ct-ng aarch64-rpi3-linux-gnu Using ./ct-ng menuconfig, I changed C library from glibc to uClibc. ...
1
vote
0answers
48 views

LIRC null values, Raspbian Buster

I tried to install an IR receiver on my Pi 3B under Raspbien Buster, kernel 4.19. I managed to install lirc, and when I use mode2 -d /dev/lirc0 I read pulses. The problem is the following : when I ...
1
vote
0answers
178 views

Getting ftdi_sio ttyUSB0: failed to get modem status: -32

Iam using Raspberry pi 3b along with Xbee and Sixfab 3G/4G base sheild. getting ftdi_sio ttyUSB0: failed to get modem status: -32 usb usb1-port1: disabled by hub (EMI?), re-enabling... and also ...
1
vote
0answers
55 views

FIQ interrupt configuration

I have tried to write a driver (in the kernel) that interrupts every time the data received from the ADC is ready to be read (Analog to digital conversion is done). The problem is that sometimes the ...
1
vote
0answers
25 views

If I want to program I2S by bit-setting the PCM registers manually, do I need to disable any kernel settings (eg snd_bcm2835)?

(I'm not with my board at the moment - if I need to share my code, I'll have to edit this post or post a new one at a later time) I didn't realize how complicated I2S setup on the Pi is. I've been ...
1
vote
0answers
172 views

Raspberry Pi 4 becomes unresponsive after Chromium idle

I am building a kiosk application on my Raspberry Pi 4 (4GB RAM Version) that requires that Chromium continuously idles as a service. I created a supervisorctl service that will keep it alive and give ...

1
3 4
5
6 7
9