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
2answers
6k 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 ...
1
vote
1answer
132 views

Raspbian Kernel Cross Compiling Peripherals not working

I am having trouble compiling the Raspbian kernel from source. I used the instructions here: https://www.raspberrypi.org/documentation/linux/kernel/building.md. I am cross compiling on Ubuntu 16.04 ...
1
vote
2answers
3k views

Continuesly monitor GPIO input change/events in Bash

On a Raspberry Pi you can set the GPIO pins as an output or an input. An output or an input can be either high or low. For example, to monitor the input state (high or low) of GPIO pin 26 you can ...
1
vote
1answer
1k views

Trying to apply real time patch to kernel 4.9.76

Raspberry Pi 3 model B OS: Raspbian 9.3 stretch Kernel: armv7l Linux 4.9.76-v7+ CPU: ARMv7 rev 4 (v7l) @ 1.2GHz RAM: 1GB I'm trying to apply the real-time patch (it's highly desirable for my ...
1
vote
1answer
1k 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 ...
1
vote
1answer
655 views

Systemwide Hotkey that runs a script

I know its possible to assign a Hotkey to run a Python script by configuring the openbox/lxde-pi-rc.xml. However this Hotkey then only works under X11 GUI. What I would need is a hotkey that works ...
1
vote
2answers
3k views

end kernel panic error during booting

I'm using raspberry pi model B.i have write the raspberry-stretch 2017 image to sd card. but when i put it on my pi, pi show the following error end Kernel panic-not syncing: VFS: unable to mount ...
1
vote
1answer
4k views

How do I install v4l2loopback on raspbian Jessie

Normally I get v4l2loopback by simply git clone https://github.com/umlaeute/v4l2loopback cd v4l2loopback make && sudo make install sudo modprobe v4l2loopback video_nr=10,11 and now I get: ...
1
vote
1answer
3k views

Loading kernel module *qmi_wwan* before *option* to get /dev/cdc-wdm0 automatically

I try to setup a USB modem (Chip is a SimTech SIM5215) using QMI. Everything works fine and it connects to my mobile provider. One problem remains: most of the time the kernel loads the module option (...
1
vote
1answer
2k views

Problem compiling a kernel module

I am trying to compile a driver for a USB to serial converter. I've ran the following commands based on a previous thread: sudo apt-get update sudo apt-get upgrade sudo rpi-update I then downloaded ...
1
vote
1answer
746 views

Modifying libcomposite module doesn't work

I'm trying to modify the libcomposite module in a way that it prints the functions of which are loaded to the log file. I'm using an Raspberry Pi Zero W with the 4.9.20+ Kernel. I updated everything ...
1
vote
1answer
647 views

Why did my kernel version rolled back after rpi-update and apt-get update? Should I only use one of them?

I'm currently using Raspbian (Jessie). Yesterday I've done rpi-update. I've checked the kernel and it's up-to-date (from 4.4.27-v7+ to 4.4.30-v7+). After reboot I did apt-get upgrade but ...
1
vote
1answer
1k views

How to permanently delete this line in Kernel IP Routing table

I have a problem to delete line in next routing table. Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 160.99.37.11 0.0.0.0 ...
1
vote
1answer
547 views

Disable expert mode

I'm trying to recompile a kernel with audit support for that a use the following command: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig -j 12 make menuconfig arch=arm When I try ...
1
vote
1answer
5k views

getting error on raspbian boot up failing to start Load Kernel Modules

Getting error on Raspbian boot up: $ sudo systemctl status systemd-modules-load.service -l ● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-...
1
vote
2answers
501 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 ...
1
vote
1answer
198 views

Ubuntu MATE booting into Raspbian lock screen then not starting?

I have two micro SD cards, one with Raspbian, one with Ubuntu MATE. After using a different monitor for a while, I went back to my flat screen, and it said "Not Supported". So I changed the HDMI ...
1
vote
1answer
384 views

I cannot change the kernel on 4.4.11-v7+

I have a pi 2B where I installed raspbian using noobs on 6-14-16. I have been trying to compile drivers for a wireless nic, specifically the archer T4UH. Doing this requires that the kernel be ...
1
vote
2answers
208 views

Why my RPI in showing black screen and two icons?

I'm able to boot into Raspbian, but the screen is black and is showing the icons and I'm not able to use Keyboard or mouse. It was working fine until today. and this is what I'm getting before the ...
1
vote
1answer
154 views

Raspberry Pi 2 and Adafruit Thermal Printer 597

I have been encountering problems regarding my raspberry pi 2. I've been following the instructions given @ https://learn.adafruit.com/pi-thermal-printer/overview when I change parameters in my /...
1
vote
2answers
3k 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, ...
1
vote
1answer
2k views

Installing ESP8266 SDIO driver; “make” command gives “Kernel build tree not found” error

I'm attempting to add a kernel module on a Raspbian Debian installation for an SDIO-based wifi module driver( found here: https://hackaday.io/post/28712) The stable image comes with kernel 4.1, so ...
1
vote
1answer
611 views

Trouble with rpi-source with kernel 4.0.x

Since a while I was using rpi-source to download kernel source corresponding to the kernel update using rpi-update. As it works great on kernel Linux pib 3.18.14+ #793 PREEMPT Sat May 30 13:15:19 ...
1
vote
1answer
757 views

missing crypto kernel module on Raspberry Pi 2

I'm trying to use dm-crypt on my Raspberry Pi 2 with Raspbian (jessie) to open a trueCrypt volume, but i get Required kernel crypto interface not available. Ensure you have algif_skcipher kernel ...
1
vote
1answer
848 views

How to U-Boot for Arch linux over NAS?

I want to use u-boot my Arch linux including the kernel from the NAS via NFS (or TFTP if it requires). I have installed Arch before and I understand kernel.img, I have read this link about U-Boot ...
1
vote
1answer
320 views

Keyboard and Wi-Fi dongle don't work after updating kernel

I have installed Raspbian on my Paspberry Pi and was experimenting with developing for it. I have followed this tutorial and cloned the kernel on an Ubuntu VM to cross compile it with raspberry tools. ...
1
vote
2answers
1k views

Raspbian kernel source compilation configuration

I try to compile Raspbian, [ http://hermess.no-ip.org/rpi/index.php ] when I Prime kernel with the old config: make ARCH=arm CROSS_COMPILE=${CCPREFIX} oldconfig I get a lot lot of dialog messages, so ...
1
vote
1answer
782 views

Installing kernel 3.10.24 headers on raspbmc

I'm trying to build drivers for my wifi dongle (a LogiLink WL0084B), but for that I need to download kernel headers for my current kernel (3.10.24). I'm using raspbmc. Sadly I cannot find where to ...
1
vote
1answer
2k views

How do I install webcam firmware on the Raspberry Pi?

I want my Raspberry PI to be able to use this cheap webcam I bought from China. Identified as 17a1:0128 TASCORP After quite a bit of searching I found a post from someone who had got it to work ...
1
vote
1answer
91 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 ...
1
vote
0answers
117 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-...
1
vote
0answers
26 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) ...
1
vote
0answers
131 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
19 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 ...
1
vote
0answers
254 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:...
1
vote
1answer
46 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
116 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, ...
1
vote
0answers
92 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 ...
1
vote
0answers
72 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
0answers
34 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 ...
1
vote
0answers
66 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: ...
1
vote
1answer
486 views

Raspberry Pi Zero as webcam

I read some case, like using dwc2 and g_webcam in /boot/config and cmdline. but hard to understand and doesn't work. and can't find a tutorial, there are some tutorials only about serial and ethernet. ...
1
vote
2answers
281 views

vcgencmd in buildroot

I am using buildroot to create a custom os for my raspberry pi. I would like to use the vcgencmd command, but I am unable to find the package that includes these tools. I have tried searching the ...
1
vote
0answers
65 views

How do I interface with the “cprman” clock manager from another kernel module?

It's relatively simple to control the clock manager registers. I've found a set of values, and have C code that writes the desired values to the clock manager registers. This works well; that part ...
1
vote
0answers
89 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 ...
1
vote
1answer
512 views

Cross Compiling ARM Kernel on 64bit machine

I've been trying to cross compile a kernel for my Pi 1 on my 64bit Desktop, following this guide: https://www.raspberrypi.org/documentation/linux/kernel/building.md At this command (in the last ...
1
vote
0answers
169 views

ftrace + addr2line

I want to get kernel source code file name and line number of a kernel function from the function address that ftrace outputted on Raspberry Pi 3. I tried addr2line -e /boot/kernel8.img [function ...
1
vote
0answers
260 views

pyusb: scanner insufficient permissions

UPDATE: I added a symbolic link to my .rules file and it is being created every time I unplug/plug the scanner. I believe my issue is more of a permissions issue with my Python code and more ...
1
vote
0answers
306 views

How do I build a custom RPi kernel DEB package?

I've got a couple of patches to the kernel that I want to apply and use in Raspbian. If I follow the Kernel building guide, I can apply the patch and get my kernel image and modules working just fine -...
1
vote
1answer
623 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/...