Microsoft is rushing to release Windows 7…

After market success of Apple MAC OS X and Asus EeePC using alternative operating systems the ecossytem arround M$ succes is seeking for alternatives.

BusinessWeek reports that HP is trying to improve Vista or even replace it with another OS  possibly assembled by HP engineers.

HP has their own HP/UX unix based OS used in their high end servers so probably they will reuse their expertize in that field to release ..ux based OS.

Most of “ux” users and administrators use remote terminal to connect to administrared machine.

One of the popular choises, minly because of it’s portability is PuTTy only putty.exe is needed and no installation is required. In addition it is free.

Downside is that sometimes there are problems with terminal emulation – not necessary coming from putty, but still annoying.

One of my problems is that when vim is in insert mode arrow keys do not work. For long time I was no able to find solution to the problem, but finally i found one. Just type this in your home folder:

echo syntax enable > ~/.vimrc

This did the trick for me. Hope it helps to you too.

After I rebooted manually my database server I received following message in mysql log:

[ERROR] /usr/libexec/mysqld: Incorrect key file for table <name of the table>.MYI’; try to repair it

The fix is relatively simple

  1. Go to MySQL console – mysql
  2. Point to correct database – use <database name>
  3. Issue command to repair – repair table <name of the table>
  4. Sit back and wait – it will take some time

Finally updates are pushing to the mirrors.

Here is official announcement.

For list of updates see this post.

Happy upgrading.

Silently RedHat released version 5.2 of their enterprise product RHEL.

There are lot of improvements:

  • Virtualization
    • up to 64 CPU and 512GB RAM supported
    • no more 3 interfaces limit on guest
  • Laptop/Desktop improvements
    • Evolution 2.12.3
    • Firefox 3
    • OpenOffice 2.3.0
    • Thunderbird 2.0
    • improved drivers
  • lot more

For details

I was looking to find a good explanation what are the meanings of CPU flags (shown by cat /proc/cpuinfo), but did not find full explanation. This is an attempt to fill the gap.

Here is extract of the output of

cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 3.06GHz
stepping : 9
cpu MHz : 3404.712
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 8522.12

Most of the output is self explained, but flags is little bit difficult. Here is what I found:

A multimedia extension created by AMD for its processors – enhancemend of MMX.

3DNOW Extensions. Could also pertain to AMD’s 3DNow! Enhanced/Extended.

Advanced Configuration and Power Interface.

Advanced Programmable Interrupt Controller.

Most probably this stands for Certified Interconnect Designer. (A certification for experienced PCB design professionals.)

Cache Line Flush.

Conditional Move/Compare Instruction.

Register showing the CPU is not Hyper-Threading capable.

on Intel P-4s, the TSC runs with constant frequency independent of cpu frequency when EST is used.

CMPXCHG8B Instruction. (Compare and exchange 8 bytes. Also known as f00f (pronounced “foof”), an abbreviation of f0 0f c7 c8, is the hexadecimal encoding of an instruction that exhibits a design flaw in the majority of Intel Pentium, Pentium MMX, and Pentium OverDrive processors).

CMPXCHG16B Instruction. (CMPXCHG16B allows for atomic operations on 128-bit double quadword (or oword) data types. This is useful for high resolution counters that could be updated by multiple processors (or cores). Without CMPXCHG16B the only way to perform such an operation is by using a critical section.)

Debugging Extensions.

Debug Store.

CPL qualified Debug Store.

Digital Thermal Sensor.
Debug Trace Store.

Intel Extended Memory 64 Technology. Intel’s derivative of AMD’s 64bit CPU technology. Uses 64bit CPU registers and 64bit physical RAM addresses (page addresses) to support up to 1 tebibyte of RAM, which can later be extended (through future processor revisions) to 1 Pebibyte.

Enhanced Intel SpeedStep.

Frequency IDentifier.

x87 Floating Point Unit built into the CPU. This is where most mathematically intense calculations take place. Used to be a separate chip on the 80486SX and earlier (called the 80487 or 80387, etc. 80486DX had FPU built-in as well). All Pentium CPUs and later have this functionality built in.

