Re: ASU updated - qpe not working?

2008-07-29 Thread Torfinn Ingolfsen
Hello,

On Tue, Jul 29, 2008 at 6:27 PM, Benedikt Schindler
<[EMAIL PROTECTED]> wrote:
> "/usr/bin/app-restarter" is a programm that looks after the qpe process one 
> line under it.
> if this process dies out of reason. (try "killall qpe") the app-restarter 
> shows you in the x-screen
> the message you see in the "ps -ax" comand. and asks you if you want to 
> restart it.

Aha. So app-restarter is a watchdog program for qpe.

> so the message you see in the "ps -ax" is not an error.

I understand now.
Thanks for explaining it!

> it is the parameter the programm app-restarter was given by the start. it's a 
> litle bit confusing.
> i also needed my time to work this out. it would be less confusing if the 
> programm would get the message out
> of a file and not from the parameter.  But it's ok if you know it.

Yes, the way it is now can confuse some people.

Perhaps we should document this on the wiki.
I don't know where I should put it.
-- 
mvh
Torfinn

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


Re: ASU updated - qpe not working?

2008-07-29 Thread Benedikt Schindler
Torfinn Ingolfsen schrieb:
> But qpe still crashes / fails:
> [EMAIL PROTECTED]:~# ps ax | grep qpe
>  1346 ?S  0:00 /usr/bin/app-restarter The qpe process
> vanished. This is bad.?This is not meant to happen and is likely a
> sign of?a bug in Qtopia. Please try to reproduce it and?report the
> issue to http://docs.openmoko.org.??To be able to use your phone as a
> phone again you?will have to restart Qtopia.? qpe
>  1349 ?Sl 0:44 qpe
>  1548 pts/0S+ 0:00 grep qpe
> [EMAIL PROTECTED]:~#
>
> Any ideas what I should do now?

"/usr/bin/app-restarter" is a programm that looks after the qpe process one 
line under it.
if this process dies out of reason. (try "killall qpe") the app-restarter shows 
you in the x-screen
the message you see in the "ps -ax" comand. and asks you if you want to restart 
it. 

so the message you see in the "ps -ax" is not an error. 

it is the parameter the programm app-restarter was given by the start. it's a 
litle bit confusing.
i also needed my time to work this out. it would be less confusing if the 
programm would get the message out
of a file and not from the parameter.  But it's ok if you know it. 

Beni



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


Re: ASU updated - qpe not working?

2008-07-25 Thread Torfinn Ingolfsen
More info.

On Fri, Jul 25, 2008 at 5:09 PM, Torfinn Ingolfsen <[EMAIL PROTECTED]> wrote:
> Ok, a cuple of restars and it seems to work now. Phew!

But qpe still crashes / fails:
[EMAIL PROTECTED]:~# ps ax | grep qpe
 1346 ?S  0:00 /usr/bin/app-restarter The qpe process
vanished. This is bad.?This is not meant to happen and is likely a
sign of?a bug in Qtopia. Please try to reproduce it and?report the
issue to http://docs.openmoko.org.??To be able to use your phone as a
phone again you?will have to restart Qtopia.? qpe
 1349 ?Sl 0:44 qpe
 1548 pts/0S+ 0:00 grep qpe
[EMAIL PROTECTED]:~#

Any ideas what I should do now?
-- 
Regards,
Torfinn Ingolfsen

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


Re: ASU updated - qpe not working?

2008-07-25 Thread Torfinn Ingolfsen
Hello,

On Fri, Jul 25, 2008 at 1:55 PM, Michael Sheldon <[EMAIL PROTECTED]> wrote:
> phone work correctly again. But I'm not sure if your current problem is
> being caused by that, or whether it's a completely separate problem.

 think the kernel whic got installed is the right one:

[EMAIL PROTECTED]:~# opkg info task-base-kernel26
Package: task-base-kernel26
Version: 1.0-r67.01
Depends: sysfsutils, module-init-tools
Recommends: kernel-module-nls-utf8, kernel-module-input,
kernel-module-uinput, kernel-module-rtc-dev, kernel-module-rtc-proc,
kernel-module-rtc-sysfs, kernel-module-rtc-sa1100, kernel-module-unix
Status: unknown ok not-installed
Section: base
Architecture: om-gta02
maintainer: Angstrom Developers <[EMAIL PROTECTED]>
MD5Sum: 9e342863ccf4784531e6b7be0619fa33
Filename: task-base-kernel26_1.0-r67.01_om-gta02.ipk
Source: 
file:///home/build/internal-daily-build/git.openmoko.worktree/packages/tasks/task-base.bb
Description: Merge machine and distro options to create a basic
machine task/package

Package: task-base-kernel26
Version: 1.0-r69
Depends: sysfsutils, module-init-tools
Recommends: kernel-module-nls-utf8, kernel-module-input,
kernel-module-uinput, kernel-module-rtc-dev, kernel-module-rtc-proc,
kernel-module-rtc-sysfs, kernel-module-rtc-sa1100, kernel-module-unix
Status: install ok installed
Architecture: om-gta02

On closer inspection, perhpas not:
[EMAIL PROTECTED]:~# opkg info kernel
Package: kernel
Version: 2:2.6.24+git75929+66a83c97c4545ce4f07e0d90998f906fae49caf2-r1
Depends: kernel-2.6.24
Status: install user installed
Section: kernel
Architecture: neo1973
maintainer: Angstrom Developers <[EMAIL PROTECTED]>
MD5Sum: a39c6c6ecd0cf5375f3cf05568a12115
Size: 864
Filename: 
kernel_2.6.24+git75929+66a83c97c4545ce4f07e0d90998f906fae49caf2-r1_neo1973.ipk
Source: git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable
Description: Linux 2.6.x (development) kernel for FIC SmartPhones
shipping w/ Openmoko

Here goes messing up the FR again:
 opkg -force-reinstall install
http://buildhost.openmoko.org/daily-feed/om-gta02/kernel-2.6.24_2.6.24+git25+8533927964761f4e2078ccd8607b90f5acc60b93-r0_om-gta02.ipk

Crap, that didn't work. Neither did variations.
Ok, I'll rename the old /etc/opkg-backup into /etc/opkg, do an 'opkg
update', 'opkg install kernel' and then rename things back again.
Tha seems to have worked:
http://buildhost.openmoko.org/daily-feed/om-gta02/kernel-image-2.6.24_2.6.24+git25+8533927964761f4e2078ccd8607b90f5acc60b93-r0_om-gta02.ipk

I wonder hwat happens when I reboot the FR now...
Ok, a cuple of restars and it seems to work now. Phew!
-- 
Regards
Torfinn

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


Re: ASU updated - qpe not working?

2008-07-25 Thread Michael Sheldon
Torfinn Ingolfsen wrote:
> More info.
> 
> On Fri, Jul 25, 2008 at 12:54 PM, Torfinn Ingolfsen <[EMAIL PROTECTED]> wrote:
>> I really like the read battary charging indicator. :-)
> 
> Oops... "red" - red battery indicator. :)
> 
>> How do I restart qpe? Therer doesn't seems to be a script for that in
>> /etc/init.d
> 
> When I try to restart qpe manually, I get this:
> 
> [EMAIL PROTECTED]:~# DISPLAY=:0.0 qpe
> ficgta01hardware plugin
> Modem :  opening serial device  "/dev/ttySAC0"  at  115200
> Modem :  Device: "/dev/ttySAC0" is a tty device: True
> Modem :  NONBLOCK successfully reset
> Modem :  Opened  "/dev/ttySAC0"
> AtChat :  T : "AT+CMUX=0,0,5,31"
> Mux :  *** mux setup timed out ***
> Modem :  Multiplexing has been disabled.
> AtChat :  T : "AT+CGMI"
> Mux :  *** mux setup timed out ***
> Modem :  No modem vendor plug-in found - using default
> AtChat :  T : "AT+CBC"
> QDSync :  QDSyncTask::QDSyncTask
> 
> 
> To me, it looks like something is wrong here. But it could just be me.

Well with regards to it not detecting the modem, I found that an upgrade 
from the downloads feed installed what I think was a neo1973 kernel, so 
I just quickly flashed a freerunner kernel from buildhost which made the 
phone work correctly again. But I'm not sure if your current problem is 
being caused by that, or whether it's a completely separate problem.

  Cheers,
   Mike.

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


Re: ASU updated - qpe not working?

2008-07-25 Thread Torfinn Ingolfsen
More info.

On Fri, Jul 25, 2008 at 12:54 PM, Torfinn Ingolfsen <[EMAIL PROTECTED]> wrote:
> I really like the read battary charging indicator. :-)

Oops... "red" - red battery indicator. :)

> How do I restart qpe? Therer doesn't seems to be a script for that in
> /etc/init.d

When I try to restart qpe manually, I get this:

[EMAIL PROTECTED]:~# DISPLAY=:0.0 qpe
ficgta01hardware plugin
Modem :  opening serial device  "/dev/ttySAC0"  at  115200
Modem :  Device: "/dev/ttySAC0" is a tty device: True
Modem :  NONBLOCK successfully reset
Modem :  Opened  "/dev/ttySAC0"
AtChat :  T : "AT+CMUX=0,0,5,31"
Mux :  *** mux setup timed out ***
Modem :  Multiplexing has been disabled.
AtChat :  T : "AT+CGMI"
Mux :  *** mux setup timed out ***
Modem :  No modem vendor plug-in found - using default
AtChat :  T : "AT+CBC"
QDSync :  QDSyncTask::QDSyncTask


To me, it looks like something is wrong here. But it could just be me.
-- 
Regards,
Torfinn Ingolfsen

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


ASU updated - qpe not working?

2008-07-25 Thread Torfinn Ingolfsen
Hello,

I have just upgraded to the most updated ASU, by pointing opkg at
http://downloads.openmoko.org/openmoko-repository/ASU/

using Michael Sheldon's instructions from another thread in this list.

I really like the read battary charging indicator. :-)

But when I do 'ps ax | more' I see this:
 1345 ?S  0:00 /usr/bin/app-restarter The qpe process
vanished. This is bad.?This is not meant to happen and is likely a
sign of?a bug in Qtopia. Please try to reproduce it and?report the
issue to http://docs.openmoko.org.??To be able to use your phone as a
phone again you?will have to restart Qtopia.? qpe

Huh?
How do I restart qpe? Therer doesn't seems to be a script for that in
/etc/init.d
-- 
Regards,
Torfinn

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