[Hyper-V] hyperv_fb kernel module is not automatically loaded on Ubuntu 14.10

Bug #1359933 reported by Chris Valean
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Medium
Andy Whitcroft
Utopic
Fix Released
Medium
Andy Whitcroft

Bug Description

System details:
Linux ubuntu 3.16.0-9-generic #14-Ubuntu SMP Fri Aug 15 15:03:57 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu Server 14.10 Daily build from 19th Aug.

During the testing we've discovered that the hyperv_fb module is not automatically loaded by the system.
The module is used for the 2D FB functionality and in 14.04 and older it was loaded along with all the other Hyper-V LIS kernel modules.
Please make the necessary corrections to include hyperv_fb as well.
This affects all Windows Server editions, from 2008R2, WS 2012 and WS 2012 R2.

The module is also used in runlevel 3, and our test setup has the X server and GUI installed.

root@ubuntu:~# lsmod | grep hyperv_fb
root@ubuntu:~#

root@ubuntu:~# modprobe hyperv_fb

root@ubuntu:~# modinfo hyperv_fb
filename: /lib/modules/3.16.0-9-generic/kernel/drivers/video/fbdev/hyperv_fb.ko
description: Microsoft Hyper-V Synthetic Video Frame Buffer Driver
license: GPL
srcversion: 7DB9F1496E075EBB679974C
alias: pci:v00001414d00005353sv00000000sd00000000bc*sc*i*
alias: vmbus:02780ada77e3ac4a8e770558eb1073f8
depends: hv_vmbus
intree: Y
vermagic: 3.16.0-9-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: 2A:50:05:BD:65:41:55:43:B9:4A:39:62:EB:AC:4A:19:C5:06:CE:81
sig_hashalgo: sha512
---
ApportVersion: 2.14.6-0ubuntu1
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 14.10
HibernationDevice: RESUME=/dev/mapper/ubuntu--vg-swap_1
InstallationDate: Installed on 2014-08-19 (2 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Alpha amd64 (20140819)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.

 virbr0 no wireless extensions.
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: Microsoft Corporation Virtual Machine
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 hyperv_fb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-9-generic root=/dev/mapper/hostname--vg-root ro crashkernel=128M@64M
ProcVersionSignature: Ubuntu 3.16.0-9.14-generic 3.16.1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-9-generic N/A
 linux-backports-modules-3.16.0-9-generic N/A
 linux-firmware 1.132
RfKill:

Tags: utopic
Uname: Linux 3.16.0-9-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 05/23/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 090006
dmi.board.name: Virtual Machine
dmi.board.vendor: Microsoft Corporation
dmi.board.version: 7.0
dmi.chassis.asset.tag: 1037-8395-2404-3263-1476-7555-72
dmi.chassis.type: 3
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.version: 7.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr090006:bd05/23/2012:svnMicrosoftCorporation:pnVirtualMachine:pvr7.0:rvnMicrosoftCorporation:rnVirtualMachine:rvr7.0:cvnMicrosoftCorporation:ct3:cvr7.0:
dmi.product.name: Virtual Machine
dmi.product.version: 7.0
dmi.sys.vendor: Microsoft Corporation

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1359933

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue just start happening with the daily build from 19th Aug?

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key kernel-hyper-v
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Chris Valean (chvale) wrote :

Hi Joseph,
The build from 19th Aug is the first one we've picked up for testing, so I cannot confirm if the initial builds have this or not, though this issue was not seen before on Ubuntu.

Revision history for this message
Chris Valean (chvale) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected utopic
description: updated
Revision history for this message
Chris Valean (chvale) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : BootDmesg.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : Lspci.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : ProcModules.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : UdevDb.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : UdevLog.txt

apport information

Revision history for this message
Chris Valean (chvale) wrote : WifiSyslog.txt

apport information

Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Utopic):
assignee: nobody → Andy Whitcroft (apw)
status: Confirmed → In Progress
Revision history for this message
Dexuan Cui (decui) wrote :

The root cause of the bug is:

Ubuntu 14.10(I'm using the daily build of Aug 27 ) blacklists hyperv_fb:
/etc/modprobe.d/fbdev-blacklist.conf: blacklist hyperv_fb

Is there a reason?

Revision history for this message
Andy Whitcroft (apw) wrote :

This change came over in a debian sync. Specifically it appears to come from a change in systemd 204-9:

systemd (204-9) unstable; urgency=medium

  * The "Flemish Beef and Beer Stew" release.
[...]
  [ Marco d'Itri ]
[...]
  * Updated fbdev-blacklist.conf for recent kernels.

affects: linux (Ubuntu Utopic) → kmod (Ubuntu Utopic)
Revision history for this message
Andy Whitcroft (apw) wrote :

Ok I have reverted this fix in some test packages in the PPA below, could you confirm that these fix the issue for you:

    https://launchpad.net/~apw/+archive/ubuntu/lp1359933

Please report any testing back here.

affects: kmod (Ubuntu Utopic) → systemd (Ubuntu Utopic)
Revision history for this message
Chris Valean (chvale) wrote :

Hi Andy,
I've used the instructions to add the test package, however the hyperv_fb module is still not loaded at boot time.
Please see the below commands log, in case I've missed something.

#add-apt-repository ppa:apw/lp1359933

#yum update

root@ubuntu:~# apt-get install systemd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libpam-systemd libsystemd-daemon0 libsystemd-journal0 libsystemd-login0
Suggested packages:
  systemd-ui
The following packages will be upgraded:
  libpam-systemd libsystemd-daemon0 libsystemd-journal0 libsystemd-login0 systemd
5 upgraded, 0 newly installed, 0 to remove and 494 not upgraded.
Need to get 1,525 kB of archives.
After this operation, 104 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/apw/lp1359933/ubuntu/ utopic/main libpam-systemd amd64 208-8ubuntu3~lp1359933v1 [43.4 kB]
Get:2 http://ppa.launchpad.net/apw/lp1359933/ubuntu/ utopic/main libsystemd-daemon0 amd64 208-8ubuntu3~lp1359933v1 [28.7 kB]
Get:3 http://ppa.launchpad.net/apw/lp1359933/ubuntu/ utopic/main systemd amd64 208-8ubuntu3~lp1359933v1 [1,336 kB]
Get:4 http://ppa.launchpad.net/apw/lp1359933/ubuntu/ utopic/main libsystemd-journal0 amd64 208-8ubuntu3~lp1359933v1 [72.1 kB]
Get:5 http://ppa.launchpad.net/apw/lp1359933/ubuntu/ utopic/main libsystemd-login0 amd64 208-8ubuntu3~lp1359933v1 [44.8 kB]
Fetched 1,525 kB in 6s (228 kB/s)
(Reading database ... 174566 files and directories currently installed.)
Preparing to unpack .../libpam-systemd_208-8ubuntu3~lp1359933v1_amd64.deb ...
Unpacking libpam-systemd:amd64 (208-8ubuntu3~lp1359933v1) over (208-7ubuntu4) ...
Preparing to unpack .../libsystemd-daemon0_208-8ubuntu3~lp1359933v1_amd64.deb ...
Unpacking libsystemd-daemon0:amd64 (208-8ubuntu3~lp1359933v1) over (208-7ubuntu4) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libsystemd-daemon0:amd64 (208-8ubuntu3~lp1359933v1) ...
Processing triggers for libc-bin (2.19-4ubuntu1) ...
(Reading database ... 174566 files and directories currently installed.)
Preparing to unpack .../systemd_208-8ubuntu3~lp1359933v1_amd64.deb ...
Unpacking systemd (208-8ubuntu3~lp1359933v1) over (208-7ubuntu4) ...
Preparing to unpack .../libsystemd-journal0_208-8ubuntu3~lp1359933v1_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (208-8ubuntu3~lp1359933v1) over (208-7ubuntu4) ...
Preparing to unpack .../libsystemd-login0_208-8ubuntu3~lp1359933v1_amd64.deb ...
Unpacking libsystemd-login0:amd64 (208-8ubuntu3~lp1359933v1) over (208-7ubuntu4) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libsystemd-journal0:amd64 (208-8ubuntu3~lp1359933v1) ...
Setting up libsystemd-login0:amd64 (208-8ubuntu3~lp1359933v1) ...
Setting up systemd (208-8ubuntu3~lp1359933v1) ...
Setting up libpam-systemd:amd64 (208-8ubuntu3~lp1359933v1) ...
Processing triggers for libc-bin (2.19-4ubuntu1) ...

root@ubuntu:~# restart

Revision history for this message
Martin Pitt (pitti) wrote :

Sorry, wrong package. You need to install "udev", not "systemd".

Revision history for this message
Chris Valean (chvale) wrote :

Hi Martin,
You are right, I was able to install the udev package and now the hyperv_fb driver is automatically loaded at boot.

Please let us know when this fix will be included in the daily builds.
Thank you!

Revision history for this message
Martin Pitt (pitti) wrote :

Fix committed to Debian and Ubuntu systemd packaging branches. I'll do an utopic upload now.

Changed in systemd (Ubuntu Utopic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 208-8ubuntu4

---------------
systemd (208-8ubuntu4) utopic; urgency=medium

  * debian/tests/boot-and-services: Accept lower-case spelling of "command
    line" in dmesg log. Curiously the case differs between amd64 and i386..
 -- Martin Pitt <email address hidden> Thu, 18 Sep 2014 21:10:42 +0200

Changed in systemd (Ubuntu Utopic):
status: Fix Committed → 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.