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
0answers
18 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 ...
0
votes
1answer
405 views

Can I modify an RPi2 image to boot on an RPi3 B+?

I have a Raspberry Pi 3 B+, and none of the operating systems that usually work on the RPi 3 will boot. I've done a small bit of research, and I think this has something to do with an outdated ...
0
votes
1answer
155 views

Why is ttyAMA0 initialization too long?

If I understand the dmesg output correctly, there is something happening for almost one second around the UART console initialization: [ 1.090771] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq =...
15
votes
2answers
17k views

Enable monitoring mode for RTL8188CUS via USB on Raspbian

I am trying to enable monitoring mode for a USB wifi dongle with the RTL8188CUS chipset on a raspberry pi model b+ (or any raspberry pi for that matter). $ lsusb Bus 001 Device 005: ID 0bda:8176 ...
2
votes
0answers
14 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 ...
2
votes
2answers
328 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 ...
0
votes
1answer
71 views

Clearing edge detect registers (GPEDS0/GPEDS1) crashes Raspbian Stretch

I've been working on a PHP library for Raspberry Pi for a few years now, and since (not sure specifically which) a version of Raspbian Stretch, the Pi becomes completely unresponsive when clearing the ...
1
vote
1answer
537 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
0answers
19 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
201 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
59 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 ...
1
vote
1answer
139 views

How to install custom mainline kernel in Ubuntu snappy core?

I have cloned latest Torvalds kernel, compiled it for the Raspberry Pi 2 model B and generated deb packages as well. When I install them using dpkg -i *.deb the files under /boot/firmware are not ...
0
votes
1answer
67 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 ...
3
votes
1answer
310 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
169 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 ...
1
vote
1answer
337 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
264 views

g_mass_storage issues in 4.9 kernel

I previously had the Mass Storage gadget mainly working with the April version of Jessie (kernel 4.4.50+). Unfortunately it wasn't working on all systems so I thought it would be worth updating to see ...
5
votes
1answer
316 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 ...
0
votes
1answer
417 views

Raspberry not booting up after trying kernel compilation

I had placed fresh noobs on SD card and booted Raspberry Pi many times in the past. To install a custom kernel, I went with the follwing steps: git clone --depth=1 https://github.com/raspberrypi/...
0
votes
1answer
464 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
695 views

Kernel panic - not syncing : out of memory and no killable processes when booting after setting GPU memory to 256 MB in raspi-config

I tried booting in recovery mode (holding down shift from a USB keyboard attached to the Pi2) and still can't boot to fix. Any solutions? Thanks
2
votes
2answers
4k views

Build a customized Linux kernel for the Raspberry Pi

I downloaded a Linux kernel "linux-4.1.13.tar.xz" from kernel.org that I want to compile it for Raspberry Pi. Is it possible?
0
votes
1answer
1k 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
0answers
23 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....
0
votes
3answers
725 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
1answer
1k views

dmi: Firmware registration failed

I have installed Gentoo kernel 4.14.y from https://github.com/raspberrypi/linux. dmesg shows the following errors ... ... [ 0.182547] dmi: Firmware registration failed. ... ... [ 2.224843] mmc1:...
1
vote
1answer
75 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
1answer
679 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/...
1
vote
0answers
40 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
155 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 ...
1
vote
0answers
69 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 ...
3
votes
1answer
492 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 ...
0
votes
0answers
26 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
90 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 ...
0
votes
1answer
335 views

End kernel panic problem

I'm a newbie, trying to connect a gps to my raspberry pi 3 bit. After rebooting I can't get any further, and receive the message End Kernel panic - not syncing: VFS: Unable to mount roof fs on ...
0
votes
2answers
530 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
1answer
2k 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
2answers
115 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
94 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 ...
5
votes
1answer
1k views

rpi 2: Unable to change irq affinity

I am trying to optimise getting GPIO interrupts into userspace. On the single core rpi 1 I couldn't get rid of quite some timing jitter, which makes sense as there's a lot of stuff going on on the cpu....
0
votes
2answers
52 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 ...
1
vote
1answer
393 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 ...
0
votes
1answer
283 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
150 views

Compiling modules for cross-compiled arm64 kernel fails with Syntax error

I successfully cross-compiled the current Raspi Kernel on my 64-bit machine to the target architecture arm64. I went through all the necessary steps for inserting the newly built kernel into my Dietpi ...
0
votes
1answer
50 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 ...
1
vote
1answer
924 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. ...
6
votes
4answers
13k views

Linux headers generic package not found

I need to compile this driver, however I'm missing my kernel headers. I've tried installing them the normal way: sudo apt-get install linux-headers-generic Package 'linux-headers-generic' has no ...
0
votes
1answer
73 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-...
2
votes
1answer
201 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
1answer
414 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 ...

1 2 3 4 5 8