Cannot see activities in joyride-2005
Hello, Yesterday night I did an olpc-update to joyride-2005. After rebooting the system, I no longer had any activities in the ring view. The list view showed a list of faded out activities from /home/olpc . Thinking that it was caused by some settings in /home/olpc, I tried moving /home/olpc aside and creating an empty /home/olpc. But then X11 wouldn't even start. Does someone have a clue of how to restore the activities? Thanks, Dov ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Need help creating .xo file
Hi All , I was wondering if you could help me out with this. I got the activity working fine on the OLPC. Now I want to create a .xo file for my activity so that I can install the activity on other XO's. My activity structure is as follows: -activity --has the .info file and the icon -bin -- has a shell script and the exe which i have to run -lib -- has the libs which my application is dependent on - MANIFEST file There is a shell script in the bin folder which I have included in the exec tag in activity.info. I created the activity bundle according to the information in the post http://olpcnews.com/forum/index.php?topic=1555.0 . I have named my .xo file name.activity.xo If I unzip the .xo in the Activities folder and then restart the X-server it gets installed and I get the icon in the activity tray. I tried installing it by copying the .xo to a thumb drive and then running sugar-install-bundle on the XO but it gave me a DBUS timeout error. I also tried to install it through the browse activity as given in http://wiki.laptop.org/go/Activities#Manual_installation and through the Journal without success. Can you figure out where I am going wrong?? Thanks Shivaprasad ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO communications interface naming
On Wednesday 04 Jun 2008 1:21:34 am Mikus Grinbergs wrote: I don't have wireless - am using an USB-ethernet adapter instead. Network adapters are given logical device names using udev rules. See for rules matching net SUBSYSTEM in /etc/udev/rules.d (usually *persistent-net-generator.rules). On first boot, the generator creates a rule file (*persistent-net.rules) for all persistent detected devices. Subsequently, any hot plugged network device gets assigned the next available sequence number. Does your adapter have a fixed entry in this file? If not, you can add it manually. The list of active network devices is in /proc/net/dev and under /sys/class/net. HTH, Subbu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Project Hosting Application: olpc-netscripts
2008/6/4 Ixo X oxI [EMAIL PROTECTED]: Great idea! I have some scripts, thoughts, and code I might be interested with contributing myself. Is there a start to a list of tools, what they do, and maybe even a 'request/want' list ? AFAIK this is the wiki page: http://wiki.laptop.org/go/Network_Resources ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Need help creating .xo file
On 04.06.2008, at 08:11, shivaprasad javali wrote: Hi All , I was wondering if you could help me out with this. I got the activity working fine on the OLPC. Now I want to create a .xo file for my activity so that I can install the activity on other XO's. My activity structure is as follows: -activity --has the .info file and the icon -bin -- has a shell script and the exe which i have to run -lib -- has the libs which my application is dependent on - MANIFEST file There is a shell script in the bin folder which I have included in the exec tag in activity.info. I created the activity bundle according to the information in the post http://olpcnews.com/forum/index.php?topic=1555.0 . I have named my .xo file name.activity.xo If I unzip the .xo in the Activities folder and then restart the X- server it gets installed and I get the icon in the activity tray. I tried installing it by copying the .xo to a thumb drive and then running sugar-install-bundle on the XO but it gave me a DBUS timeout error. I also tried to install it through the browse activity as given in http://wiki.laptop.org/go/Activities#Manual_installation and through the Journal without success. Can you figure out where I am going wrong?? Not without logs. See http://wiki.laptop.org/go/Attaching_Sugar_Logs_to_Tickets - Bert - ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Need help creating .xo file
2008/6/4 shivaprasad javali [EMAIL PROTECTED]: Can you figure out where I am going wrong?? What's your problem? The bundle seems to install correctly as its icon appears in the shell. Is the problem that the activity doesn't start? Logs will help in any case, as Bert said. Regards, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Need help creating .xo file
The Bundle installs correctly only when I unzip it manually and then restart the X-server. I want to do this through sugar-install-bundle or through browse activity or through Journal. None of which seem to work. Anyway when I tried to install through the sugar-install-bundle command It failed giving a DBus timeout. Here are the log files I got. Thanks Shivaprasad P.S: I didnt which log file would really be useful to you guys so I attached all of them which I thought had some relevant information. On Wed, Jun 4, 2008 at 5:12 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: 2008/6/4 shivaprasad javali [EMAIL PROTECTED]: Can you figure out where I am going wrong?? What's your problem? The bundle seems to install correctly as its icon appears in the shell. Is the problem that the activity doesn't start? Logs will help in any case, as Bert said. Regards, Tomeu 1212594090.268322 INFO root: Starting Datastore /home/olpc/.sugar/default/datastore 1212594090.300597 DEBUG root: IndexManager.connect() 1212594090.333430 DEBUG root: IndexManager.flush: True 0 1212594098.207695 DEBUG root: IndexManager.connect() 1212594098.229774 ERROR root: Error while trying to load mount point /media/RED_DEVIL/.olpc.store: Db block overwritten - are there multiple writers?. Will try to renitialize and load again. 1212594098.247106 DEBUG root: IndexManager.connect() 1212594099.492161 DEBUG root: IndexManager.flush: True 0 1212594099.963942 DEBUG root: Content.suggestName: dbus.String(u'WeDo.activity.xo') 'xo' 1212594099.988344 DEBUG root: FileBackingStore._targetFile: '62f2e012-5c7e-4f72-95e9-56f2b1c7fe76' u'WeDo.activity.xo' None None 1212594101.686014 INFO org.sugar.datastore.xapianindex: created e67e8fd4-7cc6-43ef-a006-0ebb96bcd333:1.0 1212594101.688182 DEBUG root: IndexManager.flush: False 0 1212594101.982632 INFO org.sugar.datastore.xapianindex: updated e67e8fd4-7cc6-43ef-a006-0ebb96bcd333:1.0 1212594102.022779 DEBUG root: IndexManager.flush: False 1 1212594102.089718 INFO org.sugar.datastore.xapianindex: created 95900480-ec3c-495f-8176-276035b01085:1.0 1212594102.091860 DEBUG root: IndexManager.flush: False 2 1212594102.294715 INFO org.sugar.datastore.xapianindex: updated 95900480-ec3c-495f-8176-276035b01085:1.0 1212594102.297006 DEBUG root: IndexManager.flush: False 3 1212594102.505951 INFO org.sugar.datastore.xapianindex: created 7e2a419f-2ce7-47a1-8290-2b66d595c302:1.0 1212594102.509034 DEBUG root: IndexManager.flush: False 4 1212594102.617162 INFO org.sugar.datastore.xapianindex: updated 7e2a419f-2ce7-47a1-8290-2b66d595c302:1.0 1212594102.619336 DEBUG root: IndexManager.flush: False 5 1212594102.728013 INFO org.sugar.datastore.xapianindex: created 7843b2ed-4c8d-41bb-bdfd-99638e3c709b:1.0 1212594102.730134 DEBUG root: IndexManager.flush: False 6 1212594102.821709 INFO org.sugar.datastore.xapianindex: updated 7843b2ed-4c8d-41bb-bdfd-99638e3c709b:1.0 1212594102.823852 DEBUG root: IndexManager.flush: False 7 1212594102.962378 INFO org.sugar.datastore.xapianindex: created 507f7e86-0d97-4cd7-bcba-6c9aa46585a4:1.0 1212594102.964514 DEBUG root: IndexManager.flush: False 8 1212594103.032338 INFO org.sugar.datastore.xapianindex: updated 507f7e86-0d97-4cd7-bcba-6c9aa46585a4:1.0 1212594103.034422 DEBUG root: IndexManager.flush: False 9 1212594103.153525 INFO org.sugar.datastore.xapianindex: created 99937bd5-548c-476f-a3db-982fbba85513:1.0 1212594103.155660 DEBUG root: IndexManager.flush: False 10 1212594103.229656 INFO org.sugar.datastore.xapianindex: updated 99937bd5-548c-476f-a3db-982fbba85513:1.0 1212594103.232318 DEBUG root: IndexManager.flush: False 11 1212594103.310825 INFO org.sugar.datastore.xapianindex: created 2d2f3e8b-63a3-4575-9013-0493d595f27c:1.0 1212594103.312964 DEBUG root: IndexManager.flush: False 12 1212594103.367179 INFO org.sugar.datastore.xapianindex: updated 2d2f3e8b-63a3-4575-9013-0493d595f27c:1.0 1212594103.369309 DEBUG root: IndexManager.flush: False 13 1212594103.444890 INFO org.sugar.datastore.xapianindex: created 5e60098d-0228-46f5-9ab1-4ec4bf9c0aeb:1.0 1212594103.447130 DEBUG root: IndexManager.flush: False 14 1212594103.508198 INFO org.sugar.datastore.xapianindex: updated 5e60098d-0228-46f5-9ab1-4ec4bf9c0aeb:1.0 1212594103.510326 DEBUG root: IndexManager.flush: False 15 1212594103.595810 INFO org.sugar.datastore.xapianindex: created 3de8c1ae-010d-4a6a-9d16-40f992b15bd9:1.0 1212594103.597936 DEBUG root: IndexManager.flush: False 16 1212594103.695864 INFO org.sugar.datastore.xapianindex: updated 3de8c1ae-010d-4a6a-9d16-40f992b15bd9:1.0 1212594103.698615 DEBUG root: IndexManager.flush: False 17 1212594103.776684 INFO org.sugar.datastore.xapianindex: created a1d20289-075c-4309-a413-aad249027ad6:1.0 1212594103.778820 DEBUG root: IndexManager.flush: False 18 1212594103.847745 INFO org.sugar.datastore.xapianindex: updated a1d20289-075c-4309-a413-aad249027ad6:1.0 1212594103.849883 DEBUG root: IndexManager.flush: False 19 1212594103.908298 INFO org.sugar.datastore.xapianindex: created
Re: Cannot see activities in joyride-2005
Dov, First, please file a ticket that sugar fails to start up if /home/olpc is empty/missing. Please CC at least mstone and marco on it. Next, put your /home back in place and try to start Sugar. If you're successful, then go to the list view and click some of the stars so that they become filled with color. Then return to the ring view. Your activities should be present. File bugs if they aren't. Finally, which activities were you expecting to see in the ring view when you updated to joyride-2005? Thanks, Michael ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Cannot see activities in joyride-2005
Michael Stone wrote: Dov, First, please file a ticket that sugar fails to start up if /home/olpc is empty/missing. Please CC at least mstone and marco on it. Next, put your /home back in place and try to start Sugar. If you're successful, then go to the list view and click some of the stars so that they become filled with color. Then return to the ring view. Your activities should be present. File bugs if they aren't. Finally, which activities were you expecting to see in the ring view when you updated to joyride-2005? Thanks, Michael ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel On a related note, I upgraded from Ship.2 656 to joyride-2002 yesterday on some of my lab machines, and ain't no activities at all. I ran into this a few weeks ago with my own personal XO, and I can't remember the solution (which, I think, involved downloading and installing an RPM). -- Marcus LeechMail: Dept 1A12, M/S: 04352P16 Security Standards AdvisorPhone: (ESN) 393-9145 +1 613 763 9145 Strategic Standards Nortel Networks [EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Cannot see activities in joyride-2005
On Wed, Jun 4, 2008 at 4:07 PM, Marcus Leech [EMAIL PROTECTED] wrote: Michael Stone wrote: Dov, First, please file a ticket that sugar fails to start up if /home/olpc is empty/missing. Please CC at least mstone and marco on it. Next, put your /home back in place and try to start Sugar. If you're successful, then go to the list view and click some of the stars so that they become filled with color. Then return to the ring view. Your activities should be present. File bugs if they aren't. Finally, which activities were you expecting to see in the ring view when you updated to joyride-2005? Thanks, Michael ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel On a related note, I upgraded from Ship.2 656 to joyride-2002 yesterday on some of my lab machines, and ain't no activities at all. I ran into this a few weeks ago with my own personal XO, and I can't remember the solution (which, I think, involved downloading and installing an RPM). http://wiki.laptop.org/go/OLPC_Update.1_Software_Release_Notes shows ways of installing the activities. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Need help creating .xo file
Could you upload your .xo somewhere so I can give it a look? Thanks, Tomeu On Wed, Jun 4, 2008 at 3:07 PM, shivaprasad javali [EMAIL PROTECTED] wrote: The Bundle installs correctly only when I unzip it manually and then restart the X-server. I want to do this through sugar-install-bundle or through browse activity or through Journal. None of which seem to work. Anyway when I tried to install through the sugar-install-bundle command It failed giving a DBus timeout. Here are the log files I got. Thanks Shivaprasad P.S: I didnt which log file would really be useful to you guys so I attached all of them which I thought had some relevant information. On Wed, Jun 4, 2008 at 5:12 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: 2008/6/4 shivaprasad javali [EMAIL PROTECTED]: Can you figure out where I am going wrong?? What's your problem? The bundle seems to install correctly as its icon appears in the shell. Is the problem that the activity doesn't start? Logs will help in any case, as Bert said. Regards, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Need help creating .xo file
So can you replace the proprietary code from the bundle, see if you have the same problem then upload? Tomeu On Wed, Jun 4, 2008 at 4:31 PM, shivaprasad javali [EMAIL PROTECTED] wrote: Sorry Tomeu. Its a propreitary product .So cannot upload the.xo. On Wed, Jun 4, 2008 at 7:51 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: Could you upload your .xo somewhere so I can give it a look? Thanks, Tomeu On Wed, Jun 4, 2008 at 3:07 PM, shivaprasad javali [EMAIL PROTECTED] wrote: The Bundle installs correctly only when I unzip it manually and then restart the X-server. I want to do this through sugar-install-bundle or through browse activity or through Journal. None of which seem to work. Anyway when I tried to install through the sugar-install-bundle command It failed giving a DBus timeout. Here are the log files I got. Thanks Shivaprasad P.S: I didnt which log file would really be useful to you guys so I attached all of them which I thought had some relevant information. On Wed, Jun 4, 2008 at 5:12 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: 2008/6/4 shivaprasad javali [EMAIL PROTECTED]: Can you figure out where I am going wrong?? What's your problem? The bundle seems to install correctly as its icon appears in the shell. Is the problem that the activity doesn't start? Logs will help in any case, as Bert said. Regards, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Need help creating .xo file
ok. I will try that. Thanks Shivaprasad On Wed, Jun 4, 2008 at 8:05 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: So can you replace the proprietary code from the bundle, see if you have the same problem then upload? Tomeu On Wed, Jun 4, 2008 at 4:31 PM, shivaprasad javali [EMAIL PROTECTED] wrote: Sorry Tomeu. Its a propreitary product .So cannot upload the.xo. On Wed, Jun 4, 2008 at 7:51 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: Could you upload your .xo somewhere so I can give it a look? Thanks, Tomeu On Wed, Jun 4, 2008 at 3:07 PM, shivaprasad javali [EMAIL PROTECTED] wrote: The Bundle installs correctly only when I unzip it manually and then restart the X-server. I want to do this through sugar-install-bundle or through browse activity or through Journal. None of which seem to work. Anyway when I tried to install through the sugar-install-bundle command It failed giving a DBus timeout. Here are the log files I got. Thanks Shivaprasad P.S: I didnt which log file would really be useful to you guys so I attached all of them which I thought had some relevant information. On Wed, Jun 4, 2008 at 5:12 PM, Tomeu Vizoso [EMAIL PROTECTED] wrote: 2008/6/4 shivaprasad javali [EMAIL PROTECTED]: Can you figure out where I am going wrong?? What's your problem? The bundle seems to install correctly as its icon appears in the shell. Is the problem that the activity doesn't start? Logs will help in any case, as Bert said. Regards, Tomeu ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Joyride-2009 from 1949 (No standard activities)
I too just upgraded to Joyride-2009 last night. I jumped from joyright 1949 to joywrong 2009 (about a 4 week difference)... Had 'standard' G1G1 activities, now it's only the ones which I've custom installed. So. it looks like joyride is going the route of Update.1 ? Shipping with no activities ? -iXo On Wed, Jun 4, 2008 at 7:14 AM, Morgan Collett [EMAIL PROTECTED] wrote: On Wed, Jun 4, 2008 at 4:07 PM, Marcus Leech [EMAIL PROTECTED] wrote: Michael Stone wrote: Dov, First, please file a ticket that sugar fails to start up if /home/olpc is empty/missing. Please CC at least mstone and marco on it. Next, put your /home back in place and try to start Sugar. If you're successful, then go to the list view and click some of the stars so that they become filled with color. Then return to the ring view. Your activities should be present. File bugs if they aren't. Finally, which activities were you expecting to see in the ring view when you updated to joyride-2005? Thanks, Michael ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel On a related note, I upgraded from Ship.2 656 to joyride-2002 yesterday on some of my lab machines, and ain't no activities at all. I ran into this a few weeks ago with my own personal XO, and I can't remember the solution (which, I think, involved downloading and installing an RPM). http://wiki.laptop.org/go/OLPC_Update.1_Software_Release_Notes shows ways of installing the activities. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Joyride-2009 from 1949 (No standard activities)
On Wed, Jun 4, 2008 at 4:38 PM, Ixo X oxI [EMAIL PROTECTED] wrote: I too just upgraded to Joyride-2009 last night. I jumped from joyright 1949 to joywrong 2009 (about a 4 week difference)... Had 'standard' G1G1 activities, now it's only the ones which I've custom installed. So. it looks like joyride is going the route of Update.1 ? Shipping with no activities ? Yes. http://wiki.laptop.org/go/OLPC_Update.1_Software_Release_Notes lists the ways in which you can reinstall the activities. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Cannot see activities in joyride-2005
On Wed, Jun 4, 2008 at 6:58 AM, Michael Stone [EMAIL PROTECTED] wrote: Dov, First, please file a ticket that sugar fails to start up if /home/olpc is empty/missing. Please CC at least mstone and marco on it. FYI, I filed one 5 months ago... the reply was 'won't fix' then it was closed. ;-/ Which wasn't very supportive. . . . . of the process. https://dev.laptop.org/ticket/5992 I'll add mstone and marco, per request... and re-opened it. :) -iXo ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
what about having network connections inhibit sleep?
I just attempted to do an upgrade of one of my machines, and I ran into the problem that if I just kicked off the upgrade and let it sit, it went to sleep in the middle and died. what do people think about the idea of making the existance of established TCP connections inhibit sleep? unfortunantly I don't know exactly what build was on this machine (I loaned it out to a project at USC and they re-imaged it) David Lang ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Wikipedia activity - unstoppable... bug?
Hi Chris, here in Lima, I'm debugging a problem that the local team has shown me with the wilkipedia activity not starting for a second time. The problem is that the server never really closes, so the 2nd invocation finds the socket taken, and can't use it. Apparently this is a common issue with SimpleHTTPServer. We need to be able to close the server when the app closes. I am starting to work on this - but can't get on irc, fascist fw - so if you ahve anyhint, welcome :-) So far my plan is to - learn what signal/event we get from Sugar when the app is closed (do we get one?). I'm *so* not a Sugar developer ;-) - Try if a SIGHUP or SIGTERM will bring it down cleanly - if so, try and send one to the process on close - If signals are not the way, try the recipe at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/336012 Ah, I see that there's a known bug and some recent patches for it: http://dev.laptop.org/git?p=projects/wikiserver;a=summary - do we know what version of the code is in Peru's 703-5 image? 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: Wikipedia activity - unstoppable... bug?
Hi Martin, Hi Chris, here in Lima, I'm debugging a problem that the local team has shown me with the wilkipedia activity not starting for a second time. The problem is that the server never really closes, so the 2nd invocation finds the socket taken, and can't use it. Apparently this is a common issue with SimpleHTTPServer. Thanks for the testing! We saw a report of this from Peru yesterday and fixed it¹, then released Wikipedia-10.xo² with the fix. I think Scott plans on putting Wikipedia-10.xo and other fixes into a 703-6 shortly. learn what signal/event we get from Sugar when the app is closed (do we get one?). I'm *so* not a Sugar developer ;-) This was our first implementation (using an atexit handler) but that handler won't run if the reason the activity dies is due to out of memory, X crashing, or so on. The thread-based solution should be more robust, now that it works; we can guarantee the child thread will die when the parent does. - Chris. ¹: http://dev.laptop.org/git?p=projects/wikiserver;a=commitdiff;h=50c23b4fc0e85d27b654d9b7f64932b3dab44225 ²: http://dev.laptop.org/~cjb/eswiki/Wikipedia-10.xo -- Chris Ball [EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Autoreinstallation image is not signed.
On Tue, Jun 3, 2008 at 10:15 PM, John Gilmore [EMAIL PROTECTED] wrote: Specifically, http://dev.laptop.org/ticket/7125. What do people think of the straw man in that ticket? Should we implement it? My comments are in the ticket; let's move the discussion there, where it belongs. Ditto. Briefly: let's fix the real problem (boot fails) before working on an inadequate workaround (deleting user data). --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO communications interface naming
On Wed, Jun 04, 2008 at 11:49:08AM +0530, K. K. Subramaniam wrote: On Wednesday 04 Jun 2008 1:21:34 am Mikus Grinbergs wrote: I don't have wireless - am using an USB-ethernet adapter instead. Network adapters are given logical device names using udev rules. See for rules matching net SUBSYSTEM in /etc/udev/rules.d (usually *persistent-net-generator.rules). On first boot, the generator creates a rule file (*persistent-net.rules) for all persistent detected devices. Subsequently, any hot plugged network device gets assigned the next available sequence number. Does your adapter have a fixed entry in this file? If not, you can add it manually. The list of active network devices is in /proc/net/dev and under /sys/class/net. Maybe adding the network adapters to udev rules should be done build-wide so that we can eliminate the possibility of unintentional renamings. See: # NetworkManager not tracking interface renames http://dev.laptop.org/ticket/5931 # msh0 interface with a bogus name (msh0_rename) http://dev.laptop.org/ticket/5746 Erik ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Wikipedia activity - unstoppable... bug?
On Wed, Jun 4, 2008 at 10:54 AM, Chris Ball [EMAIL PROTECTED] wrote: Thanks for the testing! We saw a report of this from Peru yesterday and fixed it¹, then released Wikipedia-10.xo² with the fix. I think Scott plans on putting Wikipedia-10.xo and other fixes into a 703-6 shortly. Cool. I applied the patch by hand, and tested it. Before I had a 100% repro, now 0% repro - so fixed (in my limited testing ). This was our first implementation (using an atexit handler) but that handler won't run if the reason the activity dies is due to out of memory, X crashing, or so on. Not sure if it matters, but without the patch it didn't exit on control-q or stop button icon. Everyone's happy that it works... 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: Joyride-2009 from 1949 (No standard activities)
On Wed, Jun 04, 2008 at 04:41:38PM +0200, Morgan Collett wrote: On Wed, Jun 4, 2008 at 4:38 PM, Ixo X oxI [EMAIL PROTECTED] wrote: I too just upgraded to Joyride-2009 last night. I jumped from joyright 1949 to joywrong 2009 (about a 4 week difference)... Had 'standard' G1G1 activities, now it's only the ones which I've custom installed. So. it looks like joyride is going the route of Update.1 ? Shipping with no activities ? Yes. http://wiki.laptop.org/go/OLPC_Update.1_Software_Release_Notes lists the ways in which you can reinstall the activities. You'll want them in /home/olpc/Activities That way they won't be wiped during the system updates. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
iwconfig msh0 channel x broken in joyride 2009?
Hey folks, iwconfig msh0 channel doesn't seem to be working in joyride 2009. iwconfig accepts the command, but does not change the channel. workaround is to use iwconfig on the associated eth0/eth1 interface. Can you advise how to open a ticket on this? thx, Bill McCormick Open innovation lab Nortel ESN 393-6298 External (613) 763-6298 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: OLPC: Open Organized Transparent
What we've got here is a failure to communicate On Tue, May 27, 2008 at 7:38 PM, C. Scott Ananian [EMAIL PROTECTED] wrote: I'm sure I haven't said all the things you'd have liked me to say, but I've done my best to be open and honest here. Thank you for starting this discussion. Thank you for continuing it despite your priorities and time constraints. While much of what follows are direct responses to your email, please don't take it as directed personally. The original post was focused on what the OLPC could do to be more open, organized and transparent. I.e. to create a healthy community. As such the short comings I'm belaboring are with infrastructure, communication, and organization. Though in the end, it all comes down to individuals working together... or not. I'd much more interested in hearing a response to the issues I raised rather than potshots at the messenger... I hope you agree. Issues o how to address in the insider/outsider decisions made behind closed doors issue? o unbundling: hardware, os, drivers, and desktop metaphor o how to seed and grow the community o offer a reference solution embrace all solutions Well, since I'm apparently the one fingered as smart, holier than thou, and derisive, let me publicly apologize for being short-tempered at times. I do get frustrated when I see the same issues pop up over and over again: remember there are many many more of you out there than there are here at 1cc, and in order to be successful we at OLPC *must* allocate our time wisely. Sometimes that means I'm rather short and/or terse. I didn't intend to single you out. Your comments happened to be the easiest to find from an @laptop.org address. In catching up this morning, I noted at least 2 threads where someone was either calling for more professional behavior or a code of conduct. That said, you _are_ an OLPC employee. When I or someone outside the project is unprofessional... we're just lone volunteer assholes. Not to lecture... well yes, I am lecturing. But when you are short/terse it reflects badly on the project and the community atmosphere. Issues popping up again and again are a sign that issues, decisions, and their rational aren't documented well enough. Wiser time management would be to: o respond with a url to documentation (or write it then respond with a url) o ask if there is anything in the referenced documentation that needs to be clarified o ask where the person raising the question looked for their answers o update where the questioner looked first to reference the documentation You aren't bad on #1, but the others... A related issue is when people loudly insist that OLPC solve their personal problem *right now*. Again, we have tens of thousands of machines in the field now, and thousands more every day. You personally may care about, say, Java in your browser, but it is not a priority for OLPC, by which I mean the 3 people I sit next to. No, tell me how you really feel... Which is the OLPC you care about? You and the 3 people sitting next to you? Or the tens of thousands of machines in the field? Where do the children fit in? How about the 8 XO's I purchased. Do you care about them? Or the children who can't use them to run their web-based self-paced mathematics instruction? It reminds me about the parable of the tens of thousands of starfish washed up on the shore. One man stoops, picks one up and throws it in the water. The man next to him says, There are too many. It won't make a difference. The first replies, It made a difference to that one. Don't try to imply that #6454 is a personal problem or that I'm the only one out banging my head up against it. I didn't open it, though I did report my findings in it. FYI #6454 was opened 4 months ago, last updated by me 3 months ago, and never assigned or commented upon by a OLPC or 1cc employee. So please drop the dramatic characterization by implying that I was demanding it be fixed *right now*. Did you bother to read #6454? You certainly didn't update it. Good thing I've spent the last hour trawling through OLPC developer list emails to find out that I am not a priority. It is not part of the software included in our large scale deployments. Ah, but the OLPC has told the public java can be added on after the fact. And what you've told people isn't entirely true. Furthermore, it isn't clear that it ever was true. Your documentation on how to do it is wrong. And the trac ticket is being ignored. I'd like to make it true. By all means work on the problem, and we will certainly help you publicize the solution you come up with as much as we are able, but there are not resources to devote to every feature request. We have to prioritize. Ok. Where is your list of priorities? How does that map to the list of open Trac tickets? Are the milestones dates or features? Will it be the same next week? What is the order of milestones? Where do you track the severity/impact of a
New update.1 build 707
http://pilgrim.laptop.org/~pilgrim/olpc/streams/update.1/build707 Changes in build 707 from build: 706 Size delta: -0.13M -xkeyboard-config 1.1-19.20071130cvs.olpc2 +xkeyboard-config 1.1-20.20071130cvs.olpc2 --- Changes for xkeyboard-config 1.1-20.20071130cvs.olpc2 from 1.1-19.20071130cvs.olpc2 --- + xkeyboard-config-olpc-et.patch: Fixes for the Amharic keyboard -- This mail was automatically generated See http://dev.laptop.org/~rwh/announcer/update.1-pkgs.html for aggregate logs See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a comparison ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: New update.1 build 707
FYI, I was looking through the files... and noticed that http://pilgrim.laptop.org/~pilgrim/olpc/streams/update.1/build-number says build #708 . Not sure if this is supposed to match. . . . . http://pilgrim.laptop.org/~pilgrim/olpc/streams/update.1/LATEST-IS-707 :-) -iXo On Wed, Jun 4, 2008 at 11:53 AM, Build Announcer v2 [EMAIL PROTECTED] wrote: http://pilgrim.laptop.org/~pilgrim/olpc/streams/update.1/build707http://pilgrim.laptop.org/%7Epilgrim/olpc/streams/update.1/build707 Changes in build 707 from build: 706 Size delta: -0.13M -xkeyboard-config 1.1-19.20071130cvs.olpc2 +xkeyboard-config 1.1-20.20071130cvs.olpc2 --- Changes for xkeyboard-config 1.1-20.20071130cvs.olpc2 from 1.1-19.20071130cvs.olpc2 --- + xkeyboard-config-olpc-et.patch: Fixes for the Amharic keyboard -- This mail was automatically generated See http://dev.laptop.org/~rwh/announcer/update.1-pkgs.htmlhttp://dev.laptop.org/%7Erwh/announcer/update.1-pkgs.htmlfor aggregate logs See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.htmlhttp://dev.laptop.org/%7Erwh/announcer/joyride_vs_update1.htmlfor a comparison ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Synaptics multitouch.
Hi, This article's very interesting: http://www.ibm.com/developerworks/library/os-touchpad/ Looks like Synaptics touchpads can detect (up to three?) fingers independently. This would allow us to start prototyping multitouch software using normal laptops. - Chris. -- Chris Ball [EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Synaptics multitouch.
Hi, Looks like Synaptics touchpads can detect (up to three?) fingers independently. This would allow us to start prototyping multitouch software using normal laptops. Ah, looks like I'm wrong. It can detect how many fingers are held down -- which means that you can specify gestures that only fire when the required number of fingers are down -- but there's only one set of x/y coordinates coming from the touchpad rather than one set per finger. - Chris. -- Chris Ball [EMAIL PROTECTED] ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Trac: reports and queries and schema... oh my!
On Wed, Jun 4, 2008 at 3:03 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote: How do I create a report? http://dev.laptop.org/wiki/TracReports tells you about reports, but not how to create one... Unfortunately we cannot allow non-admins to create reports because they are unrestricted queries against the Trac database. Ok. I understand the security and performance concerns there. If I wanted to create a report, who should I contact? One of the Trac admins? Who are the Trac admins? Where is an up-to-date list of Trac admins kept? Is the underlying schema for the Trac database documented anywhere? And the modifications from the vanilla install? How do I view the query underlying a report? Look at the Other formats links at the bottom of the page. Thanks! Now I can have some hope of figuring out why the resultset isn't what I expected. How is it that #6454 is assigned, but doesn't show up under the owner's active tickets report? Which report do you mean? That ticket is open, but not in the accepted state. Some people like to use the open vs. accepted states to show what they are actively working on right now, others just ignore it and go right from open - closed. http://dev.laptop.org/report/4 http://dev.laptop.org/report/5 Where is this open but not accepted state designated? Status? Accepted isn't an option for filtering the Status column. Status doesn't appear to be displayed on the ticket details page. How do I tell if the state is open or accepted? The query for report 4 is: SELECT p.value AS __color__, owner AS __group__, id AS ticket, summary, component, milestone, t.type AS type, time AS created, changetime AS _changetime, description AS _description, reporter AS _reporter FROM ticket t, enum p WHERE status = 'assigned' AND p.name=t.priority AND p.type='priority' ORDER BY owner, p.value, t.type, time So I'm guessing the key here is status = 'assigned'. Will anyone volunteer to mentor me (hold my hand) on this? Should I contact the ticket's owner directly? How do you figure out the email address by owner name? For privacy reasons, you cannot get a users email address from their Trac username. If someone wants to create a table on the wiki somewhere mapping names to people, those that wish to be known can add themselves. If you leave a comment on a ticket, it will be emailed to the owner though. So what recourse do I have when I enter a ticket and nothing happens for 3-4 months? Who do we bump and how do be bump them to find out what is up with an apparently abandoned ticket? cheers, Garrett ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Trac: reports and queries and schema... oh my!
On Wed, Jun 4, 2008 at 3:03 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote: How do I create a report? http://dev.laptop.org/wiki/TracReports tells you about reports, but not how to create one... Unfortunately we cannot allow non-admins to create reports because they are unrestricted queries against the Trac database. Ok. I understand the security and performance concerns there. If I wanted to create a report, who should I contact? One of the Trac admins? Who are the Trac admins? Where is an up-to-date list of Trac admins kept? Is the underlying schema for the Trac database documented anywhere? And the modifications from the vanilla install? How do I view the query underlying a report? Look at the Other formats links at the bottom of the page. Thanks! Now I can have some hope of figuring out why the resultset isn't what I expected. How is it that #6454 is assigned, but doesn't show up under the owner's active tickets report? Which report do you mean? That ticket is open, but not in the accepted state. Some people like to use the open vs. accepted states to show what they are actively working on right now, others just ignore it and go right from open - closed. http://dev.laptop.org/report/4 http://dev.laptop.org/report/5 Where is this open but not accepted state designated? Status? Accepted isn't an option for filtering the Status column. Status doesn't appear to be displayed on the ticket details page. How do I tell if the state is open or accepted? The query for report 4 is: SELECT p.value AS __color__, owner AS __group__, id AS ticket, summary, component, milestone, t.type AS type, time AS created, changetime AS _changetime, description AS _description, reporter AS _reporter FROM ticket t, enum p WHERE status = 'assigned' AND p.name=t.priority AND p.type='priority' ORDER BY owner, p.value, t.type, time So I'm guessing the key here is status = 'assigned'. Will anyone volunteer to mentor me (hold my hand) on this? Should I contact the ticket's owner directly? How do you figure out the email address by owner name? For privacy reasons, you cannot get a users email address from their Trac username. If someone wants to create a table on the wiki somewhere mapping names to people, those that wish to be known can add themselves. If you leave a comment on a ticket, it will be emailed to the owner though. So what recourse do I have when I enter a ticket and nothing happens for 3-4 months? Who do we bump and how do we bump them to find out what is up with an apparently abandoned ticket? cheers, Garrett ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Trac: reports and queries and schema... oh my!
On Wed, Jun 04, 2008 at 04:16:50PM -0400, Garrett Goebel wrote: If I wanted to create a report, who should I contact? One of the Trac admins? Who are the Trac admins? Where is an up-to-date list of Trac admins kept? JG, Noah, me, and Scott can do it for you, among others. Is the underlying schema for the Trac database documented anywhere? Bibliography: http://trac.edgewall.org/wiki/TracDev/DatabaseSchema http://dev.laptop.org/wiki/TracReports http://www.postgresql.org/docs/8.2/static/ http://dev.laptop.org/~coderanger/tracdoc/ And the modifications from the vanilla install? Ask Noah. So what recourse do I have when I enter a ticket and nothing happens for 3-4 months? Who do we bump and how do be bump them to find out what is up with an apparently abandoned ticket? Start poking people on IRC. Come to our ~weekly status meetings and raise the issue there. Send mail to [EMAIL PROTECTED] Michael ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: what about having network connections inhibit sleep?
On Wed, 2008-06-04 at 08:32 -0700, [EMAIL PROTECTED] wrote: I just attempted to do an upgrade of one of my machines, and I ran into the problem that if I just kicked off the upgrade and let it sit, it went to sleep in the middle and died. This specific issue was fixed quite a while ago, IIRC. what do people think about the idea of making the existance of established TCP connections inhibit sleep? Seems brutal. unfortunantly I don't know exactly what build was on this machine (I loaned it out to a project at USC and they re-imaged it) David Lang ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Jim Gettys [EMAIL PROTECTED] One Laptop Per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC Security] G1G1: Security, to enable or disable...
SJ wrote: I continue to be uncomfortable that we are sending out restricted / locked-down machines without a clear need. The arguments made so far for this are 1. Getting G1G1 people to test security steps 2. Protecting G1G1 donors from installing anything but signed builds 3. Showing a pretty boot screen 3. represents a bug that should be fixed. Tying pretty boot to machine-lockdown is arbitrary. agreed. as a G1G1 owner i wanted to see the boot messages quite a long time before i needed or wanted a dev key. 2. assumes that this is the best result for G1G1 donors, which seems unlikely to me. Discovering how to update to anything but the most aggressively promoted builds is already a sign of tech savvy. and that technical savvy will lead them to the developer key, won't it? This protection would still effectively be in place for the vast majority of users for whom it matters if we aggressively recommended to users (say, after a couple of days of use) that they get a developers key if they want full control of their machines for any reason. how would you aggressively recommend anything to a G1G1 user after a couple of days of use? in any case, trust me -- figuring out how to get ofw to boot a new kernel is _way_ harder and scarier than getting the dev key in the first place. :-) 1. is an interesting argument. As with 2, it would still hold if recipients were actively encouraged to get developers keys if they have any interest in having full control of their machines (indeed you could say that they we would have a much better test of the dev-key acquisition process, which currently works more clearly in large batches for countries than for individuals). i would have thought G1G1 proved that dev-key acquisition works just fine. paul =- paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 64.9 degrees) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
RE: OLPC: Open Organized Transparent
-Original Message- From: [EMAIL PROTECTED] [mailto:devel- [EMAIL PROTECTED] On Behalf Of Garrett Goebel Sent: Wednesday, June 04, 2008 11:51 AM To: C. Scott Ananian Cc: devel@lists.laptop.org Subject: Re: OLPC: Open Organized Transparent [snip] Please don't point me at: http://dev.laptop.org/report/6 {6} All Tickets By Milestone (Including closed) [...] Report execution failed: column modified does not exist LINE 16: (CASE status WHEN 'closed' THEN modified ELSE (-1)*p... ^ ...There, opened a ticket on it. And I fixed it in 15 minutes. Just gotta say when there are problems. How do I create a report? http://dev.laptop.org/wiki/TracReports tells you about reports, but not how to create one... Unfortunately we cannot allow non-admins to create reports because they are unrestricted queries against the Trac database. How do I view the query underlying a report? Look at the Other formats links at the bottom of the page. How is it that #6454 is assigned, but doesn't show up under the owner's active tickets report? Which report do you mean? That ticket is open, but not in the accepted state. Some people like to use the open vs. accepted states to show what they are actively working on right now, others just ignore it and go right from open - closed. [snip] Will anyone volunteer to mentor me (hold my hand) on this? Should I contact the ticket's owner directly? How do you figure out the email address by owner name? For privacy reasons, you cannot get a users email address from their Trac username. If someone wants to create a table on the wiki somewhere mapping names to people, those that wish to be known can add themselves. If you leave a comment on a ticket, it will be emailed to the owner though. --Noah ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
RE: Trac: reports and queries and schema... oh my!
-Original Message- From: Garrett Goebel [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 1:17 PM To: Noah Kantrowitz Cc: devel@lists.laptop.org Subject: Trac: reports and queries and schema... oh my! On Wed, Jun 4, 2008 at 3:03 PM, Noah Kantrowitz [EMAIL PROTECTED] wrote: How do I create a report? http://dev.laptop.org/wiki/TracReports tells you about reports, but not how to create one... Unfortunately we cannot allow non-admins to create reports because they are unrestricted queries against the Trac database. Ok. I understand the security and performance concerns there. If I wanted to create a report, who should I contact? One of the Trac admins? Who are the Trac admins? Where is an up-to-date list of Trac admins kept? I think [EMAIL PROTECTED] is the One True Email for such things, but AFAIK the people with admin access are myself, cjb, hhardy, and jg. Is the underlying schema for the Trac database documented anywhere? And the modifications from the vanilla install? We are running stock Trac from 0.11dev (the revision is shown in the lower-left corner). We do have some plugins, but nothing that would alter schemas like that. I think the only one related to tickets is MasterTickets, which adds ticket dependencies. How do I view the query underlying a report? Look at the Other formats links at the bottom of the page. Thanks! Now I can have some hope of figuring out why the resultset isn't what I expected. How is it that #6454 is assigned, but doesn't show up under the owner's active tickets report? Which report do you mean? That ticket is open, but not in the accepted state. Some people like to use the open vs. accepted states to show what they are actively working on right now, others just ignore it and go right from open - closed. http://dev.laptop.org/report/4 http://dev.laptop.org/report/5 Where is this open but not accepted state designated? Status? Accepted isn't an option for filtering the Status column. Status doesn't appear to be displayed on the ticket details page. How do I tell if the state is open or accepted? The status of a ticket is shown next to its title/summary in (). If it is in status==closed, the resolution will also be shown. Look at http://trac.edgewall.org/wiki/TracWorkflow to get an idea of the basic ticket workflow (we use the original workflow). I would like to move d.l.o to a custom-built workflow that better matches how the organization works, but haven't had time. Ticket 6454 is currently in state reopened, and so will not show up as assigned. To move to the assigned state, the assignee would use the accept action at the bottom of their ticket. As I said, the semantics of this are left open. So what recourse do I have when I enter a ticket and nothing happens for 3-4 months? Who do we bump and how do be bump them to find out what is up with an apparently abandoned ticket? If you add a comment, the email will be sent. As Michael said, you can try to directly contact people on IRC/mailing lists if you really think a ticket has been abandoned. --Noah ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Updating a mesh network full of machines.
On Wed, Jun 04, 2008 at 05:52:33PM -0400, C. Scott Ananian wrote: Other folks have reported success using screen or Konsole to send identical commands over ssh to a large number of machines, which is a lower-barrier-to-entry option. Specifically the success I've had with a test bed of eight units was with distributed shell, aka http://www.netfort.gr.jp/~dancer/software/dsh.html debian package dsh ... either preload the image with keys for a remote accessor, or add a key to each newly reimaged laptop. To reboot the entire test bed ... dsh --group xo reboot I've also used a time synchronisation script in earlier builds, might no longer be necessary ... by placing an rdate binary in /usr/local/bin and then ... dsh --group xo --concurrent-shell /usr/local/bin/rdate 10.0.0.1 hwclock --systohc cp /usr/share/zoneinfo/Australia/NSW /etc/localtime date --rfc-3339=ns The distribution of the output is then useful to determine how well the time was set across the test bed. Running it a second time gives better synchronisation, since everything is in memory. -- James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Help packaging some OLPC network status scripts?
On Wed, 4 Jun 2008 at 14:28:53 +0200, Patrice Dumas wrote: I think that it should be better to do a proper release first. Done. License info, README, and tarball-creation Makefile added. See the stub homepage at http://wiki.laptop.org/go/Olpc-netutils for the gory details. Thanks again, Michael home: http://wiki.laptop.org/go/Olpc-netutils src: http://dev.laptop.org/git/projects/olpc-netutils git: git://dev.laptop.org/projects/olpc-netutils tar: http://dev.laptop.org/~mstone/releases/SOURCES/olpc-netutils-0.1.tar.bz2 sig: http://dev.laptop.org/~mstone/releases/SOURCES/olpc-netutils-0.1.tar.bz2.asc ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: what about having network connections inhibit sleep?
what do people think about the idea of making the existance of established TCP connections inhibit sleep? What release are you running? Auto-suspend isn't enabled in production releases. Joyride should be awakened from suspend by any received unicast (TCP) packet, so I'm not sure why you saw it hang in mid-download, if the update was one long continuous TCP download. But if it's rsync, maybe it's driven from the client end (and if the client suspends, the server never sends anything further). The real fix is to only force a suspend when the kernel knows no process is scheduled to run now or soon, and ato waken in less than a whole second. We're slowly working on those issues. If we keep kludging things like TCP, there's never the time to put in the real fixes. John ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC Security] G1G1: Security, to enable or disable...
On Tue, 3 Jun 2008, C. Scott Ananian wrote: . . . The original reason is that it allowed our G1G1 users to more fully exercise/test our secure boot paths, which are used in our deployment countries. This helps G1G1 users be more representative testers, and . . . I'm a G2G2. Among my interests was to experience as much as possible *exactly* what a deployment-country child would be experiencing when opening an XO for the first time (anticipation, mystery, caution about breaking something in limited supply and special, ...?). If I had any idea while I was opening it about running it like an expert, that wouldn't be the experience. So I was happy about the security state. Computing--and the computing use experience OLPC is sharing around the world--involves a lot more than hardware and software, IMO. I also want to be able to examine the XO as thoroughly as possible from my own (USA, educated, experienced, and so on) perspective. In that regard, FWIW I found the various infos I later could find from olpc a bit unclear or even seeming at first glance inconsistent about how usable a G1G1 XO could be as-delivered. My present understanding is that I will need a developer's key, and that I can get one by asking when I'm ready to (though I'm not sure if I would be able to if I were a non-compsci G1G1), tho I am willing to accept that this understanding may be wrong. (FWIW, I'm on this thread only via the security list.) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: what about having network connections inhibit sleep?
On Wed, Jun 4, 2008 at 7:12 PM, John Gilmore [EMAIL PROTECTED] wrote: what do people think about the idea of making the existance of established TCP connections inhibit sleep? What release are you running? Auto-suspend isn't enabled in production releases. Joyride should be awakened from suspend by any received unicast (TCP) packet, so I'm not sure why you saw it hang in mid-download, if the update was one long continuous TCP download. But if it's rsync, maybe it's driven from the client end (and if the client suspends, the server never sends anything further). olpc-update should be touching /etc/inhibit-suspend before it does its work, so it should not be sleeping. If it does, and your build was not ancient, it's a bug and I'd like to know more. The real fix is to only force a suspend when the kernel knows no process is scheduled to run now or soon, and ato waken in less than a whole second. We're slowly working on those issues. If we keep kludging things like TCP, there's never the time to put in the real fixes. Yes. Better integration of suspend and the kernel scheduler is discussed near the end of http://download.laptop.org/content/conf/20080403-olpc-mini-conf/Power/ but I don't think we've made any measurable progress on it since then. Dilinger has been resyncing us with upstream, and deepak just started full-time OLPC work. We could use help! --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC Security] G1G1: Security, to enable or disable...
On Wed, Jun 4, 2008 at 12:15 AM, Paul Fox [EMAIL PROTECTED] wrote: SJ wrote: I continue to be uncomfortable that we are sending out restricted / locked-down machines without a clear need. The arguments made so far for this are 1. Getting G1G1 people to test security steps 2. Protecting G1G1 donors from installing anything but signed builds 3. Showing a pretty boot screen 3. represents a bug that should be fixed. Tying pretty boot to machine-lockdown is arbitrary. agreed. as a G1G1 owner i wanted to see the boot messages quite a long time before i needed or wanted a dev key. http://wiki.laptop.org/go/Cheat_codes the 'check' key is what you are looking for. 1. is an interesting argument. As with 2, it would still hold if recipients were actively encouraged to get developers keys if they have any interest in having full control of their machines (indeed you could say that they we would have a much better test of the dev-key acquisition process, which currently works more clearly in large batches for countries than for individuals). i would have thought G1G1 proved that dev-key acquisition works just fine. That's my hope. Shipping G1G1 with security enabled forced us to properly prioritize bugs with dev key request/fulfillment, and to build tools to make requesting a dev key easy. That was a success, from my perspective. I'd like to be able to offer the same antitheft protection we will be trying to offer Uruguay to G1G1 users as well, on a voluntary basis, and roughly the same reasoning. If something goes wrong or it doesn't work like it should, G1G1 users are communicative and English-literate canaries in the coal mine. And diagnosing and fixing the problem is much easier for G1G1 than it is for some small village in Uruguay a week's walk from anything. But again, my perspective is warped by having to write this code and be confident in its correctness. I want as much help as I can get. --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC Security] G1G1: Security, to enable or disable...
On Wed, Jun 4, 2008 at 9:20 PM, reynt0 [EMAIL PROTECTED] wrote: I also want to be able to examine the XO as thoroughly as possible from my own (USA, educated, experienced, and so on) perspective. In that regard, FWIW I found the various infos I later could find from olpc a bit unclear or even seeming at first glance inconsistent about how usable a G1G1 XO could be as-delivered. My present understanding is that I will need a developer's key, and that I can get one by asking when I'm ready to (though I'm not sure if I would be able to if I were a non-compsci G1G1), tho I am willing to accept that this understanding may be wrong. http://wiki.laptop.org/go/Developer_key I would like to see the link for requesting a developer key made much more prominent in the library. (I've cc'ed SJ specifically to see if he can make that happen for me.) --scott -- ( http://cscott.net/ ) ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: #7188 HIGH Never A: Both telepathies are permanently down
sorry for the multiple tickets. i had a problem accessing trac. ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [squeak-dev] Re: squeak image sometimes takes very long to be responsive after XO suspend
Tomeu and all, At Fri, 16 May 2008 13:53:16 +0200, Tomeu Vizoso wrote: On Fri, May 16, 2008 at 1:50 PM, Ties Stuij [EMAIL PROTECTED] wrote: Basically when coming out of suspend, the Squeak process takes up lots of cpu power and can be unresponsive for about a minute on build 703 (other builds not yet tested). What about: - launch etoys - check its pid - attach to it with strace -p PID and log the output to a file - suspend - resume - check what etoys is doing in that file Good luck, I'm now looking into this, but this may not be an issue with Etoys. I did strace but don't really see any anomaly. (Saw some interesting things, but.) Suppose I start Pippy and run the Lines example, and press the power button to suspend. The laptop suspends and the power LED blinks. But, here is an interesting happens; if I rub the touch pad quickly, or put my four fingers together on the keyboard (at shift, ctrl, tab and `) and slide them over the keyboard to cause a lot of key input (while the laptop is suspended), the the pattern of power LED blinking changes. The LED stays on for a while and turns to off, and come back to on, etc. If I press the power button while the abnormal LED pattern is going, the button press is often ignored. Or, it wakes up one second or such but goes back to sleep. If these things happen, waking up the unit takes time. Etoys doesn't have to be running. When Etoys is running, but you don't touch the laptop while it is suspended, it doesn't happen (that often). This is on a G1G1 machine, update.1-708 with the firmware that comes with it. I created a track ticket (#7196). -- Yoshiki ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [squeak-dev] Re: squeak image sometimes takes very long to be responsive after XO suspend
I forgot to mention one thing. So, Ties, you might be already doing this, but one workaround for the problem is to instruct kids not to touch the keys or touchpad when the unit is suspended... -- Yoshiki ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: what about having network connections inhibit sleep?
On Wed, 4 Jun 2008, C. Scott Ananian wrote: On Wed, Jun 4, 2008 at 7:12 PM, John Gilmore [EMAIL PROTECTED] wrote: what do people think about the idea of making the existance of established TCP connections inhibit sleep? What release are you running? Auto-suspend isn't enabled in production releases. where do I go to discover this? when I handed the machines over for the project one was running a recent (april/may right before the activities were being removed) joyride, and the other was as shipped in december. I think they re-flashed both machines, but I'm not sure what with. I got one to upgrade by hitting the arrow keys every couple of min, but I haven't done the other yet (I want to do it tomorrow, I've got a couple of nieces I'm meeting for the weekend that I want to let loose on them) so I can look at it and try things Joyride should be awakened from suspend by any received unicast (TCP) packet, so I'm not sure why you saw it hang in mid-download, if the update was one long continuous TCP download. But if it's rsync, maybe it's driven from the client end (and if the client suspends, the server never sends anything further). olpc-update should be touching /etc/inhibit-suspend before it does its work, so it should not be sleeping. If it does, and your build was not ancient, it's a bug and I'd like to know more. the machine had a fully charged battery and was plugged into external power, it got to the step where it was doing the rsync, and then a few min later the screen was off. I hit a key and it was still in the rsync and did not recover. The real fix is to only force a suspend when the kernel knows no process is scheduled to run now or soon, and ato waken in less than a whole second. We're slowly working on those issues. If we keep kludging things like TCP, there's never the time to put in the real fixes. Yes. Better integration of suspend and the kernel scheduler is discussed near the end of http://download.laptop.org/content/conf/20080403-olpc-mini-conf/Power/ but I don't think we've made any measurable progress on it since then. Dilinger has been resyncing us with upstream, and deepak just started full-time OLPC work. We could use help! --scott I don't think that a TCP session waiting for data is nessasarily going to schedule anything within any arbatrary 60 second block so the scheduling detection isn't good enough (especially if going to sleep means that you miss the reception of the packet and have to depend on the retry algorithm re-sending it in one of the windows where you wake up) if wake-on-lan works for packets of an existing TCP session, then sleeping (lightly) while waiting is fine. otherwise an established TCP session is a good indication that this isn't a good time to auto-sleep. if activities need to override this it should be by doing something to tell the systems that it doesn't care about the session being brokern. that way unmodified apps won't break unexpectedly (they will prevent the machine from sleeping too soundly and increase power useage, but I think that's a muchmore graceful failure mode) David Lang ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] Edublog notes (was: Re: The road towards xs-0.3 - update)
Hi Martin, You're right we are closer than I thought on first read. Thanks for the added comments. I want to minimize the scope but I see feature creep coming so we better plan for it in advance. Here are some comments on these: - understand a simple level of identity roles (provided by XS facilities, as we've discussed) GS - Agreed. - let users blog, tag, etc - let users mark entries as draft/public/etc - show user's blogs locally GS - On these three: I want the blog hosted elsewhere. There will only be two states for a blog post: draft (AKA stored local or maybe on XS) and Posted (AKA done and sent to blog or sent to teacher for approval). Maybe that's three, Draft, Posted, and Pending approval. Once Posted all posts will only available on the hosted blog. Perhaps a list of URLs to previous posts can be stored for the user but the actual blog posts themselves are only saved at blog hosted site. - allow teachers to approve something for publication GS - Definitely a core requirement. - push queued entries to a remote blog GS - Good point about queuing. We need the right algorithm for retries if connectivity is intermittent. On these: 1 - the school is super-connected to the internet, and everybody publishes _directly_. In that case, we don't need the software - let's just use blogger.com GS - We still need the EduBlog SW in this case. The kids can't easily use blogger.com as it stands now. Problems reported are: User/pass, too many steps to post, can't find URL and no teacher approval/edit. All flagged as critical problems by the user. Good BW and target blogger.com is the use case which first initiated the project. 2 - the school has spotty or no connectivity, and perhaps you want to run a local school blog, not visible for all the world to see. _Some_ entries are tagged public to the world and those get pushed to blogger.com/drupal/moodle GS - This is the secondary use case but clearly a critical need. The intention is to treat it exactly the same as the first but with the target blog being local to XS or LAN. Great comments, thanks! I want to find a minimum achievable set of features that still meets a critical need. Like all successful SW it will live long beyond my time on it so now is the time to architect it for extensibility. I see we need a really good DB data design. I'm not sure that the current team has that experience. If anyone out there wants to help with that let me know ASAP. The replication/queuing posts problem will be a tough one too. Is there any core XS work planned to handle queuing HTTP or other traffic aimed at the WAN? I'd like to pass the buck on that :-) but if nothing is planned we can try something basic like try three times then wait an hour and repeat. I hope we come out of this project with a recipe and key decision points for build any XS hosted Web App... Thanks, Greg S ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Edublog notes (was: Re: The road towards xs-0.3 - update)
On Wed, Jun 4, 2008 at 11:10 AM, Greg Smith (gregmsmi) [EMAIL PROTECTED] wrote: I want to minimize the scope but I see feature creep coming so we better plan for it in advance. Me too. I also want to have a solid app with a long-term maintenance plan :-) Great to hear we aren'to far away... I will snip the many points of agreement, and focus on the interesting parts... - let users blog, tag, etc - let users mark entries as draft/public/etc - show user's blogs locally GS - On these three: I want the blog hosted elsewhere. There will only be two states for a blog post: draft (AKA stored local or maybe on XS) and Posted (AKA done and sent to blog or sent to teacher for approval). As a user, when you are writing the blog entry you need to post and be able to see a preview and edit. That means that we cannot avoid input validation, formatting, etc. Also - we cannot avoid some user management, and database management, however simple. Maybe that's three, Draft, Posted, and Pending approval. Once Posted all posts will only available on the hosted blog. Perhaps a list of URLs to previous posts can be stored for the user but the actual blog posts themselves are only saved at blog hosted site. In any case, that has pushed us into a territory that means that we have to do a lot of the work that forms the core of what a blog is. That is why I am saying we cannot avoid it, and should be reusing an existing blog. If you want to do it the easiest way - take Moodle and customise its existing blog facility to support - teachers can approve - approved posts are pushed out to a public blog and you will have plenty of time to spare - which we can use to tweak moodle a bit :-) I see we need a really good DB data design. I'm not sure that the current team has that experience. If anyone out there wants to help with that let me know ASAP. I can give you a hand if you first pick a good base to work from (hint, hint!) The replication/queuing posts problem will be a tough one too. Is there any core XS work planned to handle queuing HTTP or other traffic aimed at the WAN? I'd like to pass the buck on that :-) but if nothing is planned we can try something basic like try three times then wait an hour and repeat. You can try it on a cron, and if have an exponential backoff. HTTP is not a queuable protocol - though you could do it over SMTP :-) -- i would love to recommend SMTP but it makes things more complex at the remote service end... I hope we come out of this project with a recipe and key decision points for build any XS hosted Web App... My hopes are the same. That's why the first rule is: do not start developing new sw if you can avoid it. Pick the best preexisting candidate, configure, tweak, enhance, patch. 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