Re: [Sugar-devel] Call for Help: SoaS Display Manager (Auto-Login)

2009-08-01 Thread Ton van Overbeek
Regarding getting auto-login to work after restarting X.

Yesterday I looked at the slim sources and it seems at first sight easy
to add auto login of the default user after the first login.
Any interest in me trying to implement this?
If we use an extra option to slim we could push this change upstream
to Fedora and then we do not have to maintain our own manager (olpc-dm).
But maybe Sebastian is already happy with a working olpc-dm.

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


Re: open80211s

2009-03-07 Thread Ton van Overbeek
2009/3/7 Rekik Hanen hanenre...@yahoo.fr:
 Hi,
 I've been trying to build open80211s on OLPC ( release 8.2.0 ).I have
 followed the howto at http://www.o11s.org/trac/wiki/HOWTO-0.2.0. However
 when I run git clone git://o11s.org/open80211s.git  and after downloading
 the packages , I got these errors ( which are represented in the enclosed
 file scrennshot.png ).
 Could anyone help me ?
 thanks

If you have the needed development tools (gcc, make, binutils, etc.)
installed on the XO
then there is not much nand/disk space left.
My guess is that you are running out of fllash memory/disk space.
What you can do is to put your work/download/build directory on a SD card or
an external USB hard disk.
That should provide sufficient space for building on the XO.

Hope this helps.
Bonne chance.

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


Re: Journal empty in Soas-200902231225 and what is Soas-200902241809.iso in snapshots/2/ ?

2009-02-28 Thread Ton van Overbeek
On Thu, Feb 26, 2009 at 7:01 AM, Simon Schampijer si...@schampijer.de wrote:

 Is on its way - I will announce later today on this list.

 Thanks,
   Simon

Confirming, journal is working for me again in Soas-200902271904.iso .

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


Re: Journal empty in Soas-200902231225 and what is Soas-200902241809.iso in snapshots/2/ ?

2009-02-26 Thread Ton van Overbeek
On Thu, Feb 26, 2009 at 3:11 AM, Simon Schampijer si...@schampijer.de wrote:
 Ton van Overbeek wrote:

 When trying out Soas-200902231225 the journal stays empty.
 Anybody else seen this ?

 Also in http://download.sugarlabs.org/soas/snapshots/2/ there is now a
 Soas-200902241809.iso.
 What is this ?

 Is there a changelog or buildlog somewhere for the various Soas versions?

 Ton van Overbeek

 Maybe you see http://dev.sugarlabs.org/ticket/72 which was kindly fixed by
 Tomeu yesterday.

 Cheers,
   Simon

Yes, it is the same bug.
I see the same error message in the logs (shell.log) as in the ticket.
I also have a large screen (1920x1200), so this is most certainly the same bug.
Is there alreadys a SoaS snapshot with this fix included ?

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


Journal empty in Soas-200902231225 and what is Soas-200902241809.iso in snapshots/2/ ?

2009-02-25 Thread Ton van Overbeek
When trying out Soas-200902231225 the journal stays empty.
Anybody else seen this ?

Also in http://download.sugarlabs.org/soas/snapshots/2/ there is now a
Soas-200902241809.iso.
What is this ?

Is there a changelog or buildlog somewhere for the various Soas versions?

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


Will OLPC survive 2009 ? Half of OLPC laid off, others get salary cuts. Sugar development stops at OLPC

2009-01-07 Thread Ton van Overbeek
Have you seen the blog entry
http://blog.laptop.org/2009/01/07/refocusing-on-our-mission/ ?
See also 
http://arstechnica.com/news.ars/post/20090107-olpc-downsizes-half-of-its-staff-cuts-sugar-development.html
and all
the other blogs (engadget, gizmodo, pc world, ...).

It does not look very good.
Sugar seems to be now completely left to Sugar Labs,
support for the large deployments is outsourced/spun off, etc.
I have no idea what this means for the ongoing work for 8.2.1 and 9.1
and how this will affect XO-camp.

For everybody at OLPC affected I wish you all the best for the future and
I hope the original OLPC ideas will survive in one form or an other.

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


Re: Multivnc for XOs(children) and Ubuntu box (teacher)

2008-12-12 Thread Ton van Overbeek
On Wed, Dec 10, 2008 at 1:28 PM, Arjun Sarwal ar...@laptop.org wrote:
  (Somewhat in continuation with the x11vnc and vncviewer discussion
 thread started here
 http://lists.laptop.org/pipermail/devel/2008-November/021281.html  )

 Has anybody tried/gotten multivnc to work ?

 I started the multivnc server on my Ubuntu box, and then I start
 multivnc on the client side (on an XO) and it recognizes a multivnc
 server running in the network and attempts to connect to it, but it
 exits with the following information displayed. Log attached below.

  Any help/pointers towards getting this running on XOs, and/or
 otherwise on a set of 2 desktops, as a first step towards getting this
 to run on the XOs - would be helpful.  The instruction manual
 available online is in Chinese and I cant seem to find an English
 version. I will also be pinging to the RealVNC lists too.

 Thanks in advance,
 Arjun


 a...@arjs-dev:~$ multivnc_client -d 0
 clientID(ok click): arjs
 vncdisplay=0
 0  -1  -1  -1  -1  -1  -1  -1  -1  -1   0

 recv-adv 40
 type=8
 length=40
 serverID=teacher
 serverip=10.0.0.5
 serverport=5

 clientadv.client_ID: arjs
 type=10, flag=1
 switch : rfbAllowAdv
 vncdisplay=0
 vncconfig -display :0 -connect 10.0.0.5:5  /dev/null 21; echo -n $?
 vncconnect -display :0 10.0.0.5:5  /dev/null 21; echo -n $?
 vnc4config -display :0 -connect 10.0.0.5:5  /dev/null 21; echo -n $?
 print_popen : 127
 print_popen : 127
 print_popen : 127
 print_popen : 127
 print_popen : 127
 print_popen : 127
 print_popen : 127
 print_popen : 127
 print_popen : 127
 3
 a...@arjs-dev:~$


Arjun,

I have started digging through the source of multiVNC and also used
Google translate to try to
understand the manual in Japanese.
In multiVNX the teacher runs the multivnc server and has a summary
screen with all the students
display (max 16 on a single tab). For this to work each student
(multivnc client) also has to run a
vnc server on X display 0. They do not use the original Xvnc (which
creates a separate X display) but
a module in the X server to provide the VNC server functionality for display 0.
What I see in your log is the multivnc client trying to configure the
VNC server on the same machine
and failing. It does this by trying 3 times the 3 flavors of
vncconfig, but getting a return code
of 127 from the shell executing each command (the 9 print_popen: 127).
My guess is that there is no VNC server running on arjs.
If the only thing you want is to distribute the teachers screen to all
the students then this
might be overkill. Your original x11vnc on the teachers Ubuntu based
computer might work
better. I have done the opposite (x11vnc on the XO, displaying on
Windows XP) and this
works very well, almost instantaneous screen update.

multiVNC certainly looks applicabe in the OLPC environment. Only the
teachers computer has
to have a larger screen than the XO provides. I'll try to understand
better how it is supposed
to work.

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


Re: Updating old 656 qemu image

2008-12-08 Thread Ton van Overbeek
2008/12/8 Luis Michelena [EMAIL PROTECTED]:
 I have been working since may with qemu, using the 656 build, made some
 changes, intalled several packages to make my life a little easier(man,
 locate, locale, etc) so i'd like to be able to update it in place but I
 can't:

 snip ...
 I tried to update de olpc-update script to the last version, but it didn´t
 work. By the way, the /versions folder is empty. It seems that that folder
 should have a link(current) to another directory that contains the version
 hash, but i couldn't find which value to use? I tried to search snippets of
 the error log on the net some sensible options but I found none
 Can you give me some advice?
 I also downloaded the 708 build, but i didn't found a way to acomplish the
 update that way either.

olpc-update does not work for ext3 images as used by qemu. It is dependent on
the flash layout where you can boot from either the current or the
previous version.
(That is where the /versions/... tree is for).
I am not aware of a way to update the qemu image in place.
What you could do is to save the /home/olpc tree outside qemu, then
replace the image by the one from a more recent build and restore (parts of)
your saved /home/olpc tree into the new image.

Two caveats:
Activities are stored in a different location now (everything under /home/olpc
instead of /usr/share/activities and /home/olpc) and activity isolation is now
enforced. You need to start from scratch with activities for any recent build:
update.1 (8.1, build 703) and 8.2.0 (build 767).
Also Update.1 and 8.2.0 are based on fedora 9 and require 3DNow
instruction emulation
in qemu. A stock qemu 0.9.1 will not be able to boot a fedora 9 based XO image.
For windows there is a svn based version which does work.
See  http://wiki.laptop.org/go/Using_QEMU_on_Windows_XP, especially the remark
under Option 2) QEMU Manager for beginners regarding recent builds.

Good luck with qemu.

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


Re: RetroMessenger on OLPC

2008-11-29 Thread Ton van Overbeek
The provided executable links dynamically with libwx*
So I installed wxGTK-2.8.9-1.fc9.i386 and wxBase-2.8.9-1.fc9.i386 on the XO.
Program starts but aborts immediately with the following message:

Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug, Unicode, compiler with C++ ABI 1002,
wx containers, compatibe
with 2.4, compatible with 2.6)
and your program used 2.8 (no debug, Unicode, compiler with C++ ABI
1002, wx containers, compatibe
with 2.6)
-
Does not sound like a real incompatibility to me.

Ton van Overbeek

2008/11/29 M. Peterson [EMAIL PROTECTED]:
 Hallo

 http://retromessenger.sf.net has a first release for  wx Linux.
 Kann jemand mal bitte testen, ob es auf OLPC Sugar läuft?

 FWD: 
 Homepage:
 http://retromessenger.sf.net
 Download:
 http://sourceforge.net/project/showfiles.php?group_id=233927package_id=299091
 Direct-Download:
 http://mesh.dl.sourceforge.net/sourceforge/retromessenger/RetroMessenger_V0.02-linux.tar.bz2

 Please test and reports issues at:
 retromessenger-team # lists.sourceforge.net
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Touch pads

2008-11-25 Thread Ton van Overbeek
Note that the Embedded Controller firmware version is also important.
I suppose there are still very many XOs out in the field with the
original firmware. Since Q2E18(?) there was a change causing many more
mouse packets to be delivered to the CPU. Also there was a change in
mouse mode between ship.2 and update.1. Do not know what is out in the
field.

