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
23 views

Make bootable disk from tar archive

I have a compressed tar archive from a SLES 11 root directory. I'd like to boot another machine with a live linux, extract my OS archive on a disk, and make the disk bootable. Is there any easy way to ...
2
votes
0answers
38 views

GNU/Linux OOM (out of memory) freezes - solution ideas

Explanation While working with older machine with swap on and 2 GB ram, I frequently encounter behaviour well described as freeze: here, what is the best way to prevent out of memory oom freezes on ...
2
votes
0answers
160 views

MIME type changes if file edited in *nix systems

I have an excel file created in Windows machine. If I check MIME type with file -b --mime users.xlsx the result is application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=binary ...
2
votes
0answers
33 views

Why XInput can't work in X-terminal?

I am trying to show keyboard event by app xinput. I tried on three workstations. On the first two workstations (in local X-session), all is good: Get device list: $ xinput ⎡ Virtual core pointer id=...
2
votes
0answers
21 views

Wi-Fi disconnecting after a few minutes

I'm using an old Thinkpad R32 that I found and I installed Debian 8 with LXDE. I'm using a Wi-Fi dongle which is the RTL8191SU. I installed it using firmware-linux-nonfree and firmware-realtek. It ...
2
votes
0answers
80 views

Linux - couldn't mount RDWR because of unsupported optional features (400)

I try to run Android from SD-card. This card is prepared. There are partitions: boot(FAT32), rootfs(ext4), system(ext4), cache(ext4) and usedata(ext4). Boot partitions has files to run u-boot: MLO, u-...
2
votes
0answers
14 views

How can I clone a specific work space to other outputs?

I am using i3-wm with Archlinux, and I nowadays are wandering that: is it possible to clone a specific work space to another output(monitor)? It is different from --same-as as well as --left-of --...
2
votes
0answers
32 views

Is this possible to use a different rootfs that the one kernel comes with?

Here's the situation: I have a compiled zImage that comes with its own rootfs that contains linuxrc. I can extract it using this script. I would like to modify some startup scripts that are part of ...
2
votes
0answers
79 views

GPU pass-through KVM Fedora 23

I am attempting to pass a GPU to a windows 10 VM running on a Fedora 23 host: Virt-manager Host: Fedora 23 Guest: Windows 10 64 bit guest UEFI OVMF GPU: R7 AMD Radon 250 is the GPU that I am ...
2
votes
0answers
58 views

How do Linux kernel modules get enabled in a Linux distro's kernel package?

Although I know how to recompile my kernel to enable a module I want, I'm curious to know how the default Linux kernel modules are chosen in a Linux distribution's kernel package. Taking a comparison ...
2
votes
0answers
38 views

External Fragmentation in FreeBSD due to unmovable Kernel pages

Is external fragmentation an issue in FreeBSD due to unmovable Kernel pages similar to what Linux (1) (2) faces?
2
votes
0answers
54 views

Sort mount points by mount time

