[Server-devel] stability of XS 0.5
Given that we still have issues cropping up with XS 0.5, are we still going to call it "stable"? Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information Systems San Francisco State University San Francisco CA 94132 USA http://verma.sfsu.edu/ http://opensource.sfsu.edu/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Collaboration unreliable 0.5
On Wed, Dec 17, 2008 at 5:25 PM, Anna wrote: > I just created a jabber login called "anna-test" via the webadmin interface > and logged in via pidgin. I didn't see anyone online, though I logged out > and logged back in repeatedly. My previously established login could see > seven users online, which matched the online users according to webadmin. > > Only after I restarted the ejabberd service could the anna-test login see > other users. That looks like a bug Guillaume mentioned - https://support.process-one.net/browse/EJAB-731 > This would explain why the issue seemed to resolve itself for us as the > server "matured." I know I've rebooted at some point, thus restarting > ejabberd, after all my regular users were registered. That would make sense and seems to match the bug above. On the other hand, I started with a blank ejabberd mnesia DB, and registered 2 users and it just worked... Hmmm, I may have restarted it to enable debugging - will retest... cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Exploding wireless interfaces on your laptop
On Wed, Dec 17, 2008 at 6:03 PM, Martin Langhoff wrote: > How do you debug this thing? Can you give me a hand? ;-) Right, so I've told udev to get into debug mode, and what it tells me is *very* interesting. When I plug in the antenna (which will trigger 2 device-add events) the first device works out alright... for the second one, the log looks like this udevd-event[4104]: run_program: '/lib/udev/mesh-namer' returned with status 0 udevd-event[4104]: match_rule: set ENV 'INTERFACE_NAME=wmesh0' udevd-event[4104]: udev_rules_get_name: rule applied, 'eth1' becomes 'wlan0' udevd-event[4104]: rename_netif: changing net interface name from 'eth1' to 'wlan0' there's some WTF-ery happening here. Our mesh-namer returns the name we want it to return - and it gets ignored...? cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Exploding wireless interfaces on your laptop
On Wed, Dec 17, 2008 at 5:31 PM, Jerry Vonau wrote: > Or you could edit /etc/udev/rules.d/70-persistent-net.rules and rename > the offending device to be something else, and rename/edit the ifcfg- > file to match the new device name. Yes, could do that too. Anyway - here's an interesting problem. While fiddling with ejabberd, I prepared a patch that renamed wlanX to wmeshX. Installs, nice and all. However... http://dev.laptop.org/git?p=projects/xs-config;a=commit;h=c57d6d8bf0295d4c83f02071d15439845962f661 With this in, the mesh namer script gets all confused, and instead of wmesh0 we get eth1_rename. Unclear why, but that's what we get. I've followed the logic, tried the commands by hand, and it all makes sense. The only thing I'd fix in the script is the grep for msh at the top - it catches mshbond devices too. I'd match 'msh[0-2]'. Still, it doesn't make any difference to the problem I'm seeing. How do you debug this thing? Can you give me a hand? ;-) cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Exploding wireless interfaces on your laptop
On Wed, 2008-12-17 at 11:12 -0200, Martin Langhoff wrote: > It was, however, something a lot more mundane. > > This test machine is a laptop, and sports its own wifi gear > (centrino). Our device naming scheme for the pair of devices that the > Libertas appears as is wlanN/mshN. However, the built-in card took > over wlan0 and so the AA was wlan1/msh0. And some things would still > talk to wlan0 as if it were a libertas. > > The trivial local workaround: blacklist the iwlagn driver so the > machine forgets about it's internal card. Or you could edit /etc/udev/rules.d/70-persistent-net.rules and rename the offending device to be something else, and rename/edit the ifcfg- file to match the new device name. Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Collaboration unreliable 0.5
On Wed, Dec 17, 2008 at 12:55 PM, Martin Langhoff wrote: > > I'm trying to reproduce the problem. Any hints as to how long it takes > for it to happen? What triggers laptops not seeing eachother? I'll > keep trying stuff... but any hint... > I just created a jabber login called "anna-test" via the webadmin interface and logged in via pidgin. I didn't see anyone online, though I logged out and logged back in repeatedly. My previously established login could see seven users online, which matched the online users according to webadmin. Only after I restarted the ejabberd service could the anna-test login see other users. This would explain why the issue seemed to resolve itself for us as the server "matured." I know I've rebooted at some point, thus restarting ejabberd, after all my regular users were registered. Anna Schoolfield Birmingham ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Collaboration unreliable 0.5
2008/12/16 Anna : > So I think we've tested ejabberd on XS 0.5 with as much as any user group Anna, David, I'm trying to reproduce the problem. Any hints as to how long it takes for it to happen? What triggers laptops not seeing eachother? I'll keep trying stuff... but any hint... (All along I am capturing verbose logs of the xmpp traffic and it looks normal so far...) cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Blog Integration && Forewarded Workflow Simplification
2008/12/17 Lucas Wojciehcowski : > What do you think about the moodle Elgg integration? Is that too much "extra > baggage" for the OLPC project, or could it be a nice solution for blog > integration? I wrote most of the Elgg/Moodle integration a few years ago. It's hideous -- in part because Elgg internals are terrible. You don't have to worry, Moodle has 2 blogs available -- the built-in blog, and oublog. Search the archives of this list - oublog seems to be the best fit and once it's in plce, we can probably integrate the edublog work that's been done. > upstream without absolute support of the moodle developers. I _am_ part of the upstream team too ;-) > 2) I understand what you're saying. I think this code change will only > effect students. I really don't think so. > 3) Ok, I can make that little change, although I don't think it would throw > an error... PHP is soft typed... I don't think I tested it without a value > set. Enable warnings, leave it unset, and it *will* complain. Guaranteed :-) > I was thinking that I would be able to get the configuration file from the > users computer with the XO colors, and parse that file through javascript. Javascript can't read outside the sandbox so you can't get that data. One easy trick is to let the user pick the colours. Another possible fix is to steal it from the metadata that's part of the journal. Each kid's journal backup resides on the XS, and it seems to store some colours to remember what icon colours to show. It'd be a horrible and fragile way to guess. The "right" fix is to pass that data at registration time. We'l eventually do that, but it'll take a while :-( cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] New xs-config and a 5.1-dev iso...
On Wed, Dec 17, 2008 at 2:31 PM, Anna wrote: > In one experiment, I registered 2 XOs (XOA and XOB) to the XS and it created > the moodle logins with links on the moodle login page. For some reason, XOA > was given student permissions and XOB was given course creator permissions. That's by design, but undocumented/unpolished as yet. The first user to login to moodle gets a special course-creator account and can designate other users to also have the same role. The scenario works as follows: If the XS is taken to a school with _no_ technical expertise, perhaps by a technician that with limited skills, we can establish a simple protocol: give the first XO to the teacher or principal of the school, and go with him/her through registration and first login to moodle. So the first login ot moodle is "magic". And my intention is to extend that role a bit so that it can do anything that might be needed. So we don't really grant the "admin" role to anyone. As a power user, you _can_ login to moodle as with the "admin" account (and use it to screw things completely too!). The password is created at install time, and saved in /etc/moodle > Then, from XOA, I successfully clicked on the link to login to moodle as XOB > and vice versa. Is it intentional to make the moodle login on the "honor > system?" For now yes -- I'm working on 'magic sign on' from Browse.xo to Moodle so the next release of the XO OS 9.1 can do it... cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Fwd: [Grassroots-l] Need some information about OLPC server
Forwarding from the grassroots-l list. Sameer -- Forwarded message -- From: Manoocher Date: Tue, Dec 16, 2008 at 8:49 PM Subject: [Grassroots-l] Need some information about OLPC server To: grassro...@lists.laptop.org Dears, This is Manoocher salam from OLPC Afghanistan, the OLPC team in Afghanistan just start deploying the XO Laptops for schools, and recently we have planed to distribute 900 Laptops for one of the schools in Jalalabad/ Afghanistan, so we need a Server for these (900) Laptops, I searched on Google but couldn't find, so I need your cooperation in order to find a Server, with the nice specification and fair cost, I appreciate if you response sooner. thanks so much -- Manoocher Salam Dispatch Center Officer One Laptop Per Child (OLPC) Project PAIWASTOON Networking Services Ltd. Email: manooc...@paiwastoon.com.af Mobile: 0093 706 141 593 PAIWASTOON Networking Services Ltd. 1st Street Kart-e Se, House no. 5 Opposite Habibia High School Kabul, Afghanistan www.paiwastoon.com.af www.olpc.af ___ Grassroots mailing list grassro...@lists.laptop.org http://lists.laptop.org/listinfo/grassroots ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Blog Integration && Forewarded Workflow Simplification
What do you think about the moodle Elgg integration? Is that too much "extra baggage" for the OLPC project, or could it be a nice solution for blog integration? I'm not sure how we are going to be able to tackle some of your more ambitious moodle modifications (such as blog integration) working upstream without absolute support of the moodle developers. -- Forwarded message -- From: Lucas Wojciehcowski Date: Tue, Dec 16, 2008 at 1:52 PM Subject: Re: [PATCH] Workflow Simplification To: Martin Langhoff 2) I understand what you're saying. I think this code change will only effect students. 3) Ok, I can make that little change, although I don't think it would throw an error... PHP is soft typed... I don't think I tested it without a value set. I was thinking that I would be able to get the configuration file from the users computer with the XO colors, and parse that file through javascript. >From there, I'm not sure if it would be more efficient to simply call from a library of all possible color combinations or generate the images with a some sort of svg render. On Tue, Dec 16, 2008 at 7:34 AM, Martin Langhoff wrote: > Hi - I've been a bit snowed under :-) some notes... > > On Sat, Dec 13, 2008 at 2:16 PM, Lucas Wojciehcowski > wrote: > > 1) This does NOT happen before the page loads. Unfortunately I can't use > PHP > > to redirect the user gracefully... The place were it makes sense to put > the > > redirection is after the page begins to load. The redirect() function is > > built into moodle, and uses javascript. I would feel more comfortable > using > > the php header to do an immediate server-side redirect, but I would > rather > > leave the program flow intact. > > Hmmm, ok. > > > 2) This does not redirect admins, only users. > > I know, but we won't have admins - there's an admin acct that exists, > but nobody uses it. No access to it. Instead, the teachers in the > school get a role that is a slightly customised "course creator". > > > 3) Do you want me to work upstream? I'm sure I can figure out how to add > a > > configuration variable and submit a more polished patch by tonight. I > just > > ran in sub 20 degree wind, and my hands don't have enough dexterity to > code! > > No - just checking for the option is ok, but we do have to get the > code in shape for eventual inclusion upstream. In your revised patch, > youcheck for the variable in a way that will make PHP throw a warning > if the value is not initialised. In Moodle we generally do > > if (!empty($CFG->foo)) { // does not throw warning > > instead of > > if ($CFG->foo) { // Warning: undefined value > > > 4) I saw those pages, and can't wait to tackle some more of those > problems. > > One little superficial feature I think would be nice to add is having the > > user's avatars reflect their XO colors. That would not be too hard to do > > with a little bit of javascript. I'm really excited by the idea working > with > > the XO web apps. > > Cool - in terms of the XO colours, how would you do that? (I have an > overly complex plan, will take a while to get it done...) > > cheers, > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] New xs-config and a 5.1-dev iso...
On Tue, Dec 16, 2008 at 12:08 PM, Martin Langhoff wrote: > - A new iso candidate > http://xs-dev.laptop.org/xs/other/?C=M;O=D That iso is taking several attempts to upload - I suspect the local ISP is throttling connections. This is what it fixes: http://dev.laptop.org/query?group=status&milestone=xs-0.5.1 and I am working on the ejabberd issue. Are there any other showstoppers or serious annoyances with 0.5? (Other than the crashing Libertas driver if you run it on your laptop?) cheers, martin -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Exploding wireless interfaces on your laptop
I spent a good part of yesterday trying to diagnose why an active antenna was failing to work on my test mauhine. Not only it was failing, over time stranger and stranger messages would appear in dmesg, random strings, chunks of hex. The machine would get less and less stable, things would fail strangely. Ghosts. For a while I thought it was an incompatibility between the newer kernels from Fedora updates and the Libertas firmware. The Libertas driver devs have warned me about this risk. Or perhaps the AA hardware was fried (the lights didn't blink correctly...). Cosmic rays couldn't be discounted either. It was, however, something a lot more mundane. This test machine is a laptop, and sports its own wifi gear (centrino). Our device naming scheme for the pair of devices that the Libertas appears as is wlanN/mshN. However, the built-in card took over wlan0 and so the AA was wlan1/msh0. And some things would still talk to wlan0 as if it were a libertas. The trivial local workaround: blacklist the iwlagn driver so the machine forgets about it's internal card. For 0.6 we'll have to rename the wlanN side of the libertas to get it out of the way. Some conventional laptops do make good candidates for XS kit. back on ejabberd then, martin -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Debugging tips for presence over Telepathy/Gabble?
Le mardi 16 décembre 2008 à 12:19 -0200, Martin Langhoff a écrit : > Looking for Telepathy/Gabble hints... > > With the new ejabberd in 0.5 (2.0.1 + Collabora's patches) people have > reported very unreliable Network View listings. The problem seems to > be that everyone disappears after a short while, and if you leave it > for a few hs, everyone reappears. > > The thread starting with this message has quite a bit of good info - > including the fact that the problem is visible with standard xmpp > clients too - > http://lists.laptop.org/pipermail/server-devel/2008-December/002658.html > > I am starting to work on reproducing it here, with a small number of > XOs. Haven't worked on this area before -- so I am looking for good > hints on this from people who've been doing this lots ;-) env variables GABBLE_DEBUG=all and LM_DEBUG=net would give you debug info and XMPP stanzas exchanged. Few months ago I filled shared roster bug on ejabberd BTS. Maybe you are hitting one of these issue? https://support.process-one.net/browse/EJAB-730 https://support.process-one.net/browse/EJAB-731 https://support.process-one.net/browse/EJAB-732 G. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel