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

is there an equivalent to the dkms tool in raspbian buster?

I am installing a wifi dongle on an RP2B and the only instructions I can find were for Linux Mint using: sudo dkms add ./rtl8188fu I get a command not found. How is this done in Raspian?
2
votes
1answer
26 views

Rasberry Pi - how do I install TUN driver?

I want to install OpenVPN Server on my Raspberry Pi 2, following the same steps I used in a virtual machine running Ubuntu 19.10 Ubuntu works fine, but Raspberry goes on error during the installation ...
0
votes
2answers
55 views

Running x86 Windows app on a Raspberry Pi 3B

I followed this guide to install QEMU in a chroot and I'm able to execute x86 Linux binaries: https://stackoverflow.com/questions/51895452/qemu-debian-x86-on-raspberrypi Next, I tried installing WINE ...
0
votes
0answers
24 views

“Call” a specific function from device driver's C code [closed]

If I had written code in C for a device driver that could control the GPIO pins on a RPI (has Linux Poky installed on it), how would I be able to actually call a function from my C code such as ...
1
vote
0answers
54 views

Getting ftdi_sio ttyUSB0: failed to get modem status: -32

Iam using Raspberry pi 3b along with Xbee and Sixfab 3G/4G base sheild. getting ftdi_sio ttyUSB0: failed to get modem status: -32 usb usb1-port1: disabled by hub (EMI?), re-enabling... and also ...
1
vote
0answers
28 views

FIQ interrupt configuration

I have tried to write a driver (in the kernel) that interrupts every time the data received from the ADC is ready to be read (Analog to digital conversion is done). The problem is that sometimes the ...
2
votes
0answers
28 views

help getting ble-mesh (bluetooth mesh) working

I was hoping to get some help. I have been working on getting bluetooth mesh working on my raspberry pi 4 for a few days and feel I am hitting a brick wall. I am referring to this pdf that was ...
1
vote
0answers
23 views

If I want to program I2S by bit-setting the PCM registers manually, do I need to disable any kernel settings (eg snd_bcm2835)?

(I'm not with my board at the moment - if I need to share my code, I'll have to edit this post or post a new one at a later time) I didn't realize how complicated I2S setup on the Pi is. I've been ...
0
votes
1answer
90 views

end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6)

When I attempt to boot my Pi into a terminal I get this error, please tell me I can fix this somehow. [ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6) ] I tried ...
0
votes
0answers
25 views

Serious issues loading pi-hole, now what?

I need some serious help. I tried to load pi-hole on my 3+ and it caused all kinds of issues. It would not boot, it would try but not finish the boot process. I found and tried this: http://clarkle....
1
vote
1answer
92 views

Running Docker on Raspbian — need to install raspberrypi-kernel-headers

I am running an image that's running on several amd64 servers and on a brand new RPI4. One of the things that's needed are the kernel headers. The image is being pulled is FROM debian:stable-slim. ...
1
vote
0answers
84 views

Raspberry Pi 4 becomes unresponsive after Chromium idle

I am building a kiosk application on my Raspberry Pi 4 (4GB RAM Version) that requires that Chromium continuously idles as a service. I created a supervisorctl service that will keep it alive and give ...
0
votes
0answers
30 views

Customize i2c driver - Change i2c line speed

For the BCM2835, what I would like to do is the following: I want from the user space to be able to change the I2C bus line speed, not just by modifying the CDIV field of the DIV register (Reference), ...
3
votes
1answer
95 views

Oh no! GPIO again!

I'm working at this source: https://github.com/ozw1z5rd/ninepin/blob/master/iec/iec.c int iec_init(void) { int result; int minor; if ( request_mem_region(GPIO_BASE, 4096, LABEL_DEVICE) == NULL ...
1
vote
2answers
173 views

Cannot boot Raspberry pi into recovery mode

I am getting an error with my Raspberry Pi on boot: Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,2) I have been trying to follow this answer: Kernel panic-not syncing: ...
1
vote
1answer
133 views

Installation of kernel module for I2S Mic fails

I have a I2S mems microphone from adafruit. Now I am following the guide at https://github.com/nejohnson2/rpi-i2s#compile-the-i2s-module Now after I have mounted the debugfs I attempt to look for the ...
0
votes
2answers
57 views

Help Patching a driver

I've been tasked with updating a driver on a Raspberry Pi 4 running Raspbian. I'm told I need to apply this patch https://lkml.org/lkml/2019/4/1/1050 in order to get my USB modem to work. When I run ...
0
votes
1answer
53 views

make -j4 zImage fail missing kdb_cmds reference

I'm trying to recompile kernel on my RPi3A+. Excecuting the following commands on clean Raspbian 9 (stretch): sudo apt-get install openssl-dev sudo apt-get install git sudo apt-get install bc sudo ...
2
votes
1answer
260 views

kernel types in Raspbian 10 - Buster

In the /boot directory I've found the following kernel files: kernel.img: Kernel For ARMv6 - rpi 1 and rpi zero kernel7.img: Kernel For ARMv7 - rpi 2 & 3 kernel7l.img: Used In rpi 4 but I don't ...
0
votes
0answers
43 views

Ubuntu 18.04 LTS - Cross-compiling Raspberry Pi Kernel - modules_install doesn't create files

I am trying to build a Raspberry Pi kernel by cross-compiling on an Ubuntu 18.04 LTS instance. The compilation of zImage, modules, and dtbs all complete as expected. However, when I run the make ...
1
vote
1answer
267 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
2answers
615 views

LIRC Tutorial For Rpi2B+ Buster Too Old Problem

I'm trying to set up lirc on a Pi2 B+ running the latest Raspbian buster and latest kernel / firmware set by rpi-update. I've started from this HOW-TO. All I get from sudo modprobe lirc_rpi is: ...
1
vote
0answers
299 views

new raspbian image doesn't detect usb cdc device

I have a usb cdc device that works fine in raspbian stretch. But when I change the image to new raspbian buster, my usb device isn't recognized. lsusb doesn't list my device at all! I've enabled cdc-...
0
votes
1answer
50 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
0answers
54 views

kernel warning in dmesg

I've bought a new 3B+ and when I add dtdebug=1 to config.txt in /boot the following shows up in dmesg. I'm also having a problem where a GPIO extension board isn't being picked up at all, is this ...
0
votes
1answer
553 views

New RPi OS kernel panics with VFS: Unable to mount root fs on unknown-block(179,2) not using NOOBS

Hi I have 6 Raspberry Pis and none of them have encountered this error when using this EXACT setup. I boot up. Get a bunch of messages telling me that my CPU swapper is not tainted (not official ...
0
votes
1answer
223 views

Raspbian: dpkg hangs during raspberrypi-kernel package upgrade

while doing an apt upgrade on my Raspberry Pi 4 (Raspbian 10 - Buster), dpkg was interrupted during setup of the raspberrypi-kernel package: raspberrypi-kernel (1.20190819-1) wird eingerichtet ... »...
0
votes
1answer
75 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
71 views

Does the time setting function screw with the programs during startup?

I have been here before with the freezing pi0s. I am running pikrellcam in several pi's with the aim to connect several cameras in network to take wildlife videos but have got stuck with recurring ...
0
votes
1answer
75 views

How to verify the correctness of a kernel upgrade before performing the final reboot

I remotely manage a couple of raspberry-pi's as vpn servers using ssl over openvpn. One of these pi's is becoming problematic: it recently somehow gets misconfigured after almost every raspberrypi-...
1
vote
1answer
2k views

How to revert from rpi-update to stable build

I have been using a RPi3 for the last year without any issues. I have had rpi-update as part of a regular update process (cron job). Lately I have been experiencing crashes. I started to investigate, ...
0
votes
0answers
48 views

How to make a program run on boot in the RPi kernel

I'm currently working on a fork on the raspi kernel for streaming cable channels (I have that ready. That's not what I need help with). What I need to know is how to get a program to run on boot (This ...
10
votes
1answer
2k views

Control GPIO pins from C

Most of the libraries, in multiple languages, interact with the GPIO pins via /sys/class/gpio/export, /sys/class/gpio/import, /sys/class/gpio/gpio10/value, etc. However the linux kernel docs clearly ...
0
votes
0answers
61 views

“Native” armhf/armv7/aarch64 Raspbian environment on x86 pc/virtualbox?

I am very encouraged in development of some specific software to run on RPi 3B or higher, BUT it is quite a pain to test it in qemu with max of 256m ram and single core "verstatilepb" setup while ...
3
votes
2answers
218 views

Raspberry PI boot FAT32 arrangement

I recently thought about tinkering with Raspbian by adding an initramfs. But I have still some unresolved questions about the boot (FAT32) partition. Does the partition have to be on a specific ...
1
vote
0answers
49 views

Error in configuration for I2S microphone

I follow these directions to set up the Raspberry Pi for an Adafruit I2S microphone. The line to compile the module fails with a missing script: $ make -C /lib/modules/$(uname -r )/build M=$(pwd) ...
0
votes
0answers
189 views

How to force compilation of kernel with rpi-source for I2S microphone

I followed these directions to configure the Raspberry Pi for the Adafruit I2S microphone. I skipped the step that installed git bc libncurses5-dev bison flex libssl-dev and got this error when ...
3
votes
0answers
48 views

How do I build just some in-tree modules for the Raspbian kernel?

I would like to cross-build some in-tree modules (capi, gigaset) that are included in the kernel source but not in the standard Raspbian kernel. My toolchain is using the tools from https://github....
0
votes
0answers
35 views

RPi Zero W kernel shoots messages

I want to update my RPi 0 and i can't because the kernel is writing Messages with hex code that it failed but i can't fix that or even now whats going on. only using "sudo apt-get update" https://...
2
votes
1answer
176 views

How to Package Custom RPI Kernel into *.deb?

I have compiled a custom Raspbian kernel from source because i need to enable the CONFIG_AUDIT flags for installing SELinux & Auditd. Following the Official Kernel Documentation i was able to do ...
3
votes
1answer
423 views

Is the Raspberry Pi 4 vulnerable to the Spectre exploits?

Now the new Raspberry 4 has moved to ARM A72 cores, it's vulnerable to the spectre issues according to ARM. Processor Variant 1 Variant 2 Variant 3 Variant 3a Variant 4 Cortex-A72 Yes Yes**...
0
votes
0answers
461 views

Raspberry Pi 4 - Not booting custom kernel

I am running the latest Raspbian build (Buster). I have compiled a kernel with audit/apparmor support and am trying to boot my Raspberry Pi 4 from it. The kernel is compiled from the latest branch ...
1
vote
0answers
172 views

Facing issue in loading Ethernet Interface for Raspberry Pi 3 B+ buildroot

I am building a Custom OS using Buildroot. I am following this article to build the custom os. Author of that article gave a sample image of the os that will be created after the build is completed. ...
1
vote
0answers
29 views

Linux headers missing from a custom kernel built through cross-compilation

Helo, I have followed the instructions given at https://www.raspberrypi.org/documentation/linux/kernel/building.md to build a custom kernel. (I have cross-compiled it on an x86 box.) The custom ...
0
votes
1answer
86 views

Kernel panic - not syncing - What are some hypothesis for the root cause?

Kernel: Linux 4.19.42+ #1219 Tue May 14 21:16:38 BST 2019 armv6l GNU/Linux Hardware: Rasppery Pi Zero W cat /etc/issue Raspbian GNU/Linux 9 Kernel panics happen after a day of running with no issues....
1
vote
0answers
317 views

LIRC receiver problem after kernel update

I recently updated my raspberry pi 3 using sudo apt update && sudo apt upgrade . During the process rpi kernel got updated. uname -a Linux raspberrypi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:...
7
votes
0answers
317 views

Cannot Use SPI frequency above 500 kHz

I am running Arch Linux ARM on a Raspberry Pi 2 Model B, and I am attempting to communicate with a TFT display. I am writing a kernel module to interface with the display using SPI, and it works, but ...
-2
votes
2answers
514 views

SPI driver for communication

I want to load my kernel module which communicates with my device over spi interface. I have tried loading my modules but it's showing spidev is already installed. I see 2 modules named spidev and ...
0
votes
0answers
17 views

Kernel Panic - not Syncing: VFS: unknown-block 179,2 [duplicate]

I'm running raperberry pi 3 with noobs. I've seen people have this issue in the past, however my keyboard isnt working at all when i try to turn the raspberry pi on. Nothing wrong with the keyboard, ...
1
vote
1answer
78 views

Pi3 freezes on boot when display_rotate=1

I've been struggling with an issue with my Pi. I have a 2560 x 1440p HDMI screen that i've been trying to get to work. After getting the HDMI timings and settings from the manufacturer it shows the ...

1
2 3 4 5
9