Re: [maemo-developers] 770 stopped booting

2006-08-14 Thread Eero Tamminen
Hi,

 So I /really/ wonder how anything could distort the boot process that
 hard? I presume if I were a normal customer, this would be the point
 to return the unit as defective :-/

You mentioned that the battery should have been charged enough.
The other common reason for a boot-looping is full Flash.  The
device doesn't boot up properly if Flash is 100% full as bootup
process needs to write a few bytes to the Flash also.

The builtin software should handle this properly (I hope :)),
but later installed software might not.  Things that software
should handle:
- Check whether any file write operations fail because there
  was no space *AND* inform user about that so that he can
  do something about that
- Remove any extra and partially written files when device
  run out of space
- Not write any files when applications start

A lot of software is not very good at this nor in handling memory
shortages nowadays.  They assume that there's infinite amount
of memory and disk.

AFAIK there's some protection in the device about normal user
filling the Flash, but root can still fill the Flash 100%.
I.e. worst possible thing in the device is a process run as
root which can generate largish log files without severaly
constraining their sizes...


- Eero

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


[maemo-developers] 770 stopped booting

2006-08-08 Thread Fionn Behrens

Hi all,

today my 770 stopped working. It starts booting with the Nokia logo but
something happens before it comes to the point where the blue bar
appears. Apparently it restarts a couple of times before giving up and
switching off (Nokia logo fades away).

I did not install new packages recently (within several days), certainly
not since my last n770 reboot.
I shut down the unit properly last night after some pdf reading when I
went to bed.

So I /really/ wonder how anything could distort the boot process that
hard? I presume if I were a normal customer, this would be the point to
return the unit as defective :-/

The unit had the rd flag enabled.

Things I tried:

* setting no-lifeguard-reset flag
* reflashing initfs
* disabling rd mode
* removing the memory card while booting.
* removing the battery for an extended period of time (15 minutes)

all of which did not help. Before I reflash the whole thing and lose
everything installed I'd like to ask if there are any other ideas worth
trying to recover the unit.

kind regards,
Fionn


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


Re: [maemo-developers] 770 stopped booting

2006-08-08 Thread Frantisek Dufka

Hi,

you may try my initfs hack with onscreen boot menu (IT2006 only)
http://fanoush.webpark.cz/maemo/#initfs which allows you to boot from 
mmc card with ext2 partition. With working device booted from mmc you 
can see what is wrong and try to mount root partition in internal flash 
and backup. If you don't have backup on mmc now you may try to extract 
root jffs2 image from fiasco .bin image via flasher and then extract it 
on linux box to RS-MMC card (to second partition if you use my hack, 
first is regular FAT) and boot clean system temporarily.


Well in fact you don't need my initfs hack at all if you make one big 
(ext2 or 3?) partition on the card and set root device to 'mmc' via 
flasher. Due to jffs2 compression you need at least 128MB partition on 
RS-MMC card for root filesystem to fit.


One question, if RD is enabled on your device, do you see the green 
text with kernel version and other stuff before it hangs? If not, there 
may be problem with initfs or bootloader so mmc boot won't work too.


Frantisek


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