From Fedora Project Wiki

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