Re: Updating with olpc-update command

2010-09-24 Thread Simon Schampijer
On 09/21/2010 04:16 PM, Narendra Sisodiya wrote:
 Dear all, I have two question

 1) I am using virtual environment to booting up fedora-sugar. Can I use
 olpc-update command for update purpose ? When I try the command, it give me
 error that developer key is not present.
 2) Is this command arch-dependent ? because I am using
 fedora-12-arm repository. Fedora 12 ARM  repo support upto - *Sugar 0.86.3*,
 If I want to update it to the latest one (
 http://build.laptop.org/10.2.0/os206/ )
 am i missing something ?

Hi Narendra,

if I understand correctly you are using Sugar on Fedora and not an OLPC 
build. The olpc-update command is meant to update olpc-images for the 
XO. For updating your configuration you need to use the distribution 
specific means.

Fedora 12 has Sugar 0.86.x which as actually a newer version than what 
you would get in http://build.laptop.org/10.2.0/os206/ which is Sugar 
0.84.x.

I guess F12 is the latest arm version you get for Fedora [1]. Otherwise 
Sugar 0.88 is packaged in Fedora 13 and 0.90 is in F14.

Regards,
Simon

[1] http://fedoraproject.org/wiki/Architectures/ARM
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-09-24 Thread Simon Schampijer
On 09/23/2010 03:30 PM, Tomeu Vizoso wrote:
 On Mon, Sep 20, 2010 at 12:56, Paul Foxp...@laptop.org  wrote:
 tomeu wrote:
 On Thu, Sep 16, 2010 at 23:38, Martin Langhoff
 martin.langh...@gmail.com  wrote:
   On Thu, Sep 16, 2010 at 5:05 AM, Tomeu Vizosoto...@tomeuvizoso.net 
  wrote:
   So the problem is that if you had to resync all state for each 
 machine
   every time they wake up, you would use lots of bandwidth with the
   (...)
   Another issue with this is that you not only want to resync 
 presence,
   but shared activities also would need to resync their state.
 
   Correct. My notes on the bug are probably unreadable -- it was late
   last night, apologies.
 
   What I mean to say is that we could
 
   1 - explore the interaction between sleep timeouts and Salut resync
   frequency for presence
 
   2 - hack the Tubes/Telepathy stack to _prevent sleep_ while an actual
   collaboration session is running
 
   I think #1 needs to be done regardless, as it'll improve behaviour
   even if/when we our networking/suspend issues sorted. And some of the
   issues in network/suspend interaction won't be easy to resolve.
   
 I doubt there's much that can be done in Salut about it, should be
 instead done inside Avahi. I would see how mDNS works, then look for
 opportunities of tuning knobs in Avahi to speed up rediscovery:
   
 http://tools.ietf.org/html/draft-ietf-dnsext-mdns-47
   
 I'm going to ask around in case somebody has already thought of it and
 can provide a shortcut.

 the laptop knows how long it was suspended, and this information could
 be made available to a resume hook (which almost exists, but not
 quite, in powerd) if it would be useful.  i.e., a a post-resume script
 could decide whether to kick the protocols to do something differently,
 if that was needed.

 Paul, what do you think about powerd implementing org.freedesktop.UPower ?

 http://upower.freedesktop.org/docs/UPower.html

 Regards,

 Tomeu

UPower is available in Fedora = 13 AFAIK. We are still stuck at the 
moment with F11. So, that road is meant as Future possibilities, right?

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


Re: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-09-24 Thread Tomeu Vizoso
On Fri, Sep 24, 2010 at 09:12, Simon Schampijer si...@schampijer.de wrote:
 On 09/23/2010 03:30 PM, Tomeu Vizoso wrote:
 On Mon, Sep 20, 2010 at 12:56, Paul Foxp...@laptop.org  wrote:
 tomeu wrote:
     On Thu, Sep 16, 2010 at 23:38, Martin Langhoff
     martin.langh...@gmail.com  wrote:
       On Thu, Sep 16, 2010 at 5:05 AM, Tomeu 
 Vizosoto...@tomeuvizoso.net  wrote:
       So the problem is that if you had to resync all state for each 
 machine
       every time they wake up, you would use lots of bandwidth with the
       (...)
       Another issue with this is that you not only want to resync 
 presence,
       but shared activities also would need to resync their state.
     
       Correct. My notes on the bug are probably unreadable -- it was late
       last night, apologies.
     
       What I mean to say is that we could
     
       1 - explore the interaction between sleep timeouts and Salut resync
       frequency for presence
     
       2 - hack the Tubes/Telepathy stack to _prevent sleep_ while an 
 actual
       collaboration session is running
     
       I think #1 needs to be done regardless, as it'll improve behaviour
       even if/when we our networking/suspend issues sorted. And some of 
 the
       issues in network/suspend interaction won't be easy to resolve.
   
     I doubt there's much that can be done in Salut about it, should be
     instead done inside Avahi. I would see how mDNS works, then look for
     opportunities of tuning knobs in Avahi to speed up rediscovery:
   
     http://tools.ietf.org/html/draft-ietf-dnsext-mdns-47
   
     I'm going to ask around in case somebody has already thought of it and
     can provide a shortcut.

 the laptop knows how long it was suspended, and this information could
 be made available to a resume hook (which almost exists, but not
 quite, in powerd) if it would be useful.  i.e., a a post-resume script
 could decide whether to kick the protocols to do something differently,
 if that was needed.

 Paul, what do you think about powerd implementing org.freedesktop.UPower ?

 http://upower.freedesktop.org/docs/UPower.html

 Regards,

 Tomeu

 UPower is available in Fedora = 13 AFAIK. We are still stuck at the
 moment with F11. So, that road is meant as Future possibilities, right?

Not really, powerd could implement the same DBus interface. You would
need to backport something for Avahi to use it, though.

Regards,

Tomeu

 Regards,
    Simon
 ___
 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: #10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

2010-09-24 Thread Simon Schampijer
On 09/23/2010 03:55 PM, Tomeu Vizoso wrote:
 On Thu, Sep 23, 2010 at 15:30, Tomeu Vizosoto...@tomeuvizoso.net  wrote:
 On Mon, Sep 20, 2010 at 12:56, Paul Foxp...@laptop.org  wrote:
 tomeu wrote:
 On Thu, Sep 16, 2010 at 23:38, Martin Langhoff
 martin.langh...@gmail.com  wrote:
   On Thu, Sep 16, 2010 at 5:05 AM, Tomeu 
 Vizosoto...@tomeuvizoso.net  wrote:
   So the problem is that if you had to resync all state for each 
 machine
   every time they wake up, you would use lots of bandwidth with the
   (...)
   Another issue with this is that you not only want to resync 
 presence,
   but shared activities also would need to resync their state.
 
   Correct. My notes on the bug are probably unreadable -- it was late
   last night, apologies.
 
   What I mean to say is that we could
 
   1 - explore the interaction between sleep timeouts and Salut resync
   frequency for presence
 
   2 - hack the Tubes/Telepathy stack to _prevent sleep_ while an 
 actual
   collaboration session is running
 
   I think #1 needs to be done regardless, as it'll improve behaviour
   even if/when we our networking/suspend issues sorted. And some of 
 the
   issues in network/suspend interaction won't be easy to resolve.
   
 I doubt there's much that can be done in Salut about it, should be
 instead done inside Avahi. I would see how mDNS works, then look for
 opportunities of tuning knobs in Avahi to speed up rediscovery:
   
 http://tools.ietf.org/html/draft-ietf-dnsext-mdns-47
   
 I'm going to ask around in case somebody has already thought of it and
 can provide a shortcut.

 the laptop knows how long it was suspended, and this information could
 be made available to a resume hook (which almost exists, but not
 quite, in powerd) if it would be useful.  i.e., a a post-resume script
 could decide whether to kick the protocols to do something differently,
 if that was needed.

 Paul, what do you think about powerd implementing org.freedesktop.UPower ?

 http://upower.freedesktop.org/docs/UPower.html

 If so, Lennart could be interested in accepting a patch that makes
 Avahi listen for Resuming() and that implements the wake-up behavior
 as specified in
 http://files.multicastdns.org/draft-cheshire-dnsext-multicastdns.txt .

Thanks for that pointer and contacting Lennart. The funny part is: the 
draft expired yesterday :)

 After a quick read, looks like it would involve querying the network
 with the QU bit set so the other nodes can send unicast replies
 instead of multicast, thus saving bandwidth.

