Re: [Sugar-devel] poor man's mmap sliding window on Python 2.5.x

2009-07-06 Thread Benjamin M. Schwartz
Martin Langhoff wrote: Along the way, found that Python 2.5.x doesn't support an offset to mmap(), which at first blush makes re-mapping with a sliding window problematic. Why is an explicit sliding window necessary? Isn't the point of mmap that you can access as you like, and the kernel will

IP addressing + XO MPP connectivity

2009-07-06 Thread Daniel Drake
Hi, When connecting to a MPP-based mesh, the XO ignores the IP address from the MPP DHCP server and instead picks one using autoipd. Does anyone know the motivation behind this? http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/nm-device-802-11-mesh-olpc.c?h=nm-0-6-olpc I'm

Re: [Sugar-devel] poor man's mmap sliding window on Python 2.5.x

2009-07-06 Thread Martin Langhoff
On Tue, Jul 7, 2009 at 2:06 AM, Benjamin M. Schwartzbmsch...@fas.harvard.edu wrote: Is this (a) a kernel bug, (b) Python layering extra caching over mmap, or (c) a misunderstanding of mmap on my part? money is b m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect

Re: [Sugar-devel] poor man's mmap sliding window on Python 2.5.x

2009-07-06 Thread Benjamin M. Schwartz
Martin Langhoff wrote: On Tue, Jul 7, 2009 at 2:06 AM, Benjamin M. Schwartzbmsch...@fas.harvard.edu wrote: Is this (a) a kernel bug, (b) Python layering extra caching over mmap, or (c) a misunderstanding of mmap on my part? money is b huh. I looked through python's mmap implementation [1]

Re: [Sugar-devel] poor man's mmap sliding window on Python 2.5.x

2009-07-06 Thread Martin Langhoff
On Tue, Jul 7, 2009 at 7:16 AM, Benjamin M. Schwartzbmsch...@fas.harvard.edu wrote: huh.  I looked through python's mmap implementation [1] and there doesn't seem to be any caching or funny business going on. I wonder if it could be over-aggressive caching somewhere in jffs2, in an attempt to

Build 802 dead wireless

2009-07-06 Thread Carlos Nazareno
Hi all. I upgraded to build 802 from build 767 via USB drive (os802.usb, os802.toc) 'sudo olpc-update --usb' and now I can't detect any wireless nodes, whether mesh or access point in neighborhood view. Anyone know what's happening/happened? Thanks -Naz -- carlos nazareno

Fwd: Boomingbang project- err BAD ZIP FILE

2009-07-06 Thread Abhishek Indoria
From: Abhishek Indoria Date: Mon, 6 Jul 2009 18:24:36 +0500 Subject: err BAD ZIP FILE in .xo files To: contribut...@laptop.org Hi,sorry for formatting, sent from cell. Now, when i try to install any .xo file after i've installed the key, a message appears in terminal,- file is not a zip

Re: [Server-devel] Gadget on XS

2009-07-06 Thread Walter Bender
We plan to set up a server tomorrow at the Gardner School. Can you point to those instructions you followed to your success? thanks. -walter On Mon, Jul 6, 2009 at 2:34 PM, Dave Bauer dave.ba...@gmail.com wrote: Success! I did a new XS 0.6d2 install and added the gadget RPM. I configured it

Re: [Server-devel] Gadget on XS

2009-07-06 Thread Dave Bauer
Here is what I have so far: XS 0.6 Install frm kickstart Edit /etc/sysconfig/network-scripts/ifcfg-eth0-local for static IP run /etc/sysconfig/olpc-scripts/domain_config Make sure ejabberd is configured correctly Edit /etc/ejabberd/ejabberd.cfg Restart ejabberdctl --node ejabb...@schoolserver

Re: [Server-devel] Automatic @online@ shared roster

2009-07-06 Thread Martin Langhoff
You'll want to comment out the code. Will be in one of (under /var/www/moodle/web, in order of likelyhood) - auth/olpcxs/auth.php (look for a 'cron' function) - local/lib.php (look for a cron function...) - admin/cron.php Sorry for the vagueness. Away from the relevant sourcecode ATM. m

Re: [Server-devel] Gadget on XS

2009-07-06 Thread Martin Langhoff
On Tue, Jul 7, 2009 at 5:00 AM, Walter Benderwalter.ben...@gmail.com wrote: We plan to set up a server tomorrow at the Gardner School. Can you point to those instructions you followed to your success? The question is, IMO: what does gadget do better? The best I understand is that when there are

Re: [Server-devel] Gadget on XS

2009-07-06 Thread Dave Bauer
On Mon, Jul 6, 2009 at 6:00 PM, Martin Langhoff martin.langh...@gmail.comwrote: On Tue, Jul 7, 2009 at 5:00 AM, Walter Benderwalter.ben...@gmail.com wrote: We plan to set up a server tomorrow at the Gardner School. Can you point to those instructions you followed to your success? The

Re: [Server-devel] Automatic @online@ shared roster

2009-07-06 Thread Dave Bauer
Thanks, I figured it must be some cron thing since it kept coming back every couple of minutes. I can track it down from there. I am just doing this to try to understand what gadget is doing. Since XS doesn't use gadget in its specific config, it is just experimental for my own education. Thanks