Linux is the family of Unix-like operating systems that use the Linux kernel.
6
votes
0answers
152 views
Installing USR 5422 on Ubuntu 12.04
I am a newbie to Linux. I was trying to set up the USR5422 USB adapter. It worked fine for the first time, but since then it freezes the computer most of the time. What commands can I fire to see ...
5
votes
0answers
21 views
How do pdflush, kjournald, swapd, etc interoperate?
Recently saw a question that sparked this thought. Couldn't really find an answer here or via the Google machine. Basically, I'm interested in knowing how the kernel I/O architecture is layered. For ...
4
votes
0answers
56 views
btrfs and the discard mount option on an ssd
I can't seem to find an answer to this so I thought I would ask here:
In /etc/fstab and when using the mount command in ext4 you would add the option discard to activate TRIM on an SSD. Similarly ...
4
votes
0answers
347 views
Avoid very fast double clicks
I have a mouse with a strange problem. The left button sometimes fires a double click even if I click just one time.
I would like to know if there's a way to avoid fast double clicks, ignoring clicks ...
4
votes
0answers
3k views
Changing screen resolution/geometry of a vncserver without randr in Linux
I want to change the resolution / geometry of my VNC session dynamically without affecting the programs running inside it.
I referred: Changing the resolution of a VNC session in linux.
I don't have ...
4
votes
0answers
671 views
WARNING: modpost: Found 10 section mismatch(es)
Is this error message something that I should be worried about?
linux-y3pi:/usr/src/linux-2.6.38.8 # make modules
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
...
4
votes
0answers
136 views
How to make linux 'perf record' work for libc and libstdc++ symbols?
I'm using perf record -g on x86-64 Linux to profile a program. Several symbols in libc or libstdc++ have 0 as a parent: __GI___strcmp_ssse3 (libc) and strcmp@plt (libstdc++) for example. (I can ...
4
votes
0answers
555 views
Fix Fn-keys for keyboard illumination
I've tried following the Ubuntu hotkeys/media keys troubleshooting guide and /usr/share/doc/udev/README.keymap.txt.gz to make the Fn keys work. After copying the map file and modifying ...
4
votes
0answers
252 views
Launching a GUI application in RHEL 5 hangs
When I try to launch any GUI application through a terminal in my RHEL 5.4, it takes a very long time for the GUI to come up. Also, sometimes it just hangs.
I see the following messages in the ...
3
votes
0answers
50 views
Exynos 5 DVFS or turning off cores in Ubuntu - Scaling frequency for one of the cores only (dual core) (cpufreq)
I was wondering if there is possible to scale only one of the cpu cores in the A15 in Exynos 5 ? I have tried using e.g cpufreq-set -c 1 -f 500MHz, but both cores are set to the same frequency. When ...
3
votes
0answers
284 views
Why is systemd-coredump storing the dump in memory itself?
I just noticed that most of my memory was hogged by coredump of a few processes that I had killed recently. I had a systemd-coredump process running for each crashed process (usually the processes ...
3
votes
0answers
171 views
How do I determine ZCACHE works on my box?
I have an Marwell Kirkwood ARM-based NAS server Zyxel NSA 310. I compiled my own 3.8 kernel and enabled ZCACHE, but I still see 256 MB of RAM. I am not sure if GNU free utility should show extra ...
3
votes
0answers
93 views
My SMDK2416 (for s3c2416) kernel works on 64MRAM but crashed on 128M
I'm currently working on embedded arm linux with smdk2416(s3c2416)
The kernel is working on the 64MRAM. Recently, I need to increase the RAM from 64M to 128MB with 64MB on bank0 and 64MB on bank1.
...
3
votes
0answers
187 views
How to disable select-on-release right mouse button in Linux
We are having issues with mouse behavior in Linux.
In Windows:
In any application, to open a context menu and select an option:
right mouse button down + release
move the cursor to an option
left ...
3
votes
0answers
66 views
Restricting D-Bus access to the logged-in user via ConsoleKit or systemd
I need to restrict the client of a D-Bus service to only the user logged into the system locally, via ConsoleKit or systemd. How must I configure or write the D-Bus service to do so?
3
votes
0answers
82 views
Implement Java/JavaFX on ARM
I am working on ARM Linux.
I have found this link that says that JavaFX could work on ARM.
I am confused about Embedded Java SE and JavaFx ARM. Do I need to setup a JVM for those or not?
I have ...
3
votes
0answers
412 views
How do I find out the device node corresponding to my device in SuSE 8?
I'm forced to work with a bunch of point-of-sale systems running SuSE 8. They are my client's computers. We are stuck dealing with these old systems until they get to upgrade their whole fleet to SLE ...
3
votes
0answers
147 views
light weight disk based backup solution
Currently I am using Dirvish to backup a handful remote machines, both Linux and Windows to local disks. But Dirvish hasn't seen any updates for many years and it has a couple of small annoyances ...
3
votes
0answers
171 views
How to merge multiple WebDAV accounts for backup?
I use davfs, aufs, rsync:
sudo mount -t davfs -o uid=wd,gid=wd,dir_mode=777,rw https://wd1.wd.wd/ /mnt/webdav1
sudo mount -t davfs -o uid=wd,gid=wd,dir_mode=777,rw https://wd1.wd.wd/ /mnt/webdav2
...
3
votes
0answers
98 views
Socksifying a qemu-kvm using tsocks
I'm trying to socksify a qemu-kvm using tsocks, but I have no success.
I don't know if qemu access directly the hardware, skipping the OS or something like that, but I wasn't able to do this feat.
...
3
votes
0answers
796 views
What is SSTP vpn server and how can I run one?
I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
3
votes
0answers
275 views
Setting Framebuffer splash resolution when exiting X
I installed a copy of BackTrack 5 R2 (Ubuntu 10.04) to my HDD and dual-booted with Windows 7. After a bit of tweaking I set about updating the native Intel drivers because it was only allowing me to ...
3
votes
0answers
62 views
Importing hdhomerun channels into MythTV
I am setting up a MythTV backend, to stream Live TV from.
I scanned for channels with the hdhomerun_config utility, and got this
However, I really don't have a clue how to import it into MythTV.
3
votes
0answers
228 views
Using Creative Sound Blaster on Ubuntu Server
I just got a Creative Sound Blaster for playing audio wirelessly. I connected it to a virtual version of Ubuntu desktop and just had to go into the sound settings and switch it to the USB and the ...
3
votes
0answers
295 views
Set GPIO permissions cleanly
Can the default permissions and ownership of /sys/class/gpio/ files be set, e.g. by configuring udev? The point would be to have a real gid for processes that can access GPIO pins on a board.
Most ...
3
votes
0answers
116 views
Restricting sound control
I need to restrict users so that they cannot output sound from built-in speakers. They should plug their headphones to hear any sound. They should be able to control headphone volume level, but not ...
3
votes
0answers
685 views
Udev triggers are not firing on insert of CF card into USB card reader (anymore)
I've got a udev rule that triggers a shell script that copies photos off my CF card when I insert the card into my USB card reader. This worked fine for a while. But after a recent upgrade it has ...
3
votes
0answers
71 views
Configuring networked printer to archive print jobs
Our existing infrastructure has a shared printer running on a windows machine.
It may be upgraded to a real network tcp/ip based printer in the near future.
How can I make it automatically keep a ...
3
votes
0answers
151 views
Increasing serial baud rate within Ubuntu under VirtualBox
I'm debugging a kernel module under VirtualBox with a guest and host OS as Ubuntu 10.10. I'm using the virtualbox serial port but I'm maxing out at the baudrate 115200. My grub config looks like ...
3
votes
0answers
286 views
New Mail Arrived notification Kmail + Jovie Speech customizing
When a new message arrives, Kmail has ability to speak! Which is great but not enough: I don't want to listen to a standard text but have a proper functionality:
When a new message arrives, Jovie ...
3
votes
0answers
265 views
Suggestions needed to debug why ps -ef gets stuck
A few of my processes consume 100% cpu. I'm trying to figure out which scripts are causing it
I tried running strace ps -ef:
open("/proc/PID/status", O_RDONLY) = 6
read(6, "Name:\textract\nState:\tR ...
3
votes
0answers
186 views
fsarchiver error
I'm running the following fsarchiver command:
$ fsarchiver restfs /tmp/backup/c0d0p2.fsa id=0,dest=/dev/cciss/c0d0p2
I get the following error:
[errno=22, Invalid argument]: ...
2
votes
0answers
13 views
BCache and disk encryption
I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet.
I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
2
votes
0answers
26 views
Including pending update list in motd
How would you include the list and / or count of pending updates in the welcome banner?
Eg.
username: User
password: *****
Hi 'User', welcome on 'localhost'
There are 8 pending updates, you need to ...
2
votes
0answers
47 views
Change ip addr label in Linux
How can I change the eth0 zero to eth0:1 using ip addr without deleting.
When I run
ip addr show eth0
Here is the output
2: eth0: mtu 1500 qdisc mq state UP qlen 1000
link/ether ...
2
votes
0answers
65 views
sed couldn't flush stdout no space left on device?
What could be the reason for this error :
sed couldn't flush stdout no space left on device
This is come of the stuff that i am doing at last in my code
sed -n '/.*needs to be executed ...
2
votes
0answers
20 views
What is the relation between the Linux device drivers “domains”?
As I'm reading about the Linux device drivers and power management API I keep encountering terms like "system level", "subsystem", "platform", "class", and so on.
What is the relation between them? ...
2
votes
0answers
83 views
Virtualbox NAT + Host-Only Adapter
My host is Ubuntu 12.04 and guest is a Debian squeeze (LAMP server). I want to allow the host to connect the guest. and allow the guest to connect the internet. The guest should not be enabled from ...
2
votes
0answers
40 views
How to set up remote graphical sessions on CentOs?
Trying to set up a Centos 6 server configuration where we can automate the running of an application that uses Selenium. In this case, ideally, we should be able to:
Create a graphical session ...
2
votes
0answers
64 views
Linux: Total swap used = swap used by processes +?
So, I'm trying to do some investigation on where does swap use come from in a system with high swap usage:
# free
total used free shared buffers cached
Mem: ...
2
votes
0answers
402 views
LDAP authentication broken with upgrade to CentOS 6.4 (sssd)
I have OpenLDAP server:
@(#) $OpenLDAP: slapd 2.4.23 (Aug 8 2012 16:29:21)
In my configuration have group:
ldapsearch -x -b 'cn=groupname,ou=UnixShell,ou=Services,o=example,c=ru'
# extended LDIF
...
2
votes
0answers
142 views
remount chrooted read-only subdirectory (non-mountpoint) to read-write from within jail?
I'm trying to do the same of this question (multiple linux installation on same filesystem) but I get this result (root filesystem mounted as read-only) .
I'm using debian/sid, have successfully ...
2
votes
0answers
60 views
Using symbolic links and git to manage build versions
In general I follow the following workflow when I build any program (e.g. emacs, tmux, etc.)
/home/opt/[name of the program]/builds/[version]/
bin
lib
share
For example for a program like tmux I ...
2
votes
0answers
136 views
Using hardware clock on linux
I using an old version of RHEL that I have recently upgraded from 5.4 to 5.8, with a customised 2.30.9 kernel.
The system clock drifts wildly (> 5 seconds/day) unless it is controlled using an ...
2
votes
0answers
124 views
Rsync --bwlimit not working
I am currently using rsync to transfert large file from a host to another.
I would like to limit the debit for this transfert. After reading the man page I found the option --bwlimit which is ...
2
votes
0answers
52 views
Compare two cdroms
I would like to verified if two CD-ROMs (UDF) identical or not.
One cdrom will be read at Windows and the other CD-ROM at Linux, where the CD-ROMs can be with different burning programs. This means ...
2
votes
0answers
100 views
Disable RAID auto detect at runtime
In Linux, I'm partitioning two disks for RAID1 with fdisk. The first disk partitioning succedes, but the second fail because the raid starts automatically and occupy also the second disk (why? it ...
2
votes
0answers
210 views
ping receives no packets, but tcpdump can see them coming in
I'm migrating an old Ubuntu OpenVZ instance (Jaunty) to a new CentOS 6.3 host (using vzdump/vzrestore).
Now networking does not work properly. Facts:
It works just fine if a setup a new OpenVZ ...
2
votes
0answers
134 views
Is it possible to run any distro from RAM from within an .iso saved on an NTFS file system?
Running entirely from RAM been done on various distros such as Slax, DamnSmallLinux, and newer Ubuntu versions, and since I have 8GB it seems reasonable that I could run many distros entirely from RAM ...
2
votes
0answers
122 views
XEN Bootloader or Kernel error bootloader isn't executable / cannot locate kernel when using XM create
I am currently using Xen for installing VM guests however whenever we run
xm create -c /etc/xen/ks.test.cfg
we get;
Using config file "/etc/xen/ks.test.cfg".
Error: Bootloader isn't executable
...