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

Ubuntu: upgraded kernel is not selected in the next boot

My Raspberry Pi 4 was originally loaded with Ubuntu 21.04, but after yesterday's release of 21.10, I upgraded using the do-release-upgrade command. Among the other upgraded packages, there was a new ...
-1
votes
1answer
39 views

What are the reasons for kernel taint on OpenWRT 21.02 fresh install on Raspberry Pi 4?

I'm currently running a stock build of OpenWRT 21.02, on a fresh install in Raspberry Pi 4 and I'm getting a tainted kernel error 1024. Anyone else experiencing this and any idea what may be causing ...
0
votes
1answer
33 views

Compile RPi 3B+ Kernel 5.10 with preempt_rt patch

I'd like to change the default RPi 3B+ kernel to use the version 5.10 with the rt_preempt patch. To accomplish this, I'm trying to follow this guide and the official Raspberry guide, adapting some ...
0
votes
0answers
28 views

Kernel not updating with atp-get update/upgrade - Ubuntu 21.04 - TFTP boot NFS root

I am gradually getting a Pi 4 cluster up and running, and have hit an issue I have not been able to resolve with google. It is my understanding of the Ubuntu boot process that is lacking really. I ...
0
votes
1answer
39 views

Can't install packages anymore because of raspberrypi-kernel failure: bad dkms conf file

I somehow messed something up with my Raspbian; it's a fairly new install on a RPi 3B+. When I run sudo apt update and the sudo apt upgrade I get this error: Reading package lists... Done Building ...
0
votes
0answers
26 views

perf_event_open on kernel 5.10.60

I am trying to run the perf_event_open documentation example (below) but it returns "Error opening leader 1". I am on a Rasp B+, ARM1176JZF-STM, Raspbian GNU/Linux 10 (buster), kernel 5.10....
0
votes
2answers
29 views

SPI not getting enabled in Raspberry Pi 4 with custom-built Linux kernel

I have built Linux Kernel 5.10.36-v8 using Buildroot and using it into my Raspberry Pi 4B for the past few weeks. I recently wanted to enable SPI ports on the Raspberry Pi and followed the ...
0
votes
1answer
79 views

Kernel panic when using apt on RPi Zero, RPi OS Buster

I’m getting ’kernel panic’ when I try to use apt (or apt-get) to install a package or update/upgrade; I’m using a Raspberry Zero W with the latest version of Raspberry Pi OS available on their website ...
0
votes
0answers
19 views

How does raspberry pi boot process knows where the kernel entrypoint is located?

According to What is the boot sequence?, start.elf loads kernel.img. It then also reads config.txt, cmdline.txt and bcm2835.dtb If the dtb file exists, it is loaded at 0×100 & kernel @ 0×8000 If ...
0
votes
0answers
37 views

recipe for target 'broadcom/bcm2711-rpi-4-b.dtb' failed

I am trying to build an Android Automotive OS for Rpi 4b image following this post by Snapp Automotive When I try to build the RPi kernel, running ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- DTC_FLAGS=...
0
votes
0answers
18 views

simultaneous audio playback is not working

i have raspberrypi4, i flashed webos ose edition in that. i have connected 2 hdmi displays and play using aplay in hdmi1, hdmi2 and lineout(headphones), I am getting error from aplay. #cat /proc/...
0
votes
0answers
15 views

How do I choose the kernel version to use with the preempt_rt patch?

I'm trying to compile the Raspberry Pi OS with with the PREEMPT_RT patch. I would like to use the newest kernel version that has a preempt patch for it. Looking at the list, I see that the latest ...
2
votes
2answers
174 views

raspberry pi 4B no /dev/spidev0.0

As it says in the title my raspberry pi 4B is missing /dev/spidev0.0 I'm trying to use an adxl372 accelerometer with a raspberry pi 4B. I built a kernel with industrial io drivers and the proper ...
0
votes
2answers
88 views

Can I use the mainline kernel in my rasp? if not, why?

I noticed that when we compile a new kernel following the official documentation we use the linux fork from the raspberry foundation. Could I use the mainline kernel maintained by linus? Or is there ...
0
votes
0answers
10 views

how to get a .config for kernel compilation directly from the rasp?

When you want to compile a kernel for some specific linux distribution you need to get the .config file for this particular distribution. But the usual way (i.e.zcat /proc/config.gz > .config) ...
0
votes
0answers
29 views

How to crosscompile a kernel for raspbian in an arch linux host?

I have a raspberrypi 3B and want to compile and install a new kernel on it, but I only have an arch linux(x86_64) host to compile it on. Following the official documentation I get stuck trying to ...
0
votes
0answers
31 views

Kernel BUG at drivers/mmc/host/bcm2835-sdhost.c:1093!

I'm trying to emulate the raspi3 on my jetson nano and at the same time I want to enable this network interface : --netdev user,id=net0,hostfwd=tcp::5022-:22 -device usb-net,netdev=net0 \ but to do ...
0
votes
0answers
36 views

Incorrect kernel header downloaded

I need to install a tool in Raspberry pi 3B+ that needs kernel version 4.14. To install the tool, I need to install some kernel patches and need the headers for the installed kernel. On running uname ...
0
votes
1answer
74 views

How to disable kernel upgrade on Ubuntu Server 21 64 Bit on Raspberry Pi 4b?

How can I disable kernel upgrades on a fresh installation of Ubuntu Server 21 64-bit OS for arm64 architectures on a Raspberry Pi 4b with 4gb? Based on this source, I tried: sudo apt-mark hold 5.11.0-...
0
votes
0answers
52 views

RPi 4 wrote 23GB of Log Files “urb status -32”

Raspberry Pi 4 with Raspbian 10 and kernel 4.19.71-rt24-v7l+ kern.log 12G syslog 6.6G sylog.1 4.5G The log files are filled with usb 1-1.2: urb status -32. I just removed the log files yesterday and ...
0
votes
0answers
19 views

Kernel Problems: Fatal Error: linux/uaccess.h : No such file or directory

I'm using Netbeans to develop remotely on a Raspberry Pi 4. I'm trying to compile a simple test program with the usbtmc.c file (https://github.com/torvalds/linux/blob/master/drivers/usb/class/usbtmc.c)...
0
votes
0answers
58 views

How to extract aarch64 vmlinuz gzip image?

I am trying to PXE boot Ubuntu 20.04 aarch64 on the pi 4b but I am stuck at the point where I need to extract the kernel image vmlinuz-5.4.0-1028-raspi. I tried to zcat and pipe it out but I ended up ...
2
votes
3answers
145 views

syslog and kern.log filling with: rc rc0: IR event FIFO is full!

I have a Pi that has recently developed a habit of maxing the SD card with syslog messages (somewhere in the hundreds per second) of the message: "Date/Time user kernel: [ 2257.432445] rc rc0: IR ...
0
votes
0answers
68 views

RS-485: UART configuration for 10 Mbit/s

I would like to use an RS-485 transceiver (e.g. SN65176BD) with my Raspberry Pi 3, to communicate on a network operating at 10 Mbit/s (a common speed for RS-485 networks). Using an unmodified ...
0
votes
1answer
265 views

The following signatures couldn't be verified because the public key is not available / Resolving raspberrypi-kernel failed: Name or service not known

I would like to virtualize debian bullseye for raspberry on top of my jetson nano using qemu and kvm because it is necessary to install this repo : https://www.hackster.io/stanton/smart-snoring-...
0
votes
1answer
306 views

Raspberry Pi Zero W, berryboot would not boot

I am having difficulty installing berryboot on my pi zero. I followed countless guides and none seem to work. most guides tell me to download berryboot from here however the site does not have a ...
0
votes
1answer
62 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 ...
2
votes
1answer
426 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
101 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
257 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
1answer
76 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?
1
vote
0answers
259 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
470 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
117 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
104 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
205 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
51 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
2answers
187 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
67 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
50 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
1k 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
16 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
2k 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 ...
4
votes
1answer
2k 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
97 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
370 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
39 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
95 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
43 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
329 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 ...

1
2 3 4 5
10