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
0answers
51 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
488 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 ...
1
vote
0answers
76 views

iptables doesn't recognise REDIRECT as target

Trying to redirect traffic using iptables v1.6 and the following line: iptables -t nat -A PREROUTING -p udp --dport 67 -j REDIRECT --to-port 6767 which results in the following output: iptables: No ...
3
votes
1answer
643 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
716 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 ...
6
votes
6answers
11k views

failed to start udev kernel device manager

After hardly rebooting my raspberry pi 2 running raspian it does not work anymore, when I turn it on everything works fine until this error message shows up repeatedly. [FAILED] Failed to start udev ...
1
vote
0answers
240 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
65 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
226 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
422 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:...
3
votes
1answer
3k views

Pi 3B+ jack audio inputs and low latency

Related: Raspberry Pi 3 audio input? I need to be able to input several jack microphones (minimum 2, more could prove useful) to my raspberry, to do some audio processing (between all inputs), and ...
7
votes
0answers
875 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
1k 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 ...
16
votes
4answers
14k views

Kernel .config necessary options

I'm interested in compiling a custom kernel for the pi. I have the source from the github archive, which includes a make target for a default configuration: make ARCH=arm bcmrpi_defconfig But (as ...
1
vote
0answers
118 views

Kernel panic, real time clock (possibly), UPS Pico

Have a fresh install of KivyPie, which is some months old, with updates (have done apt update/upgrade). It crashes: and the reason seems to be these two lines enable_uart=1 dtoverlay=i2c-rtc,ds1307 ...
0
votes
0answers
19 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, ...
159
votes
2answers
108k views

What is rpikernelhack?

When doing an apt-get upgrade on my RPi 3, many lines of output show up like this: Adding 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b-plus.dtb by ...
1
vote
1answer
203 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
vote
0answers
296 views

How to get maximum GPIO output speed in Kernel module?

I'm writing a Linux kernel module on RPi2 to push an array to RGB Led matrix, so I want to have maximum speed of GPIO to reduce the 'flick' when it run Bit Angle Modulation. According to this site, ...
3
votes
3answers
573 views

Stuck with the old kernel

I did recently an updated (sudo apt-get updated && sudo apt-get dist-upgrade) on my 3 raspberies. Two RPI 3B, and one RPI Zero W. The strange thing is that the raspberries that I installed ...
1
vote
2answers
4k views

Bug with writing to file in linux /sys/class/gpio

Cross posting here, since the question suits at both sites - https://stackoverflow.com/questions/39524234/bug-with-writing-to-file-in-linux-sys-class-gpio I'm having the strangest bug I've ever seen ...
4
votes
0answers
458 views

Custom camera driver

Is it possible to write a driver, say for a OV camera, based on the existing drivers at the RPI git repo? As is I understand, with a datasheet for a sensor it should be possible to write a similar ...
1
vote
0answers
348 views

Configure SPI from Kernel Space by writing to the SPI Registers

I'd like to write my own SPI driver to configure the SPI interface by means of writing to the CS, FIFO, and CLK SPI registers. I have disabled the SPI interface in raspi-config. I followed the ...
0
votes
0answers
65 views

Creating device driver which feeds GPS Co-ordinates from phone to raspberry pi

I don't have GPS module, so I was thinking whether I can feed GPS coordinates from my android/ios phone to raspberry pi over wireless protocol like bluetooth/TCPIP. Can I create a virtual device ...
0
votes
2answers
118 views

How do I identify the boot time in the logs?

Sometimes when my headless Pi Zero W hangs or goes offline without coming back, I hard reset it by disconnecting the power cable and reconnecting it. I'm trying to look for clues in /var/log/syslog ...
1
vote
1answer
1k views

Upgrading the kernel fails

I currently have kernel version: 4.14.79-v7+ (and I am using Raspbian Stretch) pi@pi:~ $ uname -a Linux pi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux When I try to update and ...
2
votes
1answer
153 views

Building an old kernel is not possible because the arch/arm/boot/dts/overlays/ directory does not exist

I've been trying to build a kernel from the 4.14.85 version. I followed the instructions from the official documentation but instead of using the latest version you can find in the repository I ...
0
votes
1answer
360 views

raspi-config is not working after installing Xenomai on Raspberry Pi 3

I followed the instructions given here to install Xenomai on a Raspberry Pi 3. After installing the kernel (now the RPi uses the kernel-xenomai.img during boot) I couldn't access my network, neither ...
1
vote
0answers
166 views

Kernel error : [drm] Resetting GPU

I am using an app which is using the vc4-drivers. Sometimes videos freeze for an instant, and I see a kernel message saying : [drm] Resetting GPU After that, some font are no more displayed but the ...
1
vote
1answer
42 views

custom kernel fails to boot - 'task init:1 blocked for more than 120 seconds'

I'm trying to build a custom kernel for my 3B+ (following this guide: https://www.raspberrypi.org/documentation/linux/kernel/building.md). It seems to boot without any error messages until it ...
3
votes
2answers
1k views

How to find a specific kernel version in the Github repository?

I'm trying to get the Linux 4.14.85 kernel, for a problem I've posted before, related to Xenomai. I see here that there is a branch for 4.14.y, but there are no tags to find which commit corresponds ...
0
votes
3answers
297 views

Using special pins as gpio

