reviving XO-1 OS builds

2009-07-14 Thread Daniel Drake
Hi,

I wrote some notes on how someone could build new OS images for XO-1
based on the ongoing XO-1.5 software efforts, and how this could be run
as a community-driven process:

http://wiki.laptop.org/go/F11_for_XO1

A fairly decent general knowledge of the Linux ecosystem is necessary,
but it is not an overly difficult task.

Anyone interested?
Daniel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: recent olpc-update changes

2009-07-14 Thread Daniel Drake
On Fri, 2009-07-10 at 17:52 +0100, Daniel Drake wrote:
 On Sat, 2009-07-11 at 04:12 +1200, Martin Langhoff wrote:
  As I mentioned, that's more realistic once the initrd can associate to
  an AP-based wireless and get its lease there.
 
 OK, so would you change your mind if that was the case? :)
 I already wrote that code and it is deployed in Paraguay.

I committed this and I also removed the aggression from olpc-update.
Hope that's OK with you!

Daniel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: reviving XO-1 OS builds

2009-07-14 Thread Martin Dengler
On Tue, Jul 14, 2009 at 05:26:08PM +0100, Daniel Drake wrote:
 Anyone interested?

I tweaked the wiki page a tiny bit and tried on my own machine.  I'm
using my own F10 machine for now, but can't practically upload
anywhere.

xo-1 branch is a tiny bit away from building right now[1], unfort.
Patch below:

From 9e09c3deb7de1e37c9784e7cb2fa73e6224bf779 Mon Sep 17 00:00:00 2001
From: Martin Dengler mar...@martindengler.com
Date: Tue, 14 Jul 2009 21:27:11 +0100
Subject: [PATCH] add F11-updates and F11-testing (for dracut, etc.)

---
 olpc-base.ks |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/olpc-base.ks b/olpc-base.ks
index c72c8ff..d0b3088 100644
--- a/olpc-base.ks
+++ b/olpc-base.ks
@@ -13,6 +13,8 @@ repo --name=olpc --cost=3 
--baseurl=http://dev.laptop.org/~dsd/xo1-rpms
 
 repo --name=olpc-kernel --cost=5 
--baseurl=http://dev.laptop.org/~dilinger/2.6.30-rc5
 repo --name=F11 --cost=10 
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11arch=i386
 --excludepkgs=PolicyKit-kde
+repo --name=F11-updates --cost=9 
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11arch=i386
+repo --name=F11-updates-testing --cost=8 
--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f11arch=i386
 
 # Enable if the mirrors aren't up to date yet.
 # repo --name=rawhide 
--baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/i386/os
 --excludepkgs=PolicyKit-kde
-- 
1.6.0.6


 Daniel

Martin

1. [mar...@ops-13 output]$ nice make -j 3 -f ../Makefile os1.img
sudo livecd-creator --cache=../cache --fslabel os1 -c
../olpc-desktop.ks
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=os1
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
98304 inodes, 393216 blocks
3932 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=402653184
12 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.41.4 (27-Jan-2009)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Retrieving
http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/releases/11/Everything/i386/os/repodata/repomd.xml
...OK
Retrieving http://dev.laptop.org/~dsd/xo1-rpms/repodata/repomd.xml
...OK
Retrieving
http://dev.laptop.org/~dilinger/2.6.30-rc5/repodata/repomd.xml ...OK
Excluding Packages from None
Finished
kernel-2.6.30-20090621.1.olpc.db92a09.i586 from olpc-kernel has
depsolving problems
  -- Missing Dependency: dracut is needed by package
  kernel-2.6.30-20090621.1.olpc.db92a09.i586 (olpc-kernel)
kernel-2.6.30-20090621.1.olpc.db92a09.i586 from olpc-kernel has
depsolving problems
  -- Missing Dependency: dracut is needed by package
  kernel-2.6.30-20090621.1.olpc.db92a09.i586 (olpc-kernel)
Error creating Live CD : Failed to build transaction : Missing
Dependency: dracut is needed by package
kernel-2.6.30-20090621.1.olpc.db92a09.i586 (olpc-kernel)
make: *** [os1.iso] Error 1



pgpLFLE0fH9xU.pgp
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: reviving XO-1 OS builds

2009-07-14 Thread Peter Robinson
 I wrote some notes on how someone could build new OS images for XO-1
 based on the ongoing XO-1.5 software efforts, and how this could be run
 as a community-driven process:

 http://wiki.laptop.org/go/F11_for_XO1

 A fairly decent general knowledge of the Linux ecosystem is necessary,
 but it is not an overly difficult task.

 Anyone interested?

Yes! I'm going to look at it but I don't think its going to happen
this week, but it looks like Martin has had a look and I'll work with
him to get it happening.

Peter
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: reviving XO-1 OS builds

2009-07-14 Thread Martin Dengler
On Tue, Jul 14, 2009 at 09:36:13PM +0100, Peter Robinson wrote:
  I wrote some notes on how someone could build new OS images for XO-1
  based on the ongoing XO-1.5 software efforts, and how this could be run
  as a community-driven process:
 
  http://wiki.laptop.org/go/F11_for_XO1
 
  A fairly decent general knowledge of the Linux ecosystem is necessary,
  but it is not an overly difficult task.
 
  Anyone interested?
 
 Yes! I'm going to look at it but I don't think its going to happen
 this week, but it looks like Martin has had a look and I'll work with
 him to get it happening.

Awesome :)  Go for it!

 Peter

Martin



pgpza7PHOzoas.pgp
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] [Sugar-devel] Collaboration Plan for the GPA tomorrow

2009-07-14 Thread Dave Bauer
On Mon, Jul 13, 2009 at 9:43 PM, Caroline
Meekscarol...@solutiongrove.com wrote:
 We will be at the GPA tomorrow and we'll have time to test after class,
 probably around 12:30.

 So far all I have planned is to try getting rid of the jabber key on the
 master and try cloning some new sticks.

 We will also enable debugging following Dave's suggestion:

 To do that I edit ~/.Xclients to include this

  if [ -f ~/.sugar/debug ]; then
         . ~/.sugar/debug
  fi

 before  eval \\\$(dbus-launch --sh-syntax --exit-with-session)

 Then we need to edit ~/.sugar/debug to fix a couple of typos:


 Missing space between exportGABBLE_LOGFILE
 and exportSALUTLOGFILE.

 It should be
 export GABBLE_LOGFILE...
 export SALUT_LOGFILE

 Are there any other suggestions?

 We got a hint from collabora that we should check the keepalive setting.
 Does anyone know what that is or how we could change it?

 There seems to be a separate bug that keeps local collaboration from
 working.  Does anyone have any thoughts of what it might be or how to get
 more information?

The debugging settings will also enabled logs for local collaboration,
so hopefully that will give us the information we need. In fact it
might also be related to the duplicated keys, but I don't know enough
about the internals to say for sure.

Dave

 -- Forwarded message --
 From: Caroline Meeks carol...@solutiongrove.com
 Date: Mon, Jul 13, 2009 at 5:28 PM
 Subject: Collaboration Plan for the GPA tomorrow
 To: Caroline Meeks carol...@solutiongrove.com




 --
 Caroline Meeks
 Solution Grove
 carol...@solutiongrove.com

 617-500-3488 - Office
 505-213-3268 - Fax



 --
 Caroline Meeks
 Solution Grove
 carol...@solutiongrove.com

 617-500-3488 - Office
 505-213-3268 - Fax

 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel





-- 
Dave Bauer
d...@solutiongrove.com
http://www.solutiongrove.com
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] GPA School Visit report for Tuesday July 14

2009-07-14 Thread Caroline Meeks
As Greg said we finally got collaboration working!

The problem was that we had cloned the owner.key and owner.key.pub.  The fix
was to delete those before cloning and on existing sticks delete them and
restart.

This gives us solid collaboration inside the computer lab if we go local
(take out the network setting).

It gives us the seen frequently before, not so solid jabber collaboration.
Most people can see someone some of the time but not everyone see's
everyone.

We will try to work with the local collaboration tomorrow.

Sugar will be very hard for schools to scale until we have an easier way for
teachers to create sticks for an entire class and we have a ticket in for
this but I don't know if anyone is working on it.

Caroline

On Tue, Jul 14, 2009 at 4:35 PM, Greg Smith gregsmit...@gmail.com wrote:

 Hi All,

 I'm sending this to the devel instead of the IAEP list as it contains
 a number of technical/UI design comments that I think need developer
 follow up.

 Feel free to forward to other lists, blogs etc. as appropriate.

 Notes:

 I joined the team (Anurag, Caroline, and Bill) as the class of 22 x
 2nd graders was leaving. This was their third class with Sugar/Turtle
 Art. They do it twice a week.

 As I got there I noticed a kid had unplugged their USB before full
 shut down and they were frantically trying to plug it back in while
 errors scrolled on the screen. Still not sure if they lost data (will
 check tomorrow on kid who made the same mistake last week). Is there
 anything we can do to ensure that all data is written/saved ASAP on
 clicking Shut down from the menu?

 The team told me that they worked with Turtle Art to load a map of the
 Charles River and to add tags to it showing where the GPA school is
 located. They said that some kids got it and some did not. Here's
 the warm/cold post class coments:
 Caroline
 Warm:
 More than half the glass got the idea of negative numbers and the gird
 (aka cartesian coordinates for placing turtle). A few got the idea of
 putting together a program.

 Cold:
 There was a large variance in kids who go it and those who didn't.
 Those who didn't understand got frustrated and they lost participation
 of about 1/3 of the class as a result.

 Bill
 Warm: A group of kids zero'd in quickly on the ideas of positive and
 negative.

 Cold: One USB was bad and that kid lost the flow and didn't catch up.

 Neutral:
 One girl finished right away and then didn't know what to do. Caroline
 said a few of the kids really looked like they could be programmers.

 Anurag
 Warm:
 All kids seem to be retaining what they learned in previous classes.
 Like how to put the turtle in the corner with Set (x,y). Lots of
 improvement from last week as a result like using show text, color,
 size.

 Lots of kids understood that 0,0 is in the center and that helped them
 find positions.

 Cold:
 Some kids lost focus because they didn;t understanbd the required
 order of operation in Turtle art (more below). Some built things then
 built other unattached programs which therefore didn't work together
 (e.g. show on the map then an un atached show text program somewhere
 else on the palette). Not enough time in the class.

 Other comments in debrief:
 The reality of teaching is time constrained. Next class we could just
 do the work for the kids who didn't get the GPA school noted on the
 Charles River map but they may lose a learning chance that way.
 Another option is to slow the class down, let kids who were done do
 something else and give the kids still working on the map more time.
 Kids seemed to think more this time rather than just clicking around a
 lot.

 Next class is Thursday. Goal is to put their pictures on the web.

 Comments that some kids don't understand the Journal/Keep paradigm
 which was introduced this time. An example:

 Sometimes they were in Turtle art and wanted to re-load an image from
 a previous instance. Many kids used the Turtla Art show tile (my
 turtle art is rusty so exact naming may be off). This allows clicking
 on it to open a Journal picker then clicking on it again (executing
 it?) shows an image of the last Turtle Art screen as seend in the
 Journal screen shot.

 What they really wanted was to just re-load the map in to the new
 blank Turtle Art screen. The suggestion was to rename the Turtle Art
 activity, then click Keep (I believe this step is not intended by Eben
 et al), then click stop, then open Turtle Art again, load the Kept
 instance from the journal.  That's what my notes say but maybe Anurag
 and/or Caroline can clarify.

 Another tough work flow was getting the map in Turtle Art, scaling it
 then placing the turtle. The right work flow in terms of order
 execution of tiles in Turtle art is:
 - Move turtle to right place on screen
 - Set scale
 - Show map

 Many kids did this:
 - Show map
 - Set x,y of turtle
 - scale map

 Again, I'm not sure why the kids method is wrong but believe its a
 nuance of Turtle Art. Clarification 

Re: [Server-devel] [Sugar-devel] GPA School Visit report for Tuesday July 14

2009-07-14 Thread Martin Langhoff
On Wed, Jul 15, 2009 at 10:19 AM, Caroline Meekssolutiongr...@gmail.com wrote:
 As Greg said we finally got collaboration working!

 The problem was that we had cloned the owner.key and owner.key.pub.  The fix
 was to delete those before cloning and on existing sticks delete them and
 restart.

Excellent. Great to hear that.


cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] GPA School Visit report for Tuesday July 14

2009-07-14 Thread Gary C Martin
Hi Martin,

On 15 Jul 2009, at 02:33, Martin Langhoff wrote:

 On Wed, Jul 15, 2009 at 10:19 AM, Caroline Meekssolutiongr...@gmail.com 
  wrote:
 As Greg said we finally got collaboration working!

 The problem was that we had cloned the owner.key and  
 owner.key.pub.  The fix
 was to delete those before cloning and on existing sticks delete  
 them and
 restart.

 Excellent. Great to hear that.

What other system keys/ID are used for authentication with an XS? I'd  
hate to see collaboration solved and then for future server backup or  
Moodle support to get it's knickers in a twist! I have grave worries  
about the current 'clone a booted and hacked stick' without folks  
involved knowing all those first boot processes in detail – I just  
know enough not to want to try it in the first place :-)

Regards,
--Gary
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] [Sugar-devel] GPA School Visit report for Tuesday July 14

2009-07-14 Thread Caroline Meeks
On 7/14/09, Gary C Martin g...@garycmartin.com wrote:

 Hi Martin,

 On 15 Jul 2009, at 02:33, Martin Langhoff wrote:

  On Wed, Jul 15, 2009 at 10:19 AM, Caroline Meekssolutiongr...@gmail.com
 wrote:

 As Greg said we finally got collaboration working!

 The problem was that we had cloned the owner.key and owner.key.pub.  The
 fix
 was to delete those before cloning and on existing sticks delete them and
 restart.


 Excellent. Great to hear that.


 What other system keys/ID are used for authentication with an XS? I'd hate
 to see collaboration solved and then for future server backup or Moodle
 support to get it's knickers in a twist! I have grave worries about the
 current 'clone a booted and hacked stick' without folks involved knowing all
 those first boot processes in detail – I just know enough not to want to try
 it in the first place :-)



The current method I'm using of hand crafting a stick, going in and deleting
files by hand, then cloning it is a total hack, hard to reproduce and very
subject to human error.  We need something like Ticket 74 where we have a
real clone function that does the right things automatically.

If we had that, and especially if it worked with a $15 USB hub to let you
clone 4 or 6 sticks at a time, I think it would be far easier to have
teachers do pilots.  I really think that all of our current stick creation
methods are too inefficient, inflexbile and human error prone to have many
teachers with 20 to 30 kids in a class use them.

Regards,
 --Gary




-- 
Caroline Meeks
Solution Grove
carol...@solutiongrove.com

617-500-3488 - Office
505-213-3268 - Fax
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel