Monday, December 22, 2008

Virtualized IO paper reading

1) Finished  High performance and scalable i/o virtualization via self-virtualized devices. 

http://www.cc.gatech.edu/~rhim/hpdc2007.pdf

2) To read: High performance vmm-bypass i/o in virtual machines.

http://nowlab.cse.ohio-state.edu/publications/conf-papers/2006/usenix06.pdf

Sunday, December 21, 2008

Reset root password of Ubuntu

1. use single user mode
http://www.hackszine.com/blog/archive/2008/09/howto_reset_a_lost_ubuntu_pass.html
2. modify password file or use LiveCD
http://www.linuxcompatible.org/thread28427-1.html
http://wiki.clug.org.za/wiki/How_do_I_reset_my_root_password%3F

Thursday, December 18, 2008

Writing network device driver for Linux

http://linuxgazette.net/156/jangir.html

Rtl8139:

http://www.linuxforum.net/forum/showflat.php?Cat=&Board=driver&Number=635688&fpart=1&PHPSESSID=

http://linux.chinaunix.net/bbs/viewthread.php?tid=1095257&extra=&page=1

PCI:

http://www.linuxforum.net/forum/showthreaded.php?Cat=&Board=linuxK&Number=635418&page=&view=&sb=&o=

Thursday, December 11, 2008

Install acrobat reader plugin for firefox on Ubuntu

1. Enable medibuntu repo.
cmd:
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list --output-document=/etc/apt/sources.list.d/medibuntu.list
link: https://help.ubuntu.com/community/Medibuntu

2.Update the source list using the following command

sudo apt-get update

Install acrobat reader with firefox plugin in Ubuntu

sudo apt-get install acroread mozilla-acroread acroread-plugins

ref: http://www.ubuntugeek.com/how-to-install-adobe-pdf-reader-with-plug-in-for-mozilla-firefox-in-feisty-fawn.html

FVM may cause WinXP to BSOD

Remember to stop FVM before reboot the machine. Otherwise, it may cause the WINDOWS to BSOD when XP is starting.

Happened twice on my workstation with WIN XP, SP2.

Monday, December 8, 2008

Install sound driver in Ubuntu Server

1) Need to install alsa related packages:
apt-get install alsa-utils
2) apt-get install aumix
3) reboot the linux
4) use aumix to increase the volume to maximum

Tuesday, December 2, 2008

Use VLOOKUP to merge Excel files

http://answers.yahoo.com/question/index?qid=20060922225016AAZ7IaE
http://www.mrexcel.com/forum/showthread.php?t=82540
http://www.techonthenet.com/excel/formulas/vlookup.php
http://www.ehow.com/how_2169371_two-excel-files-using-vlookup.html

Excel tips: remove duplicate rows and convert hex numbers

1. Remove duplicate rows:
In Microsoft Office Excel 2007, you have several ways to filter for unique values or remove duplicate values:
To filter for unique values, use the Advanced command in the Sort & Filter group on the Data tab.
To remove duplicate values, use the Remove Duplicates command in the Data Tools group on the Data tab.
To highlight unique or duplicate values, use the Conditional Formatting command in the Style group on the Home tab.
Ref: http://office.microsoft.com/en-us/excel/HP100739431033.aspx

2. Convert hex numbers:
Syntax
HEX2DEC(number)
Number is the hexadecimal number you want to convert. Number cannot contain more than 10 characters (40 bits). The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
Ref: http://office.microsoft.com/en-us/excel/HP052091111033.aspx

3. Remove "0x" for hex number:

An easy way to get that x out, would be go to Data->Text to Columns, choosedelimited, and select the "Other" box and type in "x" for the delimiter.

http://www.excelforum.com/excel-worksheet-functions/401606-can-i-use-hex2dec-with-cell-references-vs-numbers.html