The kernel manages drivers, file systems, inter-process communication, and interrupts.

learn more… | top users | synonyms

0
votes
0answers
10 views

kernel panic not syncing: VFS unknown-block 179,6 after cloning SD

I have set up my Raspbian and need to clone the SD Card to about 20 other Raspberry Pis now. I used the following command (on OS X) to clone the SD Card: sudo dd if=/dev/rdisk3 of=~/Desktop/pi.img ...
0
votes
1answer
16 views

cross compiling fails. no rule to make module install

I am trying to cross compile a Linux kernel for my Raspberry Pi. following this tutorial. I am trying to run this command: make modules_install ARCH=arm \ ...
1
vote
1answer
42 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
47 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
28 views

Install Custom Kernel

I have a custom linux kernel I need to use. I have the source tree and seem to have cross-compiled it correctly. I don't need help with that, but I don't know how to now install and use the kernel. ...
1
vote
1answer
29 views

issues installing cross-compiled kernel onto blank SD card

I've followed this tutorial when it comes to compiling a kernel for the Raspberry Pi. I'm installing onto a properly partitioned SD card, which I completely formatted first (it now has a fat32 boot ...
1
vote
1answer
52 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 ...
0
votes
2answers
43 views

Kernel log ONLY on serial console (UART)

How to configure kernel, config.txt and cmdline.txt to get all kernel logs (starting from boot) in serial console (UART) only? To clarify: I don't want to see any kernel log on HDMI monitor I don't ...
2
votes
1answer
44 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
45 views

zImage install on Raspberry Pi 2

I have precompiled Android Kernel and modified it. After builduing I got an zImage. The Question is how can I install and boot the zImage on my raspberry pi 2? I'm using a SD-card.
2
votes
1answer
50 views

What are the steps to port a edited Kernel to a newer version?

Title is the full question. Story: I got now one of these 3.6" TFT Screens for the Pi. Now I followed this tutorial on how to set the Pi up for the screen, which is basically a changed kernel. Now ...
0
votes
0answers
37 views

Error is raised when I compile simple driver module on Pi itself with a corss-compiled Kernel

I cross-compiled a new Kernel(3.18.10) on Debian Jessie amd64 for RPi2. Later, when I compile a simple Hello-World module with this kernel, however, an error is raised: make -C ...
1
vote
1answer
56 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 ...
0
votes
0answers
71 views

Problem installing usbip on Raspbian

I am trying to set up USB/IP to share a USB device I have connected to my Pi model B. Here are the steps I have completed. I have installed the usbip package and cross-compiled a new kernel ...
1
vote
0answers
79 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 ...
1
vote
0answers
18 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
2answers
2k views

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 ...
0
votes
1answer
27 views

Time between power on and kernel starting

On my RPi2, I have measured exactly 5 seconds between : "I plug the power cord" and "Kernel starting time 0.00s", as displayed on the top left here: Is there a way to optimize this ...
1
vote
1answer
39 views

Trick kernel into having a connected keyboard

I have a Raspberry Pi B running Raspbian. I'm using it to create this for my little brother. I'm using Adafruit's Retrogame code (found here) to receive GPIO inputs and convert them into keyboard ...
0
votes
1answer
145 views

GPIO.cleanup() on RPi2

To make a long story short I am trying to read frequency on the RPi2's GPIO pins. The goal eventually would be to use this frequency signal to control a PyGame platformer that I have created. However ...
1
vote
1answer
82 views

Raspberry Pi kernel image installation on new SD Card (no pre installed Raspbian or NOOBS in it - it's free with no partions)

I have been working on kernel compilation of Raspberry Pi on Ubuntu using a cross compiler. I have compiled the kernel, and I got the image file generated ...
1
vote
1answer
64 views

Kernel panic not syncing with keyboard plugged in [closed]

My Raspberry Pi won't boot with a keyboard plugged in. It is a wireless Logitech two-in-one keyboard, and it says: end Kernel panic - not syncing: Fatal exception in interrupt. How can I fix ...
1
vote
1answer
130 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 ...
0
votes
0answers
125 views

Invalid module format error on Raspberry. Kernel 3.10.25+

I am trying to install a module on my Raspberry Pi B+ running with Raspbian. To know the version of the Kernel I run the command uname -a and i got this: Linux raspberrypi 3.10.25+ #622 PREEMPT Fri ...
2
votes
1answer
132 views

RPi crashes randomly after 1 to 2 days

I don't know what causes it so I write down what I found out so far, hoping it matters: I have multiple rpis installed in my house, all running perfectly, except this one. I exchanged that rpi ...
0
votes
1answer
146 views

How to add usb wifi adapter support to android build?

I have kernel version : 2.6.38.8 #9, the output for lsusb is Bus 001 Device 003: ID 0bda:8179. Can anyone help to find correct drivers for this chipset and how to add drivers to kernel ?
0
votes
0answers
587 views

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

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 ...
0
votes
1answer
87 views

Boot error (PREEMPT ARM) and screen freeze

I had used and tested my RPi B+ almost 2 months ago, with different TVs (via HDMI and AV), and it worked without any problem. Today, I wanted to test my RPi B+ again (after 2 months of not using it) ...
0
votes
2answers
132 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 ...
0
votes
1answer
352 views

How to upgrade my Pi to a new major kernel version?

I am considering upgrading the kernel of my Raspberry Pi router to 3.19. But how can I do this? I have found an out-of-tree nl80211-compatible driver for rtl8188cus that supports hostapd and acs, but ...
0
votes
0answers
49 views

How to enable ptrace of existing non-child process?

Ubuntu and other systems have added the sysctl in /proc/sys/kernel/yama/ptrace_scope since ~2010; this filesystem location does not exist on my RaspBMC Pi with kernel 3.10.17 (no yama/ directory ...
1
vote
0answers
140 views

How do I install the matching kernel sources for raspbian?

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, ...
0
votes
0answers
102 views

SPI problem when install CAN controller driver

I updated my raspi to 3.18.7+ last days and i also need new driver for my modules. I was waiting for PICAN board driver for pi and yesterday i uploaded it. Before uploaded; ls -al /dev/spi* ...
1
vote
2answers
213 views

Controlling kernel interface 4DPi-32 display

I bought a a SPI controlled display 4DPi-32 [1] and compiled a kernel patched with the driver source [2] provided by the vendor (because the provided deb does not work with RPi2). I had to adapt the ...
3
votes
1answer
51 views

infinite loop while building script for kernel

I have replace 3.18 kernel with 3.10 kernel for some kernel module checking on raspbian. Now when I tried to build that module I got error for kernel script (genkmsys, fixdep etc etc). So, I tried ...
1
vote
1answer
185 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 ...
2
votes
0answers
255 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 ...
1
vote
1answer
3k views

What is the default cmdline.txt?

My Raspbian Pi crashes to a Kernel panic when I start it up, and it suggested somewhere that an invalid cmdline.txt can cause this. What is in the cmdline.txt by default?
1
vote
1answer
238 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. ...
0
votes
1answer
106 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. ...
0
votes
0answers
362 views

USB Issues with recent kernel build

I am trying to roll my own image for the raspberry Pi, I am using a B+ model Pi. What I want to do is build my own kernel and for now have it load busybox or something similar, but I seem to be ...
2
votes
1answer
370 views

Raspberry Pi kernel compilation adding Galaxy touchscreen drivers

I am trying to add the eGalaxy touchscreen drivers to raspbian os . Following this link .. http://simonmcc.blogspot.in/2013/08/raspberry-pi-rpi-kernel-build-for.html?showComment=1421908155346 But ...
1
vote
0answers
393 views

Why I cannot read the temperature/humidity sensor sht20?

I use a temperature and humidity sensor sht20. According to this link: http://www.sensirion.com/en/products/humidity-temperature/humidity-temperature-sensor-sht2x/ It is compatible with sht21, which ...
2
votes
0answers
222 views

Kernel not updating on Raspbian under QEMU

I'm trying to update my kernel to the latest version. apt is updated and upgraded, and rpi-update finishes without error. However when I reboot, I'm still running the old kernel. Any ideas? $ uname ...
3
votes
2answers
171 views

Can I get better performance on Raspbian if I blacklist a lot of kernel modules in raspi-blacklist.conf?

I have a Raspberry Pi that is being used only for displaying a single webpage. I have the memory split set at 64M for the GPU. The display does not require sound, web-video, usb-devices, user-input. ...
0
votes
2answers
509 views

Do we need to put i2c code into kernel?

I see codes to make i2c device (e.g. i2c sensors) work in user space, just need kernel to support /dev/i2c-0 or /dev/i2c-1. But whether do we need to put the codes into Linux kernel? For example, if ...
1
vote
2answers
464 views

insmod segmentation fault error each time I insert a basic module

I'm trying to build some kernel modules on RPI, the ismond work fine for some times, now the insmod command crash each time I try to insert a simple module. the kernel module compile without any error ...
1
vote
1answer
138 views

What is the right value of GPIO_BASE in Linux kernel for Pi?

According to "BCM2835 ARM Peripherals" page 90, the GPIO registers start from 0x 7E20 0000. While according to kernel file: arch/arm/mach-bcm2708/include/mach/platform.h, as below. #define ...
0
votes
0answers
76 views

Kernel Panic on Boot with GertDuino

When I boot my RPi with the GertDuino attached and the jumpers set to the Atmel 328 I get a kernel panic where it cant find the rootfs and drops me to a shell, "kdb >". When I place the jumpers set to ...
1
vote
2answers
4k views

Compile linux device driver in Raspbian

I have some problems with compiling & building a simple gpio driver that I wrote( after THIS documentation). I have a Raspberry Pi Model B+ ( not sure if it's relevant to the question) with a ...