Re: QtMoko backup/restore

2012-11-18 Thread Neil Jerram
Neil Jerram n...@ossau.homelinux.net writes:

 backup2l looks pretty nice; thanks for the suggestion.

Two problems though:

1. it wants to mount and unmount the device (/media/card) where backups
are stored, whereas QtMoko wants /media/card mounted the whole time

2. it wants to use symbolic links on the backup device, which FAT
doesn't support.

(1) feels fixable, but (2) feels tricky to work around.

  Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko backup/restore

2012-11-18 Thread Boudewijn
On Sunday 18 November 2012 11:04:28 Neil Jerram wrote:
 2. it wants to use symbolic links on the backup device, which FAT
 doesn't support.
 
 (1) feels fixable, but (2) feels tricky to work around.

Is it not FAT, so that it can be exported as mass storage? The rationale 
being, that most host operating systems would have FAT drivers on board?

I think that for many of us, the systems we connect to via USB already have 
drivers for other file systems than FAT.

Do you have an idea of the general area in the QtMoko sources, where there 
might be a check on the FS type? I can try to have a look if I can get 
anywhere with some pointers. Or is there a mass storage standard, that does 
not allow for other FS than FAT?

Best regards,

Boudewijn


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko backup/restore

2012-11-18 Thread dmatthews.org
Hi Neil

 1. it wants to mount and unmount the device (/media/card) where backups
 are stored, whereas QtMoko wants /media/card mounted the whole time

That's not the case. You can configure it to backup to a directory on the same 
device as the one you're backing up.

 2. it wants to use symbolic links on the backup device, which FAT
 doesn't support.
 

You could make a ext2/3 partition on the card and have that mounted on 
/media/card with a backup directory.

Although I'm not wanting to do this myself, I've no doubt it's doable. I'm a 
long term backup2l user - I fell in love with it after reimaging a foobarred 
server and having everything back up exactly as it was within an hour.

IMO backup2l is an unsung gem

-- 
David Matthews 
m...@dmatthews.org

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Gta04-owner] QtMoko v49

2012-11-18 Thread Neil Jerram
Radek Polak pson...@seznam.cz writes:

 Hi,
 QtMoko v49 for GTA04 is now available [1]. There have been really many 
 changes 
 this time so be careful :)

For me, after installing this, pulseaudio fails to start up.  The log
has repeating messages log this:

...
Jan  1 00:50:10 neo pulse.sh: Starting pulseaudio
Jan  1 00:50:11 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Jan  1 00:50:11 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Jan  1 00:50:11 neo pulse.sh: E: module.c: Failed to load  module 
module-console-kit (argument: ): initialization failed.
Jan  1 00:50:11 neo pulse.sh: E: main.c: Module load failed.
Jan  1 00:50:11 neo pulse.sh: E: main.c: Failed to initialize daemon.
Jan  1 00:50:11 neo pulse.sh: Starting pulseaudio
Jan  1 00:50:11 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Jan  1 00:50:12 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Jan  1 00:50:12 neo pulse.sh: E: module.c: Failed to load  module 
module-console-kit (argument: ): initialization failed.
Jan  1 00:50:12 neo pulse.sh: E: main.c: Module load failed.
Jan  1 00:50:12 neo pulse.sh: E: main.c: Failed to initialize daemon.
...

and average load (according to top) is about 1.3, which makes other UI
operations on the phone sluggish.

This is after a real vanilla installation with a newly downloaded v49
tarball.  After unpacking the tarball I did restore a few things under
/etc/ssh and /home/root (per the backup/restore thread), but I doubt
that those would be the cause of this pulseaudio startup problem.

Regards,
Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Community] [Gta04-owner] QtMoko v49

2012-11-18 Thread Radek Polak
On Sunday, November 18, 2012 03:55:24 PM Neil Jerram wrote:

 Radek Polak pson...@seznam.cz writes:
  Hi,
  QtMoko v49 for GTA04 is now available [1]. There have been really many
  changes this time so be careful :)
 
 For me, after installing this, pulseaudio fails to start up.  The log
 has repeating messages log this:
 
 ...
 Jan  1 00:50:10 neo pulse.sh: Starting pulseaudio
 Jan  1 00:50:11 neo pulse.sh: W: main.c: This program is not intended to be
 run as root (unless --system is specified). Jan  1 00:50:11 neo pulse.sh:
 E: module-console-kit.c: GetSessionsForUnixUser() call failed:
 org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program
 /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success Jan  1 00:50:11 neo
 pulse.sh: E: module.c: Failed to load  module module-console-kit
 (argument: ): initialization failed. Jan  1 00:50:11 neo pulse.sh: E:
 main.c: Module load failed.
 Jan  1 00:50:11 neo pulse.sh: E: main.c: Failed to initialize daemon.
 Jan  1 00:50:11 neo pulse.sh: Starting pulseaudio
 Jan  1 00:50:11 neo pulse.sh: W: main.c: This program is not intended to be
 run as root (unless --system is specified). Jan  1 00:50:12 neo pulse.sh:
 E: module-console-kit.c: GetSessionsForUnixUser() call failed:
 org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program
 /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success Jan  1 00:50:12 neo
 pulse.sh: E: module.c: Failed to load  module module-console-kit
 (argument: ): initialization failed. Jan  1 00:50:12 neo pulse.sh: E:
 main.c: Module load failed.
 Jan  1 00:50:12 neo pulse.sh: E: main.c: Failed to initialize daemon.
 ...

Hi,
can you please try:

killall pulse.sh
killall pulseaudio
. /opt/qtmoko/qpe.env
pulseaudio

Does it start? My output is like this:

root@neo:/root# killall pulse.sh
root@neo:/root# killall pulseaudio
root@neo:/root# . /opt/qtmoko/qpe.env
root@neo:/root# pulseaudio
W: main.c: This program is not intended to be run as root (unless --system is 
specified).
W: main.c: Unable to contact D-Bus: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated 
abnormally with the following error: Autolaunch error: X11 initialization 
failed.
W: ratelimit.c: 15 events suppressed


I see the difference is in E: module-console-kit.c. Can you try comment out 
the line load-module module-console-kit in /etc/pulse/default.pa?

Regards

Radek





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Community] [Gta04-owner] QtMoko v49

2012-11-18 Thread Neil Jerram
Radek Polak pson...@seznam.cz writes:

 Hi,
 can you please try:

   killall pulse.sh
   killall pulseaudio
   . /opt/qtmoko/qpe.env
   pulseaudio

 Does it start? My output is like this:

 root@neo:/root# killall pulse.sh
 root@neo:/root# killall pulseaudio
 root@neo:/root# . /opt/qtmoko/qpe.env
 root@neo:/root# pulseaudio
 W: main.c: This program is not intended to be run as root (unless --system is 
 specified).
 W: main.c: Unable to contact D-Bus: 
 org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated 
 abnormally with the following error: Autolaunch error: X11 initialization 
 failed.
 W: ratelimit.c: 15 events suppressed

root@neo:~# /etc/init.d/sysklogd start
Starting system log daemon
root@neo:~# tail -f /var/log/messages 
Nov 18 15:11:43 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:43 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:43 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:43 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Nov 18 15:11:44 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:44 neo pulse.sh: E: module.c: Failed to load  module 
module-console-kit (argument: ): initialization failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:44 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:44 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Nov 18 15:11:44 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:44 neo pulse.sh: E: module.c: Failed to load  module 
module-console-kit (argument: ): initialization failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:44 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:44 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:45 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Nov 18 15:11:45 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:45 neo pulse.sh: E: module.c: Failed to load  module 
module-console-kit (argument: ): initialization failed.
Nov 18 15:11:45 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:45 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:45 neo pulse.sh: Starting pulseaudio
Nov 18 15:11:45 neo pulse.sh: W: main.c: This program is not intended to be run 
as root (unless --system is specified).
Nov 18 15:11:46 neo pulse.sh: E: module-console-kit.c: GetSessionsForUnixUser() 
call failed: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
program /usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Nov 18 15:11:46 neo pulse.sh: E: module.c: Failed to load  module 
module-console-kit (argument: ): initialization failed.
Nov 18 15:11:46 neo pulse.sh: E: main.c: Module load failed.
Nov 18 15:11:46 neo pulse.sh: E: main.c: Failed to initialize daemon.
Nov 18 15:11:46 neo pulse.sh: Starting pulseaudio
^C
root@neo:~# killall pulse.sh
root@neo:~# killall pulseaudio
pulseaudio: no process found
root@neo:~# ps wuax | grep pulse
root  2755  0.0  0.1   1864   580 pts/0S+   15:12   0:00 grep pulse
root@neo:~# . /opt/qtmoko/qpe.env 
root@neo:/root# pulseaudio 
W: main.c: This program is not intended to be run as root (unless --system is 
specified).
E: module-console-kit.c: GetSessionsForUnixUser() call failed: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program 
/usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
E: module.c: Failed to load  module module-console-kit (argument: ): 
initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
root@neo:/root# 

 I see the difference is in E: module-console-kit.c. Can you try comment out 
 the line load-module module-console-kit in /etc/pulse/default.pa?

root@neo:/root# nano /etc/pulse/default.pa 
root@neo:/root# pulseaudio 
W: main.c: This program is not intended to be run as root (unless --system is 
specified).
W: main.c: Unable to contact D-Bus: 
org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated 
abnormally with the following error: Autolaunch error: X11 initialization 
failed.
W: ratelimit.c: 15 events suppressed

OK, this is looking better now.  After a reboot, responsiveness is back
to normal and I can play media.

Thanks,
Neil

___
Openmoko 

Re: [Gta04-owner] [Community] QtMoko v49

2012-11-18 Thread arne anka
W: main.c: This program is not intended to be run as root (unless   
--system is

specified).


ok, that's another one of my questions: why doesn't qtmoko run as  
non-root? is root access necessary for normal operation?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community