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

Using an i2C OLED display with lgpio and a kernel newer than 5.11

I'm on Ubuntu 23.10 on a RPI 4 and the kernel used here is not compatible with RPI.GPIO because -- as far as I understand -- RPI.GPIO cannot see if multiple processes are trying to use the same pins. ...
JensOtto's user avatar
0 votes
0 answers
18 views

Kernel Driver Problems

Background I have a KVM that works with a custom Gaming PC, the last generation of Intel 16-inch MacBook Pro, a Pi4 B 8GB and an empty port for whatever I can think of next. The wireless in my house ...
eyoung100's user avatar
  • 109
0 votes
1 answer
20 views

Detect eject by host when using g_mass_storage and dwc2

how can I detect on the Pi when my mass storage device was ejected by the host? I am using a Raspberry Pi 4 as a mass storage device with the dwc2 module. I am "inserting" the mass storage ...
cbg's user avatar
  • 1
0 votes
2 answers
102 views

Unable to locate package raspberrypi-kernel-headers [closed]

Running on a Raspberry Pi 4 Model B, Raspberry Pi OS 64 Lite Error: $ sudo apt-get install raspberrypi-kernel-headers Reading package lists... Done Building dependency tree... Done Reading state ...
Sanjo's user avatar
  • 21
0 votes
1 answer
39 views

How to Access corrupted Raspberry Pi SD card using Ethernet Connection

I have Raspberry PI with Corrupted SD card, showing Kernel Panic Message, is there any way i can access it without removing SD card from SD card SLOT, raspberry pi is connected with Ethernet, which is ...
abhi's user avatar
  • 13
0 votes
0 answers
44 views

Ubuntu 20.04 Raspberry Pi error "vc_sm_cma: module verification failed: signature and/or required key missing - tainting kernel" How to fix?

I am running Ubuntu Server 20.04 on Raspberry Pi 4. In my /var/log/kern.log file I am getting the following messages: vc_sm_cma: module verification failed: signature and/or required key missing - ...
DanRan's user avatar
  • 101
0 votes
1 answer
96 views

Ubuntu Server 20.04 on Raspberry Pi 4 error: "kernel: ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -52" How to fix?

I am running Ubuntu Server 20.04 on a Raspberry Pi 4. In my system logs I am getting the followng error: kernel: ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -52 What does this ...
DanRan's user avatar
  • 101
0 votes
0 answers
27 views

HCIUART not working after Kernel Upgrade

For some experiments with BLE I did manually a kernel upgrade of a Raspberry Pi 3B+ by using (example; I tried a few versions of the official GitHub repository): https://github.com/raspberrypi/linux/...
bilaljo's user avatar
  • 101
0 votes
0 answers
47 views

How to solve "E: Sub-process /usr/bin/dpkg returned an error code (1)"?

I am working on a Raspberry Pi 3 with Ubuntu. When I try to execute the following command: sudo apt install raspberrypi-kernel-headers I receive the following error: Paketlisten werden gelesen... ...
Michael's user avatar
0 votes
2 answers
27 views

MAX31586 configuraiton using overlay

I want to read three MAX31586s using a Raspberry pi 3B. Two are connected on the spi0 and I can configure the maxtherm on config.txt to work. For the third one, maxtherm doesn't work with spi1, at the ...
Marco Galimberti's user avatar
1 vote
1 answer
73 views

Can an older kernel version be loaded

The background is, we have 2 Raspberry Pi 3b boards, one in a fixed station and the second in a moveable station that can be any distance from 1m to 70m apart. The fixed station is connected to a TP-...
Grumpy Grandad's user avatar
0 votes
0 answers
478 views

Kernel and header Version not the same

So i wanted to build the driver for my wifi adapter for my raspberry pi 400: https://github.com/morrownr/88x2bu-20210702 And i did everything what was said and then got the error: Your kernel files ...
Jakob's user avatar
  • 1
0 votes
0 answers
229 views

ALFA AWUS036ACH Driver issues for Raspbian 11

I have a driver problem, and I'll save you some time by describing it this way: Computer: Raspberry Pi Zero 2w OS: Raspbian GNU/Linux 11 (bullseye) Latest Update: Mon 24 April (The update being: sudo ...
pico's user avatar
  • 11
0 votes
0 answers
57 views

Cannot Instantiate driver file, getting:- insmod: ERROR: could not insert module crc8/crc8.ko: Invalid module format

To integrate a flow sensor with RPi, I am following the Tutorial: Using Differential Pressure and Flow Sensors with Raspberry Pi. However, as the git repo being used ro install the linux kernel ...
Chinmay's user avatar
0 votes
0 answers
64 views

