| Issue 202966: | `cros_sdk` fails when /run/shm exists (and /dev/shm does not) | |
| 6 people starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
Chrome OS Version : trunk What steps will reproduce the problem? 1. repo init -u http://git.chromium.org/chromiumos/manifest.git -m minilayout.xml 2. repo sync 3. cros_sdk What is the expected output? I wish to know... What do you see instead? cros_sdk: Deselecting dhcpcd Traceback (most recent call last): File "/home/uri/trunk/chromite/bin/parallel_emerge", line 116, in <module> KILLED = multiprocessing.Event() File "/usr/lib64/python2.6/multiprocessing/__init__.py", line 206, in Event return Event() File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 268, in __init__ self._cond = Condition(Lock()) File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 117, in __init__ SemLock.__init__(self, SEMAPHORE, 1, 1) File "/usr/lib64/python2.6/multiprocessing/synchronize.py", line 49, in __init__ sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue) OSError: [Errno 38] Function not implemented Running ['/home/uri/tmp/chromiumos/src/third_party/chromiumos-overlay/chromeos/scripts/make_chroot', '--cros_sdk', '--stage3_path', '/home/uri/tmp/chromiumos/sdks/cros-sdk-30.08.11.172735.tbz2', '--chroot', '/home/uri/tmp/chromiumos/chroot'] failed! How frequently does this problem reproduce? Always.
Sep 6, 2011
#1
bhaves...@chromium.org
Labels:
-Area-Undefined Area-Build
Sep 10, 2011
I have the same problem with Linux Mint debian wheezy/sid Linux hostname 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 x86_64 GNU/Linux I hope that this info will help.
Sep 12, 2011
The problem appears due to: /dev/shm -> /run/shm Try to mount tmpfs on /run/shm under chroot directory. This fixed the issue in my case.
Sep 12, 2011
(No comment was entered for this change.)
Summary:
`cros_sdk` fails when /run/shm exists (and /dev/shm does not)
Oct 26, 2011
This same problem will happen on Ubuntu 11.10 too. Workaround to bindmount /run/shm to chroot/run/shm works for now before cros_sdk commands.
Oct 26, 2011
I have reviewed changes to fix this, I just need someone with commit ability to mark them +1 Commit Ready: https://gerrit.chromium.org/gerrit/10222 https://gerrit.chromium.org/gerrit/10235
Oct 26, 2011
Commit: 130d363aaa7fa4b201d76c61ec0447e216902c85 Email: aplattner@nvidia.com Bind-mount /run if it exists Ubuntu 11.10, for whatever reason, moved /dev/shm to /run/shm. Since /run is not mounted in the chroot, /dev/shm is a dangling symlink and various things that require shared memory start failing. If /run and /run/shm exist, bind-mount them in the chroot. Because /run doesn't yet exist in the SDK tarballs, try to create it (and /run/shm if necessary) as root if it and can't be created as a normal user. BUG=chromium-os:19871 TEST=Run cros_sdk, verify that /dev/shm has the expected contents Change-Id: I61583c1c0d409c1234fa8d8930a9b64544c9a8e7 Reviewed-on: https://gerrit.chromium.org/gerrit/10222 Tested-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: David James <davidjames@chromium.org> M sdk_lib/enter_chroot.sh
Oct 26, 2011
Commit: 2206e13f1866f4b27bdf976497973d501fe2ff2f Email: aplattner@nvidia.com Create /run and bind-mount it if it exists on the host Ubuntu 11.10, for whatever reason, moved /dev/shm to /run/shm. Since /run is not mounted in the chroot, /dev/shm is a dangling symlink and various things that require shared memory start failing. If /run exists, bind-mount both /run and /run/shm in the chroot. BUG=chromium-os:19871 TEST=Run cros_sdk -r and verify that it runs to completion. Change-Id: I138a9f80e4dfd5c87c5703eade18ab5610dbe551 Reviewed-on: https://gerrit.chromium.org/gerrit/10235 Tested-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: David James <davidjames@chromium.org> M chromeos/scripts/make_chroot
Oct 27, 2011
Changes submitted. Could somebody with bug modification power please mark this fixed?
Feb 15, 2012
(No comment was entered for this change.)
Status:
Fixed
Feb 20, 2012
Claiming work for iteration=49
Labels:
Iteration-49
Feb 27, 2012
(No comment was entered for this change.)
Status:
Verified
Feb 27, 2012
(No comment was entered for this change.)
Labels:
FixedIn-1234.0.0 FixedInIndex-2a
Mar 6, 2013
(No comment was entered for this change.)
Labels:
OS-Chrome
Mar 9, 2013
(No comment was entered for this change.)
Labels:
-Area-Build Build
|
||||||||||
| ► Sign in to add a comment | |||||||||||