From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description=This test is intended to test driver load/unload on virtual machine |actions= # boot the guests and determine the driver for the guest nics: driver<pr...')
 
No edit summary
 
Line 30: Line 30:
#  if any errors during the extracting, fail the whole testcase
#  if any errors during the extracting, fail the whole testcase
}}
}}
[[Category:Virtualization XenDomU Test Cases|Guest install]]
[[Category:Virtualization_Networking_Test_Cases]]

Latest revision as of 10:01, 8 April 2010

Description

This test is intended to test driver load/unload on virtual machine


How to test

  1. boot the guests and determine the driver for the guest nics: driver
    ethtool -i eth0 | grep driver | awk '{print $2}'
  1. download and install prozilla in the guests : may need libncurses5 ( libncurses5-dev )
    wget http://10.66.70.67:3000/attachments/52/prozilla-1.3.7.3.tar.gz
    tar -zxf prozilla-1.3.7.3.tar.gz
    cd prozilla-1.3.7.3
    ./configure
    make install
  2. open a guest session and run the following scripts
    while true; do
    ifconfig eth0 down
    sleep 0.1
    modprobe -r driver
    modprobe driver
    ifconfig eth0 up
    sleep 0.1
    done
    <pre>
  3. in the meantime, open a guest session and download the the kernel archives from lkml.org<pre>proz -k 10 http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.5.tar.bz2
  4. kill the scripts
  5. tar the kernel archives
    tar -zxf linux-2.6.31.5.tar.bz2

Expected Results

  1. if any errors during the extracting, fail the whole testcase