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

learn more… | top users | synonyms

0
votes
0answers
3 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
10 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
9 views

Linux question: stat file modification for creator field [on hold]

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
19 views

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

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
22 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
19 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 ...
0
votes
0answers
16 views

packet transmission across two virtual machines in different subnet [on hold]

I am working on networking project. Here is the scenario, I have deployed two virtual machines on kvm in CentOS. These two virtual machines are in different subnet. I want to make communication ...
0
votes
0answers
23 views

Password generator randomly [closed]

Make a random password generator: read 3 to 5 random lines from /suresh/words and assemble them together to form a random password, it takes an optional minimum size argument that insures the ...
3
votes
1answer
25 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
49 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
38 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
34 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
56 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
27 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
48 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
5 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
14 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
56 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
36 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 ...
1
vote
0answers
7 views

Passing return value to setsockopts() caller if copy_to_user() fails? [migrated]

I'm registering new setsockopts() commands with nf_register_sockopt(): static struct nf_sockopt_ops my_sockopts = { list: {NULL, NULL}, pf: PF_INET, set_optmin: MY_OPT_MIN, ...
3
votes
1answer
64 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
72 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
19 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
3 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
23 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
15 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
17 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 ...
1
vote
0answers
51 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 ...
0
votes
2answers
47 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 ...
0
votes
0answers
44 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
39 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
0answers
45 views

Looking for a Distro for a beginner in kernel hacking

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
47 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
213 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] ...
1
vote
1answer
48 views

Looking for ancient kernel source

I'm looking for an specific old kernel source namely 2.6.26.5 to build an exact replicate of an cross toolchain for an embedded target. Unfortunately all I can find is 2.6.26 in the kernel.org ...
0
votes
0answers
50 views

CentOS/Kernel v3.18/Thunderbolt2

I just got a new SuperMicro box with a AOC-TBT-DSL5320 Thunderbolt2 card pre-installed. I installed CentOS 6.5,ran yum update, and then, because to my understanding at least, thunderbolt support was ...
0
votes
0answers
22 views

MAC to MAC MII interface not working

I have a MAC to MAC MII interface between MPC8569 processor and BCM68610 controller , whose schematic design is followed from here. My linux kernel version is 2.6.32. I want to ping one device from ...
0
votes
0answers
13 views

haproxy - in CentOS is running but the whole directory is no more available and i do not have configuration backup

I had haproxy configured in /var/tmp directory by compiling, i did not had any backup after few months its still running but my /var/tmp/ is having no haproxy anymore. Can anyone please recover it i ...
1
vote
1answer
50 views

Cannot update new kernel for CentOS 7 although the server have space enough

I try to update kernel on my CentOS 7 but the yum say there is no space enough on /boot although /boot have 343 MB as show below: Filesystem Size Used Avail Use% Mounted on /dev/sda2 477M 105M 343M ...
1
vote
0answers
33 views

Meaning of an ampersand prefix in a device tree

I am looking at a DTS file which tries to specify different nodes, but interestingly I find a few nodes having different style of nomenclature. / { model = "TI AM335x BeagleBone Black"; ...
0
votes
1answer
37 views

Applying Linux rt patch

I'm trying to apply the rt-patch to the standard kernel from kernel.org. So far I have tried 3.14 and 3.10 from here: https://www.kernel.org/pub/linux/kernel/projects/rt/ with the corresponding ...
-3
votes
1answer
79 views

Why does microsoft contribute to the Linux kernel? [closed]

Why does microsoft contribute to the Linux kernel? [L. Latif, theinquirer, 2012 "Microsoft contributed more code than Canonical to Linux since 2.6.32"] Are the contributions focussed on code that ...
1
vote
1answer
48 views

Change the kernel in downloaded Ubuntu Image [closed]

I'm adding multiple new system calls to kernel. I want to test my custom kernel by making an bootable ISO out of it trying to boot on another machine. As a part of making this bootable ISO, I got ...
0
votes
1answer
47 views

Why is necesary to compile the entire kernel for a simple patch?

So I am patching my kernel to fix my Bluetooth and building using this guide https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel Why do I have to compile the entire kernel which takes about an hour?
-1
votes
1answer
27 views

ITEAD Core A20 cant load or Proceed to the FileSytem

i have an ITEAD CORE AW2041, which i wanted to deploy some image on it, i got the image on an sd card but when i deploy it on the device, the booting process gets stuck at the kernel level, any heads ...
1
vote
1answer
42 views

Why autoconf.h is not copied automatically to its place?

I'm working on a clean Debian 7.7 install. After the install everything was working fine except the webcam in Iceweasel browser. After reading a lot I found that the best solution is to install ...
-1
votes
1answer
55 views

Fix grub v2 bootloader configuration on running debian

We have a server running Debian Wheezy. It is connected to a UPS, that's why it basically never went down for years and we never noticed that the grub v2 bootloader could not load the correct kernel ...
0
votes
0answers
34 views

Trying to understand the wacom tablet plugging in usb causes kernel panic

First, I realise that askubuntu exists, but a kernel panic is probably more GNU/Linux (kernel and low-level system programs) than distro specific. So I already have a solution to mitigate the kernel ...