FXSAVE/FXRSTOR. (The FXSAVE instruction writes the current state of the x87 FPU, MMX technology, Streaming SIMD Extensions, and Streaming SIMD Extensions 2 data, control, and status registers to the destination operand. The destination is a 512-byte memory location. FXRSTOR will restore the state saves).

Hyper-Transport (AMD CPUs) or Hyper-Threading (Intel CPU)

Hyper-Threading Technology. The ability to use one physical CPU as two separate logical CPUs by taking advantage of unused CPU registers during typical operation in an attempt to make the CPU more efficient. If multiple programs use the same registers by both logical CPUs, Hyper-threading can actually be known to slow down overall performance in some cases.

Load Flags into AH Register, Long Mode.

Long Mode. (64bit Extensions).

Machine Check Architecture.

Machine Check Exception.

It is rumoured to stand for MultiMedia eXtension or Multiple Math or Matrix Math eXtension, but officially it is a meaningless acronym trademarked by Intel.

MMX Extensions.

Modular Network Interface.
Merom New Instruction. See SSSE3.

CPU Monitor.

RDMSR and WRMSR Support.

Memory Type Range Register.

Nehalem New Instructions (NNI). See SSE4.

No eXecute. (the ability to not run code.)

Physical Address Extensions. PAE is the added ability of the IA32 processor to address more than 4 GB of physical memory using Intel’s 36bit page addresses instead of the standard 32bit page addresses to access a total of 64gibibytes of RAM. Most AMD chips support PAE as well.

PAE is the second method supported to access memory above 4 GB (PSE36 being the first); this method has been widely implemented. PAE maps up to 64 GB of physical memory into a 32-bit (4 GB) virtual address space using either 4-KB or 2-MB pages. The Page directories and the page tables are extended to 8 byte formats, allowing the extension of the base addresses of page tables and page frames to 24 bits (from 20 bits). This is where the extra four bits are introduced to complete the 36-bit physical address.

Windows supports PAE with 4-KB pages. PAE also supports a mode where 2-MB pages are supported. Many of the UNIX operating systems rely on the 2 MB-page mode. The address translation is done without the use of page tables (the PDE supplies the page frame address directly).

Page Attribute Table.

Pending Break Encoding.

PTE Global Bit.

Prescott New Instruction. This was the codename for SSE3 before it was released on the Intel Prescott processor (which was later added to the Pentium 4 family name).

Page Size Extensions. (See PSE36).

Page Size Extensions 36. IA-32 supports two methods to access memory above 4 GB (32 bits). PSE (Page Size Extension) was the first method, which shipped with the Pentium II. This method offers a compatibility advantage because it kept the PTE (page table entry) size of 4 bytes. However, the only practical implementation of this is through a driver. This approach suffers from significant performance limitations, due to a buffer copy operation necessary for reading and writing above 4 GB. PSE mode is used in the PSE 36 RAM disk usage model.

PSE uses a standard 1K directory and no page tables to extend the page size 4-MB (eliminating one level of indirection for that mode). The Page Directory Entries (PDE) contains 14 bits of address, and when combined with the 22-bit byte index, yields the 36 bits of extended physical address. Both 4-KB and 4-MB pages are simultaneously supported below 4 GB, with the 4-KB pages supported in the standard way.

Note that pages located above 4 GB must use PSE mode (with 4-MB page sizes).



Streaming SIMD Extensions. (70 new Single Instruction, Multiple Data instructions built in in the CPU.) Debuted with the Intel Pentium III processor. AMD’s first chip to support SSE was the Athlon XP.

Streaming SIMD Extensions 2. (An additional 144 SIMDs.) Debuted with the Intel Pentium 4 processor. AMD’s first chip to support SSE2 was the Athlon 64.

Streaming SIMD Extensions 3. (An additional 13 instructions) Debuted with the “Prescott” revision Intel Pentium 4 processors. AMD’s first chip to support SSE3 was the Athlon 64 “Venice” revision.

