blktap-dkms version in 12.04.2 is not compatible with the 12.04.2 kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
blktap-dkms (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Won't Fix
|
High
|
Unassigned |
Bug Description
[IMPACT]
Makes the package unusable for 12.04.2 LTS users unless they downgrade to a 3.2.x kernel
[TEST CASE]
Install Ubuntu 12.04.2 LTS and attempt to install blktap-dkms package.
[REGRESSION POTENTIAL]
Could make the package unusable for 12.04.x users who remain on 3.2.x kernel. That needs testing.
[OTHER INFO]
Here is the bug showing the debdiff and tested/Fixed in a later Ubuntu release: https:/
This is on a system with a fresh install of 12.04.2 server. After install, I installed the Xen and XAPI bits. the blktap module fails to load on 3.5 kernels due to broken symbol errors:
Trying to start a newly created vm and I get the following with 12.04.2:
bladernr@
There was an SR backend failure.
status: non-zero exit
stdout:
stderr: Traceback (most recent call last):
File "/usr/lib/
SRCommand.
File "/usr/lib/
ret = cmd.run(sr)
File "/usr/lib/
return self._run_
File "/usr/lib/
return self._run(sr, target)
File "/usr/lib/
writable, caching_params)
File "/usr/lib/
writable, caching_params):
File "/usr/lib/
ret = op(self, *args)
File "/usr/lib/
dev_path = self._activate(
File "/usr/lib/
dev_path = self._tap_
File "/usr/lib/
tapdisk = Tapdisk.
File "/usr/lib/
return cls.find(path=path)
File "/usr/lib/
found = list(cls.
File "/usr/lib/
for row in TapCtl.
File "/usr/lib/
return f(*__t, **__d)
File "/usr/lib/
return list(cls.
File "/usr/lib/
raise Exception, "blktap kernel module not installed: try 'modprobe blktap'"
Exception: blktap kernel module not installed: try 'modprobe blktap'
If I try manually loading blktap, I get this error:
bladernr@
FATAL: Error inserting blktap (/lib/modules/
And looking at dmesg as suggested:
[ 4148.840713] blktap: Unknown symbol do_munmap (err 0)
[ 4148.840735] blktap: Unknown symbol do_mmap_pgoff (err 0)
and I found this that seems to indicate that the Precise version of blktap is incompatible with kernels > 3.3
http://
Checking it out, this is what is installed on a fresh 12.04.2 server install:
bladernr@
blktap-dkms:
Installed: 2.0.91-1
Candidate: 2.0.91-1
Version table:
*** 2.0.91-1 0
500 http://
100 /var/lib/
Using clues here:
http://
I installed blktap-dkms from the Quantal repo and this time it loaded without errors.
bladernr@
bladernr@
blktap-dkms:
Installed: 2.0.93-0ubuntu1
Candidate: 2.0.93-0ubuntu1
Package pin: 2.0.93-0ubuntu1
Version table:
*** 2.0.93-0ubuntu1 990
500 http://
100 /var/lib/
2.0.91-1 990
990 http://
After doing this, as mentioned, the blktap module loads without issue and I am able to kick off that VM with no further tracebacks.
Thus, the older version of blktap is not compatible with 3.5 kernels, so we need to backport 2.0.93-0ubuntu1 to precise for quantal kernel usage...
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: blktap-dkms 2.0.93-0ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Tue Mar 19 16:55:04 2013
InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130214)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: blktap-dkms
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- James Page: Approve
-
Diff: 873 lines (+790/-1)10 files modified.pc/.quilt_patches (+1/-0)
.pc/.quilt_series (+1/-0)
.pc/.version (+1/-0)
.pc/applied-patches (+1/-0)
.pc/support_kernel_3.4.patch/ring.c (+726/-0)
debian/changelog (+9/-0)
debian/control (+1/-1)
debian/patches/series (+1/-0)
debian/patches/support_kernel_3.4.patch (+39/-0)
ring.c (+10/-0)
Changed in blktap-dkms (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in blktap-dkms (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: |
added: verification-failed removed: verification-needed |
Changed in blktap-dkms (Ubuntu Precise): | |
status: | Fix Committed → In Progress |
Confirmed. Starting SRU:
[IMPACT]
Makes the package unusable for 12.04.2 LTS users unless they downgrade to a 3.2.x kernel
[TEST CASE]
Install Ubuntu 12.04.2 LTS and attempt to install blktap-dkms package.
[REGRESSION POTENTIAL]
Could make the package unusable for 12.04.x users who remain on 3.2.x kernel. That needs testing.
[OTHER INFO]
Here is the bug showing the debdiff and tested/Fixed in a later Ubuntu release: https:/ /bugs.launchpad .net/xcp/ +bug/1028135