romka@linux

July 19, 2010

ksmd cpu consumption

Filed under: Status — romka @ 8:29 am

ksmd seem to be CPU hungry when virtual machine is running.

+KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y,
+added to the Linux kernel in 2.6.32. See mm/ksm.c for its implementation,
+and http://lwn.net/Articles/306704/ and http://lwn.net/Articles/330589/

I’ve disabled it for now, we’ll see how everything runs afterwords…

May 27, 2010

useful tar command with find files and recursive folders

Filed under: command line — romka @ 1:01 pm

find dir -name ‘wildcard_search‘ | tar -cvjf filename.tar.bz2 -T – –no-recursion

May 5, 2010

Upgrade to 10.04 LTS

Filed under: Status — romka @ 7:42 am

1. Did full backup of my root partition and dot files in a home folder.
2. Deleted all dot files from home folder.
3. Installed 10.04 from CD “clean”
4. Installed all my software (I have a file with apt-get command installing all I need unattended – start in the evening, PC ready in the morning)
5. Everything seems to work so far

April 21, 2010

Qemu usb

Filed under: Status — romka @ 11:49 am

Solution by TJ from launchpad bugs:

Create a new group “vm” and add users that require USB access for VMs to it:

sudo addgroup vm
sudo addgroup $USER vm

Log-out/log-in to effect the new group membership.

Add a udev rule to assign USB devices to the vm group:

# Virtual Machine hypervisor access to USB devices
SUBSYSTEM==”usb”, ENV{DEVTYPE}==”usb_device”, GROUP=”vm”
SUBSYSTEM==”usb_device”, GROUP=”vm”

Save the file as /etc/udev/rules.d/41-vm-usb.rules and reload udevd:

sudo /etc/init.d/udev restart

April 19, 2010

virtualization, qemu and mouse

Filed under: Status — romka @ 7:32 am

I’ve got fed up with VMWare issues and testing KVM/QEMU which seem to be a bit more proper way of running virtual machines under linux. I enjoy the possibility of running it from command line and using VNC connection to the Virtual PC. some tricks are still needed:

1) had to disable “Enhance pointer precision” in Pointer Options in XP guest to align cursors…

April 15, 2010

virtualization

Filed under: Status — romka @ 4:48 pm

VMWare and kvm is not going to leave in peace ) If kvm modules are loaded – vmware virtual machine is not going to start… To start it:
sudo modprobe -r kvm*

February 22, 2010

Some good tips on setting up ssh right:

Filed under: Status — romka @ 10:21 am

Here

February 9, 2010

ncp mount to novell shares

Filed under: Status — romka @ 8:41 am

I’ve managed to get connected to my corporate Novell shares. Solution is ncpmount (we don’t use ipx so I didn’t install it) + thanks to this post:

ncpmount -S server_name -A server_ip -U novell_login /mnt/novell/

novell_login matches my linux box login, otherwise -u linux_login is said to be needed.

Works a charm )

I’ve also made /mnt/novell/ to be owned by my linux_login, so I don’t need to sudo

January 24, 2010

tesseract

Filed under: Status — romka @ 6:21 pm

Installed tesseract as an OSR engine.

It might require convert in_file -compression NONE -rotate _angle_ out_file.tif to convert graphical file to tif and properly rotate it

Afterwards tesseract file.tif file to generate file.txt with recognized image

January 11, 2010

Settlers of Catan

Filed under: Status — romka @ 7:02 pm

There is a free version for Linux called pioneers. To add 3 computer players need to open new terminal and type:
pioneersai -n comp1 -s 127.0.0.1 & pioneersai -n comp2 -s 127.0.0.1 & pioneersai -n comp3 -s 127.0.0.1 &

found at http://ubuntuforums.org/showthread.php?t=1359342

Older Posts »

Powered by WordPress