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

learn more… | top users | synonyms

1
vote
1answer
69 views

How to enable auto upgrade of kernel-devel package when kernel version is upgraded?

I have a USB wireless adapter for which I need to re-install a kernel module every time the kernel gets upgraded to a new version. But for installing this kernel module again, I need to download and ...
1
vote
0answers
232 views

Error while building Linux kernel for versatile board

I'm trying to build the 2.6.32.69 version of Linux Kernel for versatile board but I got this error during the build step init/mounts.o: In function `tty_port_users': do_mounts_initrd.c:(.text+0x0)...
4
votes
1answer
226 views

How the terminal can run programs and show its output? [closed]

I'm slowly creating a mental model of how linux works, and I've tried to simplify the most, my model of how linux works. Let's assume that the kernel boots and inits the only software it's gonna run: ...
1
vote
0answers
38 views

My SLES 11 uses 6 GB RAM while nothing is running. How can I find out what is needing it? [closed]

Can anybody tell me what is consuming that much memory on my SLES 11 SP3 server? I suspect a serious bug in the kernel that it does not release memory allocated by an application once it quits. This ...
0
votes
0answers
55 views

vmlinuz damaged

Hello everyone I am new here. I recently purchased Ubuntu 14.04 LTS DVD from a retailer store. Then I burned the iso into my pendrive and configured the file isolinux.cfg. The file was alright. ...
2
votes
1answer
102 views

Change the parameters a kernel module loads with

When I plug in an SD card in Ubuntu, the module mmc_block loads with the value of mmcblk.perdev_minors set to 8. I am pretty sure this is the default value coded into the module. What file might I ...
1
vote
0answers
119 views

new kernel compile - error on bootup - Could not find overlay

I was compiling the kernel using slackware-current, the latest version of the kernel, 4.3.3, also tried 4.4-rc5, and ran into this error on bootup Could not find overlay #6 ### dt-test ### of ...
2
votes
1answer
93 views

Create serial console on plug in USB serial device

