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
1answer
35 views

How to update/change the kernel without removing the SD card?

I have seen posts and tutorials dealing with updating the kernel, such as this one, but they all expect you to remove the SD card, rewrite it outside with a card reader and then plug it back in. Is it ...
1
vote
1answer
29 views

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Raspberry Pi 4 8GB Ubuntu 20.04.2 LTS Before this happened, I was able to run a bunch of Docker containers without an issue. However, my Pi suddenly stopped working (wasn't able to SSH into it, wasn'...
3
votes
0answers
39 views

How to write a Kernel module using SPI properly?

I have no experience writing kernel modules. I build some examples with gpio interrupts and they worked prety well. Now I want to use SPI from my kernel module and I will explain why I need it. I am ...
0
votes
0answers
36 views

Installing kernel headers for downgraded kernel version

I am working with a RPI4B 2GB, on which I've installed Raspberry OS. Due to a specific issue, I've had to downgrade my kernel version to 4.19.118-v7l, using sudo rpi-update ...
1
vote
0answers
16 views

How is spidev and the spi-bcm2835 module related?

Removing either one deletes the SPI devices from /dev/ What's the difference between the two modules and how do they relate?
0
votes
0answers
19 views

Teamspeak3 on Raspberry pi4b

i installed a x86 emulator, Quemu and TS3 on my Raspberry pi 4b. The installation works, but if i want to start TS3 an error ocurred. Here is my log. root@raspberrypi:~/teamspeak3-server_linux_x86# ./...
1
vote
0answers
60 views

raspi ubuntu 20 - apt-get update problem - linux firmware / linux-raspi / linux-image-raspi

Hy my raspi has this fstab: UUID=7d298733-8450-4adb-b654-6de49954db5c / btrfs defaults 0 0 UUID=AD5E-0725 /boot/firmware vfat defaults 0 1 Then the ...
2
votes
1answer
93 views

Disable USB 3 (use ehci instead of xhci) on Raspberry pi 4

I'm trying to disable USB3 entirely on my raspberry pi 4 running Ubuntu server but I can't find a way to do it. Some things that I've tried are: Blacklisting xhci - doesn't work because it's a ...
1
vote
1answer
63 views

RPi 4B 4GB: Excessive Shut Down time using the GUI shutdown

I have 5 - 4B-4GB's and 1-8GB systems. One of the 4GB systems is experiencing an excessive shutdown (power off) time of 4.5 minutes. All the other systems take about 15-20 seconds, all my systems ...
0
votes
0answers
31 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
116 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
18 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
34 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
22 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
28 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 ...
-2
votes
1answer
326 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
14 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 ...
0
votes
1answer
470 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
770 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
43 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
196 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
28 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
69 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
25 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
194 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
380 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
70 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
78 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
54 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
125 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
172 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
253 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
2answers
692 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
210 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
24 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
946 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
8k 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
191 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
824 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
116 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
773 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
107 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
14 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
101 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
172 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
301 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 ...
1
vote
0answers
30 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....

1
2 3 4 5
10