modprobe syntax in displayed "HINT" message is wrong
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/
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
NonfreeKernelMo
Package: cpu-checker 0.1-0ubuntu1
PackageArchitec
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
ProcVersionSign
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 |
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