[Bug 1038055] Re: graphics fail to initialise correctly, in kvm with cirrus graphics (after LUKS install)

Stefan Bader stefan.bader at canonical.com
Wed Sep 5 10:23:35 UTC 2012


Hm, I think that might be missing hint. I have a ssh server running to
log in that way (using the nomodeset and the vt could be installed in
the broken state). And I stumbled into the working state again.
Comparing the xorg.log files I found that when things work, the cirrus
module seems to have finished loading and prevents the cirrus x-driver
from getting active:

[    11.447] (EE) cirrus: The PCI device 0xb8 at 00 at 00:02:0 has a kernel module claiming it.
[    11.447] (EE) cirrus: This driver cannot operate until it has been unloaded.
...
[    11.448] (II) modesetting(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/24
[    11.448] (==) modesetting(0): Depth 24, (==) framebuffer bpp 24

However in the case where lightdm works but switching to a text console
does not, there was a problem with drm device:

[    12.015] (EE) open /dev/dri/card0: No such file or directory
[    12.016] (EE) open /dev/fb0: No such file or directory
...
[    12.018] (II) CIRRUS(0): initializing int10
[    12.020] (II) CIRRUS(0): Primary V_BIOS segment is: 0xc000
[    12.020] (II) CIRRUS(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/24
[    12.020] (--) CIRRUS(0): Depth 24, (==) framebuffer bpp 24

Looking at the syslog for cirrus, the current (good) run has

Sep  5 12:05:28 ubuntu-virtual-machine kernel: [    8.609150] fb: conflicting fb hw usage cirrusdrmfb vs EFI VGA - removing generic driver
Sep  5 12:05:28 ubuntu-virtual-machine kernel: [    8.667602] fbcon: cirrusdrmfb (fb0) is primary device
Sep  5 12:05:28 ubuntu-virtual-machine kernel: [    8.674590] fb0: cirrusdrmfb frame buffer device
Sep  5 12:05:28 ubuntu-virtual-machine kernel: [    8.674599] [drm] Initialized cirrus 1.0.0 20110418 for 0000:00:02.0 on minor 0

but the previous (bad) one had this:

Sep  5 11:57:51 ubuntu-virtual-machine kernel: [    9.838015] fb: conflicting fb hw usage cirrusdrmfb vs EFI VGA - removing generic driver
Sep  5 11:57:51 ubuntu-virtual-machine kernel: [    9.865736] [drm:cirrus_vram_init] *ERROR* can't reserve VRAM
Sep  5 11:57:51 ubuntu-virtual-machine kernel: [    9.865757] cirrus 0000:00:02.0: Fatal error during GPU init: -6

Now need to find out why this fails sometimes.

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

Title:
  graphics fail to initialise correctly, in kvm with cirrus graphics
  (after LUKS install)

Status in “cryptsetup” package in Ubuntu:
  Invalid
Status in “grub2” package in Ubuntu:
  Invalid
Status in “linux” package in Ubuntu:
  Confirmed
Status in “plymouth” package in Ubuntu:
  Invalid
Status in “ubiquity” package in Ubuntu:
  Invalid

Bug description:
  reproducible with ubiquity or alternate installer in KVM virtual machine:
  1) select lvm + encrypted instalation

  
  it fails to boot, in a way that I get "no video mode activated" and I cannot type the password in to unlock the drive.

  As a workaround, I had to:
  1) force reboot machine
  2) then grub options come up
  3) select recovery mode
  4) then I can enter the password using text interface
  5) resume normal boot

  Disabling splash, brings up text interface to unlock the drive &
  allows to boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1038055/+subscriptions




More information about the foundations-bugs mailing list