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

learn more… | top users | synonyms

0
votes
0answers
176 views

Status of UVC 1.5 support in Linux

My (Debian 8) kernel, 3.16.7 only detects the Logitech C930E webcam as UVC 1.0 (when it does support 1.5). Searching the Internet only throws up kernel patches, most of them from Pawel Osciak form ...
0
votes
0answers
140 views

Wifi driver on Kernel 4.x

I've upgrade my kernel from 3.19 to 4.1.5 but the Wifi driver don't work. Does anyone know how I can make it work? I've tried a few methods but it doesn't work. First method I've tried was to try ...
0
votes
0answers
14 views

How to compile a third party driver in to the kernal? [duplicate]

I am using Linux Mint 17.2 on Toshiba c640. As my LAN driver is no more functional, I am using a USB to LAN converter which was provided with some driver installation files. Every time i want to use ...
1
vote
1answer
254 views

How to compile a third party driver into the kernel?

I am using Linux Mint 17.2 on Toshiba c640. As my LAN driver is no more functional, I am using a USB to LAN converter which was provided with some driver installation files. Every time i want to use ...
0
votes
1answer
46 views

New Kernel does not automatically reconnect to network

I tried playing around with compiling my own kernel. Everything is fine so far, except for that one thing. Whenever I leave a wifi network or unplug my ethernet cable the system does not recognize, ...
1
vote
1answer
463 views

iptables - why do I get “Table does not exist (do you need to insmod?)”

I need to install some iptable ruels to block traffic that originates from a certain country, I found this script example on http://www.cyberciti.biz/faq/block-entier-country-using-iptables/ it works ...
2
votes
1answer
87 views

How does Linux kernel know that collisions occurred in Ethernet collision domain?

Let's say that I have a following network topology: Theoretical total(Tx + Rx) bandwidth for all four hosts in total is 100Mbps. Now if I execute Iperf in UDP mode in all four hosts simultaneously ...
0
votes
2answers
127 views

Windows Internals for Linux [closed]

I've recently been reading Windows Internals version 6 (from Microsoft Press), and found it thoroughly enjoyable. I'm now using Kubuntu on my work machine, and as such have some desire to learn a bit ...
0
votes
0answers
69 views

Test program to configure MPLS datapath in Latest Kernel 4.1.3

Latest Kernel supports MPLS datapath in kernel, However there is no test program, or any guide how to write user space program to configure a MPLS datapath in kernel. I browse the kernel code and ...
0
votes
1answer
337 views

Linux Userspace PCI driver options? (uio_pci_generic)

I have a Xilinx FPGA PCIe end-point on the PCI Bus. Linux picks up the device just fine and everything in lspci looks perfect. My question is about PCI access options from user-space and what would ...
0
votes
1answer
63 views

Increasing Kernel Mode Setting (KMS) scrollback buffer size

I'm using Kernel Mode Setting to set my server's tty resolution. I added GRUB_GFXMODE=1280x1024x24,auto to /etc/default/grub, and GRUB_GFXPAYLOAD_LINUX=keep was already there. There's no vga= or ...
1
vote
1answer
417 views

Unable to install new kernel in ubuntu server. “gzip: stdout: No space left on device” error even though abundant disk space

I am trying to install a new kernel on Ubuntu Server and I am unable to complete it due to a "gzip: stdout: no space left on device" error. The full error was produced after running sudo make ...
3
votes
2answers
54 views

Understanding the relation between FreeBSD kernel configuration file and actual device

To my understanding, FreeBSD's kernel is configured via text files. Each kernel configuration entry is on a single line. Many entries also have comments set off with a hash mark. The GENERIC conf. ...
1
vote
1answer
231 views

debian testing hangs on wakeup from s2disk / hibernate

My machine (ThinkPad x230) hangs on wake up from s2disk or s2ram after a recent aptitude safe-upgrade.† The hang looks like a blank screen with a blinking cursor in the upper right after loading data ...
2
votes
1answer
50 views

is it possible to run ubuntu kernel on fedora root filesystem?

My concern is theoretical possibility of running ubuntu kernel with fedora root filesystem (e.g. 3.2.58 ubuntu kernel on fedora 22). It's long story why I need this.. Also, I have no chance to make ...
0
votes
2answers
1k views

Uboot passes arguments to kernel!

