The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.

learn more… | top users | synonyms

0
votes
0answers
40 views

Repackage RPM with kernel

I am tinkering with CentOS 5.4 and upgrading the kernel to the latest 2.6.18 build 402. What I need to do is to rebuild the initrd to include a modified init script, then repackage it all into an RPM ...
0
votes
0answers
74 views

isolcpus doesn't work on Ubuntu 14

I added isolcpus=0 to the end of the following line to the file /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=0" The idea, as I understand it, is to reserve core 0 from having ...
0
votes
1answer
105 views

Upgrading guidance for Cedarview driver in Debian 6 - 2.6.32

Our system runs with Debian 6 squeeze (2.6.32) Kernel with N2600 hardware. I know the version is old. An upgrade is in later plans. Recently, we tried connecting multiple monitors (CRT and HDMI), and ...
0
votes
0answers
81 views

Tegra Mesa GLES without X

I am trying to setup a Tegra 3 (Toradex Apalis T30) based system that will have an OpenGL ES based user interface on a touch screen. Unfortunately the standard Linux4Tegra kernel is seriously outdated ...
0
votes
1answer
59 views

Is the PTTY inside the Kernel or Userspace?

I read, that drivers are a way to expand the Kernels abilities to communicate with hardware devices, since there are so many and will be even more the Kernel has to be expandable. In order to ...
1
vote
0answers
67 views

How to set SyslogIdentifier in [SERVICE] section of systemd service file as empty?

I want to set SyslogIdentifier in [SERVICE] section of systemd service file as empty, so that nothing is prefixed in the logs. I tried below options: 1) Mentioning nothing: SyslogIdentifier= ...
0
votes
0answers
85 views

Yocto menuconfig not working

For some reason the menuconfig menu does not come up when I try launching it from my Yocto installation. I am using the Toradex Yocto 1.6 system as is described here ...
0
votes
1answer
87 views

What is a Kernel Routine ?

In another answer I met a short overview of the sections of the man pages: commands for $-User system call, that means evoking a function from the Kernel library call, that means evoking a function ...
3
votes
1answer
533 views

Does Linux virtual bridge support VLAN's?

Does Linux virtual bridge(configured with for example ip or brctl) support VLAN's? For example configure access ports in different VLAN's and trunk ports with only certain VLAN's enabled. Only option ...
1
vote
1answer
42 views

web cam starting hangs os

I faced a strange effect as ... when my notebook wakes up from suspend I can start and close my web cam with guvcview 1-3 times; But after while on 3dr or 4th starting attempt (I didn't count for ...
0
votes
1answer
96 views

How to understand virtual switch in Linux?

I have a following virtual Ethernet switch in Linux: root@vmhost:~# brctl show br0 bridge name bridge id STP enabled interfaces br0 8000.266b04c4a79a no ...
5
votes
1answer
44 views

Find out which kernel source files were used when kernel was compiled

I am compiling the Linux kernel for my specific hardware and I only select the drivers/options which I really need. This is in contrast to a typical distribution kernel, where they compile almost ...
4
votes
1answer
88 views

git: show which files have changed between kernel 3.18.6 and 3.18.7

I have checked out linux kernel git repository git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git I know how to use git log, git show and similar commands to see ...
1
vote
2answers
143 views

MMU-less kernel?

I would like to try compile mmu-less kernel. From what I found in configuration there is no option for such a thing. Is it possible to be done?
0
votes
0answers
146 views

Cross compile GLIBC : error: Need linker with .init_array/.fini_array support

Whenever I call glibc configure with --prefix=/usr --with-headers=/var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/sysroot/usr/include --host=armv7a-hardfloat-linux-gnueabi ...
1
vote
0answers
276 views

How to rotate the LCD screen/framebuffer to 180 degree?

I have a custom board with a Freecale i.MX6Q SoC. I am using Linux kernel 3.03.35 and LCD is 3.5 inch RGB type display. I want to rotate my LCD screen to 180 degree. I tried a lot to pass parameters ...
2
votes
0answers
93 views

How to insert a modified ELF loader given the current ELF loader is present?

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
1
vote
0answers
13 views

dracut md5sum boot directory

This has been going on for a few months now, but my initramfs (and kernel) for that matter have been placed in /boot/{some hash}/{kernel version}/{initramfs,linux}. Did dracut or some other module ...
0
votes
1answer
96 views

make: xscale_be-gcc: Command not found

I'm new to embedded and am reading 'Embedded Linux Primer' at the moment. I tried to build an xscale arm kernel: make ARCH=arm CROSS_COMPILE=xscale_be- ixp4xx_defconfig # # configuration written to ...
1
vote
1answer
80 views

Re-enabling the console once the kernel is up, if silent mode was set in Uboot?

I have enabled the silent mode by setting the U-boot env variable "silent". Uboot-> setenv silent 1 Uboot-> saveenv Now, I would like to re-enable the console once the kernel is up. Can ...
0
votes
0answers
65 views

Gummiboot Kernel Parameters, Cannot find /boot/loader dir

I installed Gummi boot to my EUEFI partition which is sda1. when I do lsblk it show boot is mounted on sda2, which is also my root partition. when I ls '/boot' there is no loader dir. I need the ...
0
votes
1answer
37 views

Is it safe to upgrade kernel manually on a system which is using NVIDIA drivers?

Upgrading kernel manually on Ubuntu 14.04 can cause trouble with NVIDIA drivers? (one of the troubles could be booting to black screen) I had lot of trouble with installing NVIDIA graphics drivers ...
0
votes
1answer
90 views

Trying to make a Universal Makefile

I'm working on my own netfilter module for the first time. According to internet documentation, The simplest module contains the following C code: //'Hello World' kernel module, logs call to ...
0
votes
1answer
80 views

Why do we need a usbkbd driver when there is usbhid?

I discovered that it is the usbhid that controls my USB keyboard by default. I discovered it by doing rmmod usbhid. When I removed usbhid the usb keyboard stopped working. Note that usbkbd was not yet ...
4
votes
1answer
126 views

What are the `some_name.o.cmd` files?

What are the some_name.o.cmd files that I see in Linux's kernel code? are they auto-generated?
4
votes
0answers
204 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...
4
votes
1answer
144 views

RTC time synchronization not working (CONFIG_RTC_SYSTOHC)

I have the option CONFIG_RTC_SYSTOHC enabled in my kernel: Device Drivers ---> [*] Real Time Clock ---> [*] Set the RTC time based on NTP synchronization The help says: ...
1
vote
2answers
59 views

How/Where to learn about linux kernel? [closed]

I want to learn how the Linux kernel works, specifically about the following topics: structure, programming design, device development, but I do not know of good places to learn about these topics. I ...
1
vote
2answers
70 views

Linux Operating System and Version, Regardless of Distibution [duplicate]

I would like to know a linux command that can tell me the operating system and version regardless of what distribution I am using as it seems different distributions have a different way of doing ...
1
vote
1answer
136 views

Enabling ethernet over usb support in Linux Kernel

How to enable Ethernet over USB support in linux kernel. Which driver(like CONFIG_USB_USBNET) is related to this support. Is EEM (Ethernet Emulation) regarding this support or not..???
2
votes
1answer
92 views

modinfo when a module was compiled into kernel statically wouldn't work — workarounds?

modinfo is rather useful tool when it comes to tweaking module's parameters (at least discovering what options are availalbe), for e. g.: $ modinfo dummy filename: ...
1
vote
0answers
25 views

Constant 60KB Shared library memory on /proc/<pid>/maps

In a quest for understanding RAM requirements of system processes, I arrived to analysis of /proc/pid/maps. I have noticed a pattern: many shared libraries have exactly 60KB space allocated in their ...
0
votes
0answers
64 views

Kernel loglevel and console manipulation

I want to have two console kernel arguments, one /dev/tty2 for screen and one /dev/ttyAM0 for serial debugging. I can achieve that simply with: console=ttyAM0,115200 console=tty2 I want /dev/ttyAM0 ...
0
votes
2answers
294 views

Buildroot - missing i2c kernel modules

I've used Buildroot to build a minimal operative system. During the configuration step with the menuconfig utility I specified to install I2C tools. The option was is Target Package -> Hardware ...
4
votes
1answer
104 views

How to list all loadable kernel modules?

I'm looking for a few kernel modules to load i2c-dev and i2c-bcm2708. But the modprobe command returns: sudo modprobe i2c-dev modprobe: module i2c-dev not found in modules.dep How can I list all ...
3
votes
0answers
307 views

update kernel without restart

Recently Linux got a new feature called Live Kernel Patching, which you means you dont have to restart your system to update kernel. Is there any other kernel which has this feature already or Linux ...
1
vote
1answer
14 views

What setsockopts() 'name' values are used by the running Linux kernel?

I am introducing some new socket commands with nf_register_sockopt(&my_new_socket_options). How can I find, what setsockopt commands are already used (registered?) by the currently running kernel, ...
4
votes
0answers
454 views

dmesg: pci BAR 7: can't assign io

I have VMware virtual machine running Debian Wheezy. I have compiled my own kernel 3.14. I have noticed dmesg is flooded with messages pci BAR 7: can't assign io (size 0x1000). I have no idea what ...
2
votes
1answer
50 views

kernel: nf_conntrack: table full, dropping packet; Underlying Reason

I have a modified linux on an ARM9 processor. It was working OK, but yesterday I got this error repeatedly: kernel: nf_conntrack: table full, dropping packet I have 2 questions: How can I find ...
0
votes
0answers
11 views

doubts regarding memory control group and memory zones lru list?

I have doubts regarding memory control group and memory zones lru list ? I just want know whether memory control groups lru list is subset of memory zone lru list or they have different pages on them ...
-1
votes
1answer
32 views

How is the linking mechanism so fast in the kernel system calls? [closed]

If I open any file in Linux kernel almost every file has many extern functions and many #indef or #ifndef macros so while compiling how exactly does it map all the functions and macros when more than ...
0
votes
0answers
23 views

How to instruct RHEL6.5 Linux to save/starts states before crush or restart

I have multiple Workspaces, each responsible for different revisions of the same software. Not to have to recreate all Worspaces and open all tools/windows, I'm wondering how can I instruct Linux to ...
0
votes
0answers
27 views

Detecting and categorizing device drivers in a running system

How can I obtain what device drivers are incorporated in a running kernel? More than this, how can I categorize these device drivers? For instance, this is a Linux kernel conceptual map, from ...
2
votes
0answers
296 views

Can a zImage be used with U-Boot and ArchLinuxARM?

I am using U-Boot on a Cubieboard 2, sun7i AllWinner A20 board to boot into ArchLinux ARM. The kernel version that I have is the sun7i latest, which is 3.4.103-5-ARCH so, in kernel terms, it's a bit ...
1
vote
2answers
231 views

“Last resort” Linux terminal command to reboot (over ssh) in case of a kernel bug?

I have a small server with Ubuntu 10.04 on it; I am manipulating this server from another computer via ssh, and I tried to use nfs on it to share files. That mostly works, until one of the clients ...
1
vote
0answers
185 views

module scsi_wait_scan not found on CentOS kernel-ml causes kernel panic on boot

I am attempting to upgrade from kernel-lt to kernel-ml, following the instructions here, however on boot the console is flooded with module "scsi_wait_scan" not found This leads to a general kernel ...
1
vote
1answer
94 views

What is “fs” short for in kernel function “get_fs()”?

There are two Linux kernel functions: get_ds() and get_fs() According to this article, I know ds is short for data segment. However, I cannot guess what "fs" is short for. Any explanations?
1
vote
2answers
93 views

Looking for a Distro for a beginner in kernel hacking [closed]

I'm currently trying to learn the basics of the linux kernel via Linux Kernel in a Nutshell and Linux Kernel Development books, the problem is that when using Ubuntu, there are a lot redundant ...
4
votes
1answer
170 views

Why is there AF_NETLINK? Is AF_UNIX not enough?

As far as I understand, AF_NETLINK socket protocol is for communicating between the kernel and userspace and AF_UNIX is for communication between two userspace processes. Why does Linux need a ...
0
votes
2answers
993 views

What does “task mysqld:xxx blocked for more than 120 seconds” mean?

We are troubleshooting a MySQL issue where some queries are taking a very long time complete and I see many of these entry in /var/log/messages: Jan 28 05:52:15 64455-alpha01 kernel: [2529273.616327] ...