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
10 views

Update means Respeaker Seeed Soundcard will no longer install. What can I do?

I've been using the Respeaker 6 Mic array and Seeed-Soundcard for months and was just about to start a field deployment with them however I reflashed my SD cards and tried to reinstall the soundcard ...
0
votes
1answer
24 views

Install problem: “Can't compile with this kernel, aborting”. dkms (bad exit status: 2)

I've been trying to run an install script on my raspberry pi 4, and I keep getting the same error. The script is meant to install a soundcard for a multiple microphone adaptor on the pi, I've got it ...
0
votes
0answers
13 views

Kernel crashes when upgrading or installing something

I have two Raspberry pi zero w and the first one I bought last summer or so. The second was recently. The first one always crashed at the beginning when streaming the pi-camera with more than 6 fps (...
0
votes
1answer
13 views

How to enable console via uart1 in yocto for raspberrypi3 image

I'm using Yocto-dunfell for getting custom my Raspberrypi3 image. Here I want to enable serial-console via uart1. for that I have given change in my files- local.conf: ENABLE_UART = "1" ...
0
votes
0answers
15 views

Do I have to use the Raspberry PI Kernel version of Alpine Linux?

I want to install Alpine Linux on my Raspberry Pi 3B+. I know how to install linux via Rufus and have read the wiki on how to install it. There are 2 different versions of Alpine Linux, one "...
0
votes
0answers
20 views

Getting “eth0: kevent 0 may have been dropped” randomly whenever the home router restarts

I have seen similar questions but ALL of them are having issues when they using the Pi as a Wifi AP. My question is different. I don't use the Wifi functionality of the Pi at all. My home router ...
0
votes
1answer
139 views

Kernel version does not update when using apt update, apt full-upgrade

I want my Rpis to automatically update to the latest kernel pushed out by the Rpi Foundation, so I set up unattended-upgrades. I assume that's been working - but the kernel version hasn't updated ...
0
votes
0answers
12 views

When building a kernel from source, what is the KERNEL environment variable used for?

When building the Linux kernel from source for an RPi3, the official documentation recommends setting the KERNEL environment var to kernel7 (as opposed to kernel or kernel7l). What does this ...
-1
votes
0answers
24 views

Pi 4B - Updating kernel on non-Raspbian OS

I just installed CentOS 7 on my Pi 4B using the official prebuilt image found here (build: CentOS-Userland-7-aarch64-RaspberryPI-Minimal-4-2009-sda.raw), but I am a bit confused as to how I can update ...
0
votes
1answer
126 views

Unable to find raspberrypi-kernel-headers package

I'm trying to get Wireguard going on my RPi, just to mess around with it. I think I correctly followed the various directions I've seen about how to get up-and-running, but I can't find the ...
2
votes
1answer
386 views

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 ...
0
votes
1answer
27 views

Images with Multiple kernel to share among Pi-B, Pi-3 and Pi-4

I have 3 models of Raspberry from ARM-v6 to ARM-v8 and would like to have SD cards that i can exchange among them. After testing my SD IO have realized that Retropie and RaspberrOS works well on Pi1 ...
0
votes
0answers
91 views

Using MCP2518 CAN controller and SocketCAN on CM4 with PiCore

Background I am planning on using a Raspberry Pi CM4 with PiCore (a version of TinyCore for the RPI) for an embedded project involving a MCP2518 CAN controller. There is an MCP251x driver already ...
0
votes
0answers
24 views

How does one get the interrupt number to pass into request_irq() for a DMA-complete

I'm trying^W failing to get a kernel module to respond to a DMA-done interrupt. I've been reading around for help, but most of what I can find is to do with GPIO interrupt management, and I think my ...
0
votes
0answers
60 views

Userspace and Kernel space graphics drivers for the pi 4

I recently bought a raspberry pi 4 to aid in my computer architecture studies. Also, one of my study projects is to build a kiosk application using buildroot (not raspbien). I have taken some time to ...
0
votes
0answers
24 views

USB detection problem after switching from raspbian stretch to buster

I have a device constructing from a raspberry pi 3 B and an AVR based usb device. The interconnection of these components is depicted in this picture. When RPI is on, data lines of keyboard will be ...
0
votes
1answer
137 views

Building kernel for raspberry pi 4 b on a host machine(ubuntu 18.04)

I am new to linux and I really need your help I am working on project for my end of studies internship : controlling sensors and displaying the result on an LCD screen for that I will use raspberry ...
0
votes
1answer
282 views

Failed to start Load Kernel Modules on boot

I have problems starting my raspberry running raspian. I get a [ 55.174742484] systemd[1]: Failed to insert module 'ipv6' [FAILED] Failed to start Load Kernel Modules. Sooo little bit of ...
3
votes
1answer
58 views

Bug in PHP & Buster? 4x Kernel panic - not syncing: Attempted to kill init! exitcode 0x00000004

I have 2 exact the same Pi's: both are Raspberry Pi Model B Rev 2. Both were running Raspian Stretch for years. 4 days ago both Pi's (!!!) had a Kernel Panic after trying to update to php7.4. Installs ...
0
votes
0answers
14 views

Problems re-building modules getting SPI working on a bcm2832(RPi ZERO W) [duplicate]

When I try to get SPI working on a bcm2832(RPi ZERO W) by re-building modules and solving the kernel bug, following this post, I am getting the following errors I could not get solved: pi@raspberrypi:~...
3
votes
0answers
64 views

Device drivers only working on boot

I am trying to connect some peripheral devices (test equipment) to a Raspberry Pi 4B+ running Raspbian and I am running into issues with device drivers for serial (using a pl2303 driver) and usb ...
1
vote
1answer
44 views

Which file in /boot is the initial RAM disk?

In order to emulate a Pi in the Qemu emulator, I will need to identify which (if any) of the files in /boot is the RAM disk, and which is the appropriate kernel. Booting Raspbian however, there is no ...
2
votes
0answers
103 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
132 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
201 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-...
1
vote
1answer
559 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
167 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
22 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
33 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
669 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 ...
7
votes
3answers
7k 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
144 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
659 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
106 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 ...
2
votes
1answer
636 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
74 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
13 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
36 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
79 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
142 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 ...
2
votes
1answer
227 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
27 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
98 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
850 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
786 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 ...
3
votes
1answer
3k 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
122 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
223 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
66 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 ...
7
votes
2answers
10k 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 ...

1
2 3 4 5
9