Re: Lock, sleep, power-down

2008-06-06 Thread Daniel M German
 Kevin T Neely twisted the bytes to say:

 Kevin On Wed, Jun 04, 2008 at 12:07:49PM -0500, David Dyer-Bennet wrote:
  
  One thing I know happens now is that touching the screen turns on the
  backlight while locked.  So sitting in the case in my bag may be turning


 Kevin That shouln't happen.  Touching the screen should no bring the
 Kevin backlight up.  However, hitting one of the hard buttons ought to
 Kevin bring it up, so the device can show you how to unlock it.

I usually lock the keys and screen of my N800. When the Alarm clock
application is triggered the screen turns on (a good thing), but if it
is not attended the screen stays on until the battery dies! (bad thing)
Is this a bug in the alarm software?

--daniel



-- 
--
Daniel M. German  
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Maemo IU locking up

2008-06-06 Thread Torsten Hoefler
Hi,
 ext Marius Gedminas wrote:
  On Thu, May 29, 2008 at 06:26:56PM -0400, Torsten Hoefler wrote:
  I am running the newest OS2008 on a N810. And I have problems with the
  OS (I guess). The IU locks up from time to time with 100% CPU load (the
  CPU load applet shows full system load) and pretty much stops
  responding. I can not open any windows anymore (it just draws the white
  background after a delay of 30 seconds but no widgets).
 
  This happens from time to time (after several hours) also when I don't
  use the device (also in offline mode), i.e., it's just sitting around
  doing nothing. Something seems to use the CPU extensively because the
  battery is drained quickly (2-3hrs) after it starts.
 
  I tried to debug via ssh, and see a constant system load 2 but no
  process besides maemo-launcher consuming about 20% (why does this
  process run all the time? What does it do?). I also see Xomap from time
  to time (what does this do?). It looks like top (running as root) is not
  showing all the processes? Is this possible?
  
  I've noticed that the kernel itself sometimes uses a lot of CPU to
  perform JFFS2 garbage collection, a while after you write/delete a lot
  of files.  If I'm not mistaken, and that's the case, it could explain
  why the CPU is 100% busy, but top doesn't see any process keeping it
  that busy.
 
 You should see the jffs2 gcd and pdflush kernel threads also in top.
 
 (There's a bug about a thing like that in bugs.maemo.org and so far
 the reason would seem to be having too much (for jffs2) file system
 modifications too often. Unfortunately there's not too much that could
 be done to improve that, jffs2 just works like that and there are not
 yet good  mature enough alternative file systems for flash. Only thing
 you can do is reduce writing to the jffs2 root file system, switch off
 or do less often automated rss and email fetching, make sure that you
 have memory card with enough space when streaming youtube or other
 videos so that they are not buffered to internal flash etc.)
so, after some debugging time, I finally found the problem. It were the
desktop applets (homeip and friends). I really liked them a lot because
I like to have different status information (so I had all of them
enabled). But they are kind of evil because:
1) they drain the battery (I never had more than one day standby, now,
   after disabling them it's the 3-5 days that it should be)
2) they caused growing CPU load (by running maemo-launcher), I suspect
   they executed scripts or sonething to gather their information
3) they caused the device to lock up UI-wise
4) they caused indeterministic reboots (watchdog) of the device

All those problems went away after I disabled the applets. Sad but true.

Thanks a lot for your help!

Best,
  Torsten

-- 
 bash$ :(){ :|:};: - http://www.unixer.de/ -
Indiana University| http://www.indiana.edu
Open Systems Lab  | http://osl.iu.edu/
150 S. Woodlawn Ave.  | Bloomington, IN, 474045-7104 | USA
Lindley Hall Room 135 | +01 (812) 855-3608
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Missing space on MMC2

2008-06-06 Thread Torsten Hoefler
Hi,
I'm missing about xxxMB os space on the internal MMC card.


df says 936.6 MiB used. 
---
Nokia-N810-51-3:~# df -h
FilesystemSize  Used Available Use% Mounted on
/dev/mtdblock42.0M  2.0M 0 100% /mnt/initfs
none512.0k100.0k412.0k  20% /mnt/initfs/tmp
/dev/mtdblock4  251.5M203.9M 47.6M  81% /
none512.0k100.0k412.0k  20% /tmp
none  1.0M 20.0k   1004.0k   2% /dev
tmpfs 1.0M 0  1.0M   0% /dev/shm
/dev/mmcblk0p11.9G936.6M979.7M  49% /media/mmc2
/dev/mmcblk1p13.8G  1.0G  2.8G  27% /media/mmc1
---

