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

learn more… | top users | synonyms

-1
votes
0answers
13 views

Can an Android Governor work on Ubuntu

Technically Android is Linux. Can an Android governor be compiled with Linux (Ubuntu) kernel so that it can work on systems running Linux?
2
votes
1answer
14 views

How do I check if a specific fix in the Linux kernel has been included in a longterm kernel?

I'm specifically wondering if the patch for this bug has been included in the 4.1 longterm tree, or if it hasn't I'd like to know how best to keep tabs on when/if it does get included. The relevant ...
3
votes
0answers
14 views

FIPS mode, signature verification failed

I am building a kernel with FIPS mode on. I followed most of the procedures described on Red Hat documentation here. I also created a hmac signed .vmlinuz file. After installing dracut-fips and ...
-1
votes
0answers
33 views

Please explain “kobject”

Hey I'm new into Linux and just started reading Linux Kernel Architecture by Wolfgang Maurer. Right in the beginning of the book he makes a note and tries to explain what kobjects are and their ...
2
votes
1answer
21 views

How to dump the dmesg AKA Kernel logs to a single .txt file from the kernel boot?

I am trying to understand the SATA Host-Device Communication and for that I have put a lot of debug messages in the kernel driver code. Now messages are in such a huge amount that I am not able to see ...
1
vote
1answer
29 views

Linux file system corruption due to improper shutdown (fs ext4)?

I have been managing many Linux servers, It is very easy to play with Linux servers than any other OS. But Sometime I encounter a problem with Linux OS is that, The file system corruption. This ...
3
votes
3answers
32 views

kernel configs and dependencies

When a particular kernel config is turned on, e.g. CONFIG_CRYPTO_FIPS=y a bunch of other dependencies (CONFIG_XXX_YYYY) get turned on during compilation. Is there a way to know all the dependencies ...
0
votes
0answers
28 views

Can't start Ubuntu VM on VirtualBox 5.0.14 [on hold]

I've been trying to spin up Ubuntu and Xubuntu (14.04.3) VM's on VirtualBox installed on my Windows 7 laptop. For reference, I tried running an older Ubuntu VM (with Spark installed, that worked ...
-5
votes
0answers
21 views

How can i retrieve the following attributes in linux? [on hold]

Reads (transfers per second ) between system memory and user memory writes (transfers per second) between system memory and user memory Number of system calls of all types per second Number of ...
0
votes
0answers
12 views

embedded linux- to check uart in raspberry pi

Checking whether the Pi is sending and receiving UART data by installing the tool Minicom. Pi is sending serial data but is not receiving data. Whatever I type in Pi minicom is received to PC ...
1
vote
0answers
17 views

Why I can not update Linux core in dockers?

When I run apt-get update && apt-get upgrade in container, the core is not starting to update. Yes, I know, containers use the kernel of host machine and can not execute some ...
2
votes
1answer
17 views

Help in building Yocto(open embedded) projects using cluster computing in Linux

I need to reduce project build time in Yocto (open embedded) in Linux platform. So I decided to cluster computers for the best performance for compilation and building. My question: Is there any MPI ...
2
votes
0answers
15 views

How connected are kernel modules to kernel version?

I'm wondering how custom ROMs port new versions of Android (particularly the Linux kernel) to old phones. As I understand, Linux allows closed source kernel modules. If so, then when the phone ...
-1
votes
0answers
13 views

What are front merges in I/O scheduling and how can I tune this parameter? [closed]

My Linux uses the Deadline algorithm for I/O scheduling. One of the parameters is the front_merges parameter under /sys/block/sda/queue/iosched/front_merges. By default it is set to 1, which means ...
0
votes
0answers
23 views

How to get proof that Kernel Oops has happened? [closed]

I crashed a program on purpose, but I can't figure out a way to "prove" that a kernel oops has happened. I tried using dmesg but that only displays on the screen. Is there a log or any other methods ...
1
vote
0answers
38 views

Linux kernel, missing '__fentry__' symbol

Trying to build the EtherCAT master driver (realtime I/O driver) on a RT Linux (SL6.3) I keep bumping into a missing symbol issue when building the EtherCAT kernel modules: # make modules make -C ...
0
votes
0answers
15 views

Attach UVC camera to non-V4l2 Android device without rooting

The main issue is arising when I am trying to connect UVC compliant camera having CMOS sensor OV6612, to an Android device having kernel 3.0.x and OS 4.0.x, not having v4l2 driver. And no streamed ...
-2
votes
0answers
19 views

how to compile and load a kernel module? [duplicate]

I want to compile a kernel module that is have makefile, .c file and .h file how i can compile it for arm cpus an how i can load this kernel module. --This is my makefile : KERNEL_DIR := ...
0
votes
2answers
71 views

Troubleshooting new linux system keeps freezing

I just built a new computer and installed centos7 (RHEL based) and I also tried mint 17.3 (Ubuntu based). Installation goes without any problems. The operating system runs smooth and everything is ...
1
vote
0answers
15 views

Where in Ubuntu SPI pins are configured?

I'm running Ubuntu on a custom embedded system. The SPI bus master is spi-pxa2xx. I've tried my code on several other systems and it worked fine. But on this system all I see is CS activity while I'm ...
6
votes
3answers
498 views

What prevents distributions from using the latest Linux kernel? [closed]

Most Linux distributions ship with a certain kernel version and only update it on point releases (x.y.z to x.y.(z+1)) and for security updates. On the other hand, I know that Linux has a very strict ...
1
vote
0answers
10 views

Remotely use a platform device

I have a linux/android device with a certain hardware module (lets call this pc A), and a driver which uses the hardware as a platform device. Because of testing/os restrictions I'd like to be able ...
2
votes
2answers
50 views

Is there any way to hide kernel threads from ps command results?

When I type ps -ef , there are lots of special kernel thread processes showing. I am not interested in kernel threads; I am only interested in user process/thread. Is there a way that I can hide the ...
1
vote
0answers
9 views

How much control do concrete file systems have over the VFS inode cache and the buffer cache?

I want to make sure I'm understanding how VFS inodes and file system inodes working together. A file system's inodes are stored on the block device and that is where they live. When an operation is ...
0
votes
0answers
14 views

Booting into linux kernel 4.1.3 using qemu

I am trying to boot into a compiled Linux 4.1.3 bzImage (disabled modules, so I only had to make bzImage). Correspondingly, I installed ubuntu 15.10 (with Upstart, not systemd) on a qemu cow2 image ...
3
votes
3answers
77 views

how to monitor a unix directory and if any new file in directory it will be copied to another directory

I want to monitor a unix(Solaris 10) directory and if there is any new file i want to copy immediately. Tried: I have shown inotifywait and incron package in linux for it but i don't know whether it ...
3
votes
1answer
23 views

Does the O_DIRECT flag bypass the Linux page cache when accessing block devices too?

I am running a lot of KVM virtual machines, which open the hard disk image with the O_DIRECT flag. I understand, according to the open() man page, that using O_DIRECT will try to bypass the Linux ...
0
votes
0answers
24 views

Dereferencing string pointer in ftrace event filter

I'm currently trying to create an ftrace event filter for the event sys_enter_open which is filtering by the filename argument. Looking at the format definition of it I can see there's a filename ...
0
votes
1answer
37 views

make + bash: setting environment variables on command line doesn't work

I am trying to build the kernel for Raspberry-pi on my Debian-8 host machine. I passed the following commands to build the kernel make ARCH=arm KERNEL=kernel CROSS_COMPILE=arm-liux-gnueabihf- ...
-1
votes
1answer
99 views

Linux not using all memory

I have a PC with Fedora 23 OS with 4 GB RAM, but usable memory is 2 GB. When I tried to check memory: # dmesg | grep Memory [ 0.000000] Memory: 1753008K/1816676K available (7670K kernel code, ...
0
votes
2answers
40 views

Booting stops at Loading initial ramdisk

I have installed Arch Linux on 40GB HDD on ga-g4mt-s2p1 Motherboard ( Intel Core 2 multi-core,2Gb of Ram) I have made 4 Partitions: /boot 100Mib Swap 4Gib / 20Gib /home The rest of the disk It ...
0
votes
0answers
10 views

init & System V IPC in kernel

Does it affect init if System V IPC is not compiled into a kernel? Does init require System V IPC?
1
vote
0answers
20 views

Add a module to linux kernel source code statically [closed]

I am new to linux kernel programming. I have explored that there are two ways of adding modules to linux. One way is by dynamically linking the modules with the running kernel using insmod and another ...
1
vote
0answers
16 views

Why are there no LSM hooks in the POSIX IPC APIs?

As I understand it, the Linux Security Module (LSM) framework has many hooks which are callbacks for security modules to register functions performing additional security checks before ...
3
votes
1answer
50 views

Can the kernel symbols' addresses be influenced? consequences?

tl;dr: in my distros linux 3.08 kernel using cat /proc/kallsyms I can find out that for instance the _commit_creds function/symbol is located at address 0xc1073fe0. When either: building my kernel ...
3
votes
1answer
53 views

how to eject/unmount usb dongle logically?

We've bought a commercial application who just work only if their dongle usb is connected to the server. However sometimes the application can not recognize the dongle, so it doesn't work, but if ...
2
votes
1answer
46 views

Why does Linux have a maximum number of sound cards? [closed]

I'm specifically asking about CONFIG_SND_MAX_CARDS in the kernel. From the code using this config, for example in sound/usb/card.c for USB cards, soundcards are stored in plain arrays which are ...
0
votes
0answers
32 views

Linux kernel running only with use of physical address

Is theoretically possible to make Linux which for its own kernel (include modules) uses only physical addresses? (it means it completely omits MMU) For processes there would be normal virtual space ...
0
votes
0answers
11 views

Changing the Retransmisson Timeout (RTO) estimation in Fedora

Retransmission Timeout(RTO) in a TCP plays a vital role in the internet. There are many algorithms proposed for calculating the Retransmission timeout. RFC 6298 is used for the estimation of RTO. I ...
2
votes
1answer
77 views

256 colors in console (tty)

Suppose, I have a system without X server. I can only log in from the console. It seems, by default linux console supports only 8 colors: # tput colors 8 Is it possible to use 256 colors in the ...
0
votes
0answers
24 views

Need help determining why a usb device works in Ubuntu but not ChromeOS

I am troubleshooting a problem with an Epson Brightlight 536wi projector. When you plug a USB cable from the projector into a Windows or Linux computer there is a driver built-in to both Operating ...
0
votes
0answers
29 views

OpenWRT image for OrangePi

I am looking for help on how to build OpenWRT image for OrangePi PC and|or OrangePi Plus board, preferably with working Ethernet and HDMI. I have studied related resources on the internet, like ...
0
votes
1answer
41 views

compatiblity with Intel Dual Band Wireless-N 7260 (on tablet)

I hold a Dell Venue Pro 11 7130 with the following integrated network adapter: Intel Dual Band Wireless-N 7260. My aim is using Linux in live mode on it. Most of the distros I've being running so ...
3
votes
4answers
145 views

Restrict size of buffer cache in Linux

Is there a way to tell the Linux kernel to only use a certain percentage of memory for the buffer cache? I know /proc/sys/vm/drop_caches can be used to clear the cache temporarily, but is there any ...
0
votes
0answers
18 views

WARNING: at net/ipv4/tcp.c:1654 tcp_recvmsg

Our Linux based device (3.7.2) experiencing following issue when we try to do FTP or SCP over WiFi Connection. Same will work on Ethernet Connection or on TFTP. Here is the dmesg log for this issue: ...
0
votes
0answers
10 views

DMA address mapping with physical memory

i need to physical RAM memory test, in that case i dont want to check DMA pages,how to find out DMA pages.how its allocated in physical ram ? if it is allocated in physical RAM. Testing RAm then i ...
0
votes
1answer
33 views

What does 'make localmodconfig' do?

What does make localmodconfig do and what should you set so that external hardware is supported?
1
vote
0answers
14 views

Autoloading a particular driver, based on a detected specific kernel

I need some help in writing a tiny script and determining its placement within Debian 7.9 filesystem. As the title says, the script needs to be executed automatically on startup and, after checking ...
0
votes
0answers
31 views

Building Linux driver for a network card remotely, while being connected via the same card

I realize that the title alone sounds confusing, so let me provide the context. My current Linux machine configuration is Debian 7.9 (I need this specific version) with the default kernel 3.2, which ...
1
vote
1answer
59 views

find which process is sending the current io request in linux kernel

I've been diving into the Linux kernel. and would like to trace an io request and find out exactly which process sent the current io request? There is a structure named current which the kernel ...