Supplemental Streaming SIMD Extension 3. (SSSE3 contains 16 new discrete instructions over SSE3. Each can act on 64-bit MMX or 128-bit XMM registers. Therefore, Intel’s materials refer to 32 new instructions.) Debuted on Intel Core 2 Duo processors. No AMD chip supports SSSE3 yet.

Streaming SIMD Extentions 4. Future Intel SSE revision adding 50 new instructions which will debut on Intel’s upcoming “Nehalem” processor in 2008. Also known as “Nehalem New Instructions (NNI)”.

Secure Virtual Machine. (AMD’s virtualization extensions to the 64-bit x86 architecture.)

System Call. (the mechanism used by an application program to request service from the operating system.)

Tejas New Instruction. See SSSE3.

Thermal Monitor.

Thermal Monitor 2.

Task Priority Register.

Thermal Sensor.

Time Stamp Counter. (is used whenever possible to further improve the accuracy of the speed measurement.)

Thermal Trip.

Voltage IDentifier.

Virtual-8086 Mode Enhancement.

An AltiVec floating point and integer SIMD instruction set. (Used by Apple, IBM, Motorola and Freescale Semiconductor.)

TPR register chipset update control messenger. Part of the APIC code.


Your comments and improvements are welcome….

Recently I got into problem to assign 2 IPs on one physical NIC.

There was nothing mentioned in official documentation so I did some research and find the solution.

It is really simple if you are not afraid from command line and VI editor. Unfortunately I did not find a GUI.

Here it is:

  1. Go to command prompt
  2. Be sure that you are root. Otherwise type su – to become.
  3. Type – cd /etc/sysconfig/network-scripts/
  4. Then type ls to see the contents – you should have file ifcfg-eth0 if you have just one interface otherwise if you have multiple interfaces there you’ll find other files like ifcfg-eth1…n.
  5. Then we will copy the file to different name – cp ifcfg-eth0 ifcfg-eth0:0
  6. Next step is to edit newly created file and put the IP we needed.
  7. If needed repeat steps 5 and 6 with different numbers after”:” (1,2,…) to add additional addresses.
  8. If you issue ifconfig you will not see newly created interface, because it is no activated – you need to restart network /etc/init.d/network restart will do it for you.
  9. That’s it.

Comments are welcome.

Recently I monitored one of my servers and started wondering what “Load average” numbers mean:

After long search I found clear explanation here. Here is the summary:

The load average is a number that corresponds to the average number of runnable processes on the system. The load average is often listed as three sets of numbers (as seen here), which represent the load average for the past 1, 5, and 15 minutes

When trying to install CentOS 5 in Xen DomU via http I received following error:

“Could not find an installable distribution the install location”

The problem was that instead  pointing to root of folder containing mounted disk images I should point to disk1.

That solved my problem.

You can download it now:

Major changes for this version are:

* samba has been updated to version 3.0.25b. This addresses several
critical issues affecting interoperability with Windows 2003в„ў and
Windows Vistaв„ў (resolved in recent upstream releases).

* autofs5 is included in this release as a Technology Preview. This new
version of autofs resolves several long-standing interoperability issues
in multi-vendor environments.

* There is a technology preview of OpenOffice-2.0 included in the
updates directory. You can install this OOo2 preview alongside the
current OOo-1.1.5 version, or you may install the OOo2 preview alone.
We apologize that this was not included on the ISOs, however it was not
on the upstream ISOs and we followed that layout. To List the new
OpenOffice-2.0 RPMS with yum use this command:

yum search openoffice.org2 | grep i386 | grep -v langpack

For finding Language Packs (if you want other than English) do:

yum search openoffice.org2 | grep langpack

Use “yum install <pkg_name1> <pkg_name2>” to install the packages
that you want, or “yum info <pkg_name1> <pkg_name2>” to obtain more
information about them.

* A new yum included in CentOS-4.6 requires the installation of
yum-metadata-parser. The yum-metadata-parser package contains a
metadata parser for yum written in C. It speeds up the metadata parsing
phase of yum considerably and does not change yum behavior in any other way.

← Previous PageNext Page →