User:Skierpage

From OLPC
Revision as of 23:02, 6 September 2008 by Sj (talk | contribs) (Experiments and such)
Jump to: navigation, search

I'm a fan but just a casual G1G1 user and occasionally run images on Windows.

You can e-mail me as "info" at my web site, skierpage.com.

Leave me a note...

(From joe)

Hi,

Thanks for the info. The format that Charlie, et al are creating would supersede the format shown on the "Testing" page. This is still a "work in progress".

Regards,

Joe

From Tomhannen on emulation

Hi - this should help.

--Tomhannen 09:22, 7 December 2006 (EST)

Experiments and such

The gargantuan over-complex XO Korea structure from User:Php5 means searching in English finds Korean pages, such as:


How many pages in Category:XO Korea?

{{#ask:

 |format=count

}}

I sort of love php5's overcomplex microcosm, though :) and these days it's down to 10% of the whole... it reminds me of the bulk import of chinese characters and their meanings into an en-language dictionary, which overwhelmed /that/ random-page feature for a couple of years. --Sj talk

Damn transclusion woes

A bunch of pages were transcluding Friends in testing/current image number, like Template:Joyride-jffs2-link. Francesca (?) put a semantic annotation in there, which added it to hundreds of pages.

I hid that in a noinclude, but for some reason that messed up pages.

Let's try it here with a local copy in User:Skierpage/current image number, transcluded into this link:

joyride-2263

Notes on Update from 8.2-757 to 8.2-759

sudo olpc-update 8.2-759 gave me the same Contents manifest failure at line 383 Last file examined: localtime error (<trac>8190</trac>. and the same (?) out of memory error <trac>5954</trac>).

Supposedly these are fixed in build 8.2-758, so I shouldn't experience them any more.

Home View > XO Man > Restart left me at

waiting for X server to shut down ..
xinit: unexpected signal 15

I think this is known. By clicking power off and back on (i.e. not forcing a power off) it advanced to

PM: Syncing filesystems ... done.
 Freezing user space processes ...
...
 Restarting tasks ... done.

So held down power button and back on.

 New firmware version Q2E15
 writing
 erasing
 ...
 Restarting

and then a reboot with the new firmware. Linux boot had same-ish errors as before: a couple of

 Failures reading codec ...

the same

 alsactl failed to obtain info for control #32 ...
 alsactl failed to obtain info for control #40..

Notes on Update from joyride-2301 to 8.2-757

I got the same Contents manifest failure at line 383 Last file examined: localtime error, so filed <trac>8190</trac>. I got the same (?) out of memory error <trac>5954</trac>

Got a few hangs and instabilities.

Notes on Update from joyride-2230 to joyride-22713

Tried this, a later release than 2263 recommended by Friends in testing.

Trac 5954 crashes

In Terminal Activity

sudo olpc-update joyride-2271
...
Verifying update
Contents manifest failure at line 383
Last file examined: localtime
Trying irsync dirty update  from rsync://updates.laptop.org/build-joyride-2271
- Creating contents for existing tree.

???? Next lines are the welcome kinds of the world for OLPC!

Other times I tried this and other joyride updates the Terminal Activity vanished and I was back in Home view.

So I did it in a Console, and joyride-2273 installed fine. Some errorsl

Downloading contents of build joyuride-2273.
Trying irsync_pristine update from rsync://updates.laptop.org/build-joyride-2273
- fetching contents.
- Performing incremental rsync.
- Cleaning up (trac #5051)
Verifying update.
Contents manifest failure at line 383
Last file examined: localtime
Trying irsync dirty update  from rsync://updates.laptop.org/build-joyride-2271
- Creating contents for existing tree.
Traceback (most recent call last):
 File "/usr/sbin/olpc-contents-create", line 91, in <module>

...

 File "/usr/lib/python2.5/site-patckages/bitfrost/contents/util.py", line 100 in mkdirobject
   entry['h'] = mkhashes(file(fullname).read())
MemoryError
Trying rsync update from rsync://...
Installing update in ...
Update succeeded!

Note the crash in irsync dirty update, that was killing, not just sudo olpc-update, but the Terminal activity.

This sounds like <trac>5954</trac> oom-killer during olpc-update.

Various

Terminal Activity mouse jumped to Activity, but then just the text "Activity" got stuck in the top right corner. if I brought up frame, it was still there, I couldn't choose a menu item of one of my running activities. Clicking other items in the frame, like network or speaker, would just highlight Activity.

I did Ctrl+Alt+Erase to restart X and Sugar.

Read of a PDF works, but Sugar activity handbook shouldn't be a PDF <trac>7898</trac> and I ran into "Keep error on exit" <trac>7843</trac>, I pasted my Read log error for the latter.

Read of a 4-page DjVu file shows 1/4, lets me advance, but doesn't show anything. When I page backwards it gets slow, then really slow, then cursor won't track and the machine is completely unresponsive. Had to power cycle. Nothing obvious in the error logs.

But then I tried again on another DjVu file from http://djvu.org/docs/, http://djvu.org/docs/1998_zcoder.djvu. All blank, showed 1 of 10. Then I zoomed out and saw the text of page 1!! But when I zoomed in, Read died, and Browse too!. Nothing in error log. I updated <trac>6223</trac>.

I couldn't find any help on the wiki in Support FAQ, searching for "freeze", etc. for what to do when the machine goes unresponsive.

Notes on Update from build 708 (8.1.2 candidate) to joyride-2230

Got a developer key, found a few bugs.

In 8.1.1, build 708, more /etc/issue shows

 OLPC build update.1 708 (stream udpate.1; variant devel_jffs2)
 Kernel \r on an \m

Bug: last line seems bogus!?

Couldn't

 sudo olpc-update 709

got "unknown moudle 'build-709': could not find build 709: are you sure it exists? Sure enough, rsync rsync://updates.laptop.org | sort doesn't list it.

OK, so much for trying 8.1.2!

Per Friends in Testing,

 sudo olpc-update joyride-2230

seems to work.

 Downloading...
 Deleting ...
 Making clean /versions/updates/3d478...
 Trying irsync_pristine update from rsync://updates.laptop.org/build-joyride-2230
  - Cleaning tree.
  - Fetching contents.
  - Performing incremental rsync.

... long pause

 rsync: failed to open "/versions/updates/3d478.../usr/sbin/udevmonitor", continuing: No such file or directory (2)
 rsync error: some files coult not be transffered (code 23) at main.c (1385) [generator=2.6.9]
 Trying irsync_dirty update from rsync://updates.laptop.org/build-joyride-2230
  - Creating contents for existing tree.
  - Fetching contents for update tree.
  - Performing incremental rsync.

... long pause, laptop screen went dark (standby?)

 rsync: getaddrinfo: updates.laptop.org 873: Name or service not known
 rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]
 Trying rsync update from rsync://updates.laptop.org/build-joyride-2230
 - Fetching contents
 - Performing full rsync

... long pause, laptop screen went dark, went to bed

 Next morning
 Verifying update.
 Installing update in /versions/{pristine,run}/3d478...
 Update succeeded!

Are the first two failures expected? Seems like rsync will fail if it goes into standby? ffm|sh on chat says this is all expected.


Reboot

Note this update involves new firmware.

I pressed the check key to see information, below I type some of what I saw. I can't keep up with the text.

Trying nand:\security\developer.sig

Updating firmware...

screen went dark, happy chime

OpenFirmware CL1 Q2D16 Q20

trying key

OpenFirmware CL1 Q2D16 Q2D


Updateing firmware....

screen went dark, happy chime

Now OpenFirmware Q2E12 A2E

Is it expected that it restarts three times, second restart still running the original firmware.

Some Linux boot warnings and errors

I got these in joyride-2301

  /usr/bin/alsactl :failed to obain info for control #32 (No such file or directory)
  /usr/bin/alsactl :failed to obain info for control #40 (No such file or directory)

In console tty1 (I think)

 OLPC buid joyride 2301 (stream joyride; variant devel_jffs2)
 Kernel 2.6.25-20080813.4.olpc.cc.... on an i586
[press ENTER to login]
xauth:  creating new authority file /var/tmp/olpc-auth/.Xserverauth
xauth:  creating new authority file /var/tmp/olpc-auth/.Xauthority
xauth:  creating new authority file /var/tmp/olpc-auth/.Xauthority  <=== why twice?
X.Org X Server 1.4.99.906 (1.5.0 RC 6) 

(more X.Org startup stuff...)

(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
(EE) GLX: could not load software renderer
 expected keysym, got XF86info: line 914 of inet
 expected keysym, got XF86info: line 914 of inet   <== (i.e. repeated)
 The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:     Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>              Ignoring extr symbols
Errors from xkbcomp are not fatal to the X server

Bugs, TODO

erased Log activity. No feedback after clicking [Erase] in confirm dialog. Still showed in Home view. If I clicked to start, I got endless pulsing icon.

Browse activity did go away when I erased it, as expected. (?)

Started Log after I'd erased it, it pulsed for a long time, then I had two Log activities on the Home view, one orange.  ?!
shell.log had errors 'No such file or directory' from execute_child from HomeBox.py

cat /etc/issue has a garbled second line: Kernel \r on an \m
Not a bug, /etc/issue is a template that gets filled in on new terminal.

<trac>7828</trac>In Home view , hovering on an activity brings up {name of activity} with an Erase menu item. But in the journal, the default for each "session document" is "Write Activity", "Terminal Activity", etc. and those also have an Erase menu item. One of those removes the activity's code, one just removes a "session document". I get them confused.

<trac>7830</trac> The submit button in the DevKey form file:///home/.devkey.html looks weird, "stripey"

<trac>7831</trac> The Journal menu for Stopwatch activity installed from OLPC library is too wide to fit screen.