How can uboot pass command line argument to kernel? I did some googling and got to know that it uses the bootargs environment variable. There it was mentioned that setenv bootargs key=value. Since I ...
0
votes
1answer
56 views

CONFIG_NF_CONNTRACK is not set

I am trying to setup iptables on udoo quad but I hit a brick wall and cannot find a fix anywhere: root@udoo:/# uname -a Linux udoo 3.0.35 #10 SMP PREEMPT Wed Jul 30 18:16:10 CEST 2014 armv7l ...
1
vote
2answers
247 views

How to get the name of USB driver in use in linux

I'm running Ubuntu 14.04 on my laptop. I'm having USB related issues in my laptop. It works sometimes and sometimes doesn't. I thought of fixing the issue myself. So, I wanted to know if there is a ...
0
votes
0answers
231 views

grub2: error: /vmlinuz-3.16-ucs109-amd64.efi.signed has invalid signature

I am using a derivative of Debian, called Univention Corporate Server. It's a nice appliance that I use for my home server. Yesterday I upgraded to the newest version and since then my server does not ...
0
votes
1answer
68 views

Option to configure Linux kernel to run userspace script when core dump occurs?

Is there any option in the kernel compilation or userspace setting to do the above? I'm looking to add a crash reported to my new embedded Linux system.
3
votes
0answers
51 views

What could cause dropping cache to be extremely slow on a large cluster?

I'm attempting to time file I/O on my disks. In order to make sure all the I/O is happening off the hard drives and not from ram, before I time any read, I run a drop cache command. Specifically, I ...
0
votes
1answer
174 views

SLES official repository connection (activation code available for SLES 12, not SLES 11 SP3) solution: use SLES SP4

How could I connected to official repository from my SLES 11 SP3? I need to update my kernel etc. Here my previos active-search post =) How to get 60 day SLES activation code
1
vote
2answers
513 views

How to call in a kernel level function in user space [closed]

