(X)Ubuntu Bug 1218995: Hyper-V Synthetic Video Frame Buffer Driver not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I encountered a possible bug with the hyperv_fb module. After verifying
that the bug is not caused by Ubuntu kernel patches, I have been guided
to report the bug here. I hope this information can help to solve the
problem.

I am running Xubuntu 13.10 in a Hyper-V machine on Windows 8 Pro.
According to the kernel module description the kernel driver should
allow for FullHD resoltuion and should eliminate the double mouse
courser. Here neither of that happens though, screen resolution is
limited to 1152x864 like it was with 13.04 before the framebuffer driver
was added and I still have double mouse coursers.

lsmod verifies hyperv_fb module to be loaded. So there must be something
which stops the enhancements from working correctly.

I am running the current 3.11 vanilla kernel, so the problem is not
caused by any Ubuntu specific patches.

Downstream bug report:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1218995

Below you find some technical information (collected according to the
guide from https://wiki.ubuntu.com/Bugs/Upstream/kernel):

jan@XubuntuVM-Jan-Desktop:~$ cat /proc/version 
Linux version 3.11.0-031100-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201309021735 SMP Mon Sep 2 21:36:21 UTC 2013

jan@XubuntuVM-Jan-Desktop:~$ lsb_release -rd
Description:	Ubuntu Saucy Salamander (development branch)
Release:	13.10

jan@XubuntuVM-Jan-Desktop:/usr/src/linux-headers-3.11.0-031100/scripts$ sh ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
Linux XubuntuVM-Jan-Desktop 3.11.0-031100-generic #201309021735 SMP Mon Sep 2 21:36:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
 
Gnu C                  4.8
Gnu make               3.81
binutils               2.23.52.20130828
util-linux             2.20.1
mount                  support
module-init-tools      9
e2fsprogs              1.42.8
pcmciautils            018
PPP                    2.4.5
Linux C Library        2.17
Dynamic linker (ldd)   2.17
Procps                 3.3.3
Net-tools              1.60
Kbd                    1.15.5
Sh-utils               8.20
wireless-tools         30
Modules Loaded         rfcomm bnep bluetooth parport_pc ppdev psmouse hid_generic joydev hid_hyperv serio_raw lp microcode hid hyperv_fb hv_balloon parport i2c_piix4 mac_hid hv_netvsc hv_utils hv_storvsc hv_vmbus floppy

jan@XubuntuVM-Jan-Desktop:~$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
stepping	: 5
microcode	: 0xffffffff
cpu MHz		: 2659.988
cache size	: 8192 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx lm constant_tsc rep_good nopl pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm
bogomips	: 5319.97
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

jan@XubuntuVM-Jan-Desktop:~$ cat /proc/modules 
rfcomm 74589 4 - Live 0x0000000000000000
bnep 23966 2 - Live 0x0000000000000000
bluetooth 391564 10 rfcomm,bnep, Live 0x0000000000000000
parport_pc 32866 0 - Live 0x0000000000000000
ppdev 17711 0 - Live 0x0000000000000000
psmouse 104064 0 - Live 0x0000000000000000
hid_generic 12548 0 - Live 0x0000000000000000
joydev 17613 0 - Live 0x0000000000000000
hid_hyperv 13207 0 - Live 0x0000000000000000
serio_raw 13413 0 - Live 0x0000000000000000
lp 17799 0 - Live 0x0000000000000000
microcode 23650 0 - Live 0x0000000000000000
hid 105557 2 hid_generic,hid_hyperv, Live 0x0000000000000000
hyperv_fb 17514 1 - Live 0x0000000000000000
hv_balloon 21788 0 [permanent], Live 0x0000000000000000
parport 42466 3 parport_pc,ppdev,lp, Live 0x0000000000000000
i2c_piix4 22299 0 - Live 0x0000000000000000
mac_hid 13253 0 - Live 0x0000000000000000
hv_netvsc 31648 0 - Live 0x0000000000000000
hv_utils 18348 0 - Live 0x0000000000000000
hv_storvsc 22328 2 - Live 0x0000000000000000
hv_vmbus 48391 6 hid_hyperv,hyperv_fb,hv_balloon,hv_netvsc,hv_utils,hv_storvsc, Live 0x0000000000000000
floppy 70206 0 - Live 0x0000000000000000

jan@XubuntuVM-Jan-Desktop:~$ cat /proc/ioports 
0000-0cf7 : PCI Bus 0000:00
  0000-001f : dma1
  0020-0021 : pic1
  0022-0022 : ACPI PM2_CNT_BLK
  0040-0043 : timer0
  0050-0053 : timer1
  0060-0060 : keyboard
  0064-0064 : keyboard
  0070-0071 : rtc0
  0080-008f : dma page reg
  00a0-00a1 : pic2
  00c0-00df : dma2
  00f0-00ff : fpu
  0160-016f : pnp 00:09
  0170-0177 : 0000:00:07.1
    0170-0177 : ata_piix
  01e0-01ef : pnp 00:09
  01f0-01f7 : 0000:00:07.1
    01f0-01f7 : ata_piix
  0278-027f : pnp 00:09
  02f8-02ff : serial
  0370-0371 : pnp 00:0a
  0376-0376 : 0000:00:07.1
    0376-0376 : ata_piix
  0378-037f : pnp 00:09
  03f2-03f2 : floppy
  03f4-03f5 : floppy
  03f6-03f6 : 0000:00:07.1
    03f6-03f6 : ata_piix
  03f7-03f7 : floppy
  03f8-03ff : serial
  0400-043f : 0000:00:07.3
    0400-043f : pnp 00:0a
      0400-0403 : ACPI PM1a_EVT_BLK
      0404-0405 : ACPI PM1a_CNT_BLK
      0408-040b : ACPI PM_TMR
      040c-040f : ACPI GPE0_BLK
  0440-044f : pnp 00:0a
  04d0-04d1 : pnp 00:09
  0678-067f : pnp 00:09
  0778-077f : pnp 00:09
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
  ffa0-ffaf : 0000:00:07.1
    ffa0-ffaf : ata_piix

jan@XubuntuVM-Jan-Desktop:~$ cat /proc/iomem 
00000000-00000fff : reserved
00001000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000c7fff : Video ROM
000e0000-000fffff : reserved
  000f0000-000fffff : System ROM
00100000-7ffeffff : System RAM
  01000000-0173a293 : Kernel code
  0173a294-01d0e93f : Kernel data
  01e70000-01fe2fff : Kernel bss
7fff0000-7fffefff : ACPI Tables
7ffff000-7fffffff : ACPI Non-volatile Storage
80000000-87ffffff : System RAM
f8000000-fffbffff : PCI Bus 0000:00
  f8000000-fbffffff : 0000:00:08.0
    fb800000-fbffffff : hyperv_fb
  fec00000-fec003ff : IOAPIC 0
  fee00000-fee00fff : Local APIC
    fee00000-fee00fff : pnp 00:0a
fffc0000-ffffffff : pnp 00:0b
fe0000000-fffefffff : PCI Bus 0000:00

jan@XubuntuVM-Jan-Desktop:~$ sudo lspci -vvv
[sudo] password for jan: 
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
	Subsystem: Microsoft Corporation Device 0000
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0

00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
	Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
	Region 4: I/O ports at ffa0 [size=16]
	Kernel driver in use: ata_piix

00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 9

00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA (prog-if 00 [VGA controller])
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
	Expansion ROM at <unassigned> [disabled]

jan@XubuntuVM-Jan-Desktop:~$ cat /proc/scsi/scsi 
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: Msft     Model: Virtual CD/ROM   Rev: 1.0 
  Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: Msft     Model: Virtual Disk     Rev: 1.0 
  Type:   Direct-Access                    ANSI  SCSI revision: 04

jan@XubuntuVM-Jan-Desktop:~$ ls /proc/
1     110   1197  124   13    14    15    170   242  267  40   520  69   79   898  99           interrupts     mtrr           uptime
10    1101  1199  1240  130   140   150   171   243  268  400  53   7    8    9    998          iomem          net            version
100   1104  12    1242  1300  141   1518  172   244  269  406  54   70   80   90   acpi         ioports        pagetypeinfo   vmallocinfo
101   111   120   1247  1305  142   152   174   246  27   41   55   703  81   907  buddyinfo    irq            partitions     vmstat
102   1118  1202  1248  131   143   1522  18    247  28   42   56   71   82   91   bus          kallsyms       sched_debug    zoneinfo
1022  112   1206  125   1310  1437  1523  1826  248  29   43   57   72   820  917  cgroups      kcore          schedstat
103   113   121   1258  132   144   153   19    249  3    433  58   73   822  918  cmdline      key-users      scsi
1031  114   1212  126   1325  1441  154   194   25   30   44   59   735  83   92   consoles     kmsg           self
1038  115   1216  1269  133   1444  155   195   250  31   45   6    736  833  927  cpuinfo      kpagecount     slabinfo
104   116   1218  127   1331  145   156   2     251  32   46   60   74   835  93   crypto       kpageflags     softirqs
105   1169  122   1274  1334  1453  157   20    252  33   47   61   75   84   94   devices      latency_stats  stat
1053  117   1220  128   134   1459  1571  2073  253  335  48   62   76   841  95   diskstats    loadavg        swaps
1055  1171  1222  1282  1344  146   1575  21    254  34   49   63   77   846  96   dma          locks          sys
106   1175  1224  1284  135   1464  158   2104  255  35   5    64   779  85   97   driver       mdstat         sysrq-trigger
107   118   1226  1287  136   147   16    22    256  36   50   65   78   86   979  execdomains  meminfo        sysvipc
108   1188  123   1289  137   1473  1644  23    257  37   501  66   787  87   98   fb           misc           timer_list
109   1189  1235  129   138   148   169   24    26   38   51   67   788  88   981  filesystems  modules        timer_stats
11    119   1236  1297  139   149   17    240   266  39   52   68   789  89   989  fs           mounts         tty

-- 
Best regards
Jan Henke

Attachment: 0x20C88DFB.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux