Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

1
vote
1answer
728 views

Can I use a parallel port as a CUPS input device?

I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect ...
0
votes
1answer
11 views

Convert Asyncronus reset into syncronus reset in verilog

I have multiple Verilog RTL files in which we have use asynchronous reset. But I want to convert asyncronus reset to synchronous reset. Before: always @ (posedge clock or negedge reset) After: ...
0
votes
1answer
24 views

What is the difference between loop device and block device? [on hold]

I want to create a loop device myself, I want it to have a special name, say /dev/loop-test-0. I want it to be up after I reboot the machine. I though that I can use mknod for this, but this doesn't ...
0
votes
1answer
6 views

Uninitialized constant RUBY_PATCHLEVEL (NameError) while running Homebrew on linux

I am trying to install homebrew on linux. I followed the instructions at https://github.com/Homebrew/linuxbrew and installed homebrew with no errors but when i try to execute, i am getting the below ...
2
votes
1answer
30 views
+50

Monitor processes trying to access non-existent file or directory

We're moving websites from one server configuration to a new configuration and the websites will live in different paths than previously. We're planning to diligently go through and replace old paths ...
82
votes
2answers
14k views

Why do we use su - and not just su?

I don't understand why su - is preferred over su to login as root.
2
votes
1answer
16 views

Console timeout blanks to white instead of black

My hardware screen on my laptop turns white, when the console timeouts and blanks, upon idling. I would expect it to normally turn black or turn off the screen entirely. When clicking a button, the ...
3
votes
1answer
28 views

Why don't most common Linux package managers allow package installation for normal users? [duplicate]

I tend to install quite a lot of packages with ./configure --prefix=$HOME && make && make install. Why can't I do this as easily with dpkg or yum? Or if I somehow can, what is the way ...
2
votes
0answers
12 views

EDID - help to detect proper DPI and refresh rate values

I just tried to extract EDID file data with read-edid util; The thing is the output shows : $sudo get-edid | decode-edid ... Manufacturer: AUO Model 20ec Serial Number 0 Made week 0 of 2013 EDID ...
0
votes
0answers
15 views

X will not start, Centos 7

I installed X/X11 and proceeded to install DWM on my X220. However, X does not start and I am having trouble figuring out why. I have posted the /var/log/Xorg.0.log file here: ...
0
votes
1answer
18 views

Drivers for Marvell 88SE9230 SATA controller on Linux

I have just purchased a SuperMicro X10SBA, where i intend to use the onboard Marvell 88SE923 SATA controller for RAID1. Unfortunately SuperMicro has written that RAID is only compatible on Windows ...
0
votes
1answer
21 views

Recover system gcc on linux

I was trying to install manually gcc and forgot to specify --prefix=. So, after make install binaries were installed on standard paths (like /usr/bin/ or smth.) And now as I type gcc --version it ...
-3
votes
0answers
9 views

Fast & Traceable copy of 2 TB data over Gigabit LAN from Ubuntu live mounted Volume to Synology NAS (Win SMB, NFS, Mac AFP)? How?

Fast & Traceable copy of 2 TB data over Gigabit LAN from Ubuntu live mounted Volume to Synology NAS (Win SMB, NFS, Mac AFP)? How? I am going a Data Recovery using a Unbunto Live CD (14.x LTE) ...
3
votes
2answers
5k views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
1
vote
2answers
758 views

How to install jdk in Linux Mint

I am unable to install jdk on Linux Mint. I tried the following: # apt-get install openjdk-7-jdk openjdk-7-doc openjdk-7-jre-lib Reading package lists... Done Building dependency tree Reading ...
2
votes
1answer
288 views

How to create boot SD card for Banana Pi manually

It seems that I have a lack of understanding how booting SD-Card images on devices like the Banana Pi work. The situation is as follows. I have a Banana Pi and a Banana Pro. Every device has an ...
1
vote
0answers
10 views

What is the Linux scsi mid-layer

In the Linux storage stack there are 3 levels: upper, mid and lower. Therefore, I know what it is in that sense. What I'm hoping someone will know is, what files in the Linux source tree actually ...
3
votes
3answers
111 views

Symbolic link creation failing: change ownership issue

I am facing some issue with creating soft links. Following is the original file. $ ls -l /etc/init.d/jboss -rwxr-xr-x 1 askar admin 4972 Mar 11 2014 /etc/init.d/jboss Link creation is failing with ...
-5
votes
0answers
24 views

Pattern replacement in sed [on hold]

Input is taken from a file 'input.txt' having following content in it: binary(any two digit number) varbinary(any two digit number) Output should be in a file called 'output.txt' having following ...
0
votes
1answer
82 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 ...
4
votes
2answers
9k views

Cross compiling expect for ARM

I have downloaded expect5.4 . I'm trying to cross compile it for ARM(PandaBoard) running stripped down version of linux. In the initial setup of configuring , I try Shell$ ./configure --host=ARM ...
5
votes
2answers
1k views

Querying an overlayfs

I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
1
vote
0answers
63 views

i915 - Intel BayTrail - graphics artifacts

