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

learn more… | top users | synonyms

1
vote
1answer
23 views

Linux Kernel Live Patching - WHATIS and HOWTO?

I am trying to understand a new concept I got to know recently as the Linux 4.0 makes it way to the mainline - "Live Patching". Supposedly this is a new feature enhancement of the Linux kernel. It ...
0
votes
0answers
27 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
15 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
31 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
9 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
21 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 ...
0
votes
0answers
16 views

How to install rtl8187 driver on Kali Linux newest version [closed]

When I tried to install the rtl8187 driver, I couldn't compile the source. Maybe the problem is Linux kernel version
1
vote
0answers
28 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
16 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
21 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
186 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
votes
0answers
105 views

Unable to get vmware shared folders working in Ubuntu 14.10 Guest

i Installed Ubuntu 14.10 64Bit in VMWare Workstation 10.0.5 within windows 8.1 Enterprise. I installed vmware tools by running the vmware-install.pl script in terminal.But I am Getting an error ...
1
vote
1answer
28 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
36 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
35 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
32 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
39 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
41 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
62 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 ...
1
vote
0answers
43 views

Compiling a loadable kernel module outputs several warnings about undefined functions [closed]

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
2
votes
0answers
40 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
9 views

Issue with network up/down in kernel [migrated]

I am trying to write a Linux kernel module that with the correct command, will bring down the the network interface (lets say wlan0) change its IP address to the one specified, then bring the ...
1
vote
0answers
10 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
31 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 ...
0
votes
0answers
7 views

pr_debug not giving any output [migrated]

I have a loadable kernel module and its init is as given below static int __init id_init(void) { struct identity *temp; /* some code which is not relevant to the question */ temp = ...
-1
votes
0answers
27 views

CentOs LINUX Server CPU usage 100% [duplicate]

I have linux centos server and few days before it was working fine. But now my server is not responding. I logged into my server by SSH access and after analyzing the server I found a command which is ...
1
vote
1answer
53 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
16 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
0answers
23 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 ...
1
vote
0answers
12 views

Linux question: stat file modification for creator field [closed]

I modified stat structure in my new kernel, and I compiled and entered to new kernel version linux-3.19. The location of new kernel source code was present on desktop. While I try to print the stat ...
2
votes
0answers
23 views

Trouble calling syscall by name [migrated]

I am in process of adding system calls to linux Kernel 3.19. Tried out the following for adding a syscall 'add' for x86 arch in Ubuntu 14.04 LTS. src=3.19 source Added entry to ...
1
vote
0answers
32 views

Specifically what advantages does Kali Linux have other than preinstalled packages? [closed]

I have been using Kali Linux increasingly over the last few months. I also have an Ubuntu system, and have found that there are many similar tutorials on how to install Kali tools on Ubuntu. However, ...
0
votes
1answer
34 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
33 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 ...
3
votes
1answer
38 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
102 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
63 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
45 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
61 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
39 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
56 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
10 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
26 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
86 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
42 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
1answer
94 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
12 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
153 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
28 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
5 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 ...