Re: [Sugar-devel] SoaS on the XO progress
C. Scott Ananian wrote: > It's probably worth reading through the pilgrim > 'streams.d/olpc-development.stream' file to see if there are other > fixes you are missing. Indeed. Starting with a white-room F10 build is going to cause many such regressions, and re-discovering all the associated workarounds is going to cost a lot of time. -- // Bernie Innocenti - http://www.codewiz.org/ \X/ Sugar Labs - http://www.sugarlabs.org/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] SoaS on the XO progress
Sayamindu Dasgupta wrote: > FWIW, I have noticed mmap errors while trying to deal with large files > (~70MB) on the standard OLPC builds. localedef does not work in the XO > for this (strace shows that it chokes when trying to mmap > /usr/lib/locale/locale-archive) I don't think it's related to the size of the file. Writeable file mappings are just not supported by jffs2, and cause mmap() to return an error. glibc likes to do it when building the locale-archive, and I vaguely remember I had a workaround for this in our fork of the glibc rpm. -- // Bernie Innocenti - http://www.codewiz.org/ \X/ Sugar Labs - http://www.sugarlabs.org/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] SoaS on the XO progress
On Fri, Jan 23, 2009 at 6:42 PM, C. Scott Ananian wrote: > On Fri, Jan 23, 2009 at 12:17 PM, Marco Pesenti Gritti > wrote: >> * rpm does not work. It complains about mmap failure when reading the >> db, jffs2 related? > > As far as I know, jffs2 doesn't support writable mmaps. In the debian > ports, we add some special magic to tell apt not to use them ( > http://wiki.laptop.org/go/Installing_Debian_as_an_upgrade ); and the > following code from pilgrim appears to do something similar: >echo " - Configuring RPM to not use writable mmap (as jffs2 > don't support it)" >mkdir -p $INSTALL_ROOT/etc/rpm >cat < $INSTALL_ROOT/etc/rpm/macros.rpmdb > %__dbi_cdb create private nommap > EOF Good catch, thanks! Marco ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] SoaS on the XO progress
On Fri, Jan 23, 2009 at 12:17 PM, Marco Pesenti Gritti wrote: > * rpm does not work. It complains about mmap failure when reading the > db, jffs2 related? As far as I know, jffs2 doesn't support writable mmaps. In the debian ports, we add some special magic to tell apt not to use them ( http://wiki.laptop.org/go/Installing_Debian_as_an_upgrade ); and the following code from pilgrim appears to do something similar: echo " - Configuring RPM to not use writable mmap (as jffs2 don't support it)" mkdir -p $INSTALL_ROOT/etc/rpm cat < $INSTALL_ROOT/etc/rpm/macros.rpmdb %__dbi_cdb create private nommap EOF It's probably worth reading through the pilgrim 'streams.d/olpc-development.stream' file to see if there are other fixes you are missing. --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] SoaS on the XO progress
On Fri, Jan 23, 2009 at 10:47 PM, Marco Pesenti Gritti wrote: > Yay, stock F10 is now running GNOME fine. Some more things I found: > > * I was not using -a when copying the files, so owners and all kind of > other stuff was not preserved. That's the cause of the hal failure, > new script attached. > > * With selinux enabled you cannot login from the console. Perhaps > jffs2/selinux issues? I'm just disabling it for now. > > -selinux --enforcing > +selinux --disabled > > * rpm does not work. It complains about mmap failure when reading the > db, jffs2 related? > FWIW, I have noticed mmap errors while trying to deal with large files (~70MB) on the standard OLPC builds. localedef does not work in the XO for this (strace shows that it chokes when trying to mmap /usr/lib/locale/locale-archive) -sdg- -- Sayamindu Dasgupta [http://sayamindu.randomink.org/ramblings] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] SoaS on the XO progress
On Wed, Jan 21, 2009 at 17:36, Marco Pesenti Gritti wrote: >> > 1 haldaemon fails to start and I couldn't find any error log. >> >> Maybe running it directly, rather than via init, will expose the >> problem? > > When running it directly it was sitting for a while and then exiting > without any error (even in verbose mode). I should strace it. I would gdb it first and only if that turns out being hard, then try my luck with strace. Regards, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel