Re: [maemo-developers] Apt-got my way into a reboot loop??

2006-07-21 Thread Michael Steinmetz
Also sprach Jason Mills ([EMAIL PROTECTED]):

 * Use `flasher` to -enable- RD mode
 * Use `flasher` to -disable- the watchdog timers (IIRC I disabled two of
 them)
 * Allow the N770 to boot normally
 * Bring up your 802.11b/g network
 * Spawn an xterm window
 * Gain root
 * Complete the apt-get upgrade

Could anybody verify this procedure? I could not, but I don't know
exactly which watchdog timers you mentioned. (I used:
--set-rd-flags=no-lifeguard-reset,no-usb-timeout, but still any attempt
to dpkg --configure maemo-launcher makes the X unusable.

Did you do the repairing steps over ssh?


Cheers,
Michael
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] Apt-got my way into a reboot loop??

2006-07-21 Thread Jason Mills
newp... I completed them on local (physical) console.

It's tough to reproduce again, since I can't easily re-brick my '770.

Sorry,

-JMills

-Original Message-
From: [EMAIL PROTECTED] on behalf of Michael Steinmetz
Sent: Fri 21-Jul-06 11:29
To: maemo-dev List
Subject: Re: [maemo-developers] Apt-got my way into a reboot loop??
 
Also sprach Jason Mills ([EMAIL PROTECTED]):

 * Use `flasher` to -enable- RD mode
 * Use `flasher` to -disable- the watchdog timers (IIRC I disabled two of
 them)
 * Allow the N770 to boot normally
 * Bring up your 802.11b/g network
 * Spawn an xterm window
 * Gain root
 * Complete the apt-get upgrade

Could anybody verify this procedure? I could not, but I don't know
exactly which watchdog timers you mentioned. (I used:
--set-rd-flags=no-lifeguard-reset,no-usb-timeout, but still any attempt
to dpkg --configure maemo-launcher makes the X unusable.

Did you do the repairing steps over ssh?


Cheers,
Michael
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Apt-got my way into a reboot loop??

2006-07-20 Thread Kalle Valo
Kalle Vahlman [EMAIL PROTECTED] writes:

  $./flasher-2.0 --set-rd-flags=no-lifeguard
 -reset

 may be a solution which I havent yet tried.

 I guess that's supposed to work at least at some point, given the
 whole Sardine thing basically depends on it... Haven't tested it
 though.

Yes, the no-lifeguard-reset flag will disable the rebooting (except
hardware watchdogs). Of course it's not going to fix the cause of the
reboot, so something will be seriously broken. But hopefully X will
start and the device is still somehow usable.

-- 
Kalle Valo

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Apt-got my way into a reboot loop??

2006-07-19 Thread Kalle Vahlman

2006/7/19, Thanos Panousis [EMAIL PROTECTED]:

Hello again list,

I just survived a reboot loop the the device got into, after reflashing the
firmware. After setting EVERYTHING up again, the same situation:

After finishing all the configuration and getting back to development, I:
1. added some repositories
2.through ssh as root I did an apt-get update;apt-get upgrade
3. first time it failed, since I didnt have various binary utilis in the
root's path (isnt this a bug? why should I have to append stuff to roots
$PATH?)


I think the official take on that would be that you shouldn't _be_
root in the first place ;)


4. After fixing $PATH, the configuration/installation started happily.
Various packages needed upgrading. Only to stop during mid-flight, cause the
nokia decided to reboot. And from then on, constantly rebooting.

 Why on earth is this happening, and why does it not happen to everybody
doing software updates?


I'm hearing quite the opposite, people do get bootloops by doing sw
updates. Upgrading certain packages stops services the system deems as
critical causing it to reboot (and leaving the packages broken I
guess).


Is there something I can do except from reflashing
and NEVER again try to apt-get upgrade?


Considering that AFAIK apt-get upgrades not (currently) supported at
all by Nokia, not really.

--
Kalle Vahlman, [EMAIL PROTECTED]
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Apt-got my way into a reboot loop??

