The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.
0
votes
0answers
6 views
ncurses-devel problems in SuSE Linux Enterprise Desktop 11
Searching on the WEB, I found this tutorial (the only one that has convinced me) for installing a new kernel and I followed the steps provided.
But, I got these problems:
In the first step I tried ...
1
vote
1answer
34 views
How is 32bit Linux virtual memory structured in relation to PCIe Base Address Registers
I'm working on a Linux system (32 bit, 4GB RAM) and found some contradictory information about memory addressing in Linux.
Am I right with this:
Only virtual memory has the differentiation between ...
0
votes
0answers
11 views
Calling speaker-test from usermode-helper API
I needed to call come audio-producing applications from kernel in a toy module. In order to test that, I thought of calling speaker-test from a simpler module, but no sound would ever come from it. I ...
1
vote
1answer
305 views
Determine whether kernel built-in driver supports a device
I'm trying to find a way to accurately determine whether all the hardware on some system has a valid driver installed either via a kernel module or built-in to the kernel.
I'm working with RHEL 5.5 ...
0
votes
0answers
23 views
DisplayPort and Intel HD cause GPU hangs
My system has problems with the displayport connection. This is indicated by several problems that, at the first glance, do not have anything in common. The reason why I claim DP for beeing the cause, ...
-2
votes
0answers
26 views
watchdog timer when BUG: scheduling while atomic: app/646/0x00000103 [on hold]
I wrote an watchdog timer application to handle application hanging condition,for any other error and failure condition. It's working fine when the application is in a deadlock condition, but in case ...
0
votes
2answers
98 views
Linux memory usage?
We have 1TB of memory on a server which hosts an SAP application.
When the app is running the memory usage shown in top is around 700GB. When the app is stopped the memory usage shown in top comes ...
0
votes
2answers
379 views
File system CRC check
I know that before running the kernel, u-boot (the boot loader) will check the kernel image CRC. Only if it is correct it will go further, else it will give a "Bad CRC" error.
I want to do same thing ...
7
votes
3answers
14k views
Enabling IOMMU in the kernel for graphics card pass-through
Short question:
How can I turn on the intel_iommu setting in the Linux kernel? I run a Debian host, using the grub2 bootloader. Documentation I've seen says to edit /boot/grub/menu.lst, which seems ...
11
votes
2answers
1k views
Who is responsible for the Linux kernel?
As of today, there are many Linux distributions like Ubuntu, Fedora, Gentoo, Mint, Debian, etc. These distributions update at different cycles. Ubuntu seems to update its kernel weekly or monthly, ...
3
votes
0answers
532 views
How extended (4MB) and regular (4KB) paging coexist?
On x86 architecture, "Extended paging" allows page frames (physical memory) to be 4 MB instead of 4 KB.
The book "Understanding the Linux Kernel, 3rd" at chapter 2 "Memory Addressing", sub-chapter ...
0
votes
2answers
312 views
Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiable
I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: ...
1
vote
2answers
18 views
Running assembly program as ring 0
I'm writing an application which reports back readings from CPU temperature sensors, and the fan speed monitor. However, according to the Intel documentation on PECI, the instructions required must be ...
3
votes
0answers
30 views
What's the exact behaviour of the command: ip address change?
I have been fiddling with IPv6 and address lifetimes. I found out that the valid_lft attribute will make a v6-address disappear automagically, if used correctly. To extend an address' lifetime I would
...
3
votes
1answer
41 views
Built the kernel with NFS support but not getting /dev/nfs
I'm trying to build kernel 3.13.9, fetched using apt-get source, and built in a clean debootstrap chroot (both host and chroot being installations of Ubuntu Trusty). My goal is to boot a diskless ...
1
vote
0answers
23 views
tasklet and interrupt handler synchronization [closed]
The things I know about tasklet:
Tasklet runs with all interrupt enabled.
The tasklet runs in interrupt context.
It can't sleep.
It runs in atomic way.
It has the assurance to be scheduled never ...
1
vote
1answer
2k views
net.ipv4.conf.all.mc_forwarding: why is my access denied?
On Debian 12.04 LTS
I am trying to access the key net.ipv4.conf.all.mc_forwarding by doing :
sudo sysctl -w net.ipv4.conf.all.mc_forwarding=1
But every time I am doing this, I get the message
...
3
votes
1answer
654 views
Setting CPU governor to on demand or conservative
I'm struggling with cpupower on ArchLinux. I want to set governor to ondemand or even to conservative.
First if I do $ sudo cpupower frequency-info --governors, I only get performance powersave.
So ...
1
vote
1answer
2k views
Is “sync” before drop_caches necessary?
I have read a lot of docs saying, it is good idea to do a sync before doing echo [1,2,3] > /proc/sys/vm/drop_caches.
I am not able to understand why it is needed, since drop_cache is a ...
-1
votes
0answers
11 views
How to use termios and ioctl functions in kernel module? [migrated]
I wrote a kernel module for a touch screen monitor and earlier I used inputattach (written in userspace) to open serial port, set baud rate, control flags, line discipline etc.
But now I want to ...
3
votes
1answer
37 views
Can 32 bit applications on a 64 bit kernel use all the memory?
I know that the 32-Bit kernel can use PAE to allocate more RAM to applications with PAE (up to 64GB) as such I imagine if I am running 32 bit applications on a 32-bit kernel I can use all of my 24GB ...
3
votes
3answers
338 views
AES-NI on Dell Vostro 3360
I don't have AES-NI available on my Dell Vostro 3360 laptop. Why? Does this machine not support it?
My /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
...
5
votes
1answer
323 views
Loading speedstep_centrino kernel module
Because of a noisy fan in my laptop, I need to change CPU frequency and for this task I need to load the appropriate kernel module.
The CPU in my laptop Acer TravelMate 4002WLMi is:
$ cat ...
2
votes
2answers
51 views
Testing the Success of a Congestion Algorithm
How do you test whether a particular congestion algorithm is working for you? I ask because it's not as if I can easily re-create a representative workload for most algorithms.
I'm current looking at ...
2
votes
1answer
42 views
I/O schedulers for normal harddisks
For me figuring out what is the best choice for I/O in kernel was a challenge. First I learned that it is subjective then it is depend upon the File-System you use.
I know you should use No-op for ...
2
votes
1answer
58 views
View all disabled or hidden linux kernel options
I am trying to build a 3.12 Linux Kernel and I see some of the options (sub menus) are hidden and their branch (menu entry) is disabled in make menuconfig. [---- instead of being --->]
I know ...
0
votes
0answers
48 views
How do I make strace “decode” AF_NETLINK comminucation like with ioctl?
strace usually "deciphers" ioctls, showing what do they mean, even resolving network interface names and so on.
But the same operation performed using AF_NETLINK stays opaque in strace. How to teach ...
5
votes
1answer
420 views
What is equivalent to Mac's purge in Linux?
In Mac I use purge to free up some memory. What is equivalent to it in Linux(Ubuntu Server)? apt-get install purge gave me nothing. If you are no familiar with Mac's purge here is it's man page:
...
2
votes
2answers
2k views
How to 'strace' a unix domain socket?
Kind of hard to explain but I noticed when straceing the PID that has the socket open I cannot see any of the communication. How can I sit in the middle of a socket file to watch communication?
3
votes
0answers
212 views
My SMDK2416 (for s3c2416) kernel works on 64MRAM but crashed on 128M
I'm currently working on embedded arm linux with smdk2416(s3c2416)
The kernel is working on the 64MRAM. Recently, I need to increase the RAM from 64M to 128MB with 64MB on bank0 and 64MB on bank1.
...
1
vote
0answers
31 views
What are the two head.S files in linux source ?
In the linux source there are two different head.S files located at:
arch/arm/kernel/head.S
arch/arm/boot/compressed/head.S
What is the puprpose of each one and what is the order of there execution ...
3
votes
2answers
2k views
Installing a cross-toolchain to build ARM binaries on Debian
I tried to install a cross toolchain so I could build Linux kernel on
amd64 (Debian testing "jessie") for my ARM system. I have this entry in sources.list:
deb http://www.emdebian.org/debian sid main
...
2
votes
1answer
624 views
Broadcom Corporation BCM4313 WLAN does not work on installed Arch
I have a Broadcom Corporation BCM4313 WLAN Controller in my netbook. When I boot the Arch live ISO and set up the network with wpa_supplicant everything works fine.
On the installed Arch I get the ...
19
votes
2answers
866 views
What is the purpose of patches of the linux kernel?
For each Linux kernel version, there is a patch file available for download. For instance, linux-3.12.22 has a corresponding patch-3.12.22.
What is the purpose of that patch? To always patch the ...
1
vote
2answers
363 views
How to use netstat command
My question is what does it mean to LISTEN or ACCEPT on a port as it relates to my example?
Example: I have a tomcat server, and It will use port 8080. I want to make sure that port is available for ...
0
votes
1answer
47 views
kernel source code for beaglebone black
I want to build an Ubuntu kernel from scratch for beaglebone black. I have been searching for where I can download the kernel source code for more than two days but haven't found anything.
So, ...
13
votes
3answers
1k views
How to tell Linux Kernel > 3.0 to completely ignore a failing disk?
I am asking this question here in the hope that some Linux-kernel guru can have an answer. This question has been asked on AskUbuntu and on SuperUser without answers: thinking better, it is really ...
0
votes
0answers
12 views
Driverless Windows webcam supported by UVC under 3.10 kernel?
There are 'driverless' webcam that plug into Windows 7 and will work directly without driver, in same way as USB finger disk, just plug in and work automatically.
Is it true that the mechanism works ...
4
votes
1answer
146 views
Installing linux-3.14.8 un Arch Linux while 3.15 is already in testing
I'm currently running kernel 3.14.6 on Arch Linux from Core repo.
I would like to install 3.14.8 (which is the latest of 3.14 series) because it contains a fix that is suitable for me.
However linux ...
5
votes
2answers
235 views
Linux kernel headers' organization
While I was doing some reading on system calls, I did a search for "syscalls.h" to find the header file in LXR. The search results puzzled me. There is a dozen of "syscalls.h" files coming from ...
2
votes
1answer
43 views
Red Hat internal specifications
I'm doing a homework assignment for my college, and I'm trying to find the parameters used in kernel compilation on RedHat.
My teacher asks: "Analyse and describes in terms of models of each version ...
0
votes
2answers
585 views
How to update CentOS 6.5 to kernel 2.6.32-431?
I need to update my CentOS 6.5 kernel to 2.6.32-431. Running yum clean all && yum update doesn't do it for me.
How do I update? And what could be the issue?
[root@centos64 ~]# uname -r
...
0
votes
1answer
1k views
bnx2: Can't load firmware file “bnx2/bnx2-mips-09-6.2.1b.fw”
I just compile the kernel 3.10.19 from kernel.org
Support for bnx2 is enable. On my server when I try to start the eth0 interface I got the following error :
bnx2: Can't load firmware file ...
1
vote
1answer
475 views
How to fix make error “No rule to make target 'menuconfig'” when building a kernel for Beagleboard?
The aim is to build and install the USB Video Class (UVC) module, via make modules_install. I'm trying to configure the kernel via make menuconfig on Angstrom distribution, running on BeagleBoard-xM. ...
13
votes
3answers
4k views
Does Android really use the same kernel as Linux?
I read from somewhere that Android uses the Linux Kernel. Is it really true? I thought the Linux Kernel was meant for desktop operating systems.
1
vote
1answer
39 views
Understanding the difference between pid_max, ulimit -u and thread_max
I am trying to understand the Linux processes. I have confusion on the terms pid_max, ulimit -u and thread_max. What exactly is the difference between these terms? Can someone clarify me the ...
2
votes
0answers
73 views
Server won't boot, kernel panic - not syncing
After a reboot of a CentOS 6.2 server we are getting a kernel panic with the following error:
Kernel panic - not syncing: Attempted to kill init!
Panic occurred, switching back to text console
...
1
vote
0answers
132 views
Why does this iptables rule doesn't get configured after a reboot once in a while? [closed]
On my Android network device, iptables firewall rules service script is started by the init.rc scripts during boot time.
One of the firewall INPUT chain rules doesn't get configured in the iptables ...
1
vote
5answers
105 views
How to find a Linux kernel that works ok on my PC?
I have an old laptop. The newer kernels that ship with the latest versions of the most popular Linux distributions crash from time to time. I want to use a new Linux distribution to get the latest ...
8
votes
4answers
2k views
enabling numa for Intel Core i7
In Linux kernel, the documentation for CONFIG_NUMA says:
Enable NUMA (Non Uniform Memory Access) support.
he kernel will try to allocate memory used by a CPU on the
local memory controller of the ...