Re: latest HaitiOS-0.6 very close

2013-12-18 Thread Jerry Vonau
Hi Tim, 

I'd first see if you can build an image with a stock configuration before you 
introduce any changes. I'd create a yum repo containing the rpm on the building 
box, next introduce that yum repo into olpc-os-builder with an entry in the 
[repos] section of the .ini file. ie:

custom_repo_1=1,xo1-fw,file:full/path/to/repo/


After your changes run OOB and check the output/packages.txt to see which 
version was installed.

Jerry


- Original Message -
From: Tim Moody t...@timmoody.com
To: George Hunt georgejh...@gmail.com, Adam Holt h...@unleashkids.org
Cc: Sandra / Sora Edwards-Thro s...@unleashkids.org, Curt Thompson 
curtathomp...@gmail.com, Developers List devel@lists.laptop.org, 
jvo...@shaw.ca
Sent: Wednesday, 18 December, 2013 12:12:48 PM
Subject: Re: latest HaitiOS-0.6 very close




given the potential for error, I re-downloaded the q2f199, and without 
changing name, copied it up to our boot directory. 
 
Then when I tar-ed it all up, downloaded, the tar, expanded, I discovered that 
the presence of the bootfw.zip in the boot directory prevented the 4button 
load (finding the signed OS img using fs.zip or fs0.zip) from working. 
 
The observation was that It didn't find the image after 4 button startup. Then 
moved /boot/bootfw.zip to /boot/bootfw.zip.gh, and the img was loaded. 

I went part way down the road of trying to bundle q2f19 into 21021o0.img, but 
stopped because I hoped the approach you tried would work. 

http://wiki.laptop.org/go/Updating_the_XO#Firmware says the os image includes 
firmware. so I installed olpc-os-builder and had a look at 
olpc-os-12.1.0-xo1.ini, but I don’t see how to rebuild with the later firmware.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: latest HaitiOS-0.6 very close

2013-12-18 Thread Jerry Vonau
Hi all:

- Original Message -
From: George Hunt georgejh...@gmail.com
To: Adam Holt h...@unleashkids.org
Cc: Developers List devel@lists.laptop.org, Sandra / Sora Edwards-Thro 
s...@unleashkids.org, Tim Moody t...@timmoody.com, Curt Thompson 
curtathomp...@gmail.com
Sent: Wednesday, 18 December, 2013 12:01:35 PM
Subject: Re: latest HaitiOS-0.6 very close








On Wed, Dec 18, 2013 at 10:11 AM, Adam Holt  h...@unleashkids.org  wrote: 



Updates on my 4 suggestions from midnight 10hrs ago--forgive me for 
capitalizing names, so we can all focus on getting the very best OS into Sora's 
hands for Haiti during this home stretch Before Midnight EST Tonight: 


1) SOLVED: GEORGE, please add WikipediaFR 36 which works great, just tested it 
this morning by launching it from the Journal view of an inserted USB stick! 
http://activities.sugarlabs.org/en-US/sugar/addon/4540 


Tim said in a previous email that he had done this. I verified. Will wait to 
generate tar.gz until other issues are resolved. 







2a) GEORGE, In response to Tim's earlier mail, I myself don't yet see 
Same-Named http://dev.laptop.org/pub/firmware/q2f19/bootfw.zip within 
http://xsce.activitycentral.com/downloads/HaitiOS-0.6/boot/ . It's vital that 
it be Same-Named (no 0,1,2 or 4 suffx) in the USB stick /boot to allow manual 
upgrade of firmware, no matter what legacy firmware exists on each random XO-1, 
as described here: http://wiki.laptop.org/go/Upgrading_firmware#Recipe 




given the potential for error, I re-downloaded the q2f199, and without changing 
name, copied it up to our boot directory. 


Then when I tar-ed it all up, downloaded, the tar, expanded, I discovered that 
the presence of the bootfw.zip in the boot directory prevented the 4button load 
(finding the signed OS img using fs.zip or fs0.zip) from working. 


The observation was that It didn't find the image after 4 button startup. Then 
moved /boot/bootfw.zip to /boot/ bootfw.zip.gh , and the img was loaded. 

That suggests that the firmware is not signed. Perhaps ask James if that file 
is truly signed. What if you use the firmware found in the latest 13.2.0-13 
image? Have a look at mktinycore[1], if your using the latest version from git 
the firmware is being retrieved from what is the official upgrade rsync repo. 
What if you copy TC's bootfw0.zip to bootfw.zip that should be the latest 
version retrieved if your using a current snapshot.

Jerry

1. http://dev.laptop.org/~quozl/mktinycorexo/mktinycorexo






2b) GEORGE/TIM. Additionally, forced upgrade to 
http://dev.laptop.org/pub/firmware/q2f19/bootfw.zip would be truly lovely if we 
can force the copy of this file to the XO-1's /versions/boot/current/boot/ by 
hook or by crook during the 1st/2nd bootup after reflashing, if for whatever 
reason Jerry's TC tricks do not permit this as he'd hoped. 


3) GEORGE/ SORA should tell us which Activities to relegate to List View in 
addition to Portfolio, Log, Terminal. By default let's have all Activities on 
the ring/spiral available for exploration, even if the ~50 activities gets a 
bit crowded, let's give it a shot. Thanks Sora for manually Starring most all 
activities on your XO-1 business hours today (during your Dulles-MIA flight?) 
so George has marching orders by Dinnertime Latest Please. 



I'm disappointed, but not surprised, that my first attempt to star all the 
activities using the /usr/share/sugar/data/activities.default apparently did 
not work. I'll check it out later today. 





4) TIM/GEORGE. Artistic kids adore TuxPaint we need, as soon as we find a 
working rpm better than 
http://rpmfind.net/linux/rpm2html/search.php?query=tuxpaint and then layer on 
http://people.sugarlabs.org/walter/TuxPaint-6.2.xo or perhaps more likely 
http://dev.laptop.org/~dsd/activities/TuxPaint-6.2.xo ? If George/Tim/Curt can 
any traction at all from Jerry's suggestions here (I have not!) it'd be 
beautiful: 

http://mock.laptop.org/cgit/koji.dist-f17-i686/tree/RPMS/t 
http://mock.laptop.org/cgit/koji.dist-f17-i686/tree/RPMS/t/tuxpaint-0.9.21-8.fc17.i686.rpm
 
http://mock.laptop.org/cgit/koji.dist-f17-i686/commit/RPMS/t/tuxpaint-0.9.21-8.fc17.i686.rpm
 





Also will play with this later today. I'm going to do a 2 hour bike ride during 
the warmth of the day. 





-- 

Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org ! 

___
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: latest HaitiOS-0.6 very close

2013-12-18 Thread Jerry Vonau


http://mock.laptop.org/cgit/local.13.2.0-xo1/tree/RPMS

Use the 'plain' link on the right to save the rpm.

Jerry


- Original Message -
From: Tim Moody t...@timmoody.com
To: Jerry Vonau jvo...@shaw.ca
Cc: Sandra / Sora Edwards-Thro s...@unleashkids.org, Curt Thompson 
curtathomp...@gmail.com, Developers List devel@lists.laptop.org, George 
Hunt georgejh...@gmail.com, Adam Holt h...@unleashkids.org
Sent: Wednesday, 18 December, 2013 3:43:11 PM
Subject: Re: latest HaitiOS-0.6 very close

but is the firmware an rpm?  I assumed it wasn't.

Tim
-Original Message- 
From: Jerry Vonau
Sent: Wednesday, December 18, 2013 4:12 PM
To: Tim Moody
Cc: Sandra / Sora Edwards-Thro ; Curt Thompson ; Developers List ; George 
Hunt ; Adam Holt
Subject: Re: latest HaitiOS-0.6 very close

Hi Tim,

I'd first see if you can build an image with a stock configuration before 
you introduce any changes. I'd create a yum repo containing the rpm on the 
building box, next introduce that yum repo into olpc-os-builder with an 
entry in the [repos] section of the .ini file. ie:

custom_repo_1=1,xo1-fw,file:full/path/to/repo/


After your changes run OOB and check the output/packages.txt to see which 
version was installed.

Jerry


- Original Message -
From: Tim Moody t...@timmoody.com
To: George Hunt georgejh...@gmail.com, Adam Holt 
h...@unleashkids.org
Cc: Sandra / Sora Edwards-Thro s...@unleashkids.org, Curt Thompson 
curtathomp...@gmail.com, Developers List devel@lists.laptop.org, 
jvo...@shaw.ca
Sent: Wednesday, 18 December, 2013 12:12:48 PM
Subject: Re: latest HaitiOS-0.6 very close




given the potential for error, I re-downloaded the q2f199, and without 
changing name, copied it up to our boot directory.

Then when I tar-ed it all up, downloaded, the tar, expanded, I discovered 
that the presence of the bootfw.zip in the boot directory prevented the 
4button load (finding the signed OS img using fs.zip or fs0.zip) from 
working.

The observation was that It didn't find the image after 4 button startup. 
Then moved /boot/bootfw.zip to /boot/bootfw.zip.gh, and the img was loaded.

I went part way down the road of trying to bundle q2f19 into 21021o0.img, 
but stopped because I hoped the approach you tried would work.

http://wiki.laptop.org/go/Updating_the_XO#Firmware says the os image 
includes firmware. so I installed olpc-os-builder and had a look at 
olpc-os-12.1.0-xo1.ini, but I don’t see how to rebuild with the later 
firmware. 

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


Re: latest HaitiOS-0.6 very close

2013-12-18 Thread Jerry Vonau
Think your best bet is to install tuxpaint via yum(yum.cmd - install tuxpaint) 
and in asroot use rpm -Uvh path/to/fw/rpm (installs to /boot/) to upgrade the 
firmware and do any path adjustments or renaming at the same time. You could 
just use rpm commands in asroot also.

Jerry


- Original Message -
From: Tim Moody t...@timmoody.com
To: Jerry Vonau jvo...@shaw.ca
Cc: Sandra / Sora Edwards-Thro s...@unleashkids.org, Curt Thompson 
curtathomp...@gmail.com, Developers List devel@lists.laptop.org, George 
Hunt georgejh...@gmail.com, Adam Holt h...@unleashkids.org
Sent: Wednesday, 18 December, 2013 4:10:15 PM
Subject: Re: latest HaitiOS-0.6 very close

got it.  but now can I just install it with yum.cmd in tiny so I don't have 
to build a whole OS?

Tim
-Original Message- 
From: Jerry Vonau
Sent: Wednesday, December 18, 2013 4:57 PM
To: Tim Moody
Cc: Sandra / Sora Edwards-Thro ; Curt Thompson ; Developers List ; George 
Hunt ; Adam Holt
Subject: Re: latest HaitiOS-0.6 very close



http://mock.laptop.org/cgit/local.13.2.0-xo1/tree/RPMS

Use the 'plain' link on the right to save the rpm.

Jerry


- Original Message -
From: Tim Moody t...@timmoody.com
To: Jerry Vonau jvo...@shaw.ca
Cc: Sandra / Sora Edwards-Thro s...@unleashkids.org, Curt Thompson 
curtathomp...@gmail.com, Developers List devel@lists.laptop.org, 
George Hunt georgejh...@gmail.com, Adam Holt h...@unleashkids.org
Sent: Wednesday, 18 December, 2013 3:43:11 PM
Subject: Re: latest HaitiOS-0.6 very close

but is the firmware an rpm?  I assumed it wasn't.

Tim
-Original Message- 
From: Jerry Vonau
Sent: Wednesday, December 18, 2013 4:12 PM
To: Tim Moody
Cc: Sandra / Sora Edwards-Thro ; Curt Thompson ; Developers List ; George
Hunt ; Adam Holt
Subject: Re: latest HaitiOS-0.6 very close

Hi Tim,

I'd first see if you can build an image with a stock configuration before
you introduce any changes. I'd create a yum repo containing the rpm on the
building box, next introduce that yum repo into olpc-os-builder with an
entry in the [repos] section of the .ini file. ie:

custom_repo_1=1,xo1-fw,file:full/path/to/repo/


After your changes run OOB and check the output/packages.txt to see which
version was installed.

Jerry


- Original Message -
From: Tim Moody t...@timmoody.com
To: George Hunt georgejh...@gmail.com, Adam Holt
h...@unleashkids.org
Cc: Sandra / Sora Edwards-Thro s...@unleashkids.org, Curt Thompson
curtathomp...@gmail.com, Developers List devel@lists.laptop.org,
jvo...@shaw.ca
Sent: Wednesday, 18 December, 2013 12:12:48 PM
Subject: Re: latest HaitiOS-0.6 very close




given the potential for error, I re-downloaded the q2f199, and without
changing name, copied it up to our boot directory.

Then when I tar-ed it all up, downloaded, the tar, expanded, I discovered
that the presence of the bootfw.zip in the boot directory prevented the
4button load (finding the signed OS img using fs.zip or fs0.zip) from
working.

The observation was that It didn't find the image after 4 button startup.
Then moved /boot/bootfw.zip to /boot/bootfw.zip.gh, and the img was loaded.

I went part way down the road of trying to bundle q2f19 into 21021o0.img,
but stopped because I hoped the approach you tried would work.

http://wiki.laptop.org/go/Updating_the_XO#Firmware says the os image
includes firmware. so I installed olpc-os-builder and had a look at
olpc-os-12.1.0-xo1.ini, but I don’t see how to rebuild with the later
firmware.

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


Re: [Server-devel] Moving toward headless install on trimslice

2013-11-17 Thread Jerry Vonau
On Sun, 2013-11-17 at 17:01 -0500, Tim Moody wrote:
 How does the os get onto the trimslice?
 

zcat it onto a SDcard,

 How do you sudo if the only known user is not a sudoer?
 

use su, and the default password setup in the image.

Jerry

 Date: Sat, 16 Nov 2013 12:12:33 -0500
 From: George Hunt georgejh...@gmail.com
 To: XS Devel server-devel@lists.laptop.org
 Subject: [Server-devel] Moving toward headless install on trimslice
 for XSCE
 Message-ID:
 cadfccpv5g3dyxd5mh5qkyxr8hmlzca_dde+yzou73b0njm-...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1
 
 I'm wanting to do the following:
 
- Get rid of the autologon to root at console tty.
- Add a non privileged user (not a sudoer, not wheel), as we had
pre-ansible, (user:admin,pw:12admin), so that the sshd config of
permitrootlogon no can remain in place.
- enable password authentication
- Configure avahi to announce, so that in a trimslice situation, we can
easily determine the remote sshd target ip.
 
 What do people think?
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: [Sugar-devel] Few sugar activities crashes

2013-11-12 Thread Jerry Vonau

Hi Basanta

This is more suitable for the olpc-devel list, but see below



On Tue, 2013-11-12 at 11:25 +0545, Basanta Shrestha wrote:
 
 
 
 On Mon, Nov 11, 2013 at 4:40 AM, Gonzalo Odiard gonz...@laptop.org
 wrote:
 You should check where are you getting the list of activities
 and versions.
 
 In the file  olpc-os-13.2.0-xo4.ini you have a section:
 
 [sugar_activity_group]
 url=http://wiki.laptop.org/go/Activities/G1G1
 
 
 The activities that get installed doesn't match the version shown on
 above link. I wonder why. 
 

OOB will append the sugar version end of that string using 13.2.0, 13.2,
13 in that order so what gets used should be: 

http://wiki.laptop.org/go/Activities/G1G1/13.2
Does that match what is being installed? 

  
 
 this url points to a page with the activities and versions to
 download.
 
 If you want try, I am working with a cloned repository
 https://github.com/godiard/olpc-os-builder/tree/v7.0
 with the last version of sugar, many activities updates,
 and a few changes implemented for the Australia deployment.
 
 Gonzalo
 
 
 Yes I am giving it a try.  
 
 
 
 On Sun, Nov 10, 2013 at 5:56 AM, Basanta Shrestha
 basanta.shres...@olenepal.org wrote:
  HI,
  On my 13.2.0 build, few activities like peppy, write,
 terminal doesn't work.
 
  When I uninstall the default version of terminal ( version
 41) and install
  terminal-40.xo, it works.  But when I try to generate image
 by putting
  version 40
 under /usr/share/doc/olpc-os-builder-7.0.0/examples/activities/
  it doesn't install.
 
  I always use olpc-os-builder --cache-only
 olpc-os-13.2.0-xo4.ini. I was
  wondering will removing --cache-only in the above command
 will look for new
  terminal version and solve the issue?
 
  Or is there a way to exclude installing some sugar
 activities through
  olpc-os.13.2.0.xo4.ini file ? so that I can test and install
 the ones that
  works?
 
  Please suggest.
 

Should you wish to alter the activities you could create your own
microformat page listing your activities or change OOB to use the
sugar_activities_extra module listing each url for the activities you
want to use.

Jerry



  Regards,
  Basanta Shrestha
 
 
  ___
  Sugar-devel mailing list
  sugar-de...@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 
 
 
 -- 
 Basanta Shrestha
 Network Engineer
 Open Learning Exchange (OLE) Nepal
 Tel: +977.1.551, 5520075 Ext. 303
 Cell: +977.9818 605110
 http://www.olenepal.org
 ___
 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: [Sugar-devel] seeking help to enable nepali keyboard input for XO-4

2013-11-11 Thread Jerry Vonau
On Mon, 2013-11-11 at 11:38 -0600, Daniel Drake wrote:
 On Sun, Nov 10, 2013 at 5:18 PM, James Cameron qu...@laptop.org wrote:
  If you need to scale up this change to many laptops, contact
  reu...@laptop.org or myself.  I must know the SKU number.
 
 In the particular case of changing language/keyboard defaults as we
 are discussing, instead of changing manufacturing data I would
 recommend doing it via olpc-os-builder, configuration for [base], see
 http://dev.laptop.org/git/projects/olpc-os-builder/tree/modules/base/README#n46
 

Or use TinyCore's xo-custom plugin to make the customizations to an
existing image on an unlocked XO.

http://dev.laptop.org/~quozl/mktinycorexo/HOWTO.xo-custom

Jerry

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


Re: [Server-devel] aliases for hacking on our XSCE school server

2013-10-27 Thread Jerry Vonau
On Sun, 2013-10-27 at 13:20 -0500, Samuel Greenfeld wrote:
 I know that XSCE currently does some customizations, but personally I
 would prefer to see the normal installation process not modify shell
 aliases or prompts unless explicitly told to.
 

I agree.

 These are more of a user preference than anything necessary for XSCE
 to function. 

+1

 XSCE eventually should not act or install as if it is the sole role
 for a computer even if that is the most common use case.
 

Jerry

 ---
 SJG
 
 On Oct 27, 2013 10:59 AM, George Hunt georgejh...@gmail.com wrote:
 I recently pushed an xs profile to github that will start fine
 tuning the working environment on the XSCE Now I'm thinking
 that I should add and collect some functions and aliases which
 make working with ansible playbooks and github, easier, and
 require fewer keystrokes.
 
 
 So far I've thought of:
 runal = runansible $1 -- runansible-playbook with verbose
 diagnostic ouput to $1 logfile.
 gc $1 $2= git clone github.com/$1/xsce.git --depth=10 $2 --
 for quickly getting our own testing branch down to a unit
 under test
 pullum = git checkout master;git pull upstream master ( might
 need to test whether the first command succeeds before
 executing the second)
 pushob = git push origin $1(branch)
 
 
 The following aliases are currently available - though not
 collected into one place in the profile
 sr = systemctl restart $1
 st = systemctl status $1
 vlm = less /var/log/messages
 du1 = du --max-depth=1 .
 psg = ps -e|grep $1
 
 
 I'm willing to collect everyone's ideas, test them, and update
 the system profile.
 
 
 Send me your suggestions.
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: [Server-devel] [XSCE] Re: XSCE Proposal | Moving to github and notifications

2013-10-13 Thread Jerry Vonau
On Sun, 2013-10-13 at 18:20 -0400, Tim Moody wrote:
 +1 for the move.  I guess you need to be careful with the timing so
 you don’t end up with the repo offline during the sprint, but if you
 feel confident in that then go for it.
  

+1 motion carried, lets proceed. Now the question is working with merge
requests, how are we going to handle that?

Jerry

 ___
 Change of Address
 
 timmo...@sympatico.ca is now t...@timmoody.com
 
 Please change your bookmarks. Thanks.
 ___
 
  
 From: Anish Mangal 
 Sent: Sunday, October 13, 2013 2:11 PM
 To: Martin Dluhos ; xsce-devel 
 Cc: server-devel 
 Subject: [XSCE] Re: [Server-devel] XSCE Proposal | Moving to github
 and notifications
  
 *If* there is consensus on moving to github, should be think about
 making the switch before the hacksprint in SF? It might save us some
 time as then we would have set-up the buildbot, etc.  
  
 On the other hand, if there isn't consensus, maybe the hacksprint
 would be a good opportunity to try github out. 
 
 
 On Wed, Oct 9, 2013 at 8:30 AM, Martin Dluhos mar...@gnu.org wrote:
 On 10/09/2013 11:13 AM, Anish Mangal wrote:
  I think that it would be more appropriate to send
 notifications of merged pull
   requests rather than individual commits to avoid too much
 noise on the channel.
   Those who are interested can always follow the pull
 request link to access
   individual commits.
  
  I would prefer notifications for pull requests *both* when
 they are
  created and when they are merged. The creation of the pull
 request
  will sort of open a review and test window for people
 willing to do
  that, so notifying that event is necessary IMO.
 
 
 Very good point. I agree.
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel
 
  


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


Re: [Sugar-devel] Activity Central's Sugar related priorities.

2013-10-07 Thread Jerry Vonau
On Mon, 2013-10-07 at 19:48 -0400, Walter Bender wrote:
 On Mon, Oct 7, 2013 at 7:45 PM, Ruben Rodríguez
 ru...@activitycentral.com wrote:
 
  Also, there are some bits of code in both Sugar and the activities
  that assume to be running on Fedora, or even on an XO, and those need
  cleaning.
 
 Be nice to know about these so we can fix them.
 

You can start by looking for olpc specific paths that are hard-coded in
places, here is a starting point: 

https://github.com/sugarlabs/sugar/blob/master/extensions/cpsection/power/model.py
https://github.com/sugarlabs/sugar/blob/master/extensions/cpsection/aboutcomputer/model.py
https://github.com/sugarlabs/sugar/blob/master/src/jarabe/controlpanel/gui.py

Jerry

 thx
 
 
  --
  Rubén Rodríguez
  Activity Central: http://activitycentral.com
 
  Facebook: https://activitycentral.com/facebook
  Google+: https://activitycentral.com/googleplus
  Twitter: https://activitycentral.com/twitter
  ___
  Sugar-devel mailing list
  sugar-de...@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
 


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


Re: [Server-devel] Fwd: XS-CE Setup Issue

2013-10-07 Thread Jerry Vonau
On Mon, 2013-10-07 at 12:45 -0700, Anish Mangal wrote:
 Hi,
 
 
 I got this email for an error log of a xsce-0.4, 64 bit installation.
 Any ideas?
 
 
 (I've asked the person concerned to join server-devel, so he can ask
 questions directly in the future).
 
 
 Best,
 Anish
 
 -- Forwarded message --
 From: John Lillis johnmichael...@gmail.com
 Date: Fri, Oct 4, 2013 at 12:09 PM
 Subject: XS-CE Setup Issue
 To: Anish Mangal an...@activitycentral.com
 
 
 Hey Anish,
 
 
 I am trying to setup a small testing server for XS-CE 0.4, but I'm
 getting an error after running xs-setup. I am using Fedora 18 XFCE
 64-bit within a VM. The error can be seen
 here: http://pastebin.com/0H2BNAk7.
 
 
 Thanks in advance,
 
 


./startup.sh: line 233: [: sysadmin:x:1000:1000:System: unary operator
expected
chown: invalid user: ‘admin:admin’

line 233: 
# make a non privileged user, and give her remote access
if [ ! `grep $DEFAULTUSER /etc/passwd` ]; then
adduser $DEFAULTUSER
echo $DEFAULTPASSWORD | passwd $DEFAULTUSER --stdin

The code needs to be re-done to prevent a string being returned when the
test is expecting a number to be returned.

This doesn't address the fact that you can have a 'sysadmin' user and a
'admin' user at the same time. Maybe a better test would be to see if
the 'admin' user has a home directory created already before creating
the 'admin' user account.

Jerry


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


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


Re: pretty boot stall on 1.5

2013-09-05 Thread Jerry Vonau
Hi Kevin,

On Thu, 2013-09-05 at 10:00 -0400, Kevin Gordon wrote:
 Folks.
 
 
 I have a bunch of 1.5's that I purchased used from OLPC Miami that I'm
 prepping to go out through OLPC Canada into the aboriginal
 communities, and I've run into a rather strange issue.  Of the 40
 machines, 27 of them re-image perfectly well and reboot wonderfully
 both on F17 and F14 builds.  All 40 machines are flashed with Q3C07
 OFW.  I can repeatedly, using any of my 10 build sticks, reflash ad
 nauseam, and those 27 little beasts boot up perfectly.
 
 
 However, the other 13 always stall at the end of the pretty boot with
 all the little dots on, and the icon in the middle of the screen.
  Doesn't matter whether F14 or F17 based builds, always the same
 symptoms.  Hang/stall once all the little circle of dots stop
 animating.  There are no SD cards or USB devices attached to any of
 them, and the batteries are all charged up and the machines plugged
 in.
 

I've found when I was fooling around with powerd's code and blew it that
is what occurs, the video system doesn't switch from the DCON chip to
using the cpu. 

 
 Being adventurous, i said to myself, let's do a check-mark key text
 boot on these 13 to perhaps ascertain where it is is hanging up.  Of
 course, when I do the text boot, the problem machines come up
 perfectly every time, again regardless of whether an F17 or F14
 machine.. When ltting it reboot without the check-mark key they again
 stall.
 

Yes, the check-mark key turns the DCON off during boot, that is powerd
job to do once booted.

 
 The serial numbers for the machines have no pattern in this either,
 some in the range go fine, others do not.  All machines are SKU 129.
 
 
 I seem to remember that there was a thread or ticket a while back
 about this, but I cannot seem to locate it.
 
 
 Any ideas??
 
 

One of the first things powerd interacts with is the network card, I'd
run the OFW's tests for wifi. On one of the problem XOs, once in sugar
can you connect to an AP? Can you send me the logs from /var/log off
list to have a quick look at?

Jerry



 Thanks,
 
 
 KG
 ___
 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: pretty boot stall on 1.5

2013-09-05 Thread Jerry Vonau
On Thu, 2013-09-05 at 11:41 -0400, Kevin Gordon wrote:


 Jerry, you're a troubleshooting genius.  Once I got into sugar from
 the check-mark boot, I could see the AP's, but couldn't connect.  
 
 
 Alas, having that insight, this now became a probelm which I had seen
 before and knew how to solve. :-)
 
 
 Yep, as I'm sure everyone on the list will now giggle at me ... the
 hwclock was set to 01/01/1963,.  once i did the date -- set, then
 hwclock --systohc, all works wonderfully on pretty boot.
 
 

That makes sense, the bad date crashed powerd's logging, so the DCON
didn't get switch off as sugar loaded.

 Thanks for the kickstart.  YAY !!!
 

Glad you got it all sorted out.

Jerry


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


Re: [Server-devel] [support-gang] Problems with the School Server and IIAB

2013-09-05 Thread Jerry Vonau
On Thu, 2013-09-05 at 06:49 -0700, Braddock wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 School Server Experts,
 
 We are trying to deploy an Internet-in-a-Box (IIAB) network appliance
 to an OLPC and XS school in Pakistan. (http://internet-in-a-box.org)
 
 I need help getting them instructions so they can access the device
 using their School Server XS 0.7
 
 The IIAB appliance gets an DHCP lease on startup from their XS 0.7 server.
 
 The IIAB appliance registers its name with the DHCP server as know.
 
 In THEORY, on the XS, dhcpd should register the name know with the
 named DNS server (ddns-update-style is set in /etc/dhcpd-xs.conf on my
 own XS installation).  Then students can access the IIAB appliance at
 http://know
 
 - From their reports, this appears to work initially, but after some
 time (DHCP lease expires?) it stops working.
 
 I'm looking for a simple solution to communicate to them to assign the
 IIAB appliance a fixed IP address.  It is currently not (safely)
 possible to configure the IIAB appliance for a static IP.  Then they
 can just refer to it by IP.
 
 I assume it should look something like:
 host know {
  hardware ethernet 00:03:6D:00:83:CF;
  fixed-address 172.18.97.10;
 }
 added to /etc/dhcpd.conf
 

Add that to the template file /etc/dhcpd-xs.conf.in 

xs-domain-config this replaces the domain name marker in the template
while copying the file to /etc/dhcpd-xs.conf
 
reload/restart dhcpd

Jerry

 But with my very limited School Server experience I don't want to lead
 them astray.
 
 Any help appreciated.
 
 - -braddock
 
 
 
 On 08/31/2013 04:03 AM, Kishwer.Aziz wrote:
  Tony,
  
  Since my return from Pakistan in early August, the local support
  team has been struggling with getting the school server and IIAB to
  work on the network they have created using 8 routers (one for
  every class of 20 students)
  
  
  
  I have asked them to explain to me what the problem is and not
  being technical I cannot understand what they are telling me. Given
  below is their technical explanation for what is happening.
  Verbally I have been told that sometimes some children can connect
  while others cannot. When they turn the whole system on and off,
  look for the IP allocated to the IIAB by the Server, give it to the
  children they can connect to it but next day this changes.
  
  
  
  Can you find us a solution for us? Tell us what we are doing
  wrong?
  
  
  
  Regards
  
  
  
  Kishwer
  
  
  
  *From:*Younus Zafar [mailto:younusza...@gmail.com] *Sent:* Friday,
  August 30, 2013 11:45 AM *To:* Kishwer.Aziz *Subject:*
  
  
  
  salam madam
  
  (1)School server is assigning IP of two pools for clients( i-e 
  172.18.96.X  172.18.97.X
  
  (2) it creates problem for Xo's to connect with IIAB server  they 
  cannot  use DNS resolver for domain name “know”
  
  -- */
  
  /*
  
  *Muhammad Younus Zafar* *_S_*_enior *S*ystem *S*upport *E*ngineer_ 
  BR News Room   Aaj News
  
  
  
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
 iQEcBAEBAgAGBQJSKIv7AAoJEHWLR/DQzlZuFrkH/RZDNNvnm6qVhgOdyf/Xhmod
 z0uz0+h1Bwt3FHYWbEz8598Kxp1oDFrunJXf+ozNW6WY0S4rZpKkY7ZLYuu8Ko4a
 J/ONNYx/RIHQn3AG7MrF32yMErLuemnkW3hpzqJZ3/zSN281gytqmyWj/m25RNSy
 x7ImKg0rOee12WNU7hUkT26XosN3FRkyFX/8y6eNBxQ6gjvA2TT+ZsrAClxzelZg
 Ozyirlx3b9whyBdXDFnYZoyxa6Bt9tKE9zXQzMDk/UE5bGf8dOhBJMls69fvuwps
 jlUHHCgF+fR6svgXTHVyrj8kFpmYVxq4nHDh8JUd5cGVucDquG1Z2aV0mUnLKtM=
 =CtwJ
 -END PGP SIGNATURE-
 ___
 support-gang mailing list
 support-g...@lists.laptop.org
 http://lists.laptop.org/listinfo/support-gang


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


Re: [Server-devel] rc.local stall on reboot

2013-08-31 Thread Jerry Vonau
Hi George,

On Sat, 2013-08-31 at 21:32 -0400, George Hunt wrote:
 I'm in Haiti, with limited internet access.  Adam reports that the
 reboot at Silar's orphanage is stalling, and when he hits escape, we
 sees a red star traveling left and right, and an error message, which
 talks about a stop script.
 
 
 
 I am using rc.local to start up wvdial , which in turn stimulates
 the 3g ZTE USB modem, and opens up a vpn connection.
 

Hey George, disable that script, lets check 
/etc/NetworkManager/system-connections for any weird looking connections

next go to run level 5 (telinit 5), open My Computer and go to the Modem
Configuration and configure the connection there. 

Once the connection is active I'd would look at how it was configured by
Sugar. Open terminal and type nm-connection-editor, you might have 2
modem connections pick the one with the long UUID appended to the named
and on click edit and ensure both connect automatically and available
to all users are ticked. Reboot

Once rebooted check if the connection is now active with ifconfig and
route -n, if they are not present we need to do some further debugging.

If you have a default gateway present run xs-setup-network to detect the
gateway, this should setup the iptables' rules needed and with a little
luck when you reboot every just works.  

Jerry



 
 What is the protocol so that it does not try to run the script also
 for shutdown?
 
 
 Any suggestions.
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: Reflashing over a network

2013-08-29 Thread Jerry Vonau
Hi James,

On Thu, 2013-08-29 at 18:19 +1000, James Cameron wrote:
 On Wed, Aug 28, 2013 at 08:53:33AM -0400, Tim Moody wrote:
  I have been interested in this approach for some time, but was told
  that the XO boot process that looks for a particular network name or
  SSID is not implemented on recent XOs.  Bug or design choice, what
  is the likelihood that this will be an option going forward?
 
 It was a bug.  It is now fixed.  It is 95% likely to be an option
 going forward, but you must upgrade the firmware on XO-1.5, XO-1.75
 or XO-4.  See below for the upgrade.

Sorry I've known about the different behaviours since I've been
involved. Didn't know that it was considered a bug, just a reduced
feature set in favour of NANDBlaster is what I thought when I first got
involved. Didn't want to upset the apple cart.

 On Wed, Aug 28, 2013 at 03:52:46PM +0200, Tony Anderson wrote:
  This is getting interesting but I am still not sure I understand the
  process.
  
  As I understand it, the XO will attempt to download the
  
  fs.zip (appropriately named)
  
  and then the
  
  os.img
  
  from 172.18.0.1 using http protocol.
 
 Yes.
 
  However, this currently only works for XO-1 because of a bug in the
  firmware.
 
 Yes.  The bug number is #12740, and the fixes are available in
 
   http://dev.laptop.org/~quozl/q3c16je.rom
   http://dev.laptop.org/~quozl/q4d34je.rom
   http://dev.laptop.org/~quozl/q7b37je.rom
 
  There is an alternative via
  
  boot net
  
  which invokes a different firmware process that is working in all XO
  models. This process uses tftp. The server would respond to a tftp
  request from the XO by sending the fs.zip and .img files.
  

Is tftp used just to retrieve the fs.zip file? Is there a speed
advantage over http with tftp?

 No point, 'cause the time you waste getting a Forth program into the
 laptop is better spent getting the install data into the laptop.
 

The old recipe called for NN PP tags to be added that to OFW, not needed
if you use OLPCOFW now.

 Yes.  It works here, I just tried it with Q4D34JE with the web server
 on 172.18.0.1 loaded with 32013o2.zd and fs2.zip.
 
172.18.0.1 would need to be available/aliased on the server for this as
that is coded as the default for the http transfer? In contrast tftp
would rely on the DHCP server for the server to contact and doesn't have
this limitation.

  I can't seem to find /packages/obp-tftp on dev.laptop.org/git/.
In Lession 12 Automatic Net Booting refers to obp-tftp, I miss-took that
as a different/separate project, it's a sub-package build into OFW. 

  I
  suppose if we craft an olpc.fth script to setup the wifi networking
  that could be used in place of the 4 button boot?
 
 I don't understand the question, sorry.
 

I'm was just wondering if we can override what is defined in firmware by
booting a usb flashdrive with the same commands that you would use for
initializing the wireless for example flashing of firmware. I mean
setting of the SSID(MM), wep/wpa(PP), that sort of thing. Much easier to
just configure an open access point with OLPCOFW.

 Here's what happens if the four game key boot method is used:
 
 In the absence of USB drive, SD card, or a nearby NANDblaster, the
 firmware will open the network, which means one of either:
 
 - initialise the USB ethernet device, or
 
 - associate with either OLPCOFW or the SSID identified by the NN tag,
 
 and then send an HTTP GET to 172.18.0.1 asking for the file fsN.zip,
 which it then validates against the security system, before executing
 it as normal as if it had been found on USB drive.
 

I take it this would be for signed build only or can the image be
unsigned if the XO is unlocked? 

Thank you for the detailed explanation,

Jerry

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


Re: Boot os 13.2.0 from SD card (XO-1, XO-1.5)

2013-08-22 Thread Jerry Vonau
On Thu, 2013-08-22 at 19:52 +, Chris Marshall wrote:
 Hi-
 
Hi Chris,

 I'm trying to make an OS install SD card
 for 13.2.0 for an XO-1.5 and XO-1 in order
 to speed things up and to allow more
 memory for yum installs.
 

Just to be clear here, you what to run the os from the external SDcard
slot? or install from the SDcard slot to the internal storage? Have you
looked at olpc-os-builder to create an image with your rpms
pre-installed?  

 Unfortunately, things seem to have changed
 a lot since the last time I went through this
 process circa the os 8.2 release.
 
 I've been trying to follow the directions from
 the OLPC Wiki on the following pages:
 
   http://wiki.laptop.org/go/OS_images_for_USB_disks
   http://wiki.laptop.org/go/Custom_bootloader
 
 but they are mostly out of date enough so that
 I can't connect the dots to get a working version
 by myself.  In fact, if I have an ext2/ext3/ext4
 file system on the SD card, the OFW doesn't
 even see the card (it does if the fs is FAT32).
 
 Are there any updated/consolidated instructions
 for an SD card boot creation (as used to be
 available in the standard OS builds)?
 

To install to an external SDcard for 1.5, 1.75, 4's you would need to
have your *.zd file on a usb flashdrive inserted into the XO, access
OFW's OK prompt then type:

devalias fsdisk ext:0 enter
fs-update u:\image.zd enter

enter is the enter key
replace image with the name of the image you want to install.
Please remember that *1.zd is for XO-1.5's, *2.zd is for XO-1.75's,
*4.zd is for XO-4's.

Jerry

 Thanks in advance,
 Chris
 ___
 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


adding a new CA root certificate

2013-08-21 Thread Jerry Vonau
Hi all:

What steps must I take to install a new root CA certificate so Browse
can use it? When I click on the hyperlink of the certificate it get
downloaded to the journal unlike firefox or older Browse where you are
prompted.

Thanks for any hints,

Jerry

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


adding a new CA root certificate

2013-08-21 Thread Jerry Vonau
Hi all:

What steps must I take to install a new root CA certificate so Browse
can use it? When I click on the hyperlink of the certificate it gets
downloaded to the journal unlike firefox or older Browse where you are
prompted.

Thanks for any hints,

Jerry

PS, this is a resend of an email that was sent to sugar-devel 
olpc-devel, this list doesn't like having 2 email addresses in the To
line.

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


Re: 13.2 query

2013-08-20 Thread Jerry Vonau
On Mon, 2013-08-19 at 23:34 -0700, Hal Murray wrote:
 qu...@laptop.org said:
  Hmm, there should be, though it might be the word English in another
  language. 
 
 There are 3 choices on the pull-down list.  They look like the same 3 I had 
 before.  The format is things like:
   Kreyol (Haiti)
 but the stuff inside () is useless (to me) for Dari and Pashto.
 
 There is no circle-minus box available.  It doesn't even tell me what the 
 current language is.
 
 Anybody know where that selection is stored so I can edit it with a text 
 editor?
 
 
/home/olpc/.i18n

Jerry

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


Re: [Sugar-devel] How everyone can help with 0.100

2013-08-17 Thread Jerry Vonau
On Sat, 2013-08-17 at 12:14 +0200, Daniel Narvaez wrote:
 On 17 August 2013 12:03, Daniel Narvaez dwnarv...@gmail.com wrote:
 On 17 August 2013 05:21, Jerry Vonau jvo...@shaw.ca wrote:
 
 Adding in olpc-devel.
 
 On Sat, 2013-08-17 at 03:34 +0200, Daniel Narvaez
 wrote:
  This is based on the last sugar-build configuration
 which supported
  fedora 18. Note, I'm guessing a lot, you should give
 it a try before
  settling on a plan.
 
  * webkitgtk
 
 
 
  which drags in
 
 
  libsoup
  glib
  gobject-introspection
  pygobject
  dbus-python
 
 
 
 Kind of need to know the exact versions of the above
 packages, olpc is
 carrying patched versions[1] of a couple of those
 packages, so we need
 to be careful here. Anybody want to chime in on what
 patches need to be
 present for the XOs?
 
 
 I would take versions/specs from the Fedora 19 latest updates
 and add the following patches
 
 
 gobject-introspection:
 
 stringfix2.patch
 str.patch
 stringfix3.patch
 
 
 
 pygobject:
 
 Consolidate-signal-connection-code.patch
 Optimize-connection-of-Python-implemented-signals.patch
 Optimize-property-get-set-when-using-GObject.props.patch
 Optimize-signal-lookup-in-gi-repository.patch
 Simplify-registration-of-custom-types.patch
 
 
 
 Alternatively, use the F20 versions/specs and don't add any patch. Not
 sure which is better... If the patches apply cleanly or can be
 trivially ported I'd rather use the F19  versions/specs, which is what
 we currently have in sugar-build too.
 

Thank you for the very useful information and advice.

Jerry



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


Re: [Server-devel] Server-devel Digest, Vol 76, Issue 21

2013-08-17 Thread Jerry Vonau
On Sat, 2013-08-17 at 07:40 +0200, Tony Anderson wrote:
 Hi,
 
 My point about the UPS is that an off-grid setup doesn't need one which
 somewhat offsets the additional cost of supporting a hard drive.

Yea the cost savings can go towards a proper 12v deep cycle battery. 

 Currently the two schools in Lesotho are using MSI Nettop as school 
 servers. In the context of charging 30-100 XOs, the additional power 
 consumed by the school server is negligible.
 
 However, at the second school which charges the laptops using individual 
 solar panels, the school server takes a dedicated solar panel charging a 
 pair of car batteries.
 
 The big surprise was that the MSI does not boot on 12vdc. This required
 adding an inverter (designed to charge laptops from a car battery).
 

Good to know, thanks.

 I was hoping the Trim-Slice H would be suitable. I am concerned with its 
 fixed 1GB memory. The Utilite looked like a promising alternative, but 
 supports only SSD. We may have to wait for nettops based on the new
 Atom technology for a one-box solution. In the meantime, the current 
 Atom based systems are doable in an off-grid deployment.
 
 By the way, the need for the school server is closer to 50 hours per 
 week than 24/7. Normally it needs to be booted only during the hours 
 when children are in school.
 

Valid point, that should be taken into account when calculating total
power requirements.

Jerry

 Tony
 
 On 08/17/2013 06:21 AM, Jerry Vonau wrote:
  On Sat, 2013-08-17 at 05:49 +0200, Tony Anderson wrote:
  Hi,
  
  What is the disk capacity required by internet-in-a-box?
  
  600-700 gigs
 
  The purpose of the server is to deliver the information not available
  from the internet.
  
  Yup, or when your offline.
 
  The cost of a UPS which is required for a system on the grid is $80-100.
  
  Think the issue is mainly about off-grid systems, those are usually 12v.
  What would be neat is if there was a power supply that you could replace
  in your standard PC that used 12v as the supply voltage. Anybody know of
  a manufacture that supplies one? I'd hate to see what the size of the
  battery pack and the recharging requirements needed of the
  solar/wind/insert others recharging system that would be needed to run
  such a beast.
 
  In my experience, there is need for one school server at a school
  supporting 30-200 XOs.
  Know of any low power devices that you might recommend for off-grid use?
 
  Jerry
 
 


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


[Fwd: PEAP and keyfile]

2013-08-16 Thread Jerry Vonau
Hi All,

In 13.1.0 [1] were used while 13.2.0 uses [2].

Any ideas on how to solve this one? Next week I'll try replacing the
non-working connection file with the one that does work when I have
access to that network again.  

Jerry

 Forwarded Message 
From: Jerry Vonau jvo...@shaw.ca
To: networkmanager-l...@gnome.org
Subject: PEAP and keyfile
Date: Fri, 16 Aug 2013 19:31:20 -0500

Hi All:

I've ran into a situation that I'm not sure in how to handle with these
packages[1] I was able to use nm-connection-editor with only the keyfile
plugin to create the system connection with ease and resulted in this
configuration:  

[802-1x]
eap=peap;
identity=x
phase2-auth=mschapv2
password=y

[802-11-wireless-security]
key-mgmt=wpa-eap

After updating the rpms[2] using nm-connection-editor results in this
configuration:

[802-11-wireless-security]
key-mgmt=wpa-eap

[802-1x]
eap=peap;
identity=x
phase2-auth=mschapv2
password-flags=1
system-ca-certs=true


I'm at a bit of a loss as to what to do about this, any help or pointers
would be grateful. I understand that password-flags=1 hands this over to
an auth agent for the secrets, gnome keyring is running but with an
empty password. I clicked ignore when prompted for the certs file. I've
tried to downgrade back to [1] but with the same results. Am I running
into some polkit issue here? What other dependencies might I have to
downgrade to return to the same functionality?

Thank,

Jerry


1.
NetworkManager-0.9.7.0-8.git20121004.fc18.armv7hl
network-manager-applet-0.9.7.0-4.git20121016.fc18.armv7hl
NetworkManager-glib-0.9.7.0-8.git20121004.fc18.armv7hl
nm-connection-editor-0.9.7.0-4.git20121016.fc18.armv7hl

2.
NetworkManager-0.9.8.1-3.git20130514.fc18.armv7hl
network-manager-applet-0.9.8.1-3.git20130430.fc18.armv7hl
NetworkManager-glib-0.9.8.1-3.git20130514.fc18.armv7hl
nm-connection-editor-0.9.8.1-3.git20130430.fc18.armv7hl




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


Re: [Sugar-devel] How everyone can help with 0.100

2013-08-16 Thread Jerry Vonau
Adding in olpc-devel.

On Sat, 2013-08-17 at 03:34 +0200, Daniel Narvaez wrote:
 This is based on the last sugar-build configuration which supported
 fedora 18. Note, I'm guessing a lot, you should give it a try before
 settling on a plan.
 
 * webkitgtk
 
 
 
 which drags in
 
 
 libsoup
 glib
 gobject-introspection
 pygobject
 dbus-python
 

Kind of need to know the exact versions of the above packages, olpc is
carrying patched versions[1] of a couple of those packages, so we need
to be careful here. Anybody want to chime in on what patches need to be
present for the XOs?

* gwebsockets

What are its dependencies?

 * libxklavier (not needed on the XO according to Jerry).
 

See for yourself[2], olpc doesn't ship sugar-cp-keyboard.

Jerry
 
1.http://mock.laptop.org/cgit/local.13.2.0/tree/SRPMS
2.http://download.laptop.org/xo-4/os/official/13.2.0-13/32013o4.packages.txt

 
 The first group of dependencies are probably going to be quite a pain.
 So you might want to patch webactivity.py to support webkit1 instead.
 
 That would leave only gwebsockets. Add sugar, sugar-toolkit-gtk3,
 sugar-datastore, sugar-artwork. A total of five packages, not too bad.
 
 
 On Saturday, 17 August 2013, Martin Abente wrote:
 I think that having these packages on a publicly available
 repo would be of great help, not only for testing but also for
 developing... I know that maintaining specs and a building
 system sounds like headache now... but what if we can split
 the work?
 
 Daniel, how many system packages (aprox) are we talking about?
 
 
 
 On Fri, Aug 16, 2013 at 8:27 PM, Jerry Vonau jvo...@shaw.ca
 wrote:
 OLPC doesn't ship with cp-keyboard installed perhaps
 for testing on XOs
 we could just patch that out at rpm generation like
 OLPC had done in the
 past.
 
 Jerry
 
 On Sat, 2013-08-17 at 02:17 +0200, Daniel Narvaez
 wrote:
  By the way I think libxklavier 5.4 is not even in
 Fedora 19 but it's
  required for the keyboard control panel section to
 work.
 
  On Saturday, 17 August 2013, Daniel Narvaez wrote:
  From memory gwebsockets 0.3, libxklavier
 5.4, webkitgtk
  2.0.x. There are almost certainly more deps.
 (We really need
  to start tracking our dependencies more
 systematically but
  it's tricky).
 
  On Saturday, 17 August 2013, Jerry Vonau
 wrote:
  On Thu, 2013-08-15 at 10:57 +0200,
 Daniel Narvaez
  wrote:
   It would be nice but I think it
 would involve a non
  trivial amount of
   work to do it properly. It's not
 just rebuilding the
  sugar rpms, there
   are system dependencies that would
 need to be
  built... latest
   libxklavier and webkitgtk comes to
 my mind, but
  there is probably
   more.
  
  
 
  What versions of the above packages
 and gwebsockets
  are required?
 
  Jerry
 
  
   On 15 August 2013 05:12, Martin
 Abente
   martin.abente.lah...@gmail.com
 wrote:
   +1 This would be great!
  
  
  
   On Wed, Aug 14, 2013 at
 8:42 PM, Gonzalo
  Odiard
   gonz...@laptop.org
 wrote:
   +1 to have rpms to
 install over
  13.2.0
   In this way we can
 isolate for other
  changes on the
   distro,
   for every change

How everyone can help with 0.100 forwarded

2013-08-16 Thread Jerry Vonau
Sorry to those who receive this twice.  

On Fri, 2013-08-16 at 22:21 -0500, Jerry Vonau wrote:
 Adding in olpc-devel.
 
 On Sat, 2013-08-17 at 03:34 +0200, Daniel Narvaez wrote:
  This is based on the last sugar-build configuration which supported
  fedora 18. Note, I'm guessing a lot, you should give it a try before
  settling on a plan.
  
  * webkitgtk
  
  
  
  which drags in
  
  
  libsoup
  glib
  gobject-introspection
  pygobject
  dbus-python
  
 
 Kind of need to know the exact versions of the above packages, olpc is
 carrying patched versions[1] of a couple of those packages, so we need
 to be careful here. Anybody want to chime in on what patches need to be
 present for the XOs?

I'm looking for help on which patches might be now included in the
upstream packages and are no longer need.

 * gwebsockets
 
 What are its dependencies?
 
  * libxklavier (not needed on the XO according to Jerry).
  
 
 See for yourself[2], olpc doesn't ship sugar-cp-keyboard.
 

Jerry

  
 1.http://mock.laptop.org/cgit/local.13.2.0/tree/SRPMS
 2.http://download.laptop.org/xo-4/os/official/13.2.0-13/32013o4.packages.txt
 
  
  The first group of dependencies are probably going to be quite a pain.
  So you might want to patch webactivity.py to support webkit1 instead.
  
  That would leave only gwebsockets. Add sugar, sugar-toolkit-gtk3,
  sugar-datastore, sugar-artwork. A total of five packages, not too bad.
  
  
  On Saturday, 17 August 2013, Martin Abente wrote:
  I think that having these packages on a publicly available
  repo would be of great help, not only for testing but also for
  developing... I know that maintaining specs and a building
  system sounds like headache now... but what if we can split
  the work?
  
  Daniel, how many system packages (aprox) are we talking about?
  
  
  
  On Fri, Aug 16, 2013 at 8:27 PM, Jerry Vonau jvo...@shaw.ca
  wrote:
  OLPC doesn't ship with cp-keyboard installed perhaps
  for testing on XOs
  we could just patch that out at rpm generation like
  OLPC had done in the
  past.
  
  Jerry
  
  On Sat, 2013-08-17 at 02:17 +0200, Daniel Narvaez
  wrote:
   By the way I think libxklavier 5.4 is not even in
  Fedora 19 but it's
   required for the keyboard control panel section to
  work.
  
   On Saturday, 17 August 2013, Daniel Narvaez wrote:
   From memory gwebsockets 0.3, libxklavier
  5.4, webkitgtk
   2.0.x. There are almost certainly more deps.
  (We really need
   to start tracking our dependencies more
  systematically but
   it's tricky).
  
   On Saturday, 17 August 2013, Jerry Vonau
  wrote:
   On Thu, 2013-08-15 at 10:57 +0200,
  Daniel Narvaez
   wrote:
It would be nice but I think it
  would involve a non
   trivial amount of
work to do it properly. It's not
  just rebuilding the
   sugar rpms, there
are system dependencies that would
  need to be
   built... latest
libxklavier and webkitgtk comes to
  my mind, but
   there is probably
more.
   
   
  
   What versions of the above packages
  and gwebsockets
   are required?
  
   Jerry
  
   
On 15 August 2013 05:12, Martin
  Abente
martin.abente.lah...@gmail.com
  wrote:
+1 This would be great!
   
   
   
On Wed, Aug 14, 2013 at
  8:42 PM, Gonzalo
   Odiard
gonz...@laptop.org
  wrote:
+1 to have rpms to
  install

Re: [Server-devel] Server-devel Digest, Vol 76, Issue 21

2013-08-16 Thread Jerry Vonau
On Sat, 2013-08-17 at 05:49 +0200, Tony Anderson wrote:
 Hi,
 
 What is the disk capacity required by internet-in-a-box?
 

600-700 gigs

 The purpose of the server is to deliver the information not available 
 from the internet.
 

Yup, or when your offline.

 The cost of a UPS which is required for a system on the grid is $80-100.
 

Think the issue is mainly about off-grid systems, those are usually 12v.
What would be neat is if there was a power supply that you could replace
in your standard PC that used 12v as the supply voltage. Anybody know of
a manufacture that supplies one? I'd hate to see what the size of the
battery pack and the recharging requirements needed of the
solar/wind/insert others recharging system that would be needed to run
such a beast.

 In my experience, there is need for one school server at a school 
 supporting 30-200 XOs.

Know of any low power devices that you might recommend for off-grid use?

Jerry

 
 Tony
 
 On 08/17/2013 03:02 AM, server-devel-requ...@lists.laptop.org wrote:
 The average difference between power consumption of an SSD and a HDD is
 about 4W. [1][2]
 
 Now considering the environments we're gonna head into we're looking at
 typically 1-3 days of power backup for the server (lets average out at 2).
 
 That means, the battery backup needed is:
 4 * 24 * 2 = 192 W-hr
 
 *That comes out to roughly $25-35 in battery costs*  (again based on quick
 google searches for battery costs). *If you want a longer life from
 you're battery, you're looking at about $50-60 in battery costs.*
 
 Now if we're also giving solar backup, based on the calculator here
 [3] we're going to need about a 25-30W solar panel (for just those 4 extra
 watts). Again, google tells me that *such panels retail for about $65-80.*
 *
 *
 *So, on average we'll save $100-$130 on TCO (total cost of ownership), if
 we intend to provide an SSD as opposed to an HDD, considering the server
 runs 24x7 and 2 days of backup is needed.*
 *
 *
 On top of that, you're looking at less failures, a better operating
 temperature range, and more durability.
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: olpc-os-builder

2013-08-12 Thread Jerry Vonau
On Tue, 2013-08-13 at 09:13 +1000, James Cameron wrote:
 On Sun, Aug 11, 2013 at 01:45:53PM -0500, Jerry Vonau wrote:
  Is anybody else having trouble running OOB in the last day? I'm now
  getting this traceback when trying to run OOB:
 
 No, olpc-os-builder has worked fine when I tried it this morning on a
 similar build.
 

It's working for me now also. grrr gremlins ;)

Jerry

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


Re: olpc-os-builder

2013-08-12 Thread Jerry Vonau
On Tue, 2013-08-13 at 09:48 +1000, James Cameron wrote:
 On Mon, Aug 12, 2013 at 06:44:09PM -0500, Jerry Vonau wrote:
  On Tue, 2013-08-13 at 09:13 +1000, James Cameron wrote:
   On Sun, Aug 11, 2013 at 01:45:53PM -0500, Jerry Vonau wrote:
Is anybody else having trouble running OOB in the last day? I'm now
getting this traceback when trying to run OOB:
   
   No, olpc-os-builder has worked fine when I tried it this morning on a
   similar build.
   
  
  It's working for me now also. grrr gremlins ;)
 
 Yes.  I would prefer if olpc-os-builder could operate in two modes;
 one where it did all the downloads, and a separate one where it can be
 used offline.  This is what I did for mktinycorexo.
 

That is what I was leaning towards when I was looking at doing an
offline mode, like the staged pungi steps in olpc-xs-builder[1]. Use
yumdownloader --resolve to populate and create a single yum repo for use
in the image.

You could fake this by reusing the cache, run createrepo against the
cache directory holding the cache and use a single file:/// yum repo
statement in the ini file, commenting out the online repos. Now that OOB
caches activities just have to stop cleaning out the temp directory
between runs. Think I brought that up when --cacheonly was introduced.

Jerry

1. http://dev.laptop.org/git/projects/olpc-xs-builder/

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


Re: [Sugar-devel] Fwd: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0 stable

2013-08-11 Thread Jerry Vonau
On 11 August 2013 10:14, Martin Langhoff martin.langh...@gmail.com wrote:

 On Tue, Aug 6, 2013 at 3:32 PM, Jerry Vonau je...@laptop.org.au wrote:
  This behavior was noted with XO-1s only, all others(1.5,1.75,4) appear
 work
  fine in testing.

 That is _very_ weird. Does the affected unit have any problem reading
 its own serial number or uuid? Does the Sugar Control Panel show the
 serial number correctly?


Good to hear from you Martin. Just to finish this thread off, I was not
able to reproduce this behavior with the XO-1s that I have. This appears to
affect Anna's machines only. Thanks for the hints to what might be the root
cause.

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


olpc-os-builder

2013-08-11 Thread Jerry Vonau
Hi All:

Is anybody else having trouble running OOB in the last day? I'm now
getting this traceback when trying to run OOB:

 
Reading repository information for
http://mock.laptop.org/repos/local.13.2.0-xo1.75
Reading package information from
http://mock.laptop.org/repos/local.13.2.0-xo1.75/repodata/primary.xml.gz
Reading repository information for
http://mock.laptop.org/repos/local.13.2.0
Reading package information from
http://mock.laptop.org/repos/local.13.2.0/repodata/primary.xml.gz
Traceback (most recent call last):
  File /opt/git/oob-xs/modules/yumcfg/kspost.50.yumcfg.py, line 29, in
module
fd = ooblib.cachedurlopen(url + /repodata/primary.xml.gz)
  File /opt/git/oob-xs/lib/ooblib.py, line 156, in cachedurlopen
urlfd = urllib2.urlopen(url)
  File /usr/lib/python2.7/urllib2.py, line 126, in urlopen
return _opener.open(url, data, timeout)
  File /usr/lib/python2.7/urllib2.py, line 406, in open
response = meth(req, response)
  File /usr/lib/python2.7/urllib2.py, line 519, in http_response
'http', request, response, code, msg, hdrs)
  File /usr/lib/python2.7/urllib2.py, line 444, in error
return self._call_chain(*args)
  File /usr/lib/python2.7/urllib2.py, line 378, in _call_chain
result = func(*args)
  File /usr/lib/python2.7/urllib2.py, line 527, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
ERROR: Failure in KspostStage: module yumcfg, part kspost.50.yumcfg.py,
error code 1
 * OLPC OS builder v7.0.0

Just wondering what could be causing this issue for me. 

Jerry






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


Fwd: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0 stable

2013-08-06 Thread Jerry Vonau
Great piece of deductive testing Anna, way to go. Forwarding for further
investigation.

Jerry

-- Forwarded message --
From: Anna ascho...@gmail.com
Date: 5 August 2013 15:02
Subject: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0
stable
To: xsce-devel xsce-de...@googlegroups.com


I just realized that someone will probably ask what's the most recent build
where Moodle transparent auth did work.  Lucky for me, I just had to test
one older.  Moodle transparent auth DOES work in 13.2.0-12.

So whatever broke client side Moodle transparent auth should be confined to
13.2.0-13.


On Mon, Aug 5, 2013 at 2:19 PM, Anna ascho...@gmail.com wrote:

 I very recently upgraded my little herd of XOs to the latest stable build
 13.2.0-13.  Unfortunately, something in that build has broken Moodle's
 transparent authentication.  When a registered client goes to
 http://schoolserver/moodle, all it gets is the login page.

 Now, that's not unheard of, you can usually just click the Home button
 and get automatically logged in.  But when I've seen that before, the XO's
 SN is filled out in the Username field on the login page.  The 13.2.0-13 XO
 doesn't show that.  No matter what you click on in the Moodle login page,
 it never logs in.

 To verify it was a client side issue, I flashed an XO-1 with 13.1.0
 stable, and registered first to be admin.  I also registered a 13.2.0-13 as
 the second client.  On the 13.1.0, I can go to the Moodle homepage and it
 automatically logged me in.  I tried again to access the Moodle homepage on
 the 13.2.0-13 XO-1, but yep, still just got the login page.  On the admin
 XO, I went to Site Administration - Users - Accounts - Browse list of
 users and saw both XOs listed.  It indicated that the 13.2.0-13 client had
 never logged in.

 So, the user account is being created on the server for the 13.2.0-13 XO
 upon registration, but client side transparent authentication is not
 working.

 To verify the 13.2.0-13 XO's Browse Activity is accepting cookies, I went
 to
 http://www.bu.edu/htbin/computing/browsers/troubleshooting/cookietest.pland 
 the test was successful.

 Now, I have successfully tested Moodle transparent auth with previous
 iterations of 13.2.0, perhaps 8 or 9?  So whatever change on 13.2.0 that
 broke transparent auth must have been relatively recent.

 I took a look at the Browse Activity version between the two clients:
 13.1.0 = Browse 149
 13.2.0-13 = Browse 149.3

 I knew it wouldn't make a difference, but I also tested the 13.2.0-13 as
 first registration and it doesn't care that its the admin user.  And also
 tested with a fresh flash to make sure there wasn't something sticky in
 there from a previous registration gumming things up.

 I've tested this with the XSCE installed a couple days ago
 (xs-config-0.8.4.123.gda5e8e3-1) and the latest DXS from this morning.  I
 also remembered I have an XS 0.6 (duh, Anna) and the results were the same.
  I don't have an XS 0.7 installation, but I would expect the same results.

 Since this is a client side issue, I'm not sure where to go from here as
 far as troubleshooting.

 Anna

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


Re: [Sugar-devel] Fwd: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0 stable

2013-08-06 Thread Jerry Vonau
Think it's more of a question of looking for confirmation. Is anybody else
seeing this behavior on 13.2.0-13 on XO-1s when used with any version of
school-servers? I'm at a loss trying to explain why this is occurring to
Anna. With the noted behavior where would you file the bug report? OLPC is
what I'm thinking but looking if someone else might be impacted also or can
confirm this.

Jerry

On 6 August 2013 05:12, Gonzalo Odiard gonz...@laptop.org wrote:

 There are a ticket filled?

 Gonzalo


 On Tue, Aug 6, 2013 at 4:27 AM, Jerry Vonau je...@laptop.org.au wrote:

 Great piece of deductive testing Anna, way to go. Forwarding for further
 investigation.

 Jerry

 -- Forwarded message --
 From: Anna ascho...@gmail.com
 Date: 5 August 2013 15:02
 Subject: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0
 stable
 To: xsce-devel xsce-de...@googlegroups.com


 I just realized that someone will probably ask what's the most recent
 build where Moodle transparent auth did work.  Lucky for me, I just had to
 test one older.  Moodle transparent auth DOES work in 13.2.0-12.

 So whatever broke client side Moodle transparent auth should be confined
 to 13.2.0-13.


 On Mon, Aug 5, 2013 at 2:19 PM, Anna ascho...@gmail.com wrote:

 I very recently upgraded my little herd of XOs to the latest stable
 build 13.2.0-13.  Unfortunately, something in that build has broken
 Moodle's transparent authentication.  When a registered client goes to
 http://schoolserver/moodle, all it gets is the login page.

 Now, that's not unheard of, you can usually just click the Home button
 and get automatically logged in.  But when I've seen that before, the XO's
 SN is filled out in the Username field on the login page.  The 13.2.0-13 XO
 doesn't show that.  No matter what you click on in the Moodle login page,
 it never logs in.

 To verify it was a client side issue, I flashed an XO-1 with 13.1.0
 stable, and registered first to be admin.  I also registered a 13.2.0-13 as
 the second client.  On the 13.1.0, I can go to the Moodle homepage and it
 automatically logged me in.  I tried again to access the Moodle homepage on
 the 13.2.0-13 XO-1, but yep, still just got the login page.  On the admin
 XO, I went to Site Administration - Users - Accounts - Browse list of
 users and saw both XOs listed.  It indicated that the 13.2.0-13 client had
 never logged in.

 So, the user account is being created on the server for the 13.2.0-13 XO
 upon registration, but client side transparent authentication is not
 working.

 To verify the 13.2.0-13 XO's Browse Activity is accepting cookies, I
 went to
 http://www.bu.edu/htbin/computing/browsers/troubleshooting/cookietest.pland 
 the test was successful.

 Now, I have successfully tested Moodle transparent auth with previous
 iterations of 13.2.0, perhaps 8 or 9?  So whatever change on 13.2.0 that
 broke transparent auth must have been relatively recent.

 I took a look at the Browse Activity version between the two clients:
 13.1.0 = Browse 149
 13.2.0-13 = Browse 149.3

 I knew it wouldn't make a difference, but I also tested the 13.2.0-13 as
 first registration and it doesn't care that its the admin user.  And also
 tested with a fresh flash to make sure there wasn't something sticky in
 there from a previous registration gumming things up.

 I've tested this with the XSCE installed a couple days ago
 (xs-config-0.8.4.123.gda5e8e3-1) and the latest DXS from this morning.  I
 also remembered I have an XS 0.6 (duh, Anna) and the results were the same.
  I don't have an XS 0.7 installation, but I would expect the same results.

 Since this is a client side issue, I'm not sure where to go from here as
 far as troubleshooting.

 Anna




 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



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


Re: [Sugar-devel] Fwd: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0 stable

2013-08-06 Thread Jerry Vonau
This behavior was noted with XO-1s only, all others(1.5,1.75,4) appear work
fine in testing.

Jerry



On 6 August 2013 13:09, Samuel Greenfeld greenf...@laptop.org wrote:

 I reimaged  registered a XO-1.75 and a XO-4 with 13.2.0 to a XS-0.7
 schoolserver.  Afterwards I opened Browse, and was able to open
 http://schoolserver/ to login to Moodle without problems.

 This does not mean that there is not a bug with 13.2.0, XS, and/or XSCE;
 but one thing you could try is to fully stop and restart the Browse
 activity after registering if the first login attempt does not work.
 Sometimes I have found this helps.


 On Tue, Aug 6, 2013 at 11:14 AM, Gonzalo Odiard gonz...@laptop.orgwrote:

 I don't have a school server to try.
 You should fill a ticket on bugs.sugarlabs.org
 cced: Manuel Quiñones, who maintain Browse activity.

 Gonzalo


 On Tue, Aug 6, 2013 at 12:08 PM, Jerry Vonau je...@laptop.org.au wrote:

 Think it's more of a question of looking for confirmation. Is anybody
 else seeing this behavior on 13.2.0-13 on XO-1s when used with any version
 of school-servers? I'm at a loss trying to explain why this is occurring to
 Anna. With the noted behavior where would you file the bug report? OLPC is
 what I'm thinking but looking if someone else might be impacted also or can
 confirm this.

 Jerry


 On 6 August 2013 05:12, Gonzalo Odiard gonz...@laptop.org wrote:

 There are a ticket filled?

 Gonzalo


 On Tue, Aug 6, 2013 at 4:27 AM, Jerry Vonau je...@laptop.org.auwrote:

 Great piece of deductive testing Anna, way to go. Forwarding for
 further investigation.

 Jerry

 -- Forwarded message --
 From: Anna ascho...@gmail.com
 Date: 5 August 2013 15:02
 Subject: [XSCE] Re: Client side Moodle transparent auth broken in
 13.2.0 stable
 To: xsce-devel xsce-de...@googlegroups.com


 I just realized that someone will probably ask what's the most recent
 build where Moodle transparent auth did work.  Lucky for me, I just had to
 test one older.  Moodle transparent auth DOES work in 13.2.0-12.

 So whatever broke client side Moodle transparent auth should be
 confined to 13.2.0-13.


 On Mon, Aug 5, 2013 at 2:19 PM, Anna ascho...@gmail.com wrote:

 I very recently upgraded my little herd of XOs to the latest stable
 build 13.2.0-13.  Unfortunately, something in that build has broken
 Moodle's transparent authentication.  When a registered client goes to
 http://schoolserver/moodle, all it gets is the login page.

 Now, that's not unheard of, you can usually just click the Home
 button and get automatically logged in.  But when I've seen that before,
 the XO's SN is filled out in the Username field on the login page.  The
 13.2.0-13 XO doesn't show that.  No matter what you click on in the 
 Moodle
 login page, it never logs in.

 To verify it was a client side issue, I flashed an XO-1 with 13.1.0
 stable, and registered first to be admin.  I also registered a 13.2.0-13 
 as
 the second client.  On the 13.1.0, I can go to the Moodle homepage and it
 automatically logged me in.  I tried again to access the Moodle homepage 
 on
 the 13.2.0-13 XO-1, but yep, still just got the login page.  On the admin
 XO, I went to Site Administration - Users - Accounts - Browse list of
 users and saw both XOs listed.  It indicated that the 13.2.0-13 client 
 had
 never logged in.

 So, the user account is being created on the server for the 13.2.0-13
 XO upon registration, but client side transparent authentication is not
 working.

 To verify the 13.2.0-13 XO's Browse Activity is accepting cookies, I
 went to
 http://www.bu.edu/htbin/computing/browsers/troubleshooting/cookietest.pland
  the test was successful.

 Now, I have successfully tested Moodle transparent auth with previous
 iterations of 13.2.0, perhaps 8 or 9?  So whatever change on 13.2.0 that
 broke transparent auth must have been relatively recent.

 I took a look at the Browse Activity version between the two clients:
 13.1.0 = Browse 149
 13.2.0-13 = Browse 149.3

 I knew it wouldn't make a difference, but I also tested the 13.2.0-13
 as first registration and it doesn't care that its the admin user.  And
 also tested with a fresh flash to make sure there wasn't something sticky
 in there from a previous registration gumming things up.

 I've tested this with the XSCE installed a couple days ago
 (xs-config-0.8.4.123.gda5e8e3-1) and the latest DXS from this morning.  I
 also remembered I have an XS 0.6 (duh, Anna) and the results were the 
 same.
  I don't have an XS 0.7 installation, but I would expect the same 
 results.

 Since this is a client side issue, I'm not sure where to go from here
 as far as troubleshooting.

 Anna




 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel





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

Re: Sugar in a chroot?

2013-08-06 Thread Jerry Vonau
On Tue, 2013-08-06 at 21:37 -0700, Sameer Verma wrote:
 On Tue, Aug 6, 2013 at 7:18 PM, Chris Ball ch...@printf.net wrote:
  Hi,
 
  On Wed, Aug 07 2013, Sameer Verma wrote:
  2) If we can run Android on the XO-4, then Fedora/Sugar can run in a
  chroot. That gives us Sugar and Android on the XO-4.
 
  Well, if it was that easy, we'd all be running Ubuntu desktops on our
  Android phones already, right?
 
  The graphics system gets in the way -- you can't run X on top of
  Android, yet Gtk depends on X, and Sugar depends on Gtk.
 
 
 Thanks. I've been running Debian on a Android phone, but I access
 GNOME over VNC from a different computer. Wonder if a VNC viewer on
 the Android phone itself would show me the UI.
 

Think connecting to the loopback (lo) address should work if the vnc
service is bound to that address.

Jerry

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


Re: [Server-devel] XS to become XSCE???

2013-08-06 Thread Jerry Vonau
On Tue, 2013-08-06 at 15:33 +1000, James Cameron wrote:
 On Tue, Aug 06, 2013 at 12:19:30AM -0500, Jerry Vonau wrote:
  On Mon, 2013-08-05 at 09:51 -0700, Sameer Verma wrote:
   On Mon, Aug 5, 2013 at 1:16 AM, James Cameron qu...@laptop.org wrote:
On Sun, Aug 04, 2013 at 10:13:25PM -0700, Sameer Verma wrote:
Just noticed that on
http://wiki.laptop.org/go/XS_Installing_Software_0.7 it says that
stable version is XS 0.7 and unstable is XSCE 0.3
   
Is this correct?
   
What you see is from the template page Latest Releases and occurs on
every Wiki page that includes that template.  So the fact that it is
on XS_Installing_Software_0.7 is not unusual, because that page
includes the template.
   
The template edits that led to this are here:
   
http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287052oldid=266082
http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287053oldid=287052
http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287329oldid=287053
   
   
   Thanks for the links. Makes it clearer.
   
Is XSCE to become XS 0.8? I am all in favor of the two projects
merging, but as I understand it, XS and XSCE are two very
*different* projects as of now. Some clarification would be great!
   
I don't see any indication on the template to suggest that XSCE will
become XS, but I do see Server software now includes xs-0.7 as
stable, and XSCE 0.3 as unstable.
   
I don't see any unstable version of xs-, and I don't see any stable
version of XSCE.  I'd like to see both.  The former would indicate
ongoing development of xs- and the latter would indicate finalisation
of XSCE.
   
   
   Correct, but as it is represented now, XS will become XSCE, which is
   incorrect. As a customer, I consider XS and XSCE to be two different
   products. The XS is a product from OLPC. XSCE is a product (not
   production ready, but still a product) from the community (double
   quotes intended). Although the XSCE may very well be a fork of the XS,
   it has its own specs and a set of developers working on it. I am one
   of the few who use XSCE on a 1.75 in one of my projects. I also use XS
   0.7 in three other projects. My reasonings for choosing one over the
   other are distinct. So, I do not appreciate the confusion.
   
   Mixing the two is misleading. XS 0.7 may very well be end of the line,
   or there may be a 0.8, but that's up to OLPC to decide, and not for
   XSCE to usurp. After all, AU has a server. 
  
  As the developer of that AU version, lots of my code and ideas when on
  to become what is XS-0.7 thanks to dsd. Still think imitation is the
  highest form of flattery.
 
 Indeed.
 
  
So does Nepal. So does
   Uruguay. So does Activity Central. We don't see those listed on the
   template now, do we? If this was out of a misunderstanding, it needs
   to be corrected. If this injection was deliberate, then it was foolish
   at best.
   
   It's a shame how much obfuscation has creeped into this space. Let's
   be clear about what the XS is and what the XSCE is and move on.
   
  
  Yes, lets be clear here, is OLPC going to maintain 0.7 going forward? I
  asking if OLPC is going to maintain their forked ejabberd rpm and not
  rely on exclude=ejabberd in the yum repo files?
 
 There are no plans at the moment for OLPC to develop and release
 xs-0.8, but this may change if a deployment comes to us with a need.
 

That doesn't answer the question is OLPC going to maintain their already
forked rpm going forward? It's blocking a EPEL update[1], not that it's
a security update but should one come down the pipe, as a system
administrator I'd like re-assurance that I can run the latest fixed
code. Hate to think that no new updates are available until some other
deployment needs something. This is also blocking XS on CentOS-6.4[2] as
the wrong version of ejabberd gets installed.

 That there is a deployment contributing to XSCE is certainly good to
 keep in mind and recognise.  There may be more versions of XSCE
 released than XS, but that's not a technical problem.
 

No a problem at all, shows the XSCE crew are actively working towards
their goals and listening to future potential users and reacting.

Jerry

  This there going to be a 0.8? When? and by who? We don't need to
  duplicate efforts here.
  
  Jerry  
  

1. https://bugzilla.redhat.com/show_bug.cgi?id=846856
2. http://people.sugarlabs.org/Tgillard/XS_Install-1.txt


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


Re: [Server-devel] Server-devel Digest, Vol 75, Issue 25

2013-08-06 Thread Jerry Vonau
On Tue, 2013-08-06 at 08:23 +0200, Tony Anderson wrote:
 On 08/06/2013 05:40 AM, Jerry Vonau wrote:
  I'd be interested in the contents of the xs-moodle files or is that an
  example? Sounds like 20-xc-generic looks for xc-* directories and files
  in those directories to execute, need to see the code to be sure on what
  you require.
 The install file for Moodle is
 
   cd $UM_MOUNTPOINT/XC
 if [ -f xc-moodle/xc-moodle-install ]; then
  log notice Installing moodle
  cd xc-moodle
  if bash xc-moodle-install; then
  log notice moodle installed successfully
  else
  log notice moodle install failed with code $?
  error_beep
  fi
 else
  log notice 'moodle not found'
  error_beep
 
 fi
 
 The xc-moodle-install file is:
 
 #!/bin/bash
 
 #take backup from existing moodle
 #su - postgres
 #pg_dump moodle-xs  moodle-xs.sql
 
 #stop httpd
 /etc/init.d/httpd stop
 
 #copy the moodle folder to /library
 rm -rf /library/moodle
 cp -r moodle /library/moodle
 chown -R apache:apache /library/moodle
 
 #restore the moodle-xs.sql backup of the database
 psql -d moodle-xs -f moodle-xs.sql
 #replace config.php file in /var/www/moodle/web and update 
 /etc/httpd/conf.d/moodle.conf (if necessary)
 cp config.php /var/www/moodle/web
 cp moodle.conf /etc/httpd/conf.d
 
 #start httpd
 /etc/init.d/httpd start
 
 Naturally, Moodle itself is installed as part of XS-0.7. This installs a 
 PostgreSQL backup of Moodle content (courses). It also moved the Moodle 
 data to /library.
 This was a mistake in the XS implementation. Data directories which can 
 grow
 with use should be in /library not in the root partition. This is the 
 change in
 config.php.
 

yup, good catch. Got a copy of that also?

 The essence of this technique is that 20-xc-generic needs to be 
 installed by xo-custom, xs-setup, or in the build. Once that is 
 installed, a deployment can
 perform any additional installations of content or packages via xc-install.
 
 It would probably be useful to have a library of these optional 
 installations.
 

Yes it would then I could stop asking for source code for an open source
project.

 Currently, I am using this technique to install the courseware for the 
 Learn
 activity, Django, the library, wiki4schools, mediawiki, wiktionary, the 
 beginnings of a learning management system, and the beginnings of an 
 itembank of questions. I hope to have an install script for IIAB 
 (probably one for the front end and one or more for the content).
 

XSCE is working towards the same goals.

 Tony
 
 

Jerry


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


Re: [Server-devel] XS to become XSCE???

2013-08-06 Thread Jerry Vonau
On Tue, 2013-08-06 at 16:43 +1000, James Cameron wrote:
 On Tue, Aug 06, 2013 at 01:17:23AM -0500, Jerry Vonau wrote:
  On Tue, 2013-08-06 at 15:33 +1000, James Cameron wrote:
   On Tue, Aug 06, 2013 at 12:19:30AM -0500, Jerry Vonau wrote:
On Mon, 2013-08-05 at 09:51 -0700, Sameer Verma wrote:
 On Mon, Aug 5, 2013 at 1:16 AM, James Cameron qu...@laptop.org 
 wrote:
  On Sun, Aug 04, 2013 at 10:13:25PM -0700, Sameer Verma wrote:
  Just noticed that on
  http://wiki.laptop.org/go/XS_Installing_Software_0.7 it says that
  stable version is XS 0.7 and unstable is XSCE 0.3
 
  Is this correct?
 
  What you see is from the template page Latest Releases and occurs on
  every Wiki page that includes that template.  So the fact that it is
  on XS_Installing_Software_0.7 is not unusual, because that page
  includes the template.
 
  The template edits that led to this are here:
 
  http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287052oldid=266082
  http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287053oldid=287052
  http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287329oldid=287053
 
 
 Thanks for the links. Makes it clearer.
 
  Is XSCE to become XS 0.8? I am all in favor of the two projects
  merging, but as I understand it, XS and XSCE are two very
  *different* projects as of now. Some clarification would be great!
 
  I don't see any indication on the template to suggest that XSCE will
  become XS, but I do see Server software now includes xs-0.7 as
  stable, and XSCE 0.3 as unstable.
 
  I don't see any unstable version of xs-, and I don't see any stable
  version of XSCE.  I'd like to see both.  The former would indicate
  ongoing development of xs- and the latter would indicate 
  finalisation
  of XSCE.
 
 
 Correct, but as it is represented now, XS will become XSCE, which is
 incorrect. As a customer, I consider XS and XSCE to be two different
 products. The XS is a product from OLPC. XSCE is a product (not
 production ready, but still a product) from the community (double
 quotes intended). Although the XSCE may very well be a fork of the XS,
 it has its own specs and a set of developers working on it. I am one
 of the few who use XSCE on a 1.75 in one of my projects. I also use XS
 0.7 in three other projects. My reasonings for choosing one over the
 other are distinct. So, I do not appreciate the confusion.
 
 Mixing the two is misleading. XS 0.7 may very well be end of the line,
 or there may be a 0.8, but that's up to OLPC to decide, and not for
 XSCE to usurp. After all, AU has a server. 

As the developer of that AU version, lots of my code and ideas when on
to become what is XS-0.7 thanks to dsd. Still think imitation is the
highest form of flattery.
   
   Indeed.
   

  So does Nepal. So does
 Uruguay. So does Activity Central. We don't see those listed on the
 template now, do we? If this was out of a misunderstanding, it needs
 to be corrected. If this injection was deliberate, then it was foolish
 at best.
 
 It's a shame how much obfuscation has creeped into this space. Let's
 be clear about what the XS is and what the XSCE is and move on.
 

Yes, lets be clear here, is OLPC going to maintain 0.7 going forward? I
asking if OLPC is going to maintain their forked ejabberd rpm and not
rely on exclude=ejabberd in the yum repo files?
   
   There are no plans at the moment for OLPC to develop and release
   xs-0.8, but this may change if a deployment comes to us with a need.
   
  
  That doesn't answer the question is OLPC going to maintain their already
  forked rpm going forward? It's blocking a EPEL update[1], not that it's
  a security update but should one come down the pipe, as a system
  administrator I'd like re-assurance that I can run the latest fixed
  code. Hate to think that no new updates are available until some other
  deployment needs something. This is also blocking XS on CentOS-6.4[2] as
  the wrong version of ejabberd gets installed.
 
 I can't find any ticket on dev.laptop.org that mentions this, can you?
 

Just discovered while reviewing the CentOS-6.4 install[2] after the
groupinstall issue was fixed. You want to file this bug or shall I?

Jerry

  
   That there is a deployment contributing to XSCE is certainly good to
   keep in mind and recognise.  There may be more versions of XSCE
   released than XS, but that's not a technical problem.
   
  
  No a problem at all, shows the XSCE crew are actively working towards
  their goals and listening to future potential users and reacting.
  
  Jerry
  
This there going to be a 0.8? When? and by who? We don't need to
duplicate efforts here.

Jerry

[Server-devel] Fwd: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0 stable

2013-08-06 Thread Jerry Vonau
Great piece of deductive testing Anna, way to go. Forwarding for further
investigation.

Jerry

-- Forwarded message --
From: Anna ascho...@gmail.com
Date: 5 August 2013 15:02
Subject: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0
stable
To: xsce-devel xsce-de...@googlegroups.com


I just realized that someone will probably ask what's the most recent build
where Moodle transparent auth did work.  Lucky for me, I just had to test
one older.  Moodle transparent auth DOES work in 13.2.0-12.

So whatever broke client side Moodle transparent auth should be confined to
13.2.0-13.


On Mon, Aug 5, 2013 at 2:19 PM, Anna ascho...@gmail.com wrote:

 I very recently upgraded my little herd of XOs to the latest stable build
 13.2.0-13.  Unfortunately, something in that build has broken Moodle's
 transparent authentication.  When a registered client goes to
 http://schoolserver/moodle, all it gets is the login page.

 Now, that's not unheard of, you can usually just click the Home button
 and get automatically logged in.  But when I've seen that before, the XO's
 SN is filled out in the Username field on the login page.  The 13.2.0-13 XO
 doesn't show that.  No matter what you click on in the Moodle login page,
 it never logs in.

 To verify it was a client side issue, I flashed an XO-1 with 13.1.0
 stable, and registered first to be admin.  I also registered a 13.2.0-13 as
 the second client.  On the 13.1.0, I can go to the Moodle homepage and it
 automatically logged me in.  I tried again to access the Moodle homepage on
 the 13.2.0-13 XO-1, but yep, still just got the login page.  On the admin
 XO, I went to Site Administration - Users - Accounts - Browse list of
 users and saw both XOs listed.  It indicated that the 13.2.0-13 client had
 never logged in.

 So, the user account is being created on the server for the 13.2.0-13 XO
 upon registration, but client side transparent authentication is not
 working.

 To verify the 13.2.0-13 XO's Browse Activity is accepting cookies, I went
 to
 http://www.bu.edu/htbin/computing/browsers/troubleshooting/cookietest.pland 
 the test was successful.

 Now, I have successfully tested Moodle transparent auth with previous
 iterations of 13.2.0, perhaps 8 or 9?  So whatever change on 13.2.0 that
 broke transparent auth must have been relatively recent.

 I took a look at the Browse Activity version between the two clients:
 13.1.0 = Browse 149
 13.2.0-13 = Browse 149.3

 I knew it wouldn't make a difference, but I also tested the 13.2.0-13 as
 first registration and it doesn't care that its the admin user.  And also
 tested with a fresh flash to make sure there wasn't something sticky in
 there from a previous registration gumming things up.

 I've tested this with the XSCE installed a couple days ago
 (xs-config-0.8.4.123.gda5e8e3-1) and the latest DXS from this morning.  I
 also remembered I have an XS 0.6 (duh, Anna) and the results were the same.
  I don't have an XS 0.7 installation, but I would expect the same results.

 Since this is a client side issue, I'm not sure where to go from here as
 far as troubleshooting.

 Anna

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


Re: [Server-devel] Questions for today

2013-08-06 Thread Jerry Vonau
On Tue, 2013-08-06 at 15:33 +0200, Tony Anderson wrote:
 On 08/06/2013 03:06 PM, server-devel-requ...@lists.laptop.org wrote:
  On Mon, Aug 5, 2013 at 12:13 AM, Sameer Vermasve...@sfsu.edu  wrote:
  Just noticed that on
  http://wiki.laptop.org/go/XS_Installing_Software_0.7  it says that
  stable version is XS 0.7 and unstable is XSCE 0.3
  
  Is this correct?
  
  Is XSCE to become XS 0.8? I am all in favor of the two projects
  merging, but as I understand it, XS and XSCE are two very*different*
  projects as of now. Some clarification would be great!
  This question has many interesting implications! While I don't know
  the answer to your question I do have some more specific follow on
  questions.
 
  Questions about today:
 
  If I am a deployment, large or small, looking to deploy a school
  server, which should I choose? and Why?
 If a deployment has the power for an Atom-based server, then XS-0.7 is 
 the choice today. According the 0.3 release notes, XSCE is only 
 supported on an XO.
 

Tony, that would be your choice to use XS-0.7, please don't put words in
my mouth, I would use the soon to be released XSCE-0.4 on the same
hardware. 

  If I am a deployment, large or small, looking to make customizations
  to my school server, which 'base' should I choose? Should I upstream
  my customizations or should hold on to them?
 Customization has to used carefully. There is not a system administrator 
 alive who has built a custom server configuration. None of that has any 
 impact on server software development.

I have, XS on F11/F14 and I disagree, it sure does as the underlying OS
evolves, your customisations have to keep up, rpms may need to be
re-compiled and the general adapting to the changes in the OS. 

 For example, adding CUPS to support an attached printer is something 
 that a deployment can do if desired.

or adding Django, content, or anything else someone wanted to pay for. 

 
  If I a contributor looking to help ICT4E move forward, which school
  server should I work on and why?
 
 I am not sure what ICT4E means (ICT seems to be used in education to 
 mean studying computers as a subject, not using computers to learn).
 
 There are a number of important items still on the wish list. Adding
 the IIAB content is probably at the top of the list. Providing a way for 
 a deployment to be 'librarian', e.g. with Calibre is another. Finding a 
 way for teachers to make assignments, receive student submissions, mark 
 them, and return annotated copies (digital copybook) is high on the 
 list. Providing an email capability with client software on the XO and 
 an XS facility (e.g. pop3 and smtp) which is capable of
 interface to Internet via removable device. Implementing Wikipedia in a 
 child-safe form with fast full-text search. Providing an effective 
 'badge' mechanism to honor children who have demonstrated learning.
 There is no lack of things to do.

That is kind of blurring the line between features and system
administration functions.  

  Questions about the future:
 
  Is the XS feature complete? Does it do everything it can to add value
  to deployments? If there are ways to add more value, is there a plan
  or funding model to support that development?
 
 XS-0.7 is a baseline install. The question should be what can 
 deployments usefully install on XS-0.7. If we view every change as
 requiring a new build, deployments are looking at huge expense. In 
 Nepal, Abhishek and I had to download over 10GB of repositories to build 
 XO-0.7 offline. 

I think re-spinning the install iso is not that hard but you may need
more than one CD or switch to the DVD format to fit all the needed rpms.

 That would take a decade at most of the schools I 
 service (average download speed is 5kb/sec - with tens of restarts per
 gigabyte -not to mention loss of sleep restarting).

I agree a fully offline install method is needed.

  Is the XSCE feature complete? Does it do everything it can to add
  value to deployments? If there are ways to add more value, is there a
  plan or funding model to support that development?
 
  Questions for OLCP:
 
  Are there steps OLPC can do to encourage deployments to fund further
  development of XS by OLPC developers? Are there steps OLPC can do to
  encourage direct development of XS by deployments?
 
 As mentioned, there are server developments at many deployments. What 
 would be great is a co-operative team that would work to provide 
 capabilities in a way that can be distributed widely. I am sure that 
 Peru is working on a method to deliver email via usb drive (and internet 
 cafes). I just don't have any visibility in the method taken, the 
 technology employed, or whether the development can be applicable 
 outside of Peru.

You better have your ducks in a row when it comes to internet email, you
can become subject to rbls and other such anti-spam measures by the isp
or hosting service of the people you might what to email. The email
subject needs to be 

Re: [Server-devel] [Sugar-devel] Fwd: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0 stable

2013-08-06 Thread Jerry Vonau
Think it's more of a question of looking for confirmation. Is anybody else
seeing this behavior on 13.2.0-13 on XO-1s when used with any version of
school-servers? I'm at a loss trying to explain why this is occurring to
Anna. With the noted behavior where would you file the bug report? OLPC is
what I'm thinking but looking if someone else might be impacted also or can
confirm this.

Jerry

On 6 August 2013 05:12, Gonzalo Odiard gonz...@laptop.org wrote:

 There are a ticket filled?

 Gonzalo


 On Tue, Aug 6, 2013 at 4:27 AM, Jerry Vonau je...@laptop.org.au wrote:

 Great piece of deductive testing Anna, way to go. Forwarding for further
 investigation.

 Jerry

 -- Forwarded message --
 From: Anna ascho...@gmail.com
 Date: 5 August 2013 15:02
 Subject: [XSCE] Re: Client side Moodle transparent auth broken in 13.2.0
 stable
 To: xsce-devel xsce-de...@googlegroups.com


 I just realized that someone will probably ask what's the most recent
 build where Moodle transparent auth did work.  Lucky for me, I just had to
 test one older.  Moodle transparent auth DOES work in 13.2.0-12.

 So whatever broke client side Moodle transparent auth should be confined
 to 13.2.0-13.


 On Mon, Aug 5, 2013 at 2:19 PM, Anna ascho...@gmail.com wrote:

 I very recently upgraded my little herd of XOs to the latest stable
 build 13.2.0-13.  Unfortunately, something in that build has broken
 Moodle's transparent authentication.  When a registered client goes to
 http://schoolserver/moodle, all it gets is the login page.

 Now, that's not unheard of, you can usually just click the Home button
 and get automatically logged in.  But when I've seen that before, the XO's
 SN is filled out in the Username field on the login page.  The 13.2.0-13 XO
 doesn't show that.  No matter what you click on in the Moodle login page,
 it never logs in.

 To verify it was a client side issue, I flashed an XO-1 with 13.1.0
 stable, and registered first to be admin.  I also registered a 13.2.0-13 as
 the second client.  On the 13.1.0, I can go to the Moodle homepage and it
 automatically logged me in.  I tried again to access the Moodle homepage on
 the 13.2.0-13 XO-1, but yep, still just got the login page.  On the admin
 XO, I went to Site Administration - Users - Accounts - Browse list of
 users and saw both XOs listed.  It indicated that the 13.2.0-13 client had
 never logged in.

 So, the user account is being created on the server for the 13.2.0-13 XO
 upon registration, but client side transparent authentication is not
 working.

 To verify the 13.2.0-13 XO's Browse Activity is accepting cookies, I
 went to
 http://www.bu.edu/htbin/computing/browsers/troubleshooting/cookietest.pland 
 the test was successful.

 Now, I have successfully tested Moodle transparent auth with previous
 iterations of 13.2.0, perhaps 8 or 9?  So whatever change on 13.2.0 that
 broke transparent auth must have been relatively recent.

 I took a look at the Browse Activity version between the two clients:
 13.1.0 = Browse 149
 13.2.0-13 = Browse 149.3

 I knew it wouldn't make a difference, but I also tested the 13.2.0-13 as
 first registration and it doesn't care that its the admin user.  And also
 tested with a fresh flash to make sure there wasn't something sticky in
 there from a previous registration gumming things up.

 I've tested this with the XSCE installed a couple days ago
 (xs-config-0.8.4.123.gda5e8e3-1) and the latest DXS from this morning.  I
 also remembered I have an XS 0.6 (duh, Anna) and the results were the same.
  I don't have an XS 0.7 installation, but I would expect the same results.

 Since this is a client side issue, I'm not sure where to go from here as
 far as troubleshooting.

 Anna




 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel



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


Re: [Server-devel] Questions for today

2013-08-06 Thread Jerry Vonau
On Tue, 2013-08-06 at 16:46 +0200, Tony Anderson wrote:
 On 08/06/2013 04:22 PM, Jerry Vonau wrote:
  I agree a fully offline install method is needed.
 I think we are in substantial agreement.
 
 My model is that the deployment has someone with technical skills 
 available who
 prepares the server for installation. However, at the deployment, the 
 server should
 be stable enough to operate through a school year without hands-on system
 administration (except when the server hardware fails).
 

Full agreement with that, except for perhaps performance tuning that
might crop up with user demands. 

 The community can provide the, probably volunteer, system administrator 
 with
 a base system and a pantry of appropriate ingredients to tailor for a 
 specific
 deployment without requiring the admin to give up his day job.
 
 It is perfectly feasible to install the school server from a usb drive.

Yes, I'm one of original driving forces behind that. 

  
 It is the build that
 currently requires internet access. 

Yup I agree, that is where the repos live unless you have created a
local mirror for pungi to use offline. The pungi tool has been
updated/replaced by lorax in the newer Fedora versions.

 The install at the moment requires a 
 monitor,
 usb wired keyboard, and a usb wired mouse. 

Think a vnc based anaconda(the installer) install might be do-able also,
to access the target machine not to retrieve rpms.

 These are not required after the
 install. By the way, the repositories need for an XS-0.7 build don't 
 come close to
 fitting on a DVD.
 

Just need access to the internet or local mirror to let pungi do its
magic gathering the needed rpms and creating the anaconda installer.

Jerry


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


Re: [Server-devel] XS to become XSCE???

2013-08-06 Thread Jerry Vonau
On Tue, 2013-08-06 at 18:19 -0700, Sameer Verma wrote:
 On Tue, Aug 6, 2013 at 6:06 AM, David Farning
 dfarn...@activitycentral.com wrote:
  On Mon, Aug 5, 2013 at 12:13 AM, Sameer Verma sve...@sfsu.edu wrote:
snip
 
 It's not that complicated. My original assertion was to be clear about
 the roadmap for XS and XSCE. It is now clear that the XSCE project is
 not going to be the next XS. Both projects are very different, and
 convergence may not be in the best interests of all parties involved.
 So be it. Move along. Nothing to see here.
 

So when does the work on XS-0.8 begin? Might look un-maintained to lots
of potential deployments.

 From my perspective, XS is designed by OLPC to service their projects,
 which tend to be larger than microdeployments. XSCE, on the other hand
 seems to be driven by smaller LAN size, such as the classroom scenario
 promoted by AU, or my India project.
 
 We use XS 0.7 in Jamaica because it was the only game in town back
 then, it runs atop CentOS, and it uses Moodle, which we are not averse
 to. It is also tried and tested in many other deployments much larger
 than ours, so that's comforting.
 

No, not really, that was your choice. 

 I also use XSCE in India, but for entirely different reasons. I needed
 something that was extremely low power. XS 0.6 that ran on a FitPC was
 ok, but it pulled 8W. I couldn't move up to XS 0.7, because of a PAE
 issue, and didn't have the resources to wrangle with it. The XO 1.75
 as XS running XSCE fits the bill for very low power, although running
 atop Fedora does not give me clear upgrade paths. We'll see how
 quickly that install gets old. In fact, XS 0.6 was on F9, and suffered
 the same fate. Personally, I would prefer the stability of CentOS over
 the newness of Fedora.
 
 Can XS 0.7 serve the features of XSCE? 

Already done, moodle et all.

 With a bit of work, sure. Can
 XSCE serve the stability of XS 0.7? 

I recall Chris, Adam, and yourself having loads of issues in Jamaica
with the XS-0.7 or was that just an end user mis-configuration? By the
way who got that resolved for you?

 With a little bit of work, sure.
 The difference in design is based on a difference in the needs of
 various projects. I suspect it is also fueled by a not invented here
 sentiment.
 

yup, been on the receiving end of that since 2008.

 While the XS continues to live in the colored box on the wiki as an
 official offering from OLPC, as I expect it to be, along with the
 OLPC images for the XOs (and I hope we hear about the roadmap from the
 powers-that-be), I think XSCE needs to grow up and live in its own
 space on the wiki as a proper page, and not live in Adam Holt's user
 page. 

Cool, so the XSCE can have space on the wiki? 

 It is a community project and it should be treated as such. Let
 the deployment pick and choose what they'd like. If living under the
 same wiki becomes too contentious, space is cheap! Move some place
 else, and while you are at it, please keep the mailing lists open. 

Well us mere mortals don't get to see the private OLPC mailing lists,
those are private dealings behind closed doors right?

 I
 shouldn't have to write a paragraph to Adam and ask permission to be
 added to the mailing list. 

Our IRC channel is open, come hangout there are others from OLPC hanging
around, join the party.

 That stifles communication, and if you all
 haven't caught on as yet, we are *not* dealing with a technology
 problem! This business of building a dozen different server projects
 is a people problem.
 

Brought on by a lack of leadership IMHO.

 I look forward to more communication on this and other lists and I
 sincerely hope we can continue to work together as one community.
 
 Oh, and I hope to see you all in October. http://www.olpcsf.org/node/133
 

Even if my passport is not ready I will present, count on that.

Jerry


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


Re: [Server-devel] Server-devel Digest, Vol 75, Issue 25

2013-08-05 Thread Jerry Vonau
Thank you Tony, I'll see if I can intergrade this into the XSCE as a
optional module. More below.

On Fri, 2013-08-02 at 12:02 +0200, Tony Anderson wrote:
 On 08/01/2013 06:33 PM, Sameer Verma wrote:
  On Mon, Jul 29, 2013 at 11:33 PM, Tony Andersont...@olenepal.org  wrote:
  Hi,
  
  As I have unsuccessfully tried to explain many times. OLE Nepal, with help
  from Daniel Drake, an effective and proven means to add selected
  capabilities
  to the base server. Since this capability takes advantage of the running
  base
  server, all of its normal system administration capabilities are available
  (ssh,
  yum, etc.).
  
  This is true, but not documented well and not known. For instance, we
  use munin and openvpn on the XS 0.7 in Jamaica, and those are
  add-ons. It would be good to document this and discuss approaches
  for installing complementary services.
 
 The process is straightforward.
 
 At install time, the script xs-custom is executed.
 
 #!/bin/bash
 cp 20-xc-generic /etc/usbmount/mount.d
 cp path.py /usr/lib/python2.6/site-packages
 python fixssh.py
 adduser -padmin admin
 xs-setup domain
 poweroff
 
 It installs a modified version of Daniel Drake's script 20-xc-generic 
 which will be executed when a removable drive is mounted.
 It puts path.py (a utility I use in many python cgi-scripts).
 It executes a script fixssh.py which enables password authentication.
 Finally, it adds user admin with password admin.
 The xs-setup script is executed to complete the process.
 The poweroff is a clear signal when the script is finished and forces a 
 reboot.
 
 The 20-xc-generic script is attached. 

Think the attachment got scrubbed in digest mode. Can you reply to this
tread with the contents of 20-xc-generic script please?

 It checks the removable device for 
 a root folder
 XC. If this exists, it checks for a script in that folder 'xc-install'. 
 If so, it is executed. This allows a usb drive or hard drive to be used 
 for this install or for other purposes by renaming the XC folder (e.g. 
 xc) so that it is ignored.
 
 The fixsh.py scripts enables password authentication:
 
 #!/usr/bin/python
 
 test = 'PasswordAuthentication'
 
 fin=open('/etc/ssh/sshd_config.in','r')
 txt = fin.read()
 fin.close()
 lines = txt.split('\n')
 txtout = ''
 fout = open('/etc/ssh/sshd_config.in','w')
 for line in lines:
  if test in line and not '#' in line:
  print  fout, test + ' yes'
  else:
  print  fout, line
 fout.close()
 
 
 This is another reason for poweroff and reboot so that 
 /etc/ssh/sshd_config is also
 updated.
 

Think a sshd restart might suffice.

 This enables login from an XO or other PC via ssh admin@schoolserver for
 system administration.
 

That is part of the stock XSCE build.

The below needs the 20-xc-generic file to be present on the XS correct?

 The xc-install script in XC looks like this:
 
 #!/bin/bash
 # Author: Daniel Drake d...@laptop.org
 # XS auto-usbmount import script for code parts of the e-library
 #modified for Rwanda configuration tony_ander...@usa.net
 
 set -e
 
 VERBOSE=No
 
 # Log a string via the syslog facility.
 log()
 {
  if test $1 != debug || expr $VERBOSE : [yY]  /dev/null; then
  logger -p user.$1 -t xc-code[$$] -- $2
  echo $(date +%F %T) xc-code: $2
  fi
 }
 
 error_beep()
 {
  echo -en '\033[10;1000]\033[11;100]\007'  /dev/console
  sleep 0.2
  echo -en '\033[10;1000]\033[11;100]\007'  /dev/console
  sleep 0.2
  echo -en '\033[10]\033[11]'  /dev/console
  return 0
 }
 
 UM_MOUNTPOINT=/media/usb0
 
 cd $UM_MOUNTPOINT/XC
 if [ -f xc-wiki/xc-wiki4schools-install ]; then
  log notice Installing Wiki4Schools
  cd xc-wiki
  if bash xc-wiki4schools-install; then
  log notice wiki4schools installed successfully
  else
  log notice wiki4schools install failed with code $?
  error beep
  fi
 else
  log notice 'xc-wiki not found'
 
 It normally has several of these install sections. The install section 
 looks for a
 folder: xc-wiki and in that folder for an install script: 
 xc-wiki4schools-install.
 The contents of the folder are:
 
 wiki.conf
 xc-wiki4schools-install
 xc-wiki4schools.tar.gz
 xc-wiki4schools.tar.gz.sha1
 
 The xc-wiki4schools-install is:
 
 #!/bin/bash
 
 wktar=xc-wiki4schools.tar.gz
 
 log() {
  logger -p user.notice -t nexc-wiktionary-inst -s -- $1
 }
 
 cp wiki.conf /etc/httpd/conf.d
 
 rm -rf /library/wiki
 mkdir -p /library/wiki
 
 cp $wktar /library/wiki
 cd /library/wiki
 
 if ! tar -xzf $wktar; then
  log could not extract $wktar
  exit 1
 fi
 
 rm -rf /library/wiki/$wktar
 
 chown -R apache:apache /library/wiki
 chmod -R 755 /library/wiki
 
 This script installs wiki.conf in /etc/httpd/conf.d, makes a folder 
 /library/wiki,
 copies the tarball to this folder and extracts it there. The tarball is 
 removed and
 permissions 

Re: [Server-devel] XS to become XSCE???

2013-08-05 Thread Jerry Vonau
On Mon, 2013-08-05 at 09:51 -0700, Sameer Verma wrote:
 On Mon, Aug 5, 2013 at 1:16 AM, James Cameron qu...@laptop.org wrote:
  On Sun, Aug 04, 2013 at 10:13:25PM -0700, Sameer Verma wrote:
  Just noticed that on
  http://wiki.laptop.org/go/XS_Installing_Software_0.7 it says that
  stable version is XS 0.7 and unstable is XSCE 0.3
 
  Is this correct?
 
  What you see is from the template page Latest Releases and occurs on
  every Wiki page that includes that template.  So the fact that it is
  on XS_Installing_Software_0.7 is not unusual, because that page
  includes the template.
 
  The template edits that led to this are here:
 
  http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287052oldid=266082
  http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287053oldid=287052
  http://wiki.laptop.org/index.php?title=Template:Latest_Releases/XS-develdiff=287329oldid=287053
 
 
 Thanks for the links. Makes it clearer.
 
  Is XSCE to become XS 0.8? I am all in favor of the two projects
  merging, but as I understand it, XS and XSCE are two very
  *different* projects as of now. Some clarification would be great!
 
  I don't see any indication on the template to suggest that XSCE will
  become XS, but I do see Server software now includes xs-0.7 as
  stable, and XSCE 0.3 as unstable.
 
  I don't see any unstable version of xs-, and I don't see any stable
  version of XSCE.  I'd like to see both.  The former would indicate
  ongoing development of xs- and the latter would indicate finalisation
  of XSCE.
 
 
 Correct, but as it is represented now, XS will become XSCE, which is
 incorrect. As a customer, I consider XS and XSCE to be two different
 products. The XS is a product from OLPC. XSCE is a product (not
 production ready, but still a product) from the community (double
 quotes intended). Although the XSCE may very well be a fork of the XS,
 it has its own specs and a set of developers working on it. I am one
 of the few who use XSCE on a 1.75 in one of my projects. I also use XS
 0.7 in three other projects. My reasonings for choosing one over the
 other are distinct. So, I do not appreciate the confusion.
 
 Mixing the two is misleading. XS 0.7 may very well be end of the line,
 or there may be a 0.8, but that's up to OLPC to decide, and not for
 XSCE to usurp. After all, AU has a server. 

As the developer of that AU version, lots of my code and ideas when on
to become what is XS-0.7 thanks to dsd. Still think imitation is the
highest form of flattery.

  So does Nepal. So does
 Uruguay. So does Activity Central. We don't see those listed on the
 template now, do we? If this was out of a misunderstanding, it needs
 to be corrected. If this injection was deliberate, then it was foolish
 at best.
 
 It's a shame how much obfuscation has creeped into this space. Let's
 be clear about what the XS is and what the XSCE is and move on.
 

Yes, lets be clear here, is OLPC going to maintain 0.7 going forward? I
asking if OLPC is going to maintain their forked ejabberd rpm and not
rely on exclude=ejabberd in the yum repo files?

This there going to be a 0.8? When? and by who? We don't need to
duplicate efforts here.

Jerry  



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


[Server-devel] yum groupinstall

2013-07-31 Thread Jerry Vonau
Hi All,

While helping someone install XS-0.7 on a pre-existing install using the
instructions Installing on top of existing OS installation[1]. After
installing the release rpm the next step results in: 


root@localhost Test_XS]# yum groupinstall OLPC XS
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink|  14 kB
00:00
 * base: centos.tcpdiag.net
 * epel: mirror.pnl.gov
 * extras: centos.tcpdiag.net
 * updates: centos.mirrors.hoobly.com
epel | 4.2 kB
00:00
epel/primary_db  | 4.5 MB
00:01
olpcxs   | 1.9 kB
00:00
olpcxs/primary_db|  29 kB
00:00
Setting up Group Process
Checking for new repos for mirrors
epel/group_gz| 237 kB
00:00
Warning: Group OLPC XS does not exist.
No packages in any requested group available to install or update

What I think may of occurred is when a rpm was updated on June 5 in the
repo, createrepo wasn't called with -g to use the group definition, so
the group no longer exists. I believe this to be true as the date on
repodata/comps.xml [2] was not updated like the rest of the files
in /repodata

Jerry


1. http://wiki.laptop.org/index.php?title=XS_Installing_Software_0.7/
2. http://dev.laptop.org/xs/repos/stable/olpc/xs-0.7/i386/repodata/




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


Re: [Server-devel] yum groupinstall

2013-07-31 Thread Jerry Vonau
On Thu, 2013-08-01 at 11:33 +1000, James Cameron wrote:

 
 In Daniel's happy absence, how would I fix this?
 
 quozl@crank:/var/www/xs/repos/stable/olpc/xs-0.7/i386$ pwd
 /var/www/xs/repos/stable/olpc/xs-0.7/i386
 quozl@crank:/var/www/xs/repos/stable/olpc/xs-0.7/i386$ ls -actl| head -9
 total 86748
 drwxr-xr-x 3 dsd dsd 4096 2013-06-05 11:42 .
 drwxr-xr-x 2 dsd dsd 4096 2013-06-05 11:42 repodata
 -rw-r--r-- 1 dsd dsd28016 2013-06-05 11:41 
 xs-activity-server-0.3.6-1.el6.noarch.rpm
 -rw-r--r-- 1 dsd dsd31672 2012-02-20 11:37 
 xs-activation-0.3.14.gd2a3727-1.el6.noarch.rpm
 -rw-r--r-- 1 dsd dsd82029 2012-02-16 18:03 
 xs-config-0.7.0.46.g9b886c8-1.noarch.rpm
 -rw-r--r-- 1 dsd dsd44000 2012-02-14 15:37 
 xs-tools-0.5.5.g49ddc07-1.el6.noarch.rpm
 -rw-r--r-- 1 dsd dsd 10060900 2012-02-14 12:54 
 moodle-xs-1.9.5.xs1.15.g7c6a865-1.el6.noarch.rpm
 drwxr-xr-x 4 dsd dsd 4096 2012-02-10 12:19 ..
 quozl@crank:/var/www/xs/repos/stable/olpc/xs-0.7/i386$ 
 

cd repos/stable/olpc/xs-0.7/i386/
createrepo -g comps.xml .

Jerry


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


Re: [Server-devel] Firmware install

2013-07-20 Thread Jerry Vonau
On Sat, 2013-07-20 at 07:33 +0200, Tony Anderson wrote:
 Hi,
 
 We had this experience in Lesotho where we were rarely working directly 
 from the mains. However, if the firmware is not installed, the message 
 will appear on each subsequent boot. I am not sure that the battery 
 charge is an issue. The firmware installs when the laptop detects that 
 it is running from an AC adapter.
 
 Tony
 

I have a olpc.fth file that defeats the mains AC check provided the
battery has 50% charge or more and installs the newer firmware when
present on the usbkey. Only works on unlocked XOs, hit me up if your
interested.

Jerry


 
 On 07/20/2013 05:13 AM, server-devel-requ...@lists.laptop.org wrote:
 When reflashing to one of the newer builds; i.e., 12.1.0 or newer, be sure 
 to
 use a fully charged battery and a plugged in power adapter when reflashing. 
 The
 new builds will upgrade the firmware automatically if the battery is fully
 charged. If it is not, during the end of the reflash process it will say
 something like cannot get new firmware continuing to update with old
 firmware. If you are not watching the screen you might not see this.
 
 And, I always check the system date and reset it (from the root terminal per
 instructions on the Fix ClockWiki page) before reflashing. That has solved 
 the
 stuck on the grey dots problem.
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: [Sugar-devel] Copying contents of Journal to transfer from XO-1.75 to XO-4

2013-07-07 Thread Jerry Vonau
Hi Tabitha,

On 7 July 2013 03:59, Tabitha Roder tabi...@tabitha.net.nz wrote:

 Hi

 We are swapping out a classroom of XO-1.75s to XO-4s (known as XO-Duos in
 Australia I think). Is there a way of taking the majority of the contents
 of the Journal from XO-1.75 onto USB and then putting it into the Journal
 of the XO-4s?


Maybe, but your moving from sugar .94 to .98. I don't think there are any
datastore issues to deal with.


 I am not too concerned with getting all the data, but would like to at
 least get sound, video and images they have created, as well as Write
 files. Would be great if we can also get Turtleart projects and other
 activity output, so would appreciate any suggestions that people have.
 I am familiar with drag and drop the file from the Journal to the USB
 icon, but that is one file at a time, so hoping there is another way.


I would try the backup/restore functionality of Dextrose to accomplish
that. Insert your usbkey / right click on the usbkey's icon in the journal
/ select backup. The backup is stored in usbkey/backups/serial
number/datastore.tar.gz. Change the serial number directory of the
source machine to be that of the target XO-4's serial number. Insert your
usbkey / right click on the usbkey's icon in the journal / select restrore


 We are planning on installing XO-system 1a (build 49) from Australia.
 We are assuming the XO-1.75s have an old Australian build on them but
 don't have these details.


Good, that has an older version of Dextrose that should work.


 We'll be at the school Monday-Wednesday NZ time so hoping for suggestions
 or instructions within this timeframe.



Glad to be of service,

Jerry



 Thank you
 Tabitha
 New Zealand

 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


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


Re: x performance problem in webkitgtk

2013-07-07 Thread Jerry Vonau
Think you ran into the same root cause as
https://dev.laptop.org/ticket/12718 might be fixed in 13.2.0-12

Jerry

On Sun, 2013-07-07 at 19:42 +0200, NoiseEHC wrote:
 Just tested with WikipediaEN that it does not happen on 21021 (12.1.0) 
 so it is a regression.
 
 On 07/07/2013 18:53, NoiseEHC wrote:
  Hi!
 
  Now that I am developing a HTML editor application, noticed a 
  performance problem on xo1.75 latest (32011).
 
  The symptom is that text selection is very-very slow in the editor. 
  You can test it by opening a long page from wikipedia in epiphany, 
  selecting some text with the mouse then pressing shift+up or 
  shift+down. Looking at 'top -d 0.3 -p pid of x' shows that while the 
  browser is thinking about the selection, the X process consumes all 
  CPU, then the webview is updated. The same does not happen if you just 
  scroll the webview. I have installed firefox and it does not have the 
  same problem either.
 
  Could you test it on XO-1 and XO-1.5, please?
 
  I think fixing this problem is quite important as it practically makes 
  all text editing web applications unfeasible on the XO...
 
  Thanks,
  Andrew
 
 ___
 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: [XSCE] Problems with python optimization setting

2013-07-06 Thread Jerry Vonau
Hi Braddock,

On 6 July 2013 21:47, Braddock bradd...@braddock.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi guys,
 Working on Internet-in-a-Box integration with OLPC School Server CE.

 There are multiple problems caused by the python optimization setting
 in OLPC OS 13.1.0.

 PYTHONOPTIMIZE=2 is set in /etc/profile.d/zzz_olpc.sh


That is a olpc customization, and can be changed.


 It causes Python to generate lightly optimized .pyo files instead of
 .pyc files.

 This breaks virtualenv and building python packages into RPMs.  Both
 these problems go away with an 'unset PYTHONOPTIMIZE'

 $ virtualenv v
 New python executable in v/bin/python
 ImportError: Bad magic number in /tmp/v/lib/python2.7/site.pyo
 ERROR: The executable v/bin/python is not functioning
 ERROR: It thinks sys.prefix is u'/tmp' (should be u'/tmp/v')
 ERROR: virtualenv is not compatible with this system or executable


 This also breaks building of Python packages into RPMs.  For a failing
 example:

 wget

 https://pypi.python.org/packages/source/b/backports.lzma/backports.lzma-0.0.2.tar.gz
 tar xzf backports.lzma-0.0.2.tar.gz
 (cd backports.lzma-0.0.2; python setup.py bdist_rpm)


Does this affect the running of the code or just the building of the rpms?

Jerry



 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQEcBAEBAgAGBQJR2Na1AAoJEHWLR/DQzlZuhfAH/3Um5xAQAirjt6FHyswa/KLg
 ZfN2Sf1LVZRIXPIjZ8av4BqOJqOnYD3giqrX1tTymWQcaL9sjb5MOXRyWGcd44w8
 ZUYgdEJBa6LBTssNukIZL6+DKtaGFNYuJfRB8OnZzrCmaIQL36UBfNTKL65MxUJI
 z7+c3b90PQgJ063AM6gOcpu8dsfFZZbvep9PG7neechee23Rx2FH3MItY9wSNHoM
 I2sUjrRiATdX8wXWyvo1Yu70wHLFJ2Ndv9kov/OICJCjIH+odXFPfq8DjJUlAZV/
 IY4w2GWsBJMzbyRR1LMQ/Pql6BYqPX12N+15fGe5Txmyo9JkAIRm3A6IGKWAy2o=
 =7X6D
 -END PGP SIGNATURE-

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


Re: [OLPC New Zealand] Māori Macrons olpc keyboard

2013-07-05 Thread Jerry Vonau
On 5 July 2013 07:01, Tom Parker t...@carrott.org wrote:

 On 01/07/13 19:53, James Cameron wrote:

 On Mon, Jul 01, 2013 at 07:35:03PM +1200, Tom Parker wrote:

 xkbcomp $DISPLAY orig.xkb
 patch -p0 maori.patch
 sudo cp orig.xkb /usr/share/X11/xkb/symbols/mi
 sudo vi /etc/sysconfig/keyboard
 ...

 Is Jerry's xs.custom
 http://lists.laptop.org/**pipermail/server-devel/2013-**June/006510.htmlhttp://lists.laptop.org/pipermail/server-devel/2013-June/006510.html
 suitable for customizing an XO?


 Yes.  It would apply the changes you describe reasonably easily.


 Indeed it does work, although I had to add support for the XO-4 HS Touch
 and XO-4 Touch, I've sent you a patch.


Thanks,


 I now have a USB that re-flashes if you hold down the game keys, reboots,
 sets the timezone, the language and the keyboard and then prompts the user
 to press enter to shut down. If you don't hold down the game keys it just
 does the customization which can be done more than once without damage.


Care to share the forth scripting? Remember to have the AC plugged in for
the first boot, there maybe a firmware update in the image. I've taken a
slightly path using a menu for different operations and install new
firmware if present before installing the image.


 The only wrinkle is that most of the time I have to press enter twice to
 get it to quit at the end which is hardly worth complaining about but had
 me stumped for a minute or two the first time.


There is a press enter to shutdown routine build into xo-custom are you
scripting the reboot question also?


 Also I had trouble finding the xo-custom thing, so for the record, it's an
 optional configuration of Tiny Core Linux described at
 http://wiki.laptop.org/go/**Tiny_Core_Linuxhttp://wiki.laptop.org/go/Tiny_Core_LinuxYou
  will have to clone the git repo and build it from scratch to get the
 xo-custom behavior.


I'm going to place the Tiny Core files to be available for download so all
you have to add is your own scripting. Do you mind sharing your scripts? I
plan on using some examples in creating some better documentation for a
how-to.

Thanks for testing,

Jerry

__
 OLPC-NZ mailing list
 olpc...@lists.laptop.org
 http://lists.laptop.org/**listinfo/olpc-nzhttp://lists.laptop.org/listinfo/olpc-nz

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


Re: XO-1(.75)

2013-07-04 Thread Jerry Vonau
On Thu, 2013-07-04 at 13:57 -0600, Daniel Drake wrote:
 On Thu, Jul 4, 2013 at 12:48 PM, Yioryos Asprobounitis
 mavrot...@yahoo.com wrote:
  Tried the following little script but I can not find a way to get the 
  output of 'time' command to the output.txt file.
 
 Not really sure what you are trying to do here - sugar-launch will not
 return until the activity exits.
 
 I ran a couple of experiments here, with XO-1s running 12.1.0 and 13.2.0.
 Clock (which is a GTK2 activity on both versions) does start 0.5 - 1
 second slower on 13.2.0.
 On 12.1.0 it starts in 10.5 seconds. That is approx 5% change.
 
 Running under perf, the most noticable difference is that X uses 5% of
 CPU time on 12.1.0, and 10% on 13.2.0. A 5% change.
 

Of the total available, would that not be a 100% increase in CPU time
used by the process running X?  

 Unfortunately perf doesn't tell me which part of X is eating CPU,
 apart from the fact that it is not in the kernel. Need to figure out
 why perf can't be more specific.
 
 The risk to this work is that we might fix the 5% X issue and see no
 noticable difference. But I will try to continue a bit of
 investigation here next week.
 

Jerry

 Daniel
 ___
 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: [Server-devel] Best XSCE strategy for us in Pacific with XO-1.5 2GB Testing XSCE 3 on XO 1.5 2GB os855

2013-06-28 Thread Jerry Vonau
Hi James,

On 17 June 2013 21:55, James Cameron qu...@laptop.org wrote:

 On Mon, Jun 17, 2013 at 09:20:20PM -0400, George Hunt wrote:
  I ordered a 64GB SD, and have it in hand. It is formatted with exfat
  disk format, apparently a Microsoft proprietary standard.  There is
  a driver for exfat, but it is not shipped with the XO, so there was
  some truth to the hearsay that 64GB SD cards do not work on the
  XO. BUT . . .
 
  I was able to read exfat formatted out of the box transcend 64GB
  drive on a XO1.5, with a downloaded driver, so I expect that
  electrical compatibility is already established.

 It is the protocol compatibility that causes us problems.  There's
 this tiny computer inside the card which has to interoperate with our
 computer.  And from what you describe above, you haven't yet tested
 the protocol compatibility with Open Firmware.  You have to boot from
 it to test that.

  I think you will want it to be formatted with ext4, because the OS
  doesn't run on a FAT formated drive. I should caution that I have
  read that SD cards have an erase block size that makes it important
  to preserve the partition location and sizing, as the disk format is
  being erased and reformatted.

 If you use the drive for the operating system, there's no need to
 partition or format, because the fs-update of 13.1.0 .zd file will
 create all that is required.  Just make sure you use the devalias
 fsdisk ext:0 trick to persuade fs-update to use the external slot.

 During boot, the operating system may expand the filesystem to cover
 the rest of the device.


I just tried the devalias trick using 13.2.0 as the OS on a XO-4. On
initial boot it drops me into dracut appearing to complain about a
read-only filesystem while attempting resize. Any thoughts on how to debug
this?

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


Re: [Server-devel] Best XSCE strategy for us in Pacific with XO-1.5 2GB Testing XSCE 3 on XO 1.5 2GB os855

2013-06-28 Thread Jerry Vonau
Thanks James,

On 18 June 2013 00:00, James Cameron qu...@laptop.org wrote:

 On Mon, Jun 17, 2013 at 11:14:23PM -0500, Jerry Vonau wrote:
  I just tried the devalias trick using 13.2.0 as the OS on a XO-4. On
  initial boot it drops me into dracut appearing to complain about a
  read-only filesystem while attempting resize. Any thoughts on how to
  debug this?

 Sure.

 Check the write protect tab on the card.


This was the issue, no matter how careful I was inserting the SD-card the
tab would move to locked. I used a dab of instant glue, that was enough to
prevent the tab from moving.

Thanks a bunch,

Jerry



 Check with another XO-4 in case the socket write protect switch is
 faulty.

 Boot into Linux from another boot device, such as the internal eMMC or
 a Tiny Core Linux on USB drive, then check that you can mount the
 external SD card for write, and write to it.

 fs-update does not honour the write protect on an SD card; it is
 purely an advisory write protect, and Open Firmware doesn't take this
 advice ... which is an optional feature of the SD specification. [1]

 (I'm running an XO-4 as a builder with swap on external SD, and it
 seems to work fine for that.)

 [1]
 http://en.wikipedia.org/wiki/Secure_Digital#Card_security
 Write-protect notch

 --
 James Cameron
 http://quozl.linux.org.au/

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


[Server-devel] HOWTO.xs-custom

2013-06-28 Thread Jerry Vonau
Hi All:

With the recent acceptance of my port of the python's customization routine
over to TinyCore I'm attempting document the process and I need some help
with that. Here is what I have so far.




Build tinycore with --xo-custom, this will enable 4 optional routines

When booting the usbkey you will enter a chroot on the target XO and the
usbkey will be mounted at /media for all operations below.

1. You will be able to populate /bundles on the usbkey with activities,
they will automatically install.

2. If you provide /scripts/asroot you can run commands contained in the
file as the root user.

3. If you provide /scripts/asolpc you can run commands contained in the
file as the root user.

4. If you provide /scripts/yum.conf, /scripts/yum.cmd, and a configured yum
repo then yum gets executed with -y -c pointing to /scripts/yum.conf and
/scripts/yum.cmd as the arguments. The yum.conf file would use
file:///media/path/to/repo

Examples:

asroot:
-
#!/bin/bash
cp /media/file /path/on/xo
cp /usr/share/zoneinfo/Canada/Central /etc/localtime
-

asolpc:
-
#!/bin/bash
cp /media/file ~/Documents/
sed -i -e '/replacethis/withthis/' /some/file

cat  EOF  ~/.i18n
LANG=en_AU.UTF-8
LC_ALL=en_AU.UTF-8
LANGUAGE=en_GB.utf8:en_US.utf8
EOF
-

yum.cmd:
-
install xs-config-xo
-

yum.conf:
-
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
exactarch=1
obsoletes=1
gpgcheck=0
plugins=0
installonly_limit=3

# disables /etc/yum.repos.d
reposdir=/tmp
# keep the log file
logfile=/home/olpc/.sugar/default/yum.log

#  This is the default, if you make this bigger yum won't see if the
metadata
# is newer on the remote and so you'll gain the bandwidth of not having to
# download the new metadata and pay for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this
checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

[media.repo]
name=flash
baseurl=file:///media/xs-repo/armhfp/18/
enabled=1
gpgcheck=0
gpgkey=
-

Happy Hacking




Any thoughts on how to improve this are welcome.

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


Re: [Server-devel] XSCE links to filesfrom Moodle

2013-06-26 Thread Jerry Vonau
On Wed, 2013-06-26 at 14:36 +1000, David Leeming wrote:
 Hi,
 
  
 
 With the XS 0.7 we add links to Moodle pages that map to locations in
 the storage folder /library using aliases and html.conf file
 
  
 
 I have gone through the exact process as we used to use with the XSCE
 and all good in the set up, but when I try to access those resources
 with a connected laptop or authenticated moodle account t it tells me
 that I don’t have permission to view the folder.
 
  
 
 A missing step I think...
 
  

Sounds like you ran into the Access Control Require all granted
upgrade issue: https://httpd.apache.org/docs/2.4/upgrading.html

Jerry

 
 David Leeming
 
 Solomon Islands 
 
 24419 (h)
 
 www.rurallink.com.sb
 
  
 
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: [OLPC New Zealand] Māori Macrons olpc keyboard

2013-06-24 Thread Jerry Vonau
On 24 June 2013 06:43, Walter Bender walter.ben...@gmail.com wrote:

 Which build are you running? In the latest Sugar builds, there is a
 keyboard settings control panel section. We could probably backport it
 to your build if it is reasonably recent.


In OLPC's  Dextrose's versions of sugar the sugar-cp-keyboard rpm doesn't
get installed. Think there is a conflict over the keyboard with
olpc-configure supplied by olpc-utils.

Jerry


 Meanwhile, we may have to make a new X keyboard symbols file for you
 that does the right thing. Not impossible to get upstreamed.

 regards.

 -walter

 On Mon, Jun 24, 2013 at 6:53 AM, Tom Parker t...@carrott.org wrote:
  Hi,
 
  I'm looking at how you enter a macron for Māori language users.
 
  It seems that the olpc us international keyboard binds a ̄  COMBINING
 MACRON
  (unicode U+0304) to algr + hyphan. When typed after the letter a you get
 ā
  which is similar to but not the same as ā LATIN SMALL LETTER A WITH
 MACRON
  (unicode U+0101).
 
  Issues I've noted with a small amount of testing:
 
  On older builds, Write does not correctly load files containing the
  combining macron.
  The combining macron is not rendered at the correct height for lower case
  letters. (on older builds this seems to be the case all the time, on
 newer
  builds, it is rendered correctly after loading a file until you delete a
  following character the on the same line, then it jumps up)
  You can have more than one combining macron, they stack.
  You have to delete twice, once to delete the macron and again to delete
 the
  character.
 
  Have these issues come up before? I don't see any. I will raise tickets
 for
  the bugs rendering the macron in the latest version of write shortly. I'm
  not sure if anyone wants a ticket for older builds? Obviously stacking
  macrons is by-design when using the combining macron character (see
  https://twitter.com/glitchr_/ for more improbable outcomes of combining
  characters, perhaps your browser will crash).
 
  I haven't yet experimented with entering the ā U+0101 characters into
 sugar
  (tomorrow!)
 
  Apparently on Windows, the Māori keyboard is set up such that when you
 hit
  the grave (apparently this is what I have always called the backtick) key
  and then one of the vowels, you get the macron version of the vowel. I
  haven't seen this in action but Māori typists claim it is very efficient.
 
  Gnome on Ubuntu on my laptop binds right-alt-a to ā U+0101 when using the
  Māori keyboard layout. I'm not sure how Maori typists feel about this
  inconsistency with windows.
 
  When you choose the language in sugar, can this change the keyboard
 layout
  too? If not, what is the recommended way to configure this?
 
  How complex is it to change the localization of the keyboard for the
 Maori
  language? The xkb files don't look too complicated. Is the grave - vowel
 =
  macron vowel possible while still preserving the backtick for shell
  scripting? I haven't seen the laptops in question but I'm told they have
 the
  Australian simplified key caps, so changing the existing alt-gr mappings
 to
  render macron vowels (ie to mimic the Maori keyboard option on
 Gnome-Ubuntu)
  instead of the existing mappings won't confuse the key caps.
 
  Obviously touching all the laptops to change how the keyboard works is a
  pain and the change is potentially erased by future updates.
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel



 --
 Walter Bender
 Sugar Labs
 http://www.sugarlabs.org
 ___
 OLPC-NZ mailing list
 olpc...@lists.laptop.org
 http://lists.laptop.org/listinfo/olpc-nz

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


Re: [Server-devel] ANNOUNCEMENT XSCE 0.3 Final Release

2013-06-12 Thread Jerry Vonau
On Wed, 2013-06-12 at 21:16 +1000, James Cameron wrote:
 On Wed, Jun 12, 2013 at 05:26:37AM -0400, George Hunt wrote:
  It's my understanding that 32GB cards work, but that 64GB cards do not
  (hearsay, and not direct personal experience).
 

Think you ran across this issue before:

http://lists.laptop.org/pipermail/devel/2012-October/036017.html


 I'm interested in working with anyone who has one, in order to
 diagnose and fix this.  Let me know.
 

Think this has been corrected:

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

Jerry


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


Re: Install Firefox

2013-06-03 Thread Jerry Vonau
On Mon, 2013-06-03 at 14:29 +0545, Basanta Shrestha wrote:
 It was reading repository information from file:///root/local but
 packages were not installed. 
 
 
 On Mon, Jun 3, 2013 at 2:02 PM, Basanta Shrestha
 basanta.shres...@olenepal.org wrote:
 
 
 
 On Mon, Jun 3, 2013 at 10:30 AM, Basanta Shrestha
 basanta.shres...@olenepal.org wrote:
 
 
 
 On Sat, Jun 1, 2013 at 12:40 AM, Jerry Vonau
 jvo...@shaw.ca wrote:
 On Fri, 2013-05-31 at 11:14 +0545, Basanta
 Shrestha wrote:
  Adding fedora=fedora_update and rebuilding
 didn't work.
 
 
  Jerry, As you suggested it installed all the
 required newer
  firefox,xulrunner and nss... packages but
 the resulting image couldn't
  boot the XO. Now I am going for your second
 suggestion. I have created
  a local repo for firefox, xulrunner and
 other dependencies( 9
  altogether) . Could you please check if the
 entries are right?
 
 
 
 Well I'm surprised that I'm the only one to
 answer this, I gave the
 others ample time to respond.
 
 yes, looks like no one takes pride on answering simple
 questions ;)
  
 
  /root/local/.repo
 
 
 Where did you download the rpms to?  Was it
 /root/local/?
 Did you run createrepo /root/local/?
 
 
 yes to /root/local/ and I have done createrepo.  
 
 
  --
  [local]
  name=firefox-xulrunner local
  baseurl=file:///root/local/
  gpgcheck=0
  enabled=1
  --
 
 
 
 I don't understand, what are you doing with
 the above code?
 
 
   olpc-os-12.1.0-xo1.75.ini
 
 
 
  Right below [repos] section
 
 
  --
  [custom_repo]
  local=1,firefox,file:///root/local/
  --
 
 
 
 No, don't do that, you have to use the OOB
 method of naming the repos in
 [repos].
 
 
 I was following this
 documentation 
 http://cainmanor.com/tech/build-a-custom-repository-for-centos/ and they had 
 this extra step to create .repo file. so .   
 
 [repos]
 fedora_arch=i386
 olpc_frozen_1=0,koji.dist-f17-i686
 olpc_frozen_2=0,koji.dist-f17-i686-updates-12.1.0
 olpc_frozen_3=1,local.12.1.0
 olpc_frozen_4=1,local.12.1.0-xo1.5
 custom_repo_1=0,firefox,file:///root/local/
 
 add_excludes_to=koji.dist-f17-i686,koji.dist-f17-i686-updates-12.1.0
 
 When you run osbuilder.py, early into the
 routine you can see the repos
 being contacted, check to see if your new one
 is being used or there is
 an error present.
 
 
 The repo seems to be working now it is retrieving
 packages form local repo. 
 Thanks Jerry you have been a great help for me.
 
 
 Well it was trying to retrieving from file://root/local but it
 didn't install any package. Wonder what is wrong. 

Just like you used yum to install firefox in the field, did you ask OOB
to install firefox? In your ini file you need

Re: Install Firefox

2013-05-31 Thread Jerry Vonau
On Fri, 2013-05-31 at 11:14 +0545, Basanta Shrestha wrote:
 Adding fedora=fedora_update and rebuilding didn't work. 
 
 
 Jerry, As you suggested it installed all the required newer
 firefox,xulrunner and nss... packages but the resulting image couldn't
 boot the XO. Now I am going for your second suggestion. I have created
 a local repo for firefox, xulrunner and other dependencies( 9
 altogether) . Could you please check if the entries are right? 
 

Well I'm surprised that I'm the only one to answer this, I gave the
others ample time to respond.

 
 /root/local/.repo 
 

Where did you download the rpms to?  Was it /root/local/?
Did you run createrepo /root/local/?

 
 --
 [local]
 name=firefox-xulrunner local
 baseurl=file:///root/local/
 gpgcheck=0
 enabled=1
 --
 

I don't understand, what are you doing with the above code?

 
  olpc-os-12.1.0-xo1.75.ini
 
 
 
 Right below [repos] section 
 
 
 --
 [custom_repo]
 local=1,firefox,file:///root/local/
 --
 

No, don't do that, you have to use the OOB method of naming the repos in
[repos].

[repos]
fedora_arch=i386
olpc_frozen_1=0,koji.dist-f17-i686
olpc_frozen_2=0,koji.dist-f17-i686-updates-12.1.0
olpc_frozen_3=1,local.12.1.0
olpc_frozen_4=1,local.12.1.0-xo1.5
custom_repo_1=0,firefox,file:///root/local/
add_excludes_to=koji.dist-f17-i686,koji.dist-f17-i686-updates-12.1.0

When you run osbuilder.py, early into the routine you can see the repos
being contacted, check to see if your new one is being used or there is
an error present.

Jerry

 
 
 
 
 
 
 
 On Fri, May 31, 2013 at 1:37 AM, Jerry Vonau jvo...@shaw.ca wrote:
 On Thu, 2013-05-30 at 15:22 +0100, Peter Robinson wrote:
  On Thu, May 30, 2013 at 3:09 PM, Daniel Drake
 d...@laptop.org wrote:
   On Wed, May 29, 2013 at 11:50 PM, Peter Robinson
 pbrobin...@gmail.com wrote:
   Firefox and xulrunner 17 are the late known good (and
 matching) builds
   for Fedora 17, you need the major versions to be matching
 (so
   12/13/17) but if you were pulling in all the latest
 stable updates
   into the build you would have matching ones AFAICT from
 koji so
   there's some other issue.
  
   Ah yes, you are right, the latest available versions on
 koji are
   matching (v17) and built OK. I didn't spot them in the
 mass of failed
   builds. So the Fedora situation is OK.
  
   I'm not sure what the following lines translate to but
 you should
   never use the koji repositories as repos as they contain
 all sorts of
   randomly tagged bits that the release repos don't.
  
   olpc_frozen_1=0,koji.dist-f17-armv7hl
   olpc_frozen_2=0,koji.dist-f17-armv7hl-updates-12.1.0
  
   Don't worry, these are not the koji repos you are thinking
 of. They
   are OLPC's frozen versions of fedora repos from the
 release's freeze
   date and are not directly from koji - really we should
 change the
   naming scheme.
  
   And this is the cause of the problem - upon release freeze
 date, the
   firefox/xulrunner situation was in inconsistent state;
 this problem
   has been frozen in our repos.
  
   Basanta, I would advise against adding the official
 fedora-updates
   repo into your build as has been suggested in this thread
 - while this
   will result in a well matched firefox/xulrunner
 combination, it will
   bring in a lot of untested package updates that were not
 part of the
   release and have probably not been tested on OLPC XO.
  
 
 
 That is why later in the thread I suggested to download what
 yum
 installed on the XO, then create and use a custom repo for
 OOB.
 
   Instead, create a local repo with these 2 packages and add
 it to your
   build config:
  
 http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=109570
  
 http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=116355
 
  It will need newer nss*/nspr builds too.
 
  Peter
 
 
 Jerry
 
 
 
 
 
 
 
 
 
 -- 
 Basanta Shrestha
 Network Engineer
 Open Learning Exchange (OLE) Nepal
 Tel: +977.1.551, 5520075 Ext. 303
 Cell: +977.9818 605110
 http://www.olenepal.org


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


Re: Install Firefox

2013-05-30 Thread Jerry Vonau
On Thu, 2013-05-30 at 12:14 +0545, Basanta Shrestha wrote:
 # yum install firefox on XO actually downloaded new set of packages
 listed below and firefox now works
 
 (1/9): firefox-17.0.1-1.fc17.armv7hl.rpm | 25 MB 05:27 
 (2/9): nspr-4.9.6-1.fc17.armv7hl.rpm | 94 kB 00:02 
 (3/9): nss-3.14.3-1.fc17.armv7hl.rpm | 640 kB 00:17 
 (4/9): nss-softokn-3.14.3-1.fc17.armv7hl.rpm | 210 kB 00:04 
 (5/9): nss-softokn-freebl-3.14.3-1.fc17.armv7hl.rpm | 130 kB 00:01 
 (6/9): nss-sysinit-3.14.3-1.fc17.armv7hl.rpm | 39 kB 00:00 
 (7/9): nss-tools-3.14.3-1.fc17.armv7hl.rpm | 325 kB 00:04 
 (8/9): nss-util-3.14.3-1.fc17.armv7hl.rpm | 53 kB 00:01 
 (9/9): xulrunner-17.0.1-3.fc17.armv7hl.rpm | 12 MB 02:29 
 
 
 Now, as a solution I am planning to reside these packages on the build
 system and have olpc-os-builder install these packages during build
 time. I do I accomplish this? 
 
 

Try enabling the fedora-updates repo in OOB, add to your repo definition
above the olpc_frozen definition:

fedora=fedora-updates

After the build check the *package.txt file in build/output to confirm
what was installed and maybe do a diff between an older build to gauge
what else was changed.

Jerry


 On Thu, May 30, 2013 at 11:43 AM, Jerry Vonau jvo...@shaw.ca wrote:
 On Thu, 2013-05-30 at 06:50 +0100, Peter Robinson wrote:
  On Thu, May 30, 2013 at 6:18 AM, Basanta Shrestha
  basanta.shres...@olenepal.org wrote:
   Please check my repo list at this configuration file.
   http://pastebin.ca/2384881
  
   and xulrunner and firefox version
   xulrunner-13.0-1.fc17.armv7vl
   firefox-12.0-1.fc17.armv7hl
 
  Firefox and xulrunner 17 are the late known good (and
 matching) builds
  for Fedora 17, you need the major versions to be matching
 (so
  12/13/17) but if you were pulling in all the latest stable
 updates
  into the build you would have matching ones AFAICT from koji
 so
  there's some other issue.
 
  I'm not sure what the following lines translate to but you
 should
  never use the koji repositories as repos as they contain all
 sorts of
  randomly tagged bits that the release repos don't.
 
  olpc_frozen_1=0,koji.dist-f17-armv7hl
  olpc_frozen_2=0,koji.dist-f17-armv7hl-updates-12.1.0
 
  Peter
 
 
 
 Thought that was the official way of using OOB once the
 release enters
 the frozen state. Please advise.
 
 Jerry
 
   Thank you.
  
  
  
   On Wed, May 29, 2013 at 8:38 PM, Jerry Vonau
 jvo...@shaw.ca wrote:
  
   On Wed, 2013-05-29 at 08:08 -0600, Daniel Drake wrote:
On Tue, May 28, 2013 at 9:40 PM, Basanta Shrestha
basanta.shres...@olenepal.org wrote:
 Adding firefox did install firefox but gave following
 error while
 trying to
 execute on XO:
 
 $ firefox
 Error: Platform version '13.0' is not compatible with
 minVersion = 12.0
 maxVersion = 12.0
 -
   
  
   Hi Basanta,
  
   Think this has something to do with firefox wanting a
 specific xulrunner
   version. Can you confirm what version is installed with:
 rpm -q
   xulrunner.
  
   I have a workaround that I used with F14 that should
 still work with
   this situation. Which repos are enabled in
 olpc-so-builder when you
   generate the image?
  
   Jerry
  
  
Looks like an incompatibility with xulrunner, which
 hasn't been
successfully built on F17 in a while:
   
 http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=10131
Maybe Peter has some comments.
   
You could try an older version of firefox to match the
 latest (old)
version of xulrunner available.
   
Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel
  
  
  
  
  
   --
   Basanta Shrestha
   Network Engineer
   Open Learning Exchange (OLE) Nepal
   Tel: +977.1.551, 5520075 Ext. 303
   Cell: +977.9818 605110
   http://www.olenepal.org
 
 
 
 
 
 
 
 -- 
 Basanta Shrestha
 Network Engineer
 Open Learning Exchange (OLE) Nepal
 Tel: +977.1.551, 5520075 Ext. 303
 Cell: +977.9818 605110
 http://www.olenepal.org

Re: Install Firefox

2013-05-30 Thread Jerry Vonau
On Thu, 2013-05-30 at 01:50 -0500, Jerry Vonau wrote:
 On Thu, 2013-05-30 at 12:14 +0545, Basanta Shrestha wrote:
  # yum install firefox on XO actually downloaded new set of packages
  listed below and firefox now works
  
  (1/9): firefox-17.0.1-1.fc17.armv7hl.rpm | 25 MB 05:27 
  (2/9): nspr-4.9.6-1.fc17.armv7hl.rpm | 94 kB 00:02 
  (3/9): nss-3.14.3-1.fc17.armv7hl.rpm | 640 kB 00:17 
  (4/9): nss-softokn-3.14.3-1.fc17.armv7hl.rpm | 210 kB 00:04 
  (5/9): nss-softokn-freebl-3.14.3-1.fc17.armv7hl.rpm | 130 kB 00:01 
  (6/9): nss-sysinit-3.14.3-1.fc17.armv7hl.rpm | 39 kB 00:00 
  (7/9): nss-tools-3.14.3-1.fc17.armv7hl.rpm | 325 kB 00:04 
  (8/9): nss-util-3.14.3-1.fc17.armv7hl.rpm | 53 kB 00:01 
  (9/9): xulrunner-17.0.1-3.fc17.armv7hl.rpm | 12 MB 02:29 
  
  
  Now, as a solution I am planning to reside these packages on the build
  system and have olpc-os-builder install these packages during build
  time. I do I accomplish this? 
  
  
 
 Try enabling the fedora-updates repo in OOB, add to your repo definition
 above the olpc_frozen definition:
 
 fedora=fedora-updates
 
 After the build check the *package.txt file in build/output to confirm
 what was installed and maybe do a diff between an older build to gauge
 what else was changed.
 
 Jerry
 

Or you can download those rpms and use a custom repo definition in OOB
to have tighter control over what goes into the image.

Jerry

 
  On Thu, May 30, 2013 at 11:43 AM, Jerry Vonau jvo...@shaw.ca wrote:
  On Thu, 2013-05-30 at 06:50 +0100, Peter Robinson wrote:
   On Thu, May 30, 2013 at 6:18 AM, Basanta Shrestha
   basanta.shres...@olenepal.org wrote:
Please check my repo list at this configuration file.
http://pastebin.ca/2384881
   
and xulrunner and firefox version
xulrunner-13.0-1.fc17.armv7vl
firefox-12.0-1.fc17.armv7hl
  
   Firefox and xulrunner 17 are the late known good (and
  matching) builds
   for Fedora 17, you need the major versions to be matching
  (so
   12/13/17) but if you were pulling in all the latest stable
  updates
   into the build you would have matching ones AFAICT from koji
  so
   there's some other issue.
  
   I'm not sure what the following lines translate to but you
  should
   never use the koji repositories as repos as they contain all
  sorts of
   randomly tagged bits that the release repos don't.
  
   olpc_frozen_1=0,koji.dist-f17-armv7hl
   olpc_frozen_2=0,koji.dist-f17-armv7hl-updates-12.1.0
  
   Peter
  
  
  
  Thought that was the official way of using OOB once the
  release enters
  the frozen state. Please advise.
  
  Jerry
  
Thank you.
   
   
   
On Wed, May 29, 2013 at 8:38 PM, Jerry Vonau
  jvo...@shaw.ca wrote:
   
On Wed, 2013-05-29 at 08:08 -0600, Daniel Drake wrote:
 On Tue, May 28, 2013 at 9:40 PM, Basanta Shrestha
 basanta.shres...@olenepal.org wrote:
  Adding firefox did install firefox but gave following
  error while
  trying to
  execute on XO:
  
  $ firefox
  Error: Platform version '13.0' is not compatible with
  minVersion = 12.0
  maxVersion = 12.0
  -

   
Hi Basanta,
   
Think this has something to do with firefox wanting a
  specific xulrunner
version. Can you confirm what version is installed with:
  rpm -q
xulrunner.
   
I have a workaround that I used with F14 that should
  still work with
this situation. Which repos are enabled in
  olpc-so-builder when you
generate the image?
   
Jerry
   
   
 Looks like an incompatibility with xulrunner, which
  hasn't been
 successfully built on F17 in a while:

  http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=10131
 Maybe Peter has some comments.

 You could try an older version of firefox to match the
  latest (old)
 version of xulrunner available.

 Daniel
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
   
   
   
   
   
--
Basanta Shrestha
Network Engineer
Open Learning Exchange (OLE) Nepal
Tel

Re: Install Firefox

2013-05-30 Thread Jerry Vonau
On Thu, 2013-05-30 at 01:56 -0500, Jerry Vonau wrote:
 On Thu, 2013-05-30 at 01:50 -0500, Jerry Vonau wrote:
  On Thu, 2013-05-30 at 12:14 +0545, Basanta Shrestha wrote:
   # yum install firefox on XO actually downloaded new set of packages
   listed below and firefox now works
   
   (1/9): firefox-17.0.1-1.fc17.armv7hl.rpm | 25 MB 05:27 
   (2/9): nspr-4.9.6-1.fc17.armv7hl.rpm | 94 kB 00:02 
   (3/9): nss-3.14.3-1.fc17.armv7hl.rpm | 640 kB 00:17 
   (4/9): nss-softokn-3.14.3-1.fc17.armv7hl.rpm | 210 kB 00:04 
   (5/9): nss-softokn-freebl-3.14.3-1.fc17.armv7hl.rpm | 130 kB 00:01 
   (6/9): nss-sysinit-3.14.3-1.fc17.armv7hl.rpm | 39 kB 00:00 
   (7/9): nss-tools-3.14.3-1.fc17.armv7hl.rpm | 325 kB 00:04 
   (8/9): nss-util-3.14.3-1.fc17.armv7hl.rpm | 53 kB 00:01 
   (9/9): xulrunner-17.0.1-3.fc17.armv7hl.rpm | 12 MB 02:29 
   
   
   Now, as a solution I am planning to reside these packages on the build
   system and have olpc-os-builder install these packages during build
   time. I do I accomplish this? 
   
   
  
  Try enabling the fedora-updates repo in OOB, add to your repo definition
  above the olpc_frozen definition:
  
  fedora=fedora-updates
  
  After the build check the *package.txt file in build/output to confirm
  what was installed and maybe do a diff between an older build to gauge
  what else was changed.
  
  Jerry
  
 
 Or you can download those rpms and use a custom repo definition in OOB
 to have tighter control over what goes into the image.
 

Once you have the rpms downloaded and you have run createrepo against
the directory containing the rpms, add the custom repo definition to
your config file but change the path to suit your machine:

custom_repo_1=1,firefox,file:///some/path/to/repo/

Ensure you have file:/// in path string.

Jerry


 Jerry
 
  
   On Thu, May 30, 2013 at 11:43 AM, Jerry Vonau jvo...@shaw.ca wrote:
   On Thu, 2013-05-30 at 06:50 +0100, Peter Robinson wrote:
On Thu, May 30, 2013 at 6:18 AM, Basanta Shrestha
basanta.shres...@olenepal.org wrote:
 Please check my repo list at this configuration file.
 http://pastebin.ca/2384881

 and xulrunner and firefox version
 xulrunner-13.0-1.fc17.armv7vl
 firefox-12.0-1.fc17.armv7hl
   
Firefox and xulrunner 17 are the late known good (and
   matching) builds
for Fedora 17, you need the major versions to be matching
   (so
12/13/17) but if you were pulling in all the latest stable
   updates
into the build you would have matching ones AFAICT from koji
   so
there's some other issue.
   
I'm not sure what the following lines translate to but you
   should
never use the koji repositories as repos as they contain all
   sorts of
randomly tagged bits that the release repos don't.
   
olpc_frozen_1=0,koji.dist-f17-armv7hl
olpc_frozen_2=0,koji.dist-f17-armv7hl-updates-12.1.0
   
Peter
   
   
   
   Thought that was the official way of using OOB once the
   release enters
   the frozen state. Please advise.
   
   Jerry
   
 Thank you.



 On Wed, May 29, 2013 at 8:38 PM, Jerry Vonau
   jvo...@shaw.ca wrote:

 On Wed, 2013-05-29 at 08:08 -0600, Daniel Drake wrote:
  On Tue, May 28, 2013 at 9:40 PM, Basanta Shrestha
  basanta.shres...@olenepal.org wrote:
   Adding firefox did install firefox but gave following
   error while
   trying to
   execute on XO:
   
   $ firefox
   Error: Platform version '13.0' is not compatible with
   minVersion = 12.0
   maxVersion = 12.0
   -
 

 Hi Basanta,

 Think this has something to do with firefox wanting a
   specific xulrunner
 version. Can you confirm what version is installed with:
   rpm -q
 xulrunner.

 I have a workaround that I used with F14 that should
   still work with
 this situation. Which repos are enabled in
   olpc-so-builder when you
 generate the image?

 Jerry


  Looks like an incompatibility with xulrunner, which
   hasn't been
  successfully built on F17 in a while:
 
   http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=10131
  Maybe Peter has some comments.
 
  You could try an older version of firefox to match

Re: Install Firefox

2013-05-30 Thread Jerry Vonau
On Thu, 2013-05-30 at 15:22 +0100, Peter Robinson wrote:
 On Thu, May 30, 2013 at 3:09 PM, Daniel Drake d...@laptop.org wrote:
  On Wed, May 29, 2013 at 11:50 PM, Peter Robinson pbrobin...@gmail.com 
  wrote:
  Firefox and xulrunner 17 are the late known good (and matching) builds
  for Fedora 17, you need the major versions to be matching (so
  12/13/17) but if you were pulling in all the latest stable updates
  into the build you would have matching ones AFAICT from koji so
  there's some other issue.
 
  Ah yes, you are right, the latest available versions on koji are
  matching (v17) and built OK. I didn't spot them in the mass of failed
  builds. So the Fedora situation is OK.
 
  I'm not sure what the following lines translate to but you should
  never use the koji repositories as repos as they contain all sorts of
  randomly tagged bits that the release repos don't.
 
  olpc_frozen_1=0,koji.dist-f17-armv7hl
  olpc_frozen_2=0,koji.dist-f17-armv7hl-updates-12.1.0
 
  Don't worry, these are not the koji repos you are thinking of. They
  are OLPC's frozen versions of fedora repos from the release's freeze
  date and are not directly from koji - really we should change the
  naming scheme.
 
  And this is the cause of the problem - upon release freeze date, the
  firefox/xulrunner situation was in inconsistent state; this problem
  has been frozen in our repos.
 
  Basanta, I would advise against adding the official fedora-updates
  repo into your build as has been suggested in this thread - while this
  will result in a well matched firefox/xulrunner combination, it will
  bring in a lot of untested package updates that were not part of the
  release and have probably not been tested on OLPC XO.
 

That is why later in the thread I suggested to download what yum
installed on the XO, then create and use a custom repo for OOB.

  Instead, create a local repo with these 2 packages and add it to your
  build config:
  http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=109570
  http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=116355
 
 It will need newer nss*/nspr builds too.
 
 Peter

Jerry





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


Re: Install Firefox

2013-05-29 Thread Jerry Vonau
On Wed, 2013-05-29 at 08:08 -0600, Daniel Drake wrote:
 On Tue, May 28, 2013 at 9:40 PM, Basanta Shrestha
 basanta.shres...@olenepal.org wrote:
  Adding firefox did install firefox but gave following error while trying to
  execute on XO:
  
  $ firefox
  Error: Platform version '13.0' is not compatible with
  minVersion = 12.0
  maxVersion = 12.0
  -
 

Hi Basanta,

Think this has something to do with firefox wanting a specific xulrunner
version. Can you confirm what version is installed with: rpm -q
xulrunner. 

I have a workaround that I used with F14 that should still work with
this situation. Which repos are enabled in olpc-so-builder when you
generate the image?

Jerry


 Looks like an incompatibility with xulrunner, which hasn't been
 successfully built on F17 in a while:
 http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=10131
 Maybe Peter has some comments.
 
 You could try an older version of firefox to match the latest (old)
 version of xulrunner available.
 
 Daniel
 ___
 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: Install Firefox

2013-05-29 Thread Jerry Vonau
On Thu, 2013-05-30 at 06:50 +0100, Peter Robinson wrote:
 On Thu, May 30, 2013 at 6:18 AM, Basanta Shrestha
 basanta.shres...@olenepal.org wrote:
  Please check my repo list at this configuration file.
  http://pastebin.ca/2384881
 
  and xulrunner and firefox version
  xulrunner-13.0-1.fc17.armv7vl
  firefox-12.0-1.fc17.armv7hl
 
 Firefox and xulrunner 17 are the late known good (and matching) builds
 for Fedora 17, you need the major versions to be matching (so
 12/13/17) but if you were pulling in all the latest stable updates
 into the build you would have matching ones AFAICT from koji so
 there's some other issue.
 
 I'm not sure what the following lines translate to but you should
 never use the koji repositories as repos as they contain all sorts of
 randomly tagged bits that the release repos don't.
 
 olpc_frozen_1=0,koji.dist-f17-armv7hl
 olpc_frozen_2=0,koji.dist-f17-armv7hl-updates-12.1.0
 
 Peter
 

Thought that was the official way of using OOB once the release enters
the frozen state. Please advise.

Jerry

  Thank you.
 
 
 
  On Wed, May 29, 2013 at 8:38 PM, Jerry Vonau jvo...@shaw.ca wrote:
 
  On Wed, 2013-05-29 at 08:08 -0600, Daniel Drake wrote:
   On Tue, May 28, 2013 at 9:40 PM, Basanta Shrestha
   basanta.shres...@olenepal.org wrote:
Adding firefox did install firefox but gave following error while
trying to
execute on XO:

$ firefox
Error: Platform version '13.0' is not compatible with
minVersion = 12.0
maxVersion = 12.0
-
  
 
  Hi Basanta,
 
  Think this has something to do with firefox wanting a specific xulrunner
  version. Can you confirm what version is installed with: rpm -q
  xulrunner.
 
  I have a workaround that I used with F14 that should still work with
  this situation. Which repos are enabled in olpc-so-builder when you
  generate the image?
 
  Jerry
 
 
   Looks like an incompatibility with xulrunner, which hasn't been
   successfully built on F17 in a while:
   http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=10131
   Maybe Peter has some comments.
  
   You could try an older version of firefox to match the latest (old)
   version of xulrunner available.
  
   Daniel
   ___
   Devel mailing list
   Devel@lists.laptop.org
   http://lists.laptop.org/listinfo/devel
 
 
 
 
 
  --
  Basanta Shrestha
  Network Engineer
  Open Learning Exchange (OLE) Nepal
  Tel: +977.1.551, 5520075 Ext. 303
  Cell: +977.9818 605110
  http://www.olenepal.org


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


Re: [Server-devel] 12 Volt power system for School Servers.

2013-05-29 Thread Jerry Vonau
On Wed, 2013-05-29 at 15:03 -0500, David Farning wrote:
 Tony could you share more information about your work on 12 Volt power
 supplies for School Servers?
 
 
 Whenever I see a School Server setup containing a 12V Battery, an
 inverter, a power strip, and a couple of 120V to 12V power supplies to
 provide power for the server and the AP... my eyes start to tear up:(
 
 

Is the inverter really needed for a XO? The step-down transformer used
on the XO puts out 13.5v but the XOs only need 11 volts to charge[1].
Therefore I believe you could run and/or charge the XOs directly from a
12v source like a storage battery, perhaps though a regulator. I just
don't want to cut the cord off of a working power supply to find out. 

 The situation I am looking at has power part of the day so we can
 recharge the battery. To keep things simple we would like to use a
 Trimslice or XO-4 and off the shelf AP.
 
 

Most of the networking devices use a transformer also but with perhaps a
different voltage rating, with a regulator that takes 12 DC in we can
output the voltage needed for the lower (12v) voltage DC devices. If
they run on usb power or  12v dc this should be do-able.

 Ideally we would like to have 'kit' that contained everything except
 that battery that can be set up and tested before arriving at the
 deployment.
 
 
 Thanks
 

Recharging the storage battery is limited by the means that are
available to recharge the storage battery perhaps via solar or wind, and
is the related to the issue of how many XOs are in use that need
charging.

Jerry

1. http://wiki.laptop.org/index.php?title=Battery_and_power

 
 -- 
 David Farning
 Activity Central: http://www.activitycentral.com
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: [Server-devel] 12 Volt power system for School Servers.

2013-05-29 Thread Jerry Vonau
On Wed, 2013-05-29 at 15:42 -0500, David Farning wrote:
 The piece I am looking at is reducing the losses between the battery
 and the server/AP.
 

See my earlier response.

 
 Several systems have a 12V Battery which is inverted to 120AC which is
 then transformed back to low voltage DC for input to the server/AP.
 That doesn't seem very efficient.
 

+1

Jerry

 
 Dave
 
 
 On Wed, May 29, 2013 at 3:29 PM, Sameer Verma sve...@sfsu.edu wrote:
 On Wed, May 29, 2013 at 1:03 PM, David Farning
 dfarn...@activitycentral.com wrote:
  Tony could you share more information about your work on 12
 Volt power
  supplies for School Servers?
 
  Whenever I see a School Server setup containing a 12V
 Battery, an inverter,
  a power strip, and a couple of 120V to 12V power supplies to
 provide power
  for the server and the AP... my eyes start to tear up:(
 
  The situation I am looking at has power part of the day so
 we can recharge
  the battery. To keep things simple we would like to use a
 Trimslice or XO-4
  and off the shelf AP.
 
  Ideally we would like to have 'kit' that contained
 everything except that
  battery that can be set up and tested before arriving at the
 deployment.
 
  Thanks
 
  --
  David Farning
  Activity Central: http://www.activitycentral.com
 
 
  ___
  Server-devel mailing list
  Server-devel@lists.laptop.org
  http://lists.laptop.org/listinfo/server-devel
 
 
 What about an off-the-shelf SoHo UPS unit?
 
 cheers,
 Sameer
 
 
 
 
 -- 
 David Farning
 Activity Central: http://www.activitycentral.com
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Latest build (34) for testing

2013-05-23 Thread Jerry Vonau
Hi Folks,

Hot off the press is the latest edition of XO-system-1 (build 34) based on
OLPC's 13.2.0-7
http://download.laptop.org/xo-4/os/candidate/13.2.0-7/for the
XO-duo(-4) is available at
http://build.laptop.org.au/xo/os/32034oe-XO4.

Upstream release
noteshttp://lists.laptop.org/pipermail/devel/2013-May/037252.htmlon
the latest hardware support issues resolved, but with the very latest
kernel (kernel-3.5.7_xo4-20130523.1701.olpc.36da52f.armv7hl) already
installed. Power management is enabled for this build.

There are updated versions of Maze and Memorise to test long with the
latest version of TurtleBlocks available with the Australian plug-in
pre-installed.

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


Re: Latest build for evaluation

2013-05-16 Thread Jerry Vonau
On 16 May 2013 00:59, Jerry Vonau je...@laptop.org.au wrote:



 On 15 May 2013 22:02, Jerry Vonau je...@laptop.org.au wrote:

 Hi Folks,

 Soon to be hot off the press is the latest edition of XO-system-1 (build
 31) based on OLPC's 13.2.0-6 http://build.laptop.org/13.2.0/os6/xo-4/for 
 the XO-duo(-4) will be available at
 http://build.laptop.org.au/xo/os/output.32030OE4-XO-4/ shortly.

 I'll post an update when it's ready, stay tuned.


 Sorry folks, this will be delayed for a little bit.


HI again,

We are ready to rock  roll now with build 32, the new url is
http://build.laptop.org.au/xo/os/32032OE4-XO-4/

The optional activities are now included by default, we may release others
for testing. I will make an announcement should anything new become
available via the activity updater.

thanks for your patience,

Jerry




 Jerry



 Upstream release 
 noteshttp://lists.laptop.org/pipermail/devel/2013-May/037203.htmlon the 
 latest hardware support issues resolved, but without having to upgrade
 the kernel with 
 yumhttp://lists.laptop.org/pipermail/devel/2013-May/037204.html
 .
 Power management is enabled for this build.

 The latest version of Write (89) didn't make the image but is available
 via activity updater. Upstream release 
 noteshttp://lists.sugarlabs.org/archive/sugar-devel/2013-May/043003.html

 There are updates to Paint and FotoToon in the activity updater but have
 not passed though our QA process yet, but your welcome to help test.

 There is also a later version of TurtleBlocks available for testing in
 the activity updater but will be lacking the Australian plug-in.

 In other new the release schedule for OLPC's 13.2.0 has been 
 announcedhttp://lists.laptop.org/pipermail/devel/2013-May/037205.html
 .

 Jerry



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


Latest build for evaluation

2013-05-15 Thread Jerry Vonau
Hi Folks,

Soon to be hot off the press is the latest edition of XO-system-1 (build
31) based on OLPC's 13.2.0-6 http://build.laptop.org/13.2.0/os6/xo-4/ for
the XO-duo(-4) will be available at
http://build.laptop.org.au/xo/os/output.32030OE4-XO-4/ shortly.

I'll post an update when it's ready, stay tuned.

Upstream release
noteshttp://lists.laptop.org/pipermail/devel/2013-May/037203.htmlon
the latest hardware support issues resolved, but without having to
upgrade
the kernel with
yumhttp://lists.laptop.org/pipermail/devel/2013-May/037204.html
.
Power management is enabled for this build.

The latest version of Write (89) didn't make the image but is available via
activity updater. Upstream release
noteshttp://lists.sugarlabs.org/archive/sugar-devel/2013-May/043003.html

There are updates to Paint and FotoToon in the activity updater but have
not passed though our QA process yet, but your welcome to help test.

There is also a later version of TurtleBlocks available for testing in the
activity updater but will be lacking the Australian plug-in.

In other new the release schedule for OLPC's 13.2.0 has been
announcedhttp://lists.laptop.org/pipermail/devel/2013-May/037205.html
.

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


Re: Latest build for evaluation

2013-05-15 Thread Jerry Vonau
On 15 May 2013 22:02, Jerry Vonau je...@laptop.org.au wrote:

 Hi Folks,

 Soon to be hot off the press is the latest edition of XO-system-1 (build
 31) based on OLPC's 13.2.0-6 http://build.laptop.org/13.2.0/os6/xo-4/for 
 the XO-duo(-4) will be available at
 http://build.laptop.org.au/xo/os/output.32030OE4-XO-4/ shortly.

 I'll post an update when it's ready, stay tuned.


Sorry folks, this will be delayed for a little bit.

Jerry



 Upstream release 
 noteshttp://lists.laptop.org/pipermail/devel/2013-May/037203.htmlon the 
 latest hardware support issues resolved, but without having to upgrade
 the kernel with 
 yumhttp://lists.laptop.org/pipermail/devel/2013-May/037204.html
 .
 Power management is enabled for this build.

 The latest version of Write (89) didn't make the image but is available
 via activity updater. Upstream release 
 noteshttp://lists.sugarlabs.org/archive/sugar-devel/2013-May/043003.html

 There are updates to Paint and FotoToon in the activity updater but have
 not passed though our QA process yet, but your welcome to help test.

 There is also a later version of TurtleBlocks available for testing in the
 activity updater but will be lacking the Australian plug-in.

 In other new the release schedule for OLPC's 13.2.0 has been 
 announcedhttp://lists.laptop.org/pipermail/devel/2013-May/037205.html
 .

 Jerry

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


Re: [Server-devel] 1TB drive of quality open content on XO/XS--won't boot

2013-05-14 Thread Jerry Vonau
On Sat, 2013-05-11 at 12:58 -0700, Braddock wrote:
 On 05/11/2013 12:44 PM, Holt wrote:
  Is there a way to boot a large USB hard drive attached to an XO?
 
 Further detail on the trouble drive.
 
 This is a 1TB Seagate Wireless Plus connected via USB.  It mounts 
 correctly when the XO is booted, but if it is connected when the XO is 
 powered on or rebooted, the XO drops to a firmware OK prompt.
 
 I wonder if it could be because the first partition has a boot flag set?
 
 
 # fdisk -l /dev/sda
 
 Disk /dev/sda: 1000.2 GB, 1000204885504 bytes, 1953525167 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x6f44561a
 
 Device Boot  Start End  Blocks   Id  System
 /dev/sda1   *2048 8193149 40955517 HPFS/NTFS/exFAT
 /dev/sda2 8193150  1953520064   972663457+  83  Linux
 
 

With James' earlier comment about OFW  booting a partition that has been
flagged as bootable, perhaps setting the second partition as bootable
will correct this issue.

Jerry

 Another volunteer has an external USB drive here which DOES work correctly.
 
 Thanks,
 Braddock Gaskill
 
 
  At our XS Community Sprint this week outside Toronto, we've been 
  unable to boot XOs with the 700+ GB drive(s) containing very polished 
  open content provided by http://internet-in-a-box.org
  The XOs (eg. XO-4 etc) refuse to auto-boot, leaving the screen at the 
  OK prompt.
 
  FYI our 1TB disk is a nearly complete snapshot of:
  * Wikipedia-in-41-languages, thumbnails for most all images
  * OpenStreetMap for the whole world cached at all zoom levels for fast 
  display
  * Gutenberg Prjct's full collection of 40,000+ books, images
  * Khan Academy's ~4000 video classes, etc
 
  Does firmware currently block the mounting of all large USB drives -- 
  NTFS in this case if not other filesystems?
  Might there be a workaround so isolated XO servers in Haiti (etc!) can 
  hopefully auto-boot with this quality free content?
  Cheers!
 
  -- 
  Help kids everywhere map their world, at http://olpcMAP.net !
 
  ___
  Server-devel mailing list
  server-de...@lists.laptop.org
  http://lists.laptop.org/listinfo/server-devel
 
 ___
 Server-devel mailing list
 server-de...@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: Boot time shell script on USB

2013-03-27 Thread Jerry Vonau
On Wed, 2013-03-27 at 17:51 +1000, T Gillett wrote:
 Hi All
 
 I am seeking some advice as a novice in the XO space.
 
 I would like to run a shell script (to do some configuration changes
 and install some additional packages) when an XO is started with a USB
 memory stick installed with the script on board.
 
 The idea is that users in the field can be given a USB stick
 containing the latest release which they can instal in the normal
 manner, then at a subsequent boot up, the script on the USB will run
 and configure the XO to just the way we want it.
 
 The idea is that this will provide a simple way to do upgrades and
 reconfiguration in the field.
 At present we have to ask users to start up a terminal session and run
 the script from the command line.
 This works just fine to set up the XO, but we would like to remove the
 need for the terminal session for obvious reasons.
 
 My question is whether there is a simple way to do this already built
 in to the system.
 
 I am aware of the recent discussion around using the Forth file at
 start up, but I don't think that will work for what I want as the
 operating system needs to be up to do the package installs etc that we
 want.
 
 Any suggestions appreciated.
 

Well I brought this up awhile ago[1], I hacked up dracut-modules-olpc,
where the customization key's initrd code runs it's magic, to add some
of that that functionality. There was some resistance so I've gone it
alone. I've refined the code since to add the ability to run scripts
also[2]. Let me know if your interested, should work on i386 up to
12.1.0 haven't tested on 13.1(need to compile). On a side note if
anybody knows why I can't see what going on after the initrd loads on
ARM I'd be thankful for any pointers. 

Jerry

1 http://lists.laptop.org/pipermail/devel/2011-May/031901.html
2
http://sugardextrose.org/projects/xo-au-usb/repository/revisions/master/show/dracut



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


Re: Auckland Testing Summary 23 March 2013

2013-03-25 Thread Jerry Vonau
On Mon, 2013-03-25 at 22:19 -0400, Richard A. Smith wrote:
 On 03/25/2013 02:03 PM, Richard Smith wrote:
  Battery life on XO-4 C2 seems significantly improved over previous builds.
  We would be interested in a confirmation or otherwise of this in the power
  log analysis.
 
  I guess you are comparing to 13.1.0 build 36?
  The big difference here is that 13.1.0 build 36 has automatic power
  management disabled, it is now enabled in 13.2.0 (not 100% stable just
  yet, but we continue to shake out the bugs).
 
  Its probably the firmware change rather than a build specific change.
  We turned off unused cores and in q7b23 and that made almost 800mW
  worth of difference across the board in operational power draw.  I'll
  do a plot of your power logs though and confirm.
 
 It appears there is considerable difference between your previous tests 
 and now.  Last round of logs I have from you prior to this one was March 
 2nd and prior to that was November 15, 2012 is that correct or did I 
 miss a batch between November and March?
 
 Here's a ploy of XO-4 only 13.1.0-32 vs 13.2.0-1 all your other XO-4 
 13.1.0 builds I have were very early and not really interesting from a 
 power standpoint.
 
 http://dev.laptop.org/~rsmith/auckland_13.1_vs_13.2.png
 
 Your peak decreased which I believe is from your firmware upgrade but 
 does not explain the whole story.  A closer look at your log file shows 
 a much, much higher suspend frequency in 13.2.  In your 13.1 tests you 
 had perhaps 1 or 2 suspends whereas in the 13.2 log files almost every 
 other line is a suspend event.
 
 You didn't change your testing procedure did you?  Something that would 
 allow for more idleness?
 

I was seeing high cpu usage that was present preventing suspend with
earlier builds. 

Jerry




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


RE: OS Builder output img ?

2013-03-24 Thread Jerry Vonau
On Sun, 2013-03-24 at 21:33 +0100, lio...@olpc-france.org wrote:
  
 
 Ok. I’ve done it.
 
 Is it possible to have an auto install? i.e. without need to type
 command from the prompt.
 

Yes, you would need to have your security keys installed in the XOs, but
that is difficult when the XO's have security enabled. You need a key
injector signed by OLPC to be able to install your deployment key that
you used to sign the image/firmware.

Jerry

  
 
 Lionel.
 
  
 
 De : Samuel Greenfeld [mailto:greenf...@laptop.org] 
 Envoyé : dimanche 24 mars 2013 14:40
 À : lio...@olpc-france.org
 Cc : devel@lists.laptop.org
 Objet : Re: OS Builder output img ?
 
  
 
 The fs0.zip file would only appear if you configured everything to
 make a signed build.  You would only be able to make a signed build if
 you had a copy of the private keys for the deployment you are making
 the signed build for.   Only OLPC has the keys to make a signed build
 that pretty much any XO-1 will accept.
 
 The .crc and .img files, when copied to USB, etc., are enough to
 install the image on a unlocked XO-1 with a command like copy-nand u:
 \21007xx0.img from the ok Open Firmware prompt (available if you
 press the ESC/(X) key while the startup sound plays on unlocked
 units).
 
 
 
 
  
 
 
 ___
 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: Customize default language with OS Builder

2013-03-24 Thread Jerry Vonau
On Sun, 2013-03-24 at 23:02 +0100, lio...@olpc-france.org wrote:
 Hi all,
 
  
 
 I’ve seen that the « langs= » property in the .ini for OS Builder
 allow to choose the language sets installed on the image.
 
 I wonder if there is a way to specify the default language (FR instead
 of EN for example).
 
 Do I need to use a custom script for that?
 
  

Yes, sugar reads ~/.i18n for the language list in cp-languages. You
could do something like:

cat  EOF  /home/olpc/.i18n

LANGUAGE=en_GB.utf8:en_US.utf8
EOF

 
This will only work if olpc-utils version 3.0.3 or later is used in the
image, prior versions deleted .i18n when first booted.

Jerry





 
 Thanks in advance for your answer.
 
  
 
 Lionel.
 
  
 
  
 
 
 ___
 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: Changing the Favorite Activities

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 13:52 +1000, T Gillett wrote:
 Hi
 
 I would like to be able to change the set of activities shown in the
 ring of the home view via a script in order to set up a batch of XO-1
 and XO-1.5 devices.
 
 Previously this was possible by changing the file 
 /home/olpc/.sugar/default.favorite_activities
 
 However in the current stable release this no longer works. If the
 file is changed, it is replaced with the default list on restart.
 
 Is there another mechanism available to achieve this in the current
 release?
 
 Thanks in advance.
 

Think the file you want is:

/usr/share/sugar/data/activities.defaults

Jerry



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


Re: Kernel RPMs now auto-install to boot partition

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 08:46 -0600, Daniel Drake wrote:
 Hi,
 
 Found some time to implement something that has been desired for a
 while: now when you install a kernel RPM on the XO, it will
 additionally auto-install to the boot partition, so now you can just
 install a new kernel RPM with rpm/yum and reboot and expect it to be
 used, no additional steps needed.
 
 The root of this strange behaviour (installing kernels twice) is due
 to the design of the update system, there might be room to improve on
 this in future as well, but at least this detail will now be less
 annoying to developers.

+1

Thank you,

Jerry

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


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 09:22 -0300, Rodolfo D. Arce S. wrote:
 Hello:
 
 I ran into a few problems when trying to install the XSCE 0.2. I
 downloaded the repo and installed, during the installation process i
 got this messages, but apparently everything was installed correctly.
 
 http://pastebin.com/srwDn6wX

That's part of the rpm, the %post scriptlet is calling xs-setup
--upgrade-only and the xs-setup exits at that point.

 
 I'm running in a HP DV4 laptop with Fedora 17 (security spin, i'm
 downloading the std version), it's connected to the internet with the
 wi-fi, and during xs-setup, connection is lost for some time (20-30
 secs aprox), it stops and starts Networkmanager apparently, but is
 long enough for the script to fail at downloading the required
 software, and installation fails. I think is during xs-setup-network
 

That time to restart NM seems excessive, but we need to cover that
situation. What would you time is a safe amount of time to wait before
bailing out of the install? I'm thinking 2 minutes.  


 http://pastebin.com/7YTFHLL7
 
 I'll be poking around to see if I can connect to internet with a
 cable, or pehaps give it a sleep to the script before downloading,
 if you could point me into wich file should i change.
 
 cheers
 

I have some revisions related to that in the testing repo, could you
start the next install with the testing repo enabled:

http://build.activitycentral.com/xsce.repo
 
Jerry



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


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 10:24 -0300, Rodolfo D. Arce S. wrote:
  That time to restart NM seems excessive, but we need to cover that
  situation. What would you time is a safe amount of time to wait before
  bailing out of the install? I'm thinking 2 minutes.
 
 
 
 It takes some time because the conection is wi-fi and it takes a long
 time to negotiate the conection, the is restored a couple seconds
 before the scripts exists. The ideal would be to check if connection
 is up and then continue, with a simple ping to the previously found
 gateway should work and timeout after 2 minutes or so. DHCP servers on
 most routers are fast enough for that window of time with cable
 connections, but wireless could take a while. 2 minutes is more than
 enough.
 
  I have some revisions related to that in the testing repo, could you
  start the next install with the testing repo enabled:
 
 I have to enable testing and upgrade the xs-cofig package? or is there
 a specific package that needs to be downloaded?
 

We haven't updated the stable repo yet, the latest testing rpm is at:

http://build.activitycentral.com/xs-repo/RPMS/noarch/?C=M;O=D

You can then install the latest by hand with rpm if you wish. You will
still need to have the repo file present to be able to install other
packages. 

Jerry
 


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


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 11:05 -0300, Rodolfo D. Arce S. wrote:
 I downloaded the RPM, installed using yum and didn' t ask for any 
 dependencies.
 
 ran xs-setup and it failed, it did restarted the Network and waited
 for a bit, but later it just failed, didn' t try to download anything
 
 http://pastebin.com/vdgfuHtY
 

Think we have an undeclared dependency on the rpm package 'hostname',
which may not be installed, can you check for that rpm package with
'rpm -q hostname' please. 

Jerry

 
 2013/3/22 Jerry Vonau jvo...@shaw.ca:
  On Fri, 2013-03-22 at 10:24 -0300, Rodolfo D. Arce S. wrote:
   That time to restart NM seems excessive, but we need to cover that
   situation. What would you time is a safe amount of time to wait before
   bailing out of the install? I'm thinking 2 minutes.
  
  
 
  It takes some time because the conection is wi-fi and it takes a long
  time to negotiate the conection, the is restored a couple seconds
  before the scripts exists. The ideal would be to check if connection
  is up and then continue, with a simple ping to the previously found
  gateway should work and timeout after 2 minutes or so. DHCP servers on
  most routers are fast enough for that window of time with cable
  connections, but wireless could take a while. 2 minutes is more than
  enough.
 
   I have some revisions related to that in the testing repo, could you
   start the next install with the testing repo enabled:
 
  I have to enable testing and upgrade the xs-cofig package? or is there
  a specific package that needs to be downloaded?
 
 
  We haven't updated the stable repo yet, the latest testing rpm is at:
 
  http://build.activitycentral.com/xs-repo/RPMS/noarch/?C=M;O=D
 
  You can then install the latest by hand with rpm if you wish. You will
  still need to have the repo file present to be able to install other
  packages.
 
  Jerry
 
 
 
 
 
 


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


Re: [Server-devel] XSCE 0.2 - Network problems running xs-setup

2013-03-22 Thread Jerry Vonau
On Fri, 2013-03-22 at 11:47 -0300, Rodolfo D. Arce S. wrote:
 It's installed
 
 hostname-3.10-1.fc17.i686
 

The only difference I can see is you are using sudo while I used su
before running xs-setup but I don't think that is an issue but might be.

Now that is strange, why would your installation not find the
executable, wait it does but the value returned is bad. Is the
file /etc/hostname present if so what is the contents?

Jerry


 

 2013/3/22 Jerry Vonau jvo...@shaw.ca:
  On Fri, 2013-03-22 at 11:05 -0300, Rodolfo D. Arce S. wrote:
  I downloaded the RPM, installed using yum and didn' t ask for any 
  dependencies.
 
  ran xs-setup and it failed, it did restarted the Network and waited
  for a bit, but later it just failed, didn' t try to download anything
 
  http://pastebin.com/vdgfuHtY
 
 
  Think we have an undeclared dependency on the rpm package 'hostname',
  which may not be installed, can you check for that rpm package with
  'rpm -q hostname' please.
 
  Jerry
 
 
  2013/3/22 Jerry Vonau jvo...@shaw.ca:
   On Fri, 2013-03-22 at 10:24 -0300, Rodolfo D. Arce S. wrote:
That time to restart NM seems excessive, but we need to cover that
situation. What would you time is a safe amount of time to wait before
bailing out of the install? I'm thinking 2 minutes.
   
   
  
   It takes some time because the conection is wi-fi and it takes a long
   time to negotiate the conection, the is restored a couple seconds
   before the scripts exists. The ideal would be to check if connection
   is up and then continue, with a simple ping to the previously found
   gateway should work and timeout after 2 minutes or so. DHCP servers on
   most routers are fast enough for that window of time with cable
   connections, but wireless could take a while. 2 minutes is more than
   enough.
  
I have some revisions related to that in the testing repo, could you
start the next install with the testing repo enabled:
  
   I have to enable testing and upgrade the xs-cofig package? or is there
   a specific package that needs to be downloaded?
  
  
   We haven't updated the stable repo yet, the latest testing rpm is at:
  
   http://build.activitycentral.com/xs-repo/RPMS/noarch/?C=M;O=D
  
   You can then install the latest by hand with rpm if you wish. You will
   still need to have the repo file present to be able to install other
   packages.
  
   Jerry
  
  
  
 
 
 
 
 
 
 
 


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


Re: [Server-devel] My Observations and experiences with XSCE 0.2.1

2013-03-21 Thread Jerry Vonau
On Thu, 2013-03-21 at 14:33 -0400, Richard Smith wrote:
 On Thu, Mar 21, 2013 at 6:30 AM,  tkk...@nurturingasia.com wrote:
 
  I used the testing repo. Installation, registration and access went well on 
  my XO 1.75.
 
 Interesting.  So I wonder whats up with my setup.  I'm slightly
 different in that I'm not using a AP rather I have a USB network
 adapter in the client XO and I'm connecting directly to the USB
 adapter on the XS.  

That places 2 network adaptors on the client XO and might interfere with
name resolution, just want to be sure what is the contents
of /etc/resolv.conf are. Can you post that info and maybe the output of
route -n from the XO client please?

 The network functions fine it just won't register.

We saw this once while testing, and has come up on the mailing list
before, it appears that registration fails if the XS doesn't have a live
internet connection(even with the XS-0.7). Does this new XS really have
internet access?

  Same setup works if I connect to a 0.7 XS and if I nmap the 0.7 XS I
 see that port 8080 is open.
 

I can see via netstat -nat that 8080 is open on the XS

 On the client XO please install nmap sudo yum -y install nmap and
 then sudo nmap schoolserver (assuming you took the default domain)
 and post the results.  I'm curious if you have something on 8080.
 

My XO's using the build-in wifi for access to the XS can register
without any issues. Lets see what's up with the add-on network adaptor
setup.

Jerry



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


Re: [Server-devel] My Observations and experiences with XSCE 0.2.1

2013-03-20 Thread Jerry Vonau
On Wed, 2013-03-20 at 12:54 -0400, Richard Smith wrote:
 On Tue, Mar 19, 2013 at 7:16 PM, Richard Smith rich...@laptop.org wrote:
  Dunno.  Where do I look for the version?
 
  rpm -q xs-config
 
  0.8.2.100.18.g8895685-1
 

Thanks for the great feedback.

 I tried a 2nd install on a XO-1.5 I had and received exactly the same
 results.  (Without the MN tag problem).  The install appeared to go
 smoothly.  ejabberd claimed it could not start up. 

There is an issue with ejabberd for XO-1.0/1.5s, I patched ejabberd with
dsd's pubsub patch but rolled the rpm on ARM only, just need to find
time to re-compile the source rpm on i386 and x86-64 and make it
available in the yum repo.
 

 Reboot and the same
 httpd problem with pathagar exists.  

This is should now be fixed.

 Fixing that still does not
 correct the registration problem.
 

There was a strange issue when parsing /domain_config.d/, I wrongly
assumed that dhclient, where the hostname is being set, would run first
based on the filename. This has been resolved.


 Running tcpdump on the exchange shows that the request to the webcache
 port is responded to with a RST.  Nmap the sever and there's nothing
 running on port 8080.  

That most likely was a result of the above hostname failure.

 So whatever is supposed to be servicing that
 didn't happen.  Other services look ok.  ssh, dns, http are up, squid
 is up on 3128,  xmpp on 5222 and 5280 and presence is on 5298.
 Identical behavior on the 1.75 server install.
 
 So I'd say either all my machines are broken somehow or there's been a
 regression.  I'm going to bail and use XS .7 for my dev purposes as
 this yak is starting to get hairy.  I can still run some diagnostics
 on the machines if you find you can't duplicate the failure and want
 more info.
 

If you would be so brave to try the latest rpm, please start with the
testing enabled repo[1].

 I've also discovered that the terminal command prompt appears to have
 broken line wrapping.  If you type really long lines in the terminal
 activity it will wrap back to the beginning of the same line rather
 than the next line.  The command still works but it makes it difficult
 to review things when you look at history.
 

This alteration has been removed.

 Hope this helps.
 

It does, thanks.

Jerry

1. http://build.activitycentral.com/xsce.repo





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


Re: [Server-devel] Puppet

2013-03-19 Thread Jerry Vonau
On Tue, 2013-03-19 at 12:20 -0400, Tony Anderson wrote:
 Hi,
 
 Daniel Drake implemented Puppet for XS-0.7 (it is included in the 
 services.).
 
 Tony
 

I believe the rpm is installed but the service is left disabled as there
would need to be some configuration needed to be preformed before
rolling out.

Jerry



 
 On 03/19/2013 12:00 PM, server-devel-requ...@lists.laptop.org wrote:
  Send Server-devel mailing list submissions to
  server-devel@lists.laptop.org
 
  To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.laptop.org/listinfo/server-devel
  or, via email, send a message with subject or body 'help' to
  server-devel-requ...@lists.laptop.org
 
  You can reach the person managing the list at
  server-devel-ow...@lists.laptop.org
 
  When replying, please edit your Subject line so it is more specific
  than Re: Contents of Server-devel digest...
 
 
  Today's Topics:
 
  1. puppet (Tim Moody)
 
 
  --
 
  Message: 1
  Date: Mon, 18 Mar 2013 21:17:49 -0400
  From: Tim Moody timmo...@sympatico.ca
  To: server-devel@lists.laptop.org
  Subject: [Server-devel] puppet
  Message-ID: blu0-smtp101a74e0dcd71752749e23cb1...@phx.gbl
  Content-Type: text/plain; format=flowed; charset=iso-8859-1;
  reply-type=original
 
  Over the years there have been a number of expressions of interest in
  puppet.  Are there any modules out there for actual XS services?
 
  I know about http://dev.laptop.org/git/users/martin/puppet-example/tree/,
  which has some manifests.
 
 
 
  --
 
  ___
  Server-devel mailing list
  Server-devel@lists.laptop.org
  http://lists.laptop.org/listinfo/server-devel
 
 
  End of Server-devel Digest, Vol 71, Issue 14
  
  .
 
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: [Server-devel] My Observations and experiences with XSCE 0.2.1

2013-03-19 Thread Jerry Vonau
On Tue, 2013-03-19 at 14:33 -0400, Richard Smith wrote:
 I want to try and make some tweaks to the ds_backup so I need a
 working school server.
 
 I grabbed a random XO 1.75 I had with 12.1.0-21 installed and tried to
 install XSCE 0.2.1 but I was not successful in getting a working
 config.
 
 After installing xs-config-xo and runnign bootstrap-xo I received the message
 Not an XO pleasea run 'xs-config' So I did. xs-config: command not found.
 
 Searching for xs-config in the xs-config-xo package with rpm -ql I find that
 xs-config is not in that that package so I took a look at bootstrap-xo
 to see why it was unhappy.
 
 It was unhappy because I have a bastard machine and I have no MN
 manufacturing tag.  :)
 

Yea, that would cause the script to exit with a warning.

 However, looking at script I would recommnd that rather than read the
 mfg tags directly you try to source
 /usr/share/olpc-utils/olpc-utils-functions and use the facilties of
 that script.  There are functions that will let you read mfg tags in
 an XO generation independent way and functions that will let you
 determine what
 XO generation you are using.
 

Thanks for the tip, I'll have a look at what is available.

 I noticed several occurrences of error messages the debug output of
 xs-setup a message of:
 
  /usr/bin/xs-setup-functions: line 242: [: missing ']'
 
 You may want to start using [[ ]] rather than [ ] for tests as [[ ]]
 is much more tolerant and supports several enhancements over [ ]
 

Nice to know thanks for the pointer.

 The rest of the installation appears to have gone ok except that
 ejabberd didn't seem to start up.  The message was
 
 Failed RPC connection to the note ejabberd@schoolserver: nodedown
 

That might be a result of bootstrap-x0 not running, we change the host
name there to be schoolserver.

 On reboot various ejabber things seems to be running so perhaps that
 was expected.
 

I'd think ejabberd would be running with the hostname that was
configured at install time. 

 If I go to a root shell I don't get an expected # in my prompt.  The
 difference between olpc@ and root@ is hard to notice.  I'd like to see
 a # added when you are root.
 

That can be doable.

 Because I don't have a full deployment infra setup I ran into this
 http://sugardextrose.org/issues/2685 . Also nothing in the
 instructions indicate that when you set up a local AP for the XO lan
 you have to disable any dhcpd server that might be running on the AP.
 Obvious to me but perhaps not obvious to others and multiple dhcp
 servers can be a bitch to debug.
 

Think we'll need to have a general howto on setting up the whole local
lan in the future.


 Trying to register the XSCE with itself fails.  Can't connect to the server
 

Can't find schoolserver, related to the above failure to change the
hostname.

 Trying to register a client XO to the schoolsever fails as well.  The
 IP the the client received looks good. I can ping schoolserver and
 schoolserver.local and browsing the Internet works. Trying to browse
 to http://schoolserver or schoolserver.local dosen't work.  Nmaping
 the server with my laptop shows that nothing is
 running on port 80.
 
 There's nothing in /var/log/httpd but systemctrl status httpd.service
 indicates there were startup errors and looking
 in /var/log/messages I find that httpd is choking on line 9 of
 /etc/httpd/conf.d/pathagar.conf which is:
 

Odd that should of been disabled in the base install, which version of
xs-config is installed? 

 PythonHandler django.core.handlers.modpython
 
 rpm -q django shows its not installed so I tried yum -y install django
 but no dice.  Still won't start up.
 Ideas? I've run out of time for now to try and sort this out.
 

I'd just rename /etc/httpd/conf.d/pathagar.conf and retrying to restart
apache as a quick fix.

Jerry

 Cheers.


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


Re: [Server-devel] My Observations and experiences with XSCE 0.2.1

2013-03-19 Thread Jerry Vonau
On Tue, 2013-03-19 at 19:10 -0400, Richard Smith wrote:
 
  Odd that should of been disabled in the base install, which version of
  xs-config is installed?
 
 Dunno.  Where do I look for the version?
 

rpm -q xs-config

  PythonHandler django.core.handlers.modpython
 
  rpm -q django shows its not installed so I tried yum -y install django
  but no dice.  Still won't start up.
  Ideas? I've run out of time for now to try and sort this out.
 
 
  I'd just rename /etc/httpd/conf.d/pathagar.conf and retrying to restart
  apache as a quick fix.
 
 Worked. Thanks.
 

your welcome,

Jerry

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


Re: OOB: Failure in ImageStage: module sd_card_image

2013-03-14 Thread Jerry Vonau
On Thu, 2013-03-14 at 10:40 -0300, Esteban Bordón wrote:
 Hi, I'm trying to make a custom build for XO-1.75 using oob and
 image.50.makefs.sh throws an error. 
 
 
 Anyone know how to solve it?
 
 

Hey I ran into this one while using DX's version of OOB, and had the
same problem. Try this attached patch.

Jerry



 Thakns,
 Esteban.
 
 
 Re-reading the partition table ...
 BLKRRPART: Inappropriate ioctl for device
 
 
 If you created or changed a DOS partition, /dev/foo7, say, then use
 dd(1)
 to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512
 count=1
 (See fdisk(8).)
 ++ head -n1
 ++ kpartx
 -l /home/builder/dx3-osbuilder-uy/build/intermediates/40015UY2.zd.disk.img
 ++ sed -e 's:.*/::'
 ++ awk '{print $5}'
 + loop=loop3
 + disk_loop=/dev/loop3
 + boot_loop=/dev/mapper/loop3p1
 + root_loop=/dev/mapper/loop3p2
 + kpartx -a
 -v /home/builder/dx3-osbuilder-uy/build/intermediates/40015UY2.zd.disk.img
 add map loop3p1 (253:2): 0 131072 linear /dev/loop3 8192
 add map loop3p2 (253:3): 0 5773056 linear /dev/loop3 139264
 + echo 'mke2fs -O dir_index,^resize_inode -L Boot
 -F /dev/mapper/loop3p1'
 mke2fs -O dir_index,^resize_inode -L Boot -F /dev/mapper/loop3p1
 + echo 'Create filesystems...'
 Create filesystems...
 + mke2fs -O 'dir_index,^resize_inode' -L Boot -F /dev/mapper/loop3p1
 mke2fs 1.42.5 (29-Jul-2012)
 mke2fs: No such file or directory while trying to determine filesystem
 size
  * Caught error, cleanup and then bail out.
  * Running part cleanup base cleanup.50.cleanup.sh...
  * Running part cleanup buildnr_from_file
 cleanup.50.write_buildnr.sh...
 ERROR: Failure in ImageStage: module sd_card_image, part
 image.50.makefs.sh, error code 1
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

diff --git a/modules/sd_card_image/image.50.makefs.sh b/modules/sd_card_image/image.50.makefs.sh
index 7f907ad..b259409 100644
--- a/modules/sd_card_image/image.50.makefs.sh
+++ b/modules/sd_card_image/image.50.makefs.sh
@@ -79,15 +79,20 @@ make_image()
 $ROOT_PARTITION_START_BLOCK,,,
 EOF
 
-	loop=$(kpartx -l $img | head -n1 | awk '{print $5}' |  sed -e 's:.*/::' )
-	disk_loop=/dev/$loop
-	boot_loop=/dev/mapper/${loop}p1
-	root_loop=/dev/mapper/${loop}p2
+	disk_loop=$(losetup --show --find --partscan $img)
+	boot_loop=${disk_loop}p1
+	root_loop=${disk_loop}p2
+
+	# Work around occasional failure for loop partitions to appear
+	# http://marc.info/?l=linux-kernelm=134271282127702w=2
+	local i=0
+	while ! [ -e $boot_loop ]; do
+		partx -a -v $disk_loop
+		sleep 1
+		(( ++i ))
+		[ $i -ge 10 ]  break
+	done
 
-	kpartx -a -v $img 
-
-	echo mke2fs -O dir_index,^resize_inode -L Boot -F $boot_loop
-	
 	echo Create filesystems...
 	mke2fs -O dir_index,^resize_inode -L Boot -F $boot_loop
 	mount $boot_loop $BOOT
@@ -127,9 +132,8 @@ EOF
 
 	umount $ROOT
 	umount $BOOT
-
-	kpartx -d $disk_loop || :
 	losetup -d $disk_loop || :
+
 	# FIXME: any value to running e2fsck now? maybe with -D ?
 }
 
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [support-gang] Customization Sticks fails on 13.1.0 12.1.0 for XO-1

2013-03-10 Thread Jerry Vonau
On Sun, 2013-03-10 at 14:58 -0400, Richard A. Smith wrote:
 On 03/09/2013 01:35 PM, Kevin Gordon wrote:
 
  I seem to remember from the devel list that martin and Daniel said
  there are no plans to re-enable it.  The future is OOB.
 
 Chopping the list down to just devel@ for my comments.
 
 Perhaps I don't understand but I don't see how OOB can work for a setup 
 like Adam is describing in Haiti where they have laptops in the mix that 
 are secure.  Unless they first un-secure every laptop a custom OS build 
 wth OOB would have to be signed by OLPC or Reuben would have to give 
 them a Haiti key thats installed via keyjector.
 
 

+1

Jerry



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


Re: [Server-devel] XSCE 0.2 on XO-1

2013-03-08 Thread Jerry Vonau
On Fri, 2013-03-08 at 10:52 -0800, Sameer Verma wrote:
 For what it's worth (and me not giving a rodent's behind) contrary to
 popular consensus, I ran the XSCE instructions
 (http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.2/Installing)
 on a XO-1. A couple of attempts ran out of space, so I restarted with
 a 12.1.0 image and removed /home/olpc/Library and emptied
 /home/olpc/Activities, except for Browse and Terminal (Browse for the
 cloud, and Terminal for everything else).
 
 On the third run, it ran all the way, and now manages to provide me
 with network activities. erlang/ejabberd is running. So are squid,
 avahi, dhcpd, named, and dhclient. httpd isn't so I'll peek in and see
 why. Not quite sure what else to do/check to see how it works. Does it
 have a web UI? If so, didn't spot that in the instructions.
 
 df -h tells me that rootfs mounted on / has 155M available. Perhaps
 getting rid of GNOME etc. will free up more space.
 
 Why did I do it? Short answer: Because I can. Longish answer: I would
 like to see a common methodology of installation and provisioning of
 services on all platforms, irrespective of form factor or CPU arch. So
 far, it's promising.
 
 cheers,
 Sameer

Maybe you can install a SD-card in the external slot and run the OS from
there, that should take care of the space constringent.

Jerry



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


Re: [Server-devel] XS Community Edition: XO 1.75 installtion

2013-03-02 Thread Jerry Vonau
On Sat, 2013-03-02 at 17:31 +, tkk...@nurturingasia.com wrote:
 Yes it is a 12.1.0 (build 10) as I cannot flash the new build 21 since the 
 image I have is customised.
 

Is your 1.75 locked?

 For the 1st installation I did not have the USB-Ethernet-AP connection plugin.
 

Your best bet is to have all your interfaces plugging in before booting
the XO, otherwise when we detect the number of interfaces we will miss
installing some components that is vital to using the XS as a router. We
prompt if we detect less than what is required for a router, but I
prefer to have the interfaces appear in the same order as what the
kernel will find if just rebooted. This is more of an issue when your
using 2 usb based interfaces and not using the XO's internal wifi.

 Maybe I should use another XO to start all over again!
 

I would prefer if you could use 12.1.0-21 as a starting point as that is
what we are testing with. If you can't do that, please ensure your
network adaptor is inserted before booting then run the install.


 Thanks for the detail step by step. Hope I have better luck the next time.
 

see:

http://wiki.laptop.org/go/User:Holt/XS_Community_Edition/0.2/Hacking 
Installing.


 Does Moodle, registration, etc work as usual with a complete install?
 
 

Moodle is left uninstalled, but can be added later if wanted/needed,
instructions to follow.

Thanks for the valuable feedback, 

Jerry


 Cheers
 -Original Message-
 From: Anna [mailto:ascho...@gmail.com]
 Sent: Sunday, March 3, 2013 12:42 AM
 To: tkk...@nurturingasia.com
 Cc: server-devel@lists.laptop.org
 Subject: Re: [Server-devel] XS Community Edition: XO 1.75 installtion
 
 Just to clarify, you're on a 1.75 running 12.1.0?  And before you started
 doing anything in the instructions, did you plug in a USB wifi dongle
 connected to a powered up AP?
 
 My usual process for getting ready to install is:
 
 1.  Flash 12.1.0 on a 1.75
 2.  It reboots itself, I set the buddy name
 3.  In NH, I connect to my home wifi
 4.  Turn off power management in the Sugar Control Panel
 5.  Plug in the ethernet cable that connects the usb wifi dongle to the AP
 6.  Plug the AP's power into the wall outlet
 7.  Insert the usb wifi dongle into the 1.75
 8.  Open the terminal activity and start following the install instructions
 
 On Sat, Mar 2, 2013 at 10:23 AM, tkk...@nurturingasia.com wrote:
 
 
  Must I use an external AP or there is more magic if the XO wirless can
  function as this ?
 
 
 As far as I know, the XO's wifi chip doesn't support AP mode, so
 unfortunately no.
 
 Anna Schoolfield
 Birmingham
 
 
 
 ___
 Server-devel mailing list
 Server-devel@lists.laptop.org
 http://lists.laptop.org/listinfo/server-devel


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


Re: XO-4 not resuming after suspend

2013-02-03 Thread Jerry Vonau
On Sat, 2013-02-02 at 09:25 +1100, fors...@ozonline.com.au wrote:
I have an XO-4 B1, OFW Q7B14, EC Firmware 0.3.10, os28.
   
It won't resume after suspend, but sometimes it does. I couldn't
reproduce the bug, but it happens most of the time.
 ...
Anyone else seeing this?
   
 

I'm seeing this with my B1, hard lock just after suspending, can't
awaken the XO via any input method. Sorry no logs for this one. 


 For me, OS28 XO-4 doesnt seem to be going into suspend, mostly. It did 
 suspend once and when it resumed it did not load the cursor, just a square of 
 noise like a QR code, a bug we had in the early XO-4 builds. It seems suspend 
 has regressed from OS27.
 
 Tony
 

I'm seeing this with the C2 unit I have, enabling powerd's tracing shows
suspend is being skipped with cpu busy once a rtcalarm wakeup event
occurs during until_dim-soft. I have the logs if needed.

Jerry

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


Re: 13.1.0 release candidate 4 (build 24) released

2013-01-24 Thread Jerry Vonau
On Fri, 2013-01-11 at 21:31 +, Daniel Drake wrote:
 Hi,
 
 We're pleased to announce the next release candidate of our new 13.1.0
 software release.
snip
 Please review the Known problems section of the release notes. Some
 documented issues are carried over from previous releases, but others
 are new and are things that we will aim to fix in the few weeks before
 release.
 
 IMPORTANT: New XO-4 firmware Q7B11 breaks automatic upgrade for
 touchscreen firmware versions before 0.0.0.10 on C1 models. After
 reflashing to Q7B11 from an earlier version, you must (just this once)
 manually upgrade with
 
   ok update-nn-flash
 
 Otherwise the touchscreen will not work.
 

I have questions with this, should everybody be doing this procedure to
all updates from a release prior to 23 to a release 24 or later that
would install Q7B11 or later?

ie: image 13.1.0-21 is installed then you flash/olpc-update to 13.1.0-26
should you be doing this? Does this apply to all B1,C1,C2 models and
what versions should be installed with Q7B11 for these models?

from a machine with Q7B11:

kernel: zforce: found zForce firmware 0.0.0.4
kernel: zforce: running in multitouch mode

What should syslog be recording for the zforce driver for the B1,C1,C2?

Just trying to clear up what needs to be done going forward.

Jerry


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


Re: [Sugar-devel] Hacking onto the appearing and hiding of OSK

2013-01-24 Thread Jerry Vonau
On 24 January 2013 08:11, Ajay Garg a...@activitycentral.com wrote:



 On Thu, Jan 24, 2013 at 7:37 PM, Ajay Garg a...@activitycentral.comwrote:



 On Thu, Jan 24, 2013 at 7:36 PM, Gonzalo Odiard gonz...@laptop.orgwrote:

 

 So, it seems that just hacking onto the game-key won't help :(


 No. Will not work, because the osk will appear if you touch over a input
 widget.
 The game keys are not the expected way to show the osk.


 Hmm.. which brings us back to square one :(



 Let's try another way :P

 Is there a way, so that we may know whether we are in ebook-mode, or
 normal-mode?


Yes, there is a ebook switch event:

Jan 24 01:14:28 xo-1e-89-0d kernel: OLPC XO-1.75 lid and ebook switches
Jan 24 01:14:28 xo-1e-89-0d kernel: input: OLPC lid switch as
/devices/virtual/input/input3
Jan 24 01:14:28 xo-1e-89-0d kernel: input: OLPC ebook switch as
/devices/virtual/input/input4

Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev:
starting olpc-kbdshim-udev version 29
Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: fd
4: found touchscreen (zForce touchscreen) /dev/input/event8 (18:00:00)
Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: fd
6: found keyboard (AT Translated Set 2 keyboard) /dev/input/event5
(11:01:01)
Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: fd
7: found touchpad (FSPPS/2 Sentelic FingerSensingPad) /dev/input/event9
(11:02:0f)

Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: fd
8: found ebook switch

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


Re: 13.1.0 release candidate 4 (build 24) released

2013-01-24 Thread Jerry Vonau
On Thu, 2013-01-24 at 10:19 -0500, Paul Fox wrote:
 jerry wrote:
   On Fri, 2013-01-11 at 21:31 +, Daniel Drake wrote:
Hi,

We're pleased to announce the next release candidate of our new 13.1.0
software release.
   snip
Please review the Known problems section of the release notes. Some
documented issues are carried over from previous releases, but others
are new and are things that we will aim to fix in the few weeks before
release.

IMPORTANT: New XO-4 firmware Q7B11 breaks automatic upgrade for
touchscreen firmware versions before 0.0.0.10 on C1 models. After
reflashing to Q7B11 from an earlier version, you must (just this once)
manually upgrade with

  ok update-nn-flash

Otherwise the touchscreen will not work.

   
   I have questions with this, should everybody be doing this procedure to
   all updates from a release prior to 23 to a release 24 or later that
   would install Q7B11 or later?
 
 from 23 or prior to 24 or later, then yes, you should do the manual
 update.
 
 the only exception is if you have a B1 with a clear lightguide, and
 you care a lot about precise linearity of touchscreen response.  in
 that case, you should stick with firmware 0.0.0.4.
 
 and remember, if you make a mistake, you can always go back to 0.0.0.4
 by downloading it and doing a manual reflash.
 
   
   ie: image 13.1.0-21 is installed then you flash/olpc-update to 13.1.0-26
   should you be doing this? Does this apply to all B1,C1,C2 models and
   what versions should be installed with Q7B11 for these models?
   
   from a machine with Q7B11:
   
   kernel: zforce: found zForce firmware 0.0.0.4
   kernel: zforce: running in multitouch mode
   
   What should syslog be recording for the zforce driver for the B1,C1,C2?
   
   Just trying to clear up what needs to be done going forward.
 
 B1 machines with clear lightguides should probably be left alone, as
 noted above.
 

This might sound like a dumb question but do all B1s have clear
lightguides? If not, how can one tell them apart?

 all other machines should (currently) have 0.0.0.10.  and, once they
 have 0.0.0.10, C1 and C2 machines will automatically upgrade in the
 future.  i think B1 machines will continue needing manual upgrades.
 

Think this information might need to be part of the release notes.

Jerry

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


Re: Difference in behaviour of telepathy-gabble, when ejabberd is used with CentOS and Debian-6

2013-01-20 Thread Jerry Vonau
On Sun, 2013-01-20 at 13:44 +0530, Ajay Garg wrote:
 Any ideas, please?  :)
 
 

Ok, how about a couple of questions. What version of erlang is
installed? Did you create the *online* group?

Jerry


 On Fri, Jan 18, 2013 at 2:03 PM, Ajay Garg a...@activitycentral.com
 wrote:
 Hi all.
 
 I have been trying to get buddies visible in the
 neighborhood-view, when XOs are communicating via
 ejabberd-server (via telepathy-gabble).
 Following are the two cases ::
 
 
 i)
 Client  :: Sugar (Fedora-18 based) 
 Server :: ejabberd on CentOS (XS-0.7)
 
 In this case, I am able to register the users on the server;
 and receive the  members changed signals (as per the
 attached PASS_telepathy_gabble.log).
 Of course, the buddies are able to see each other too :)
 
 
 ii)
 Client  :: Sugar (Fedora-18 based) 
 Server :: ejabberd on Debian-6
 
 In this case, I am able to register the users on the server;
 but DO NOT receive the members changed signals (as per the
 attached FAIL_telepathy_gabble.log).
 Hence, buddies are not able to see each other.
 
 
 
 Some additional notes ::
 ==
 
 a)
 Both servers are running with the same  ejabberd.cfg file,
 as attached.
 
 
 b)
 On CentOS, following are effective, before starting
 ejabberd ::
  
setenforce 0
service iptables
 stop
service ip6tables
 stop
 
 
 On Debian-6, following are effective, before starting
 ejabberd ::
 
setenforce 0
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat
 -X   
iptables -t mangle
 -F
iptables -t mangle
 -X
ip6tables -F
ip6tables -X
ip6tables -t mangle
 -F
ip6tables -t mangle
 -X
 
 
 
 c)
 Both servers are running the same ejabberd codebase (the
 patched version of 2.1.10), containing all the patches in
 
 http://dev.laptop.org/xs/repos/stable/olpc/xs-0.7/source/ejabberd-2.1.10-1.el6.olpc1.src.rpm
   (Thanks again Jerry).
 
 More  importantly, the issue of
 https://support.process-one.net/browse/EJAB-1533 is fixed via
 the persist-all-pubsub.patch (Thanks Daniel Drake). 
 The buddy-properties are persisted, as seen via ejabberdctl
 dump db.txt (as seen on both CentOS and Debian).
 
 
 
 
 However, very surprisingly, the __get_members_ready_cb still
 receives NOTHING in the failure-debian case  (see
 FAIL-shell.log),
 
 but receives the buddy-properties in pass-CentOScase (see
 PASS-shell.log).
 
 #
 
 
 
 d)
 Most importantly, on both the servers, the Send XML Stream
 log is seen in /var/log/ejabberd/ejabberd.log; however, the
 members-changed signal is seen only in the CentOS-ejabberd
 case, but not in Debian-6-ejabberd case.
 
 
 For brevity, I am also pasting the  Send XML Stream message
 (which happens to be the same on both the  servers) ::
 
 ==
 
 
 =INFO REPORT 2013-01-17 23:46:45 ===
 D(0.360.0:ejabberd_c2s:1561) : Send XML on stream =
 message
 
 from='5ccefd7c37c12600296e0505ad3be79c0476e...@schoolserver.mazaq.org' 
 to='5ccefd7c37c12600296e0505ad3be79c0476e...@schoolserver.mazaq.org/sugar' 
 type='headline'event xmlns='http://jabber.org/protocol/pubsub#event'items 
 node='http://laptop.org/xmpp/buddy-properties'item 
 id='54E6D08D69C42'properties 
 xmlns='http://laptop.org/xmpp/buddy-properties'property 

Re: Difference in behaviour of telepathy-gabble, when ejabberd is used with CentOS and Debian-6

2013-01-20 Thread Jerry Vonau
On Sun, 2013-01-20 at 12:41 -0600, Jerry Vonau wrote:
 On Sun, 2013-01-20 at 13:44 +0530, Ajay Garg wrote:
  Any ideas, please?  :)
  
  
 
 Ok, how about a couple of questions. What version of erlang is
 installed? Did you create the *online* group?
 
 Jerry
 

If I'm reading [1] correctly the underling erlang version is R15, this
might be related to a bug that I filed in Fedora [2].

Jerry

1. http://packages.debian.org/wheezy/ejabberd
2. https://bugzilla.redhat.com/show_bug.cgi?id=840039


 
  On Fri, Jan 18, 2013 at 2:03 PM, Ajay Garg a...@activitycentral.com
  wrote:
  Hi all.
  
  I have been trying to get buddies visible in the
  neighborhood-view, when XOs are communicating via
  ejabberd-server (via telepathy-gabble).
  Following are the two cases ::
  
  
  i)
  Client  :: Sugar (Fedora-18 based) 
  Server :: ejabberd on CentOS (XS-0.7)
  
  In this case, I am able to register the users on the server;
  and receive the  members changed signals (as per the
  attached PASS_telepathy_gabble.log).
  Of course, the buddies are able to see each other too :)
  
  
  ii)
  Client  :: Sugar (Fedora-18 based) 
  Server :: ejabberd on Debian-6
  
  In this case, I am able to register the users on the server;
  but DO NOT receive the members changed signals (as per the
  attached FAIL_telepathy_gabble.log).
  Hence, buddies are not able to see each other.
  
  
  
  Some additional notes ::
  ==
  
  a)
  Both servers are running with the same  ejabberd.cfg file,
  as attached.
  
  
  b)
  On CentOS, following are effective, before starting
  ejabberd ::
   
 setenforce 0
 service iptables
  stop
 service ip6tables
  stop
  
  
  On Debian-6, following are effective, before starting
  ejabberd ::
  
 setenforce 0
 iptables -F
 iptables -X
 iptables -t nat -F
 iptables -t nat
  -X   
 iptables -t mangle
  -F
 iptables -t mangle
  -X
 ip6tables -F
 ip6tables -X
 ip6tables -t mangle
  -F
 ip6tables -t mangle
  -X
  
  
  
  c)
  Both servers are running the same ejabberd codebase (the
  patched version of 2.1.10), containing all the patches in
  
  http://dev.laptop.org/xs/repos/stable/olpc/xs-0.7/source/ejabberd-2.1.10-1.el6.olpc1.src.rpm