but there are no files as du says:
---
Nokia-N810-51-3:/media# du -sm /media/mmc2
202 /media/mmc2
---

Where are the missing 734.6 MiB? I am suspecting the Map application,
because I moved /media/mmc2/map to /media/mmc1/ in order to doanlowd
more maps. I guess, the US-East map was never freed on mmc2 :-/.

I was trying to unmount mmc2 (to fscheck or reformat) but it seems to be
busy ... lsof shows no open files. Same thing after a reboot:
---
Nokia-N810-51-3:/media# umount mmc2
umount: cannot umount /media/mmc2: Device or resource busy
Nokia-N810-51-3:/media# lsof|grep mmc2
Nokia-N810-51-3:/media# 
---

How can I unmount the internal card? Or does anybody know the problem/a
solution. I don't like thie vfat FS anyway and would like to replace it
with ext3. But is the internal vfat better for SD memory (I hope it's
the SD-friendly version with a scatteres superblock?)? 

Thanks and Best,
  Torsten

-- 
 bash$ :(){ :|:};: - http://www.unixer.de/ -
Indiana University| http://www.indiana.edu
Open Systems Lab  | http://osl.iu.edu/
150 S. Woodlawn Ave.  | Bloomington, IN, 474045-7104 | USA
Lindley Hall Room 135 | +01 (812) 855-3608
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Maemo IU locking up

2008-06-06 Thread Eero Tamminen
Hi,

ext Torsten Hoefler wrote:
 so, after some debugging time, I finally found the problem. It were the
 desktop applets (homeip and friends). I really liked them a lot because
 I like to have different status information (so I had all of them
 enabled). But they are kind of evil because:
 1) they drain the battery (I never had more than one day standby, now,
after disabling them it's the 3-5 days that it should be)
 2) they caused growing CPU load (by running maemo-launcher), I suspect
they executed scripts or sonething to gather their information
 3) they caused the device to lock up UI-wise
 4) they caused indeterministic reboots (watchdog) of the device
 
 All those problems went away after I disabled the applets. Sad but true.

Please file bugs for these applications if they have a bug tracker
(or just complain at ITT forum if not :-)).

You can monitor what the desktop applets do when the desktop should
be idle with something like this:
strace -p $(pidof hildon-desktop|cut -d' ' -f1)

If they process files or run scripts, that should be fairly clear
from the strace output.

For example if device has anything that constantly wakes up about once
a second or more often, that already reduces device use-time to one day
even if they wouldn't use network or do anything else besides just
waking up.  And waking up once a sec doesn't show up in top so you
need to use something like strace to see it on processes you suspect
of bad behavior.


Installing tools like strace is described here:
http://maemo.org/development/tools/

You can also install  use ltrace, but its library call tracing doesn't
work properly for threaded or dlopen() using programs (ltrace -S does
the same thing as strace and tracing just system calls doesn't have any
issues).


- Eero
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Eero Tamminen
Hi,

 I was trying to unmount mmc2 (to fscheck or reformat) but it seems to be
 busy ...

You can run dosfsck so that it doesn't modify the volume
with the -n option.  Then you don't need to unmount it
to see whether there are issues.


 lsof shows no open files. Same thing after a reboot:
 ---
 Nokia-N810-51-3:/media# umount mmc2
 umount: cannot umount /media/mmc2: Device or resource busy
 Nokia-N810-51-3:/media# lsof|grep mmc2
 Nokia-N810-51-3:/media# 
 ---

Check also that no process is in disk sleep state: ps|grep D

AFAIK it's possible that this happens internally to kernel,
but I don't remember whether that was a bug or feature...


 How can I unmount the internal card? Or does anybody know the problem/a
 solution. I don't like thie vfat FS anyway and would like to replace it
 with ext3. But is the internal vfat better for SD memory (I hope it's
 the SD-friendly version with a scatteres superblock?)? 


- Eero
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Torsten Hoefler
Hi,
 I was trying to unmount mmc2 (to fscheck or reformat) but it seems to be
 busy ...
 
 You can run dosfsck so that it doesn't modify the volume
 with the -n option.  Then you don't need to unmount it
 to see whether there are issues.
hah, there it is:
--
Nokia-N810-51-3:~# dosfsck -n /dev/mmcblk0p1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
alleged total clusters: 490555
4906
9812
14718
19624
24530
29436
34342
39248
44154
49060
Reclaimed 188077 unused clusters (770363392 bytes).
Free cluster summary wrong (250798 vs. really 438875)
Auto-correcting.
checked clusters: 51680
Leaving file system unchanged.
/dev/mmcblk0p1: 257 files, 51680/490555 clusters
---

thanks! Ok, but I still can't unmount it :-/.

 lsof shows no open files. Same thing after a reboot:
 ---
 Nokia-N810-51-3:/media# umount mmc2
 umount: cannot umount /media/mmc2: Device or resource busy
 Nokia-N810-51-3:/media# lsof|grep mmc2
 Nokia-N810-51-3:/media# 
 ---
 
 Check also that no process is in disk sleep state: ps|grep D
no, there isn't:
Nokia-N810-51-3:~# ps|grep D
  PID  UidVSZ Stat Command
 1637 root   1892 RW  grep D 

 AFAIK it's possible that this happens internally to kernel,
 but I don't remember whether that was a bug or feature...
hmm, I just rebooted with init 6 (doing reboots with the UI is
sometimes weirdly fast and doesn't seem to do a full reboot).

Hmm, any more ideas? I heard people reporting that they reformatted the
internal SD card ... how does this work if you can't unmount it? Can you
disable mounting it completely? /etc/fstab only lists /media/mmc1 (weird
because this is the external card).

Thanks,
  Torsten

-- 
 bash$ :(){ :|:};: - http://www.unixer.de/ -
Indiana University| http://www.indiana.edu
Open Systems Lab  | http://osl.iu.edu/
150 S. Woodlawn Ave.  | Bloomington, IN, 474045-7104 | USA
Lindley Hall Room 135 | +01 (812) 855-3608
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Frantisek Dufka
Torsten Hoefler wrote:
 I was trying to unmount mmc2 (to fscheck or reformat) but it seems to be
 busy ... lsof shows no open files. Same thing after a reboot:
 ---
 Nokia-N810-51-3:/media# umount mmc2
 umount: cannot umount /media/mmc2: Device or resource busy
 Nokia-N810-51-3:/media# lsof|grep mmc2
 Nokia-N810-51-3:/media# 
 ---

maybe you have swapfile enabled?
# cat /proc/swaps
# swapoff /media/mmc2/.swap
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Torsten Hoefler
[ to the mailing-list admin: please reject my previous mail to the list
(was sent from the wrong account) ]

On Fri, Jun 06, 2008 at 10:12:07AM +0200, Frantisek Dufka wrote:
 Torsten Hoefler wrote:
 I was trying to unmount mmc2 (to fscheck or reformat) but it seems to be 
 busy ... lsof shows no open files. Same thing after a reboot:
 ---  
 Nokia-N810-51-3:/media# umount mmc2  
 umount: cannot umount /media/mmc2: Device or resource busy   
 Nokia-N810-51-3:/media# lsof|grep mmc2   
 Nokia-N810-51-3:/media#  
 ---  
   
 maybe you have swapfile enabled?  
 # cat /proc/swaps 
 # swapoff /media/mmc2/.swap   
ah, I forgot - that's it! Thanks!   

Great - the dosfsck tool doesn't work. It asks me to fix the problem, I 
say yes, but it doesn't fix it. Running with -a helped (the input seems 
to be broken).  


Btw. how can I change the location of the swapfile? It doesn't show up  
in /etc/fstab?  

Fixed the problem.  

Best,   
  Torsten   

-- 
 bash$ :(){ :|:};: - http://www.unixer.de/ -
Indiana University| http://www.indiana.edu
Open Systems Lab  | http://osl.iu.edu/
150 S. Woodlawn Ave.  | Bloomington, IN, 474045-7104 | USA
Lindley Hall Room 135 | +01 (812) 855-3608
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Eero Tamminen
Hi,

ext Torsten Hoefler wrote:
 [ to the mailing-list admin: please reject my previous mail to the list
 (was sent from the wrong account) ]
 
 On Fri, Jun 06, 2008 at 10:12:07AM +0200, Frantisek Dufka wrote:  
   
 Torsten Hoefler wrote:   
  
 I was trying to unmount mmc2 (to fscheck or reformat) but it seems to be
  
 busy ... lsof shows no open files. Same thing after a reboot:   
  
 --- 
  
 Nokia-N810-51-3:/media# umount mmc2 
  
 umount: cannot umount /media/mmc2: Device or resource busy  
  
 Nokia-N810-51-3:/media# lsof|grep mmc2  
  
 Nokia-N810-51-3:/media# 
  
 --- 
  
  
  
 maybe you have swapfile enabled? 
  
 # cat /proc/swaps
  
 # swapoff /media/mmc2/.swap  
  
 ah, I forgot - that's it! Thanks! 
   
   
   
 Great - the dosfsck tool doesn't work. It asks me to fix the problem, I   
   
 say yes, but it doesn't fix it. Running with -a helped (the input seems   
   
 to be broken).

Sorry, what means input seems to be broken?

Dosfsck needs often to be run several times and it might run out of
memory (depending on the FAT content, it may require more RAM than is
available on the device).   Easiest way is plug in USB cable and fix
the card from the desktop though.


 Btw. how can I change the location of the swapfile? It doesn't show up
   
 in /etc/fstab?
   
   
   
 Fixed the problem.
   


- Eero
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Torsten Hoefler
On Fri, Jun 06, 2008 at 12:55:54PM +0300, Eero Tamminen wrote:
 Hi,
 
 ext Torsten Hoefler wrote:
 [ to the mailing-list admin: please reject my previous mail to the list
 (was sent from the wrong account) ]
 
 On Fri, Jun 06, 2008 at 10:12:07AM +0200, Frantisek Dufka wrote:   
 Torsten Hoefler wrote:
 I was trying to unmount mmc2 (to fscheck or reformat) but it seems to be 
 busy ... lsof shows no open files. Same thing after a reboot:
 ---  
 Nokia-N810-51-3:/media# umount mmc2  
 umount: cannot umount /media/mmc2: Device or resource busy   
 Nokia-N810-51-3:/media# lsof|grep mmc2   
 Nokia-N810-51-3:/media#  
 ---  
 

 maybe you have swapfile enabled?  
 # cat /proc/swaps 
 # swapoff /media/mmc2/.swap   
 ah, I forgot - that's it! Thanks!  
  
 
 Great - the dosfsck tool doesn't work. It asks me to fix the problem, I
 say yes, but it doesn't fix it. Running with -a helped (the input seems
 to be broken).
 
 Sorry, what means input seems to be broken?
it asked me if I wat to fix it and offered something like:

1) do it
2) don't

It did not change the FS in both cases (i.e., I could enter 1 or 2;
it didn't evaluate the input correctly I guess). Running with -a omits
the question.

 Dosfsck needs often to be run several times and it might run out of
 memory (depending on the FAT content, it may require more RAM than is
 available on the device).   Easiest way is plug in USB cable and fix
 the card from the desktop though.
nope, it just worked like a charm when I ran it with -a :), i.e.n no
memory problems.

Best,
  Torsten

-- 
 bash$ :(){ :|:};: - http://www.unixer.de/ -
Indiana University| http://www.indiana.edu
Open Systems Lab  | http://osl.iu.edu/
150 S. Woodlawn Ave.  | Bloomington, IN, 474045-7104 | USA
Lindley Hall Room 135 | +01 (812) 855-3608
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Marius Gedminas
On Fri, Jun 06, 2008 at 03:42:25AM -0400, Torsten Hoefler wrote:
 I'm missing about xxxMB os space on the internal MMC card.
 
 df says 936.6 MiB used. 
 ---
 Nokia-N810-51-3:~# df -h
 FilesystemSize  Used Available Use% Mounted on
...
 /dev/mmcblk0p11.9G936.6M979.7M  49% /media/mmc2
...
 ---
 
 but there are no files as du says:
 ---
 Nokia-N810-51-3:/media# du -sm /media/mmc2
 202 /media/mmc2
 ---

 Where are the missing 734.6 MiB?

Filesystem corruption.

My N810 completely trashes the contents of the internal 2gb memory
card every couple of weeks or so.  I don't trust it *at all* any more.

Marius Gedminas
-- 
Computers are not intelligent.  They only think they are.


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Torsten Hoefler
On Fri, Jun 06, 2008 at 02:24:07PM +0300, Marius Gedminas wrote:
 On Fri, Jun 06, 2008 at 03:42:25AM -0400, Torsten Hoefler wrote:
  I'm missing about xxxMB os space on the internal MMC card.
  
  df says 936.6 MiB used. 
  ---
  Nokia-N810-51-3:~# df -h
  FilesystemSize  Used Available Use% Mounted on
 ...
  /dev/mmcblk0p11.9G936.6M979.7M  49% /media/mmc2
 ...
  ---
  
  but there are no files as du says:
  ---
  Nokia-N810-51-3:/media# du -sm /media/mmc2
  202 /media/mmc2
  ---
 
  Where are the missing 734.6 MiB?
 
 Filesystem corruption.
 
 My N810 completely trashes the contents of the internal 2gb memory
 card every couple of weeks or so.  I don't trust it *at all* any more.
did you try to reformat? I'm kind of worried to do this because another
filesystem might lower the lifetime of the flash-stuff by exhibiting
different write patterns (and since it's soldered in, I don't want to
destroy it faster than necessary). I'm actually even wondering if Nokia
changed something in the vfat implementation or if this is standard vfat
with the superblock in the first device blocks (seems to be very bad for
flash-based memory).

Thanks  Best,
  Torsten


-- 
 bash$ :(){ :|:};: - http://www.unixer.de/ -
All models are wrong; some models are useful. George Box
(contemporary)
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Marius Gedminas
On Fri, Jun 06, 2008 at 08:18:09AM -0400, Torsten Hoefler wrote:
 On Fri, Jun 06, 2008 at 02:24:07PM +0300, Marius Gedminas wrote:
  My N810 completely trashes the contents of the internal 2gb memory
  card every couple of weeks or so.  I don't trust it *at all* any more.
 did you try to reformat?

That's what I do: reformat the card with the File Manager on the N810,
create a new swap file, then don't touch the card.  Later I will notice
that after a reboot my card is showing complete garbage:
http://mg.pov.lt/n810-fs-corruption.png

This has happened three or four times since I got my N810.

Initially I also had the problem with the FAT partition being a bit
larger than the device, but reformatting it with the file manager also
recreates the partition table, and it does that correctly.

Then I used the internal card to keep my valuable data.  Once I started
getting filesystem errors, rebooted and discovered that the partition
table was overwritten by the contents of a text file.  Since then I no
longer keep valuable data on the card.

 I'm kind of worried to do this because another
 filesystem might lower the lifetime of the flash-stuff by exhibiting
 different write patterns (and since it's soldered in, I don't want to
 destroy it faster than necessary). I'm actually even wondering if Nokia
 changed something in the vfat implementation or if this is standard vfat
 with the superblock in the first device blocks (seems to be very bad for
 flash-based memory).

I believe there's some balancing going on under the hood.  You use JFFS2
on a MTD device on raw flash; SD cards pretend to be a regular block
device that does write balancing in the hardware.  I believe the N810
has the internals of a SD card soldered on the mainboard.

Marius Gedminas
-- 
A witty saying proves nothing.
-- Voltaire


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Eero Tamminen
Hi,

ext Marius Gedminas wrote:
 On Fri, Jun 06, 2008 at 08:18:09AM -0400, Torsten Hoefler wrote:
 On Fri, Jun 06, 2008 at 02:24:07PM +0300, Marius Gedminas wrote:
 My N810 completely trashes the contents of the internal 2gb memory
 card every couple of weeks or so.  I don't trust it *at all* any more.
 did you try to reformat?
 
 That's what I do: reformat the card with the File Manager on the N810,
 create a new swap file, then don't touch the card.  Later I will notice
 that after a reboot my card is showing complete garbage:
 http://mg.pov.lt/n810-fs-corruption.png
 
 This has happened three or four times since I got my N810.
 
 Initially I also had the problem with the FAT partition being a bit
 larger than the device, but reformatting it with the file manager also
 recreates the partition table, and it does that correctly.
 
 Then I used the internal card to keep my valuable data.  Once I started
 getting filesystem errors, rebooted and discovered that the partition
 table was overwritten by the contents of a text file.  Since then I no
 longer keep valuable data on the card.

Some reasons why FAT may corrupt:
- User disconnects the USB cable without safely unmount
   (similarly to re-inserting the memory card card, re-connecting
   the cable doesn't help, device and desktop OSes forget the changes
   once you disconnect the storage)
- Device HW watchdog (not the SW one) rebooting the device

Are you sure neither of these have happened?


If you're sure, is an external card more reliable?


 I'm kind of worried to do this because another
 filesystem might lower the lifetime of the flash-stuff by exhibiting
 different write patterns (and since it's soldered in, I don't want to
 destroy it faster than necessary). I'm actually even wondering if Nokia
 changed something in the vfat implementation or if this is standard vfat
 with the superblock in the first device blocks (seems to be very bad for
 flash-based memory).
 
 I believe there's some balancing going on under the hood.  You use JFFS2
 on a MTD device on raw flash; SD cards pretend to be a regular block
 device that does write balancing in the hardware.  I believe the N810
 has the internals of a SD card soldered on the mainboard.


- Eero

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


Re: Missing space on MMC2

2008-06-06 Thread Mark
On Fri, Jun 6, 2008 at 6:51 AM, Marius Gedminas [EMAIL PROTECTED] wrote:
 On Fri, Jun 06, 2008 at 08:18:09AM -0400, Torsten Hoefler wrote:
 On Fri, Jun 06, 2008 at 02:24:07PM +0300, Marius Gedminas wrote:
  My N810 completely trashes the contents of the internal 2gb memory
  card every couple of weeks or so.  I don't trust it *at all* any more.
 did you try to reformat?

 That's what I do: reformat the card with the File Manager on the N810,
 create a new swap file, then don't touch the card.  Later I will notice
 that after a reboot my card is showing complete garbage:
 http://mg.pov.lt/n810-fs-corruption.png

 This has happened three or four times since I got my N810.

 Initially I also had the problem with the FAT partition being a bit
 larger than the device, but reformatting it with the file manager also
 recreates the partition table, and it does that correctly.

 Then I used the internal card to keep my valuable data.  Once I started
 getting filesystem errors, rebooted and discovered that the partition
 table was overwritten by the contents of a text file.  Since then I no
 longer keep valuable data on the card.


I've been running two 8Gb full-size SD cards in my N800 since January
and have never had a problem. I do all kinds of file swapping, copying
and moving, both within the device itself and between it and my
desktop. I've never reformatted them since I got them. I wonder if
you're better off formatting them with a desktop in a separate reader,
rather than in the device itself? I've been seeing lots of complaints
from people who've reformatted their cards, but I haven't seen much of
that from people who don't do a lot of formats.

I know that the old floppy diskettes always worked better if you left
the factory format on them, and tended to have more problems
(especially if you tried to use them in a different machine) if you
formatted them. I realize that a lot of that was due to physical
issues rather than strictly electronic ones, but maybe there's
something else going on with the common VFAT implementation that is
causing conflicts with the internal logic of the cards.

By the way, I've only ever had one memory card fail in any device (a
CompactFlash), and now that I think about it I believe it was the only
one that I've ever actually reformatted. When I want to empty a card,
I delete the files rather than doing a format. If you think about it,
that's a lot less stressful for the card, since a delete only changes
a few bytes per file, whereas a format does a lot more writing, even
if it's a quick format. I don't even want to think about what may
happen if you try to use one of the file wiping utilities on a flash
card.

Mark
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Missing space on MMC2

2008-06-06 Thread Marius Gedminas
On Fri, Jun 06, 2008 at 05:38:40PM +0300, Eero Tamminen wrote:
 ext Marius Gedminas wrote:
  That's what I do: reformat the card with the File Manager on the N810,
  create a new swap file, then don't touch the card.  Later I will notice
  that after a reboot my card is showing complete garbage:
  http://mg.pov.lt/n810-fs-corruption.png
  
  This has happened three or four times since I got my N810.
  
  Initially I also had the problem with the FAT partition being a bit
  larger than the device, but reformatting it with the file manager also
  recreates the partition table, and it does that correctly.
  
  Then I used the internal card to keep my valuable data.  Once I started
  getting filesystem errors, rebooted and discovered that the partition
  table was overwritten by the contents of a text file.  Since then I no
  longer keep valuable data on the card.
 
 Some reasons why FAT may corrupt:
 - User disconnects the USB cable without safely unmount
(similarly to re-inserting the memory card card, re-connecting
the cable doesn't help, device and desktop OSes forget the changes
once you disconnect the storage)

(1) I almost never use USB for transferring data.
(2) When I do, I always eject the card.
(3) You can't access the internal card over USB when you've got an
active swap partition.

 - Device HW watchdog (not the SW one) rebooting the device

This may have happened, but how exactly can a HW watchdog reboot
scribble random data all over the partition table and/or root directory?
I'd understand if the FAT weren't completely updated and I'd get
cross-linked files or missing free space, but complete garbate in the
root dir?

 Are you sure neither of these have happened?

Watchdog resets have happened occasionally.  And I usually notice FS
corruption after one of those.

Still, that doesn't explain the other experiments I did earlier.  I
created a 1.7 GB partition (to be really really sure I'm not
accidentally trying to make the filesystem larger than the device),
formatted it as VFAT and created a single large empty file (dd
if=/dev/zero of=/media/mmc2/bigfile), and that caused vfat errors in
dmesg and, at least once, caused the *partition table* to get
overwritten with zeroes.  See this (short) thread:
http://lists.maemo.org/pipermail/maemo-users/2008-March/020492.html

 If you're sure, is an external card more reliable?

Yes.  I haven't ever seen FS corruption on the external card, and I
hadn't seen FS corruption on either of the two cards in my old N800.

(Although one SD card died *completely* while in the external slot of
the N800.  So completely that it spews USB errors and is invisible in
any SD reader I've tried.)

Marius Gedminas
-- 
Jim's Three Laws of Engineering:
  1. F = ma
  2. You can't solve a problem unless you know the answer
  3. You can't push a rope


signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


GPE calendar sync?

2008-06-06 Thread Magnus Larsson
Hi!

Just upgraded from a N770 to a N800, and are now trying to get gpe 
calendar to sync to evolution on a ubuntu laptop. On the laptop I have 
multisync 0.90, opensync 0.22, inlcuding the libopensync-gpe, and on the 
N800 the gpesyncd.

I run gpe-calendar once, with an empty calendar on N800. Then I close 
gpe-calendar, run multisync on the laptop. It connects and reports that 
changes are sent to, and received on the N800, and then multisync 
reports that the sync was successful.

However, from this point on gpe-calendar often reports that the database 
is locked. After several reboots of the N800, it sometimes works again. 
Anyone got ideas on this?


Magnus Larsson

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


Re: GPE calendar sync?

2008-06-06 Thread James Knott
Magnus Larsson wrote:
 Hi!

 Just upgraded from a N770 to a N800, and are now trying to get gpe 
 calendar to sync to evolution on a ubuntu laptop. On the laptop I have 
 multisync 0.90, opensync 0.22, inlcuding the libopensync-gpe, and on the 
 N800 the gpesyncd.

 I run gpe-calendar once, with an empty calendar on N800. Then I close 
 gpe-calendar, run multisync on the laptop. It connects and reports that 
 changes are sent to, and received on the N800, and then multisync 
 reports that the sync was successful.

 However, from this point on gpe-calendar often reports that the database 
 is locked. After several reboots of the N800, it sometimes works again. 
 Anyone got ideas on this?


   

Can Evolution sync with Google Calendar? I use GC to sync my N800 with 
Thunderbird Lightning.

-- 
Use OpenOffice.org http://www.openoffice.org
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: GPE calendar sync?

2008-06-06 Thread Kevin T. Neely
On Fri, Jun 06, 2008 at 10:56:19PM +0200, Magnus Larsson wrote:
 
 Just upgraded from a N770 to a N800, and are now trying to get gpe 
 calendar to sync to evolution on a ubuntu laptop. On the laptop I have 
 multisync 0.90, opensync 0.22, inlcuding the libopensync-gpe, and on the 
 N800 the gpesyncd.


I came across this while looking for a SyncML client for my Chinook tablet.

http://www.cleardefinition.com/page/Sync_Evolution_and_GPE_on_N800/

perhaps that will help you?  I am not trying to sync that.  I have GPEcal and 
Google Calendar syncing perfectly with Ermining.  However, never one to be 
satisfied, I was looking at using ScheduleWorld to sync everything (ermining 
just does cal).  I believe that all I would need is a SyncML client, point it 
to the GPE databases, and then point it to the resources at ScheduleWorld.  No 
luck so far.


hope that helps,
Kevin


-- 
In Vino Veritas
http://astroturfgarden.com



signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: GPE calendar sync?

2008-06-06 Thread Lake Stevens Dental
James Knott
 Can Evolution sync with Google Calendar? I use GC to sync my N800 with 
 Thunderbird Lightning.
   
 Yes -- Evolution Calendar can sync to Google Calendar -- at least the 
version I've got on Ubuntu 8.x does.   As I recall, you copy and paste 
either the ical or html link in the settings page for the calendar in GC 
into Evolution Calendar's new calendar setup procedure.

  Also, there's a separate addon required in Thunderbird to get Google 
Calendar to work properly in Lighting. 

  Lighting GC Fine print -- if something happens to one of the Google 
Calendar's you're linking to, you can end up in some sort of almost 
infinite loop of asking for login info for your Google Calendar when you 
load Thurderbird.  TB keeps trying to log in to get the lastest GC 
calendar info and GC doesn't let you log in.  It's happened to me a 
couple times in the last couple weeks -- kind of a pain.  It possibly 
some sort of GC beta issue.  To get out of it, click on the mail icon 
and TB may bypass the calendar login problem.Then go into the 
Calendar and uncheck the corrupted GCs.   Or at least that's what worked 
for me earlier this week. 

  What program do you use to sync your n800 with GC?  I've installed GPE 
in my 800 and couldn't find anywhere to sync with GC.   Claws Mail's 
calendar doesn't seem to have a GC link feature either.  

-- 

Always, Dr Fred C
[EMAIL PROTECTED]

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


Re: GPE calendar sync?

2008-06-06 Thread Kevin T. Neely
On Fri, Jun 06, 2008 at 07:04:20PM -0700, Lake Stevens Dental wrote:
   What program do you use to sync your n800 with GC?  I've installed GPE 
 in my 800 and couldn't find anywhere to sync with GC.   Claws Mail's 
 calendar doesn't seem to have a GC link feature either.  


I use Ermining.  It works perfectly.  there was a post to this list a couple 
emonths ago regarding two different ways to sync gCal with GPE on the tablet.  
I chose to go the Ermining route.  It was easy to setup and I am syncing 
multiple calendars (mine and friends I have added to my gCal) without any 
problems.

K


-- 
In Vino Veritas
http://astroturfgarden.com



signature.asc
Description: Digital signature
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Lock, sleep, power-down

2008-06-06 Thread David Dyer-Bennet
Marius Gedminas wrote:
 On Thu, Jun 05, 2008 at 09:26:31AM -0500, David Dyer-Bennet wrote:
   
 and it spent the day in my
 shoulder bag, and when I unlocked it near bedtime to read for a little
 while (not having touched it since I took it off the charger in the
 morning), the battery was down to 3 days standby, 1 hour active.
 
 That's not normal.
   
 And relating to the ongoing integration -- possibly I'm seeing drastically
 shortened battery life from having both wifi and bluetooth enabled.  Since
 they're alternative connection profiles I think it should only use one at
 a time, but maybe it doesn't.
 

 No: I have both bluetooth and wifi enabled (and autoconnecting to any
 known access points).  My tablet is normally not discoverable over
 Bluetooth, for security-by-obscurity purposes.  The battery life is
 normal: if I don't use it the whole day, it still shows 100% in the
 applet.
   

Good.  Mine is apparently somehow aberrant.  So the question now is 
hardware or software.

I'm voting for software.  I see ke-recv occupying 50% of cpu and 25% 
of memory when nothing is happening (it's connected to local wifi, no 
web browser open) and hald-addon-something occupying 50% of memory.  
And everything I try to do is terribly slow.  Even after what I think of 
as a reboot, though I'm not sure which options *really* are equivalent 
to what.

Software is a good answer, in that I can conceivably fix this myself 
somehow.  Someday.

 I've heard that there are some wifi accesspoints that don't support
 power savings properly, and make the tablet use much more power when
 connected.
   

When I'm at work, I'm not connected to Wif.

-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

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


Re: Lock, sleep, power-down

2008-06-06 Thread David Dyer-Bennet
Dave Sherohman wrote:
 On Thu, Jun 05, 2008 at 09:26:31AM -0500, David Dyer-Bennet wrote:
   
 And relating to the ongoing integration -- possibly I'm seeing drastically
 shortened battery life from having both wifi and bluetooth enabled.  Since
 they're alternative connection profiles I think it should only use one at
 a time, but maybe it doesn't.
 

 Sounds to me like you may be assuming that network connectivity is
 Bluetooth's only function...  What about getting online via wifi while
 using a Bluetooth keyboard?  It would really suck if turning on your
 keyboard made the internet connection drop and vice-versa.
   

I'm not forgetting it (and in fact I have a bluetooth keyboard bought 
primarily for use with the N800), just, it's not part of the current 
problem. 

-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

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


Re: Lock, sleep, power-down

2008-06-06 Thread David Dyer-Bennet
Andrew Daviel wrote:

 I hadn't realized that the AP is part of the power-saving scheme; there 
 is a power-save option on the tablet under advanced/other in the 
 connection manager. If unchecked, battery life drops from 100 hours to 7 
 hours on my APs (Dlink at home, Proxim at work). I tried setting the WiFi 
 to 10mW but it didn't make much difference.
   

In Os2008 I find no such option.  In fact I find no advanced option 
anywhere.  Be more specific?

However, with bluetooth and wifi turned off and nothing but one xterm 
(running top) open, I see a load average of 4.4 consistently, with 
ke-recv, dbus-daemon, and hald being among the processes most often 
receiving processor time.  Something's wrong here, right?

-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

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