/var/log/step2k

December 13, 2007

Clock in a Linux Guest Runs More Slowly or Quickly Than Real Time

Filed under: Virtualization - Salman Teguh @ 5:09 am

If your Linux 2.6 guest’s clock is running too quickly, it indicates a problem with lost tick correction. Apply one of the workarounds in the section “Preventing the Clock from Running Too Quickly.”

Note: The overcorrection for lost ticks has been fixed in Linux kernel 2.6.18. Upgrading to 2.6.18 or later also solves this problem.

If your guest’s clock is running too slowly, it indicates that the host’s real timer interrupt rate can’t keep up with the guest’s virtual timer interrupt rate. There are two approaches to dealing with the problem: either decrease the guest’s rate or increase the host’s rate. Apply one of the workarounds in the section “Preventing the Clock from Running Too Slowly.” Also apply one of the workarounds for running too quickly, because correcting the first problem often reveals the second one.

In both cases, also make sure that VMware Tools is installed in your guest, that time synchronization is enabled and that you are not running any other clock synchronization software in the guest at the same time (such as ntpd).
If your host uses power management features (such as Intel SpeedStep, or AMD PowerNow or Cool’n'Quiet) that vary the processor speed, see http://kb.vmware.com/kb/1591.
Preventing the Clock from Running Too Quickly
32-bit Systems
For 32-bit systems, there are two kernel options that help with the guest kernel’s over-correction for lost ticks:

* Add the clock=pit boot option to your guest’s kernel command line in the /etc/lilo.conf or /boot/grub/grub.conf file.

The following example shows the syntax for LILO:
image=/boot/vmlinuz
label=”linux”
root=/dev/hda1
initrd=/boot/initrd.img
append=”resume=/dev/hda6 splash=silent clock=pit”
read-only

(Remember to run /sbin/lilo after editing lilo.conf, so that your edits take effect.)

Here is an example of the syntax for GRUB:
title Fedora Core (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hda2 clock=pit
(more…)

December 10, 2007

SMB Share di Zencafe

Filed under: Project, Linux - Salman Teguh @ 5:24 am

dikutip dari : http://bayuart.wordpress.com/2007/04/12/zencafe-distro-khusus-warnet/

Samba Server (Komputer yag file/direktorinya ingin anda share)

1. Pastikan anda mengaktifkan SAMBA Service saat pertama kali install, jika tidak, anda dapat mengaktifkannya lewat Menu > System > Zenpanel, lalu klik Startup Services
2. Buka SWAT (Menu > System > Samba Web Administration Tools), login dengan user root & password.
3. klik ikon GLOBALS, ikuti langkah berikut ini:

* Workgroup, ganti dengan nama workgroup anda
* Netbiosname, ganti ini dengan nama komputer anda
* Security, ganti dengan “SHARE”
* Klik “Commit Changes”

4. Klik ikon SHARES, ikuti langkah berikut:

* Masukkan nama share, sebagai contoh: Documents, lalu klik “Create Share”
* Path, ganti dengan letak folder yang ingin anda share, sebagai contoh: /home/username/Documents
* Read only, ganti dengan “NO”
* Guest ok, ganti dengan “YES”
* Klik “Commit Changes”

5. Ganti permission /home/username/Documents ke RWX (777), jika anda tidak tahu bagaimana caranya, klik kanan saja folder Document > Properties > Permission, ganti semua ke Read & Write.
6. Ok, sekian. Simple kan?

Samba Client (Komputer untuk membaca share direktori)
Anda hanya memerlukan 1 kali langkah ini. Anda tidak memerlukan langkah ini lagi selama anda tetap menggunakan Zencafe anda.

Klik Menu > Network > FuseSMBTools, ganti Mountpoint directory ke Network diektori anda Contoh: /home/username/Network lalu Save.

Hanya itu? Ya hanya itu. Klik shortcut Network pada desktop setiap kali anda ingin mengakses share direktori komputer lain.

Get free blog up and running in minutes with Blogsome
Theme designed by Alex King