I would like to use I2C and SPI pins as a gpio on my raspberry pi zero w. To be more clear, BCM 3-5-7-11-13-14 pins on the link [1]. I want to disable I2C1, GPCLK0, SPI0, UART, PWM0. Is it possible ...
2
votes
2answers
582 views

raspbian stretch overrides cmdline.txt kernel.hostname parameter

i'm building an embedded prototyp with a raspberry pi 3b+ and its booting via pxe from the network read only. Multiple devices share the same root file system and just the boot folders are customized ...
1
vote
0answers
41 views

Sd card gets corrupted on some monitors?

When connected to Monitor DELL e2218hn, SD card with NOOBS installed is getting corrupted within 2-3 hours of use. This is not the case with other monitors as it works really smooth. ISSUE: When Pi ...
0
votes
0answers
1k views

Can't build DKMS kernel module

I'm on Raspian Stretch and an RPi2. I'm trying to install xtables-addons-dkms. This was the output of apt-get on my first attempt: Setting up xtables-addons-dkms (2.12-0.1) ... Loading new xtables-...
1
vote
1answer
534 views

Patching and Compiling Kernel 4.14.97-v7+ with Realtime Preemption

I need to patch and compile (not cross-compiling) the Kernel 4.14.97-v7+ (Raspbian Stretch) to support realtime operations. However, I did not find the corresponding patch. The folder https://mirrors....
3
votes
0answers
455 views

How can I install the latest kernel from kernel.org to Arch Linux ARM for Raspberry Pi 3 model B?

I am using Arch Linux on Raspberry Pi 3 model B. I want to install a newer kernel (currently I have 4.14.94-1-ARCH kernel installed) I have downloaded and compiled the mainline kernel 5.0-rc5, which ...
1
vote
2answers
7k views

Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,6) running Raspbian NOT on top of NOOBS

I tried many fixes, but most of them are for NOOBS Raspbian installations, not for a clan Raspbian installation. I got the following Kernel Panic error: Kernel panic-not syncing: VFS: unable to ...
0
votes
1answer
736 views

/boot/upgrade not found on Ubuntu 16.10 with Berryboot

Hi! I am using Berryboot on my Raspberry PI 3 to boot between Raspbian, OPENElec, RetroPie & Ubuntu Server 16.10, Everything works smoothly except for one thing; When using the Apt-get command ...
1
vote
2answers
599 views

Yocto build on Raspberry Pi3 stuck on Rainbow screen

I am trying to learn about Yocto Project on my Raspberry Pi3 board. I have followed the steps mentioned in this link to build the Yocto image. I am behind a firewall, so I have changed the git.py ...
0
votes
1answer
305 views

Kernel-panic after swtiching from uClibc to glibc

I have a working buildroot environment based upon uClibc. I need to switch to glibc in order to add the bluez5 package. After rebuild all on boot I get a kernel-panic error: not syncing: Attempted to ...
8
votes
2answers
4k views

How can I troubleshoot kernel panics?

My Raspberry Pi 3 has been working stably for a year now as a headless server. In the last month, it's started crashing frequently (every two days). I can attach a monitor and see that there has been ...
0
votes
0answers
335 views

Direct memory access to Cypress CYW43455 wireless LAN chip

Where can I find the direct memory addresses or GPIO pinouts for directly controlling the Cypress CYW43455 Wi-Fi chip on the Raspberry Pi Zero W from a custom unikernel, or a modified Raspbian? My ...
7
votes
4answers
9k views

Pi 3 Raspbian “stretch” (testing) disables wifi

I have a raspberry pi 3 (which has internal WiFi), running raspbian. I decided to run it as "testing", by changing the apt list. Now, I can't use WiFi. Whenever I use wpa_supplicant, it complains ...
4
votes
3answers
12k views

Raspberry Pi 1 Model B+ end of life?

TL;DR My Raspberry Pi (Model B+) can't run the newest Raspbian (Stretch), suspected is that the kernel doesn't work. Anything with a kernel version above 4.1.19 will fail to load. Does this mean that ...
1
vote
3answers
1k views

Where does the Raspberry Pi Ethernet MAC get generated?

I read somewhere (in a few places, actually, can't seem to find the references to it now that I want them) that Raspbian on the Raspberry Pi generates the MAC address for the Ethernet interface based ...
3
votes
1answer
796 views

Use of gpio interrupt 2 rather than interrupt 3

I have studied in bcm2835 manual that its gpio peripheral can generate three interrupt lines. But in the same manual (interrupts section) I found that there are four gpio interrupts, gpio_int[0] to ...
0
votes
1answer
84 views

Parallel compilation linux real time kernel

Within the framework of a lab I had to compile a kernel using several commands such as: make zImage j-8 make modules j-8 make dtbs j-8 j-8 means I used parallel compilation but I am asked this ...
1
vote
2answers
4k views

Asus USB WiFi driver install

I am in the process of creating some access points and have bought three RPi2. Before this purchase I've followed this tutorial and managed to create an AP. For that I used 1 Raspberry Pi 2, ...
2
votes
1answer
3k views

How to use BMP280 SPI Kernel Module

I got a adafruit BME280 sensor board and I wired it to the raspberry pi zero via spi. According to the datasheet I can read sensor data from the device via the userspace spi interface. Everything ...

1 2 3
4
5
10