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
2
votes
0answers
380 views

Raspberry pi 3 stuck on bootloader

Raspberry pi 3 is stuck in boot. When i was last using it i disabled the wlan0 for some hardware hack, after that when i rebooted it it stuck on the boot as shown below. I have even tried to flash ...
2
votes
2answers
509 views

How to replace a kernel on the raspberry pi to duplicate systems on sd cards?

I have a fully working system which is on one of my SD-cards(#1). I would like to copy everything to another sd card(#2). There are a few problems here: 1) I don't know which version of NOOB or ...
2
votes
0answers
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 ...
2
votes
0answers
3k views

TFT Kernel module not loading on startup

I'm not able to load a driver for a TFT display permanently on a Raspberry with Raspbian OS like specified here: fbtft_device name=sainsmart18 verbose=0 in /etc/modules. Whenever I restart the ...
2
votes
0answers
76 views

Boot error when attempting to install Kinect driver

I am trying to install the kernel driver to use the xbox kinect with my Rpi model B. I have followed the commands found here https://github.com/xxorde/librekinect under example for Rpi with the ...
2
votes
0answers
669 views

Specify interrupt in devicetree overlay

I have created a devicetree overlay to add an MRF24J40 transceiver to Raspberry Pi. The interface of the transceiver is SPI and an interrupt request. After some trouble the device finally appears in ...
2
votes
0answers
426 views

Using kernel debug symbols on Raspberry pi

I see that I can install packages that contain the kernel debug symbols in Ubuntu as shown here. Is it possible to do the same for Raspberry pi? I'd really like to have kernel symbols for the raspbian ...
2
votes
0answers
177 views

How do I install the matching kernel sources for raspbian? [duplicate]

After spending a lot of time with the presumably correct kernel source for my RPi in order to compile a driver (kernel sources for the driver module and the built kernel need to match precisely, ...
2
votes
0answers
3k views

Best approach for real time operating system on Raspberry Pi

I need to use Raspberry Pi with a real time operating system. Of course, I want the best solution. I've searched some options, including custom kernel compilation, ready to install RTOS. So, which ...
2
votes
0answers
2k views

eGalax Touchscreen support, without kernel recompile, raspbian OS

I have been using a custom compiled raspbian OS, with eGalax touchscreen support. The problem is every time there's some upgrade or a major version change in the OS or firmware, I have to recompile ...
2
votes
0answers
1k views

No image file after make (3.6 kernel compiling) [closed]

Overview: I wanted to compile 3.6.11+ linux kernel for my raspberry, after the make command, there were no image files in arch/arm/boot. What I've done: 1 Download the linux code from github.com/...
2
votes
0answers
2k views

raspberry pi booting failed on custom kernel [closed]

hello I have compiled my custom kernel and pack initramfs into it. I have created two partition fat32 and ext3. fat32 contains bootloaders and kernel and ext3 contains rootfs. I have made a raw disk ...
2
votes
2answers
1k views

Switch to newer kernel installed via .dpkg

TL;DR. How do I switch to a newer kernel I just compiled & packed as .deb? Generally, is there a sane way of upgrading a raspbian kernel remotely using a .deb package? I have successfully cross-...
1
vote
5answers
8k views

Getting files from dropbox

I am downloading files from dropbox to my raspberry pi. Now my first problem is, I have no idea how to download dropbox for my raspberry, On Ubuntu it's easy but on my raspberry it wont work. So I am ...
1
vote
3answers
519 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 ...
1
vote
3answers
139 views

RPi 3 kernel without VFAT support

I am building a very compact Linux kernel for my RPi 3. I have stripped a lot of features from the kernel. The current kernel size is around 4 MB. Currently I only have ext4 and vfat FS enabled. I ...
1
vote
1answer
2k views

Does Raspbian's `/proc/config.gz` contain the running kernel's settings?

For regular Debian the kernel configuration is stored in /boot/confg-<version>. I looked for Raspbian's equivalent but did not find it there. However, as also mentioned and thanks to this and ...
1
vote
1answer
577 views

Raspberry Pi 1.2 GHz kernel panic

When I overclock my Raspberry Pi B+ to 1200 MHz, it spits out a nasty kernel panic, even though it is overvolted and cooled sufficiently. However, on my Raspberry Pi Model B, I have gone past 1.3 GHz. ...
1
vote
3answers
3k views

Raspberry Pi kernel configuration for USB mouse and keyboard

I've been trying cross compile kernel using this guide. http://elinux.org/Rpi_kernel_compilation#2._Cross_compiling_from_Linux. However, all my kernel doesn't support USB mouse and keyboard. In the ...
1
vote
1answer
369 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....
1
vote
1answer
892 views

Touchscreen LCD USB (HannsG and elo) behaving unexpected on raspi 3

I tried to connect a Hanns­G HT225HPB 21.5'' touchscreen or an Elo ET1502L to my Raspberry Pi 3. Both connect via HDMI and USB for touch. Both seem to work at first glance but are not really usable. ...
1
vote
3answers
970 views

errors during booting process

I just bought a Raspberry Pi 3 Model B with NOOBS microSD Card. I only connected the USB cable for power and the HDMI cable, it keeps rebooting with these errors, like it is stuck in a loop. /init: ...
1
vote
1answer
450 views

RPI kernel version 4.4.11

Where can I find the kernel for my RPI2 v4.4.11-v7+ Searched here https://github.com/raspberrypi/linux could not find it Kind regards, Greg
1
vote
2answers
155 views

Using GPIO to emulate another device

I'm looking to connecting some devices to the GPIO pins on the Raspberry Pi Zero, (namely a VGA connector). So I was wondering what are the steps to tell the Kernel to say these pins aren't GPIO, but ...
1
vote
2answers
3k views

Install older kernel (3.6.11+) on Raspberry Pi 2

Somewhere in the upgrade from the 3.6.11+ kernel to the 3.10 kernel, the ability to receive video through a USB capture card broke (capture card is based on the stk1160 chipset). It is documented in ...
1
vote
1answer
2k views

Kernel throwing up all kinds of errors over night

I am developing a system that uses OpenCV with Python to access the csi camera, and PyGame for the GUI. Due to the nature of the system (security program) it needs to be left unattended pretty much ...
1
vote
1answer
488 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 ...
1
vote
2answers
123 views

Cron and atd jobs cant see manually mounted file systems (mounted while on ssh) [closed]

I recently upgraded to debian [/raspbian] buster. Ever since then, cron jobs creating directories using mkdir -p <directory name> will create the directory on the root file system / device ...
1
vote
1answer
607 views

Kernel panic when running Raspberry Pi 3 version of CentOS

I'm new to Raspberry Pi and Linux. I'm a university student and I'm a little stuck. I had the idea that if I formatted the SD card that come with the Raspberry Pi and put CentOS (that's the OS we use ...
1
vote
1answer
351 views

Raspbian on RPi2 random total freeze since upgrade to stretch

I purchased a Raspberry PI 2 two years ago and installed Raspbian Jessie at the time. I configured several services including nginx/ssh/... with very specific settings so complete OS re-install is ...
1
vote
1answer
276 views

Can't unlock LUKS twofish-xts-plain encrypted HDD after upgrading to Raspbian Stretch

I have an external HDD connected with my Pi 3 running Raspbian Jessie which I had encrypted with LUKS using the cipher twofish-xts-plain. But after upgrading to Raspbian Strech running Linux kernel 4....
1
vote
1answer
991 views

How to add wifi drivers in custom kernel?

I compiled the Ubuntu Mate 16.04 kernel with custom RT patches on raspberry pi 3. The kernel is 4.1.19-rt22-v7. Everything is working accept for the wifi drivers. They are missing from /lib/firmware. ...
1
vote
2answers
1k views

Enabling I2C module automatically

I've tried to enable I2C communication but when I go into raspi-config there isn't an option to load the I2C module automatically. How can I enable automatic loading?
1
vote
1answer
497 views

eth0: kevent 0 may have been dropped

I have latest Raspberry Pi 3 running raspbian. I'm using it as WiFI AP with a bridge interface between wlan0 and eth0. I was working fine since few weeks ago when suddenly network stopped to work. I ...
1
vote
2answers
2k 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 ...
1
vote
1answer
2k views

Raspberry pi 2 with Freertos

I am quite new to rasberry so maybe I am falling on some simple error. I want to run FreeRtos on a Raspberry Pi 2 Model B V1.1. I have succesfully compiled the FreeRTOS port for Raspberry obtained ...
1
vote
1answer
2k views

Raspberry Pi 2 i2c-dev kernel module not loading

I am currently facing the problem that the i2c-dev kernel module is not loaded despite the dtparam=i2c_arm=on being present in /boot/config.txt. Therefore I cannot i2detect fails on me as /dev/i2c-1 ...
1
vote
2answers
3k views

“Panic:VFS: Unable to mount root fs on unknown-block(179,2)” [duplicate]

When booting my Pi, I get an error that states: "Panic:VFS: Unable to mount root fs on unknown-block(179,2). It's rather annoying, and I've tried lots of various things, I've googled and searched, but ...
1
vote
2answers
582 views

Kernel Configuration for CAN-Bus

I'm trying to configure my can-bus module. I'm following these steps . My branch is 3.18.y-rebase (from github) When I came to device drivers->spi support step I couldn't see BCM2798 SPI controller ...
1
vote
1answer
229 views

“Bind” linux kernel to a specific cpu?

I'd like to build a linux kernel that's specific to a given Raspberry, ie. one that won't boot on any other Raspberries. My idea is to bind the kernel to the cpu's serial number bit I haven't found ...
1
vote
1answer
1k views

Linux based cross compiler [duplicate]

I need an ARMv6 cross compiler for my B and B+ pis, primarily for building the kernel since this requires many hours on the pi itself and sometimes requires trial and error to get right. I would also ...
1
vote
2answers
1k views

How to use the DS2482 kernel module

I want to use the ds2482 kernel module/driver but I'm struggling to find an example to start with. I've googled many searches but I swamped with git trees and source trees. I've loaded it OK and it ...
1
vote
1answer
6k views

Need help troubleshooting kernel Out of memory: Kill process

I've set up a weekly backup cron job using tar and xz. Lately I'm getting the xz process killed by the kernel because of lack of memory. From /var/log/errors.log: Jun 30 03:52:09 pi kernel: [1155695....
1
vote
2answers
50 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
52 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 ...
1
vote
1answer
707 views

Run a script when wifi is connected to a particular wifi network?

My Raspberry pi is connected to my home wifi network. This wifi network have a captive portal and hence each time I need to sign in the captive portal to use the internet. Now I am trying to automate ...
1
vote
1answer
30 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 ...
1
vote
1answer
361 views

Missing cpu.cfs_period_us cgroup subsystem in Raspbian Stretch on Raspberry Pi Zero

I'm dabbling about with cgroups on my Raspberry Pi Zero using the latest version of Raspbian Stretch and I was surprised to see only the following cpu cgroup subsystems available: cgroup....
1
vote
1answer
55 views

latest raspbian kernel update broke bash

I just updated by raspbian box (stretch, upgraded raspbian-kernel, using it as console only) and somehow broke bash. Every time I try to log in (either by ssh or locally) I get the following error: ...
1
vote
1answer
713 views

Header files not being found (sys/stat.h)

I am trying to compile a device driver to control some LEDs connected via GPIO pins. First, I got errors that /lib/modules/4.14.31-v7+/build was not found, so I ran sudo apt-get install raspberrypi-...