Bug 318 - QuickStart: /dev/fb0 write permission required
Summary: QuickStart: /dev/fb0 write permission required
Status: VERIFIED FIXED
Alias: None
Product: Reference
Classification: Documentation
Component: handbook (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 0.9 M4
Assignee: Scott Rifenbark
QA Contact:
URL:
Whiteboard: 22 July 2011 - Verified
Depends on:
Blocks:
 
Reported: 2010-09-13 14:13 UTC by Darren Hart
Modified: 2011-07-22 07:28 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2010-09-13 14:13:18 UTC
The "runqemu qemux86" command in the quickstart won't succeed unless the user has write permissions to /dev/fd0. On ubuntu this is accomplished via"

# adduser dvhart video
Comment 1 Scott Rifenbark 2010-09-29 06:55:45 UTC
There is a poky-qemu command in the quick start.  There is no runqemu command anymore.  Please provide clarification.
Comment 2 Richard Purdie 2010-09-29 07:07:07 UTC
Darren, usually qemu uses X to display the emulated window, not a console version so why would it need access to /dev/fb0? Was this some custom configuration?
Comment 3 Darren Hart 2010-09-29 09:17:23 UTC
(In reply to comment #2)
> Darren, usually qemu uses X to display the emulated window, not a console
> version so why would it need access to /dev/fb0? Was this some custom
> configuration?

I didn't make any intentional changes to qemu's configuration. I reported this while attempting a virgin poky build and qemu run according to the handbook quickstart.
Comment 4 Darren Hart 2010-09-29 09:18:44 UTC
Adding Scott G. as he's been working with the qemu scripts and might have some context that would be helpful here.
Comment 5 Scott Rifenbark 2010-12-01 14:14:15 UTC
Darren, 

This is what the Quick Start has in it now.  Is this sufficient? -----

You can now start the emulator using these commands (assuming an 32 bit i586 target):

     $ source /opt/poky/environment-setup-i586-poky-linux 
     $ poky-qemu <qemuarch> <kernel> <image> <fstype>
         

For example:

     $ poky-qemu qemuppc zImage-2.6.34-qemuppc-0.9 \
     yocto-image-minimal-qemuppc-0.9.rootfs.ext3 ext3
Comment 6 Darren Hart 2010-12-06 14:37:45 UTC
I'll try another build and see if I run into issues with perms removed from /dev/fb0.
Comment 7 Darren Hart 2010-12-06 19:47:41 UTC
This appears to be working fine on my most recent build on Fedora 13 without any special perms set on /dev/fb0. Works as described in the quickstart. This bug can be closed.
Comment 8 Scott Rifenbark 2011-07-22 07:28:05 UTC
Fix is in the manual - see notes above.