[Bug 569394] [NEW] Can't use kvm -curses with virtual or ec2 kernels
Loïc Minier
lool at dooz.org
Sat Apr 24 12:48:14 BST 2010
Public bug reported:
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
** Affects: linux-ec2 (Ubuntu)
Importance: Undecided
Status: New
** Affects: qemu-kvm (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug lucid
** Also affects: qemu-kvm (Ubuntu)
Importance: Undecided
Status: New
--
Can't use kvm -curses with virtual or ec2 kernels
https://bugs.launchpad.net/bugs/569394
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list