Bug 4940 - XServer could not start with meta-intel layer, error msg is: "Read-only file system"
Summary: XServer could not start with meta-intel layer, error msg is: "Read-only file ...
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.5
Hardware: x86 x86_64
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-29 06:53 UTC by Ning Zhang
Modified: 2013-07-29 14:45 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 Ning Zhang 2013-07-29 06:53:58 UTC
poky: master:67864ca79da08df752487a3a4e1a975546da123d
meta-intel:bd34513dc12c412f40328001c09fa5407041e912

Test reference: https://wiki.yoctoproject.org/wiki/Transcript:_Using_the_Yocto_BSP_tools_to_create_a_meta-intel_BSP

Test steps:
1. Create a new intel-x86-64 bsp "myintelbsp"
2. Added meta-intel and the new bsp into bblayers.conf 
3. bitbake core-image-sato, it will generate a "hddimg" image
4. burn the image to a usb disk. "dd if=core-image-sato-myintelbsp-20120317164555.hddimg of=/dev/sdb"
5. use the usb disk to boot up a x86-64 bit intel PC.

The X could not be started. It has below error messages:

Start XServer
mkdir: can't create directory '/var/lib/dropbear': Read-only file system
...
Staring Avahi mDNS/DNS-SD Daemon: avahi-daemon
..fail!


Many services could not be started because "Read-only file system"

I found Ross Burton committed a new patch: "Revert "initrdscripts: mount / as read-only when live-booting"", maybe this could fix this issue. But the commit did not merge to master branch now.

Thanks.
Comment 1 Ross Burton 2013-07-29 14:45:57 UTC
Revert is now in master.