People who code: we want your input. Take the Survey

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
19 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
22 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
21 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-...
1
vote
0answers
46 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 ...
3
votes
1answer
430 views

No USB with upstream kernel

I have built a kernel for Raspberry Pi 2 using the latest upstream kernel (version 4.15-rc5): https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ I configured it with ...
-1
votes
1answer
195 views

Patch a RPI image to get a root shell

I'm trying to reverse engineer an appliance based on RPI2, and I would like to get a root shell on the system. After dumping the SD I noticed that there's no rootfs partition (it exists but it's ...
0
votes
1answer
93 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
0answers
11 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)...
2
votes
1answer
217 views

Kernel Parameters in AArch64

My Raspberry Pi 3B runs fine with the standard installation of ArchLinuxARM-rpi-3-latest.tar.gz. However I cannot set kernel parameters anywhere for a custom TFT. Formerly there was a file cmdline.txt,...
1
vote
1answer
213 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 ...
4
votes
1answer
1k 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 ...
1
vote
2answers
865 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
0answers
19 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 ...
8
votes
2answers
3k views

What kernel modules and other setup are needed for using the RPi3 built in Wi-Fi?

Question I'm trying to get the Wi-Fi working (again) on my model 3. I am not using Raspbian. Which kernel config settings and loaded modules are needed for the Wi-Fi device to show up in ifconfig -a?...
15
votes
6answers
45k views

How to change the default governor?

I want to change the default governor on my pi from ondemand to performance. Is there a way of doing this?
2
votes
3answers
99 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 ...
5
votes
1answer
346 views

Kernel/Firmware as Debian package

It says on the official site that "the kernel and firmware are installed as a Debian package, and so will also get updates when using [apt-get upgrade]" I run apt-get update / apt-get dist-upgrade ...
0
votes
1answer
688 views

USB/Bridge using MAX3421

Please, could someone help me, I am trying to use the module (max3421-hcb) with the raspberry pi 3, but I really don't know how to load this module, with the parameters, like wich GPIO will act as INT ...
0
votes
1answer
58 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
2k views

Error compiling and loading driver on the Raspberry Pi

I bought a temperature sensor with a usb adapter and needed to install a driver for it, but I could not compile the driver provided by the manufacturer. pi@raspberrypi:~/CH341SER_LINUX $ make make -...
0
votes
3answers
938 views

GCC version for compiling a loadable kernel module

I am not very familiar with Linux, so may be my question is a little bit foolish. I would like to compile kernel module without recompiling the kernel (USB Wi-Fi stick driver for MT7106U chip). I ...
0
votes
0answers
55 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
130 views

Trouble adding a gpio device to the device tree

I'm trying to connect an hx711 to GPIO23 and GPIO24 pins on an RPI3 A+, and I need to specify this in the device tree to have the hx711.ko driver be probed. I've been stuck on this problem for some ...
1
vote
1answer
890 views

Problems with compiling drivers for rtl8192cu

I'm trying to use realtek 8188cu module in concurrent mode(both station and AP mode simultaneously). I downloaded the driver source files from here: https://github.com/raspberrypi/linux/tree/...
0
votes
1answer
36 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 ...
3
votes
2answers
2k views

dtoverlay=gpio-poweroff not working on raspberry pi 3 B

Problem: I have a Raspi 3B rev: a02082 (Q1 2016 3 Model B 1.2 1 GB (Mfg by Sony)) running raspbian jessie kernel 4.9.35-v7 I want to signal to a power management circuit that filesystems ...
3
votes
1answer
1k views

How do I add an i2c device to the device tree?

I am trying to add an mpu 9250 to the device tree of my RPi 3 A+ so that my custom driver's probe function will be called. I have followed this documentation about the Raspberry Pi device tree and ...
1
vote
1answer
75 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
56 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
91 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 ...
-2
votes
1answer
534 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 ...
1
vote
0answers
33 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
2answers
755 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, ...
2
votes
2answers
18k views

top/htop not showing CPU usage of kernel processes

I'm trying to improve FPS from a USB webcam. Supposedly I should be able to use htop to show where the bottleneck is, since top won't show kernel processes such as time spent waiting for disk access. ...
0
votes
1answer
3k views

raspbian does not boot on QEMU

I am trying to emulate raspbian on windows 10 64 bit. My start.bat is qemu-system-arm -kernel kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/...
1
vote
0answers
97 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
831 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 ...
2
votes
1answer
204 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
68 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 ...
1
vote
1answer
477 views

Stuck on Rainbow Screen after kernel upgrade on CentOS7

I ran 'yum update' on my Raspberry Pi3 running Centos7, and now it will not boot. Both LED's are solid (no flashing) and it does not get past the 'Rainbow Screen'. The following packages were ...
1
vote
1answer
527 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted on top of a dual-primary DRDB /dev/drdb0 volume on Raspbian, but I'm hitting an issue. The DRBD volume has a working stonith/fencing cluster setup using ...
0
votes
1answer
51 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
1answer
166 views

My RPi0 W crashes

My RasPi 0 W Crashes while updating and upgrading after i newly flashed the SD card with 2019-07-10-raspbian-buster-lite.img my putty console: login as: pi pi@192.168.2.119's password: Linux ...
0
votes
0answers
59 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 ...
1
vote
1answer
639 views

Kernel Development with Raspberry Pi

I want to start working and playing with linux kernel. Instead of trying on my own system, I want to do the same on raspberry pi. I want to compile my own kernel and start working on my first kernel ...
0
votes
1answer
168 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
27 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
0answers
38 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
36 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
0answers
15 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
2 3 4 5
10