I've developed some helper functions in the kernel. They're called by other functions in the kernel. Currently, they make my custom kernel panic :( For now (i.e. debugging), I made them as a passive ...
1
vote
2answers
335 views

What causes the ata exceptions in my syslog and how to solve them

I have a new system with debian (omv) a SSD hard drive for the OS and a software RAID 6 for the data. I only saw now that I have very regular exceptions in my syslog. I'm worried now, what could ...
4
votes
1answer
3k views

What does “kernel:NMI watchdog: BUG: soft lockup” followed by other errors mean?

I have my terminal always opened (Fedora 22), because all my work I do from there. Sometimes I search some info in browser or just have fun. After 20-30 minutes of browsing (browser starts not from ...
2
votes
0answers
116 views

Automatic solution to reduce Linux kernel package size at compile time

Are there automatic solutions to disable unused Linux kernel parts (in particular unused modules) before compilation to fasten compilation? A daemon, that logs used kernel functions (or modules) at ...
2
votes
0answers
58 views

Signing a module for prebuilt kernel

I am developing linux driver for my own PCI device. I have stucked up on starting my module: [14941.205599] mymod321: module verification failed: signature and/or required key missing - tainting ...
1
vote
0answers
97 views

Linux: Two different drivers for two (mostly) identical PCI devices

For some obscure reason, I want to use two different drivers for two identical PCI devices on the same system. The drivers have different characteristics, which is why I want one physical device ...
2
votes
1answer
148 views

How do I crash Ubuntu Linux 14.04 LTS deliberately?

I'm trying to crash an instance on AWS so that I can simulate what happens when it gets 'stuck'. I tried the top suggestions here How to cause kernel panic with a single command? but unfortunately ...
0
votes
1answer
274 views

Does Parallels support 3.18.0-kali3-amd64?

I'm not able to find information on which kernels Parallels supports. I'm trying to figure out if Parallels 10.1 supports this kernel since Parallels Tools will not install no matter what I try. ...
0
votes
1answer
89 views

Use of MODULE_FIRMWARE(filename) macro in Linux modules

What is the use of the MODULE_FIRMWARE(filename) macro in Linux kernel modules?
0
votes
3answers
3k views

Empty kernel directory but kernel-headers are installed

Host - Windows 7 Guest - CentOS I am trying to install kernel-headers using yum since during the installation of vmware-tools I get a message asking for the path to the kernel header files for the ...
2
votes
1answer
361 views

How to debug a kernel panic on boot with archiso?

I have an iMac mid 2011 running OSX and I am trying to install Arch Linux following this guide. I successfully set up a dual boot last year following a similar procedure but now I can't even start ...
3
votes
1answer
146 views

Why am I able to write a module parameter with READ ONLY permissions?

I wrote the following simple linux kernel module to test the param feature: #include<linux/module.h> int a = 5; module_param(a, int, S_IRUGO); int f1(void){ printk(KERN_ALERT "hello ...
1
vote
2answers
142 views

Linux fails with starting on a dualboot system after Windows update

I have Windows 7 and Kali Linux on my computer, normally I don't use windows anymore. But today I started windows and it updated itself. I am writing my thesis and all my stuff is in Linux so I really ...
0
votes
1answer
723 views

Kernel version not changing even though the new version is installed

Recently performed software update on a RHEL 6.6 (Santiago). Noticed that kernel version is not updated to latest one that was installed. kernel version before doing software update: [root@server01 ...
0
votes
1answer
184 views

kstat in Solaris 11+

I'm writing a kernel-level program in Solaris that monitors the workload of the system and reports the stats --something similar to netstats in linux and kstat in Solaris. Where the source code for ...
2
votes
0answers
43 views

File permissions for kernel have changed in OSX Yosmite, why?

I am working my way through the book Learning Unix for OSX Mountain Lion (I don't have access to the updated version for OSX), in which it demonstrates that using $ ls -l /mach_kernel should ...
2
votes
0answers
34 views

Significance of Linux kernel's default_console_loglevel

What is the significance of default_console_loglevel in Linux? Commonly I see it described as the default value of console_loglevel. However, what that means I haven't seen explained anywhere. ...
0
votes
1answer
369 views

To run modprobe for Wi-Fi at login

I would like to enable my wifi card automatically at the startup every time. However, the command below requires sudo. I see Hardware Disabled at the wireless connection which blocks the internet ...
2
votes
2answers
1k views

Where is the RHEL7 kernel source code installed?

I install the Linux kernel source code RPM: [root@localhost ~]# rpm -ivh kernel-3.10.0-229.el7.src.rpm warning: kernel-3.10.0-229.el7.src.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY ...
1
vote
1answer
74 views

Why doesn't the Linux kernel prioritize interactive programs?

I've noticed that when running at 100%, things like GNOME become less responsive until I kill background tasks that are expected to take a long time, like compilation or downloading email. Why ...
0
votes
0answers
531 views

How to change the console_loglevel in linux?

I read at multiple places (e.g. here http://elinux.org/Debugging_by_printing), that you can change the console log level by echoing an integer to /proc/sys/kernel/printk. If that worked shouldn't the ...
1
vote
1answer
223 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
1
vote
1answer
342 views

Where in the kernel /dev/kmsg gets initialized?

I'm trying to figure out at which point in the boot up process /dev/kmsg gets initialized and can thus be written. On my system the first line that occurs in dmesg is printk(KERN_INFO "Initializing ...
0
votes
1answer
50 views

Number of Threads in Kernel

How can I get the number of threads in the kernel at specific sampling rate? I need to measure the utilization of the system directly by myself.
0
votes
1answer
680 views

Why Gentoo detects no network devices? [closed]

I've faced the problem installing Gentoo: after the installation is seems to be completed and LiveCD is extracted, network becomes unreachable: gentoo~ # ping 8.8.8.8 connect: Network is unreachable ...
0
votes
1answer
366 views

Update kernel to 4.1.1 in Ubuntu Mini

I'm using Ubuntu Mini 15.04 and I want to update the kernel to the latest 4.1.1. I've been looking online but there are so many different ways. I've tried some but always ran into some error. I am ...
-1
votes
1answer
71 views

Remove branding from custom kernel

I have an assignment to build a custom kernel which removes all the drivers/plugins that are not needed and also remove any traces that it is Ubuntu's. Basically, my teacher wants us to strip it down ...
0
votes
0answers
88 views

64bit Linux Mint on Dual Core Pentium 4 machine

I have a HP 530 desktop with a 3200Mhz Dual Core P4 processor, 4GB RAM and 1TB Sata HDD. I'm setup with Dual Boot Windows 7 and Linux Mint 17. Although Windows 7 64 bit loaded fine, Linux Mint 17 64 ...