These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

2
votes
0answers
18 views

Verifying kernel modules using a list of hashes

I'm interested in preventing replay attacks on kernel module verification. I feel that using a list of hashes of kernel modules would be better for this than using digital signatures. My Motorola ...
2
votes
0answers
22 views

How connected are kernel modules to kernel version?

I'm wondering how custom ROMs port new versions of Android (particularly the Linux kernel) to old phones. As I understand, Linux allows closed source kernel modules. If so, then when the phone ...
2
votes
0answers
32 views

Screen locks up until after resume

I've a Dell XPS 13 (9350) running Debian Stretch. I have not yet replaced the Broadcom wireless until, or upgraded to a 4.4 kernel with support for it, but expect to do so in the future. After I ...
2
votes
0answers
57 views

How to calculate LXC load average

How I can calculate or fetch LoadAverage from LXC container? (/proc/loadavg has load from physical server not from vm) Any ideas ?
2
votes
0answers
102 views

Working /dev/ttyS0 but can't transfer binary (one serial but two drivers Com1/Com4)

I think it's a driver config issue, it works in winXP(dual boot) with intel drivers. I'm debugging via serial port from another machine, which works fine. The PC is a i5 dell Optiplex 790 running ...
2
votes
0answers
31 views

Any way to specify process to call on Linux when OOM activates?

On my embedded system I'd like to record when the system OOM killer actives, e.g. by setting an env. variable in u-boot. Is there any way to specify a hook function to call on the OOM event?
2
votes
0answers
71 views

Making vim the default editor when I double click a file

When I run vim from the start menu, it opens up an xfce terminal window and runs vim. However, when I set vim to be my default text editor and double-click a file, it runs in xterm instead of the xfce ...
2
votes
0answers
82 views

Debian x86_64 and 4 GB RAM

I bought additional 2GB of RAM and inserted it into my laptop. The BIOS sees 4GB of RAM but Linux sees only 3GB. Output of free -m: total used free shared buffers ...
2
votes
0answers
45 views

how to list all the epoll requests in linux

I used to use netstat for displaying all listening sockets. How can we list epoll requests on the sockets? Or is there anyway to dislay epoll requests using netstat?
2
votes
0answers
136 views

How do I clone only my Linux partition from my 500Gb HDD to a 250Gb SSD?

I have a four year old Thinkpad T420 with a 500 GB HDD with dual-boot Windows/Linux Mint on it. I want to replace the HDD with a 250 GB SSD, cloning only the Linux part (100Gb), and totally ignoring ...
2
votes
0answers
141 views

How can I prevent gunzip | ntfsclone to hangup if the zip source is not readable

While trying to make an automatic OS installer (via livecd) I stumbled over a phenomenon that I'm not sure how I can correct it. I mount /mnt/source to a network drive where an iso file is located. ...
2
votes
0answers
92 views

Lost space in LVM

LVM Hey. First of all I want to say excuse me for my bad English. I a problem after installing CentOS 7 with LVM. Some space lost after problem with LVM configuration. I tried to add some logical ...
2
votes
0answers
38 views

Turned on PC and everything is big Linux Mint

I got my Linux Mint computer yesterday and everything looked really good and normal yesterday. I turn on my computer today and for some reason that I do not know everything is a lot bigger so much so ...
2
votes
0answers
49 views

Linux USB audio volume problem

I have a dual boot Linux/Windows 8 system with a pair of KEF X300A speakers connected to the machine via a USB port. After each reboot from Windows the maximum volume obtainable from the speakers in ...
2
votes
0answers
23 views

lshw HWPath priority — how to determine

I have a project here at work where I'm attempting to definitively map ethernet MAC addresses to physical ports (IE card 1 port 0 is eth0 (mac xx:xx:xx:xx:xx:xx) and a non-technical operator can look ...
2
votes
0answers
64 views

How to properly set up a cross-compiling environment for Windows?

I'm working on an application written in C that's supposed to run on at least Linux and Windows. I usually work on Linux, so I'd like to be able to cross-compile my application for Windows. My ...
2
votes
0answers
88 views

Find a IR transmitter device

I would like to use the IR transmitter included in a cubox. I did not found any documentation to use it, so I would want to learn how to communicate with periphericals on linux. Commands like ...
2
votes
0answers
30 views

how to build kernel-tools-4.2.xx.rpm and kernel-ltools-libs-4.2.xx.rpm

I am trying to upgrade Centos-7 kernel (kernel-3.10) to (Kernel-4.2.6) and for that I downloaded kernel from kernel.org and create rpm for the custom configuration (arch x86_64)using "make rpm". ...
2
votes
0answers
25 views

Make CapsLock switch between text input and navigation

I'd prefer CapsLock to switch between text and navigation modes rather than lowercase and uppercase modes, much like NumLock swaps numbers and navigation, on as low a level as possible. For example, ...
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 ...
2
votes
0answers
45 views

Look up documentation on C types?

I'm reading over documentation on concurrency in C and trying to learn how to do things concurrently. As I'm reading, I'm coming across types I've never come across before like tss_t, etc. Is there ...
2
votes
0answers
155 views

Dropbear immediately drops connection on DD-WRT

I have a home wireless router running DD-WRT. I am unable to SSH into the router (Dropbear) even after restoring default settings and reinstalling the DD-WRT firmware. So I tried to SSH into the ...
2
votes
0answers
128 views

Configuring WiFi drive on MacBook Air running Kali Linux

I installed Kali Linux 2.0 recently, and am trying to make the WiFi work. I was following this guide. However, when I get to the 4th step, I get this: root@KaliDark:~# modprobe -r b44 b43 b43legacy ...
2
votes
0answers
57 views

Move versus Copy

I've created a bash script that creates a handful of users then creates a .ssh folder and copies in their authorized_keys file. I've made sure to set the owner group to the specific user with ...
2
votes
0answers
154 views

NFS mounting options rsize and wsize can't be specified in /etc/fstab

As the Title, the options rsize and wsize can not be specified on Centos7(3.10.0-123.el7.x86_64) cat /etc/fstab: 192.168.11.1:/linux_nfs_share /mnt/nfs01 nfs ...
2
votes
0answers
24 views

Certain folders are always missing using Rsync to server

I have tried several different ways using rsync modules and ssh trying to pull my linux desktop from my freenas server and no matter how I do it, certain folders are always missing. I am trying to ...
2
votes
0answers
129 views

KDE - Problem with dark themes

