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

[Xen-users] xen4 , framebuffer and grub2


  • To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "sosogh" <sosogh@xxxxxxx>
  • Date: Mon, 23 May 2011 12:43:53 +0800
  • Delivery-date: Sun, 22 May 2011 21:45:17 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi list
 
After  I install xen4.0 in my debian squeezz,it added the following lines into /boot/grub/grub.cfg
 
### BEGIN /etc/grub.d/20_linux_xen ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0-amd64' --class debian --class gnu-linux --class gnu --class os --class xen {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        search --no-floppy --fs-uuid --set ae156f58-edec-4972-bd1c-d6f37a473ddd
        echo    'Loading Linux 2.6.32-5-xen-amd64 ...'
        multiboot       /boot/xen-4.0-amd64.gz placeholder  
        module  /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=ae156f58-edec-4972-bd1c-d6f37a473ddd ro  quiet
        echo    'Loading initial ramdisk ...'
        module  /boot/initrd.img-2.6.32-5-xen-amd64
}
### END /etc/grub.d/20_linux_xen ###
 
 
 
 
 
when I started a VM created by xen , it showed errors:
   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2008  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2010-06-30 18:13) 
(*) Direct/Memcpy: Using Generic 64bit memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
    --> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Initialization error!
Could not initialize SDL - exiting
 
 
It seems that xen can not find the framebuffer device.
I have searched the web about how to enable framebuffer in grub2,someone said :
add  these two lines into /etc/default/grub  and run update-grub2 .(https://wiki.archlinux.org/index.php/GRUB2 )
GRUB_GFXMODE="1024x768x32"
GRUB_GFXPAYLOAD_LINUX="keep"
 
I have done it and reboot my server,but the problem remains.
 
My question is :
How to enable framebuffer in grub2?
Thank you!
 
 
 
 
 
 
 
2011-05-23

sosogh
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.