I just noticed I have some kind of graphics artifacts which effect visual discomfort like so called "blurry"; And, moreover, I am not sure I have correct DPI settings right now (give me advise ...
1
vote
2answers
25 views

Directory in /proc that isn't process dir but start with number?

Quick question. Is it possible to create directory in /proc that starts with number but isn't process directory (where name is PID)? I write software that searches for process directories and I wonder ...
3
votes
1answer
606 views

USB keypad (HID) not responding in linux but in grub

An external USB keypad I'd like to use gets recognised as a USB HID device, but it is not functional when Linux is booted. It does work when plugged into a Windows desktop and it does work while in ...
1
vote
0answers
13 views

What do the parts of an acpi event mean?

I have a ThinkPad laptop with dual batteries, and I want to write an indicator app for GNOME which performs an action when the external battery is plugged/unplugged. To read these events I connect to ...
0
votes
2answers
11 views

Possible fix?: ICEauthority Error With a Systemically limited File Permission Issue

First off, I would like to apologize ahead of time for such a completely absurd accident to happen to my computer. Essentially I wanted to change my Cinnamon-mint theme on linux. But I noticed that ...
3
votes
1answer
586 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
0
votes
1answer
16 views

Change hostname on SUSE Linux Enterprise Server 11 SP3 for VMware

I want to update the hostname for one of my VMware virtual machine running SUSE Linux Enterprise Server 11 SP3 for VMware . I tried changing hostname using "yast2" but fater reboot old name comeback. ...
1
vote
2answers
24 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 ...
3
votes
2answers
769 views

Is pvcreate destructive? Attempting to recover an lvm2 volume group

I don't want to lose any data, so I'm asking if the solution Novell offers is safe to try. If not, are there safe alternatives? Step-by-tedious-step: I have two volume groups: main and Rand; Rand ...
1
vote
0answers
10 views

How and when is keyboard data encoded from keyboard to application? [duplicate]

I hope this is not the wrong place to ask this, if it is, please point me in the right direction. As the title says, how and when is keyboard data encoded? I just wanna know in basic terms the ...
1
vote
1answer
14 views

pcap file 20 times smaller than ifconfig TX/RX difference for same period

I run tcpdump on a usb modem in network card mode. [ 18.260000] cdc_ncm 1-1.1:1.1 wwan0: register 'cdc_ncm' at usb-ehci-platform-1.1, Mobile Broadband Network Device, 0c:5b:8f:27:9a:64 I run it ...
0
votes
0answers
17 views

How to come out of a deadlock in linux [migrated]

On a multi threading system, if two threads want to work on a shared memory after locking a mutex. Thread A: pthread_mutex_lock(&mutex) ....... //Memory corruption or Assert and thread ...
0
votes
0answers
9 views

linux kali wifidriver make errors [on hold]

when i make i get this root@kali:~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913# make make -C tools make[1]: Entering directory `/root/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools' gcc -g bin2h.c -o bin2h ...
1
vote
0answers
17 views

Mount 'hibernated' windows partition, ciphered with bitlocker

My windows 8.1, ciphered with bitlocker, was damaged during system update process somehow. Now it boots only to recovery mode and I can't use password for bitlocker drive unlocking. I lost my recovery ...
1
vote
2answers
121 views

Writing openSUSE image to SD card

I am releatively new to linux and I have assembled a raspberry PI 2 model B and I'm relavively unexperience with linux. I have tinkered in the past with SUSE and want to start doing it again. I have ...
0
votes
0answers
24 views

Multi input files for awk [on hold]

I have 3 files, as below: File1: 5372,5372,0,0,,1,0,1,1,0,1,0,0,0,0,0,0,1107,1107,,1.620000,1,2015-08-12 2110,2110,0,0,,0,0,1,0,0,0,0,1,1,1,1,1,1601,1601,,9.500000,1,2015-05-29 ...
0
votes
1answer
24 views

Why are the up and down arrows keys not always working on multiple platforms?

Very recently, maybe within the last two weeks this issue has started cropping up: once maybe every two days or so, the up and down arrow keys simply stop working for a while - I can move the cursor ...
0
votes
1answer
31 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.
1
vote
1answer
34 views

Allow specific linux user to bind to port 443

I am in charge of setting up a JBoss web application that runs over SSL, thus should be accessible over port 443. Of course, it can be started up by user with root privileges, but that is something ...
2
votes
1answer
27 views

How to tell systemd to stop service when it no longer required/wanted

I have 10 TF2 game dedicated servers, they started manually one by one with individual service files tf2-server-1.service ... tf2-server-10.service And they want service hlstatsx ...
3
votes
2answers
2k views

volume hot keys in Crunchbang don't work

I've spent 2 hours on this and still can't figure this out. It's driving me insane. Please save my sanity. When I press mute, the pnmixer control in the top right shows that I've pressed mute, but ...
0
votes
0answers
103 views

deepin 2014 Starting LightDM Display Manager fail

Upon rebooting my machine The deepin splash screen began to pulsate. I looked at the boot log and found: "* Starting LightDM Display Manager [fail]" Upon looking at the lightdm log I found the error: ...
2
votes
1answer
2k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
3
votes
1answer
24 views

Cache atime writes

Is there a way to set atime writes to be cached for a very long time? I need atime (that is to say, relatime won't cut it), but I don't want it to effect performance so much. Data loss in of atimes ...
1
vote
0answers
16 views

tuned on fedora 22 - setting different alpm policies for specific devices

I'm trying to configure alpm to max_perfomance on my system disk, medium_power on my data disks and min_power for backup disks. I tried various variations in tuned.conf but the result is that the last ...
74
votes
12answers
276k views

How do I find out what hard disks are in the system?

I need to know what hard disks are available, including ones that aren't mounted and possibly aren't formatted. I can't find them in dmesg or /var/log/messages (too much to scroll through). I'm hoping ...
-8
votes
1answer
48 views

What is the best Linux distro? [on hold]

I your opinion(s), what is the best Linux distro? Thank you. RCline7
1
vote
1answer
16 views

Does loginuid have any impact on process limits?

On CentOS/RHEL 6, when I start my daemon as root user, I see /proc/<pid>/loginuid of the process as 0 and when I start it through sudo, I see loginuid of the sudo user. Even if I do sudo su - ...