Archive for the 'How-To' Category



Convert wma to mp3 or ogg

Friday, January 5th, 2007

Yesterday i have download latest ASOT from Armin Van Buuren. In archive i have found wma file (whose encoding format is owned by Microsoft). As wma is not open format i think about recoding to ogg or mp3.

I have look around ubuntu packages repository, and find easy way how can i do this. For wma2ogg or wma2mp3 conversion you need installed few common programs:

(more…)

CPU Frequency Scaling

Monday, December 25th, 2006

Today i have spent two hours trying setup synchronization of my Pocket LOOX with Linux desktop PC. Synchronization still not working, but while looking to ‘dmesg‘ output for debugging purposes i have found some interesting AMD Athlon processor features. I knew about frequency scaling before, but i didn’t know what Linux is also has support of AMD CPU Frequency Scaling. I have experience with CPU scaling only on Intel/Centrino processors.

So, i have found this strings:

powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.50.4)
powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x6 (1400 mV)
powernow-k8: 1 : fid 0xc (2000 MHz), vid 0x8 (1350 mV)
powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xa (1300 mV)
powernow-k8: 3 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)

Remember my Centrino experience i have look to sysfs for list of available governors. My AMD Athlon 64 support this governors:

(more…)

HOWTO: Software RAID1 on FreeBSD

Thursday, December 21st, 2006

Since 5.3-Release, FreeBSD has gmirror utility, which allows you create software RAID1. So if you have some low-end server and you need some redundancy - gmirror is right choice.

RAID1 creation process is _very simple_ and completely described in gmirror(8) man page, but i will post small how-to here.

First of all you need check that you have two identical drives. Second drive may be bigger, but total array size = smaller drive size. You can create RAID1 using this command:

(more…)