All pastes #47365 Raw Edit

Mine

public text v1 · immutable
#47365 ·published 2006-03-29 00:25 UTC
rendered paste body
430  ./mkbuildtree /home/hikenboot/xen/linux-2.6.16-rc5
  431  ./mkbuildtree /home/hikenboot/xen/linux-2.6.16-rc5
  432  mkbuildtree /home/hikenboot/xen/linux-2.6.16-rc5
  437  cd linux-2.6-xen-sparse
  438  ./mkbuildtree /home/hikenboot/xen/linux-2.6.16-rc5
  483  wget http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-unstable.hg.tar.gz
  529  sudo cp .config /config
  530  sudo make menuconfig CC=gcc-3.3 HOSTCC=gcc-3.3
  531  sudo make CC=gcc-3.3 HOSTCC=gcc-3.3
  532  hg identify
  557  hg pull -u
  558  sudo hg pull -u
  563  hg identify
   1.
      make sure kernel compilation tools are installed
   2.
      make sure your on the sudoers list
   3.
      mkdir Xen
   4.
      cd Xen
   5.
      wget http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-unstable.hg.tar.gz
   6.
      tar zxvf xen-unstable.hg.tar.gz
   7.
      cd xen-unstable.hg
   8.
      hg pull -u
   9.
      hg identify---> returns c5286130a96e tip or other (use this hash it works set for this hash)
  10.
      cd  ..
  11.
      cd ..
  12.
      wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.16-rc5.tar.gz
  13.
      tar zxvf linux-2.6.16-rc5.tar.gz
  14.
      cd Xen
  15.
      cd xen-unstable
  16.
      mkbuildtree ~/linux-2.6.16-rc5
  17.
      cd linux-2.6.16-rc5.tar.gz
  18.
      sudo make menuconfig CC=gcc-3.3 HOSTCC=gcc-3.3
  19.
      sudo make CC=gcc-3.3 HOSTCC=gcc-3.3
  20.
      sudo make install CC=gcc-4.4 HOSTCC=gcc-3.3
  21.
      sudo make modules CC=gcc-3.3 HOSTCC=gcc-3.3
  22.
      sudo make modules_install CC=gcc-3.3 HOSTCC=gcc-3.3
  23.
      sudo make install install-xen CC=gcc-3.3 HOSTCC=gcc-3.3
  24.
      sudo make install-tools CC=gcc-3.3 HOSTCC=gcc-3.3 

make sure kernel compilation tools are installed
make sure your on the sudoers list
mkdir Xen
cd Xen
wget http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-unstable.hg.tar.gz
tar zxvf xen-unstable.hg.tar.gz
cd xen-unstable.hg
hg pull -u
hg identify---> returns c5286130a96e tip or other (use this hash it works set for this hash)
cd  ..
cd ..
wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.16-rc5.tar.gz
tar zxvf linux-2.6.16-rc5.tar.gz
cd Xen
cd xen-unstable
mkbuildtree ~/linux-2.6.16-rc5
cd linux-2.6.16-rc5.tar.gz
sudo make menuconfig CC=gcc-3.3 HOSTCC=gcc-3.3
sudo make CC=gcc-3.3 HOSTCC=gcc-3.3
sudo make install CC=gcc-3.3 HOSTCC=gcc-3.3
sudo make modules CC=gcc-3.3 HOSTCC=gcc-3.3
sudo make modules_install CC=gcc-3.3 HOSTCC=gcc-3.3
sudo make install-xen CC=gcc-3.3 HOSTCC=gcc-3.3 
sudo make install-tools CC=gcc-3.3 HOSTCC=gcc-3.3
sudo /usr/sbin/mkinitrd -o /boot/xen-2.6.16-rc6.img 2.6.16-rc6

 tar zxvf /tmp/download/hdparm-3.6.tar.gz
 cd hdparm-3.5
 make
 su root
 (type password when prompted)
 make install
 cp /usr/local/sbin/hdparm /sbin/hdparm
 exit

To enable DMA for a hard drive: hdparm -d1 /dev/hda

To disable DMA for a hard drive: hdparm -d0 /dev/hda

To measure transfer rate of a hard drive: hdparm -Tt /dev/hda

To see what options are enabled for a hard drive: hdparm /dev/hda 
hikenboot zaid the command to revert to a particular hash is "tag <hash number>
hikenboot hold on looking for the mercurial tools
hikenboot Mercurial is available at:
hikenboot   http://www.selenic.com/mercurial/ 
hikenboot You will also need a Python version >= 2.3