Re: On XO-1.5 with 11.3.0/11.3.1 -- hang during shutdown?

2012-06-16 Thread James Cameron
G'day Anish,

I don't think you should conflate the shutdown issue with slower than
claimed microSD cards.  The shutdown issue may be a symptom, combining
Fedora's assumptions about how quickly the kernel will finish writing
data, with the microSD cards being much slower than the hard disks the
halt script was written for.

Your fix of adding delay was based on the assumption that more time
was needed for processes to be killed.  I disagree.  I think the delay
was reducing the probability of dirty blocks in the cache, and you
would have observed an improvement because of that alone.

Your fix of adding a sync before umount might work.  I'm interested to
know how successful that is.

Another thing you could do is reduce the retry timers and counters in
__umount_loop so that it abandons the wait sooner, resulting in the
laptop powering down with the filesystem still mounted.  A better
scenario than staying powered.

__umount_loop tries an umount.  In your photograph [12] that first
umount failed with umount: /home: device is busy.  __umount_loop
then counts the number of filesystems yet to be unmounted, allowing
two seconds to elapse before it sends another signal to each process
that has references to the filesystem.  It then sleeps for three
seconds before retrying up to 3 times.  __umount_loop is then
abandoned.

That means the hang should not exceed 15 seconds.  Is this what you
find?  If not, then this casts doubt on your solution.

The umount2: Device or resource busy is interesting.  I don't see
this if I try to umount a device that is busy on Fedora 14.  It may
suggest that the umount is failing for a reason other than filesystems
with remaining references or dirty blocks.

I really doubt that fixing the microSD card write performance will
properly fix this hang problem.  Fixing the microSD card write
performance, if it is below a specification, should be done anyway.
It may well reduce the frequency of the hang.  But as far as I can
see, it isn't the only contributor to the hang.

You seem to have settled on a myth.  You seem to believe, based on
selected evidence, that the problem is entirely to do with microSD
cards.  You continue to seek such evidence, but I think you should
seek other evidence.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Wiki page for Dual-Boot setup of F17 and F14.

2012-06-16 Thread Ajay Garg
Hi all.

I have created a wiki-page, that lists down the steps to have a machine set
up with dual-boot for F17 and F14.
http://wiki.sugarlabs.org/go/Development_Team/Jhbuild#Dual-Booting_F17_and_F14


Hope that this would save hours of a newbie like me :)


Thanks and Regards,
Ajay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: On XO-1.5 with 11.3.0/11.3.1 -- hang during shutdown?

2012-06-16 Thread John Gilmore
I doubt that this issue is your problem.  But in response to one remark:

  On the theory that these writes may
 be stalling due to the block number, (and we haven't seen any evidence
 yet of this), you can test for that by repeating the writes...

There *is* evidence that accesses to some block numbers in MLC flash
chips are much faster or slower than others (like 5x slower).  They
seem to be designed with fast blocks and slow blocks, though this
is undocumented.  There is no interface for telling the software
which is which (except by actual measurement of the responsiveness of
the chip -- and in microSD cards, accesses are mediated by a Flash
Translation Layer of unknown characteristics).  See:

  Characterizing Flash Memory: Anomalies, Observations, and Applications
  Laura Grupp, Adrian Caulfield, Joel Coburn, Steven Swanson, Eitan Yaakobi and 
Paul Siegel
  UCSD Tech Report CS2009-0946
  August 19, 2009

