Re: XO power consumption under 8.2-759

2008-09-14 Thread James Cameron
Measurements with a mass production unit SKU1 serial number CSN75000153
and Joyride 2436, using a digital multimeter in current mode, with
another digital multimeter in voltage mode showing the voltage after the
current meter, presented to the XO.  In Control Panel, Automatic power
management is enabled.

I'm confirming your results, by not using the battery management chip or
olpc-pwr-log.

a.  fully on, at activity ring, no activities running, 6.49W (0.54A at
12.02V),

b.  turned off backlight, 5.40W (0.45A at 12.02V), a saving of one watt,

c.  turned off radio using Control Panel, 4.08W (0.34A at 12.02V), a
saving of just over one watt,

d.  one minute idle, power LED slow-blinking, screen image still
present, 1.09W (0.09A at 12.12V, or 91.2mA at 11.95V), a saving of three
watts,

e.  closed lid, power LED blinking, presumably screen image gone, 0.61W
(50.8mA at 12.04V), a saving of just under one watt,

f.  removed battery, current fell to 46.5mA, or 0.55W.  Battery LED
extinguished.  At this point the unit is consuming the least DC power
while still operational.

Perhaps the kids would like a power budget ...

1.  base load, half a watt,

2.  keeping the battery fully charged, a tenth of a watt,

3.  showing a screen image, half a watt,

4.  running the keyboard, touchpad, processor, three watts,

5.  running the radio, one watt,

6.  running the backlight, one watt.

That's neat.

Now, onto something else.

The AC adaptor conversion loss is significant ... during these tests I
had a cumulative energy meter attached on the 240V AC feed to the
adaptor.

At the point where the laptop is demanding 0.55W as 46.6mA at 12.05V,
the energy meter shows the AC adaptor is drawing 0.97W, which is roughly
double.  Conversion efficiency of 56%.

Back to full power, where the laptop is demanding 6.13W as 0.51A at
12.02V, the energy meter shows 9.11W, which is roughly 50% more.
Conversion efficiency of 67%.

(This is the 110V or 240V global universal AC adaptor supplied with
the C2, the one with the XO on both sides).

It reminds us that power budgets at AC level will have to be quite
different.

-- 
James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Libertas firmware on F9 for the XS

2008-09-14 Thread Martin Langhoff
On Sat, Sep 13, 2008 at 12:30 PM, Deepak Saxena [EMAIL PROTECTED] wrote:
 Well, my job description is simply kernel guy, not tied to XO
 or XS, so I will build something against your F9 kernel that you
 can test and will volunteer myself to keep XS libertas in sync
 with XO libertas until we get our kernel in sync with Fedora.

That sounds fantastic. From what I see, we'll have to be wired to
supply a complete kernel rpm, as the libertas driver comes with the
kernel rpm. It it possible for you to build kernels in a reasonably
timely fashion following Fedora's security updates? Doesn't have to be
immediate, but the XS has more internet exposure than the XO.

I am still interested in understanding what the state of the driver
and firmware is, but that's for another subthread...

thanks!




m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Libertas firmware on F9 for the XS

2008-09-14 Thread Martin Langhoff
On Sat, Sep 13, 2008 at 2:11 PM, Ricardo Carrano [EMAIL PROTECTED] wrote:
 What's more straight than saying: The team recommends that the only
 firmware to be used with the new 2.6.25 kernel is 22.p18

As a developer, I can relate 100% to that. As a release manager (and I
have to play both here) what I want to know is how much of a well
understood stable release this is. There is a range that spans from
this is a dev snapshot, compiles and has my latest code so use it!
at one end, and field tested to the bitter end at the other.

From what I see, a wireless firmware/driver combo seems to be a tricky
bit of software in that -- due to a huge number of variables in
interoperability -- it can never be 100% right. I don't expect to hear
it's perfect (though I'll be deeply impressed if it is).

Instead, what I was hoping for is some understanding of how many
things have been tested, and what problems have been found. Not that
they'd be your fault as in you implemented the standard wrong  --
I'm sure 80% of the wireless devices out there have quirks.
Interoperability is tricky.

 There may be others, but they are not known bugs so far.

Now, knowing what I know about network interop, if no problems have
been found... can you give me a rough idea of what devices and modes
this driver/firmware pair has been tested with?

 By the way. Actually, no. Even the WPA issue should not interfere with
 the XS.

I agree. The WPA issue is not one that bothers the XS. I just want the
list of issues to check whether any affects it. You tell me there
isn't such list, and I can believe you, but then... where's the
testing?

 And, I would like to understand what is the connectivity model
 that you are trying to implement on the XS. Are we insisting on using
 active antennae as mesh gateways on the XS? Is it clear to you that we
 do not recommend this at all?

I don't plan to emphasize Libertas devices as mesh gateways - I know
well that they are not recommended. Not closing the door completely on
them  (may become recommended or viable later in the game?).

However, I still work on this for 2 reasons:

 - We'll be trying to get the XS build running on the XO hardware.
This should be doable reasonably soon, and will be a boon for very
small schools.

 - Again for small schools, the Libertas device can be cheaper than an
AP so it could still be an option

Both are a good case for thinmac too.

 Simply put. The model of having a bunch of school servers with a bunch
 of active antennas to support hundreds of laptops in 3 mesh clouds
 should be completely abandoned.

We are on the same page on this and changes on the networking settings
in the XS are already planned to better support large schools with
APs.

 I don't recall
 reading any questions on what version should be used with the school
 server, before now. Have this question been asked?

I don't know much about earlier days. But what I am asking is not only
which one do you recommend, but what data have you got to support
that? Seeing just a little bit of formal testing, analysis and
bugtracking would be just the ticket for me.

It's a nasty question - I know - but it's the kind of questions that
release managers are prone to ask. However, I need the information.

cheers,



m
--
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Libertas firmware on F9 for the XS

2008-09-14 Thread Martin Langhoff
On Sun, Sep 14, 2008 at 6:36 PM, Martin Langhoff
[EMAIL PROTECTED] wrote:
 That sounds fantastic.

In my enthusiasm, I missed one bit:

On Sat, Sep 13, 2008 at 12:30 PM, Deepak Saxena [EMAIL PROTECTED] wrote:
 I will build something against your F9 kernel that you
 can test

The that you can test is a bit tricky.

How do you guys do interop testing? For the 802.11s my guess is that
therea re test scripts you run between Libertas devices and
non-Libertas devices (the D-link 802.11s, or various hw running
open80211s)?

For thinmac there's a slightly larger set of interop candidates. I
don't know how stable/usable thinmac is but it'll probably be
extremely useful on the XS, and people will expect to use it with a
variety of devices.

In any case, that will mean considerable testing resources -- time and
equipment in my Wellington office -- so that I can capture logs for
you. Doesn't seem to be most efficient way.

The Libertas team must have a access to suitable equipment, and more
expertise than mine to better choose tests to run. Can you guys give
me a release that has seen some some testing in the areas that you
think are most risky / interesting, as well as the main use cases?

This is software I will be telling people is good-to-deploy on
thousands of schools in hard-to-reach locations.

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Videochat - any status?

2008-09-14 Thread Pia Waugh
Hi Guillaume,

quote who=Guillaume Desmottes

 Few months ago I posted this mail [1] explaining the current status of
 VideoChat. The situation didn't evolve since but I guess it should still
 be basically usable.
 
 [1] http://lists.laptop.org/pipermail/devel/2008-April/013227.html

Cool, I saw that and linked it to the Activities page but had trouble making
it work. I've got someone working on it now and I'll get him to post an
update soon. Thanks for that Guillaume!

Cheers,
Pia

-- 
OLPC Australia   http://olpc.org.au/
Linux Australia http://linux.org.au/
Open Source Industry Australia   http://osia.net.au/
Software Freedom Day  http://softwarefreedomday.org/
 
   He who loves the world as his body may be entrusted with the empire.
 - Lao-tzu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Videochat - any status?

2008-09-14 Thread Pia Waugh
Hi SJ,

quote who=Samuel Klein

 Alex looked into this in July, I don't think much has been done with
 the original videochat code since the last git commit:
 
 http://dev.laptop.org/git?p=projects/video-chat-activity;a=summary

Cool, we'll update the documentation and put up anything new we create to
get it working over the coming few days.

Cheers,
Pia

-- 
OLPC Australia   http://olpc.org.au/
Linux Australia http://linux.org.au/
Open Source Industry Australia   http://osia.net.au/
Software Freedom Day  http://softwarefreedomday.org/
 
  What are we doing today brain?
  We're taking over the world like we always do.
   - Pinky and the Brain
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Stability and Memory Pressure in 8.2

2008-09-14 Thread Marco Pesenti Gritti
On Sun, Sep 14, 2008 at 6:42 AM, James Cameron [EMAIL PROTECTED] wrote:
 I recall someone noticed that the animated activity icon was redrawing
 the whole screen.  I think it got fixed.  Since it got fixed, I haven't
 seen as many OOMs during olpc-update.

It was not fixed.

http://dev.laptop.org/ticket/8000

Actually, we really should try to fix this one for 8.2.

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


Re: Wellington test team vs Activities - 2008-09-13

2008-09-14 Thread Nirav Patel
Thanks for the bug report on Bridge.  I just released Bridge-2 that
fixes those bugs and a few others.

Nirav

2008/9/13 Grant Patterson [EMAIL PROTECTED]:
 Grant's notes:

 Geoquiz-3
 - Too easy to mistakenly select the wrong answer when using the left and
 right controllers (as suggested by the instructions). This problem is caused
 by Geoquiz not distinguishing between the left and right controllers.
 - Lesotho, Swaziland and Gambia aren't visible on the Africa map, so when
 these questions arise, the user can only guess. Swaziland and Gambia are
 blacked out on the map, while Lesotho appears as part of South Africa.
 - Completing the quiz (either Africa or South America) causes Geoquiz to
 crash!
 - The questions are always in the same order until the laptop is rebooted.
 - Got a segmentation fault during the normal usage of the activity! Wasn't
 reproducable.

 Stopwatch-1
 - Worked well

 Bridge-1
 - Seems a little harsh that girders that are deleted are still counted
 towards the total cost of the bridge, especially since they can't be moved
 once in place.
 - Some instructions would be helpful. (e.g. press space to start train)
 - Pressing the 'b', 'j', or 'p' keys crashes the activity!
 - Otherwise a great activity.


 Grant


 2008/9/13 Tabitha Roder [EMAIL PROTECTED]

 Tabitha's notes:
 XO Build 8.2-759

 Mini vMac-1 - ctrl F for full screen is great! played with excalibur, note
 pad, calculator, puzzle, all good, but it is hard to shut down Mini vMac -
 seems you have to stop in the frame?

 Bridge-1 good

 Stopwatch-1 good

 Poll-17 - create own poll good, voted good, lesson plans display as XML
 not so good,  bug logged #8456

 Schoolsplay-1 - loads, font size is too big in the frames and in the
 pyramid, cant really play as cant read :-( bug logged #8458

 Audacity-1 - fails to launch, got logs, bug logged #8453

 XaoS-1 - good

 Moon-4 good

 Colors-4 - still not able to stop activity, same as v4 - see original bug
 #8335

 ProducePuzzle-0 - good

 Ok, now onto the big test - GCompris-7, get ready this is long

 GCompris - Various puzzles
 *assemble - good
 *tangram - good
 *build - good
 *superbrain - good
 *hanoi - good
 *sliding blocks - good
 *sudoku - good
 *fifteen game - good
 Gcompris - Mathematic games - geometry
 *freedraw - good
 *redraw - could not find or load the file skins/gartoon/redraw.svg this
 activity is incomplete exit it and report the problem to the authors
 ([EMAIL PROTECTED])
 *mirror - could not find or load the file
 skins/gartoon/redraw_symmetry.svg this activity is incomplete exit it and
 report the problem to the authors ([EMAIL PROTECTED])
 Gcompris - Mathematic games - calculations
 *math memory
 **multiply - good
 **add - good
 **subtract - good
 *algebra
 **add and subtract tested, took a while to work out that you have to push
 check answer or it thinks you havent entered an answer
 *number munchers
 **multiple - good
 **prime - good
 *math memory
 **bit confusing that questions with the same answer dont match in the
 matching game - e.g. 4 + 4 is not equal to 3 + 5, they are both = 8 only
 *balance the scales - good
 *target - good
 *series of correct operations - good
 Gcompris - Mathematic games - numeration
 *pairs of dice - good
 *count the items - couldn't find or load the file
 enumerate/food/banana.png this activity is incomplete - bruno
 *magician hat - good
 *feed tux the fish - good
 *money - couldnt find money/euro/p5e.png  - bruno
 *helicopter - good
 *draw with numbers - good
 GCompris - amusement
 *tuxpaint - cannot find tux paint install it to use this activity
 *football - good
 *hexagon - good
 *word processor - good, we all like the themes
 *drawing / animation - works for draw not animation - save image exits
 GCompris so cannot make animation
 *chat - sorry couldnt test this today
 GCompris - reading
 *click on letter - good
 *reading practice - good
 *horizontal - words start above the box not in it
 *vertical - words start above the box not in it
 *missing letter - good
 *image name drag and drop - good
 GCompris - discover the computer
 *keyboard
 **numbers with dice - good
 **throw ball to tux - good
 **simple letters - good
 **falling words - good
 *mouse
 **control the hose pipe - good
 **click the mouse - good
 **move the mouse - good
 **click on me - good
 **click and draw - good
 GCompris - strategy games
 *practice chess - error: the external program gnuchess is mandatory to
 play chess in gcompris first install it and check it is in
 /usr/games/gnome-gnuchess
 *connect 4 - good
 *bar game - good - the prerequisite of a brain is cute
 *oware - good
 GCompris - experiental games
 *parachutist - good
 *canal lock - good
 *water cycle - good
 *electricity - cannot find the gnucap electric simulator you can download
 and install it from http://geda.seul.org/tools/gnucap/ to be detected it
 must be installed in /usr/bin/gnucap or /usr/local/bin/gnucap you can still
 use this activity to draw schematics without computer 

Re: Wellington test team vs Activities - 2008-09-13

2008-09-14 Thread Bruno Coudoin
Thanks for the bug report concerning GCompris. I just uploaded a new
version on the olpc Wiki page with the following fixes:

 - chess, scalesboard, sudoku: Uses the icons provided in bug #7138
 - redraw*.activity.xo: Added missing icon
 - gcompris.activity.xo: Added a bunch of missing icons, fixing activities 
enumerate and money for fixed images.
 - Warning: The full GCompris bundle does not comes with gnuchess and gnucap 
(for electricity). 
You can install these programs with yum. 

Bruno.

Le dimanche 14 septembre 2008 à 12:13 +1200, Grant Patterson a écrit :

 Ok, now onto the big test - GCompris-7, get ready this is
 long
 
 GCompris - Various puzzles
 *assemble - good
 *tangram - good
 *build - good
 *superbrain - good
 *hanoi - good
 *sliding blocks - good
 *sudoku - good
 *fifteen game - good
 Gcompris - Mathematic games - geometry
 *freedraw - good
 *redraw - could not find or load the file
 skins/gartoon/redraw.svg this activity is incomplete exit it
 and report the problem to the authors ([EMAIL PROTECTED])
 *mirror - could not find or load the file
 skins/gartoon/redraw_symmetry.svg this activity is incomplete
 exit it and report the problem to the authors
 ([EMAIL PROTECTED])
 Gcompris - Mathematic games - calculations
 *math memory 
 **multiply - good
 **add - good
 **subtract - good
 *algebra
 **add and subtract tested, took a while to work out that you
 have to push check answer or it thinks you havent entered an
 answer
 *number munchers
 **multiple - good
 **prime - good
 *math memory 
 **bit confusing that questions with the same answer dont match
 in the matching game - e.g. 4 + 4 is not equal to 3 + 5, they
 are both = 8 only
 *balance the scales - good
 *target - good
 *series of correct operations - good
 Gcompris - Mathematic games - numeration
 *pairs of dice - good
 *count the items - couldn't find or load the file
 enumerate/food/banana.png this activity is incomplete - bruno
 *magician hat - good
 *feed tux the fish - good
 *money - couldnt find money/euro/p5e.png  - bruno
 *helicopter - good
 *draw with numbers - good
 GCompris - amusement 
 *tuxpaint - cannot find tux paint install it to use this
 activity
 *football - good
 *hexagon - good
 *word processor - good, we all like the themes
 *drawing / animation - works for draw not animation - save
 image exits GCompris so cannot make animation
 *chat - sorry couldnt test this today
 GCompris - reading
 *click on letter - good
 *reading practice - good
 *horizontal - words start above the box not in it
 *vertical - words start above the box not in it
 *missing letter - good
 *image name drag and drop - good
 GCompris - discover the computer 
 *keyboard
 **numbers with dice - good
 **throw ball to tux - good
 **simple letters - good
 **falling words - good
 *mouse
 **control the hose pipe - good
 **click the mouse - good
 **move the mouse - good
 **click on me - good
 **click and draw - good
 GCompris - strategy games
 *practice chess - error: the external program gnuchess is
 mandatory to play chess in gcompris first install it and check
 it is in /usr/games/gnome-gnuchess
 *connect 4 - good
 *bar game - good - the prerequisite of a brain is cute
 *oware - good
 GCompris - experiental games
 *parachutist - good
 *canal lock - good
 *water cycle - good
 *electricity - cannot find the gnucap electric simulator you
 can download and install it from
 http://geda.seul.org/tools/gnucap/ to be detected it must be
 installed in /usr/bin/gnucap or /usr/local/bin/gnucap you can
 still use this activity to draw schematics without computer
 simulation
 *pilot a submarine - good
 *sea race - good
 GCompris - discovery games
 *misc
 **drag and drop shapes - good
 **left and right words - good
 **algorithm - good
 **chronos - good
 **learning clock - good
 **region - activity works well but my brain did not (lol)
 **locate countries - good (and easier for us to answer than
 regions! lol)
 *colors
 **rebuild the mosaic - good
 **colors (ducks) - good
 stopped here, sorry didnt quite get through all the activities
 
 Overall comments on GCompris - 

Re: Libertas firmware on F9 for the XS

2008-09-14 Thread Deepak Saxena
On Sep 14 2008, at 18:36, Martin Langhoff was caught saying:
 On Sat, Sep 13, 2008 at 12:30 PM, Deepak Saxena [EMAIL PROTECTED] wrote:
  Well, my job description is simply kernel guy, not tied to XO
  or XS, so I will build something against your F9 kernel that you
  can test and will volunteer myself to keep XS libertas in sync
  with XO libertas until we get our kernel in sync with Fedora.
 
 That sounds fantastic. From what I see, we'll have to be wired to
 supply a complete kernel rpm, as the libertas driver comes with the
 kernel rpm. It it possible for you to build kernels in a reasonably
 timely fashion following Fedora's security updates? Doesn't have to be
 immediate, but the XS has more internet exposure than the XO.

Hmm, that's a bummer. I was hopeing I could package the driver
modules separately. I'll talk to Dave Jones, the Fedora kernel maintainer
this week and see if this is doable.

~Deepak

-- 
Deepak Saxena - Kernel Developer - [EMAIL PROTECTED]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Terminal Text Fragment Drop Support Patch

2008-09-14 Thread Sayamindu Dasgupta
2008/9/8 Cortland Setlow [EMAIL PROTECTED]:
 Hi,

 Terminal really should support  dropping dev key commands, I think.  Here's
 a patch to make it do so. Could we update the devkey page to explain
 frame-based cut and paste?


Pushed to the master branch. Thanks for the patch. (we are in feature
freeze now, so this patch will appear in the next release cycle).
Thanks,
Sayamindu



-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Libertas firmware on F9 for the XS

2008-09-14 Thread Martin Langhoff
On Sat, Sep 13, 2008 at 12:30 PM, Deepak Saxena [EMAIL PROTECTED] wrote:
 Well, my job description is simply kernel guy, not tied to XO
 or XS, so I will build something against your F9 kernel that you
 can test and will volunteer myself to keep XS libertas in sync
 with XO libertas until we get our kernel in sync with Fedora.

That sounds fantastic. From what I see, we'll have to be wired to
supply a complete kernel rpm, as the libertas driver comes with the
kernel rpm. It it possible for you to build kernels in a reasonably
timely fashion following Fedora's security updates? Doesn't have to be
immediate, but the XS has more internet exposure than the XO.

I am still interested in understanding what the state of the driver
and firmware is, but that's for another subthread...

thanks!




m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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] Libertas firmware on F9 for the XS

2008-09-14 Thread Martin Langhoff
On Sat, Sep 13, 2008 at 2:11 PM, Ricardo Carrano [EMAIL PROTECTED] wrote:
 What's more straight than saying: The team recommends that the only
 firmware to be used with the new 2.6.25 kernel is 22.p18

As a developer, I can relate 100% to that. As a release manager (and I
have to play both here) what I want to know is how much of a well
understood stable release this is. There is a range that spans from
this is a dev snapshot, compiles and has my latest code so use it!
at one end, and field tested to the bitter end at the other.

From what I see, a wireless firmware/driver combo seems to be a tricky
bit of software in that -- due to a huge number of variables in
interoperability -- it can never be 100% right. I don't expect to hear
it's perfect (though I'll be deeply impressed if it is).

Instead, what I was hoping for is some understanding of how many
things have been tested, and what problems have been found. Not that
they'd be your fault as in you implemented the standard wrong  --
I'm sure 80% of the wireless devices out there have quirks.
Interoperability is tricky.

 There may be others, but they are not known bugs so far.

Now, knowing what I know about network interop, if no problems have
been found... can you give me a rough idea of what devices and modes
this driver/firmware pair has been tested with?

 By the way. Actually, no. Even the WPA issue should not interfere with
 the XS.

I agree. The WPA issue is not one that bothers the XS. I just want the
list of issues to check whether any affects it. You tell me there
isn't such list, and I can believe you, but then... where's the
testing?

 And, I would like to understand what is the connectivity model
 that you are trying to implement on the XS. Are we insisting on using
 active antennae as mesh gateways on the XS? Is it clear to you that we
 do not recommend this at all?

I don't plan to emphasize Libertas devices as mesh gateways - I know
well that they are not recommended. Not closing the door completely on
them  (may become recommended or viable later in the game?).

However, I still work on this for 2 reasons:

 - We'll be trying to get the XS build running on the XO hardware.
This should be doable reasonably soon, and will be a boon for very
small schools.

 - Again for small schools, the Libertas device can be cheaper than an
AP so it could still be an option

Both are a good case for thinmac too.

 Simply put. The model of having a bunch of school servers with a bunch
 of active antennas to support hundreds of laptops in 3 mesh clouds
 should be completely abandoned.

We are on the same page on this and changes on the networking settings
in the XS are already planned to better support large schools with
APs.

 I don't recall
 reading any questions on what version should be used with the school
 server, before now. Have this question been asked?

I don't know much about earlier days. But what I am asking is not only
which one do you recommend, but what data have you got to support
that? Seeing just a little bit of formal testing, analysis and
bugtracking would be just the ticket for me.

It's a nasty question - I know - but it's the kind of questions that
release managers are prone to ask. However, I need the information.

cheers,



m
--
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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] Libertas firmware on F9 for the XS

2008-09-14 Thread Martin Langhoff
On Sun, Sep 14, 2008 at 6:36 PM, Martin Langhoff
[EMAIL PROTECTED] wrote:
 That sounds fantastic.

In my enthusiasm, I missed one bit:

On Sat, Sep 13, 2008 at 12:30 PM, Deepak Saxena [EMAIL PROTECTED] wrote:
 I will build something against your F9 kernel that you
 can test

The that you can test is a bit tricky.

How do you guys do interop testing? For the 802.11s my guess is that
therea re test scripts you run between Libertas devices and
non-Libertas devices (the D-link 802.11s, or various hw running
open80211s)?

For thinmac there's a slightly larger set of interop candidates. I
don't know how stable/usable thinmac is but it'll probably be
extremely useful on the XS, and people will expect to use it with a
variety of devices.

In any case, that will mean considerable testing resources -- time and
equipment in my Wellington office -- so that I can capture logs for
you. Doesn't seem to be most efficient way.

The Libertas team must have a access to suitable equipment, and more
expertise than mine to better choose tests to run. Can you guys give
me a release that has seen some some testing in the areas that you
think are most risky / interesting, as well as the main use cases?

This is software I will be telling people is good-to-deploy on
thousands of schools in hard-to-reach locations.

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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] Backup And Restore Feature Documentation

2008-09-14 Thread Martin Langhoff
On Sat, Sep 13, 2008 at 2:58 AM, Greg Smith [EMAIL PROTECTED] wrote:
 1 - Does the backup attempt every 30 minutes and run successfully no
 more than 1 per 24 hours?

yes, with a subtlety. No more than once per day. If it succeeds
today at 3pm, it'll start trying again tomorrow as soon as you turn it
on. It's next day though 24 hs have not yet passed...

 Is this turned on by default in 8.2 and is
 there anyway to turn it off (pretty sure that's a default is on and you
 can't turn it off but wanted to check one last time)?

yes

 What happens if
 there is no school server? What happens if there is a school server
 listed in the networks control panel but its unreachable? What happens
 if you are not registered will it still try to backup (maybe just open
 and close every 30 minutes)?

In all those cases, very low power / mem / cpu cost to check for those
factors... every 30 minutes.

 2 - Does it backup everything in the journal? I think the answer last
 time I asked was everything in the datastore which I believe =
 journal, but wanted to check one last time.

yes

 3 - What is the quota and can it be changed? What is the maximum
 snapshot age and can it be changed? Also, I don't fully understand what
 snapshot means.
 Here's an example:
 day 1 it backs up my journal which has 100 items
 day 2 it backs up again and I have 5 new items.
 day 3 it backs up again and I have 10 more items, but now I exceeded my
 quota so it goes and deletes the old snapshot.

A few notes here...
 - The quota is dynamic - depends on # of registered XOs and size of
disk on the XS...
 - If the planning was right,  the quota should be larger  than the XO
disk storage (there's a gotcha: we don't check for that bit of
sanity...)

Making the assumptuino that the quota on the XS is larger than on the
XO, and going back to your example...

 - day 1 you have 100 items - fits on your XO
 - day 2 - 5 new items - plus 2 changes to existing items; backup
process runs and teh XS has 107 distinct items
 - day 3 comes - add 10 more items, pushed you over the XO storage
capacity, so you *first* delete 3 old things...

The backup will run and copy everything -- it's a soft quota, so you
can go over a bit when ithe backup process is running. Once it's all
in the XS, it'll

  - prune the day 1 items that don't appear in day 2 (in this
case, the old version of those 2 items you changed)
  - are we within quota? if not...
  - prune the day 2 items that don't appear in day 3. Those 3 old
things you deleted...

So the scheme works on the principle that there is a significantly
larger quota on the server. If not, it's much less useful...

Additional notes:

After 90 days... - if the quota is large enough that you can keep 90
days (configurable) then past the 90 days we keep 1 snapshot per
month. So you have day1 to day 90 with per-day granularity and then
you see March 1st 2008, Feb 1st 2008 Right now those 'monthly
snapshots' get axed first if we are in a squeeze, but I may improve
the logic later...

(So perhaps don't document too much detail about that ;-) )

How the per user quota is defined... We look at the size of the disk
that holds the /library directory, and assume that 70% (configurable)
is for backups. Count the # of users registered. Divide.

As you can imagine, this means that the first days in the life of a
school server, the quota allocation jumps around a bit, and then
shrinks as everyone registers and the number of student stabilises.

TODO:

 - This is not stable over time - with a stable-sized school, kids
finish, and new kids enrol, kids and teachers change schools. So the
disk quota shirks indefinitelly. Figure out (a) how to decide that a
user is really gone and (b) WTH to do then? :-)

 - It can also be a source of a minor DoS attack: create a ton of
bogus registrations to squeeze the quota.

 4 - If you restore a single item, does it get placed in the journal back
 where it originally came from or is it moved to the top?

I think yes. Tomeu (CC'd) knows this one...

 In either case
 does it overwrite the previous instance if it still exists? Should be OK
 to overwrite as I think they should be the same file, just want to be
 sure I understand.

I think yes... Tomeu?

 I apologize if I asked all this before. I think the last time was before
 the feature was complete. I want to get it right for the documentation.

I think these are all new questions :-)

 Feel free to update this
 http://wiki.laptop.org/go/XS_Blueprints:Datastore_Simple_Backup_and_Restore
 with the answers or you reply to me I'll update it then ask for a final ack.

Will leave it in your hands for the moment if that's ok :-)

 FYI I wasn't always such a documentation pest :-( Somehow that's been my
 role on this list lately, but in the past I was more interested in
 designing workflow and SW.

No prob. I find myself being a bit of release manager on other tracks
and... ouch!

 If you want to see some hardcore documentation see the manual for one of
 my 

Re: [Server-devel] Restoring journal entries (was Re: Backup And Restore Feature Documentation)

2008-09-14 Thread Martin Langhoff
On Sun, Sep 14, 2008 at 9:34 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote:
 these questions depend on the actual code that performs the restore.
 I'm going to comment on what happens when the user clicks on an entry
 from Browse (the only restore mechanism that is available today).

Tomeu and I had a quick chat about this.  A 'full restore' could be
done from Journal via rsync+ssh with no changes on the XS side (at
least for some scenarios). If we are going to do it for 9.1, we should
be doing it now, not later...

I am not sure how or when things will get prioritised for 9.1, but if
'full restore' is a high priority ticket (which I am not sure about)
then we'd need to hear from Greg on this track, and have a bit of a
catch up to flesh it out.

For some cases the XS will need changes, so it might be a good idea to
involve me as well (bear in mind I am in a tight release cycle right
now though :-) so my time's a bit squeezed...)

cheers,


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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] Couple things I'm looking for help with... (revisor, GPG migration...)

2008-09-14 Thread Jerry Vonau
Jerry Vonau wrote:
 Jerry Vonau wrote:
 Martin Langhoff wrote:
 On Fri, Sep 12, 2008 at 7:46 PM, Jeroen van Meeuwen [EMAIL PROTECTED] 
 wrote:
 the --isolinux-cfg helps here, doesn't it? Using ks=hd:LABEL=foo:ks.cfg in
 one of the menu items should work like Chris and Jeremy mentioned...
 Yes it definitely does, thanks! We need a tiny patch to add a 2nd ks
 file - you'll see in the ticket I'd like to have one with
 interactive in it, and one without.

 Cool, it works with method= also, just use method=hd:LABEL=foo:/path and 
 you don't get prompted for dvd location.
 
And fails later at stage2's reposetup, think I can fix that.
Jerry



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


Re: [Server-devel] Couple things I'm looking for help with... (revisor, GPG migration...)

2008-09-14 Thread Martin Langhoff
On Sun, Sep 14, 2008 at 10:08 PM, Jerry Vonau [EMAIL PROTECTED] wrote:
 Jerry Vonau wrote:
 Cool, it works with method= also, just use method=hd:LABEL=foo:/path and
 you don't get prompted for dvd location.
 And fails later at stage2's reposetup, think I can fix that.

Whoa! Lots of progress over the weekend. I've been distrcted with XO
testing a bit - will try your new anaconda and iso-on-a-diet script...


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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] Pg 8.3 tuning recommendations for embedded low-memory device (for OLPC :-) )

2008-09-14 Thread Martin Langhoff
On Mon, Sep 15, 2008 at 12:56 PM, Martin Langhoff
[EMAIL PROTECTED] wrote:
 Assuming a 128MB target, I've been poking and probing with the
 postgresql.conf and the new settings...

Actually, I misreported the host memory - 128MB is not in the picture
anymore. The minium RAM we expect to operate with is 256MB (on the XO
hardware).

Do these settings make sense?

### 256MB RAM, 32MB for Pg
### - 16MB shmem
### - 15 max_connections (to match: 12 apache processes)
### - 15MB max for workmem: 1MB * max_connections

### 512MB RAM, 96MB for Pg
### - 24MB shmem
### - 30 max_connections (to match: 25 apache processes)
### - 60MB max for workmem: 2MB * max_connections

### 1GB RAM, 128MB for Pg
### - 32MB shmem
### - 45 max_connections (to match: 45 apache processes)
### - 90MB max for workmem: 2MB * max_connections

## 2GB RAM, 256MB for Pg
### - 64MB shmem
### - 60 max_connections (to match: 25 apache processes)
### - 180MB max for workmem: 3MB * max_connections

the config files, plus init script doing the selection can be seen at
http://dev.laptop.org/git?p=projects/xs-config;a=commitdiff;h=d2f3fe29295717d6727044e8b6152b5c3e204531

cheers,



martin
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- 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


Fwd: free and full E-books download

2008-09-14 Thread Theebika
*free and full E-books download http://ebooksstore4u.blogspot.com/*


http://ebooksstore4u.blogspot.com/
http://ebooksstore4u.blogspot.com/
http://ebooksstore4u.blogspot.com/
http://ebooksstore4u.blogspot.com/

ASP.NET 2.0 Demystified
Foundations ASP.NET AJAX
PHP and MySQL
PHP Anthology,2 Edition
Web API in PHP
PHP by Example
PHP Game Programming
Learn PHP in 24 Hours
JavaScript The Good Parts
Accelerated VB 2008
ASP.NET 3.5 in VB 2008
VTC - C++ Video Training
Art of Java
Introduction to Java
How To Java 2 Game
Tricks of the Java
http://ebooksstore4u.blogspot.com/
http://ebooksstore4u.blogspot.com/
http://ebooksstore4u.blogspot.com/
http://lists.laptop.org/pipermail/server-devel/2008-September/001957.html
[1b]http://lists.laptop.org/pipermail/server-devel/2008-September/001958.html
[2]http://dev.laptop.org/git?p=users/cscott/sugar-update-control;a=blob;f=bitfrost/update/actinfo.py
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel