[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
@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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/569394 Title: Can't use kvm -curses with virtual or ec2 kernels To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/569394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I still see that error I installed KVM and create VM in /root. I used following command. ubuntu-vm-builder kvm lucid --arch 'amd64' --mem '1024' --rootsize '20480' --kernel-flavour 'generic' --hostname 'ubuntu' --mirror 'http://archive.ubuntu.com/ubuntu' --components 'main' --name 'blah' --user 'ubuntu' --pass 'ubuntu' --removepkg=cron --dest=/root/vm1 --addpkg openssh-server I see it created run.sh tmp3PEhI_.qcow2 in /root/vm1/. When i do ./run.sh -curses, I still see 640 x 480 Graphic mode. I added blacklist vga16fb in /etc/modprobe.d/blacklist.conf but it did not work. I followed the post http://blog.zorinaq.com/?e=7, but it did not help either. I am not sure what am i doing wrong. The content of my run.sh is #!/bin/sh exec kvm -m 1024 -smp 1 -drive file=tmp3PEhI_.qcow2 $@ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/569394 Title: Can't use kvm -curses with virtual or ec2 kernels To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/569394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Marking this Fix Released per Scott's comment. If you still see it in Lucid, please comment here or mark this as affecting lucid. ** Changed in: qemu-kvm (Ubuntu) Status: Confirmed = Fix Released ** Changed in: initramfs-tools (Ubuntu) Status: New = Fix Released ** Changed in: linux-ec2 (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/569394 Title: Can't use kvm -curses with virtual or ec2 kernels To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/569394/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Marking this Fix Released per Scott's comment. If you still see it in Lucid, please comment here or mark this as affecting lucid. ** Changed in: qemu-kvm (Ubuntu) Status: Confirmed = Fix Released ** Changed in: initramfs-tools (Ubuntu) Status: New = Fix Released ** Changed in: linux-ec2 (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/569394 Title: Can't use kvm -curses with virtual or ec2 kernels To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/569394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I believe this is fix-released in maverick. I use -curses when booting the uec images under kvm. At most, to make it work you have to blacklist vga16fb. That path *does* append to /etc/modprobe.d/blacklist.conf before upstart runs. It adds the following: blacklist vga16fb -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I believe this is fix-released in maverick. I use -curses when booting the uec images under kvm. At most, to make it work you have to blacklist vga16fb. That path *does* append to /etc/modprobe.d/blacklist.conf before upstart runs. It adds the following: blacklist vga16fb -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Still present in Lucid final -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Still present in Lucid final -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Michael- I would absolutely *love* this. I begged for this at Lucid UDS in Dallas. What would it take to make this happen? I think it would need to be provided by the Kernel/Foundations team. Can you help guide this through? -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Michael- I would absolutely *love* this. I begged for this at Lucid UDS in Dallas. What would it take to make this happen? I think it would need to be provided by the Kernel/Foundations team. Can you help guide this through? -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I ran into this as well and we should really have a common nofb like switch that is honored by kernel/plymouth etc. -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I ran into this as well and we should really have a common nofb like switch that is honored by kernel/plymouth etc. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I have encountered the same problem. My workaround is to simply prevent the vga16fb kernel module from loading in the guest as explained in http://blog.zorinaq.com/?e=7 -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I have encountered the same problem. My workaround is to simply prevent the vga16fb kernel module from loading in the guest as explained in http://blog.zorinaq.com/?e=7 -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
fb=false is specific to debian-installer (and, as I have mentioned before to Dustin, fb=0 is out of spec and only works by luck - we won't hesitate to break that if it results in cleaner code elsewhere); it is meaningless outside the context of the installer. -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
fb=false is specific to debian-installer (and, as I have mentioned before to Dustin, fb=0 is out of spec and only works by luck - we won't hesitate to break that if it results in cleaner code elsewhere); it is meaningless outside the context of the installer. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Dustin, could you try with the -ec2 kernel as well? It's for that testcase that I added a qemu-kvm task; perhaps this should be a separate bug though. -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
What are fb=0 and vga-off supposed to do? Avoid loading any fb modules? Are these documented/standardized somewhere? ** Package changed: plymouth (Ubuntu) = initramfs-tools (Ubuntu) -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Dustin, could you try with the -ec2 kernel as well? It's for that testcase that I added a qemu-kvm task; perhaps this should be a separate bug though. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
What are fb=0 and vga-off supposed to do? Avoid loading any fb modules? Are these documented/standardized somewhere? ** Package changed: plymouth (Ubuntu) = initramfs-tools (Ubuntu) -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Steve- vga-off was a fuzzy placeholder for the various ways that Loic tried turning vga mode off. fb=0 seems to me to work the same as fb=false, but that's purely through experimentation on my part, and not from documentation. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Host is up-to-date lucid RC + updates. -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Loic- Try adding fb=0 on your kernel line (or it might be fb=false). I used to be able to hack the ISO itself with: * sed -i s/initrd.gz quiet --/initrd.gz fb=0 -- / hardy.iso I just tried it with current Lucid ISOs and this doesn't work any more since we've moved to the world of Plymouth on servers too. -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I also just tried: kvm -kernel lucid-server-uec-amd64-vmlinuz-virtual -hda lucid-server- uec-amd64.img -curses -append root=/dev/sda fb=0 This, too, works, until we go into graphic mode. Plymouth, I suppose? ** Changed in: qemu-kvm (Ubuntu) Status: New = Confirmed ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Medium ** Changed in: linux-ec2 (Ubuntu) Status: New = Confirmed ** Changed in: linux-ec2 (Ubuntu) Importance: Undecided = Medium -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I'll mark confirmed, as I can reproduce this. However, this bug isn't in qemu-kvm itself. It's in Ubuntu's userspace, with whatever is not detecting and respecting the fb=0 and vga-off parameters. Scott, do you know what this would be, and how to disable it properly? -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Host is up-to-date lucid RC + updates. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
Loic- Try adding fb=0 on your kernel line (or it might be fb=false). I used to be able to hack the ISO itself with: * sed -i s/initrd.gz quiet --/initrd.gz fb=0 -- / hardy.iso I just tried it with current Lucid ISOs and this doesn't work any more since we've moved to the world of Plymouth on servers too. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I also just tried: kvm -kernel lucid-server-uec-amd64-vmlinuz-virtual -hda lucid-server- uec-amd64.img -curses -append root=/dev/sda fb=0 This, too, works, until we go into graphic mode. Plymouth, I suppose? ** Changed in: qemu-kvm (Ubuntu) Status: New = Confirmed ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Medium ** Changed in: linux-ec2 (Ubuntu) Status: New = Confirmed ** Changed in: linux-ec2 (Ubuntu) Importance: Undecided = Medium -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
I'll mark confirmed, as I can reproduce this. However, this bug isn't in qemu-kvm itself. It's in Ubuntu's userspace, with whatever is not detecting and respecting the fb=0 and vga-off parameters. Scott, do you know what this would be, and how to disable it properly? -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 569394] Re: Can't use kvm -curses with virtual or ec2 kernels
** Also affects: plymouth (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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs