Disk partitions? was: 20090305 daily build
by Frederick Grose
>
> * should we use an overlay for /home? how big?
Yes...This would save some heartache for those expecting to preserve Journal
items between system upgrades made with the livecd-iso-to-disk script
methods.
On Thu, Mar 5, 2009 at 5:44 PM, Chris Ball <cjb(a)laptop.org> wrote:
> Hi,
>
> > I saw something odd when booting this image -- the first GDM launch
> > crashed, then it relaunched itself, and didn't crash after that; I
> > reported this to the GDM maintainer. Also, the ability to choose
> > between Sugar and GNOME in GDM has disappeared, but will be back in
> > tomorrow's build.
>
> These are both fixed in:
>
>
> http://kojipkgs.fedoraproject.org/packages/gdm/2.25.2/12.fc11/i586/gdm-2....
>
> Some decisions coming up soon:
>
> * should we partition the NAND and swap to it?
> * maybe, at least for NAND, we should be using an installed image rather
> than a live image?
> * should the bootable.gz include a swap partition?
>
> - Chris.
> --
> Chris Ball <cjb(a)laptop.org>
>
> _______________________________________________
> Fedora-olpc-list mailing list
> Fedora-olpc-list(a)redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-olpc-list
>
15 years, 2 months
Re: 20090304 daily build
by Mikus Grinbergs
Installed the first 20090305 image. It had the same ("can't start
X") problem as the 20090304 image. Though I'm now downloading the
second 20090305 image, I don't have any more time today to test -
will try again tomorrow.
mikus
15 years, 2 months
Re: 20090304 daily build
by Mikus Grinbergs
I applied the first set of xorg-x11 rpms, and was able to get quite
a lot done by using the text console (in place of Terminal).
I do not boot from SD -- but it was nice to be able to again use my
"permanent" SD card to hold additional software/data (instead of
making do with a "temporary" USB stick).
I note that now there are three directories all told which hold (or
point to) Activities. Need to figure out where/how I can manually
(i.e., not through Journal) install more Activities. [ With 8.2,
'olpc-update' was nice in that it allowed installing a new build
without wiping out the existing software in /home/olpc/Activities ]
mikus
15 years, 2 months
Re: [Sugar-devel] SoaS on XO bootcharts
by Paul Fox
bobby wrote:
> On Wed, Mar 4, 2009 at 11:04 AM, <pgf(a)laptop.org> wrote:
> > the shell is really pretty fast, if you can keep the number for
> > spawned processes to a minimum.
>
> this sounds like a super headache to get upstream, but with a possibly
> significant payoff. are the scripts you're talking about the ones in
> /etc/init.d/ ? it could be interesting to 'correct' the scripts and
> see what the performance difference is.
now that it's been pointed out that most of the cat processes
were from bootchart itself, i highly doubt there will be
significant payoff. but every little bit counts, and if
other changes were being made, one might as well do those
too.
paul
=---------------------
paul fox, pgf(a)laptop.org
15 years, 2 months
Re: [Sugar-devel] SoaS on XO bootcharts
by Martin Dengler
On Wed, Mar 04, 2009 at 10:19:08AM -0500, Wade Brainerd wrote:
> These charts are really interesting (and nice looking!). The whole thing
> probably requires a lot of analysis to make real gains though. I wonder
> what all those calls to 'cat' are in the first chart.
I think the first two charts are disasters because booting is quite
slow / contended due to the SD problem. cat is being used by
bootchart to get as procfs (IIRC), which is why it goes away when
bootchart switches to use process accounting.
> I also wonder if it would be possible to defer network
> initialization until after the GUI comes up.
That's a fine idea.
> Does anyone know if SoaS uses JFFS2 compression?
For the XO nand images, it does.
> Also, I finally got around to posting my initscripts.
Thanks very much.
> Regards,
> Wade
Martin
15 years, 2 months
Re: [Sugar-devel] SoaS on XO bootcharts
by Paul Fox
wade wrote:
> These charts are really interesting (and nice looking!). The whole thing
> probably requires a lot of analysis to make real gains though. I wonder
> what all those calls to 'cat' are in the first chart. I also wonder if it
i did some looking, and while i don't think i've found the
real culprit, i have found a _lot_ of usage of this idiom in the
scripts:
[A]
cmdline=$(cat /proc/cmdline)
or
[B]
if [ `cat /proc/sys/net/ipv4/ip_forward` != 0 ]; then
action $"Disabling IPv4 packet forwarding: " sysctl -w >
fi
or
[C]
mfgtag () {
cat $MFG_DATA/$1 | tr -d '\000' 2>/dev/null
}
in every case, the "cat" process is completely unnecessary.
if i thought bash was a good idea, i'd point out:
$(< file)
which returns the contents of "file". but even without
bash (which is probably appropriate if you're looking for
efficiency), you can do:
[A]
read cmdline < /proc/cmdline
and this, which preserves the look of the code a bit more:
[B]
firstline()
{
read __line < $1; echo "$__line"
}
if [ `firstline /proc/sys/net/ipv4/ip_forward` != 0 ]; then
action $"Disabling IPv4 packet forwarding: " sysctl -w >
fi
and finally this:
[C]
mfgtag () {
tr -d '\000' < $MFG_DATA/$1 2>/dev/null
}
or even:
[C]
mfgtag () {
tr -d '\000' $MFG_DATA/$1 2>/dev/null
}
the shell is really pretty fast, if you can keep the number for
spawned processes to a minimum.
paul
=---------------------
paul fox, pgf(a)laptop.org
15 years, 2 months
20090303.img does not boot
by Mikus Grinbergs
Installed ('copy-nand') rawhide-xo image 20090303.img on my XO.
The boot process (with the 'check' key) stops after the lines:
sd 0:0:0:0 Attached scsi generic sg0 type 0
scsi_scan_0 used greatest stack depth: 2212 bytes left
[ About 11 lines earlier is the output message:
mount: unknown filesystem type ' jffs2' ]
mikus
15 years, 2 months
SoaS on XO bootcharts
by Martin Dengler
For my OLPC/XO-1 laptop these days, I'm using the Sugar-on-a-Stick
kickstart files[1]. I want my XO to boot fast, not because I boot it a
lot, but because it boots really, really slowly right now. So I
installed bootchart, changed olpc.fth to use it, rebooted, and voila,
got this chart:
http://www.martindengler.com/proj/soas/Soas-200903022241-bootchart.png
Then I edited /etc/bootchartd.conf to use process accounting, and got
this chart:
http://www.martindengler.com/proj/soas/Soas-200903022241-bootchart-psacct...
I booted without my SD card (which isn't the boot device - I'm booting
off NAND) inserted, and got this chart:
http://www.martindengler.com/proj/soas/Soas-200903022241-bootchart-psacct...
So there's some work to do to fix some SD card badness...
Meanwhile, looks like I should get more familiar with rc.sysinit.
The data for the above charts are all available at:
http://www.martindengler.com/proj/soas
I figured some people might be interested in this. Thanks to
sdziallas, erikos, marcopg, and the whole SoaS team for their great
work.
Martin
1. slightly modified to add more personally-interesting RPMs,
including bootchart:
http://git.sugarlabs.org/projects/soas/repos/mtds-clone/blobs/soas-devxo/...
15 years, 2 months