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


** Changed in: blktap-dkms (Ubuntu)
   Importance: Undecided => High

** Changed in: blktap-dkms (Ubuntu)
       Status: New => Triaged

** Description changed:

+ [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
+ 
+ 
  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@xenserver:~$ xe vm-start uuid=fb22747d-a25a-4f6f-b33a-9ef14783b927
  There was an SR backend failure.
  status: non-zero exit
- stdout: 
+ stdout:
  stderr: Traceback (most recent call last):
-   File "/usr/lib/xcp/sm/FileSR", line 814, in <module>
-     SRCommand.run(FileSR, DRIVER_INFO)
-   File "/usr/lib/xcp/sm/SRCommand.py", line 263, in run
-     ret = cmd.run(sr)
-   File "/usr/lib/xcp/sm/SRCommand.py", line 94, in run
-     return self._run_locked(sr)
-   File "/usr/lib/xcp/sm/SRCommand.py", line 131, in _run_locked
-     return self._run(sr, target)
-   File "/usr/lib/xcp/sm/SRCommand.py", line 196, in _run
-     writable, caching_params)
-   File "/usr/lib/xcp/sm/blktap2.py", line 1305, in activate
-     writable, caching_params):
-   File "/usr/lib/xcp/sm/blktap2.py", line 46, in wrapper
-     ret = op(self, *args)
-   File "/usr/lib/xcp/sm/blktap2.py", line 1337, in _activate_locked
-     dev_path = self._activate(sr_uuid, vdi_uuid, writable, caching_params)
-   File "/usr/lib/xcp/sm/blktap2.py", line 1357, in _activate
-     dev_path = self._tap_activate(phy_path, vdi_type, sr_uuid, writable)
-   File "/usr/lib/xcp/sm/blktap2.py", line 1149, in _tap_activate
-     tapdisk = Tapdisk.find_by_path(phy_path)
-   File "/usr/lib/xcp/sm/blktap2.py", line 616, in find_by_path
-     return cls.find(path=path)
-   File "/usr/lib/xcp/sm/blktap2.py", line 604, in find
-     found = list(cls.list(**args))
-   File "/usr/lib/xcp/sm/blktap2.py", line 579, in list
-     for row in TapCtl.list(**args):
-   File "/usr/lib/xcp/sm/blktap2.py", line 81, in loop
-     return f(*__t, **__d)
-   File "/usr/lib/xcp/sm/blktap2.py", line 293, in list
-     return list(cls.__list(**args))
-   File "/usr/lib/xcp/sm/blktap2.py", line 262, in __list
-     raise Exception, "blktap kernel module not installed: try 'modprobe 
blktap'"
+   File "/usr/lib/xcp/sm/FileSR", line 814, in <module>
+     SRCommand.run(FileSR, DRIVER_INFO)
+   File "/usr/lib/xcp/sm/SRCommand.py", line 263, in run
+     ret = cmd.run(sr)
+   File "/usr/lib/xcp/sm/SRCommand.py", line 94, in run
+     return self._run_locked(sr)
+   File "/usr/lib/xcp/sm/SRCommand.py", line 131, in _run_locked
+     return self._run(sr, target)
+   File "/usr/lib/xcp/sm/SRCommand.py", line 196, in _run
+     writable, caching_params)
+   File "/usr/lib/xcp/sm/blktap2.py", line 1305, in activate
+     writable, caching_params):
+   File "/usr/lib/xcp/sm/blktap2.py", line 46, in wrapper
+     ret = op(self, *args)
+   File "/usr/lib/xcp/sm/blktap2.py", line 1337, in _activate_locked
+     dev_path = self._activate(sr_uuid, vdi_uuid, writable, caching_params)
+   File "/usr/lib/xcp/sm/blktap2.py", line 1357, in _activate
+     dev_path = self._tap_activate(phy_path, vdi_type, sr_uuid, writable)
+   File "/usr/lib/xcp/sm/blktap2.py", line 1149, in _tap_activate
+     tapdisk = Tapdisk.find_by_path(phy_path)
+   File "/usr/lib/xcp/sm/blktap2.py", line 616, in find_by_path
+     return cls.find(path=path)
+   File "/usr/lib/xcp/sm/blktap2.py", line 604, in find
+     found = list(cls.list(**args))
+   File "/usr/lib/xcp/sm/blktap2.py", line 579, in list
+     for row in TapCtl.list(**args):
+   File "/usr/lib/xcp/sm/blktap2.py", line 81, in loop
+     return f(*__t, **__d)
+   File "/usr/lib/xcp/sm/blktap2.py", line 293, in list
+     return list(cls.__list(**args))
+   File "/usr/lib/xcp/sm/blktap2.py", line 262, in __list
+     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@xenserver:~$ sudo modprobe blktap
  FATAL: Error inserting blktap 
(/lib/modules/3.5.0-23-generic/updates/dkms/blktap.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)
  
  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://lists.xen.org/archives/html/xen-api/2012-11/msg00107.html
  
  Checking it out, this is what is installed on a fresh 12.04.2 server install:
  bladernr@xenserver:~$ apt-cache policy blktap-dkms
  blktap-dkms:
-   Installed: 2.0.91-1
-   Candidate: 2.0.91-1
-   Version table:
-  *** 2.0.91-1 0
-         500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
-         100 /var/lib/dpkg/status
- 
+   Installed: 2.0.91-1
+   Candidate: 2.0.91-1
+   Version table:
+  *** 2.0.91-1 0
+         500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
+         100 /var/lib/dpkg/status
  
  Using clues here:
  
http://blog.sleeplessbeastie.eu/2012/10/08/ubuntu-precise-install-youtube-dl-package-using-quantal-repo/
  
  I installed blktap-dkms from the Quantal repo and this time it loaded without 
errors.
  bladernr@xenserver:~$ sudo modprobe blktap
  bladernr@xenserver:~$ sudo apt-cache policy blktap-dkms
  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://us.archive.ubuntu.com/ubuntu/ quantal/universe amd64 
Packages
-         100 /var/lib/dpkg/status
-      2.0.91-1 990
-         990 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
+   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://us.archive.ubuntu.com/ubuntu/ quantal/universe amd64 
Packages
+         100 /var/lib/dpkg/status
+      2.0.91-1 990
+         990 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 
Packages
  
  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
  ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
  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
+  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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1157421

Title:
  blktap-dkms version in 12.04.2 is not compatible with the 12.04.2
  kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blktap-dkms/+bug/1157421/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to