Updated on 2024-07-12 GMT+08:00

Uninstalling PV Drivers from a Linux ECS

Scenarios

When optimizing a Linux private image with Xen virtualization, you need to install native Xen and KVM drivers on the source ECS of the image.

To ensure that you can successfully install native Xen and KVM drivers, you must uninstall PV drivers from the ECS first.

Procedure

  1. Log in to the ECS as user root using VNC.
  2. Run the following command to check whether PV drivers are installed in the OS:

    ps -ef | grep uvp-monitor

    • If the following information is displayed, PV drivers have been installed.
    • Otherwise, PV drivers are not installed. No further actions will be required.
    root     4561        1    0   Jun29 ?           00:00:00   /usr/bin/uvp-monitor
    root     4567     4561    0   Jun29 ?           00:00:00   /usr/bin/uvp-monitor
    root     6185     6085    0   03:04  pts/2      00:00:00   grep uvp-monitor
  3. In the VNC login window, open the CLI.

    For how to open the CLI, see the OS manual.

  4. Run the following command to uninstall PV drivers:

    /etc/.uvp-monitor/uninstall

    • PV drivers are uninstalled successfully if the following command output is displayed:
      The PV driver is uninstalled successfully. Reboot the system for the uninstallation to take effect.
    • If the command output indicates that .uvp-monitor is not found, go to 5.
      -bash: /etc/.uvp-monitor/uninstall: No such file or directory
  5. Perform the following operations to delete uvp-monitor that failed to take effect, preventing log overflow:
    1. Run the following command to check whether UVP user-mode programs are installed in the OS:

      rpm -qa | grep uvp

      Information similar to the following is displayed:

      libxenstore_uvp3_0-3.00-36.1.x86_64
      uvp-monitor-2.2.0.315-3.1.x86_64
      kmod-uvpmod-2.2.0.315-3.1.x86_64
    2. Run the following commands to delete the installation packages:

      rpm -e kmod-uvpmod

      rpm -e uvp-monitor

      rpm -e libxenstore_uvp