On a side note, I still have the touchpad jumpiness on my recently
received G1G1-2008 XOs. I will get some debug logs and send them.
Should I attach them to my original ticket (#7788)?

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


G1G1-2008 US machines delivered with 8.1 build 708, not with 8.2 build 767

2008-11-19 Thread Ton van Overbeek
Received my 2 XOs ordered last Monday today.
I was surprised they were booting up in 8.1 with the old sugar
interface and not with 8.2.
I was under the impression 8.2.0 was targeted for G1G1-2008, but this
does not seem to be the case,
at least not for the US machines currently in stock at Amazon.
Just curious to know if this was the intention.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: G1G1-2008 US machines delivered with 8.1 build 708, not with 8.2 build 767

2008-11-19 Thread Ton van Overbeek
Ed,

Thanks for the explanation.
I am not new to OLPC, also participated in the first G1G1, but that XO
is now with my grandson (and has 8.2 on it). Right now I am going to
run olpc-update to get the new XOs on 8.2.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Emulating 8.2 images on QEMU for windows

2008-11-13 Thread Ton van Overbeek
Mwarren wrote:
 I put together a new Quick Start bundle at
 http://sites.google.com/site/olpcqemu/Home/olpc_qemu_8.2.0.zip (4.7 MB). The
 bundle includes Ton's qemu-svn-4887, KQEMU 1.4.0pre1, the cwRsync bundle
 (rsync, cygwin1.dll, PuTTY), curl and bunzip2. The OLPC image has been
 replaced with a get-image.cmd script that automatically downloads an image,
 bunzip2's it, and creates a linked .qcow2.img file.  I would appreciate it
 if you can try out the bundle and give feedback -
 http://wiki.laptop.org/index.php?title=User_talk:Mwarrenaction=edit .

 Thank you,

 Mark
   
Works fine for me on Win XP/SP3.
A few remarks:
- Might put a warning in for people (like me) who already have Cygwin 
installed.
  Two cygwin1.dll on the same system can create problems.
- Put more emphasis on 'run as Administrator' for the install start and stop
  of the kqemu service.
  Without kqemu you do not have run as Administrator (but it will be 
very slow).
- You do not say how to ssh into the emulated XO:
  For a command line ssh: 'ssh -p  [EMAIL PROTECTED]'.
  For PuTTY you have to change the port from 22 to .
  Also you first have to set a password on the olpc account in the 
emulated xo,
  otherwise no ssh logins are allowed.
- You might want to mention to let software update download all the G1G1 
activities
  on the first boot of the emulated xo.
  Alternatively we could set up an image somewhere with the G1G1 
activities already
  included.

It might be an idea to combine your approach with Wade Brainerd's installer.
See http://lists.laptop.org/pipermail/devel/2008-November/021016.html .
However the installer has problems installing the service on Vista due 
to UAC.

I cc'ed Wade on this email.

Good work !!

Ton van Overbeek
PS Have not updated my original zip with libusb0.dll yet. Will do this soon.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Emulating 8.2 images on QEMU for windows

2008-11-13 Thread Ton van Overbeek
On Mon, Oct 6, 2008 at 1:10 PM, Ton van Overbeek [EMAIL PROTECTED] wrote:
 Thanks for the update on how to install kqemu on Vista.
 libusb0.dll is from the libusb-win32 project on Sourceforge:
 http://sourceforge.net/projects/libusb-win32
 Right now I am on travel in Europe through the end of the month.
 When back, I will update my port (include libusb0.dll and document
 Vista installation)

 Ton van Overbeek

Finally updated the zip file
http://www.v-overbeek.nl/XO-1/qemu-svn-4887-for-windows.zip.
It now includes the missing libusb0.dll and your instructions for
Windows Vista in the README file.

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


Fwd: Emulating 8.2 images on QEMU for windows

2008-11-13 Thread Ton van Overbeek
Forgot to cc devel@
-- Forwarded message --
From: Ton van Overbeek [EMAIL PROTECTED]
Date: Thu, Nov 13, 2008 at 9:12 PM
Subject: Re: Emulating 8.2 images on QEMU for windows
To: Wade Brainerd [EMAIL PROTECTED]


On Thu, Nov 13, 2008 at 5:02 PM, Wade Brainerd [EMAIL PROTECTED] wrote:
 Oh, and Ton - if you're interested in hacking on QEMU some more, I
 would love to see a build with some extra command line parameters:

 --start-kqemuExecutes 'net start kqemu' automatically if the service 
 exists.

This will require some real hacking. Will probably require to run qemu as
Administrator:

 --window-title=   Changes the title of the window from QEMU to
 whatever, say 'OLPC Software Environment 8.2.0'.


You can already do this today.
Use the -name option on qemu:
 -name OLPC Software Environment 8.2.0 
The qemu window will then have QEMU (OLPC Software Environment 8.2.0) as title.

 Then we could have the shortcut run qemu.exe directly and eliminate
 the command prompt window, for a more seamless experience.

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


Re: Emulating 8.2 images on QEMU for windows

2008-10-06 Thread Ton van Overbeek
Thanks for the update on how to install kqemu on Vista.
libusb0.dll is from the libusb-win32 project on Sourceforge:
http://sourceforge.net/projects/libusb-win32
Right now I am on travel in Europe through the end of the month.
When back, I will update my port (include libusb0.dll and document
Vista installation)

Ton van Overbeek

On Mon, Oct 6, 2008 at 9:50 AM, Mwarren [EMAIL PROTECTED] wrote:


 Ton van Overbeek wrote:

 In the kqemu-1.4.0pre1 directory right click kqemu.inf and select Install.
 See also http://bellard.org/qemu/kqemu-doc.html .


 In Windows Vista, install KQEMU with this command line from an Administrator
 CMD prompt:

   rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 kqemu.inf

 Right clicking on the .inf file and selecting Install returns the error The
 INF file you selected does not support this method of installation on Vista
 :-(. QEMU+KQEMU, however, works fine under VistaB-).  This QEMU build also
 asks for libusb0.dll which can be found in
 http://slimak.onet.pl/_m/onetlajt/olpc/olpc_qemu_full.zip .
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


#7788 Touchpad behavior, [was 8.2.0 blockers stats and status]

2008-09-29 Thread Ton van Overbeek
What about #7788 (Worse touchpad behavior in 8.2).
It is still there even in 8.2-765, at least on my XO-1.
I am not the only one seeing this, Daniel Drake (dsd) complained about this
while developing the bridge activity in the physics jam and I have also seen
other mails on the list.
My hunch is that somehow the EC and the kernel psmouse code get out of sync
since it always starts OK after boot, but then deteriorates later.

There is no reason to block the release for this, but I believe something
about this should be mentioned in the release notes.

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


Bad experience wit 764: lost complete /home/olpc/Activities directory.

2008-09-25 Thread Ton van Overbeek
Just installed 8.2-764.
Started software-update which wanted to install some updates and now
also for the first time a lot of library bundles.
Started OK, but remained hanging on the Wikipedia library bundle.
Canceled update and control panel.
Home view still showed all activities, including new ones like Implode.
But no activity wanted to start.
Looking with a terminal (Ctrl-Alt-F2) showed that the complete
/home/olpc/Activities had disappeared !!!
Very, very  bad.
This is the first time I lost everything.
Will file a trac ticket with the corresponding shell.log after this mail.

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


Emulating 8.2 images on QEMU for windows

2008-09-24 Thread Ton van Overbeek
Mel,

You (and anybody else interested) can find my version of QEMU for Windows
which runs 8.2 and joyride images successfully here:
http://www.v-overbeek.nl/XO-1/qemu-svn-4887-for-windows.zip .
Below the README from the zip file:
=
QEMU for running 8.2 XO-1 devel-ext3 images on Windows
--

Here is my privately compiled version of qemu based on snapshot svn-4887.
See http://savannah.nongnu.org/svn/?group=qemu .
I have only used it on Windows XP/SP2, but it most likely will work under
Windows Vista.

Installing qemu
---

Make sure the following files are all in the same directory:
qemu.exe
fmod.dll
SDL.dll
mwgz.dll
bios.bin
vgabios-cirrus.bin
qemu-img.exe (optional)

This will allow you to run qemu, but slowly. It is recommended to use the
kqemu accelaratiob module. You'll find a version compatible with this 
version
of qemu in the subdirectory kqemu-1.4.0pre1.

Before installing this version, uninstall any previous versions of kqemu !
The kqemu supplied with the released 0.9.1 version is not compatible
with this version of qemu.

In the kqemu-1.4.0pre1 directory right click kqemu.inf and select Install.
See also http://bellard.org/qemu/kqemu-doc.html .

The service can be started by the command 'net start kqemu'. it should 
report
The KQEMU virtualisation module for QEMU service was started successfully.
on Win XP/SP2

Running qemu


Make sure the kqemu accelerator is running (see above).

To run qemu for an XO-1 image use  commands like:
--
net start kqemu
qemu -L . -cpu athlon -m 512 -net nic,model=rtl8139 -soundhw es1370 
xo-1-olpc-stream-8.2-763-devel_ext3.img
--
The important option is '-cpu athlon'.
If you forget this option you will get the following messages:
This kernel requires the following features not present on the CPU
3dnow
Unable to boot - please use a kernel appropriate for your CPU.

For other options see the qemu documentation.

Happy emulating XO-1 images!

Ton van Overbeek, 2008-09-24.
[EMAIL PROTECTED]
=
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: release 8.2 build 762 still has olpc-update manifest failure at line 383 problem

2008-09-23 Thread Ton van Overbeek
On Tue, Sep 23, 2008 at 12:32 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 The olpc_update manifest failure problem is still there.

 
 Rsyncing: etc/alsa
 Verifying update.
 Contents manifest failure at line 383
 Last file examined:  localtime
 Attempt olpc_update_irsync_pristine
 

 then it restarts the update.


Huh?
Which version of olpc-update are you running?
If you are updating to 8.2-762 you are by definition *not* running the
olpc_update of build 762, but the one from your current build.
I update regularly from Update.1-708 (because I want to keep it as
alternate boot)
to joyride or 8.2 builds and then of course run the 708 version of
olpc-update, which
has this problem.
So I am always using the full update option on 708, which is way faster than
letting it run twice.

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


Speak for XO, Internationalization and a small fix, Where and how to submit?

2008-09-21 Thread Ton van Overbeek
Hello,

I have made a Dutch translation starting from the .pot files in Speak-7.xo.
While doing this I noticed the strings Voice and Face were missed
to be translated in activity.py. Fixed this also and produced a single .pot
file instead of two.

Also noticed there is a Speak-8.xo with only a localized Spanish 
activity name
(locale/es/activity.linfo).
However the activity itself is still in English
(no locale/es/LC_MESSAGES/vu.lux.olpc.Speak.mo file).

I do not have git access, hence I am writing to Joshua and to Morgan who did
the last commits to git.
Should I just post my patch to the devel list or mail it to one of you?
Should Speak be included in Honey on the pootle server?

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


Re: testing 8.2 using qemu

2008-09-18 Thread Ton van Overbeek
Gabriel Eirea wrote:
 Hi list,

 I'm having a hard time trying to test an activity in 8.2 using qemu.
 The activity (Conozco Uruguay) doesn't work in 8.2 although it works
 fine in previous versions. We suspect it is related to rainbow (trac
 #8334). Since there is little documentation on rainbow (I still don't
 know what it is and why including it broke the activity) I'm going to
 follow a hack suggested by brian.

 The thing is, I can't make builds 759 nor 760 run using qemu. The
 configuration is fine because I can run build 659. In 759 it stops
 when saying Booting from Hard Drive... and in 760 it says that the
 kernel needs 3dnow. I downloaded the images from

 http://pilgrim.laptop.org/~pilgrim/xo-1/streams/8.2/

 Has anyone tested the images with qemu? Can anyone suggest how to
 proceed? I'm very interested in making my activity work in 8.2!
   

There are/were two problems.
The first one (8.2 image not booting at all) has been solved
with 8.2-760.
The second one (3DNow required) is due to the change to the 2.6.25
kernel for 8.2. The kernel checks for CPU features and does not continue
booting when it does not find them. The kernel for the XO is build for
the AMD LX-Geode and therefore looks for 3DNow.
If you would run qemu on a machine with an AMD processor it most likely
will work. If you are running it on an Intel processor, you get the
kernel needs 3dnow message.
See also trac #8369 (http://dev.laptop.org/ticket/8369).

In the CVS version of qemu you can specify a cpu type
(use -cpu=athlon for the XO) and then you can run 8.2 and recent joyride
devel-ext3 images in qemu on an Intel based machine.
I have a privately compiled version which runs under Windows XP
(have not tried it under Vista).
Let me know if you are interested in this one and I can send it to you.
If you are using Linux you will have to compile your own qemu.

There have been some efforts to get a qemu specific image not requiring
3DNow next to the existing ext3 images (since the existing ext3 images
have to be able to run on a real XO when booted from USB or SD) but so
far this has not been realized.

Hope this helps explain the situation.

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


Re: testing 8.2 using qemu

2008-09-18 Thread Ton van Overbeek
Michael Stone wrote:
 Gabriel,

 To understand Rainbow, start by reading

http://wiki.laptop.org/go/Security
http://wiki.laptop.org/go/Low-level_Activity_API#Security
http://wiki.laptop.org/go/Rainbow

 or by asking people about it on IRC.

 Michael

 P.S. - You wrote that

   
 Since there is little documentation on rainbow (I still don't
 know what it is and why including it broke the activity) I'm going to
 follow a hack suggested by brian...
 

 Could you tell me a bit about where and how you looked for documentation
 so that I can try to put documentation that exists in places where you
 would have found it (or create new documentation if needed)?
   
Michael,

Although I am not Gabriel, I do have some viewpoints on the questions 
you asked.

If you do not know where to look it is difficult to find the rainbow 
isolation information
(uid pool, gid pool, which directories are writable, etc. compared with 
a classic Unix/Linux system).
I would expect a basic description of the rainbow model from the 
activity developer point of view
already linked to from the main Developers page 
(http://wiki.laptop.org/go/Developers),
since there is where you would start to look beginning from the left 
hand navigation on the wiki.

More info or links to the pages you mention could be included on 
Developers/Issues and
Developers/FAQ pages.

There is also some related info on the sugar-almanac pages. These (the 
sugar-almanac pages)
should also be linked to from the main Developers and the 
Developers/Documentation page.

Just my 5 cents.

Ton van Overbeek

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


Re: A working TuxPaint-2.xo for 8.1 and 8.2, how to update the wiki?

2008-09-16 Thread Ton van Overbeek
Albert Cahalan wrote:
 Ton van Overbeek writes:

   
 This version (TuxPaint-2) of TuxPaint for the OLPC-XO fixes several issues
 with the original version (TuxPaint-1) by Albert Calahan.
 

 Uh, are you intending to take over? I haven't seen any discussion on
 the tuxpaint-devel mailing list, on #tux4kids, or elsewhere.

 I have been working on a TuxPaint-2.xo for a while now. Am I supposed
 to abandon that effort, release it anyway, skip a version number...?
   

 BTW, the name is spelled Cahalan.
   
Albert, first my apologies for misspelling your name.
I have no intent in taking over, but am willing to help. I had a 
personal need to get TuxPaint working
in Dutch on the XO for my grandson, since he will get my G1G1 XO next 
month when we are in Europe.
Since the Dutch translation was far from complete in TuxPaint-1.xo and 
the non English versions were
not working out of the box (see e.g. 
http://olpcnews.com/forum/index.php?topic=1049.0 item #4) and
other issues like changing the bundle name (no more hyphens allowed, see 
the discussion
on http://wiki.laptop.org/go/Talk:Tux_Paint) I decided to rebuild 
starting from the current CVS
version and your additions (sugarize + libsugar) in the original.
Because I thought the end result might interest more people I announced 
it on the devel list.
Since my version is now 'out in the wild', I am afraid you will have to 
go to TuxPaint-3.xo
for your next version.
  
   
 The following issues are fixed in this release:
 - Internationalization works out of the box. In TuxPaint-1 there was a typo
   which caused TuxPaint to look in a parallel tree under TuxPaint.activity.
   (note the trailing dot) for the localized files (.mo and fonts).
 

 I believe this was fixed when I checked in some Makefile changes.
 I have not rebuilt the *.xo since I fixed the Makefile.
   
I could not get your Makefile fix to work. The code still looked for 
localization information
in ../TuxPaint.activity. (with trailing dot) due to the DEFS definition 
in the Makefile.
See my changes to the olpc: target in tuxpaint/Makefile (explicit 
defintion of LOCALE_PREFIX).
 BTW, perhaps I'm being too picky, but I'm trying to get Tux Paint
 sources in CVS to support building a *.xo with one command and a
 minimum of hacks. This is a good part of the reason for the delay.
 TuxPaint-1.xo is not very reproducable; plenty of manual work was
 required to create it.

   
I have followed your example and to build my version start in 
TuxPaint.activity/ and then
do 'make olpc'. See TuxPaint.activity/Makefile and tuxpaint/Makefile. 
This assumes
you are building on an XO (see also below).
 - Added the needed libpaper.so in the bundle and modified sugarize.c to add
   LD_LIBRARY_PATH so tuxpaint can find the library.
 

 I didn't do that for several reasons:

 1. license issues
 2. version control issues
 3. can't set up /etc with the right printer info

 If libpaper isn't in the base system, then I don't want to use it.
 I have two other choices. I can rip out printing. I can revert to
 some older code which directly generates postscript.

 Assuming that printing support is even desirable, reverting to the
 old code (plus bug fix) looks best. That way, there is little need
 to worry about paper sizes.

   
Agree with your reasoning. For the XO it is probably best to disable the 
priuter support
completely. The current code requires libpaper and I did not want to
remove the printer support code, since I am not that familiar with the 
TuxPaint code (yet).
Hence, the easy way out was to include libpaper.so in the bundle.
Since it is available as fedora-9 rpm I did not expect any license 
issues for libpaper.
 Other changes:
 - Added support for svg (scalable vector graphics) stamps.
 

 Which library? Which *-devel packages must be installed?

   
All the non-devel rpms/packages needed for svg support are already on 
the XO (at least
for Update.1 and the current joyride/8.2 builds). I needed the required 
SDL-* devel rpms
anyway to compile so 'it just worked'.
My build machine is a QEMU emulated XO on Windows XP/SP2 with an extra 
1GB disk
where I moved and mounted /home/olpc to make room for all the needed 
devel packages
and gcc, make etc.
In the most recent builds also SDL-pango is included, as you know, so 
now we should be able
to build a full TuxPaint, but only for 8.2 systems. SDL-pango is not 
available on 8.1 and older
builds.
 - To save space, keep only the smallest version of a stamp if both svg
 and png
   versions are available.
 - Removed development related files in the bundle. The full source is in
   TuxPaint-2.xo.tar.bz2.
 

 This really should happen in the main Makefile, via not copying
 them in the first place.

   
Agreed, but I did not want to mess with the install-all target in 
tuxpaint-stamps, since that is
used by everybody, hence the use of some cleanup scripts. See 
TuxPaint.activity/Makefile.
 - Updated activity.info with license information

Re: A working TuxPaint-2.xo for 8.1 and 8.2, how to update the wiki?

2008-09-16 Thread Ton van Overbeek
C. Scott Ananian wrote:
 Ton, in talking to Seth and SJ, it seems like the 'registered users
 only' option has a few more tweaks in practice.  You need to be
 registered *for at least four days* and you need to have made N number
 of edits already (I think N is three).  I poked them to respond to
 this thread with the exact details, and to put said details on the top
 of the Activities page, but it looks like they haven't done so yet. =(
  --scott
   
Scott,

Thanks for the update. In the meantime I wrote to Samuel Klein directly 
and I got the anwer from him
(according to Samuel N is 5 and not 3).
So I will try to make a few useful edits  on the wiki before trying to 
update/add to the Tux Paint
information. Albert, I would like to coordinate the Tux Paint updates 
with you. See also my earlier email
to you today.

Ton van Overbeek

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


Re: Current 8.2 and joyride ext3 builds unusable

2008-09-10 Thread Ton van Overbeek
C. Scott Ananian wrote:
 working on it.
  --scott
   

Just to tell that ext3 builds are working again since joyride-2413.
Now hope it is the same for the next 8.2 build.
Thanks Scott for fixing this in less than one day !!

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


Re: Automatic power management disabled in control panel

2008-09-10 Thread Ton van Overbeek
Christoph Derndorfer wrote:
 Hi all,

 upgraded to 2414 and realized that the auto power management checkbox 
 in the sugar control panel is unchecked even though the XO seems to 
 show a regular power management behavior. Is this a bug or am I 
 missing something here (e.g. auto power management being a different 
 mode to what's the default setting)?

 Thanks,
 Christoph

It is a known bug. Do not know if it is in trac.
In the 8.2 builds power management (= suspend on idle) is off at boot, 
i.e. sugar control panels checkbox  matches the reality.
Turning it on via the control panel works fine in 8.2.

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


Re: [PROPOSAL] Change PILGRIM_LOCALES_* to better reflect the current situation

2008-09-10 Thread Ton van Overbeek
Erik Garrison wrote:
.

 I don't think that there is any specific reason to chop localizations
 from ext3 (qemu-oriented) images.  If anything it's caused headaches for
 groups needing a localized qemu image.  I'm not really sure of what
 benefits there are as such images are not to be installed on XOs.

 Are we in agreement on this?
   
These images are not to be installed, but certainly can be run on XOs 
from either USB or SD-card.
Anyway, I also believe the localizations should be in the ext3 images.

Ton van Overbeek (especially interested in nl_NL ;-))
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Current 8.2 and joyride ext3 builds unusable

2008-09-09 Thread Ton van Overbeek
Filed trac ticket 8369 about this issue.
Here is the text:
==
All 8.2 devel-ext3 builds are unusable in qemu with the lone
exception of 8.2-751. Joyride shows a similar picture.
2346 was OK. 2347-2362 were not complete due to the gstreamer
issue. 2363-2365 are OK. Every devel-ext3 build 2366-2405 is
incomplete.
Problem on both 8.2 and joyride is the missing grub stage1 loader.
See the errormessage at the bottom of the build logs, e.g. from
build 2405:
---
cp: cannot stat
`/home/cscott/public_html/xo-1/streams/joyride/build2405-20080909_0222/devel_ext3/install_root/usr/share/grub/i386-redhat/stage1':
No such file or directory

* Unmounting special file systems from install root
* Detaching disk and partition 1 (/dev/loop5 and /dev/loop6)
---
Please fix asap so I can test 8.2 issues also in qemu (privately
compiled version with 3dNow emulation enabled)
===

I have not tried, but almost certainly these images will not work when
trying to boot from USB or SD on a real XO-1.

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


Re: New release8.2 build 758

2008-09-04 Thread Ton van Overbeek
Build Announcer v2 wrote:
 http://pilgrim.laptop.org/~pilgrim/xo-1/streams/8.2/build758

 Changes in build 758 from build: 757

   
.
 -xorg-x11-server-common 1.4.99.906-2.olpc3
 +xorg-x11-server-common 1.4.99.906-2.olpc3.3
   
A pity the olpc3.4 version did not make it in this build.
It fixes the Bounce X performance problem. See trac #8289.
Ticket status is now 'approve for release'.
Would strongly recommend to include this in the next alpha/beta to be 
released
for testing on the 8.2 stream.

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


Re: New release8.2 build 758

2008-09-04 Thread Ton van Overbeek
On Thu, Sep 4, 2008 at 4:39 PM, C. Scott Ananian [EMAIL PROTECTED] wrote:


 For more verbose changelogs, see:
  
 http://mock.laptop.org/gitweb/gitweb.cgi?p=repos;a=shortlog;h=koji.dist-olpc3-testing
 and
  http://mock.laptop.org/gitweb/gitweb.cgi?p=repos;a=shortlog;h=local.8.2



Scott, thanks for the mock links for the changelogs (and for build 759).

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


Re: Frimware Q2E15 and Joyride-2368, good and bad

2008-09-03 Thread Ton van Overbeek
On Wed, Sep 3, 2008 at 3:17 AM, Tomeu Vizoso [EMAIL PROTECTED] wrote:
 On Wed, Sep 3, 2008 at 4:07 AM, Ton van Overbeek [EMAIL PROTECTED] wrote:
 C. Scott Ananian wrote:
 On Sun, Aug 31, 2008 at 10:02 PM, Ton van Overbeek [EMAIL PROTECTED] 
 wrote:

 The bad:
 - Bounce (aka 3Dpong) has become completely unplayable. The screen
 update is very jerky.
  In earlier builds it was smooth.
  Something to do with the X-server changes for Etoys?


 No X changes were made to the joyride stream, except the X corruption
 fixes by dsd -- but they shouldn't slow down X refresh.  dsd,
 comments?

 Something changed. When looking with top (logged in with ssh on an other
 computer) I see that
 when running Bounce the cpu is at 100%, with 60-65% on X (!!!) and only
 30-35% on Bounce.hi
 It seems something is hogging X.
 This is on joyride-2379
 Under 8.1 the X consumption is far less and Bounce updates smoothly.

 Perhaps Bounce stopped using an accelerated path to graphics so X has
 to work more? xv, xshm, etc


It is the same Bounce (and Bridge) under 8.1 and 8.2
(I am alternate booting between Update.1 and the current/recent
joyride/8.2 build).
In that case it must be some package Bounce is importing/using. Might be related
to the No Sound  in 8.2 issue with both Bounce and Bridge.

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


Re: Google Chrome activity?

2008-09-03 Thread Ton van Overbeek
Christoph Derndorfer wrote:
 On 9/3/08, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 On Wed, 3 Sep 2008, Christoph Derndorfer wrote:

 Anyone here motivated to turn Chrome into an activity?


 don't we need to wait until they have a linux version out? my
 understanding is that the current release is windows only.

  
 Ah, I must have missed that than, thought it was multi-platform... :-(
  
 Thanks,
 Christoph

The open source project is on http://dev.chromium.org.
There are instructions for a Linux build, but it has the following warning:

Note: There is /no/ working Chromium-based browser on Linux. Although 
many Chromium submodules build under Linux and a few unit tests pass, 
all that runs is a command-line all tests pass executable.


Anyway, since it really targets the high-end (each tab running its own 
process with own virtual machine for JS etc.)
I doubt it will run nicely on the XO.
The renderer is based on WebKit.

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


Re: bounce and x11 performance

2008-09-03 Thread Ton van Overbeek
[EMAIL PROTECTED] wrote:
 daniel wrote:
   On Wed, 2008-09-03 at 11:30 -0400, [EMAIL PROTECTED] wrote:
is there a bug open on this issue?

i reverted a machine to joyride 2212, which, as indicated in #7787, was
before pygame.mixer was lost, and then brought back.

bounce works fine in that build -- performance and audio are very
acceptable.  there's still mouse cursor flicker, i think related
to the continuous frame-rate display in the corner.  but in newer
joyrides the whole screen is choppy.
   
   Did you typo browse for bounce in the subject?
   
   I don't think there's a bug open.

 done -- #8289

 paul
   
X11 performance fixed in joyride-2386. See trac #8289 for details.

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


Re: Frimware Q2E15 and Joyride-2368, good and bad

2008-09-02 Thread Ton van Overbeek
C. Scott Ananian wrote:
 On Sun, Aug 31, 2008 at 10:02 PM, Ton van Overbeek [EMAIL PROTECTED] wrote:
   
 The bad:
 - Bounce (aka 3Dpong) has become completely unplayable. The screen
 update is very jerky.
  In earlier builds it was smooth.
  Something to do with the X-server changes for Etoys?
 

 No X changes were made to the joyride stream, except the X corruption
 fixes by dsd -- but they shouldn't slow down X refresh.  dsd,
 comments?
   
Something changed. When looking with top (logged in with ssh on an other 
computer) I see that
when running Bounce the cpu is at 100%, with 60-65% on X (!!!) and only 
30-35% on Bounce.hi
It seems something is hogging X.
This is on joyride-2379
Under 8.1 the X consumption is far less and Bounce updates smoothly.

I also tried Bridge (Daniels physics jam game). On 2379 no sound. On 
Update 1 Bridge works with sound.
Same for Bounce, no sound in 8.2, sound in 8.1.
Something with pygame/olpcgame sound ???

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


Frimware Q2E15 and Joyride-2368, good and bad

2008-08-31 Thread Ton van Overbeek
Here some impressions from exercising Joyride-2368 and Firmware Q2E15:
First the good:
- Nice larger font in Q2E15
- Control-Panel, in 'About my XO' now also the Sugar version is displayed
  (here 0.82) and license info has been added.
- After suspend/resume using the power button the WiFi reconnects properly.
- No network problems after idle-supend/resume
The bad:
- Bounce (aka 3Dpong) has become completely unplayable. The screen 
update is very jerky.
  In earlier builds it was smooth.
  Something to do with the X-server changes for Etoys?
- My touchpad has become very jumpy, worse than before 2368.
  I'll play a little bit more with the psmouse parameters before
  filing a new ticket or adding to #7788.

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


All joyride builds since 2346 are failing.

2008-08-28 Thread Ton van Overbeek
It seems the joyride builds since 2346 try to implement the reversal
of the gstreamer packages.
However all builds fail with a missing dependency issue:
Error: Missing Dependency: gstreamer-plugins-base = 0.10.17.2-4 is 
needed by package totem-gstreamer

Anybody trying to fix this?
It is a kind of a pity to let tinderbox test all these failed builds.

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


Ext3 images from recent 8.2 builds do not boot in qemu.

2008-08-27 Thread Ton van Overbeek
Tried a few ext3 images from the 8.2 build stream, but they do not boot 
in qemu.
Looking at the build logs (e.g. 
http://pilgrim.laptop.org/~pilgrim/olpc/streams/8.2/build757/devel_ext3/build.log)
there is one suspicious line near the end:

 - Copying grub boot loader files
cp: cannot stat 
`/home/pilgrim/public_html/xo-1/streams/8.2/build757-20080827_0055/devel_ext3/install_root/usr/share/grub/i386-redhat/stage1':
 
No such file or directory

Without grub - No boot.
Can somebody please fix pilgrim to make serious 8.2 testing easier?

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


Re: Regressions(?) in latest joyride build 2321, 2323

2008-08-25 Thread Ton van Overbeek
Martin Dengler wrote;
 On Mon, Aug 25, 2008 at 02:54:54PM -0400, Ton van Overbeek wrote:
 [...]
   
On the neighborhood view and in the frame there is no longer a
Disconnect option after you associate an AP.
 
 [...]
   
  Is the removal of the 'Disconnect' option intentional?
 

 There will be no 'Disconnect' option because there is no msh0 device.
 The two are related because the 'Disconnect' option is a 'design
 concession': what is actually does is to activate the mesh.  Without a
 mesh to activate, the 'Disconnect' option disappears.

 You may find the alternate proposals for 'Disconnect''s behavior, and
 the counter-proposals, at

 http://dev.laptop.org/ticket/6995#comment:27
 http://dev.laptop.org/ticket/6995#comment:28
   
OK, so both issues (no mesh and no Disconnect option) are only a single 
one..
Just found trac #8133 which deals with the disappearing msh0 device.
Seems to be an issue with a mismatch between driver versions.
Hope it is solved soon.

 From an end-user point of view I want to be able to disconnect 
(=disassociate) from
an unwanted AP. Now you cannot do this in an obvious way.

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


Re: Cerebro (was Re: Almost 50% less free memory in joyride-2302 compared with Update.1 (708))

2008-08-23 Thread Ton van Overbeek
On Sat, Aug 23, 2008 at 1:25 PM, Marco Pesenti Gritti
[EMAIL PROTECTED] wrote:
 On Sat, Aug 23, 2008 at 3:09 PM, C. Scott Ananian [EMAIL PROTECTED] wrote:
 On Sat, Aug 23, 2008 at 5:16 AM, Marco Pesenti Gritti
 [EMAIL PROTECTED] wrote:
 Cerebro is running there for some reason (I've seen it in another bug
 report already). I can't reproduce on a clean 2328 joyride, not sure
 if it has been fixed or something weird is going on.

 Cerebro is enabled in joyride builds, started from /etc/init.d; it
 should be disabled in 8.2 builds at the moment.  How much memory usage
 is cerebro responsible for?

 6.5 Mib according to ps_mem

 You are right, it's enabled in joyride... it's failing for me because
 it can't find msh0 (not sure why).

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


Same for me. Joyride 2325 has cerebro enabled, but it aborts because
device msh0 cannot be found. This also hangs up the shutdown when
trying to kill cerebro. So somehow cerebro is enabled in 2325. Also
idle suspend is enabled again in 2325, while it should be off.
The msh0 disappearing might have something to do with the new libertas firmware.
I also have much more problems with wireless connections. Will do some
more testing.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Which stream to test for 8.2 or have we officially branched now?

2008-08-23 Thread Ton van Overbeek
Noticed that idle suspend was enabled again in recent joyrides.
pgf replied that this was intentional since we now have a revived 8.2
build stream.
But I have not seen any announcement yet on branching/freezing etc.
What is the status and which builds should we be testing for the 8.2 release?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Fwd: Which stream to test for 8.2 or have we officially branched now?

2008-08-23 Thread Ton van Overbeek
Forgot to include devel@ and mstone in my reply to Scott
-- Forwarded message --
From: Ton van Overbeek [EMAIL PROTECTED]
Date: Sat, Aug 23, 2008 at 6:45 PM
Subject: Re: Which stream to test for 8.2 or have we officially branched now?
To: C. Scott Ananian [EMAIL PROTECTED]


Many thanks for the clarification.
Now I (and I hope many others) have a good idea where things stand
w.r.t. 8.2 release and the 8.2 and joyride build streams.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problems switching back from joyride-2290 to Update.1-708 (rainbow). Help wanted.

2008-08-21 Thread Ton van Overbeek
C. Scott Ananian wrote:
 On Thu, Aug 14, 2008 at 10:46 PM, Michael Stone [EMAIL PROTECTED] wrote:
   
 On Thu, Aug 14, 2008 at 10:16:01PM -0400, Ton van Overbeek wrote:
 
 For my testing for trac #7788 I want to switch from Update.1 to
 joyride-2298 and vice versa
 (using alternate boot).
 After switching back from joyride-2298 to Update.1 most activities do
 not start because
 their home directory does not exist.
 I need some pointers where to look in rainbow how to get this two way
 switching working.
 Anything I can run in Update.1 or rpm to update to get this working ???
 One thing I noticed is that /etc/group does not have all the groupids in
 Update.1
 but I have no idea how they got there in the first place.
 Pointers to rainbow docs and rainbow changes between Update.1 and recent
 joyrides appreciated.
   
 Rainbow docs are sadly out of date. *hangs head in shame*.

 What's available is located at

   http://wiki.laptop.org/go/Taste_the_Rainbow

 and in various text files in the rainbow directory of the

   http://dev.laptop.org/git/security

 repository.

 The commit which broke things is almost certainly

   
 http://dev.laptop.org/git?p=security;a=commit;h=8fc1e8c3a7a67364f43741461f66b302d1697410

 Let me know if you have further questions and I'll do what I can to be
 responsive. Other people you should consider poking include
 patchvonbraun, coderanger, homunq, and tomeu.
 

 Hmm, this sounds like it should be (a) a release note, and (b) we
 should post a script to 'make things right'.  (Similar to the
 datastore issue.)  I'll stub out appropriate text in the wiki for
 this.
  --scott
   
In case you did not notice it (yet), see trac #8016 which covers this.

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


Almost 50% less free memory in joyride-2302 compared with Update.1 (708)

2008-08-21 Thread Ton van Overbeek
Noticed the following:
After booting with all the joyride activities installed and then running top
on vt2 (no activities running, only journal) joyride-2302 shows 44268k free.
Booting into 708 with the same set of activities shows 82828k free.
Is there a 'min amount of free memory' release criterion/goal for 8.2 ???
It seems OOM situations will occur more often in 8.2 than in 8.1.

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


Re: Problems switching back from joyride-2290 to Update.1-708 (rainbow). Help wanted.

2008-08-17 Thread Ton van Overbeek
Michael Stone wrote:
 On Thu, Aug 14, 2008 at 10:16:01PM -0400, Ton van Overbeek wrote:
 For my testing for trac #7788 I want to switch from Update.1 to 
 joyride-2298 and vice versa
 (using alternate boot).
 After switching back from joyride-2298 to Update.1 most activities do 
 not start because
 their home directory does not exist.
 I need some pointers where to look in rainbow how to get this two way 
 switching working.
 Anything I can run in Update.1 or rpm to update to get this working ???
 One thing I noticed is that /etc/group does not have all the groupids 
 in Update.1
 but I have no idea how they got there in the first place.
 Pointers to rainbow docs and rainbow changes between Update.1 and 
 recent joyrides appreciated.

 Rainbow docs are sadly out of date. *hangs head in shame*.

 What's available is located at

   http://wiki.laptop.org/go/Taste_the_Rainbow

 and in various text files in the rainbow directory of the
   http://dev.laptop.org/git/security

 repository.

 The commit which broke things is almost certainly
   
 http://dev.laptop.org/git?p=security;a=commit;h=8fc1e8c3a7a67364f43741461f66b302d1697410
  


 Let me know if you have further questions and I'll do what I can to be
 responsive. Other people you should consider poking include
 patchvonbraun, coderanger, homunq, and tomeu.

 Regards,

 Michael

Just filed trac #8016 about this.
Turns out the problem exists both ways 8.1-8.2 and 8.2-8.1.

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


Re: [support-gang] Please help test our new 8.2.0 weekly beta, joyride-2301!

2008-08-17 Thread Ton van Overbeek
Ixo X oxI wrote:
 * When doing a 'shutdown', received the following error.

   Stopping cerebro -p -i msh0 :  [FAILED]
 (a bunch of stuff [OK] )
   Kill cerebro(pgid 1726) ? (Y/N)   [FAILED]

   Typed 'y' and nothing happened, had to do a 'hard reset' via button.
Saw exactly the same thing when running the devel-ext3 joyride-2302 
image under qemu on Windows.
When running the 2302 jffs2 image on the XO, no problem for me. It shuts 
down cleanly.
Something with mesh and/or WiFi AP access ?

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


Re: Tribute To Randy Pausch

2008-08-15 Thread Ton van Overbeek
Eben Eliason wrote:
 I had the opportunity to study under Randy during his last year at the
 Entertainment Technology Center, before Jesse (formerly of Disney
 Imagineering) took over.  His Building Virtual Worlds course was the
 most time consuming yet most rewarding educational experience I've
 ever had.  He was an amazing teacher, as well as a fun-loving and
 charismatic person.  He will surely be missed.

 I haven't personally experimented with Alice, but I have seen it in
 action and it looks like a pretty valuable tool for those just
 learning to think like a programmer, without the need to overcome the
 syntax hurdle.  However, it's also a fairly dense UI (lots of stuff on
 screen), so there may be some issues making everything legible on our
 smaller screens.  I'm also not sure how well the XO will handle the
 real-time 3D rendering, but some experimentation with this would be
 welcome.

 - Eben


 On Fri, Aug 15, 2008 at 9:31 AM, Greg Smith [EMAIL PROTECTED] wrote:
   
 Hi All,

 I'd like to take a moment to respectfully mark the passing of Randy Pausch.

 I wasn't aware of him before he died but it looks like his work
 (http://download.srv.cs.cmu.edu/~pausch/Randy/oldRandyPage.html) was
 very relevant for our project. It seems like he was one of us (not
 that I'm of the same caliber).

 Has anyone used Alice: http://www.alice.org/ and is it something we
 should consider for the XO?

 I like his focus on entertainment and fun in the educational process. I
 think the XO would benefit from more excitement and pizazz in our
 activities.

 Thanks,

 Greg S
 
I did not know about Alice until I read Greg's announcement.
Poked a little bit around on the Alice site.
The whole thing is implemented in java with some JNI (Java Native 
Interface) for rendering using hardware
accelerated 3D (requires GL).
It seems to me the XO-1 hardware is not powerful enough for Alice.
It would need a complete rewrite of the lower levels to bring it down
to what the XO can handle.
But I sure would like to see Alice on the XO ...
Something for the next Google Summer of Code ?

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


Re: Please help test our new 8.2.0 weekly beta, joyride-2301!

2008-08-15 Thread Ton van Overbeek
NoiseEHC wrote:
 I feel the touchpad very jumpy, it was not jumpy at all with 708.
   
See trac #7788 and trac #7341.
I am doing more touchpad testing (going to change to switching between 
joyride-2203 and update.1-708 with firmware q2e13)
and am still waiting if this one will be raised to a blocker for 8.2.0.
So if you want to chip in to raise the status of #7788 to blocker please 
do so.

Have you tried with Q2E13? This firmware should have much better 
handling of the embedded controller (EC)
which also deals with the touchpad.

Hopefully I'll have some results over the weekend.

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


Q2E13, joyride-2302, 8.1 (708) and touchpad, first impressions

2008-08-15 Thread Ton van Overbeek
Updated my firmware to Q2E13 and installed joyride 2302, replacing 2298.
Touchpad works under joyride-2302 but is completely unusable under 708:
the mouse cursor is stuck 99% of the time.
I have not run with extra mouse debugging enabled yet, will do that 
tomorrow.

Should I try 711 instead of 708 ?

Ton van Overbeek


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


Re: #7788 BLOC 8.2.0 (: Touchpad behavior deteriorates under joyride-2212, joyride-2230

2008-08-14 Thread Ton van Overbeek
Zarro Boogs per Child wrote:
 #7788: Touchpad behavior deteriorates under joyride-2212, joyride-2230
 --+-
Reporter:  tvoverbeek  |   Owner:  dilinger 
Type:  defect  |  Status:  new  
Priority:  blocker |   Milestone:  8.2.0 (was Update.2) 
   Component:  kernel  | Version:  olpc-3   
  Resolution:  |Keywords:  8.2.0:? blocks?:8.2.0
 Next_action:  diagnose|Verified:  0
   Blockedby:  |Blocking:   
 --+-

 Comment(by dilinger):

  Thanks for the logs!

  The lack of recalibration messages in 708 does not mean that the cursor
  isn't messed up.  When you boot and use 708, is the mouse cursor jumpy at
  all?

   
No, under 708 I get no noticeable cursor jumps.
  There is a lot of strangeness in your 2298 logs.  The fact that 3/5 times,
  the driver detects miscalibration at around the same time (160s after
  boot) makes me wonder what's happening there.  What point in the boot
  sequence are you at when it happens?  Is sugar completely up?  Are you
  launching any activities, or doing anything else other than moving the
  cursor around?

   
When booting I wait till the home view is complete (circle view with 
activities) without touching the
touchpad. Then I start a terminal session and start Memorize. Memorize 
requires a lot of mouse
movement. Play a while in Memorize until the cursor starts jumping. Then 
switch to Bounce and play a while.
At 160 sec I am in Memorize.
  The eth0/msh0 messages makes me think that NetworkManager has just come
  up, so the hardware was miscalibrated right from the start.  I wonder if
  the large amount of EC commands happening during boot are screwing
  something up.. I'm also wondering wtf the PCI EHCI messages are about.

   
The EHCI messages only started to show up with the most recent kernels. 
I cannot give you a specific
date/version. Sorry.
Also I am in a quite noisy WiFi environment at home. There are more than 
15 WiFi networks in the
neighborhood view. My home accesspoint has WPA-PSK. Sometimes the XO 
prompts me for the
accesspoint password. I cancel the dialog and then go to the 
neighborhood view, select my network,
click Connect again and it associates without prompting for the password 
again. Might have nothing to
do with this.
  Do you keep your finger on the touchpad during bootup?  Also, when you see
  the miscalibration errors in the logs (and you remove your fingers from
  the touchpad for a few seconds), does the touchpad driver fix itself, or
  is the cursor still jumpy afterwards?

   
As written above, no finger on the touchpad during boot. After 
recalibration it fixes itself for a short while,
but then starts jumping again (as you can see in the logs).

Saw Richard Smiths message about the new firmware with faster/better EC 
handling.
My XO firmware is on Q2E12. Could the interaction
between recent firmwares (Q2E12) and 2.6.25 kernel scheduling have 
something to do with this?
Should I try again when Q2E13 shows up in joyride?
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Next joyride beta delayed.

2008-08-14 Thread Ton van Overbeek
Back to the subject in the subject line (next build delayed).

The joyride-2303 build failed because koji.fedoraproject.org timed out.
I tried the site directly in the browser and it is indeed very slow and 
I also get time-outs.
Something going on at RedHat? DDOS attack??
There was an announcement about work on the fedora wiki server today, 
but that should not affect koji.

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


Problems switching back from joyride-2290 to Update.1-708 (rainbow). Help wanted.

2008-08-14 Thread Ton van Overbeek
For my testing for trac #7788 I want to switch from Update.1 to 
joyride-2298 and vice versa
(using alternate boot).
After switching back from joyride-2298 to Update.1 most activities do 
not start because
their home directory does not exist.
I need some pointers where to look in rainbow how to get this two way 
switching working.
Anything I can run in Update.1 or rpm to update to get this working ???
One thing I noticed is that /etc/group does not have all the groupids in 
Update.1
but I have no idea how they got there in the first place.
Pointers to rainbow docs and rainbow changes between Update.1 and recent 
joyrides appreciated.

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


Re: New wireless/mesh icon info testers needed (#2866, #6995)

2008-08-12 Thread Ton van Overbeek
Martin Dengler wrote:
 Thanks very much!  If you have any comments on how I could have made
 it easier for you to test (was using git more onerous than the
 traditional here's a patch, cd /to/here ; patch -px  mypatch.txt
 approach?) I'd love to hear how to do that.  As I work with my git
 clone sewn into the deployed directories like my instructions did, I
 find it more convenient to git-pull than apply patches, but of course
 I'd prefer to do whatever gets me the most testers  :) .
   
As James Cameron already wrote, I had to 'yum install git' to be able to 
do the git-clone.
This also pulled in perl for a total of  15 MB. No problem for me since 
I was at home
with a high speed internet connection.
I was going to suggest to just tar up the modified directories and then 
use a script similar
to what you provided  for the git case in order to make it easier for 
3rd party testers,
but James beat me to it.

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


Re: First impressions of joyride-2280

2008-08-12 Thread Ton van Overbeek
Richard A. Smith wrote:
 Ton van Overbeek wrote:


 - The polling of the EC every 30 seconds has disappeared.  At least
   it does not show up in the dmesg output.
 - More important, the touchpad seems to behave much better. May be
   related to the reduced polling of the EC.

 That makes sense if previously you were seeing jumpy touchpad behavior 
 every 30 seconds or so.  During EC command processing the kernel 
 disables interrupts which means that you won't be responding to data 
 from the touchpad.  The update rate for the touchpad is 12ms so if you 
 hang out for longer than 12 ms we think you lose motion data.  I don't 
 know how deep the buffer is on the touchpad but it does not seem to be 
 very deep.  The EC only buffers a single byte.

I might have spoken too soon.

Yesterday the touchpad jumping was back in joyride-2280.
In my initial run of joyride-2280 the battery was full and the XO
was connected to the mains power.
This time I was on the battery and the battery was running down.
In dmesg I noted a lot of EC traffic approximately every 2 minutes.
Does the frequency of EC polling increase when the battery runs down?

Also in the touchpad recalibration messages I see a lot of nested
calibration requests: several other calibration queued while performing
one. This does not seem right to me.

Again, Update.1 (build 708) behaves much better. For me personally this
(the touchpad problem) is the biggest show stopper for 8.2.0 !!!

Ton van Overbeek

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


Firefox 3 available via software-update

2008-08-12 Thread Ton van Overbeek
Yesterday when running software-update from the control panel on 
joyride-2280
Firefox showed up.
It is a port of Firefox 3 to the XO by C Scott Ananian:
(http://dev.laptop.org/git?p=users/cscott/firefox-activity;a=summary)
First impression is: it works very well.

Also it seems when new activities are added to the Activities/Joyride page
they are picked up by software-update.

Good work !!
Time to replace the Firefox2 page on the wiki ???

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


Re: First impressions of joyride-2280

2008-08-12 Thread Ton van Overbeek
Daniel Drake wrote:
 On Tue, 2008-08-12 at 09:17 -0400, Ton van Overbeek wrote:
   
 I might have spoken too soon.

 Yesterday the touchpad jumping was back in joyride-2280.
 In my initial run of joyride-2280 the battery was full and the XO
 was connected to the mains power.
 This time I was on the battery and the battery was running down.
 In dmesg I noted a lot of EC traffic approximately every 2 minutes.
 Does the frequency of EC polling increase when the battery runs down?
 

 This is normal. It's not polling as such. The hardware generates an
 interrupt when the battery charge drops by 1% (or when AC power is
 connected/disconnected, etc). The software then queries the EC to figure
 out the new charge levels and power status.

   
 Also in the touchpad recalibration messages I see a lot of nested
 calibration requests: several other calibration queued while performing
 one. This does not seem right to me.
 

 You should post some logs to clarify exactly what you mean.
   
I have posted a log (output of dmesg) of a joyride-2280 run attached to 
ticket #7788.
See trac for a description.
Please have a look there. I will now switch to a later joyride to see if 
the problem persists.
Hope you can make sense of the dmesg output.

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


Re: New wireless/mesh icon info testers needed (#2866, #6995)

2008-08-11 Thread Ton van Overbeek
Tried your test for 2866.
Works as advertised for me (joyride-2280).
Could not test the mesh, since I have only one XO.
At startup, when showing the frame, you see first the attempt to
connect to the mesh, then
it is replaced by the AP icon and information. I like the signal
strength indication and the IP address.
The 'disconnect' option is gone from the frame. I suppose you have to
do this in the neighbourhood
view (have not read Eben's design proposal).

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


Tinderbox is hanging (?)

2008-08-10 Thread Ton van Overbeek
Tinderbox is still chewing on joyride-2272 which it started 2 days ago.
The last joyride is 2278.
Can somebody have a look at Tinderbox?
It seems Tinderbox is not allowed to catch up over the weekend ;-)

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


Re: comments on late joyrides re: rt performance

2008-08-07 Thread Ton van Overbeek
Daniel Drake wrote:
 Hi Victor,

 Thanks a lot for the feedback.

 On Thu, 2008-08-07 at 21:45 +0100, victor wrote:
   
 One of the things I have been playing with is a little MIDI file
 player
 (one of the test/example activities in
 devel.laptop.org/activities/csndsugui),
 which uses a soundfont synthesis engine. On the older system, I
 can play most files with only the occasional dropout, generally
 quite solidly. But on the later (2232 and 2263), I get many more
 dropouts
 

 We are already aware of an audio performance regression and believe it
 be related to 2 things:
  - hal polls our battery a lot more than it used to, even when fully 
charged, and EC commands disable interrupts and cause sound stutters.
(I'm working on fixing hal, I sent patches upstream)
  - the kernel upgrade from 2.6.22 to 2.6.25 also included some changes
(which we haven't identified yet) which cause these problems.
Downgrading to 2.6.22 restores the previous audio performance.

 Thanks for pointing out your test-case though! So far we have been
 reproducing these issues by using TamTamMini, TamTam is indeed
 affected. :(

 Here is the relevant ticket:
 http://dev.laptop.org/ticket/7603
 Contributions welcome! It is a tricky one.

 Thanks,
 Daniel
   
Here an other observation which might have something to do with this.
In joyride-2266 (booted from SD card) I noticed that there is a lot of
logging of the traffic to the EC.
Just do dmesg and you see a burst of  about 18 olpc-ec: messages
approximately every 30 seconds.
Can this extra logging cause hic-ups ??
This might be a red herring, but you never know 

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


Re: Another sugar rant

2008-08-06 Thread Ton van Overbeek
Eben Eliason wrote:
 On Wed, Aug 6, 2008 at 2:08 AM, Neil Graham [EMAIL PROTECTED] wrote:
   
 On Wednesday 06 August 2008 7:08:33 am Alex Levenson wrote:
 Searching for X2o using the wiki search doesn't find it.  It's Called X2o!
 it's url is http://wiki.laptop.org/go/X2o for heaven's sake!  Somebody either
 fix the search or just change the search box to go to google.
 

 Are you sure?  When I search for 'X2o' (case insensitive) I am taken
 directly to the page you identified, bypassing any search results page
 altogether.
   
I have to agree with Neil. Entering X2o in the Wiki search box on the 
left hand side of wiki.laptop.org
leads to no matches whatsoever.
Searching laptop.org via Google gives the correct page as first hit.

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


Re: Test results on Joyride 2230?

2008-08-05 Thread Ton van Overbeek
Installed it on both USB and SD card.
USB boot still does not work. See trac #7620
SD boot is OK.
Raised several trac tickets on 2230:
#7755 Log Viewer 6 aborts on joyride 2230
  Caused by the name change Log Viewer - Log which is not picked up by 
software update. Log-10 works OK.
#7778 Bounce aborts on joyride 2230
  Caused by missing pygame.mixer which in trun is caused by removing SDL 
mixer from the kernel.
#7788 Touchpad behavior detiorates under joyride-2212m joyride-2230
  Compared with Update.1 (708) touchpad becomes very jumpy to unusable 
after a few minutes.
  Four finger salut helps, but only temporarily. No such problems under 
Update.1
# Software update needs 2 runs for certain activities (joyride-2230).
  After an initial run of software update (no activities installed) 
Calculate, Develop and Record need to be
  updated again. Note that Record 56 is not offered (only 55).

Just hope somebody picks them up from trac ;-)

Waiting for the next weekly.

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


Re: Network, neighborhood view, and the emulator.

2008-08-02 Thread Ton van Overbeek
On 8/2/08, Alejandro Fernandez [EMAIL PROTECTED] wrote:
 Hi All,
   is it possible to browse the neighborhood witn the OLPC emulator (on
  qemu) to discover other XOs and emulated XOs? (over a wi-fi network)
   My first attempt showed me an empty neighborhood view on the
  emulated XO altough the real XOs could see each other. The real XOs
  did not see the emulated XOs.
  Regards,
  Casco


Works if you can connect to a working jabber server. All real and
emulated XOs connected to the jabber server show up in the
neighborhood on both the emulated and real XOs.
Meshing does not work on emulated XOs.

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


Log Viewer-6 aborts on joyride-2230

2008-08-01 Thread Ton van Overbeek
Just entered a ticket (#7755) in trac about this subject.
See the trac entry for details.

Ton van Overbeek
PS if this is considered too much noise on the devel list, please tell 
me and I'll confine my bug reporting to trac.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


automated test results links on http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/buildxxx/{devel_ext3, devel_jffs2} broken.

2008-07-31 Thread Ton van Overbeek
Hi,

Could somebody please fix the automated test results links for the 
current joyride builds
on xs-dev.laptop.org ?
You now only  get a tinderbox catch-all page.
I had a hard time to find the joyride test results until this list 
pointed me to tinderbox.laptop.org.

I know you guys have lots of things on your plate(s), but it would be 
much appreciated if this
could be fixed.

Thanks in advance.

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


Re: Notes from today's Release Meeting(s)

2008-07-29 Thread Ton van Overbeek
On Tue, Jul 29, 2008 at 8:45 PM, Michael Stone [EMAIL PROTECTED] wrote:


 5. Separately, I wish we were receiving even more volunteer testing. Can you
 help out? Fame, glory, and the undying gratitude of hundreds of thousands of
 children await you!


I (just an interested G1G1 owner for my grandson with a
Solaris/Unix/Linux background) would love to help testing, but you are
not making it very easy. You have to follow devel@ to know what is
going on and that alone is almost a part-time job.
On the wiki there is a Friends in testing page
(http://wiki.laptop.org/go/Friends_in_testing) but it does not seem to
be used by the core developers/testers/release team. There has only
been one request for testing WiFi compatibility for 8.1.1, but nothing
for testing 8.2.
I believe you really need some dedicated person as liaison between
sugarlabs/1cc and outside testing and development volunteers.
Anyway I'll try to test whatever build you nominate tomorrow.

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


Re: Cannot boot joyride-2200 from USB stick

2008-07-28 Thread Ton van Overbeek
Deepak Saxena wrote:
 On Jul 26 2008, at 21:44, Ton van Overbeek was caught saying:
   
 Deepak Saxena wrote:
 
 Sigh++ Bought a 1G microSD with a usb adapter and it happens to be one
 that OpenFirmware cannot talk to so I can't boot off it. Just wanted
 to give you an update that this is still on my plate, just seems to be
 hitting every roadblock in the way of solving it. :O

 ~Deepak
  
   
 One more data point.
 After some initial peeking in the ramdisk, I copied the 2212 ext3 image 
 to a SD card,
 inserted it in the XO and tried to boot from it.
 That works !!!
 Of course, no activities since /home/olpc is also on the SD card and the 
 jffs does not get mounted.
 So it seems USB is the problem. There is one warning message early in 
 the boot at approximately
 2 seconds about using an obsolete function in the sd driver, to use 
 bus-methods instead.
 I am writing from memory, so this is not exact. Could this have 
 something to do with it, since the
 sd driver is needed for USB?
 

 USB needs sd_mod which is still built into the kernel. Issue ended up being
 that we need to load ohci-hcd, not ehci-scd. Working ramdisk @:

 http://dev.laptop.org/~dsaxena/olpcrd-2200-fixup.img

 ~Deepak
   
Thanks Deepak.
I am now at work away from my XO. Will try tonight and let you know if 
it works for me.

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


Re: New joyride build 2222

2008-07-28 Thread Ton van Overbeek
Build Announcer v2 wrote:
 http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build

 Changes in build  from build: 2216

 Size delta: 3.01M

 -sugar-evince-python 2.20.1.1-2.olpc3
 +sugar-evince-python 2.20.1.1-3.olpc3
 -olpcsound 5.08.92-2.olpc3
 +olpcsound 5.08.92-3.olpc3
 -pygame 1.7.1-17.fc9
 +pygame 1.8.0-1.olpc3.1
 +cracklib 2.8.12-2
 +cracklib-dicts 2.8.12-2
 -pam 1.0.1-5.olpc3
 +pam 1.0.1-4.fc9
 +poppler 0.6.2-5.olpc3
 -sugar-evince 2.20.1.1-2.olpc3
 +sugar-evince 2.20.1.1-3.olpc3
 -SDL_mixer 1.2.8-8.olpc3.1
 -libmikmod 3.2.0-3.beta2.fc9
 -python-numeric 24.2-11.fc9

 --- Changes for pygame 1.8.0-1.olpc3.1 from 1.7.1-17.fc9 ---
   + Upgrade version to drop numeric dependency

 --- Included cracklib version 2.8.12-2 ---

 --- Included cracklib-dicts version 2.8.12-2 ---

 --- Included poppler version 0.6.2-5.olpc3 ---

 --
   
Why is cracklib (and pam 1.0.1-4.fc9) back?
It was removed in joyride-2200.
Just curious ...

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


Re: Cannot boot joyride-2200 from USB stick

2008-07-28 Thread Ton van Overbeek
Ton van Overbeek wrote:
 Deepak Saxena wrote:
   
 USB needs sd_mod which is still built into the kernel. Issue ended up 
 being
 that we need to load ohci-hcd, not ehci-scd. Working ramdisk @:

 http://dev.laptop.org/~dsaxena/olpcrd-2200-fixup.img

 ~Deepak
   
 
 Thanks Deepak.
 I am now at work away from my XO. Will try tonight and let you know if 
 it works for me.

 Ton
   

As expected joyride-2200 does boot properly from USB with your fixed 
ramdisk.
However when I get to the initial screen to define the name of the computer
the mouse and keyboard are not working.
Looking at vt1 (Ctrl-Alt-F1) shows that the xserver does not load module 
evdev:
  (EE) module ABI minor version (1) is newer than server's version (0)
  (EE) Failed to load module evdev (module requirement mismatch, 0)
   .

Compared with booting the devel-ext3 joyride 2200 image from a SD card
(without the fixed ramdisk) - Same behavior.

I had the same behavior (dead keyboard and mouse) in qemu, believe this 
was fixed in a later joyride by an xserver update.

Checked with booting todays devel-ext3 joyride-2224 from SD card: this 
build works OK,
I can even download most of the activites via control panel software update.

Now waiting till your ramdisk fix makes it into joyride, so you can 
close trac #7620.
Thanks again for fixing this.

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


Re: [Techteam] NAND full issue

2008-07-26 Thread Ton van Overbeek
On Fri, Jul 25, 2008 at 9:27 PM, Deepak Saxena [EMAIL PROTECTED] wrote:
 On Jul 25 2008, at 20:00, Daniel Drake was caught saying:
 So unionfs is the formal bug fix for 8.2 going forward, or is it a
 Uruguay-specific thing?

 unionfs will involve a kernel change. Are we planning to shift them from
 2.6.22 to 2.6.25 where unionfs has been included, or are we going to
 backport unionfs to 2.6.22?

 Also, I am a little wary of unionfs, I have used it in the past and
 found it to be buggy and unreliable. It may be better now, but we should
 be cautious.

 I've done an analysis of the UFS code and it may be possible to
 have a standalone unionfs module w/o changes to core kernel. See [1]
 for my email sent to UFS maintainers and list. My concern is that
 by forking the code this way, we're introducing another variable.

 However...  Erik has been using AUFS[2] as UFS was crashing badly and
 not allowing sugar to boot. AUFS is completely standalone and requires
 no changes to the deployed kernel.  This is also non-upstream so we should
 run it through some form of stress test in our desired configuration.

 ~Deepak

 [1] http://www.fsl.cs.sunysb.edu/pipermail/unionfs/2008-July/005895.html
 [2] http://aufs.sourceforge.net/


This might be old news, but Knoppix (the original linux live CD)
changed from unionfs to aufs
some years ago with good results. I suppose you could ask Klaus
Knopper about his
experiences with the reliability of aufs. See www.knopper.net (in German) or
www.knoppix.com (in English).

HTH

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


Re: Cannot boot joyride-2200 from USB stick

2008-07-26 Thread Ton van Overbeek
Deepak Saxena wrote:
 Sigh++ Bought a 1G microSD with a usb adapter and it happens to be one
 that OpenFirmware cannot talk to so I can't boot off it. Just wanted
 to give you an update that this is still on my plate, just seems to be
 hitting every roadblock in the way of solving it. :O

 ~Deepak
   
One more data point.
After some initial peeking in the ramdisk, I copied the 2212 ext3 image 
to a SD card,
inserted it in the XO and tried to boot from it.
That works !!!
Of course, no activities since /home/olpc is also on the SD card and the 
jffs does not get mounted.
So it seems USB is the problem. There is one warning message early in 
the boot at approximately
2 seconds about using an obsolete function in the sd driver, to use 
bus-methods instead.
I am writing from memory, so this is not exact. Could this have 
something to do with it, since the
sd driver is needed for USB?

Regards

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


Re: joyride keyboard problems GL/glx

2008-07-25 Thread Ton van Overbeek
On Thu, Jul 24, 2008 at 9:44 PM, Daniel Drake [EMAIL PROTECTED] wrote:
 Just a quick FYI: the keyboard bugs in recent joyrides (various buttons
 not working or misbehaving) is fixed by the X server update in joyride 2207.

 The problem was that a Fedora 9 update included an updated evdev driver,
 which had been compiled against a newer X server (we have forked
 xserver, so we don't automatically get updates there). I have resynced
 our xserver with Fedora's so we support the new ABI which evdev uses.

 Resyncing the X server was not quite as simple as you might expect.
 Previously, X was compiled along with the mesa sources to offer
 software-based GL. The software GL is very slow but word on the street
 is that some activities use it anyway.

 In the newer X server, the software GL implementation (dri_swrast) has
 been moved to mesa, which we don't include in our builds. The newer X
 server also includes a bug which caused it to crash when no swrast was
 present, I wrote a patch included in our build which I will be
 committing to freedesktop git upstream shortly...

 Anyway, at the moment, we have no swrast in our build, which means no GL
 support at all. Does anyone care?
 I am going to work with Fedora to get the swrast module separated from
 the overweight mesa-dri-drivers - this could return in future if we need it.

 Sorry for any inconvenience, this was the most straightforward way of
 getting a working X and a working keyboard again.

 Daniel

Just FYI. Tried to boot both joyride-2207 and joyride-2210 (the
devel-ext3 variant) on
qemu (on win XP/SP2) but both fail with the same error:

(EE) AIGLX error: dlopen of /usr/lib/sri/swrast_dri.so failed
(/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such
file or directory)

Fatal server error:
GLX: could not load software rendered

giving up.
-
Is this something specific for emulation ???

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


Re: Cannot boot joyride-2200 from USB stick

2008-07-25 Thread Ton van Overbeek
On Fri, Jul 25, 2008 at 1:40 AM, Deepak Saxena [EMAIL PROTECTED] wrote:
 On Jul 24 2008, at 11:46, Deepak Saxena was caught saying:
  Tried with your version of 14:57 (2720066 bytes). Same result. Same
  messages, still failure to mount /dev/sda1.
  Apologies for the disappointing result. Do we need more/other scsi
  modules? Can we get more debug info from mount?

 We shouldn't need anything else from my experimenting. I need to run for a 
 few
 hours but will look at this when I return.

 :( Sigh. :( I just realized I don't have a 1G USB stick at the moment. My 1G
 XD card does not seem to work properly with my card reader, so writes to
 it do not properly complete and I can't copy the boot image over. This bug
 is high on my priority list, so I'll be running to the store and getting
 one tommorrow.

 ~Deepak


One more datapoint.
Tried to boot joyride-2207 on my XO-1 from USB using the devel-ext3 image.
Good news: no more missing usb modules.
Bad news: still the same mount problem.
So I can confirm olpcrd is fixed in the later joyrides.
Waiting for more news 

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


Re: Cannot boot joyride-2200 from USB stick

2008-07-24 Thread Ton van Overbeek
Deepak Saxena wrote:
 On Jul 23 2008, at 22:30, Ton van Overbeek was caught saying:
   
 Booting starts, but mounting /dev/sda1 on /sysroot fails because the 
 usbcore.ko module
 needed by usb-storage.ko cannot be found.
 

 Our initramfs is missing usbcore and hcd-ehci. I've uploaded a manually 
 fixed version @:

 http:/dev.laptop.org/~dsaxena/olpcrd.img

 Just copy this over /versions/boot/current/boot olpcrd.img and it should work
 (note that I haven't actually tested this).

 I'm not sure how to permanently fix this as I'm not sure where in the build
 the modules get pulled in...

 ~Deepak
   
I did *not* copy it to /versions/boot/current/boot, since it never 
completed the
boot from the USB stick.

I copied your modified ramdisk to /boot on the USB disk, renamed it to
olpcrd-2.6.25-deepak-fix.img and changed the olpcrd.img sym link to
point to it.

The USB boot still does not succed, but we are a bit further.
Now it is complaining about a missing libusual.ko:
WARNING: Could not open 
'/lib/modules/2.6.25-20080722.2.olpc.d86980aeb8d0adb/kernel/drivers/usb/storage/libusual.ko':
 
No such file or directory
I get fewer warnings about missing symbols in usb-storage (now only four):
storage_usb_ids, usb_usual_clear_presetn, usb_usual_check_type and 
usb_usual_set_present.
But the end result is still the same: cannot mount /dev/sda1 on /sysroot.

Could you make (yet) an other fixed ram disk which I can try?

Other question, should this be entered in trac, and is it blocking for 
8.2.0 ?

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


Re: Cannot boot joyride-2200 from USB stick

2008-07-24 Thread Ton van Overbeek
Deepak Saxena wrote:
 On Jul 24 2008, at 08:07, Deepak Saxena was caught saying:
   
 On Jul 24 2008, at 09:37, Ton van Overbeek was caught saying:
 
 I did *not* copy it to /versions/boot/current/boot, since it never 
 completed the
 boot from the USB stick.

 I copied your modified ramdisk to /boot on the USB disk, renamed it to
 olpcrd-2.6.25-deepak-fix.img and changed the olpcrd.img sym link to
 point to it.

 The USB boot still does not succed, but we are a bit further.
 Now it is complaining about a missing libusual.ko:
 WARNING: Could not open 
 '/lib/modules/2.6.25-20080722.2.olpc.d86980aeb8d0adb/kernel/drivers/usb/storage/libusual.ko':
  
 No such file or directory
 I get fewer warnings about missing symbols in usb-storage (now only four):
 storage_usb_ids, usb_usual_clear_presetn, usb_usual_check_type and 
 usb_usual_set_present.
 But the end result is still the same: cannot mount /dev/sda1 on /sysroot.

 Could you make (yet) an other fixed ram disk which I can try?
   
 Yep.
 

 OK, I've uploaded a new olpcrd with libusual to the same URL.

   
 Other question, should this be entered in trac, and is it blocking for 
 8.2.0 ?
   
 I've opened #7620 to track this. Definetely a blocker.
 

 Scott has added the missing modules and we should see it fixed in the next 
 joyride.

 ~Deepak
   

Tried your updated ramdisk, still no boot.
No more missing modules, but the mount still fails in the same way.
USB Mass Storage support is now properly loaded. Here is an excerpt from 
the boot screen:
-
[5.540762] usbcore: registered new ineterface driver usbfs
[5.553912] usbcore: registered new interface driver hub
[5.564065] usbcore: registered new device driver usb
[5.585768] usbcore: registered new interface driver libusual
[5.601305] Initializing USB Mass Storage driver...
[5.613938] usbcore: registered new interface driver usb-storage
[5.619927] USB Mass Storage support registered.
[5.630239] modprobe used greatest stack depth: 2888 bytes left
mount: mounting /dev/sda1 on /sysroot failed: No such device or address
[   10.904898] mount used greatest stack depth: 2772 bytes left
Traceback (most recent call last:)
    python traceback, same as in my first mail 
[   11.239467] init used greatest stack depth: 2708 bytes left
   machine hangs, since init finished
---
Note that it takes about 5 seconds for mount to fail.
Something wrong with /dev or /sysroot in the ram disk 

I'll try the next joyride (2205 ?) too.

My firmware is now Q2E11 (got updated during one of these tests when my 
xo-1 was on net power)

Ton van Overbeek



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


Re: Cannot boot joyride-2200 from USB stick

2008-07-24 Thread Ton van Overbeek
Deepak Saxena wrote:
 On Jul 24 2008, at 14:06, Ton van Overbeek was caught saying:
   
 Tried your updated ramdisk, still no boot.
 No more missing modules, but the mount still fails in the same way.
 USB Mass Storage support is now properly loaded. Here is an excerpt from 
 the boot screen:
 -
 [5.540762] usbcore: registered new ineterface driver usbfs
 [5.553912] usbcore: registered new interface driver hub
 [5.564065] usbcore: registered new device driver usb
 [5.585768] usbcore: registered new interface driver libusual
 [5.601305] Initializing USB Mass Storage driver...
 [5.613938] usbcore: registered new interface driver usb-storage
 [5.619927] USB Mass Storage support registered.
 [5.630239] modprobe used greatest stack depth: 2888 bytes left
 mount: mounting /dev/sda1 on /sysroot failed: No such device or address
 [   10.904898] mount used greatest stack depth: 2772 bytes left
 Traceback (most recent call last:)
    python traceback, same as in my first mail 
 [   11.239467] init used greatest stack depth: 2708 bytes left
   machine hangs, since init finished
 ---
 Note that it takes about 5 seconds for mount to fail.
 Something wrong with /dev or /sysroot in the ram disk 
 

 Can you try with the updated olpcrd at the same URL? We're also missing 
 sg.ko. I've added it to the ramdisk along with the changes to load it.
 If this works for you, we'll push into another build.

 The 5 seconds is b/c we sleep to give disks time to spin up.

 Thanks,
 ~Deepak
   

Tried with your version of 14:57 (2720066 bytes). Same result. Same 
messages, still failure to mount /dev/sda1.
Apologies for the disappointing result. Do we need more/other scsi 
modules? Can we get more debug info from mount?

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


Cannot boot joyride-2200 from USB stick

2008-07-23 Thread Ton van Overbeek
Hello,

My xo-1 is currently on build 708.
For testing joyride-2200 I did not want to reflash yet, but boot from a 
USB stick instead.
So I downloaded the image from 
http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/build2200/devel_ext3/xo-1-olpc-stream-joyride-devel_ext3.img.bz2,
 

unzipped it and copied it to a 1 GB Sandisk USB stick.
Booting with extended messages (X game key pressed) shows that OFW finds 
my developer key
in the main flash, finds the OS on the USB, does not update the firmware 
(no external power)
and then loads the ramdisk.

Booting starts, but mounting /dev/sda1 on /sysroot fails because the 
usbcore.ko module
needed by usb-storage.ko cannot be found.

Some of the messages are (copying manually from the xo-1 screen and 
skipping the stack depth messages):
--
FATAL: Error inserting usb-storage 
(/lib/modules/2.6.25-20080722.2.olpc.d86980aeb8d0adb/kernel/drivers/usb/storage/usb-storage.ko):
 
Unknown symbol in module, or unknown parameter (see dmesg)
mount: mounting /dev/sda1 on /sysroot failed: No such device or address
Traceback (most recent call last):
  File /init, line 131, in module
lease_writer, run_init)
  File /antitheft.py, line 31, in run
return run_init_callback()
  File */init, line 103, in run_init
root_mounted(xo, boothpath).__enter__() # hack to re-mount root
  File /initutil.py, line 120, in __enter__
check_call({'/bin/mount','-n','-o',access]+extra+[dev,'/sysroot'])
  File /usr/lib/python2.5/subprocess.py, line 461, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/bin/mount, '-n', '-o', 'ro', 
'/dev/sda1', '/sysroot']' returned non-zero exit status 255


Is this (booting from USB) supposed to work? Has it ever worked?
Or am I missing something?
It seems that usbcore.ko has to be available early in the boot, but 
cannot be found.

Any hints on how to proceed, or instructions on providing more data are 
appreciated.

Regards and hoping to be able to test joyride-2200 soon.

Ton van Overbeek


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


Re: Java and Watch-Listen nonfree

2008-07-22 Thread Ton van Overbeek
David Leeming wrote:
 Hi,

 I am looking for the right rpms to install for the Java plugin

 java-1.6.0-openjdk-plugin

 For a G1G1 XO-1 build 703, previously advertised method did not work;

 Also trying to locate watch-listen-nonfree-14.xo The wiki says download it
 from Helix site, it's not there, the Hleix Community mailing list did not
 reply

 David Leeming
 Honiara, Solomon Islands
   
There are some replies now:
http://lists.helixcommunity.org/pipermail/olpc-player-dev/2008-July/000553.html

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


Joyride on qemu (was:Write needs your help)

2008-07-17 Thread Ton van Overbeek
Edward Cherlin wrote:
 I'll install joyride in qemu when 2.6.4 is ready and give it a go.
 Remind me when the time comes
If you are not on a machine with 3dnow support you cannot run any fedora 
core 9 based
joyride build on qemu (unless you rebuild qemu from the trunk of the 
subversion archive).

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


Re: Virtualising and 3dnow woes on a Mac

2008-07-15 Thread Ton van Overbeek
Torello Querci wrote:
 Hi

 Alle lunedì 14 luglio 2008, pyramind ha scritto:
   
 Hello,

 I made a search in the list but couldn't find a solution. I'm running Os X
 Leopard and want to use qemu to emulate the os and start developing.
 However I'm getting problems.

 I'm following the directions here:
 http://wiki.laptop.org/go/OS_images#Latest_Stable_Build

 and got my image from here:
 http://xs-dev.laptop.org/~cscott/xo-1/streams/joyride/latest/devel_ext3/

 When I try to boot the image, the kernel complains about 3dnow not being
 present in the cpu(which is not emulated with Q in macs), and I don't know
 what to do now from here.
 
 Me too.
 Fortunally I have 2 machine: one laptop with intel and a desktop with AMD so 
 I 
 use the desktop for my test.
 I already ask about this problem but seems that at the moment only one kernel 
 is build with 3dnow extension enabled. I hope for the next build.

   
 Any suggestions?
 
 Personally I install a FC9 on my virtualizzazione system and build all the 
 sugar environment to make my test. You can use this way but it is right only 
 if you want develop for XO (I suppose).
   
I am running into the same problem.
This is caused by a change in the linux kernel boot code sine 2.6.24 (?, 
not sure of exact version, but somewhere between
2.6.22 used in FC7 and 2.6.25 used in FC9). In 2.6.25 the boot code 
checks for CPU features and bails out
if it does not find them.
In the SVN version of qemu there is already a patch to provide 3dnow 
instructions when you select cpu type
athlon. I am planning on backporting this to qemu 0.9.1 and try it out.
The current svn version of qemu also requires a rebuild of kqemu due to 
an API change introduced at the end of May.
Hence my idea of backporting the patch to 0.9.1 to avoid to rebuild 
kqemu (I am on Win XP/SP2).
I'll keep the list posted on my qemu attempts ...

Regards,

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


Cannot test 8.2 images with VMware Player on an Intel laptop (Kernel requires 3dnow)

2008-07-15 Thread Ton van Overbeek
Hello,

I am trying to run the 8.2 builds under VMWare Player on my Windows XP 
Intel laptop.
The 8.2 image I used is from  
http://pilgrim.laptop.org/~pilgrim/olpc/streams/8.2/build3/devel_ext3:
xo-1-olpc-stream-8.2-devel_ext3.img.bz2
Converted with qemu-img to a vmdk as per the instructions on 
http://wiki.laptop.org/go/VMware/Convert.

At boot I get the message:
This kernel requires the following features not present on the CPU:
3dnow
Unable to boot - please use a kernel appropriate for your CPU.

The same procedure worked without any problems for update.1 build 708 
(aka 8.1.1).

I suppose this is caused by the switch from fc7 to fc9.
Any chance of generating devel images with a kernel which does boot on 
Intel (non AMD) CPUs?
If not, any hints on how to replace the kernel image in an ext3 devel image
with a custom built one?

I use this setup also to test/try collaboration between my real G1G1 XO and
one or more emulated XOs on my laptop, all on the same local network.

Many thanks in advance for any hints.

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