Bug 318

Summary: QuickStart: /dev/fb0 write permission required
Product: [Documentation] Reference Reporter: Darren Hart <dvhart>
Component: handbookAssignee: Scott Rifenbark <srifenbark>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: poky.doc.watcher, poky.watcher, richard.purdie, scott.a.garman, sgw
Version: unspecified   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: 22 July 2011 - Verified
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

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.