Yes the draft talks in section 5.5 Questions Requesting Unicast 
Responses the case when using unicast responses instead of multicast 
responses in the resume case. The document states that after the first 
query multicast responses should be used. Appendix D contains some 
interesting points why using multicast responses is not inefficient.

Regards,
Simon



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


OLPC-OS-Builder

2010-09-24 Thread Hellânio Costa
Hi everybody,

I'm having a problem when working with them olpc-builder, because it returns
the following error:

os19: 71283/131072 files (0.9% non-contiguous), 386289/524288 blocks
 * Running part mountfs base mountfs.50.mount.sh...
Mounting intermediate filesystem image...
 * Running part preimage base preimage.90.core.sh...
Normalize file times...
touch: configurando horário de /var/tmp/olpc-os-builder/mnt-fs/dev/fd:
Permissão negada
Compiling python bytecode...
 * Caught error, cleanup and then bail out.
 * Running part cleanup base cleanup.50.cleanup.sh...
 * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
ERROR: Failure in PreImageStage: module base, part preimage.90.core.sh,
error code 1


can you help me?

-- 
Instituto UFC - Virtual
www.virtual.ufc.br
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC-OS-Builder

2010-09-24 Thread James Cameron
Are you running it as root?

On 24/09/2010, at 10:01 PM, Hellânio Costa wrote:
 Normalize file times...
 touch: configurando horário de /var/tmp/olpc-os-builder/mnt-fs/dev/fd: 
 Permissão negada

I presume this would read Permission denied.

Are you running it on Fedora 11?

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


Re: OLPC-OS-Builder

2010-09-24 Thread Hellânio Costa
yes I am logged in as root

Fedora 11 without updates.

So I do not understand why this is giving error! : (

I may be generating a very large image and then the error?


2010/9/24 James Cameron qu...@laptop.org

 I presume this would read Permission denied.


--
Instituto UFC - Virtual
www.virtual.ufc.br
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC-OS-Builder

2010-09-24 Thread Esteban Bordon
Are you executing osbuilder.py using sudo? If you're using sudo
olpc-os-builder have a problem when it executes chroot.

You must to try using root user.

cheers.


2010/9/24 Hellânio Costa hella...@virtual.ufc.br

 Hi everybody,

 I'm having a problem when working with them olpc-builder, because it
 returns the following error:

 os19: 71283/131072 files (0.9% non-contiguous), 386289/524288 blocks
  * Running part mountfs base mountfs.50.mount.sh...
 Mounting intermediate filesystem image...
  * Running part preimage base preimage.90.core.sh...
 Normalize file times...
 touch: configurando horário de /var/tmp/olpc-os-builder/mnt-fs/dev/fd:
 Permissão negada
 Compiling python bytecode...
  * Caught error, cleanup and then bail out.
  * Running part cleanup base cleanup.50.cleanup.sh...
  * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh...
 ERROR: Failure in PreImageStage: module base, part preimage.90.core.sh,
 error code 1


 can you help me?

 --
 Instituto UFC - Virtual
 www.virtual.ufc.br


 ___
 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: OLPC-OS-Builder

2010-09-24 Thread Daniel Drake
On 24 September 2010 13:01, Hellânio Costa hella...@virtual.ufc.br wrote:
 Hi everybody,

 I'm having a problem when working with them olpc-builder, because it returns
 the following error:

 os19: 71283/131072 files (0.9% non-contiguous), 386289/524288 blocks
  * Running part mountfs base mountfs.50.mount.sh...
 Mounting intermediate filesystem image...
  * Running part preimage base preimage.90.core.sh...
 Normalize file times...
 touch: configurando horário de /var/tmp/olpc-os-builder/mnt-fs/dev/fd:
 Permissão negada

This error can be ignored

 Compiling python bytecode...
  * Caught error, cleanup and then bail out.

This usually means that there is some python file in your image that
is failing to compile (syntax errors or something).
Unfortunately the python compiler program logs both verbose regular
info and errors to stdout, and we discard stdout, so it's not
immediately obvious which file it is failing on.

It would be a good idea to post your build config and state your aims.

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


Re: OLPC-OS-Builder

2010-09-24 Thread Hellânio Costa
ok,

need to install the koffice-suite on the laptop besides some applications,
you see:

I edited for convenience only kspkglist.50.gnome.inc

# --- OLPC / UFCeará BRAZIL
#


# gnome desktop
gnome-python2-gconf
gnome-desktop
gnome-panel
gnome-session
gnome-terminal
metacity
nautilus

# allow switching from Sugar
olpc-switch-desktop

# GNOME dependencies. Listed explicitly to prevent equivalent components
# from other desktops being brought in instead
PolicyKit-gnome
notification-daemon

# battery applet
batterymon

# internet
xulrunner
firefox

# office
abiword

# graphics

# audio  video
audacity
totem
totem-gstreamer
totem-mozplugin
-totem-xine
-xine-lib

# more desktop stuff
file-roller
gedit
gnash-plugin
NetworkManager-gnome
xdg-user-dirs-gtk

# --- plugin flash #
swfdec-mozilla
alsa-tools-firmware

# java
java-1.6.0-openjdk-plugin
java-1.6.0-openjdk

# office
koffice-suite
koffice-langpack-pt_BR.noarch
xpdf

# --- Dependencias do Koffice --

koffice-kword
koffice-core
koffice-filters
koffice-karbon
koffice-kchart
koffice-kexi
koffice-kexi-driver-mysql
koffice-kexi-driver-pgsql
koffice-kformula
koffice-kivio
koffice-kplato
koffice-kpresenter
koffice-krita
koffice-kspread
koffice-kugar
GraphicsMagick
arts
dejavu-lgc-sans-fonts
kdelibs3
koffice-libs
libpaper
libpqxx
lyx-cmex10-fonts
poppler-qt
ruby-libs
wv2
kde-filesystem
kde-settings
kdelibs-common
libxml2
libxslt
lyx-fonts-common
openjpeg-libs
poppler
libxml2-python
oxygen-icon-theme
poppler-glib
poppler-utils

# Utilitarios q o projeto precisa
tuxmath
tuxpaint
tuxpaint-devel
squeak-image.noarch
squeak-vm
squeak-vm-nonXOplugins
ucblogo


2010/9/24 Daniel Drake d...@laptop.org

 On 24 September 2010 13:01, Hellânio Costa hella...@virtual.ufc.br
 wrote:
  Hi everybody,
 
  I'm having a problem when working with them olpc-builder, because it
 returns
  the following error:
 
  os19: 71283/131072 files (0.9% non-contiguous), 386289/524288 blocks
   * Running part mountfs base mountfs.50.mount.sh...
  Mounting intermediate filesystem image...
   * Running part preimage base preimage.90.core.sh...
  Normalize file times...
  touch: configurando horário de /var/tmp/olpc-os-builder/mnt-fs/dev/fd:
  Permissão negada

 This error can be ignored

  Compiling python bytecode...
   * Caught error, cleanup and then bail out.

 This usually means that there is some python file in your image that
 is failing to compile (syntax errors or something).
 Unfortunately the python compiler program logs both verbose regular
 info and errors to stdout, and we discard stdout, so it's not
 immediately obvious which file it is failing on.

 It would be a good idea to post your build config and state your aims.

 Daniel




-- 
Instituto UFC - Virtual
www.virtual.ufc.br
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: OLPC-OS-Builder

2010-09-24 Thread Daniel Drake
On 24 September 2010 14:12, Hellânio Costa hella...@virtual.ufc.br wrote:
 ok,
 need to install the koffice-suite on the laptop besides some applications,
 you see:
 I edited for convenience only kspkglist.50.gnome.inc

You should use the custom_packages module and avoid modifying
olpc-os-builder code to add new packages.

Try doing a build without modifications first. That will tell us if
your build problem is related to your additions or not.

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


Re: Updating with olpc-update command

2010-09-24 Thread Narendra Sisodiya
On Fri, Sep 24, 2010 at 11:42 AM, Simon Schampijer si...@schampijer.dewrote:

 On 09/21/2010 04:16 PM, Narendra Sisodiya wrote:
  Dear all, I have two question
 
  1) I am using virtual environment to booting up fedora-sugar. Can I use
  olpc-update command for update purpose ? When I try the command, it give
 me
  error that developer key is not present.
  2) Is this command arch-dependent ? because I am using
  fedora-12-arm repository. Fedora 12 ARM  repo support upto - *Sugar
 0.86.3*,
  If I want to update it to the latest one (
  http://build.laptop.org/10.2.0/os206/ )
  am i missing something ?

 Hi Narendra,

 if I understand correctly you are using Sugar on Fedora and not an OLPC
 build. The olpc-update command is meant to update olpc-images for the
 XO. For updating your configuration you need to use the distribution
 specific means.

 Fedora 12 has Sugar 0.86.x which as actually a newer version than what
 you would get in http://build.laptop.org/10.2.0/os206/ which is Sugar
 0.84.x.

 I guess F12 is the latest arm version you get for Fedora [1]. Otherwise
 Sugar 0.88 is packaged in Fedora 13 and 0.90 is in F14.

 Regards,
Simon

 [1] http://fedoraproject.org/wiki/Architectures/ARM


Thanks a lot for such a wonder clarification.



-- 
┌─┐
│Narendra Sisodiya
│http://narendrasisodiya.com
└─┘
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Updating with olpc-update command

2010-09-24 Thread Jon Nettleton
 if I understand correctly you are using Sugar on Fedora and not an OLPC
 build. The olpc-update command is meant to update olpc-images for the
 XO. For updating your configuration you need to use the distribution
 specific means.
*snip*

 [1] http://fedoraproject.org/wiki/Architectures/ARM

 Thanks a lot for such a wonder clarification.


We should probably have olpc-update check /etc/redhat-release for the
string 'OLPC release' and bail out if it isn't found with a message
like 'This is not an official OLPC release, cannot update.  Please use
your distributions package manager'.   This should allow the utility
to live in a distro's eco-system but not cause complete confusion if
it is installed and run on non-OLPC builds.

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