modprobe syntax in displayed "HINT" message is wrong

Bug #537674 reported by Max Bowsher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpu-checker (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

Binary package hint: cpu-checker

kvm-ok displayed the following message to me:

HINT: sudo modprobe kvm kvm_intel

The intent of this message is clear (modprobe two kernel modules) but the syntax is wrong (it modprobes the 'kvm' module passing 'kvm_intel' as a module parameter) and the command fails messily.

The hint should be changed to say "sudo modprobe kvm_intel" (it loads kvm as a dependency automatically)

Here is the full shell transcript for interest's sake:

$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm does not exist
HINT: sudo modprobe kvm kvm_intel
KVM acceleration can NOT be used
$ sudo modprobe kvm kvm_intel
FATAL: Error inserting kvm (/lib/modules/2.6.32-16-generic/kernel/arch/x86/kvm/kvm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
maxb@altimeter:~$ dmesg | tail
......
[152201.948695] kvm: Unknown parameter `kvm_intel'
$ sudo modprobe kvm_intel
maxb@altimeter:~$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm exists
KVM acceleration can be used
$ ubuntu-bug cpu-checker

ProblemType: Bug
Architecture: amd64
Date: Thu Mar 11 21:26:01 2010
Dependencies:

DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
NonfreeKernelModules: nvidia
Package: cpu-checker 0.1-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: cpu-checker
Uname: Linux 2.6.32-16-generic x86_64

Related branches

Changed in cpu-checker (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cpu-checker - 0.1-0ubuntu2

---------------
cpu-checker (0.1-0ubuntu2) lucid; urgency=low

  * modify the modprobe HINT so it can be used (LP: #537674)
 -- Brian Murray <email address hidden> Thu, 18 Mar 2010 10:26:18 -0700

Changed in cpu-checker (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.