Bug 655 - QEMU fails to launch using unfs with rpcbind installed - must have portmap.
Summary: QEMU fails to launch using unfs with rpcbind installed - must have portmap.
Status: RESOLVED OBSOLETE
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.2
Assignee: Scott Rifenbark
QA Contact:
URL:
Whiteboard: 26-aug-2011 - changed to enhancement
Depends on:
Blocks:
 
Reported: 2011-01-17 13:25 UTC by Scott Rifenbark
Modified: 2011-11-24 11:09 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 Scott Rifenbark 2011-01-17 13:25:58 UTC
Trying to run QEMU on an Ubuntu 10.4 system that has rpcbind installed but does not have portmap installed.  I get an unsupported machine type error.  The error message provides some instruction and making sure that either rpcbind or portmap are installed.  For my situation I had rpcbind installed but not portmap.  Scott Garman spent about five minutes looking at it and determined that it would work if we installed the Ubuntu-sanctioned portmap and uninstalled the rpcbind.  After doing that it worked.  So the bug is against it not working with rpcbind.
Comment 1 Scott Garman 2011-02-24 11:13:40 UTC
Scott, here is the scoop on this issue:

To boot QEMU images using our userspace NFS server, you need to be running portmap or rpcbind. If you are running rpcbind, you will also need to add the -i option when rpcbind starts up. Please make sure you understand the security implications of doing this. Your firewall settings may also have to be modified to allow NFS booting to work.
Comment 2 Scott Rifenbark 2011-03-17 11:41:22 UTC
I am not exactly sure where to document this Ubuntu-specific issue.  Right now we don't really have a dedicated section describing how to run QEMU.  There are various areas that do describe invoking QEMU: one is in the ADT manual in the Eclipse section and another is where it is invoked in the simple Quick Start examples using both a built image and a pre-built image.  

I would like to keep this bug open for now and then when we get a end-to-end development process manual in place I think we will have a section more dedicated to invoking and using QEMU.  That would be the area for documenting this type of issue.
Comment 3 Scott Rifenbark 2011-08-26 14:49:31 UTC
This quirk needs to be documented in a section dedicated to running QEMU.  Right now I don't have a section for that in the documentation set.  I will have to address it post 1.1.
Comment 4 Richard Purdie 2011-11-24 11:09:58 UTC
We no longer need portmap or rpcbind to be present:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ae6133572f317b4c7cb8046aa1b10bb83a2a58ba

Marking as obsolete.