Skip to contentSkip to conversation

Problem with qemu on Ubuntu Gutsy ...

Qemu-devel dara burke 3 participants 3 messages Nov 21, 2007 – Nov 23, 2007

lore
Share & tools
lore

dara burke

author
#0 lore raw

Hi Guys,

I've been looking around for a solution to this problem that I've been having with qemu on ubuntu Gutsy. It seemed to work fine on Feisty, but I haven't been able to find anyone else with a similar complaint in the ubuntu forums or on google or on irc, so maybe a simple upgrade problem isn't the issue. I hope it's OK to post to the dev mailing list ?

The system seems to have a problem locating the framebuffer, also SDL doesn't get initialized.

babo@eire:/home/babo/qemu_dir# qemu -localtime -cdrom /dev/cdrom -m 384 -boot d c.img
Warning: No DNS servers found
       ---------------------- DirectFB v0.9.25 ---------------------
             (c) 2000-2002  convergence integrated media GmbH  
             (c) 2002-2004  convergence GmbH                   
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-08-07 19:21) (*) Direct/Memcpy: Using linux kernel 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!
    --> Initialization error!

Could not initialize SDL - exiting

I'd try to start the system from X, but there doesn't seem to be any method of doing that. Obviously there is a framebuffer somewhere, but the command line qemu can't seem to find it.

Any help is greatfully accepted,

Thanks,

Dara

      ____________________________________________________________________________________

Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

#1 lore raw
Quoted 7 lines · dara burke

Hi Guys,

I've been looking around for a solution to this problem that I've been having with qemu on ubuntu Gutsy. It seemed to work fine on Feisty, but I haven't been able to find anyone else with a similar complaint in the ubuntu forums or on google or on irc, so maybe a simple upgrade problem isn't the issue. I hope it's OK to post to the dev mailing list ?

It is quite clearly an SDL issue, rather than qemu.

Quoted 22 lines

The system seems to have a problem locating the framebuffer, also SDL doesn't get initialized.

babo@eire:/home/babo/qemu_dir# qemu -localtime -cdrom /dev/cdrom -m 384
-boot d c.img
Warning: No DNS servers found
       ---------------------- DirectFB v0.9.25 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH

-----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-08-07 19:21) (*) Direct/Memcpy: Using linux kernel 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!

Quoted 6 lines
    --> Initialization error!

Could not initialize SDL - exiting

I'd try to start the system from X, but there doesn't seem to be any method of doing that. Obviously there is a framebuffer somewhere, but the command line qemu can't seem to find it.

Your SDL may be built with no X support, if you're sure it supports X then try forcing it with SDL_VIDEODRIVER. The message above actually indicates there's no framebuffer.

Regards

#2 lore raw
Quoted 38 lines · andrzej zaborowski
Quoted 8 lines · dara burke

Hi Guys,

I've been looking around for a solution to this problem that I've been having with qemu on ubuntu Gutsy. It seemed to work fine on Feisty, but I haven't been able to find anyone else with a similar complaint in the ubuntu forums or on google or on irc, so maybe a simple upgrade problem isn't the issue. I hope it's OK to post to the dev mailing list ?

It is quite clearly an SDL issue, rather than qemu.

Quoted 24 lines

The system seems to have a problem locating the framebuffer, also SDL doesn't get initialized.

babo@eire:/home/babo/qemu_dir# qemu -localtime -cdrom /dev/cdrom -m 384
-boot d c.img
Warning: No DNS servers found
       ---------------------- DirectFB v0.9.25 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH

-----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-08-07 19:21) (*) Direct/Memcpy: Using linux kernel 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!

    --> Initialization error!

Could not initialize SDL - exiting

Quoted 9 lines
Quoted 4 lines

I'd try to start the system from X, but there doesn't seem to be any method of doing that. Obviously there is a framebuffer somewhere, but the command line qemu can't seem to find it.

Your SDL may be built with no X support, if you're sure it supports X then try forcing it with SDL_VIDEODRIVER. The message above actually indicates there's no framebuffer.

DISPLAY isn't set. This often happens when you 'sudo su -'. If you instead 'sudo su' or just 'sudo qemu ...' then DISPLAY will remain set and things will work as expected.

Regards,

Anthony Liguori

Quoted 5 lines

Regards