IRC log of #maemo-devel for Thursday, 2010-11-18

*** onen|openBmap has quit IRC00:01
*** vsrinivas has joined #maemo-devel00:12
*** JPohlmann has joined #maemo-devel00:26
*** SpeedEvil has quit IRC00:28
*** SpeedEvil has joined #maemo-devel00:42
*** Rarok has joined #maemo-devel01:13
*** __kW has joined #maemo-devel01:33
*** Rarok has quit IRC01:54
*** Rarok has joined #maemo-devel01:54
*** Rarok has quit IRC01:56
*** BabelO has quit IRC02:01
*** SpeedEvil has quit IRC02:05
*** alvaro__ has quit IRC02:07
*** SpeedEvil has joined #maemo-devel02:11
*** SpeedEvil has quit IRC02:19
*** gustavoferreira has quit IRC02:27
*** SpeedEvil has joined #maemo-devel02:33
*** SpeedEvil has quit IRC02:42
*** SpeedEvil has joined #maemo-devel02:45
*** SpeedEvil has quit IRC02:50
*** SpeedEvil has joined #maemo-devel02:53
*** SpeedEvil has quit IRC02:57
*** SpeedEvil has joined #maemo-devel02:58
*** gustavo-ferreira has joined #maemo-devel03:19
*** gustavo_ferreira has joined #maemo-devel04:34
*** gustavo_ferreira has quit IRC04:35
*** gustavo-ferreira has quit IRC04:37
*** __kW has quit IRC04:41
*** JPohlmann has quit IRC04:54
*** lupine_85 has quit IRC06:06
*** lupine_85 has joined #maemo-devel06:13
*** ptl has quit IRC06:29
*** ptl has joined #maemo-devel06:38
*** ptl has quit IRC06:38
*** ptl has joined #maemo-devel06:38
*** ptl has quit IRC06:43
*** ptl has joined #maemo-devel06:43
*** ptl has quit IRC06:43
*** ptl has joined #maemo-devel06:43
*** ptl has quit IRC06:52
*** ptl has joined #maemo-devel07:02
*** ptl has quit IRC07:02
*** ptl has joined #maemo-devel07:02
*** swc|666 has joined #maemo-devel07:06
*** DocScrutinizer has quit IRC07:33
*** DocScrutinizer has joined #maemo-devel07:33
*** ppenz has joined #maemo-devel09:21
fluxair, I would try wrapping the binary with #!/bin/sh  env >/tmp/env-of-binary  /path/to/actual/binary "$@", in order to find if the environment is somehow different09:25
fluxhmm, actually, nvm, reparsing and finding my response was 100% irrelevant :)09:25
*** dazo_afk is now known as dazo09:51
airheh09:52
*** JPohlmann has joined #maemo-devel10:11
*** JPohlmann has quit IRC10:11
*** kulve has quit IRC11:13
*** kulve has joined #maemo-devel11:15
*** swc|666 has quit IRC11:38
*** recalcati has joined #maemo-devel13:03
recalcatigood morning everybody13:03
recalcatiI'm trying to understand the OTA update of maemo.13:05
recalcatiI mean when it is needed to do a complete upgrade, for example from maemo4 to maemo5.13:06
recalcatiI remember that there was a download procedure, then a reboot, and then an installation, but I don't know where can I get information about this protocol.13:07
recalcatiCan anybody point me to the right direction?13:07
airyou can upgrade maemo4 to 5?13:08
*** JPohlmann has joined #maemo-devel13:08
recalcatiyes, I had done it .. but I'd like to understand how it works!113:09
airyou have an n8x0 device?13:09
recalcatimaybe it is not apt-get dist-upgrade13:09
recalcatino, n90013:09
airiwasnt aware maemo4 came or ran on the n90013:10
recalcatiI really like to understand if complete update require a particular procedure and where it is described.13:11
ShadowJKThere has never been a Maemo 4 to Maemo upgrade13:13
recalcatireally?? I'm sorry. anyway I'm sure to have done at least two big update, that require a reboot13:14
ShadowJKAll the big updates do require a reboot, yes13:14
recalcatiand so I guess that there are two different procedures: apt-get update and apt-get Idontknow13:15
ShadowJKI think there's been maybe 4 of those for Maemo 513:15
recalcatiI'd like to understand apt-get Idontknow13:15
ShadowJKNo, apt-get can't handle the "big\ upgrades that require reboots13:15
ShadowJKin fact, running apt-get dist-upgrade is likely to leave the device unbootable13:16
recalcatiShadowJK: right.. I guessed it13:16
recalcatiThe reason is that download a tar.gz or similar to mmc can give some delay problem13:17
ShadowJKhm?13:17
recalcatiand instead downoading a big tar.gz  to ram could not be possible because of its dimension (ram < mmc)13:18
recalcatiShadowJK: I'm wrong? you guess that (cd /media/mmc; wget new-rel.tar.gz; reboot) it is ok?13:18
ShadowJKwhy do you wan to reboot13:19
recalcatiI don't know if the bootloader needs to do something13:20
*** Rarok has joined #maemo-devel13:21
ShadowJKThe biggest reason for the ota upgrade "rebooting" is that it switches off almost all processes, so that as few files as possible are in use, so that as little diskspace as possible is needed to complete the upgrade13:22
ShadowJKevery file that is in use that you replace, gets copied, with the old file still existing13:22
recalcatiright, interesting13:22
ShadowJKWhen you update a single program, you can turn that program off..13:23
ShadowJKor even if it's running, you're just replacing a single program, not half the OS, so the extra disk space used until the program shuts down is minimal anyway13:24
recalcatiok. it is 6MB/S a possible MMC writing speed?13:25
ShadowJKunder ideal conditions :)13:25
recalcatiyes, maybe less in real one?13:25
ShadowJKBig things like easy-debian would do better by setting swappiness to 1 before doing the big imagefile creatiion and extracting of files13:26
recalcatiso I guess you are killing many processes, or you are helped by swap (extendeing ram with mmc) and than you are proceeding with downloading many .deb files and then installing them with dpkg .. ?13:28
recalcatiIt seems that easy-debian it is not the native update firmware protocol of N900, but a new application manager13:30
recalcatiI'll download the source code and see how it works13:34
*** alvaro__ has joined #maemo-devel13:44
recalcatiShadowJK: thank you very much. I'll keep you updated, if you want, about my development13:45
*** recalcati has quit IRC13:48
*** Rarok has quit IRC14:15
*** alvaro__ has quit IRC14:24
*** lizardo has joined #maemo-devel14:33
*** alvaro__ has joined #maemo-devel14:35
*** madsy has joined #maemo-devel15:19
*** madsy has joined #maemo-devel15:19
*** ppenz has quit IRC16:35
*** lmoura has quit IRC17:16
*** lmoura has joined #maemo-devel17:34
*** SpeedEvil has quit IRC18:21
gregoainteresting. "aptitude update; aptitude dist-upgrade" has worked fine for me for the pr1.2->pr1.3 update. and I still don't understand why it shouldn't work. (given enough space of course)18:27
*** SpeedEvil has joined #maemo-devel18:33
*** pH5 has joined #maemo-devel18:35
*** polac has quit IRC18:42
*** dazo is now known as dazo_afk19:00
*** SpeedEvil has quit IRC19:25
*** jimbroad has joined #maemo-devel19:25
*** SpeedEvil has joined #maemo-devel19:25
*** JPohlmann has quit IRC19:26
*** onen|openBmap has joined #maemo-devel19:29
*** onen|openBmap has quit IRC19:40
*** dazo_afk is now known as dazo19:45
ShadowJKWell it might work sometimes, and it upgrades more stuff than what's supposed to get upgraded20:37
ShadowJKbut it's not designed to work with apt-get20:37
DocScrutinizerit's basically like doing a backup of a running system. Might work but usually something bad happens even if you don't notice instantly, on restore20:43
*** polac has joined #maemo-devel20:44
*** dazo is now known as dazo_afk21:04
*** SpeedEvil has quit IRC21:34
*** SpeedEvil has joined #maemo-devel21:49
ShadowJKWell it's not just that, it's those extra "features" that only work in ham and not apt22:41
*** lizardo has quit IRC22:56
*** SpeedEvil has quit IRC23:03
*** SpeedEvil has joined #maemo-devel23:03
*** gustavo-ferreira has joined #maemo-devel23:18
gregoaShadowJK: what are these extra features? I'm still trying to understand the difference between debian and maemo523:24
gustavo-ferreiraHi all, i was wondering if someone in here could help me on get a title for a really good book on programmin in C on Linux? Although i use linux for about an year and half, i consider myself a newbie on this matter. I know how to program in C, but just the ANSI C. I'm right now with my eyes on this book: http://www.amazon.com/Linux-Programming-Unleashed-Kurt-Wall/dp/0672316072. Could someone suggest if this book is good enough23:47
gustavo-ferreira or if there is a better one? Just remember, it has to be a book for newbie. Thank you in advanced!23:47

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!