Re: [Techteam] XO-1.75 OpenFirmware serial terminal

2012-03-29 Thread James Cameron
On Wed, Mar 28, 2012 at 09:50:07AM -0400, Martin Langhoff wrote: On Tue, Mar 27, 2012 at 5:52 AM, James Cameron qu...@laptop.org wrote: This is a serial terminal implementation for an XO-1.75 using Open Firmware. Allows a laptop to be a host for a target laptop through a crossover

Re: XO-1.75 OpenFirmware serial terminal

2012-03-29 Thread James Cameron
I agree with Mitch, the size of it is insignificant. Even without any tuning and integration with existing code, the dictionary only grows by about 2400 bytes for the 5248 byte source file. If you think it will be useful, we can add it. -- James Cameron http://quozl.linux.org.au/

Re: XO-1.75 OpenFirmware serial terminal

2012-03-29 Thread Bert Freudenberg
On 29.03.2012, at 08:07, James Cameron wrote: I agree with Mitch, the size of it is insignificant. Even without any tuning and integration with existing code, the dictionary only grows by about 2400 bytes for the 5248 byte source file. If you think it will be useful, we can add it. Seems

Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-29 Thread Gary Martin
On 26 Mar 2012, at 17:30, Gary Martin wrote: On 26 Mar 2012, at 16:24, Daniel Drake d...@laptop.org wrote: On Sat, Mar 24, 2012 at 4:56 PM, Peter Robinson pbrobin...@gmail.com wrote: The release is our first combined 12.1.0 / Fedora 17 release, such a small release but represents so much

Re: [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-29 Thread Martin Langhoff
On Thu, Mar 29, 2012 at 8:43 AM, Gary Martin garycmar...@googlemail.com wrote: Have been looking into the on-screen keyboard overlay, added to GNOME 3.2 Simon is investigating the same topic right now. Just in the off-chance case you guys aren't in touch :-) cheers, m --  mar...@laptop.org

Re: 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-29 Thread Peter Robinson
On Thu, Mar 29, 2012 at 1:43 PM, Gary Martin garycmar...@googlemail.com wrote: On 26 Mar 2012, at 17:30, Gary Martin wrote: On 26 Mar 2012, at 16:24, Daniel Drake d...@laptop.org wrote: On Sat, Mar 24, 2012 at 4:56 PM, Peter Robinson pbrobin...@gmail.com wrote: The release is our first

Re: [Techteam] 12.1.0 devel build 5 released, for the XO-1, XO-1.5 and XO-1.75

2012-03-29 Thread Simon Schampijer
On 03/29/2012 02:58 PM, Peter Robinson wrote: On Thu, Mar 29, 2012 at 1:43 PM, Gary Martingarycmar...@googlemail.com wrote: On 26 Mar 2012, at 17:30, Gary Martin wrote: On 26 Mar 2012, at 16:24, Daniel Draked...@laptop.org wrote: On Sat, Mar 24, 2012 at 4:56 PM, Peter

Trac slowness diagnosis

2012-03-29 Thread Daniel Drake
Hi, Yesterday, I imported our trac database into trac 0.12.3 on a separate machine and found that even on such a setup, each ticket page was taking 19 seconds to load (same as the production server at dev.laptop.org). Through some profiling I found that an inefficient trac design causes about

Re: New boot animation for 12.1.0

2012-03-29 Thread Manuel Quiñones
Hey Daniel, Great to see the boot time improved and simplified! El día 20 de marzo de 2012 19:09, Daniel Drake d...@laptop.org escribió: On Mon, Mar 19, 2012 at 10:16 PM, Martin Langhoff martin.langh...@gmail.com wrote:  - How easy is it to implement something nice? I see Manuel's already

Re: Trac slowness diagnosis

2012-03-29 Thread Daniel Drake
On Thu, Mar 29, 2012 at 11:52 AM, Daniel Drake d...@laptop.org wrote: Nevertheless, if things become very slow again, I think we should switch to the text field and benefit from a huge speedup. Will keep an eye on it. The other discovery made here was that the wsgi instance on dev.laptop.org

Re: New boot animation for 12.1.0

2012-03-29 Thread Daniel Drake
2012/3/29 Manuel Quiñones ma...@laptop.org: Taking into account your considerations (one frame per second animation, no time for fancy stuff, and also not needed) I did this mockup: http://dev.laptop.org/~manuq/bootmock.gif It preserves the ring and makes it a spinner animation of 4 frames.

Re: New boot animation for 12.1.0

2012-03-29 Thread Martin Langhoff
2012/3/29 Daniel Drake d...@laptop.org: Looks great! +1 The first frame should have the bottom-center dot in dark-grey to match the firmware. (currently you have that in frame 2) Maybe that counts as a step, and perhaps can help us diagnose freeze in the firmware/linux transition? If

Re: New boot animation for 12.1.0

2012-03-29 Thread Daniel Drake
On Thu, Mar 29, 2012 at 12:03 PM, Martin Langhoff martin.langh...@gmail.com wrote: The first frame should have the bottom-center dot in dark-grey to match the firmware. (currently you have that in frame 2) Maybe that counts as a step, and perhaps can help us diagnose freeze in the

Re: New boot animation for 12.1.0

2012-03-29 Thread Manuel Quiñones
El día 29 de marzo de 2012 14:59, Daniel Drake d...@laptop.org escribió: 2012/3/29 Manuel Quiñones ma...@laptop.org: Taking into account your considerations (one frame per second animation, no time for fancy stuff, and also not needed) I did this mockup:

Re: New boot animation for 12.1.0

2012-03-29 Thread Manuel Quiñones
El día 29 de marzo de 2012 15:03, Martin Langhoff martin.langh...@gmail.com escribió: 2012/3/29 Daniel Drake d...@laptop.org: Looks great! +1 The first frame should have the bottom-center dot in dark-grey to match the firmware. (currently you have that in frame 2) Maybe that counts as a

Re: New boot animation for 12.1.0

2012-03-29 Thread Martin Langhoff
On Thu, Mar 29, 2012 at 2:13 PM, Daniel Drake d...@laptop.org wrote: The first frame will have the complete ring, plus the sugar/Fedora logos, so this transition is already clear. Ah, true. Hmm, maybe it's time to have an OLPC logo in there. m --  martin.langh...@gmail.com  

Re: Trac slowness diagnosis

2012-03-29 Thread Martin Langhoff
On Thu, Mar 29, 2012 at 1:52 PM, Daniel Drake d...@laptop.org wrote: Through some profiling I found that an inefficient trac design causes about 17,000 identical SQL queries to be executed during each page load, related to the number of users in the system (we have about 5.5k). Sad, track is

Re: Disable mesh

2012-03-29 Thread Martin Langhoff
On Thu, Mar 29, 2012 at 7:54 AM, Kevin Gordon kgordon...@gmail.com wrote: In this particular use-case, in this setting, on all of the XO's, both power saving check-boxes are turned off.  The screen may dim if someone walks away You can still close the lid, and reopen it. That triggers S/R/ You

Re: Trac slowness diagnosis

2012-03-29 Thread Martin Langhoff
On Thu, Mar 29, 2012 at 2:46 PM, Martin Langhoff martin.langh...@gmail.com wrote: On Thu, Mar 29, 2012 at 1:52 PM, Daniel Drake d...@laptop.org wrote: Through some profiling I found that an inefficient trac design causes about 17,000 identical SQL queries to be executed during each page load,

Re: PATCH: revise firmware name used in OOB

2012-03-29 Thread Martin Langhoff
On Wed, Mar 28, 2012 at 6:31 PM, Jerry Vonau jvo...@shaw.ca wrote: Sorry that was meant for version 4.1, but I see dsd just fixed that. Is version 4.1 in git going to be released as an rpm at some point in the future? Normally, we release it at the same time as we release the matching OS

Re: Trac slowness diagnosis

2012-03-29 Thread Jon Nettleton
On Thu, Mar 29, 2012 at 9:22 PM, Martin Langhoff martin.langh...@gmail.com wrote: On Thu, Mar 29, 2012 at 2:46 PM, Martin Langhoff martin.langh...@gmail.com wrote: On Thu, Mar 29, 2012 at 1:52 PM, Daniel Drake d...@laptop.org wrote: Through some profiling I found that an inefficient trac

11.3.1 development build 32 for XO-1.75, XO-1.5 and XO-1

2012-03-29 Thread Martin Langhoff
This build brings fixes to powerd and OFW on all platforms. XO-1.75 gets a kernel fix for Libertas reset. Updatable via olpc-update -- try the cmdline below. Notes:  - On XO-1.75 the getty on the serial port is _disabled_ by default now (that's the workaround). It gets enabled when you hold the

Re: Trac slowness diagnosis

2012-03-29 Thread Martin Langhoff
On Thu, Mar 29, 2012 at 4:47 PM, Jon Nettleton jon.nettle...@gmail.com wrote: Another option could be to add some javascript to the page that uses ajax to query the users only when the drop down menu is initiated. For best results you should follow the coding style of Trac and issue 3

Re: XO-1.75 OpenFirmware serial terminal

2012-03-29 Thread James Cameron
On Thu, Mar 29, 2012 at 02:04:21PM +0200, Bert Freudenberg wrote: On 29.03.2012, at 08:07, James Cameron wrote: I agree with Mitch, the size of it is insignificant. Even without any tuning and integration with existing code, the dictionary only grows by about 2400 bytes for the 5248 byte

Re: Trac slowness diagnosis

2012-03-29 Thread James Cameron
On Thu, Mar 29, 2012 at 11:52:20AM -0600, Daniel Drake wrote: [...] The main cause of this slowness is that we choose to display potential ticket owners as a drop-down list (rather than a text entry field, the trac default). The performance issues are well known:

Re: Trac slowness diagnosis

2012-03-29 Thread Daniel Drake
On Thu, Mar 29, 2012 at 4:30 PM, James Cameron qu...@laptop.org wrote: I would prefer to switch now. Chris voted for this as well so I went ahead and made the change. Can easily be changed back if it presents problems. Loading a tickets locally on the server went from taking 2.8s to now taking

Re: Trac slowness diagnosis

2012-03-29 Thread Peter Robinson
On Thu, Mar 29, 2012 at 11:30 PM, James Cameron qu...@laptop.org wrote: On Thu, Mar 29, 2012 at 11:52:20AM -0600, Daniel Drake wrote: [...] The main cause of this slowness is that we choose to display potential ticket owners as a drop-down list (rather than a text entry field, the trac

OLPC RPM Repository Access

2012-03-29 Thread Mikus Grinbergs
Did 'yum list olpc-powerd'. On one XO the latest version listed was 46 -- on another XO the latest version listed was 47. Turns out the the XO with the more-up-to-date answer had recently done 'yum clean all'. [My XOs normally run 24/7 - reboots are rare.] There is supposed to be a

Re: Trac slowness diagnosis

2012-03-29 Thread Paul Fox
daniel wrote: On Thu, Mar 29, 2012 at 4:30 PM, James Cameron qu...@laptop.org wrote: I would prefer to switch now. Chris voted for this as well so I went ahead and made the change. Can easily be changed back if it presents problems. Loading a tickets locally on the server went

Re: Trac slowness diagnosis

2012-03-29 Thread James Cameron
On Thu, Mar 29, 2012 at 07:31:18PM -0400, Paul Fox wrote: the lost advantage of the dropdown list is that it can serve as a reminder of how the intended recipient is identified in trac (i.e., smithbone? rsmith? richard_smith? richard?). it would be a huge help if there could be a link to a

Re: Trac slowness diagnosis

2012-03-29 Thread Saadia Husain Baloch
One question: How does the assignee field correspond to an email address? Did all those 5500 alias have a @laptop.org address? -Saadia On Thu, Mar 29, 2012 at 7:51 PM, James Cameron qu...@laptop.org wrote: On Thu, Mar 29, 2012 at 07:31:18PM -0400, Paul Fox wrote: the lost advantage of the

Re: Trac slowness diagnosis

2012-03-29 Thread Walter Bender
On Thu, Mar 29, 2012 at 9:46 PM, Saadia Husain Baloch saa...@laptop.org wrote: One question: How does the assignee field correspond to an email address? Did all those 5500 alias have a @laptop.org address? We could assign one in the process of setting up the account... -walter -Saadia

Re: Trac slowness diagnosis

2012-03-29 Thread James Cameron
On Thu, Mar 29, 2012 at 09:46:45PM -0400, Saadia Husain Baloch wrote: One question: How does the assignee field correspond to an email address? Did all those 5500 alias have a @laptop.org address? Our trac instance still allows creation of accounts before e-mail confirmation, and there are

[Server-devel] School Server system speed diagnotic

2012-03-29 Thread George Hunt
Hi all, In the Philippine deployments, the local decision makers have tried to buy locally, and the machines use roughly 80 watts, idling, bursting to 120 during startup. The inadequate power situation causes rolling brown outs and load shedding. I've been unable to document the decrease in

[Server-devel] xs-pkgs

2012-03-29 Thread Tim Moody
I tried to do an install from OLPC-School-Server-0.7-i386.iso using cobbler. The olpcxs.ks looks for @olpc-xs, but I don't see it in the Packages directory. All I see are: idmgr-0.6.36.ge93529d-1.el6.noarch.rpm olpc-bios-crypto-0.5.26.g1972d11-1.xs11.i586.rpm

Re: [Server-devel] xs-pkgs

2012-03-29 Thread Jerry Vonau
On Thu, 2012-03-29 at 17:52 -0400, Tim Moody wrote: I tried to do an install from OLPC-School-Server-0.7-i386.iso using cobbler. Sorry haven't tried cobbler yet, I'm no help there. The olpcxs.ks looks for @olpc-xs, but I don't see it in the Packages directory. All I see are: