[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels

Serge Hallyn 569394 at bugs.launchpad.net
Mon Aug 27 16:06:27 UTC 2012


@Arun,

as Scott said in comment #13, you must blacklist vga16fb by placing the
line

blacklist vga16fb

in the file /etc/modprobe.d/blacklist.conf .   The cloud images do this
automatically, but since you are building your images with vmbuilder,
you must either have vmbuilder do it for you with a hook, or do it by
hand on a first boot with vnc.

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

Title:
  Can't use kvm -curses with virtual or ec2 kernels

Status in “initramfs-tools” package in Ubuntu:
  Fix Released
Status in “linux-ec2” package in Ubuntu:
  Fix Released
Status in “qemu-kvm” package in Ubuntu:
  Fix Released

Bug description:
  Hi

  I'd like to run kvm -kernel <kernel file> -hda <UEC image> -append
  "/proc/cmdline stuff" but this fails badly with both the EC2 and
  Virtual kernels.

  With the files from:
  http://uec-images.ubuntu.com/lucid/current/unpacked/

  Trying to run:
  kvm -kernel lucid-server-uec-amd64-vmlinuz-ec2 -hda lucid-server-uec-amd64.img -curses -append "root=/dev/sda"
  or:
  kvm -kernel lucid-server-uec-amd64-vmlinuz-virtual -hda lucid-server-uec-amd64.img -curses -append "root=/dev/sda"

  Fails awfully.

  I tried all combinations of nomodeset, vga=none, modeset=0,
  vga.nomodeset, vga.modeset=0, vga=ask and what not, but all failed.

  During the early kernel init, the VGA adapter emulated by kvm switches to graphics mode after:
  [...]
  [    1.073901] EXT3-fs: mounted filesystem with ordered data mode.              
  [    1.074640] VFS: Mounted root (ext3 filesystem) readonly on device 8:0.      
  [    1.075983] devtmpfs: mounted                                                
  [    1.076955] Freeing unused kernel memory: 796k freed                         
  [    1.093995] Write protecting the kernel read-only data: 7788k                

  I just get "640 x 480 Graphic mode" filling my whole remote terminal,
  and can't interact with the curses vm anymore.

  the -ec2 kernels in particular give some spectacularly corrupted
  output.

  Thanks,

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: linux-ec2 (not installed)
  ProcVersionSignature: Ubuntu 2.6.32-21.32-server 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-server x86_64
  Architecture: amd64
  Date: Sat Apr 24 13:23:44 2010
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/zsh
  SourcePackage: linux-meta-ec2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/569394/+subscriptions




More information about the foundations-bugs mailing list