2006-07-19 Thread Thanos Panousis
Is there anyway to tell the system to stop caring so much about
system-critical services? I mean, the only to upgrade those is to flash
new firmware? Certainly this is not convenient. 
$./flasher-2.0 --set-rd-flags=no-lifeguard-resetmay be a solution which I havent yet tried.I
'm sorry for the frustrated post, getting the development environment
broken while in the middle of something is not much fun..:)On 7/19/06, Kalle Vahlman [EMAIL PROTECTED]
 wrote:2006/7/19, Thanos Panousis [EMAIL PROTECTED]
: Hello again list, I just survived a reboot loop the the device got into, after reflashing the firmware. After setting EVERYTHING up again, the same situation: After finishing all the configuration and getting back to development, I:
 1. added some repositories 2.through ssh as root I did an apt-get update;apt-get upgrade 3. first time it failed, since I didnt have various binary utilis in the root's path (isnt this a bug? why should I have to append stuff to roots
 $PATH?)I think the official take on that would be that you shouldn't _be_root in the first place ;) 4. After fixing $PATH, the configuration/installation started happily. Various packages needed upgrading. Only to stop during mid-flight, cause the
 nokia decided to reboot. And from then on, constantly rebooting.Why on earth is this happening, and why does it not happen to everybody doing software updates?I'm hearing quite the opposite, people do get bootloops by doing sw
updates. Upgrading certain packages stops services the system deems ascritical causing it to reboot (and leaving the packages broken Iguess). Is there something I can do except from reflashing and NEVER again try to apt-get upgrade?
Considering that AFAIK apt-get upgrades not (currently) supported atall by Nokia, not really.--Kalle Vahlman, [EMAIL PROTECTED]Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Apt-got my way into a reboot loop??

2006-07-19 Thread Kalle Vahlman

2006/7/19, Thanos Panousis [EMAIL PROTECTED]:

Is there anyway to tell the system to stop caring so much about
system-critical services? I mean, the only to upgrade those is to flash new
firmware? Certainly this is not convenient.

 $./flasher-2.0 --set-rd-flags=no-lifeguard
-reset

may be a solution which I havent yet tried.


I guess that's supposed to work at least at some point, given the
whole Sardine thing basically depends on it... Haven't tested it
though.


I 'm sorry for the frustrated post, getting the development environment
broken while in the middle of something is not much fun..:)


Yeah, it's a bit annoying to supposedly have the convenience of
apt-get but not really :)

--
Kalle Vahlman, [EMAIL PROTECTED]
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] Apt-got my way into a reboot loop??

2006-07-19 Thread Jason Mills
I bricked my N770 temporarily this way over the weekend. What ends up
happening is one of the watchdog timers fails to fire on-time due to cpu load
(not sure what specific process was unhappy).

To fix it (without data loss):

* Use `flasher` to -enable- RD mode
* Use `flasher` to -disable- the watchdog timers (IIRC I disabled two of
them)
* Allow the N770 to boot normally
* Bring up your 802.11b/g network
* Spawn an xterm window
* Gain root
* Complete the apt-get upgrade

Two packages relating to gnome vfs2.0 refuse to upgrade, everything else
seems to be happy.

I'd started with the IT 2006 released build, very few customizations.

One note... Opera seems to be a bit misbehaved after apt-get upgrade ... not
sure why yet, but it doesn't play well with Microsoft's light OWA interface
anymore.

-JMills
--
Jason Mills -- [EMAIL PROTECTED]
Portal Project Manager / Administrator
VMTN Turner of Knobs and Pusher of Buttons


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Michael Steinmetz
 Sent: Wednesday, July 19, 2006 9:34 AM
 To: maemo-dev List
 Subject: Re: [maemo-developers] Apt-got my way into a reboot loop??
 
 Also sprach Thanos Panousis ([EMAIL PROTECTED]):
 
  Various packages needed upgrading. Only to stop during mid-flight, 
  cause the nokia decided to reboot. And from then on, constantly
  rebooting.
 
 I had exactly the same problem yesterday. (The same reflash, install
 only xterm and ssh, apt-get upgrade -- continuos reboot cycle.)
 
 The first reboot happened when upgrading maemo-launcher. 
 Since my device
 was usable for a few seconds after starting X, I was able to rename
 /etc/init.d/minireboot. That way the Nokia stayed awake and was
 accessible via WLAN/ssh even after the screen went dead. But I didn't
 find the error...  
 
 
 Cheers,
 Michael
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers
 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers