Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
0
votes
0answers
4 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: ...
0
votes
1answer
28 views
+50

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

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the cpu....
0
votes
2answers
35 views

Help Patching a driver

I've been tasked with updating a driver on a Raspberry Pi 4 running Raspbian. I'm told I need to apply this patch https://lkml.org/lkml/2019/4/1/1050 in order to get my USB modem to work. When I run ...
1
vote
1answer
383 views

Stuck on Rainbow Screen after kernel upgrade on CentOS7

I ran 'yum update' on my Raspberry Pi3 running Centos7, and now it will not boot. Both LED's are solid (no flashing) and it does not get past the 'Rainbow Screen'. The following packages were ...
0
votes
1answer
212 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted on top of a dual-primary DRDB /dev/drdb0 volume on Raspbian, but I'm hitting an issue. The DRBD volume has a working stonith/fencing cluster setup using ...
0
votes
1answer
134 views

Compiling modules for cross-compiled arm64 kernel fails with Syntax error

I successfully cross-compiled the current Raspi Kernel on my 64-bit machine to the target architecture arm64. I went through all the necessary steps for inserting the newly built kernel into my Dietpi ...
0
votes
1answer
44 views

make -j4 zImage fail missing kdb_cmds reference

I'm trying to recompile kernel on my RPi3A+. Excecuting the following commands on clean Raspbian 9 (stretch): sudo apt-get install openssl-dev sudo apt-get install git sudo apt-get install bc sudo ...
1
vote
1answer
880 views

Touchscreen LCD USB (HannsG and elo) behaving unexpected on raspi 3

I tried to connect a Hanns­G HT225HPB 21.5'' touchscreen or an Elo ET1502L to my Raspberry Pi 3. Both connect via HDMI and USB for touch. Both seem to work at first glance but are not really usable. ...
6
votes
4answers
13k views

Linux headers generic package not found

I need to compile this driver, however I'm missing my kernel headers. I've tried installing them the normal way: sudo apt-get install linux-headers-generic Package 'linux-headers-generic' has no ...
0
votes
1answer
53 views

How to verify the correctness of a kernel upgrade before performing the final reboot

I remotely manage a couple of raspberry-pi's as vpn servers using ssl over openvpn. One of these pi's is becoming problematic: it recently somehow gets misconfigured after almost every raspberrypi-...
2
votes
1answer
59 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 ...
0
votes
1answer
120 views

New RPi OS kernel panics with VFS: Unable to mount root fs on unknown-block(179,2) not using NOOBS

Hi I have 6 Raspberry Pis and none of them have encountered this error when using this EXACT setup. I boot up. Get a bunch of messages telling me that my CPU swapper is not tainted (not official ...
0
votes
1answer
319 views

Can I modify an RPi2 image to boot on an RPi3 B+?

I have a Raspberry Pi 3 B+, and none of the operating systems that usually work on the RPi 3 will boot. I've done a small bit of research, and I think this has something to do with an outdated ...
0
votes
0answers
18 views

Ubuntu 18.04 LTS - Cross-compiling Raspberry Pi Kernel - modules_install doesn't create files

I am trying to build a Raspberry Pi kernel by cross-compiling on an Ubuntu 18.04 LTS instance. The compilation of zImage, modules, and dtbs all complete as expected. However, when I run the make ...
0
votes
1answer
129 views

Why is ttyAMA0 initialization too long?

If I understand the dmesg output correctly, there is something happening for almost one second around the UART console initialization: [ 1.090771] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq =...
0
votes
2answers
155 views

LIRC Tutorial For Rpi2B+ Buster Too Old Problem

I'm trying to set up lirc on a Pi2 B+ running the latest Raspbian buster and latest kernel / firmware set by rpi-update. I've started from this HOW-TO. All I get from sudo modprobe lirc_rpi is: ...
1
vote
1answer
75 views

Raspberry Pi 3 Freezing / Crashing

A project I'm working on uses Raspberry Pi 3 boards to power a display which simply runs chromium in kiosk mode to display a webpage (a web app I've built for this project). Alongside this is a small ...
1
vote
2answers
269 views

vcgencmd in buildroot

I am using buildroot to create a custom os for my raspberry pi. I would like to use the vcgencmd command, but I am unable to find the package that includes these tools. I have tried searching the ...
1
vote
1answer
473 views

Raspberry Pi Zero as webcam

I read some case, like using dwc2 and g_webcam in /boot/config and cmdline. but hard to understand and doesn't work. and can't find a tutorial, there are some tutorials only about serial and ethernet. ...
0
votes
1answer
91 views

Raspbian: dpkg hangs during raspberrypi-kernel package upgrade

while doing an apt upgrade on my Raspberry Pi 4 (Raspbian 10 - Buster), dpkg was interrupted during setup of the raspberrypi-kernel package: raspberrypi-kernel (1.20190819-1) wird eingerichtet ... »...
0
votes
1answer
138 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 ...
3
votes
4answers
1k views

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 ...
1
vote
0answers
96 views

new raspbian image doesn't detect usb cdc device

I have a usb cdc device that works fine in raspbian stretch. But when I change the image to new raspbian buster, my usb device isn't recognized. lsusb doesn't list my device at all! I've enabled cdc-...
0
votes
1answer
51 views

My RPi0 W crashes

My RasPi 0 W Crashes while updating and upgrading after i newly flashed the SD card with 2019-07-10-raspbian-buster-lite.img my putty console: login as: pi pi@192.168.2.119's password: Linux ...
3
votes
1answer
282 views

No USB with upstream kernel

I have built a kernel for Raspberry Pi 2 using the latest upstream kernel (version 4.15-rc5): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ I configured it with ...
0
votes
1answer
157 views

Patch a RPI image to get a root shell

I'm trying to reverse engineer an appliance based on RPI2, and I would like to get a root shell on the system. After dumping the SD I noticed that there's no rootfs partition (it exists but it's ...
1
vote
1answer
292 views

Kernel Development with Raspberry Pi

I want to start working and playing with linux kernel. Instead of trying on my own system, I want to do the same on raspberry pi. I want to compile my own kernel and start working on my first kernel ...
6
votes
2answers
5k views

How to use the perf utility on raspbian?

I'd like to use the perf tool on my 2016-02-09 Raspbian Jessie operating system. For that, I have installed the linux-tools package (which contains perf). The kernel version in use on that image is 4....
0
votes
0answers
20 views

Trouble adding a gpio device to the device tree

I'm trying to connect an hx711 to GPIO23 and GPIO24 pins on an RPI3 A+, and I need to specify this in the device tree to have the hx711.ko driver be probed. I've been stuck on this problem for some ...
0
votes
1answer
127 views

Embedded Xinu for RPi

I have completed with setting up the cross compiler but stuck with the compiling part. I have build all the gnu binutils and the gcc successfully in the directory: /home/admin/xinu/opt. But while ...
0
votes
1answer
243 views

g_mass_storage issues in 4.9 kernel

I previously had the Mass Storage gadget mainly working with the April version of Jessie (kernel 4.4.50+). Unfortunately it wasn't working on all systems so I thought it would be worth updating to see ...
0
votes
0answers
34 views

kernel warning in dmesg

I've bought a new 3B+ and when I add dtdebug=1 to config.txt in /boot the following shows up in dmesg. I'm also having a problem where a GPIO extension board isn't being picked up at all, is this ...
0
votes
0answers
56 views

Does the time setting function screw with the programs during startup?

I have been here before with the freezing pi0s. I am running pikrellcam in several pi's with the aim to connect several cameras in network to take wildlife videos but have got stuck with recurring ...
5
votes
1answer
308 views

Kernel/Firmware as Debian package

It says on the official site that "the kernel and firmware are installed as a Debian package, and so will also get updates when using [apt-get upgrade]" I run apt-get update / apt-get dist-upgrade ...
0
votes
1answer
384 views

Raspberry not booting up after trying kernel compilation

I had placed fresh noobs on SD card and booted Raspberry Pi many times in the past. To install a custom kernel, I went with the follwing steps: git clone --depth=1 https://github.com/raspberrypi/...
0
votes
1answer
406 views

USB/Bridge using MAX3421

Please, could someone help me, I am trying to use the module (max3421-hcb) with the raspberry pi 3, but I really don't know how to load this module, with the parameters, like wich GPIO will act as INT ...
0
votes
1answer
640 views

Kernel panic - not syncing : out of memory and no killable processes when booting after setting GPU memory to 256 MB in raspi-config

I tried booting in recovery mode (holding down shift from a USB keyboard attached to the Pi2) and still can't boot to fix. Any solutions? Thanks
0
votes
1answer
1k views

Error compiling and loading driver on the Raspberry Pi

I bought a temperature sensor with a usb adapter and needed to install a driver for it, but I could not compile the driver provided by the manufacturer. pi@raspberrypi:~/CH341SER_LINUX $ make make -...
0
votes
3answers
651 views

GCC version for compiling a loadable kernel module

I am not very familiar with Linux, so may be my question is a little bit foolish. I would like to compile kernel module without recompiling the kernel (USB Wi-Fi stick driver for MT7106U chip). I ...
0
votes
1answer
1k views

dmi: Firmware registration failed

I have installed Gentoo kernel 4.14.y from https://github.com/raspberrypi/linux. dmesg shows the following errors ... ... [ 0.182547] dmi: Firmware registration failed. ... ... [ 2.224843] mmc1:...
8
votes
3answers
1k views

Is it possible to run Raspberry Pi 3 with a 64-bit kernel and 32-bit user space?

I just got my hands on a Raspberry Pi 3 and I would like to start experimenting on it, specially regarding the 64-bit instruction set. I'm well aware of the pros and cons of the 32-bit versus the 64-...
1
vote
1answer
613 views

Problems with compiling drivers for rtl8192cu

I'm trying to use realtek 8188cu module in concurrent mode(both station and AP mode simultaneously). I downloaded the driver source files from here: https://github.com/raspberrypi/linux/tree/...
0
votes
1answer
357 views

How to revert from rpi-update to stable build

I have been using a RPi3 for the last year without any issues. I have had rpi-update as part of a regular update process (cron job). Lately I have been experiencing crashes. I started to investigate, ...
0
votes
0answers
44 views

How to make a program run on boot in the RPi kernel

I'm currently working on a fork on the raspi kernel for streaming cable channels (I have that ready. That's not what I need help with). What I need to know is how to get a program to run on boot (This ...
10
votes
1answer
1k views

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 ...
2
votes
2answers
91 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 ...
3
votes
1answer
394 views

How do I add an i2c device to the device tree?

I am trying to add an mpu 9250 to the device tree of my RPi 3 A+ so that my custom driver's probe function will be called. I have followed this documentation about the Raspberry Pi device tree and ...
0
votes
0answers
29 views

“Native” armhf/armv7/aarch64 Raspbian environment on x86 pc/virtualbox?

I am very encouraged in development of some specific software to run on RPi 3B or higher, BUT it is quite a pain to test it in qemu with max of 256m ram and single core "verstatilepb" setup while ...
0
votes
1answer
263 views

End kernel panic problem

I'm a newbie, trying to connect a gps to my raspberry pi 3 bit. After rebooting I can't get any further, and receive the message End Kernel panic - not syncing: VFS: Unable to mount roof fs on ...