(Thanks again Jerry).
  
  More  importantly, the issue of
  https://support.process-one.net/browse/EJAB-1533 is fixed via
  the persist-all-pubsub.patch (Thanks Daniel Drake). 
  The buddy-properties are persisted, as seen via ejabberdctl
  dump db.txt (as seen on both CentOS and Debian).
  
  
  
  
  However, very surprisingly, the __get_members_ready_cb still
  receives NOTHING in the failure-debian case  (see
  FAIL-shell.log),
  
  but receives the buddy-properties in pass-CentOScase (see
  PASS-shell.log).
  
  #
  
  
  
  d)
  Most importantly, on both the servers, the Send XML Stream
  log is seen in /var/log/ejabberd/ejabberd.log; however, the
  members-changed signal is seen only in the CentOS-ejabberd
  case, but not in Debian-6-ejabberd case.
  
  
  For brevity, I am also pasting the  Send XML Stream message
  (which happens to be the same on both the  servers) ::
  
  ==
  
  
  =INFO REPORT 2013-01-17 23:46:45 ===
  D(0.360.0:ejabberd_c2s:1561) : Send XML

Re: Location for source-rpm of ejabberd, being used in XS-0.7

2013-01-15 Thread Jerry Vonau
On Tue, 2013-01-15 at 18:54 +0530, Ajay Garg wrote:
 Hi all.
 
 I am wanting to share the sugar-activities, via gabble protocol.
 
 As a first step, I installed
 http://dev.laptop.org/xs/OLPC-School-Server-0.7-i386.iso on a
 VirtualBox, and did the xs-setup example.org  step.
 (As the second step, I chose manual networking, to configure the
 virtual-image as per my network. After the networking was set, I could
 use the Chat activity between two XOs fine :) :) 
 
 
 Now, I wish to have this sharing done, with only ejabberd running (in
 other words, without installing all the other components that come
 along packaged with the XS).
 The ejabberd version (as shown by rpm -qa | grep ejabberd) is
 ejabberd-2.1.10.el6.olpc1.i686
 
 Regarding this, I wanted to know the source of the ejabberd rpm being
 used ::
 
 (i)
 Is it the vanilla Fedora rpm that is being used?
  
 (ii)
 Or some OLPC-specific patches come along (which would mean there
 must be a corresponding OLPC src-rpm for the same :) )
 
 

