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
0answers
41 views

Schedule for Raspi OS upgrades to 5.5 kernel & libgpiod 1.5

Several months ago, this blog post appeared in a search. In summary, this post outlines the new char device-based GPIO interfaces. It further states that a full complement of features will be ...
1
vote
1answer
33 views

Issues running two PL2303 USB to Serial converters on a Raspberry Pi Zero W

I'm having a bit of a problem building a little network-connected UPS monitor. I have two USB to Serial adapters of the pl2303 kind. Latest Raspbian and I'm running them off a tiny powered USB hub ...
3
votes
1answer
91 views

Editing heartbeat LED trigger

I am trying to edit the timer of heartbeat trigger on RPi Zero. I have found original .c file of kernel driver here https://github.com/raspberrypi/linux/blob/rpi-5.4.y/drivers/leds/trigger/ledtrig-...
0
votes
0answers
115 views

Ubuntu 20.04 KVM kernel for Raspberry Pi 4

I would like to deploy a VM from KVM template on Raspberry Pi 4 running Ubuntu server 20.04. The VM will be configured with an emulated x86_64 CPU. Is there a precompiled KVM kernel for it? If not, ...
1
vote
0answers
77 views

Device Tree for DSA with KSZ9897

I have a custom board with a KSZ9897 switch chip and a LAN7801 upstream. The KSZ9897 is connected to the Compute Module via i2c, and I can see it at 0x5f using i2cdetect. Everything appears to be ...
0
votes
1answer
20 views

Booting of RPi 3A+ fails for the Raspbian stretch 2018-03-13 and even for 2017-08-16

I have a 16GB micro SD card, on which raspbian strecth 2018-03-13 is installed (via win32diskimager, earlier formatted via SD card formatter). It works perfectly for my RPi zero model, but doesn't ...
0
votes
0answers
32 views

I custom build rpi kernel that I misconfigured as the time specific syscalls return bad values. What steps should I take to debug this?

Jump down to edit 2 to see the most current information I have on this question. I am leaving everything else as a preamble explaining the situation. I am setting up my first RPi to be a home DNS ...
0
votes
1answer
119 views

Raspberry Pi 4 unable to run aarch64 binary with aarch64 kernel

I followed this instruction to enable 64 bit kernel. https://www.raspberrypi.org/forums/viewtopic.php?t=250730 And I am pretty sure now my kernel is 64 bit. $ uname -a Linux RPi4 5.4.51-v8+ #1327 SMP ...
4
votes
2answers
825 views

Wireguard “Unknown device type” “Protocol not supported”

I recently installed Raspberry Pi OS on my Pi 3b. After some basic configuration and running raspi-config, I installed wireguard using apt and the debian backport repos, according to a tutorial. I ...
1
vote
2answers
59 views

Compiling linux kernel from source with external module

So, actually I am using raspberry pi with OS version Stretch and kernel version 4.14.98-v7+. I need to add kernel module for wifi module I use from this repo: https://github.com/LairdCP/Sterling-60-...
1
vote
0answers
245 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 ...
0
votes
0answers
45 views

Raspberry Pi Zero Kernel Error Messages

Today I took my raspberry pi zero off the shelf to install the new camera which arrived yesterday. I first run: sudo apt update sudo apt full-upgrade It updated 41 packaged, I don't now what exactly. ...
0
votes
0answers
40 views

Graphics Tablet for Raspberry Pi - MyPaint

I've a Huion New1060Plus graphics tablet which works on Paint 3D Win 10, but I want to use it with MyPaint on the Raspberry. I've tried loading the digimend kernel headers but I'm not sure they are ...
1
vote
0answers
255 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 ...
0
votes
2answers
52 views

How do I know that a Dual-Band USB WiFi dongle will work on Raspbian or other Linux distrobution?

How do I know if a Dual band USB WiFi dongle will work on a Raspberry Pi running Linux? I know that Linux must have a driver that supports the wifi chipset used in the dongle. But with the number of ...
0
votes
0answers
12 views

Which one is sensor from IIO?

I am looking for list of sensors from the kernel drivers. I am not sure which one is sensor and which one is not. Are all of them sensors? If not then how can I get those I mean is there any API ...
0
votes
0answers
24 views

How do I access the mount point of the lower fs when using raspi-config overlayfs script?

When using the new overlayfs feature of raspi-config, the lower directory cannot be found. When checking mount, /dev/mmcblk0p2 does not appear, yet any attempts to mount it show that the mount is ...
0
votes
0answers
38 views

Can't compile kernel

I'm trying to compile the kernel on a brand new install (pi4) using the following steps: apt install raspberrypi-kernel-headers build-essential bc git wget bison flex libssl-dev make libncurses-dev ...
0
votes
1answer
76 views

WARNING: “__sanitizer_cov_trace_pc undefined” when compiling a kernel module in RPi 4

I recently bought a new RPi 4 and tried to install the module I ran on the old RPi 3B (which ran successfully). Now, when trying to install the same module on the RPi 4 I get 2 warnings when compiling ...
1
vote
1answer
72 views

How to boot from a different kernel based on RPI version?

Background: I successfully compiled kernel versions 5.4.y and 5.6.y from source. It turns out I have some keyboard problems with v5.6.y on my RPI4, so I used tried v5.4.y and it works fine. However, I ...
0
votes
0answers
19 views

Problem in initiating i2c driver module for bmp180 i2c based sensor at kernel level

For leaning purpose i am writing a i2c client kernel module for bmp180 pressure sensor. My kernel code is -> #include <linux/version.h> #include <linux/module.h> #include <linux/init....
2
votes
1answer
37 views

where can I get the driver of imx219

I'm building kernel(xilinx) and rootfs(debain10) for Avnet96v2 board which has connetted a imx219 via mipi adapter, where can I get newest official driver for the camera, if it is existing. By the ...
0
votes
1answer
173 views

How can I install GRUB2 on a Raspberry Pi?

With a Raspberry Pi 4, I would like to run Ubuntu and GRUB2. This answer says that GRUB is a prerequisite for the generic Linux kernel, but does not explain how to install it.
0
votes
1answer
251 views

raspbian on RPi4: kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007

For an unknown reason, my RPi4 (latest version of Raspbian) stopped last night during an unattended-upgrade. The most recent traces I found in /var/log are (sorry, in French): pi@raspberrypi:~ $ tail ...
1
vote
1answer
1k 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
0answers
67 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
votes
1answer
164 views

Cannot emulate Raspberry on QEMU

I have a problem when I want to emulate a Raspberry on QEMU. I created a "start.bat" where I put: qemu-system-arm -kernel kernel-qemu-4.19.50-buster -cpu arm1176 -m 256 -M versatilepb -no-reboot -...
1
vote
0answers
49 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 ...
4
votes
2answers
4k views

aarch64 or armv8 with Arch on a Raspberry Pi 4?

I installed arch on my raspberry pi 4 based on the instructions from the arch linux arm site, expecting to get an aarch64 install, or some variant of armv8. Instead what I got was an install of armv7 ...
2
votes
2answers
178 views

is there an equivalent to the dkms tool in raspbian buster?

I am installing a wifi dongle on an RP2B and the only instructions I can find were for Linux Mint using: sudo dkms add ./rtl8188fu I get a command not found. How is this done in Raspian?
2
votes
1answer
252 views

Rasberry Pi - how do I install TUN driver?

I want to install OpenVPN Server on my Raspberry Pi 2, following the same steps I used in a virtual machine running Ubuntu 19.10 Ubuntu works fine, but Raspberry goes on error during the installation ...
0
votes
2answers
625 views

Running x86 Windows app on a Raspberry Pi 3B

I followed this guide to install QEMU in a chroot and I'm able to execute x86 Linux binaries: https://stackoverflow.com/questions/51895452/qemu-debian-x86-on-raspberrypi Next, I tried installing WINE ...
1
vote
0answers
222 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
64 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 ...
2
votes
0answers
59 views

help getting ble-mesh (bluetooth mesh) working

I was hoping to get some help. I have been working on getting bluetooth mesh working on my raspberry pi 4 for a few days and feel I am hitting a brick wall. I am referring to this pdf that was ...
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 ...
0
votes
1answer
277 views

end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6)

When I attempt to boot my Pi into a terminal I get this error, please tell me I can fix this somehow. [ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6) ] I tried ...
0
votes
0answers
26 views

Serious issues loading pi-hole, now what?

I need some serious help. I tried to load pi-hole on my 3+ and it caused all kinds of issues. It would not boot, it would try but not finish the boot process. I found and tried this: http://clarkle....
1
vote
1answer
159 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
0answers
200 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 ...
0
votes
0answers
39 views

Customize i2c driver - Change i2c line speed

For the BCM2835, what I would like to do is the following: I want from the user space to be able to change the I2C bus line speed, not just by modifying the CDIV field of the DIV register (Reference), ...
3
votes
1answer
114 views

Oh no! GPIO again!

I'm working at this source: https://github.com/ozw1z5rd/ninepin/blob/master/iec/iec.c int iec_init(void) { int result; int minor; if ( request_mem_region(GPIO_BASE, 4096, LABEL_DEVICE) == NULL ...
1
vote
2answers
619 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
273 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 ...
0
votes
2answers
106 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 ...
0
votes
1answer
62 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 ...
3
votes
1answer
610 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
0answers
49 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 ...
1
vote
1answer
534 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 ...
0
votes
2answers
1k 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
2 3 4 5
9