Unfortunately the amazing people at UCSD fail to put up their archival
tech reports in readily accessible PDFs.  (It seems to be some sort of
half-assed DRM system, since they yammer about copyrights on the same
page.)  They do have a mangled (OCR'd!) abstract here:

  http://csetechrep.ucsd.edu/Dienst/UI/2.0/Describe/ncstrl.ucsd_cse/CS2009-0946

and a mangled 18MB PostScript version available here:

  
http://csetechrep.ucsd.edu/Dienst/Repository/2.0/Body/ncstrl.ucsd_cse/CS2009-0946/postscript

The Wayback Machine failed to capture it while it was there.  But I
got the PDF from them when they had published it in 2009.  I have put
up the 1.5MB PDF temporarily here for research purposes:

  http://www.toad.com/TEMP-Grupp-2009-TR-FTest.pdf

with the slides here:

  http://www.toad.com/TEMP-Grupp-2009-FMS-FTest.pdf
  
John

  

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


Testing Summary, Auckland - 9 June 2012

2012-06-16 Thread Tom Parker

Testing Summary, Auckland - 9 June 2012
Who: John, Tom

Shutdown testing of au225 on XO-1.5. We shut down 3 XO-1.5s, one B2, one 
SKU99 and one SKU104. We shut them down probably 6 or 7 times each after 
a varying amount of idle time or very light use and on every occasion 
they shut down properly. We did this shutdown using the power button 
every time.


12.1.0 os13 on XO-1.75

Browse cannot create document in google docs, but can edit documents 
that have already been created. The following log snippet might be 
related to the inability to create documents:


** Message: console message:  @0: Unable to post message to 
https://0.docs.google.com. Recipient has origin https://docs.google.com.


When it works, editing google docs documents in Browse seems to be 
better than firefox 12! Firefox 12 would have regular pauses, while 
browse seems to have no such problems. Confirmed by editing the same 
document in firefox 12 on the same laptop right after editing with 
browse. The experience in browse is noticeably better. In both cases one 
one browser was editing the document (in the past we saw the old fedora 
14 browse struggle to keep up with updates from another user).


However, browse doesn’t always work. It triggers some sort of error and 
google’s error handler suggests reloading the page. Firefox doesn’t have 
this problem.


Measure’s trigger sort of works! The trigger point seems to be about 3 
times higher than where you place the trigger, but rising and falling 
edges work!


Successfully saved data from measure and loaded it into Chart. Saved 
chart and inserted into a write document. Could Chart save it’s charts 
as an svg rather than a png? Can write import svg images?


Measure’s “capture sample now” places the waveform in a canvas that is 
too big, leaving a black border on the bottom and right. This makes it 
look like the trace is truncated if the gain is large enough to make it 
go off the screen.


Confirmed both wikipedia activities work well, with fast startup and no 
crashes.


Our woe with yum continues, the situation described in our last report 
continues. Is it possible to have the content-type and transfer encoding 
fixed on the server?


On nolan and whio shutting down with the shutdown menu option from the 
center of the activity ring did nothing. Using the power button worked 
as normal. On Kiwi the shutdown menu option worked fine.



On kiwi, after starting again after the shutdown in the previous 
paragraph, no activities would start. The pulsing icon is displayed for 
a while and the failed to start stop button appears. Perhaps this is the 
getty bug?


Whio crashed badly with everything locked up except the neighbourhood 
and the frame. I wasn’t able to investigate as the getty fix had not 
being applied and so I couldn’t get to a terminal.

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


Testing Summary, Auckland - 16 June 2012

2012-06-16 Thread Tom Parker
Testing Summary, Auckland - 16 June 2012
Who: Fabiana, John, Tabitha, Tom

Tested 12.1.0 build 14 on XO-1.5s and XO-1.75s.

Ivy (an XO-1.5):
Speak works. Why does Alice think my name is Seeker? Why can’t Alice find my 
laptop name?
Wikipedia EN. Loads, tried a few pages, worked. 
Ruler works
Maze works
Implode works
Welcome works. Quite nice. Could attribution be displayed?
Memorize all preloaded games work but when pressed stop get “keep error: all 
changes will be lost”.
Tamtam mini works
Physics works, grab tool works. 
Moon works
Record works, took and viewed high and low quality picture, took and watched 
high and low quality video, took audio recordings and played back but not sure 
about quality as the option is greyed out but can be changed by altering it in 
picture or video mode. Should you be able to see low and high in the audio 
view? Should the low and high options be enabled in audio?
Clock works
Stopwatch works
Chart works
Help works
Image viewer works
Fototoon works
Typing turtle works
Measure starts and shows input from mic on 2 channels
Paint works
Finance works
Scratch - tried some example games, worked. Would be good if there was a stop 
button like Sugar has so you can stop playing Scratch using the Sugar known 
method. 
Labyrinth - works
Chat on adhoc network 1 works (with Kiwi)
Jukebox crashed after playing one audio file from the journal when trying to 
add second file. Repeated and reoccurs. 
Tamtam jam works, can add instruments and loops 
Tamtam edit plays but don’t know how to use it yet
Pippy - tried playing a few examples and they all worked
Infoslicer - works, can access from Browse in the books area
HelloWorld works
Portfolio works
Get Books works - got an epub and used Read to look at it. 
Read works to view books downloaded using Get Books. Can use game keys either 
side of screen to scroll up and down / page up and down, as well as use the 
keys to resize the text.
Turtleart basic test worked
Calculate basic test worked
eToys tutorial castle series halo worked, there is no stop button but you have 
to find the X to quit which is confusing as other activities use X as the 
delete / erase option. 
Words starts and if you type you do get translations, don’t know accuracy 
(especially given that you see a translation without giving command to say you 
have finished typing the word you want translated so lots had ci as 
translation). 


Rosella (an XO-1.5):
As reported before, everything is very small on rosella:
https://lh4.googleusercontent.com/-u9RLaA1IhBs/T9vGEwlGJjI/C0A/9VeT6WMJne0/s812/IMG_20120616_113209.jpg
Froze while idle on the screen in the above screenshot. It was idle for about 
10 minutes. Power light is on solid and does not go out briefly when you short 
press the power button


Whio (an XO-1.75):
Wikipedia EN much faster to open and do things today. 
Record takes video but when playing back from Journal it gives error message 
(previously reported). 
Write works. 
Get books works. 
Jukebox gives error “resource busy or not available - gstalsasink.c(689)” … 
when you try to add audio files from the journal
Tamtam edit works
Calculate works. x to the power of y is a little bit confusing. The button in 
the menu inserts pow() with no prompt about where to put the x and y, you 
actually want to do pow(x, y). The x^y syntax also works, which is arguably a 
more common way to express this in texts without superscript.


Kiwi (an XO-1.75):
Memorise seems ok.
Physics: still has that odd behaviour at the top of the canvas that was 
reported i think two weeks ago. Rosella (an XO-1.5 does not seem to have the 
same issue in physics as kiwi.
Record: Low and hi quality pix ok. Movie high Q begins to freeze within 15 secs 
of recording. Measure: The two channels are in the same colour - confusing.
Chart: Tried opening a measure file that I captured but it tells me “the 
selected object must be a measure file’ Something odd, this was working last 
time.
Maze seems ok . 90 deg rotation leaves some of the maze off screen. When 180 
rotation down arrow moves image upwards - anti-intuitive.
Paint seems ok.
Chat with ivy: seems ok.
Clock seems ok
Stopwatch seems ok
My Brain - does not seem ok, it feels like it is freezing.
Turtle art seems ok


Moa (an XO-1.75):
Browse almost works for google docs as reported last time. After some initial 
errors, I managed to get in to this week’s document and performed all my note 
taking without experiencing any errors or slowdowns or pauses.

The vmeta accelerated video decoding works after installing the 
libvmeta-marvell and gstreamer-plugins-marvell rpms and setting up the udev 
rules (see #11933).

It appears there there is no accelerated codec for webm, the video does play 
but very very very slowly (like 1 frame every few seconds).

If you sign up to youtube’s html5 trial, video almost works in browse. Sound 
works, but video displays the first frame and does not update. It’s not clear 
if this is because youtube is favouring 

Re: Testing Summary, Auckland - 16 June 2012

2012-06-16 Thread Walter Bender
On Sat, Jun 16, 2012 at 7:56 AM, Tom Parker t...@carrott.org wrote:
 Testing Summary, Auckland - 16 June 2012
 Who: Fabiana, John, Tabitha, Tom

 Tested 12.1.0 build 14 on XO-1.5s and XO-1.75s.

 Ivy (an XO-1.5):
 Speak works. Why does Alice think my name is Seeker? Why can’t Alice find my 
 laptop name?
 Wikipedia EN. Loads, tried a few pages, worked.
 Ruler works
 Maze works
 Implode works
 Welcome works. Quite nice. Could attribution be displayed?
 Memorize all preloaded games work but when pressed stop get “keep error: all 
 changes will be lost”.
 Tamtam mini works
 Physics works, grab tool works.
 Moon works
 Record works, took and viewed high and low quality picture, took and watched 
 high and low quality video, took audio recordings and played back but not 
 sure about quality as the option is greyed out but can be changed by altering 
 it in picture or video mode. Should you be able to see low and high in the 
 audio view? Should the low and high options be enabled in audio?
 Clock works
 Stopwatch works
 Chart works
 Help works
 Image viewer works
 Fototoon works
 Typing turtle works
 Measure starts and shows input from mic on 2 channels

:)

 Paint works
 Finance works
 Scratch - tried some example games, worked. Would be good if there was a stop 
 button like Sugar has so you can stop playing Scratch using the Sugar known 
 method.
 Labyrinth - works
 Chat on adhoc network 1 works (with Kiwi)
 Jukebox crashed after playing one audio file from the journal when trying to 
 add second file. Repeated and reoccurs.
 Tamtam jam works, can add instruments and loops
 Tamtam edit plays but don’t know how to use it yet
 Pippy - tried playing a few examples and they all worked
 Infoslicer - works, can access from Browse in the books area
 HelloWorld works
 Portfolio works
 Get Books works - got an epub and used Read to look at it.
 Read works to view books downloaded using Get Books. Can use game keys either 
 side of screen to scroll up and down / page up and down, as well as use the 
 keys to resize the text.
 Turtleart basic test worked
 Calculate basic test worked
 eToys tutorial castle series halo worked, there is no stop button but you 
 have to find the X to quit which is confusing as other activities use X as 
 the delete / erase option.
 Words starts and if you type you do get translations, don’t know accuracy 
 (especially given that you see a translation without giving command to say 
 you have finished typing the word you want translated so lots had ci as 
 translation).


 Rosella (an XO-1.5):
 As reported before, everything is very small on rosella:
 https://lh4.googleusercontent.com/-u9RLaA1IhBs/T9vGEwlGJjI/C0A/9VeT6WMJne0/s812/IMG_20120616_113209.jpg
 Froze while idle on the screen in the above screenshot. It was idle for about 
 10 minutes. Power light is on solid and does not go out briefly when you 
 short press the power button


 Whio (an XO-1.75):
 Wikipedia EN much faster to open and do things today.
 Record takes video but when playing back from Journal it gives error message 
 (previously reported).
 Write works.
 Get books works.
 Jukebox gives error “resource busy or not available - gstalsasink.c(689)” … 
 when you try to add audio files from the journal
 Tamtam edit works
 Calculate works. x to the power of y is a little bit confusing. The button in 
 the menu inserts pow() with no prompt about where to put the x and y, you 
 actually want to do pow(x, y). The x^y syntax also works, which is arguably a 
 more common way to express this in texts without superscript.


 Kiwi (an XO-1.75):
 Memorise seems ok.
 Physics: still has that odd behaviour at the top of the canvas that was 
 reported i think two weeks ago. Rosella (an XO-1.5 does not seem to have the 
 same issue in physics as kiwi.
 Record: Low and hi quality pix ok. Movie high Q begins to freeze within 15 
 secs of recording. Measure: The two channels are in the same colour - 
 confusing.
 Chart: Tried opening a measure file that I captured but it tells me “the 
 selected object must be a measure file’ Something odd, this was working last 
 time.

Will investigate. Measure is on my To Do list this weekend.

 Maze seems ok . 90 deg rotation leaves some of the maze off screen. When 180 
 rotation down arrow moves image upwards - anti-intuitive.
 Paint seems ok.
 Chat with ivy: seems ok.
 Clock seems ok
 Stopwatch seems ok
 My Brain - does not seem ok, it feels like it is freezing.
 Turtle art seems ok


 Moa (an XO-1.75):
 Browse almost works for google docs as reported last time. After some initial 
 errors, I managed to get in to this week’s document and performed all my note 
 taking without experiencing any errors or slowdowns or pauses.

 The vmeta accelerated video decoding works after installing the 
 libvmeta-marvell and gstreamer-plugins-marvell rpms and setting up the udev 
 rules (see #11933).

 It appears there there is no accelerated codec for webm, the video does play 
 but very very very slowly 

Re: [Testing] Testing Summary, Auckland - 16 June 2012

2012-06-16 Thread Gary Martin
Hi Tom,

On 16 Jun 2012, at 12:56, Tom Parker wrote:

 Kiwi (an XO-1.75):
 Memorise seems ok.
 Physics: still has that odd behaviour at the top of the canvas that was 
 reported i think two weeks ago. Rosella (an XO-1.5 does not seem to have the 
 same issue in physics as kiwi.

Thanks for noting this again, I've had no luck reproducing this here on an XO 
1.75, any chance of a screen shot, or a little more description to help me try 
and track it down?

Regards,
--Gary
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO battery/performance [Devel Digest, Vol 76, Issue 21]

2012-06-16 Thread Richard A. Smith

On 06/12/2012 12:26 PM, Yioryos Asprobounitis wrote:


OK Attached are the screenlogs from the serial output

screenlog.charging is yesterdays log whith half full to fully charged battery


2339275:LDACR Update request ACR:-19791 LDACR:-19792
2339471:GC_LDACR=-19792 SOC = 58
2470692:LDACR Update request ACR:-19722 LDACR:-19792
2470857:GC_LDACR=-19792 SOC = 95
2477403:LDACR Update request ACR:-19719 LDACR:-19720
2477565:GC_LDACR=-19720 SOC = 96
2665019:  LCS:8 CFC:4 CHG=1 Vb:7395 Vavg:0x5eb3
Bat Full

Your battery jumped from 58% to Full while only receiving around 30mAh 
of charge.  So it has issues.


For an older battery I would suspect charge balance symptom but your 
serial number starts with 008 which is beyond the lot of problem 
batteries and you have indicated you already ran bat-recover.


So either your battery was not really at 58% or its suffered a lot of 
capacity loss.


The next step would be to do a full discharge/recharge/discharge cycle 
while running olpc-pwr-log (stop powerd first) to measure the existing 
capacity.


A quick summary of the procedure:

- Boot laptop; stop powerd; run olpc-pwr-log; disconnect external power 
let laptop power off shut off.
- Remove battery;connect external power; boot; stop powerd; run 
olpc-pwr-log; insert battery; let charge to full;
- Ctrl-C to stop olpc-pwr-log; re-run olpc-pwr-log; disconnect external 
power; let laptop power off;


You can try to figure out the log files from the code I previously 
pointed you at or you can send them to me.


--
Richard A. Smith  rich...@laptop.org
One Laptop per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[no subject]

2012-06-16 Thread Caryl Bigenho

 http://bodyworks.ideasforhumans.com/wp-content/themes/feast/yahoolinksus.html  
  ___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Testing] Testing Summary, Auckland - 16 June 2012

2012-06-16 Thread Gonzalo Odiard
I think this is http://dev.laptop.org/ticket/11922

Gonzalo

On Sat, Jun 16, 2012 at 2:05 PM, Gary Martin garycmar...@googlemail.comwrote:

 Hi Tom,

 On 16 Jun 2012, at 12:56, Tom Parker wrote:

  Kiwi (an XO-1.75):
  Memorise seems ok.
  Physics: still has that odd behaviour at the top of the canvas that was
 reported i think two weeks ago. Rosella (an XO-1.5 does not seem to have
 the same issue in physics as kiwi.

 Thanks for noting this again, I've had no luck reproducing this here on an
 XO 1.75, any chance of a screen shot, or a little more description to help
 me try and track it down?

 Regards,
 --Gary
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

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


Re: [Testing] Testing Summary, Auckland - 16 June 2012

2012-06-16 Thread Gonzalo Odiard

 Memorize all preloaded games work but when pressed stop get “keep error:
 all changes will be lost”.


Any change to get the log file?

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