It's patched, have a look in:
http://dev.laptop.org/xs/repos/stable/olpc/xs-0.7/source/

Jerry



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


Re: [Server-devel] Location for source-rpm of ejabberd, being used in XS-0.7

2013-01-15 Thread Jerry Vonau
On Tue, 2013-01-15 at 22:13 +0530, Ajay Garg wrote:
 
 
 On Tue, Jan 15, 2013 at 9:33 PM, Jerry Vonau jvo...@shaw.ca wrote:
 On Tue, 2013-01-15 at 18:54 +0530, Ajay Garg wrote:
  Hi all.
 
  I am wanting to share the sugar-activities, via gabble
 protocol.
 
  As a first step, I installed
  http://dev.laptop.org/xs/OLPC-School-Server-0.7-i386.iso on
 a
  VirtualBox, and did the xs-setup example.org  step.
  (As the second step, I chose manual networking, to
 configure the
  virtual-image as per my network. After the networking was
 set, I could
  use the Chat activity between two XOs fine :) :)
 
 
  Now, I wish to have this sharing done, with only ejabberd
 running (in
  other words, without installing all the other components
 that come
  along packaged with the XS).
  The ejabberd version (as shown by rpm -qa | grep
 ejabberd) is
  ejabberd-2.1.10.el6.olpc1.i686
 
  Regarding this, I wanted to know the source of the ejabberd
 rpm being
  used ::
 
  (i)
  Is it the vanilla Fedora rpm that is being used?
 
  (ii)
  Or some OLPC-specific patches come along (which would
 mean there
  must be a corresponding OLPC src-rpm for the same :) )
 
 
 
 
 It's patched, have a look in:
 http://dev.laptop.org/xs/repos/stable/olpc/xs-0.7/source/
 
 Thanks Jerry; as  usual you were on the spot :)
 I could build and install the rpm on Fedora :)
 
 
 Just one more question: 
 ===
 
 I still see that there are some differences (mainly related to the
 served domain names, and allowed clients that could register
 fields) between the XS-0.7's ejabberd.cfg, and the one I just
 installed on Fedora.
 
 Although I know the steps to change these settings to make ejabberd
 work, but I still wonder whether the
 ejabberd-installed-after-building-http://dev.laptop.org/xs/repos/stable/olpc/xs-0.7/source/ejabberd-2.1.10-1.el6.olpc1.src.rpm
  should be the same as 
 ejabberd-found-on-XS-0.7-just-after-the-XS-has-been-installed (i.e., the 
 XS-ejabberd's snapshot just before xs-setup example.org is run).
 
 
 Anyways, thanks a ton !!!
 

Don't think I understated the question, hit me up on IRC or Skype if you
want to discuss this further.

Jerry


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


  1   2   3   4   5   >