I have a CentOS 7 headless system with no serial ports. I sometimes want to access the server using a serial cable, so I plug in a USB serial cable (to my laptop's serial port) but I can't get a ...
1
vote
1answer
54 views

how do i know if the kernel changed

i have a scenario where i need to recompile my display drivers after kernel updates. i'm trying to shome how automate it with bash scripts during boot time. so i need some sort of a way to know that ...
3
votes
0answers
906 views

Xorg on skylake graphics hangs

I've bought msi gs40 that has intel i7 6700HQ which means integrated graphics hd 530. After a day of struggling I was able to start xorg with HD530. For this I addes i915 to initramfs and i915....
0
votes
0answers
141 views

How can I upgrade my debian kernel to 4.3.2?

I am experiencing wireless stability issues and I'd like to upgrade my debian kernel So I'd like to know how can I upgrade my current kernel to the latest stable kernel on kernel.org ? (4.3.2)
1
vote
1answer
1k views

How can Linux 4.2.5 boot on a Skylake CPU when they are supported from 4.3+

I bought a Dell XPS 13 2016 with a i7-6500u (SkyLake). This notebook is not officially linux-supported but I found a few articles on how to get it up and running. But I cannot find an answer to this ...
3
votes
1answer
185 views

How can Wireshark see packets dropped by iptables?

I recently installed my hard drive in a new computer and after some fiddling around I noticed my iptables rules were dropping DNS responses for some reason, turns out they were configured to allow ...
1
vote
0answers
65 views

QT application doesn't receive udp broadcast since linux kernel 3.13.0-70

I'm developing a QT application on Ubuntu and suddenly had problems because QT app doesn't receive UDP broadcast messages. They are visible in Wireshark on that machine, but never received in QT. ...
1
vote
0answers
45 views

Bridging two interfaces with iproute2 doesn't work

I'm trying to create a bridge between eth0 and eth1 with iproute2, but there's always the error: RTNETLINK answers: Operation not supported when I use the command:ip link add name br0 type bridge. ...
1
vote
1answer
86 views

After my system crashed and I run crash, but I get the following error: not a supported file format

My system crashed and even though I haven't been able to know what caused the crash after going through the usual logs: messages, dmesg, secure, etc. There's nothing valuable I have seen on them so I ...
1
vote
0answers
468 views

ip link add gives me an error that it's not supported

I would like to set up a bridge with iproute2 like this: Adding bridge : ip link add name br0 type bridge Bringing bridge UP : ip link set dev br0 up Adding interface to bridge : ip link set dev eth1 ...
0
votes
0answers
54 views

Having a bad time installing Ubuntu

So, I recently upgraded my motherboard and processor. Windows was a real pain to me so I decided to go with Ubuntu. However, I ran into more than a few problems with my installation: When I tried ...
1
vote
1answer
149 views

DKMS modules never installed properly on kernel upgrade

I have multiple DKMS modules installed on my system, some of them mine, and some of them belonging to pretty major maintained packages such as Oracle's VirtualBox 5. What I've found is that on every ...
1
vote
0answers
73 views

Ubuntu DMA Auto Activate Optimization Flag

I have two NAS devices, which differ in architecture. They are connected to the same SATA disks and one of them shows better read and write performances. Okay, there could be many reasons for such ...
0
votes
2answers
180 views

Install Debian kernel header files 3.4.90+ via terminal for ARMHF

I am trying to install the kernel header files on Debian via the terminal, but it does not seem to exist in apt-get. The reason I need the kernel header files is because I need to install WiFi ...
2
votes
0answers
28 views

Assign virtual core number to specific real core

Is there any way to assign ''linux core numbers'' to specific real cores? I'm working with an asymmetric architecture, so not all cores are the same, and I want to assign specific cores number to ...
1
vote
1answer
199 views

building kernel cause dependency cycle error

I was trying to compile latest kernel with some edits. while doing sudo make modules_install INSTALL virt/lib/irqbypass.ko DEPMOD 4.4.0-rc1+ depmod: WARNING: found 2 modules in dependency ...
1
vote
0answers
21 views

What can interrupt execution of threads which are pinned to cores?

I do low-latency application development and I use isocpu and set thread affinity to reduce (eliminate?) context switching during my critical threads. However, I am unsure what other types of ...
0
votes
1answer
110 views

View current kernel parameters?

I saw in my syslog kernel.perf_event_max_sample_rate get changed. I was wondering if I could write a quick script to log this variable every few minutes. Currently it is: sysctl -a | grep kernel....
1
vote
1answer
119 views

Why are there module options AND driver options - e.g. for the i915 module?

The i915 Kernel module has several "module options" like the infamous enable_rc6. However, for the xorg config file, there are further options such as TearFree. I was wondering - why are there two ...
1
vote
0answers
20 views

Diagnosing regular crashes with data loss?

I'm on Kubuntu 15.04 on a HP zBook 14. Every few days, my computer locks up completely - screen stays on, sound get stuck and plays the last few tenths of a second of what ever was playing over and ...
0
votes
0answers
318 views

Installing Linux onto Teclast X80H x86 tablet

I'm trying to install Linux (any linux, but preferrably Ubuntu Mate) onto my cheap tablet Teclast X80H, which came preinstalled with WIN8/Android x86. Main specs are: CPU: Intel Bay Trail, 1830 MHz, ...
0
votes
1answer
257 views

Why cgroup cpu items are miss in Debian 8

the kernel version for debian 8 use 3.10. But under /sys/fs/cgroup/cpu, miss a lot of cpu items. vagrant@debian-jessie:/sys/fs/cgroup/cpu$ ls -1 . cgroup.clone_children cgroup.procs cgroup....
0
votes
0answers
93 views

no bios, black screen on laptop after kernel upgrade and hibernation

I am running dual boot Windows 7 and Linux Mint 17.2 on an ASUS K56. I upgraded the kernel to 4.2 the other day. Reboot and everything worked just fine. Tested browser, music player etc. Then I leave ...
1
vote
0answers
97 views

sysfs alternative to /proc/acpi/button/lid/LID/state

As you probably know ACPI procfs is deprecated in new kernel versions and with sysfs I don't know of a clean way of reading the state of the lid button. The only way I've come up with is hooking up ...
1
vote
0answers
75 views

How do I configure a systemd service to execute simple /bin/echo “Hello world” command to show the output on the console?

I am trying to boot up a vm with qemu-system-ppc64(similar to lkvm). I am using the following command: qemu-system-ppc64 --enable-kvm -vga none -nographic -nodefaults -chardev stdio,id=id1 -...
4
votes
2answers
3k views

When will Debian switch to Linux 4.x? ( and support the live kernel patching ? )

Wikipedia says that current Debian 8.2 Jessie is based on kernel 3.16.0, so I was wondering when a native version based on kernel 4.x would be released and if the live kernel patching will be there as ...
0
votes
1answer
70 views

How to find hugepage size on system?

I am getting following two different result. which one i should consider for Hugepage? [root@server ~]# getconf PAGESIZE 4096 [root@server ~]# grep -i hugepagesize /proc/meminfo Hugepagesize: ...
2
votes
1answer
216 views

Appending files to initramfs image - reliable?

I'm modifying a bunch of initramfs archives from different Linux distros in which normally only one file is being changed. I would like to automate the process without switching to root user to ...
0
votes
1answer
31 views

Unable to view printk output

I have been trying to debug my kernel code with printk statements. But the messages does not show up on the console. cat /proc/sys/kernel/printk gives 7 4 1 7. What could be the reason?
0
votes
0answers
20 views

Why number of dirty pages is always 0 on 2.6?

In /usr/src/linux/Documentation/filesystems/proc.txt i've found the string: Table 1-3: Contents of the statm files (as of 2.6.8-rc3) .....................................................................
1
vote
0answers
79 views

Map non-standard hid reports to scancodes for Logitech G105 Gaming Keyboard

So, I've recently purchased the named keyboard and have been doing some reverse engineering as to how the Logitech Gaming Software does things with it. In this process I've discovered that a few magic ...
1
vote
2answers
33 views

Only booting to GRUB automatically

I installed Elementary OS earlier as the sole OS on my machine. When I boot now, GRUB is displayed on the screen (with a message about minimal bash being available). I can boot to Elementary OS by ...
3
votes
0answers
42 views

Automated kernel recompilation on security patches?

I'm on Ubuntu 14.04 and really enjoy the fact that I get automatic kernel security updates. When a kernel security problem is patched, a new package will be shipped with the new version. My machine is ...
2
votes
0answers
34 views

Microkernel (e.g. GNU Hurd) more secure than monolithic kernel (Linux)? [duplicate]

I would like to understand (in relatively layman's terms) if and how a microkernel such as the Mach-based GNU Hurd is more secure than a monolithic kernel such a Linux. Additionally, does a micro-...
4
votes
1answer
193 views

How can Kernel 4.0 patch the system rebootless?

I've seen that new functionality mentioned in Linux kernel 4.0 was the ability to update without a reboot. Does this mean I can use my system with my application going, and the update will have no ...
3
votes
1answer
130 views

Hairpinning in linux

I have a router in which I installed a Linux system. I want my router supports NAT hairpinning Does a such feature exists in Kernel Linux? If yes how to activate it? Are there a patch to apply it on ...
1
vote
0answers
15 views

is it possible to add a Kernel Header file manually along with the kernel source and build

I am using Linux 2.6.18-238.e15. In this kernel source I could not find the kernel header file procinfo.h. But my application requires this header file. Is it possible to add this header file ...
3
votes
1answer
137 views

Linux Permissions UID 0 vs Ring 0

I am studying for a Computer Security exam, and I am struggling to understand the following sample question. 'Explain the difference between running in ring 0 on x86 and running as UID 0 in Linux. ...
1
vote
1answer
39 views

How do I store the data in disk directly in kernel module? [closed]

I capture the TCP packet in function of netif_receive_skb , I want to store the playload of TCP packet. we can't read/write the file in kernel module, so store in disk directly maybe a way? ...
5
votes
0answers
862 views

Connection problem with usb3 external storage on linux (UAS driver problem)

On Ubuntu 15.10, when i want to format into NTFS file format an external 4TO disk connected by USB3 (on a Starteck USB/ESata HDD dock), i have a lot of I/O Error, and format fail... I try GParted v ...
5
votes
1answer
627 views

What's changed with USB drivers in 4.0 and later Linux kernels?

With kernels up to 3.19, all of my USB devices work perfectly. On upgrading to 4.0 or later, some of my USB devices stop working and the kernel produces errors like this: [ 3.369436] usb 9-1: ...
0
votes
0answers
17 views

How to run newly built Linux kernel in VirtualBox? [duplicate]

I found this question previously asked, but the reply doesn't satisfy me. I have just build Linux kernel which is inside: /arch/x86_64/boot/bzImage Now, how do I install it in VirtualBox or copy that ...
2
votes
1answer
34 views

passing file in mount options

I am writing a stackable file system which requires some database file. I am thinking of taking it as mount time argument and then reading it's content into private field of superblock of mounted FS. ...