With no command line arguments mount displays all mounted file systems, e.g.: /dev/sdy8 on /bar type ext4 (rw,relatime,lazytime,data=ordered) /dev/sdx6 on /baz type ext4 (rw,relatime,lazytime,errors=...
2
votes
0answers
41 views

How to remove all old kernels except the two latest

The following command deletes all kernels except the latest: package-cleanup --oldkernels --count=1 Does the following command delete all but the two latest kernels? package-cleanup --...
2
votes
0answers
45 views

How to get the executed command of a process which has completed successfully using the PID?

I have small script, abc.ksh that takes 3 parameter e.g abc.ksh ${a} ${b} ${c} I will read from a config file with 'n' no of entires and I will execute abc.ksh 'n' times in parallel using a for loop. ...
2
votes
0answers
27 views

Low-res GUI for Linux on a RaspberryPi used as a mobile device

I want to build a custom mobile device using a RaspberryPi or BananaPi and a touchscreen (resolution 320x240). Is there GUI for Linux that's made to work well on such low resolutions (preferably ...
2
votes
0answers
12 views

Linux startup script dependency issue

I have a startup script in init.d that starts some process that depends on Redis server running. When init script executes on boot my process fails due to connection failure to Redis server. I have ...
2
votes
0answers
37 views

How to assign different configuration for ttyS0 under different environments

I have a computer (let's call it as DevPC) that sometimes run Linux in native environment and that sometimes run Linux on Xen. I connect this computer to another computer (let's call it as MonitorPC) ...
2
votes
0answers
158 views

munin phpfpm plugin

I have setup PHP-FPM plugin All graphs works except three PHP5-FPM Average Process Size PHP5-FPM Memory Usage PHP5-FPM Processes setup /etc/munin/plugin-conf.d/munin-node [phpfpm_*] env.url ...
2
votes
0answers
61 views

Can not start wifi with systemd

With command netctl start wlp3s0-tian got error. Apr 29 18:28:57 ArchPad systemd[1]: Starting Networking for netctl profile wlp3s0-tian... Apr 29 18:28:57 ArchPad network[1019]: Starting network ...
2
votes
0answers
22 views

what is difference between .deb pakage file and ddeb pakage file in linux

I need to install SystemTap in Ubuntu 14 and i would need to install debug symbols for kernel i encountered ddeb file how i could uninstall this file after installation ? i got ERROR: Build-id ...
2
votes
0answers
34 views

Can not seem to get the jp2 delegate to work in ImageMagick on Ubuntu 15.10

As the title says, I have tried to install the library on both 14.04 and 15.10. Every time I type in convert -version the delegates do not contain jp2000. I have installed libopenjpeg-dev and libjpeg-...
2
votes
0answers
51 views

Why would all our CLOSE_WAIT connections have 24 bytes in the receive queue?

We have an Apache reverse proxy that is having connectivity issues with the back-end. This results in timeout errors such as this: [Thu Apr 21 12:12:26.031207 2016] [proxy_http:error] [pid 64620:tid ...
2
votes
0answers
38 views

How to support 64-bit times on a 32-bit Linux platform

I need to support 64-bit times on a 32-bit ARM embedded Linux system based on kernel version 4.1. I use clock_gettime() and clock_settime() to get/set the time, but they are limited to 32-bit seconds ...
2
votes
0answers
52 views

Samba unable to write when mounting from linux

I'm having some weird issues with samba. Somehow im not able to write to the mounted share from Linux over VPN but it works without problems when mounting from Windows hosts on the same local network. ...
2
votes
0answers
37 views

Internal speaker unmuted when I press volume up/down buttons on my headphones

It is logical to expect the volume up/down buttons on my USB headphones to only control the volume of the headphones, but in fact they also unmute all other audio output devices. I'm using KDE on ...
2
votes
0answers
34 views

Running R scripts on a Linux cluster

I have access to an IBM IDataplex Cluster with CentOS v.6.2. If I want to run the following R script on R: library(data.table) library(mgcv) library(reshape2) library(dplyr) library(tidyr) library(...
2
votes
0answers
94 views

Configuring and Testing Freeradius on debian

I'm trying to set up a freeradius server on debian (LTS kernel 3.2.0.4amd64; Wheezy 7.10) it seems to want to use freeradius version 2.1.12 Installing the package wasn't a big deal (apt-get install ...
2
votes
0answers
52 views

Linux usb-drive write cache

Is there any way to change the way the Linux kernel handles external storage and the external storage cache? Every time I copy something to it, the copy process seen from userspace seems really fast. ...
2
votes
0answers
37 views

OOM Killer: Processes have a score of over a 1000

All top links when Googling for OOM score seem to indicate that the values must be between -1000 and 1000. I tried to verify that with a simple cat /proc/*/oom_score | sort -n | less and I ...
2
votes
0answers
21 views

Cannot create 16-bit LDT segments on kernel 3.8.11

Running Crossover, I get the warning, Your system does not allow creation of 16-bit LDT segments. I am aware that this was a problem around kernel 3.1.x, but I am on 3.8.11. Also, the fix suggested in ...
2
votes
0answers
47 views

How would I limit users' sudo permissions for journalctl to a specific unit?

I want to provide our users access to journalctl of a specific unit. For e.g., httpd. My initial thought was to specify the command spec like this: /usr/bin/journalctl -u httpd.service * This will ...
2
votes
0answers
108 views

Dual-monitor problem NVIDIA, screens flickering (turning on/off)

I switched to NVIDIA drivers in Linux Mint 17.3 Cinnamon via Driver Manager in order to be able to play games. I am on NVIDIA 750M. The problem is, when I try to connect the second screen via ...
2
votes
0answers
124 views

Netlink access inside a network namespace

I'm trying set up an IPsec gateway (strongSwan) on a Raspberry Pi 2. The Pi was already providing a number of services on the LAN using a private IP address. My initial attempt to turn it into an ...
2
votes
0answers
50 views

Safely remove USB Drive (Kindle) from command line

I am trying to safely remove my Kindle from the command line but, so far, all my attempts have left the Kindle in "USB Drive Mode". This is not the case when I have safely removed the Kindle via the ...
2
votes
0answers
31 views

Is there a way to control the battery charging port of a laptop?

So here's the idea, i want to be able to control this so as to keep the battery wear level to a minimum. At >25% , the battery will be in discharge 'mode' and as the battery reaches <25%, I will ...
2
votes
0answers
31 views

Active Directory UID Mapping to Specific Unix UIDs

I need a bit of help here. I'm a junior systems admin who's sort of been thrown into the deep end with everything! I really don't understand the translation of Active Directory UIDs Mapping to Unix ...
2
votes
0answers
62 views

How to detect rootkit linux kernel module based?

I found this small rootkit source code implemented as a Linux kernel module. https://github.com/mfontanini/Programs-Scripts/tree/master/rootkit Basically, as you can see, it changes the ...
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
66 views

Setting umask of libvirt/virt-manager for proper permissions in a directory shared by host and guest

I'm attempting to create a directory that is fully available to both the host and guest systems of a virt-manager/libvirt/QEMU/KVM virtual machine, with read, write and execute permissions for non-...
2
votes
0answers
23 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
75 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
126 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
34 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
83 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
83 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
50 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
158 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
143 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
114 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 ...