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.

496 questions
244
votes
2 answers

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 rpikernelhack' Adding 'diversion of /boot/bcm2708-rpi-b.dtb to…
MD-7
  • 2,853
  • 2
  • 11
  • 12
74
votes
1 answer

How does Raspberry Pi boot?

I have a raspberry mini computer and I am wondering how that thing does whole the boot process. I can compile my own kernel and init ramdisk with my own scripts and build my own minimal linux system on PC, but for that I need to use some bootloader.…
Petr
  • 901
  • 2
  • 8
  • 7
23
votes
2 answers

What kernel parameters are available for fixing USB problems

There's a lot of problems with USB stack on Rapsberry Pi and developers are working hard to fix as many of them as possible. They introduce some kernel modules options (like dwc_otg.fiq_fix_enable) that enables those fixes from time to time. Most of…
Krzysztof Adamski
  • 9,615
  • 1
  • 37
  • 53
22
votes
3 answers

How compile a loadable kernel module without recompiling kernel

I have read quite a bit about how to compile a kernel module on (and for) the Raspberry Pi, but I'm still not quite able to figure out why it's not working. I have been able to build the module, but it reports Invalid module format when I try to…
Edward
  • 951
  • 1
  • 6
  • 24
21
votes
5 answers

Emulating raspbian with QEMU

I'm trying to emulate raspbian on QEMU and there're plenty of guides available on internet. However, every guide points to download qemu-linux kernel from link https://xecdesign.com/downloads/linux-qemu/kernel-qemu however, this link is dead and I…
dhruvvyas90
  • 2,833
  • 3
  • 19
  • 32
18
votes
2 answers

How do I upgrade Raspbian?

I have my Raspberry Pi setup how I want, but I have an older version than what is currently available (2012-10-28-wheezy-raspbian.zip). How do I upgrade the kernel, firmware, etc.? I have upgraded some using: $ sudo apt-get update $ sudo apt-get…
kevin
  • 1,294
  • 3
  • 14
  • 26
17
votes
7 answers

How to change the default governor?

I want to change the default governor on my pi from ondemand to performance. Is there a way of doing this?
Matthew
  • 959
  • 3
  • 10
  • 20
17
votes
5 answers

Cannot Emulate Raspberry Pi using Qemu: Kernel Panic

I am trying to follow various guides on the Internet in order to emulate Raspberry Pi on my Fedora 22 machine. I have found this question: Emulating raspbian with QEMU and used it to find kernel-qemu to grab a kernel. I downloaded…
Mike S
  • 327
  • 1
  • 2
  • 7
17
votes
1 answer

What is the difference between Raspbian kernels in official image?

In the official Raspbian "wheezy" image (2012-07-15), there are three Kernel images: kernel.img (6MB) kernel_cutdown.img (4MB) kernel_emergency.img (16MB) I'm curious what are the technical differences between these? When might it be beneficial to…
McKAMEY
  • 517
  • 3
  • 9
16
votes
4 answers

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 with normal linux distro kernels) this includes a…
goldilocks
  • 58,187
  • 17
  • 111
  • 227
15
votes
2 answers

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 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN…
Matt M
  • 331
  • 1
  • 2
  • 10
15
votes
1 answer

Pending kernel upgrade even after reboot my RPi4

Every time I update my Pi4, it runs needrestart which complains that I'm using an old kernel version and I should reboot, but rebooting doesn't change anything. First, I have to precise that: I installed a full version on the SD Card (latest one in…
Olivier
  • 431
  • 1
  • 4
  • 9
14
votes
1 answer

How to boot raspberry pi very quickly into Linux?

I would like my pi zero to boot quickly (under 1 second) using Linux. In that case we can pretend it is embedded controller and not standard full blown (but slow) computer. Do you have any (additional) tips how to achieve this goal? What I have…
sharpener
  • 329
  • 1
  • 2
  • 8
14
votes
2 answers

building kernel image (.img) including ramdisk

I have built my Linux kernel (3.0.1) for my Raspberry Pi with these following steps: 1. Downloading kernel source 2. tar xvf source.tar.bz2 3. downloading arm cross compilation tool. 4. tar xvf…
Shantanu Banerjee
  • 435
  • 2
  • 5
  • 17
14
votes
4 answers

Where is the kernel source for Raspbian's default 3.1.9+ kernel?

The default kernel version of Raspbian is 3.1.9+. When I try to compile an extra kernel module I have lots of error messages since the kernel header files are missing. I've checked the Raspbian repository, but I was unable to find the 3.1.9+ kernel…
asalamon74
  • 4,008
  • 4
  • 29
  • 30
1
2 3
33 34