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

learn more… | top users | synonyms

0
votes
1answer
15 views

Why does my process take too long to die?

Basically I'm using Linux 2.6.34 on PowerPC (Freescale e500mc). I have a process (a kind of Virtual Machine that was developed in-house) that uses about 2.25 G of mlocked VM. When I kill it, I notice ...
0
votes
0answers
13 views

How does rootfs.ext3 image file work?

I have a FriendlyARM mini6410 device and I have just hardly make it boot from sdcard. Now my sdcard uses "u-boot for mini" (u-boot.bin), "linux2.6.38 kernel" (zImage) and "rootfs qtopia fs" ...
1
vote
0answers
8 views

How to catch my bluetooth service events

I have usb bluetooth device which is using btusb 0.6 module (driver). The thing is I am interested to know is: how is the systemctl start bluetooth.service event invoked? I was looking info about ...
0
votes
0answers
23 views

How to determine if the kernel sources are installed?

I just bought a USB 3.0 Gigabit ethernet adapter. It uses an ASIX ax88179_178a driver. I need to build the driver and the readme says: ...you need the Linux kernel sources installed on the build ...
0
votes
1answer
42 views

Can a kernel preemption happen in the process context with `TASK_INTERRUPTIBLE` state?

If a process sets itself to the sate of TASK_INTERRUPTIBLE, can it be preempted by other kernel components? If it does, I think this process maybe lost wake-up chance due to failed to check the ...
2
votes
3answers
61 views

Legal status of an embedded Linux case

I wanted to find the source code of embedded Linux that is used in Shenzhen Apexis Electronic Co.,Ltd products. For example in this page: http://apexis.com.cn/productsdetails_244.html You see they ...
0
votes
1answer
22 views

How To Induce RO To Linux FS

I've read in several places that during I/O error to system log file most linux distributions go to read only mode. Followed by how to recover from it. This is all fine, but I'm looking for a way to ...
1
vote
1answer
23 views

4G modem on an embedded 2.6.32.9 kernel on a Parrot AR Drone 2.0

I am attempting to compile support for a Huawei E3276 usb LTE modem for an embedded Linux/BusyBox installation on a Parrot AR Drone 2.0, which is based on kernel 2.6.32; however, I am running into ...
2
votes
1answer
22 views

How to get kernel messages on serial console on a systemd system?

I'm trying to set up an A20-OLinuXino-LIME2 as a headless fileserver with a Debian 8 image from Igor Pečovnik's builds. I would like the system to output its kernel messages to the serial console ...
0
votes
0answers
23 views

Unknown symbol in module

I have a kernel module which is was probably written for kernel version 2.6xx. Now currently I want to plug that module onto kernel version 3.1x and above. I have tweaked and change the code and ...
1
vote
1answer
41 views

Linux process - messages from kernel [closed]

I have been learning about different IPC mechanisms present in Linux, for communication between user space processes. I want to ask what are various ways in Linux for the kernel to communicate with ...
1
vote
1answer
29 views

Booting encrypted disk kernel error: Cannot initialize device-mapper

I have Ubuntu 15.04 with a default full disk encryption installed on my chromebook Pixel with linux-samus kernel patch and everything is working fine. I've just tried compiling a newer version of the ...
0
votes
0answers
16 views

APEI Generic Hardware Error : PCIe error with ATTO SAS HBA

Recently we upgraded a remote server to a new Dell PowerEdge T630 with dual CPUs (so all PCIe slots are active). It had been running for several weeks fine before we added an IBM LTO5 tape drive that ...
0
votes
0answers
10 views

SystemTap log output to file

I want to log output from my SystemTap script to a file. But when I try to use the -o option like: stap -r $PWD --remote user@hostname -o test.txt -S 1 ./test.stp I can't find the log file. If I ...
1
vote
1answer
67 views

Changing the TCP RTO value in Linux

I will like to alter the TCP RTO (retransmission timeout) value for a connection, and some reading I have done suggests that I could do this, but I don’t where and how. I have looked at the ...
0
votes
1answer
27 views

What is the register %gs used for?

All I was able to find out about the %gs register is, that it seems to be a free to use register on >32bit x86 architectures. It seems that a gs_change is executed before any system-call. Can someone ...
1
vote
1answer
15 views

Case study of virtual memory management

Need help in understanding virtual memory concept. When a process requesting for 2GB mapping onto the virutal memory in Linux environment of 4GB ( 1GB Kernel : 3GB Userspace), when already another ...
0
votes
1answer
36 views

What is the impact on system performance when kernel debug info is enabled?

In order to debug kernel or use tools like stap (https://en.wikipedia.org/wiki/SystemTap) kernel must be compiled with full debugging information included - namely option CONFIG_DEBUG_INFO has to be ...
0
votes
1answer
20 views

bluetooth - btusb module remove stops bluetooth service

I just faced a strange issue; Every time after suspend the btusb module is kicked out the RAM (for some reason but its OK cause I can reinit it manually) but as a result the bluetooth.service must be ...
2
votes
1answer
29 views

How does the kernel decides what pages commit to swap?

If RAM usage is higher than the level written in «swapiness», kernel will use SWAP. Ok. But how does the kernel «order» programs? Is it «first come, first served» for RAM? Or biggest programs in ...
1
vote
1answer
42 views

Kernel memory leak detection [closed]

How are memory leaks identified in Kernel. Not sure if Valgrind can be used in this case.
3
votes
0answers
43 views

Linux Angstrom can't start without serial cable plugged

I'm using the Altera Cyclone V Soc dev Kit and Linux Angstrom provides by rocketboards (http://rocketboards.org/foswiki/Documentation/GSRD141) Kernel is : 3.10 LTSI Linux can't start if any serial ...
3
votes
1answer
42 views

How do I detect that my system has auto-rebooted after a kernel panic?

I'm using Linux in embedded systems, and want to configure the system to automatically reboot after a kernel panic. However, when the system comes back up, it's important for me to detect and log the ...
3
votes
2answers
47 views

Telling Linux kernel *not* to use certain CPUs

I'm trying to run some benchmarks on a multicore machine and I'd like to tell the Linux kernel to simply avoid certain cores unless explicitly told to use them. The idea is that I could set aside a ...
52
votes
5answers
5k views

Why is the Linux kernel called an “image”?

I often hear people refer to the Linux kernel as the Linux kernel image and I can't seem to find an answers on any search engines as to why its called an image. When I think of an image I can only ...
1
vote
1answer
21 views

Trace kernel object calls

We have strace to trace programs, ltrace for dynamic libraries, and others. Is there any equivalent for kernel objects, as in tracing just like strace but for a specific .ko? Thanks
0
votes
0answers
24 views

High %sy cpu usage , server is very slow

On one of the server we are noticing high %sy usage due to which server is very slow. Below is strace count for syscall. What will be the reason for high %sy usage. % time seconds usecs/call ...
0
votes
0answers
31 views

Arch very long boot-time after kernel downgrade

I just downgraded my arch kernel from 4.x to 3.17.x for the sake of being able to use shared folders feature in vmware. Right now, everything is fine and it boots up too. But boot-time has greatly ...
3
votes
1answer
38 views

what does it mean 'fork()' will copy address space of original process

I'm studying 'operation system concepts' on my own and I'm studying the chp3. process part. There is an example where the 'fork()' function is called and depending of the returned pid value like the ...
0
votes
0answers
19 views

Minimum required packages for a LFS/DIY-Linux system?

I am trying to make a super-minimal linux system, as a base for experimentation, and just for the experience. I have built DIY Linux (similar to Linux from Scratch) before, but I was wondering how ...
1
vote
0answers
19 views

how to find which linux kernel commit made its way to exactly which kernel version [duplicate]

We have a problem that started appearing in kernel-uek-3.8.13-68.1.2.el6uek.x86_64. Symptoms and description matches exactly this linux kernel developers description ...
0
votes
1answer
21 views

Is there a way to expose extra settings through sysfs using the IIO framework?

The driver I'm developing has a number of settings I want the user to be able to change that don't really fit into the IIO framework. For example, using the IIO_CHAN_INFO_SAMP_FREQ enum in my read ...
1
vote
1answer
45 views

routing table “220” in Linux kernel 3.2.0-23-generic

I have a Linux machine with kernel 3.2.0-23-generic and it has rule with priority 220 in RPDB which points to routing table named "220": T42:~# ip rule show 0: from all lookup local 220: ...
2
votes
1answer
47 views

routing cache in latest Linux kernels

As I understand, routing cache was removed since Linux kernel 3.6. In systems with older Linux kernel one could view the content of the routing cache with ip route show cache command and routing ...
7
votes
3answers
413 views

When a process forks is its virtual or resident memory copied?

The standard way of making new processes in Linux is that the memory footprint of (parent) the parent process is copied and that becomes the environment of the child process until execv is called. ...
0
votes
0answers
50 views

how to increase Stack Size of a running program in C

I am trying to identify any way if we can increase the stack size of my running program after getting SIGSEGV. I know we can increase the size of stack by ulimit -c but, that did not solve this ...
0
votes
0answers
14 views

Why my limit on CPU does not validate via cgroups

/etc/cgconfig.conf ... group memlimit { memory { memory.limit_in_bytes = 8589934592; } } group cpulimit { cpu { cpu.shares = 1024; } } /etc/cgrules.conf: ...
5
votes
1answer
54 views

How to enable random PIDs on Linux?

I'm currently comparing random PID implementation on OpenBSD, FreeBSD and Linux from security perspective. As long as OpenBSD and FreeBSD are concerned, my work is done. However, while the answer ...
9
votes
1answer
251 views

Understand logging in Linux

As I understand, Linux kernel logs to /proc/kmsg file(mostly hardware-related messages) and /dev/log socket? Anywhere else? Are other applications also able to send messages to /proc/kmsg or /dev/log? ...
1
vote
2answers
46 views

Triggering hardware interrupts by connecting parallel port pins 9 and 10 does not work

I want to trigger hardware interrupts as described in the book Linux Device Drivers by connecting pins 9 and 10 with a wire. I tried that but apparently there's no interrupt beeing triggered: cat ...
3
votes
1answer
49 views

Linux doesn't drop FS Caches. Instead Memory starts Swapping

I'm quite confused about this behaviour of linux memory caching. total used free shared buffers cached Mem: 15953 14188 1765 64 ...
4
votes
2answers
127 views

Linux does not reply to ARP request messages if requested IP address is associated with another (disabled) interface

I have a PC(kernel 3.2.0-23-generic) which has 192.168.1.2/24 configured to eth0 interface and also uses 192.168.1.1 and 192.168.1.2 addresses for tun0 interface: root@T42:~# ip addr show 1: lo: ...
3
votes
0answers
65 views

How to create Linux Kernel Headers from Linux Kernel Source?

I'm working with Tiny Core Linux and attempting to install Vmware Tools, which of course needs the Kernel Headers :-). It does not appear they have the Kernel Headers readily available in a package, ...
2
votes
0answers
64 views

How to resolve dracut problem when intall Fedora 21

I'm Ubuntu User. But I wanted to change my OS from Ubuntu to Fedora. So I wanted to Fedora 21. But there is a problem. I'm using USB Drive to boot Fedora 21. When I try to install Fedora I get a ...
3
votes
2answers
176 views

What are the programs/commands which the magic SysRq key invoke?

From Magic SysRq key The magic SysRq key is a key combination understood by the Linux kernel, which allows the user to perform various low level commands regardless of the system's state. It ...
0
votes
0answers
40 views

How SYN and ACK packets counted by the server(Linux)

I have a question about tcp layer of linux kernel. I want, Syn and ack packages received to server will be counted. where total_syn_count and total_ack_count are variables to be defined and will ...
4
votes
1answer
38 views

Do I have to publish kernel source if I release a custom kernel?

I have a kernel for an android phone ready for release. I always have the current source code already pushed to GitHub for release builds. However, I also have an experimental folder on my server ...
0
votes
0answers
66 views

SMB/CIFS mount not working with exec() call

To mount CIFS presently I use system() call in source, this works. If I try to run command manually on shell it works too. $ mount -t cifs //IP/dir /mnt -o user=name,pass=PASS,domain=mydomain,nounix ...
1
vote
1answer
47 views

Where is routing table stored internally in the Linux kernel?

When I execute route -n, from where exactly (from which structs) is the information displayed retrieved? I tried executing strace route -n but I didn't help me finding the right place it's stored.
1
vote
1answer
34 views

RHEL not booting with the updated kernel after upgrade [closed]

We have recently upgraded RHEL boxes, but the system only booted with the old kernel. Observation is that there is no link /etc/grub.conf to /boot/grub/grub.conf. Now, to boot the system with the new ...