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
12 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
26 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
29 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
25 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
297 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
14 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
667 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, ...
0
votes
0answers
13 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# ./...
2
votes
2answers
17k 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
53 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
750 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
81 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
57 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
472 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
503 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
30 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
154 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
30 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
612 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
98 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
0answers
21 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
27 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
719 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
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 ...
3
votes
1answer
415 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 ...
0
votes
1answer
189 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
401 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 ...
1
vote
1answer
166 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 ...
5
votes
1answer
343 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 ...
7
votes
4answers
7k views

How to use the perf utility on raspbian?

I'd like to use the perf tool on my 2016-02-09 Raspbian Jessie operating system. For that, I have installed the linux-tools package (which contains perf). The kernel version in use on that image is 4....
0
votes
1answer
651 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
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
1answer
41 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
1answer
108 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 ...
0
votes
3answers
909 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
177 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 ...
1
vote
1answer
871 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/...
20
votes
5answers
28k views

Emulating raspbian with QEMU

I'm trying to emulate raspbian on QEMU and there're plenty of guides available on internet. However, every guide points to download qemu-linux kernel from link https://xecdesign.com/downloads/linux-...
2
votes
1answer
2k views

Is it possible to run the raspbian based Kano OS in QEMU?

Kano is a real, real cool device for kids. I wonder if I can run Kano OS in an emulator like qemu. I'd really like to check it out before buying it. After all Kano OS is just a Raspbian based OS ...
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 ...
-2
votes
2answers
562 views

Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,2) running Raspbian Jessie

My RPi had power cut and after that didn't boot and this message comes on. I put a memory card in to PC and made changes in cmdline.txt file from /dev/mmcblk0p2 to /dev/mmcblk0p6 because I have seen ...
0
votes
0answers
66 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
1answer
185 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
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 ...
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 ...
0
votes
1answer
358 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 ...

1
2 3 4 5
10