make: *** [Makefile:30: modules] Error 2 while installing seeed-linux-usbdisp

So I was trying to use WIO Terminal as a small display for my raspberry pi 4. And I was following the official setup from here. And during the making of the display driver I'm encountering an error. ...
Aswin K R's user avatar
0 votes
0 answers
40 views

Excessive First Time Boot of DietPi on 2B+

I have searched but not able to find this exact issue. First time boot of DietPi on a 2B+ v1.1 It has been around an hour now, and I am running into a seemingly neverending (but progressing) list of ...
dgpotato's user avatar
1 vote
1 answer
2k views

Switching between kernel versions in raspberry pi 4

My rpi4 is currently loading kernel 6.1.14-v7l+ at boot, while I have more installed: $ ls /lib/modules 5.15.84+ 5.15.84-v7+ 5.15.84-v7l+ 5.15.84-v8+ 6.1.14+ 6.1.14-v7+ 6.1.14-v7l+ 6.1.14-v8+ ...
Ricky Robinson's user avatar
3 votes
1 answer
197 views

Uninterrupted, endless SPI transfer - is it possible?

I wrote a linux driver for SPI protocol so RaspberryPi could communicate with my device that's using serial data transfer (the device has clock input and data output). It almost works, the problem is ...
PookyFan's user avatar
  • 133
2 votes
1 answer
223 views

Which blacklist.conf file version should I use to block the loading of the nouveau module?

I want to block the loading of the nouveau kernel module but in my /usr/lib/modprobe.d directory I have 2 blacklist.conf files: blacklist_linux-raspi_5.15.0-1023-raspi.conf blacklist_linux-raspi_5.15....
Chookitypok's user avatar
3 votes
2 answers
936 views

Why does `apt install linux-headers-generic` install old headers for the newest stable kernel?

I can boot a vanilla pi-4 with kernel8.img (Feb 15, 2023) to release 5.15.84-v8+ ... the pi-4 runs admirably. # ls -ltr /boot/*.img -rwxr-xr-x 1 root root 8194604 Feb 15 18:02 /boot/kernel8.img # ...
NevilleDNZ's user avatar
-2 votes
1 answer
103 views

Unable to 'make' basic kernel module

I'm trying to write a basic kernel module for my Raspberry Pi V4 Model B. I tried to follow the steps at puddleofcode.com and How compile a loadable kernel module without recompiling kernel. obj-m := ...
Marco's user avatar
  • 121
2 votes
0 answers
192 views

Improving file system performance on emulated Raspberry Pi

I am emulating a Raspberry Pi 3B running the latest Raspberry Pi OS Lite on qemu-system-arch64 but the file I/O speed is woefully slow. This is my QEMU command, for starting my virtual machine. sudo ...
jshbrntt's user avatar
  • 121
1 vote
0 answers
51 views

No FIQ.h on Raspberry PI3B+

I was exploring the FQI routine for ARM processors. I noticed that most Linux kernels provide a fiq.h header file yet my RPi does not seem to have it. Using find does not return anything. My Linux ...
Robin Y's user avatar
  • 21
1 vote
1 answer
401 views

Hardware reference manual for ethernet mac in bcm2711

I recently bought a RPi4 model B for learning the Linux device drivers particularly the Ethernet MAC. I was looking for a documentation, something similar to this one which is for AM335x from TI, but ...
HungryFoolish's user avatar
4 votes
4 answers
1k views

Raspberry Pi 3b+ - Turning off power LED from /boot/config.txt no longer works with kernal 5.15.56-v7+

I successfully turned off all my LEDs on my Raspberry Pi 3B+ according to this guide, by adding these lines in the /boot/config.txt: [all] # Turn off Power LED dtparam=pwr_led_trigger=none dtparam=...
SneakyShrike's user avatar
1 vote
0 answers
237 views

On Raspberry Pi 4 with Ubuntu 22.04 don't work ioctl

I have Raspberry Pi 4 (aarch64 Cortex-A72) with OS Ubuntu 22.04 LTS 64-bit installed. I try read frame from webcam. When I run this code: if (ioctl(fd, VIDIOC_DQBUF, &buf) < 0) { std::cout &...
ZeusBios's user avatar
  • 111
1 vote
1 answer
149 views

Should the lxpanel Updater be used for the kernel and bootloader?

TL;DR: As of this writing, the lxpanel Updater applet somehow only updates the kernel modules without changing the system release. I want to know why, and point out that apt resolves issues. Backstory:...
SaaHc2B's user avatar
  • 19
1 vote
1 answer
68 views

Error after simple packages update of raspbian bulleyes: /etc/kernel/postinst.d/apt-auto-removal: 15: mv: not found

After did as usually commands sudo apt update and sudo apt upgrade I am facing the following issue: run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.10.103+ /boot/kernel.img /etc/kernel/...
user145580's user avatar
0 votes
1 answer
1k views

Direct Access RPI-4 GPIO Interrupt

I am working on the RPI-CM4 board with raspbian buster OS. I am building an application to get interrupt events from the GPIO pin, fluctuating its state @20usec. I have tried the following things... ...
shiv patil's user avatar
0 votes
0 answers
326 views

Kali Linux end Kernel Panic exitcode=0x0000000b

when I start my Raspberry Pi 4 with 4GB Ram comes the following: {1.174936} ---{ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000 }--- Can anyone help me? Thank you in ...
lorige's user avatar
  • 1
0 votes
1 answer
99 views

BME280 via DTOverlay Fails, But using 100% python query works!

BME280 via DTOverlay Fails, But using 100% python query works! Enable DTOverLay for BME280 in /boot/config.txt...** dtparam=i2c_arm=on dtoverlay=i2c-sensor,bme280,addr=0x77 # i2cdetect -y 1 0 1 ...
Jibun no Kage's user avatar
0 votes
0 answers
214 views

Building the Kernel error

I was following the steps defined here https://www.raspberrypi.com/documentation/computers/linux_kernel.html#updating-your-kernel and when executing this command, I get the next errors: pi@...
Edu Fer's user avatar
0 votes
0 answers
143 views

sysfs blocks gpio pins after one minute from restart

I am using Raspberry pi 4b with Linux raspberrypi 5.10.63-v7l+. I am writing simple userspace program for control one GPIO by ioctl() (in my case GPIO 13 for example). However program responses: ...
Aro Math's user avatar
1 vote
1 answer
339 views

/dev/i2c is not showing Raspberry Pi4 running on Android

I am using AOSP android 11 in the RPi4. I have enabled the i2c in config.txt using the param dtparam=i2c_arm=on. The i2c is showing in the /sys/bus/i2c/devices/i2c-1 but /dev/i2c is not listing in the ...
Jijith Janardanan's user avatar
-1 votes
2 answers
502 views

Executing sh script on (first) startup using systemd.run causes black screen/shutdown

I'd like to execute a shell script for some pre-configuration tasks on the first boot. I found systemd.run like this in the cmdline.txt on the boot partition: console=serial0,115200 console=tty1 root=...
Lion's user avatar
  • 167
0 votes
1 answer
615 views

CM4 USB connection issues

We have rolled our own board for the CM4 and the problem occours when connecting an UMTS stick (Huawei E3531 HiLink) to USB. The CM4 starts to disconnect and reconnect the stick continuously. This ...
ddibiasi's user avatar
0 votes
0 answers
22 views

Not booting after shutdown [duplicate]

We are putting rpis in one of our products and we have a few dozens of units already in use. We currently observe a very annoying problem - whenever it shuts down or is issued reboot it won't boot ...
php_nub_qq's user avatar
2 votes
1 answer
313 views

Delay booting devices or booting the kernel

BLUF: I'd like to see if there's a solid way to delay the boot-up of the kernel to keep a Pi from sucking up a lot of juice out of the gate, or the USB bus to delay the devices' boot-up until after ...
jmcdee's user avatar
  • 21
0 votes
1 answer
1k views

Kernel can't load modules on Raspberry Pi 3B+

I have a Raspberry Pi 3B+ that boots from its SD card but reads its root filesystem from an external hard drive connected by USB. Everything has been working well since I set that up until I tried to ...
pyrocumulus's user avatar
0 votes
1 answer
941 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 ...
swineone's user avatar
  • 101
-1 votes
1 answer
106 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 ...
Albert Kinterman's user avatar
0 votes
1 answer
2k 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 ...
gpare's user avatar
  • 3
0 votes
0 answers
71 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 ...
Mark Jones's user avatar
0 votes
1 answer
924 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 ...
Standard's user avatar
  • 113
0 votes
0 answers
634 views

Pi 3B (without +) regularly losing Ethernet connection (smsc95xx)

I have a problem with some of my PIs losing Ethernet connection. This happens between every few days to a month. After the Ethernet connection is lost, it does not come back up. Besides the Ethernet ...
user643011's user avatar
0 votes
2 answers
656 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 ...
Sreedhar's user avatar
0 votes
1 answer
857 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 ...
Auniverse's user avatar
4 votes
2 answers
5k 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 ...
ragingSloth's user avatar
1 vote
3 answers
2k 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 ...
barzilay's user avatar
0 votes
0 answers
629 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 ...
se7en's user avatar
  • 13

1
2 3 4 5
10