Everything about UNIX kernels: development, configuration, compilation, design, etc.

learn more… | top users | synonyms

3
votes
0answers
53 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
11
votes
3answers
1k views

Is USB-to-USB data transfer between two Linux OSes possible?

I want to create a USB-to-USB data transfer system in Linux (preferably Ubuntu). For this I want to use no external hardware or switch (except this cable). It's going to be like mounting a USB drive ...
5
votes
1answer
183 views

what does mount -o remount,ro / actually do (under the hood)

To remount a mounted filesystem to read-only, I can use following command: mount -o remount,ro /foo This is used for example in the shutdown sequence, where root filesystem (/) is remounted ...
2
votes
2answers
82 views

kernel compilation in ubuntu, reboot msg “gave up waiting for root device”

I was trying to compile Linux kernel from source file i.e. 3.19.3 kernel version I ran the following commands for compilation first I extracted tar -xvf linux-3.19.3.tar.xz changed to its ...
0
votes
0answers
13 views

Increase multipathed filesystem journaling threads?

We have some hardware which is utilizing multipath to speak to backend storage. A situation has been observed which some are attributing to too few journaling threads being allocated by the kernel. ...
1
vote
2answers
45 views

What are unimplemented system calls?

I was revising Linux system calls. I found that a few calls are unimplemented system calls. For example: afs_syscall. I don't understand why they are included in man pages if they are not yet ...
0
votes
0answers
12 views

GDM UI screen update is jittery with Kernel 3.4 with N2600 ATOM processor

This is in continuation to my earlier post : Upgrading guidance for Cedarview driver in Debian 6 - 2.6.32 I recently updated my kernel from 2.6 to 3.4 (Just for making N2600 chipset detect my ...
1
vote
1answer
104 views

How to install/compile module in Debian without using Full Kernel, only by using the already installed kernel headers

I am a newbie in Linux/Debian and searched the internet for a few days but didn't managed to find any good tutorial. Can someone explain step by step how to install a module on a kernel with headers ...
1
vote
0answers
40 views

Xen Kernel - SCSI_WAIT_SCAN Module

We've recently deployed a HP ProLiant DL180 Gen9 with 12 x Intel 530 SSD Drives. The system is running RAID-10 on top of HP Smart Array P840. Our aim was to use Xen on this server. However, when the ...
1
vote
1answer
58 views

Kernel Panic dumps no log files

I was playing a game on Steam and all a sudden I got a kernel panic, I manually shutdown the computer and booted back into Linux Mint 17.1 (Cinnamon) 64-bit, and went to go check through my log files ...
0
votes
1answer
69 views

Linux kernel version suffix + CONFIG_LOCALVERSION

On system start up I currently see Linux 4.0.0-rc6yy and 4.0.0-rc6yy.old from the bootloader menu. I'm not certain where they came from. I suspect "yy" is arbitrary but can someone explain the ".old" ...
0
votes
1answer
64 views

Error: you do not appear to have the sources for the 2.6.32-042stab102.9 kernel installed

I've just bought a new VPS with Cent OS 6.6 installed. I'm attempting to install Asterisk 11 on this VPS via command line remotely. I've used the directions here however I get this error: you do not ...
0
votes
1answer
44 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 ...
1
vote
0answers
35 views

Keyboard merely plugged in greatly increases kernel boot time

Specs are here. I am using a K65 RGB. I am using the ckb-git package from the AUR to provide basic input functionality. With Keyboard and with driver: Startup finished in 3.100s (firmware) + ...
1
vote
0answers
86 views

New laptop - hub over-current condition

I bought a new laptop Lenovo B50-70 and I abe installed Linux Mint. In the syslog is long output og messages: .... hub 1-1:1.0: over-current condition on port 3 hub 2-0:1.0: over-current ...
0
votes
1answer
44 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 ...
1
vote
2answers
32 views

Which bus drivers to include when compiling freeBSD kernel?

I'm trying to compile a FreeBSD kernel and make it as light as possible. I'm struggling with the configurations on the bus, especially the SCSI Controllers part. there are many modules e.g: ahc, ahd , ...
0
votes
1answer
19 views

can't find “buildkernel” target in FreeBSD source files

I'm trying to compile a FreeBSD 9.3 Kernel. in the docs it states that the commands make buildkernel and make installkernel must be run, However I can't find these two targets anywhere in the make ...
1
vote
0answers
46 views

How to get the Adaptec 1200A to work under Linux at UDMA/100 (instead of 66)

A while ago, I got myself a used Adaptec 1200A controller card to keep my onboard slots free for easier connect/disconnect of drives and now I am wondering why this card will only operate at UDMA 66. ...
5
votes
1answer
40 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 ...
0
votes
1answer
103 views

/dev/input/event0 is missing in embedded linux

I'm working on a project and we are trying to make a touch-screen work using Qt with Tslib. We already made some previous prototypes and we managed to make them fully functional. But when creating a ...
4
votes
1answer
67 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
84 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?
-1
votes
1answer
80 views

Pfsense source code to build firewall

Pfsense is an open source Firewall based on openBSD kernel. Where can I find the code and how to modify it to build my firewall?
0
votes
0answers
46 views

Compiling a loadable kernel module(Debian/Ubuntu)

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 ...
3
votes
1answer
117 views

Get kernel source: apt-get install vs apt-get source

I'm looking forward to download a Linux Kernel to get to know how to modify it and how to compile it. I am using Debian distribution and I'm interested in the Debian-modified Linux Kernel rather than ...
4
votes
1answer
126 views

Can I limit the size of the linux file cache?

I am running 64-bit Xubuntu 14.04, linux version 3.8.0-25 with 8GB of RAM. I have a script (in MATLAB, for what it's worth) that loads a large number of data files (~23k) one at a time, for a total ...
3
votes
1answer
38 views

How do I completely remove a wireless interface (and re-add it)?

I'm trying to use a new usb wireless interface (atheros ar9271) and my onboard wireless (intel 6200) is interfering with it. The goal is for me to be able to turn the rf kill switch on (enabling ...
0
votes
0answers
17 views

Get static driver from kernel zImage

I have one kernel zImage inside that there is one static modules for touch panel So is it possible to get touch panel module from zImage because I have no kernel source Please guide me
0
votes
1answer
75 views

U-Boot Bootup error

I'm running a Debian Linux on a Cubietruck, running off a SD card. When I power on, I get the following error: Booting kernel from Legacy Image at 46000000 ... ...
-1
votes
2answers
118 views

Generate major page faults

Is it possible to generate major page faults in the linux kernel at will? Can a program be written such that it is guaranteed to cause a major page fault on it's execution.
1
vote
0answers
32 views

Linux Networking Bootup script takes too long

I am working with a fork of a raspberry pi SoC. One of the modification is the use of AP6210 WiFi/Bluetooth chip. I am running Debian. During boot up, the following 3 startup scripts need to run in ...
1
vote
0answers
63 views

How does the Linux kernel initialize console graphics?

Observation: I switch on a Linux box Boot loader displays its output on screen Boot starts with first output messages Screen goes blank, and never comes back on. Note: this is about the console, ...
1
vote
1answer
66 views

Recognizing GPT partition table created with different logical sector size

I have a 3TB drive which I have partitioned using GPT: $ sudo sgdisk -p /dev/sdg Disk /dev/sdg: 5860533168 sectors, 2.7 TiB Logical sector size: 512 bytes Disk identifier (GUID): ...
0
votes
1answer
39 views

NAS: 100% system (kernel) cpu usage

I have a single core NAS My Live Duo. It runs Debian lenny release. I found via htop utility that it constantly use 100% of red cpu without any noticeable process to eat it. Than I checked via iostat ...
0
votes
0answers
26 views

Linux Kernel Version >=3.14 Obliterates Wi-Fi Dongle!

I own a TP-LINK WN725N, and any linux distro with the kernel version before 3.14 works fine, but past 3.14, the dongle cannot hold a speed of over 10 kb/s for more than 10 seconds. Reconnecting solves ...
0
votes
0answers
40 views

Do dracut handles boot parameters mentioned in dracut.cmdline (7)

If I understand correctly, in boot time the kernel will mount initramfs and then calls /sbin/init from it(which is a symbolic link to /lib/systemd/systemd on Fedora/RHEL systems) and dracut itself ...
1
vote
0answers
177 views

Debian wheezy, 3.19, problem keyboard and mouse on dekstop environment

I am running Debian Wheezy on a BananaPi. I just compiled the kernel and the keyboard was working in terminal(if it's called that way). However, after I installed a dekstop interface using "apt-get ...
1
vote
2answers
96 views

Log message “Disabling IRQ”: what does it mean?

This message appears in my dropdown terminal at seemingly random times when no processes is running in that terminal: andreas@debianator:~$ Message from syslogd@debianator at Feb 24 18:57:58 ... ...
1
vote
0answers
47 views

Print list of bad blocks in NAND flash from user space

Is there any user space tool that can retrieve and dump the list of bad blocks in a NAND flash device? I've checked the mtdinfo command line utility, and also searched /proc and /sys, but couldn't ...
12
votes
4answers
1k views

Why some operating systems event handling is written in asm instead of c?

My question is why nowadays some operating system event handling is still written in assembly language instead of a higher level language such as C, when the kernel itself is written mostly in C?
4
votes
0answers
170 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: ...
3
votes
0answers
130 views

Corrupt LVM metadata header after kernel update

I'm running Debian Wheezy (Linux wheezy3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux) as an encrypted LVM with hardware raid 1 (Adaptec 6405E) on a supermicro server. I was encounting ...
1
vote
0answers
16 views

insert module to kernel

I installed latest version of IPCOP, I've the correct module of my wireless card (htc_9271.fw): put it to /lib/firmware/ there is not any insmod/rmmod but only modprobe: modprobe htc_9271 FATAL: ...
4
votes
1answer
112 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: ...
0
votes
1answer
75 views

Few questions about system calls and kernel modules (kernel services in parallel)

I have few questions about system calls and kernel modules. Let's assume we have two applications (A and B) and each of them is running on a different core. (A-CPU 0, B-CPU 1) When two applications ...
0
votes
1answer
69 views

setting (system-wide) CPU affinities for running processes on a Linux platform

I am conducting a kind of research in that I schedule multiple parallel applications (e.g., OpenMP/pthreaded applications) and execute the applications on specific (partitioned) cores on Linux-based ...
1
vote
1answer
99 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..???
0
votes
0answers
18 views

Slow graphics when using kernel without module unloading support

If this is the wrong place for this question, please let me know. I didn't know where to ask, so here we go: Initially I wanted to disable module loading support for my linux kernel because I know ...
1
vote
0answers
86 views

Is it safe to disable Frequency Scaling and CPU idle Power Management support for Real Time purposes?

I'm using a Raspberry Pi board and I would like to build a real time system. During the kernel configuration, I found the CONFIG_CPU_FREQ option, which (from the help section) allows you to change ...