Hello there Linux super users, I have a slight problem with my KDE Plasma 5.4 setup running on Kubuntu 15.10. Whenever I select a dark theme (in this case: KArc, the problem is the same for ...
2
votes
0answers
83 views

How do you find out why a GlusterFS peer was rejected?

I tried adding a new peer to my gluster cluster, but it's saying the peer is rejected. I've poured through all of my logs but cannot find any hints. Magnum-pi and Apple-pi are running gluster 3.7.3 ...
2
votes
0answers
331 views

Why can't Fedora start my (hard wired) network?

FYI: I've asked this on Superuser but not luck so I'm trying here. I'm not sure which it is more relevant to. I have a hard-wired Ethernet card/cable to my hub. I start Fedora 23 but there's no ...
2
votes
0answers
22 views

Why is there no kernel for the armhf architecture available in the Debian repositories?

I tried searching packages.debian.org for "linux-image" in the stable distribution for the armhf architecture. See here for my exact query. There are no results. Is Linux not included in Debian for ...
2
votes
0answers
103 views

how to use grub-uboot

On an ARM-based device, I'd like to chain-load uboot->GRUB->Linux I see there is a Debian package that seems to be made for that, however I can't find no documentation whatsoever how to use it (ie. ...
2
votes
0answers
24 views

Any way to perform failsafe upgrade without having two images?

I'm figuring out a failsafe upgrade scheme for my embedded Linux device. I want to be able to upgrade the kernel and RFS, and have the system revert to an older image if the new image fails for some ...
2
votes
0answers
134 views

what is kbuildsycoca4 used for?

Could someone explain to me what this command kbuildsycoca4 does? According to the manual page it is said that it constructs a binary database, is it used for system backups or collecting the user ...
2
votes
0answers
60 views

Remmina troubles

Installed remmina and now trying to run it with sudo remmina. But getting this: No protocol specified ** (remmina:9005): WARNING **: Could not open X display No protocol specified Unable to init ...
2
votes
0answers
32 views

Debian image build from Ubuntu launchpad

I downloaded the building scripts and some needed files to build debian cd image from the following link Debian_CD In the README, it mentions I should edit the PATHs for the mirror at CONF.sh # ...
2
votes
0answers
63 views

Xpra server error (error accepting new connection)

I'm having trouble connecting to my xpra server. I've installed Xpra version v0.14.10, on my raspberry pi 2 which running on Raspbian Jessie Distro. I connect to my RPi through putty with X11 ...
2
votes
0answers
26 views

Which subsystem caches file reads?

I am trying to understand how exactly file reads are served from Page Cache. This will be useful when I will be implementing my own filesystem in the kernel. Is file content cached by VFS or ...
2
votes
0answers
103 views

How to boot Linux Mint from USB drive via Grub2

I am trying to install Linux Mint Cinnamon 64 bit on a USB drive so I have a portable desktop wit persistence. I am trying to do this manually because I haven't fount a program that does this ...
2
votes
0answers
52 views

Are multiple signals given to a process served sequentially or their signal handler can cascade?

I was developing my own signal handling mechanism in User space. when browsing the kernel code and executing some c-code. I realized, Scenario 1 : When my code is executing a signal handler on ...
2
votes
0answers
29 views

Load Linux from GRUB menu

My OS is CentOS 6.6. I am trying to practice with loading Linux from GRUB menu using copy of main kernel. I made directory /boot/boot2. Then I put there the copy of ...
2
votes
0answers
42 views

Finding the Process which resulted in Kernel Panic

I have setup my linux system to generate Kernel Core Dump using KDump and kexec packages. I am using the crash tool to analyze the core dump. How do I find the call stack of the process which ...
2
votes
0answers
119 views

Triggering Linux shutdown on power failure

I have an embedded Linux system (currently running Angstrom) with supercapacitor hardware to provide time for writes to complete and avoid corrupted filesystems when external power is removed. ...
2
votes
0answers
57 views

How to remove a broken installation of glibc

I just attempted to install glibc version 2.19 to my computer as follows: 1) I cloned the glibc git repo with $ cd ~ $ git clone git://sourceware.org/git/glibc.git 2) I checked out version 2.19 ...
2
votes
0answers
55 views

What does it mean when a private VM page is none of `rwx`?

UPDATE: It's a padding: every such non-rwx area is preceded with a readable and/or writable area and together they constitute a 64Mb segment (for 64bit architecture). A relevant question on SO: ...
2
votes
0answers
261 views

No candidate version found for sudo

When I tried to install sudo in Debian 8.2 via aptitude install sudo I got an error: No candidate version found for sudo. The source list is standart. Here is the Source list: deb ...
2
votes
0answers
125 views

Can I add iptables rule from the inside of a C Linux program only with capabilities or do I need necessarily root?

I need to add an iptables rule from the inside of a C Linux program. How should I do? Do I need root privilege or can I just grant some capabilities? I tried granting CAP_NET_RAW+iep and using ...
2
votes
0answers
47 views

Changed username - Could not update ICE authority file

I tried to change my username by creating another admin account, restarting, then logging into that new account. Then, I entered the following command: sudo usermod -l NewUserName -d ...
2
votes
0answers
39 views

iptables not working on mobile broadband

I access the internet using a VPN. With the help of iptables rules all out-going traffic from my machine to the internet is dropped instantly when my VPN connection is abruptly terminated. The ...
2
votes
0answers
316 views

Nginx on Debian 8 dev setup. PHP via PHP FPM not working

UPDATE: Ok, I can now happily say that what you see below is the recipe for a happily working automated PHP and Nginx dev setup (with automatic domains) and all problems I had are now solved. I ...
2
votes
0answers
86 views

Prevent large file write from freezing the system

So on my Linux desktop, I'm writing some large file either to a local disk or an NFS mount. There is some kind of system buffer that the to-be-written data is cached in. (Something in the range of ...