IRC log for #maemo-ssu on 20121231

00:04.11*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.141)
00:52.37jonwil~seen pali
00:52.38infobotpali <~pali@Maemo/community/contributor/Pali> was last seen on IRC in channel #maemo-ssu, 2d 13h 32m 26s ago, saying: 'freemangordon, do you know state of portrait keyboard?'.
00:53.51DocScrutinizer05jonwil: maybe you should just post your comments to the general public, pali will likely read them in backscroll/chanlog. Others might be interested and able to help as well
00:55.46jonwilwell its not really comments but some specific questions about changes he made :)
01:02.49*** join/#maemo-ssu joshgillies (~josh@ppp108-33.static.internode.on.net)
01:25.49*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
03:52.40*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
04:03.47*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
05:06.58*** join/#maemo-ssu jonwil_ (~jonwil@27-33-137-199.static.tpgi.com.au)
07:04.10*** join/#maemo-ssu luf (~luf@ip-89-102-208-114.net.upcbroadband.cz)
07:11.12lufmerlin1991: ping
07:45.44*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.141)
07:50.09*** join/#maemo-ssu dhbiker (~dhbiker@APN-122-82-143-gprs.simobil.net)
08:31.39*** join/#maemo-ssu kolp (~quassel@212.255.18.4)
08:40.59Sicelohmm
09:03.50*** join/#maemo-ssu dhbiker (~dhbiker@APN-123-19-22-gprs.simobil.net)
10:27.07*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
11:05.55*** join/#maemo-ssu FIQ|n900 (~FIQ@unaffiliated/fiq)
11:06.45FIQ|n900~changelog
11:06.45infoboti heard changelog is dpkg-deb --fsys-tarfile whatever.deb | tar xOf - '*changelog.Debian.gz' | gzip -d | less
11:07.51freemangordonluf: don't you sleep man? :P
11:25.28freemangordonkerio: going to try to thumb-compile libjpeg, any idea for benchmarks?
11:26.33freemangordonWTF?!?
11:26.57freemangordonno source code ?!?
11:27.24jon_yfreemangordon: libjpeg?
11:27.30freemangordonyep
11:27.47jon_yyou could probably find it as libjpeg6 or jpeg7 in the wild
11:28.41freemangordonjon_y: so? how I am sure the ABI is the same :(
11:29.04jon_ygood point, test it and see if an app crashes :)
11:29.19jon_yor look at the libjpeg headers for clues if there are any
11:29.35jon_yor compare symbols in the lib
11:29.45freemangordonsure, but this is huge amount of work
11:29.48FIQ|n900i wonder what HAM decides is good in terms of battery for maemo updates?
11:29.53*** join/#maemo-ssu NIN101 (~NIN@p5DD28124.dip0.t-ipconnect.de)
11:29.58FIQ|n900say I have a *really* slow connection
11:30.08FIQ|n900will it adjust?
11:30.21FIQ|n900or just try to install as battery runs dry
11:30.37jon_yI don't think it checks
11:31.00FIQ|n900it does check battery before doing a maemo update
11:31.08freemangordon:nod:
11:31.12FIQ|n900but *when*? after or before download?
11:31.19freemangordonbefore
11:31.24freemangordoniirc
11:31.25FIQ|n900genius
11:31.27FIQ|n900or not
11:31.33FIQ|n900well
11:31.37FIQ|n900it should check both
11:31.39freemangordonactually not sure
11:31.53freemangordonit might be after the download
11:32.12FIQ|n900you can stop the update when it downloads
11:32.25FIQ|n900but I don't think you can do other stuff when it do
11:32.37FIQ|n900(as checking the battery)
11:40.15*** join/#maemo-ssu povbot (~supybot@office.pov.lt)
11:40.17*** mode/#maemo-ssu [+v povbot] by ChanServ
11:46.57freemangordonperfect, libjpeg has tons of NEON optimizations made by Nokia, but no source code :(
11:47.38jon_ywhat is the license?
11:48.28jon_yif BSD/Apache, there isn't anything you can do about it
11:48.51freemangordonjon_y: it is even worse
11:49.24jon_y<PROTECTED>
11:49.54freemangordonthe license
11:50.06jon_ywhat is it licensed under?
11:50.51freemangordonit's own license, similar to BSD
11:51.33jon_yyeah, weak copyleft suck
11:51.38freemangordonI found the original code, but NEON patches are missing, ofc
11:52.11jon_ynot sure if asking nicely for the code will net you anything
11:52.42freemangordonfrom deian changelog: "-- Gary Birkett <gary.birkett@collabora.co.uk>  Wed, 10 Jan 2010 14:10:00 +0000"
11:52.50freemangordon*debian
11:52.56freemangordonI'd rather not ask ;)
11:53.34jon_ythe neon code came from debian maintainers?
11:53.48freemangordonthat guy is dead afaik
11:54.08jon_yoh, I did not know that
11:54.49jon_yhttp://forum.meego.com/showthread.php?t=4524
11:54.49*** join/#maemo-ssu tg (~irc@2001:738:2001:2078:0:215:11:82)
11:55.19freemangordonexactly
11:55.31freemangordongonna check what is the situation in meego
11:57.42freemangordonhmm, the same guy that changed maemo patches is the committer to libjpeg-turbo neon optimizations
12:00.38freemangordonwell, seems like patches are there. at least some of them:
12:00.39freemangordonhttp://git.linaro.org/gitweb?p=people/tomgall/meego/libjpeg-turbo.git;a=summary
12:01.38jon_yyou can tell what parts are missing?
12:02.37freemangordonhard to say if anything is missing, I have only patch names from debian/changelog
12:03.33freemangordonand those patches are for libjpeg-turbo, not for libjpeg
12:04.00jon_yare they API/ABI similar?
12:04.14freemangordonI may ask merlin1991 to politely ask Siarhei Siamashka for the original patches
12:04.27freemangordonjon_y: NFC
12:14.12DocScrutinizer05freemangordon: try to find other collabora (ex-)employess
12:15.02DocScrutinizer05~lcuk
12:15.03infobotwell, lcuk is a mighty good developer, best known for his work on liqbase and helping Nokia with the Identity project during the onedotzero event in London.
12:15.20freemangordonDocScrutinizer05: seems we need to pester that guy ^^^. And there is some :
12:15.22freemangordon+ * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
12:15.22freemangordon+ * Contact: Alexander Bokovoy <alexander.bokovoy@nokia.com>
12:15.35DocScrutinizer05lcuk is dead
12:15.44freemangordon(that guy is Siarhei Siamashka)
12:15.48DocScrutinizer05aah
12:15.59freemangordonhe is the same in debian/changelog
12:16.30freemangordonfor maemo libjpeg neon patches, seems lcuk was just a maintainer
12:16.49freemangordonmerlin1991: ^^^
12:17.11freemangordonI am aware lcuk is dead
12:35.12*** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm)
12:54.59jonwilI always wondered why Nokia didn't open source libjpeg
12:55.25jonwilbut it seems the answer is "because they made nice optimizations to it they didn't want everyone else to have" :)
12:55.35freemangordonyeah :(
12:56.06jonwilSame probably applies to other stuff in SDK non-free like vorbis
12:58.48*** join/#maemo-ssu FIQ|n900 (~FIQ@unaffiliated/fiq)
12:59.12FIQ|n900is >50% really "too little" for HAM?
13:01.48freemangordonkerio: a new thumby bb-power in in the repo
13:01.55freemangordon*is in
13:59.20luffreemangordon: never sleeping man asking me when I sleep? :D
14:01.55luffreemangordon: what about bluez? Is it ok or it doesn't work for you?
14:05.26freemangordonhehe
14:05.41freemangordonno problems so far on my devel device
14:05.48freemangordonbut i didn;t use it much
14:05.58luffreemangordon: is this changelog for libpng ok?
14:05.59luf<PROTECTED>
14:05.59luf<PROTECTED>
14:05.59luf<PROTECTED>
14:05.59luf<PROTECTED>
14:06.15lufOr should I give their your credits?
14:06.24freemangordonluf: pull the latest from gitorious
14:06.29freemangordonI changed it
14:06.47lufRight I tried it last in the morning :)
14:06.52freemangordondebian/changelog that is
14:07.29lufOk.
14:08.08freemangordonluf: BTW if you are going to edit it, don;t increase the vesrsion number please
14:08.11freemangordon*version
14:08.26lufNo I'm not going to change it.
14:08.44freemangordonok. as I already pushed it i -thumb repo
14:08.45lufAs I wrote I checked it in the morning and there were no such change.
14:08.59freemangordonI know, I did it an hour ago
14:11.35freemangordonluf: so, zlib NEON patch brings no benefit?
14:12.41freemangordonBTW what path is optimized - inflation or deflation?
14:12.54luffreemangordon: it brings some benefit. But it's not so big as I hoped.
14:13.06freemangordonwell, every bit helps
14:13.12lufdeflation - for sure. I'm not sure about inflation.
14:13.33lufI'm too bored with all the benchmarks :)
14:13.43freemangordonBTW it might do better with gcc4.7.2, there are some comments in the patch re gcc not doing its best in some loop
14:14.21freemangordonluf: how did you benchmark it?
14:14.28lufI think also the package is -Os (maybe -O<something else> should help too.
14:14.39lufzpipe
14:14.40freemangordonWTF is that?
14:15.17freemangordonyeah, for ARM -02 is the pest
14:15.21lufhttp://pastebin.com/1QWkuSS7
14:15.22freemangordon*best
14:16.11lufifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
14:16.12lufCFLAGS=-O0
14:16.12lufelse
14:16.12luf# By default, optimise for osso
14:16.12lufCFLAGS=-Os
14:16.12lufendif
14:16.26lufThis is from rules ... (from last maemo package).
14:16.45luf... and also in the package I compiled.
14:17.10freemangordonluf: -Os is optimize for speed
14:17.57freemangordonluf: where to find zpipe?
14:18.07lufon zlib.net
14:18.23lufhttp://www.zlib.net/zpipe.c
14:18.30freemangordonok
14:19.25freemangordonanyway, i'll leave that for the next year :D
14:24.33lufSo long time with not supporting maemo? :D
14:24.55lufKeep your time ;)
14:25.06freemangordon:D
14:25.16freemangordonI'm feeling lazy now
14:25.32freemangordonand TBH it is tklock I have to do first
14:25.43lufI'm glad that someone cooperate with me.
14:25.51freemangordonon lazyness?
14:26.00freemangordon:P
14:26.05lufYeah the question of my reboots ...
14:26.15lufAny hint to see what was happen?
14:26.39lufNow the dev N900 keeps running.
14:28.14lufBTW I want to upload zlib (and also recompiled libpng - againist new zlib) into cssu-devel. But I'm not sure if merlin1991 is ok with that. Also I need the patched libxml2 for it ...
14:29.08ShadowJKi thought -Os was size
14:30.31freemangordonShadowJK: could be
14:30.42freemangordonluf: cssu-devel is exactly for that
14:31.12freemangordonthough i'd expect the code to bo on gitorious before .deb lands in cssu-devel
14:31.17luffreemangordon: not if you and merlin1991 and others don't agree with upgrading zlib ;)
14:31.43lufAnd of course git repo (after agreement).
14:32.02freemangordonluf: anyone is against upgrading?
14:32.14lufyou were ...
14:32.27lufdue to libxml2 bug with newer zlib.
14:32.28freemangordonhmm, nooo
14:32.42lufNo way to check all the apps depending on zlib.
14:33.13freemangordonI was not against, I just wanted to know the possible implications
14:33.25luf:)
14:34.06freemangordonluf: i'd say put it in -devel
14:35.03freemangordonluf: keep in mind you have to put libxml there too
14:48.05lufI'll wait for merlin1991 ;) with agreement and also git repo creation.
14:48.30freemangordon:nod:
14:50.13freemangordonluf: re your reboot
14:50.24freemangordoninstall sp-rich-core and upload coredumps
14:50.32freemangordonor debug them yourself
14:50.43keriowhat does the sp- prefix mean?
14:50.53freemangordonNFC
14:51.09kerioit's the same as sp-oops-extract, right?
14:51.21freemangordonsame?
14:52.09freemangordonluf: http://maemo.org/development/tools/doc/chinook/sp-rich-core/
14:52.27freemangordonnot sure if there is an entry for fremantle
14:52.32freemangordonon wiki that is
14:55.18*** join/#maemo-ssu arcean (~Arcean@aafq143.neoplus.adsl.tpnet.pl)
15:00.27freemangordonluf: we should upgrade libpng in microb-engine too
15:00.47freemangordonor tell microb to use system libpng
15:01.55freemangordonhmm, it seems it already uses that]
15:03.18freemangordonhmm, no
15:05.59*** join/#maemo-ssu FIQ|n900 (~FIQ@unaffiliated/fiq)
15:06.43FIQ|n900where can I report bugs in HAM in the read only state? not at all?
15:08.27freemangordonon TMO
15:08.54FIQ|n900hmmmmmmmm
15:09.00FIQ|n900in the cssu thread I suppose
15:12.24FIQ|n900i.e. http://talk.maemo.org/showthread.php?t=80525
15:12.53freemangordonyep, if you are on -testing
15:13.26FIQ|n900well it likely affects all cssu flavours and pre-cssu
15:13.41FIQ|n900but I can't test on anything else than testing
15:13.57freemangordonthis thread should be ok then
15:15.33FIQ|n900also, @ first post, latest is 7, not 5 :P
15:16.19luffreemangordon: what cores are you talking about?
15:16.57freemangordonluf: coredumps
15:17.30freemangordonluf: BTW we may want this http://sourceforge.net/projects/libpng-apng/files/libpng12/1.2.49/ included in libpng
15:17.47freemangordonso we can build microb with system libpng and zlib
15:18.06lufwhat coredumps? I don't see such things. The device crashed and rebooted.
15:18.19freemangordonluf: you need sp-rich-core installed
15:18.27freemangordonread the wiki article
15:18.33FIQ|n900posted the issue
15:19.38freemangordonthanks
15:20.20luffreemangordon: what wiki article?
15:20.35freemangordon<PROTECTED>
15:21.50FIQ|n900freemangordon: should I report apt issues in the same thread?
15:21.59freemangordonyep
15:22.03FIQ|n900ok
15:22.42lufUgh I saw no wiki in the url. I see it and it's for next crash ...
15:23.09luffreemangordon: why we need apng? Any feature request?
15:23.18freemangordonluf: microb needs it
15:23.30freemangordonnow microb uses it own libpng
15:24.00freemangordonif we add apng support in libpng, we can build microb to use system libpng, which is NEON-optimized ;)
15:24.04lufOk. However I vote for step by step ... Test the current libpng+neon patches first.
15:24.04freemangordon(will be)
15:25.11freemangordon:)
15:25.29luffreemangordon: I'm not sure if something segfault ... I think I saw some suggestion about crash info somewhere ....
15:26.03freemangordonluf: install sp-rich-core and make sure you have the correct directories created. as described on wiki
15:26.26freemangordonif you have kenel oops, check in /dev/mtd2
15:26.44luffreemangordon: how to check?
15:27.07freemangordoncat it
15:27.51luf/media/mmc1 is on rootfs?
15:28.02freemangordonno, it is uSD card
15:28.20lufI see no such thing in mount ...
15:28.32freemangordondo you have uSD
15:28.34freemangordon?
15:28.51lufNo if it's additional card.
15:29.17freemangordonadditional card?
15:29.22freemangordonmicro SD
15:30.09lufShould it be next to camera lens?
15:30.25lufI don't put any uSD. I have N900 as I bought it.
15:30.44freemangordonif you don't have micro SD card in the device, you should create the directory somewhere in /home/user/
15:31.00freemangordonnot sure exactly ehere though
15:31.23lufNo problem I'll symlink it to /media/mmc1/code-dumps
15:31.40*** join/#maemo-ssu FIQ|n900 (~FIQ@unaffiliated/fiq)
15:31.46freemangordonluf: don;t
15:31.57freemangordoncreate it in /home/user/MyDocs
15:32.05FIQ|n900"not enough battery" with battery over 50%... ok
15:32.20lufmkdir /home/user/MyDocs/core-dumps/
15:32.25freemangordonand run some application that crash (segfaults for example)
15:32.30freemangordonyep
15:32.33FIQ|n900not my fault if apt takes an hour (literally) to load all packages subject to update lol
15:32.57freemangordonluf: make sure you have as many debug packages installed as possible
15:33.10FIQ|n900s/apt/HAM/
15:33.29luffreemangordon: It's like space shuttle launch :D
15:33.40freemangordonluf: only the first time :P
15:33.51lufI have no apps which segfault :D
15:33.58freemangordoncompile one :P
15:34.18FIQ|n900"let's break stuff intentionally" :3
15:34.26lufUgh and you said you're the lazy one? :D I see you don't know me.
15:34.30freemangordon(int*)NULL = 'lif';
15:34.39freemangordonoops
15:34.42freemangordon(int*)NULL = 'luf';
15:34.48freemangordon*(int*)NULL = 'luf';
15:35.10FIQ|n900"oops, made something which actually works"
15:35.20freemangordonhehe
15:35.35FIQ|n900wow
15:35.41FIQ|n900disabled devel
15:35.55FIQ|n900and apt took 5min instead of 1h to load updates
15:36.19FIQ|n900though i'll still have to wait for other battery to charge
15:37.35*** join/#maemo-ssu FIQ|n900 (~FIQ@unaffiliated/fiq)
15:39.46lufstrange the example from wiki doesn't crash :D
15:40.35freemangordonwhaat?
15:40.40lufOk I get it.
15:40.51lufAnd I see .lzo in core-dumps in MyDocs ...
15:40.57freemangordongreat
15:41.01freemangordonthat's it
15:41.03lufI used -O2 to be faster :D
15:41.13freemangordonnow you need sp-richcore-extract :P
15:41.32lufHmmm I have to leave now.
15:41.42freemangordonhttp://maemo.org/development/documentation/man_pages/rich-core-extract/
15:41.50freemangordonok
15:41.59lufSo happy new year ;) And of course a lot of enthusiasm for maemo ...
15:42.11freemangordonthe same for you
15:42.21freemangordon:P
16:09.58*** join/#maemo-ssu FredrIQ|n900 (~FIQ@unaffiliated/fiq)
16:44.09*** join/#maemo-ssu AndrewX192 (~andrew@002369d5e799.click-network.com)
16:44.09*** join/#maemo-ssu AndrewX192 (~andrew@unaffiliated/andrewx192)
17:05.09DocScrutinizer05kerio: sp-rich-core and sp-oops-extract are completely different tools
17:06.15kerioi figure
17:10.47*** join/#maemo-ssu FIQ|n900 (~FIQ@unaffiliated/fiq)
17:10.55DocScrutinizer05((<freemangordon> and run some application that crash (segfaults for example))) killall -SIGBUS app
17:11.11FIQ|n900ah, seems HAM check both before and after download
17:11.21FIQ|n900anyway
17:11.37FIQ|n900does HAM and battery indicator use different ways of determing charge?
17:11.58FIQ|n900indicator showed 70%ish before download, HAM accepted and started dl
17:12.18FIQ|n900then refused to update once downloaded, battery still shows 70%ish
17:12.50DocScrutinizer05HAM may use a simplified methos not depending on HAL
17:13.07DocScrutinizer05like probing raw bat voltage for example
17:13.37DocScrutinizer05at least that's what NOLO does for deciding to allow flashing
17:13.43DocScrutinizer05afaik
17:13.57FIQ|n900ok
17:15.24FIQ|n900have HAM deleted downloaded file now? -.-
17:15.32FIQ|n900or will it actually use what it downloaded earlier
17:16.26FIQ|n900assuming a new update isn't out the next time I try (a hour or so from now)
17:16.44DocScrutinizer05I doubt it's that smart
17:16.57FIQ|n900:(
17:17.02kerioDocScrutinizer05: nah, it probably just asks hald
17:17.19FIQ|n900then trying to update up here is just a waste of time
17:17.20keriootherwise it wouldn't work if you had pali's replacement
17:17.34kerioDocScrutinizer05: otoh, apt caches do exist
17:17.38FIQ|n900and then I should wait before proper connection again
17:17.44kerioFIQ|n900: check /home/.apt-archive-cache
17:18.05DocScrutinizer05also check HAM settings in redpill mode
17:18.07FIQ|n900assuming you mean /home/opt?
17:18.17FIQ|n900DocScrutinizer05: which setting exactly?
17:18.19kerioassuming is bad
17:18.20DocScrutinizer05I seem to recall a "delete cache" option
17:18.25kerioit makes an ass out of u and some poor guy named ming
17:18.39kerioi meant /home/.apt-archive-cache
17:18.46DocScrutinizer05kerio
17:18.48DocScrutinizer05nope
17:18.55FIQ|n900nothing there
17:19.08DocScrutinizer05you meant ~user/.apt-archive-cache I guess
17:19.09FIQ|n900and placing it in /home sounds weird in general
17:19.22kerioDocScrutinizer05: just check it, dawg
17:19.39FIQ|n900also I don't have any of these directories
17:19.45FIQ|n900er
17:20.03FIQ|n900*also I don't have this in /home, ~ or /opt
17:20.08kerio\_o_/
17:20.15DocScrutinizer05IroN900:~# locate .apt-archive-cache
17:20.17DocScrutinizer05locate: Warnung: Die Datenbank "/var/cache/locate/locatedb" ist älter als 8 Tage (Das Alter ist 99,0 Tage).
17:20.18DocScrutinizer05/home/user/MyDocs/.apt-archive-cache
17:20.19DocScrutinizer05/home/user/MyDocs/.apt-archive-cache/lock
17:20.21DocScrutinizer05/home/user/MyDocs/.apt-archive-cache/partial
17:20.22DocScrutinizer05/rescue/.apt-archive-cache
17:20.39FIQ|n900yes I have it there
17:20.45kerioweird
17:20.49keriowhy do i have that in /home then
17:20.56FIQ|n900well maybe at least
17:21.02FIQ|n900the directory is there :p
17:21.16FIQ|n900and contain lots of .deb files
17:21.58FIQ|n900[18:18:20] <DocScrutinizer05> I seem to recall a "delete cache" option
17:22.19FIQ|n900"Clean apt cache" you mean?
17:22.25DocScrutinizer05yup
17:22.29FIQ|n900I have an option like that
17:22.34DocScrutinizer05might be related, no?
17:22.37FIQ|n900And it's checked
17:22.41FIQ|n900yeah
17:22.57FIQ|n900but uhh
17:23.05FIQ|n900it doesn't seem to work
17:23.23FIQ|n900as even if it's checked, I have lots of .deb files in the archive directory
17:23.44DocScrutinizer05so maybe it's sth different
17:24.44FIQ|n900but this is odd
17:24.53FIQ|n900latest .deb is downloaded dec 25
17:24.54FIQ|n900ie last week
17:24.55DocScrutinizer05I seem to recall there been /var/apt/cache or sth as well
17:25.04DocScrutinizer05once a few years ago
17:25.17FIQ|n900but I also have a "partial" directory, latest modified 15min ago
17:25.28FIQ|n900but it's empty
17:26.11DocScrutinizer05I once suggested to clean it, and that dude wanted to kill me for that suggestion
17:27.08DocScrutinizer05<PROTECTED>
17:27.27DocScrutinizer05<PROTECTED>
17:27.33FIQ|n900DocScrutinizer05: assuming /var/cache/apt, that directory seems to exist
17:27.44FIQ|n900but it was modified a long time ago
17:28.14DocScrutinizer05<PROTECTED>
17:28.29DocScrutinizer05well, the last one been silly
17:28.54kerioDocScrutinizer05: which dude wanted to kill you for that? :O
17:29.05FIQ|n900correction: the directory was modified today for 2h ago, but I misread
17:29.11FIQ|n900-but
17:29.28DocScrutinizer05the dude on IRC who *NEEDED* his device resurrected til next morning
17:29.55DocScrutinizer05but uptdate to PR1.1 failed with usual "use Nokia suite"
17:30.52FIQ|n900"resurrected" "update to PR1.1" wut?
17:30.53DocScrutinizer05I was silly enough to not clearly explain what I meant with "clean it"
17:31.17DocScrutinizer05FIQ|n900: loooong ago
17:32.45DocScrutinizer05btw get locate, it's cooolman!
17:33.19DocScrutinizer05and since my patch even updatedb works
17:35.07FIQ|n900locate being in repos?
18:31.00DocScrutinizer05yup
18:31.44DocScrutinizer05I think it's not in findutils pkg anymore, but rather own pkg. maybe not
18:33.33DocScrutinizer05findutils-gnu - utilities for finding files--find, xargs
18:33.35DocScrutinizer05locate - maintain and query an index of a directory tree
18:33.51DocScrutinizer05locate need findutils
18:34.39DocScrutinizer05I patched updatedb by adding one char "g" ;-D
18:34.55DocScrutinizer05so now it works with gnu-find
18:35.16DocScrutinizer05messybox find is brainfsckd as usual and doesn't work for updatedb
18:35.31FIQ|n900:P
18:35.41DocScrutinizer05that patch been moved to repo eventually
18:37.47DocScrutinizer05fires up a manual updatedb, just for the fun of it (I didn't feel like setting up a cron job for that)
18:38.57FIQ|n900Hmmm
18:39.08DocScrutinizer05hmmm?
18:39.20FIQ|n900nbm
18:39.21FIQ|n900*nvm
18:40.00DocScrutinizer05IroN900:~# time updatedb
18:40.02DocScrutinizer05<PROTECTED>
18:40.03DocScrutinizer05real    1m28.969s
18:40.05DocScrutinizer05user    0m49.398s
18:40.06DocScrutinizer05sys     0m17.164s
18:40.13DocScrutinizer05not half as bad as I anticipated
18:56.37*** join/#maemo-ssu FIQ|n900 (~FIQ@unaffiliated/fiq)
18:56.50FIQ|n900hm
18:56.58FIQ|n900something odd happened
18:57.33FIQ|n900instead of simply rebooting postupdate, HAM gave a two-line notice that I didn't manage to read before it rebooted
18:58.21FIQ|n900"The operating system has been updated. The device will reboot. Errors(...)" it said (something like it at least)
18:58.38FIQ|n900Did an error occur or what? Couldn't really read all of it lol
19:03.14DocScrutinizer05find /var ~user/MyDocs/ -mtime 1
19:06.28FIQ|n900also once I moved some stuff from home to mydocs
19:06.36FIQ|n900er wrong channel
19:07.17DocScrutinizer05find /var ~user/MyDocs/ -mtime 1 -ls 2>/dev/null
19:07.58DocScrutinizer05hope you'll be able to spot something in there that has logs about that "error"
19:08.29DocScrutinizer05or otherwise indicates what went wrong
19:08.38FIQ|n900nothing
19:08.56DocScrutinizer05sth in syslog?
19:09.19DocScrutinizer05not at end but before or immediately after last boot
19:09.48FIQ|n900where is this?
19:10.54DocScrutinizer05<PROTECTED>
19:10.55DocScrutinizer05in less
19:11.34DocScrutinizer05less '+/syslog.*restart' /var7log7syslog
19:11.41DocScrutinizer05err
19:11.47DocScrutinizer05s/7///
19:12.11FIQ|n900no such file
19:12.24DocScrutinizer05hmm, then you got no syslog running
19:12.27FIQ|n900(and yes I corrected your spelling)
19:12.42DocScrutinizer05if you used / unstead 7
19:12.57FIQ|n900yes, / instead of 7
19:13.05FIQ|n900was what I meant :p
19:13.37DocScrutinizer05then you're probably out of luck to find any info about what happened
19:13.43FIQ|n900oh well
19:13.49FIQ|n900hopefully it was all ok
19:14.42DocScrutinizer05you could search whole device for new files
19:14.50DocScrutinizer05might take a while
19:15.04DocScrutinizer05find / -mtime 1 -ls 2>/dev/null
19:19.24FIQ|n900not worth the effort imo
19:19.27*** join/#maemo-ssu kolp (~quassel@212.255.18.4)
19:19.32FIQ|n900because I've noticed nothing wrong
19:20.51DocScrutinizer05sth odd with my shell foo
19:21.29DocScrutinizer05above line doesn't find my /var/log/syslog despite Modify: 2012-12-31 20:00:09.000000000 +0100
19:21.57DocScrutinizer05actually above line doesn't find *anything*
19:22.04DocScrutinizer05:-S
19:22.19DocScrutinizer05is going to retire
19:22.43DocScrutinizer05nah, not really since at least on my laptop it works as expected
19:23.08DocScrutinizer05nfc what idiocy is built in to maemo again
19:23.17FIQ|n900busybox find?
19:25.05DocScrutinizer05IroN900:~# find --version
19:25.06DocScrutinizer05find (GNU findutils) 4.4.2
19:25.15DocScrutinizer05N*F*C
19:25.15FIQ|n900ok
19:26.09DocScrutinizer05MEH!!!!
19:26.14DocScrutinizer05-mtime -1
19:26.20DocScrutinizer05WTF?!
19:27.09*** join/#maemo-ssu kolp (~quassel@212.255.18.4)
19:27.18DocScrutinizer05<PROTECTED>
19:27.19DocScrutinizer05<PROTECTED>
19:27.49DocScrutinizer05which idiot changed sematics of -mtime in gnu-find?
19:31.46FIQ|n900lol
19:33.08DocScrutinizer05would you agree that there's not written "File's data was last modified <now>+n*24 hours" ?
19:40.08DocScrutinizer05ok, you cheered too soon, I won't retire. Will bash the shit out of somebody instead ;-P
19:41.44Raimu:)
19:42.07DocScrutinizer05at least if that individual changed -mtime semantics on purpose
19:42.48*** join/#maemo-ssu Estel_ (~Estel@178235127192.piaseczno.vectranet.pl)
19:42.48*** join/#maemo-ssu Estel_ (~Estel@Maemo/community/contributor/Estel-)
19:43.26DocScrutinizer05it took me like 3 years to wrap my mind around that somewhat weird semantics of "n*24h ago", now somebody going to change it???
19:44.45Estel_quick question to CSSU team, if you don't mind
19:45.34Estel_last version (again) changes things related to initial system boot - /usr/lib/genfstab (as before), and /etc/event.d/rcS-late, in particular
19:45.48DocScrutinizer05I'm afraid we'll get into same old discussion about your notion of "CSSU team" not in line with reality
19:46.52Estel_as person using different filesystem for /home, I had, obviously, to change ext3 to ext4 in those two files (and overall, to bring personal modifications of rcS-late to new one)
19:47.12ShadowJKoh hai estel, long time no see :)
19:47.14Estel_now, my question:
19:47.23Estel_hello ShadowJK :) nice to see you still here
19:47.58Estel_well, in fact, I was lurking here all the time, just haven't had time nor will to talk
19:48.06Estel_as for question...
19:48.31Estel_is there any other thing/config option/file/whatever, that users of different filesystems (than ext3) should consider...
19:48.51Estel_while using latest CSSU (thumb variant, in particular, but it shouldn't matter in this case)
19:48.56Estel_?
19:49.08ShadowJKwas considering switching to ext4
19:49.24ShadowJKlast time I benchmarked, ext4 looked nice on flash
19:49.29ShadowJKnucer than ext3, that is
19:49.47Estel_is using ext4 happily, for ages
19:49.58DocScrutinizer05basically it was much desirable when standard CSSU files as mentioned above would already take care about non-default filesystems
19:50.00*** join/#maemo-ssu NIN101 (~NIN@p5DD28124.dip0.t-ipconnect.de)
19:50.11Estel_yea, benchmarks look nice. I dont't feel "obvious" improvements in real life, though - for sure no regressions, still
19:51.09DocScrutinizer05if they don't, it could be considered a valid bug
19:51.13DocScrutinizer05against CSSU
19:51.30ShadowJKProbably ext4 and also fixing sqlite would bring a major reduction in jitter and stutter
19:52.28Estel_fun fact - last time CSSU update put ext4/reiserfs into reboot loop, I was the one who reported reasons for it (found them during debugging session with freemangordon, as I was blaming CSSU). Now, months later, when installing CSSU on family member's device, I was hit ny reboot loop - just to find out, after day of searching, my own report about reasons :P
19:52.53Estel_ShadowJK,  define fixing sqlite?
19:53.52Estel_also, I've heard about some parameters via tuenefs, that we should set to make ext4 even more efficient in our device's case... (ones that work only on ext4, not older ext's), but never tried them
19:54.08Estel_something about fragments and blocks? /noob mode
19:54.14FIQ|n900what about disabling journal
19:54.37ShadowJKFIQ|n900; no
19:54.43FIQ|n900ok
19:54.52ShadowJKif anything, we want an absolutely massively humongous journal
19:54.58FIQ|n900i've heard there's no point on it in n900
19:55.17DocScrutinizer05btw the above question is a tad fuzzy and hard to answer, at least it's not exactly related to CSSU
19:55.25DocScrutinizer05(any other files)
19:55.25Estel_well, journal saved my as* dozens times
19:55.41ShadowJKWell, none of the file integrity procedures in any filesystem (besides ubifs) works on flash anyway
19:55.47Estel_well, I mean only files related to last CSSU update
19:56.15Estel_I've found two files mentioned above, that need manual tweaking from recovery shell to allow device boot...
19:56.21FIQ|n900..then why should you keep it?
19:56.28FIQ|n900@ ShadowJK
19:56.44DocScrutinizer05file a bug, they should allow boot from arbitrary filesystems when we already touch them
19:56.48Estel_still, no idea, if I should also change something else, to avoid non-critical (not putting me into bootloop) functions of latest cssu update
19:56.51ShadowJKSo journal or no journal from file integirty point of view probably makes little difference, although having journal present stops fsck, and fsck gets confused by flash dropping random megabytes here and there
19:57.11FIQ|n900ok
19:57.35ShadowJKBut journal is written sequentially, which gives us speed boost. Of course, later when journal is comitted we take the penalty for writing non-sequential..
19:57.57Estel_DocScrutinizer05,  I can, but wasnt it you who replied - last time - that CSSU won't ever support different filesystems, officially?
19:58.16DocScrutinizer05ShadowJK: the trick is to write-back  journal during times when system is idle
19:58.46DocScrutinizer05err, if anything I answered CSSU can't support user mods on system files
19:59.13ShadowJKAs for sqlite, same thing really, allegedly for harmattan/meego they were investigating a mode that essentially made sqlite journal-only
19:59.14DocScrutinizer05which might sound similar to your ears
19:59.37Estel_ShadowJK,  what you have written may be reason, why my home gest TOTALLY fcked sometimes, when small thing gets wrong (i.e. one file get busted wrong way by crash, and fsck gest confused = wipe out half of my inodes)?
19:59.53ShadowJKFor sure, sqlite writing one row/record/whatever and calling fsync 5 times takes about 5 secs
20:00.13Estel_(then fail to repair anything, as e2fs is ancient on N900, and segfaults during restoration phase...)
20:00.16DocScrutinizer05if I actually answered CSSU will never support non-default filesystems then I uttered BS
20:00.17ShadowJKYeah I tried fsck on /home once, big big mistake :)
20:00.21FIQ|n900speaking of fsck, is fscking MyDocs safe?
20:00.30ShadowJKif it's unmounted
20:00.48FIQ|n900well it isn't but i was going to umount it before doing it so.. :p
20:01.45DocScrutinizer05fsck of MyDocs never really worked, it takes AGES
20:02.02DocScrutinizer05like... DAYS
20:02.17Estel_well, ShadowJK, guy named BadHabit released, one, actual Debian's e2fsprogs (that don't segfault on N900) - but, still, it won't work *really* well on N900, due to flash?
20:02.24FIQ|n900DocScrutinizer05: hmm..
20:02.26Estel_DocScrutinizer05,  hm?
20:02.32ShadowJKEstel_; I'd say so
20:02.34FIQ|n900i was going to remove bogus files in mydocs
20:02.40FIQ|n900which it didn't allow me to
20:02.46Estel_I'm doing fsck.vfat /dev/mmcblk0p1 many times (MyDpocs unmounted)
20:02.49FIQ|n900due to "IO errors"
20:02.52Estel_never got any problems with it?
20:03.19DocScrutinizer05well, it might work occasionally, depending on amount of mess and number of files there
20:03.19ShadowJKFIQ|n900; check dmesg also for physical io errors :s
20:03.39DocScrutinizer05problem is RAM for fsck
20:03.49DocScrutinizer05eventually enters swap hell
20:04.01DocScrutinizer05then everything comes to a grinding halt
20:04.47DocScrutinizer05while fsck on a clean fs should usually work
20:04.51FIQ|n900ShadowJK: "[ 4910.734466]     invalid access to FAT (entry 0x350d7ff6)" like these?
20:04.52ShadowJKI think I've only done it via pc
20:05.02ShadowJKthose are filesystem errors
20:05.12DocScrutinizer05via PC should work
20:05.40FIQ|n900this started by a system freeze when I mv-ed some files from ~
20:05.45Estel_hm, I remember fsck.vfat repairing errors on my microSD vfat, once.  Never took ages. Any community project touched fsck.vfat?
20:06.12FIQ|n900"[ 4910.734436] FAT: Filesystem error (dev mmcblk0p1)" is shown numerous times when I ls the directory
20:06.18Estel_also, keep in mind that I have radically uncommon swap settings ( ShadowJK would sympatize)
20:06.27DocScrutinizer05as explained above it depends on swap usage and number of errors to fix
20:06.37ShadowJKhas swap+ext3 on uSD :-)
20:06.42DocScrutinizer05uSD has a hw interface independant of swap
20:07.02ShadowJKgpodder's .gpodder on uSD too, so that /home is idle when gpodder downloads to Mydocs :)
20:07.31Estel_:) 2x 2GB swap on microSD (only one used at once), and very uncommon settings re swap I/O, batching, etc
20:07.52FIQ|n900also now by listing the directory, MyDocs seems to have remounted to read-only
20:08.05FIQ|n900s/listing/removing/ (trying to)
20:08.26DocScrutinizer05FIQ|n900: use mass storage mode, do fsck from PC
20:08.54DocScrutinizer05I never did it but I heard it works, and usually flawlessly
20:09.04Estel_well, anyway, my question about any other things related to different (than ext3) filesystem present on device, and last cssu release, still apply. I wonder who touched upstart and ke-recv in last CSSU?
20:09.10Estel_ke-recv is for sure Pali's work
20:09.30FIQ|n900"FATs differ but appear to be intact. Use which FAT ?" what?
20:09.35FIQ|n900DocScrutinizer05: hmm
20:09.58DocScrutinizer05FIQ|n900: difficult
20:10.03Estel_noticed new panic settings in rcS-late, merged them with my rcS-late. obviously, updated genfstab. I wonder, if something else should be considered.
20:10.19ShadowJKFIQ|n900; you've got a backup of before-fsck, right..
20:10.24Estel_FIQ|n900,  most of the times, use older one
20:10.58FIQ|n900ShadowJK: tbh no, as I don't really have anything important in it
20:11.15FIQ|n900unless maemo settings go there, which I was unaware of if it did
20:11.21Estel_being scientifically curious about results?
20:11.29ShadowJKHeh, has that "fsck if mount fails" in rcS-late always been there, or is that cssu?
20:11.43DocScrutinizer05FIQ|n900: my suggestion: copy everything to PC, mkfs.vfat, copy PC->MyDocs
20:11.45Estel_always been there
20:12.16DocScrutinizer05ShadowJK: I already blamed a massive bug about it
20:12.45FIQ|n900"copy everything to PC" as in, dd-ing the fs to a file?
20:12.46DocScrutinizer05it doesn't show ANY idication to user about fsck ongoing and possibly slowing down boot to minutes or hours
20:13.32DocScrutinizer05FIQ|n900: copy as in cp -a
20:14.02ShadowJKWell also in my experience fsck is more harmful than no fsck :s
20:14.15DocScrutinizer05FIQ|n900: dd would also copy the borked fs metainfo
20:14.16ShadowJKmaybe fsck was added after optification stuff
20:14.19Estel_exactly
20:14.28Estel_especially which parts of procedure segfaulting ;)
20:14.36Estel_always segfaulting, btw
20:15.01FIQ|n900DocScrutinizer05: that's my point, wasn't the goal to clean the fs on computer?
20:15.14DocScrutinizer05if fsck.ext2 is segfaulting, please rise a bug against CSSU, it needs to get fixed
20:16.04DocScrutinizer05FIQ|n900: nah, copy stuff to PC, mkfs on N900, copy stuff back to N900 to the virgin fs
20:16.21FIQ|n900got it
20:16.34DocScrutinizer05will fix fs as well as defragment and create a backup on PC
20:16.54FIQ|n900though i'll wait a while and eventually come back asking next week as I don't have computer here
20:16.57DocScrutinizer05and most likely be faster than fsck
20:17.11FIQ|n900and just try to avoid using mydocs meanwhile
20:17.17DocScrutinizer05well, then try fsck
20:17.20DocScrutinizer05on device
20:17.24FIQ|n900now?
20:17.27FIQ|n900ok
20:17.34DocScrutinizer05abort if it fails to finish in ~30min
20:18.01FIQ|n900FATs differ but appear to be intact. Use which FAT ? -- what does this mean?
20:18.08FIQ|n900(I rarely if ever use fsck)
20:18.21DocScrutinizer05there are FAT copies, if one fails
20:18.25FIQ|n9001:use first FAT, 2:use second
20:18.30Estel_well, there are certain cases, when another sub-program need to be called
20:18.36Estel_something about lost+found?
20:18.44Estel_it's part of fsck procedure in this case
20:18.58ShadowJKfsck would call fsck.ext3
20:19.03Estel_so, it doesn't fail *always*, it segfault when fsck try to repair serious things
20:19.05DocScrutinizer05FIQ|n900: up to you which to use, probably 1st is the one which alreeady has files deleted
20:19.05ShadowJKbut that's about it afaik
20:19.13DocScrutinizer05while 2nd hasn't yet
20:19.18Estel_ShadowJK,  then 2nd pass comes
20:19.40Estel_damn how was it called
20:19.46Estel_gimme a sec
20:19.51FIQ|n900hmm wait, battery low
20:20.00FIQ|n900i'll screw this for the coming 20min
20:20.10DocScrutinizer05charger?
20:20.29FIQ|n900I use an external charger
20:20.29DocScrutinizer05or broken USB?
20:20.37DocScrutinizer05aah :-/
20:21.16FIQ|n900well i have 2 batteries, so just waiting until this one dies before switching and resuming trying to fix mydocs
20:21.38*** join/#maemo-ssu NIN101 (~NIN@p5DD28124.dip0.t-ipconnect.de)
20:22.52DocScrutinizer05Estel_: I'm not aware of any other files that would need special care when fs-type of /home got changed
20:23.20DocScrutinizer05for fs-type of MyDocs you might need to check the scripts that export mass storage
20:23.39Estel_thanks. Yea, aware of mydocs (using fat there, anyway)
20:23.45DocScrutinizer05yw
20:23.47Estel_e2fsck
20:23.52DocScrutinizer05no warranty though
20:23.53Estel_this segfaults on 2nd pass
20:24.07Estel_if directories/files need 2nd pass
20:24.17DocScrutinizer05I'll blame werner almesberger ;-P
20:24.31Estel_damn, I'm quite bad at explaining it. Go, make backuo, then do a mess in filesystem and try fsck on device :P
20:25.10DocScrutinizer05ehmmm, maybe I already did?
20:25.29DocScrutinizer05(blame wpwrak)
20:25.59DocScrutinizer05seem to recall discussions with him about bugs in fsck
20:26.12DocScrutinizer05oooh, fsck.vfat
20:26.19DocScrutinizer05iirc
20:26.31Estel_I would quote exact way to replace faulty Maemo's version with debian one, but *of course* I can't scroll my PM box to second page, on device, due to awesome TMO theme, supporting 1024 as lowest
20:26.45Estel_and cutting half of buttons, no matter of zoom
20:26.56DocScrutinizer05>>dosfstools  were  written by Werner Almesberger<<
20:27.09DocScrutinizer05man fsck.vfat
20:27.44DocScrutinizer05>>This version of e2fsck was written by Theodore Ts'o<<
20:36.56*** join/#maemo-ssu FredrIQ|n900 (~FIQ@unaffiliated/fiq)
20:36.58FredrIQ|n900well ok
20:37.02FredrIQ|n900battery died
20:37.14FredrIQ|n900now to fsck MyDocs
20:42.56FIQ|n900wow MyDocs seem to be really messed up
20:44.11FIQ|n900after a while of asking whether to drop files with bad names, it ended up asking "Free cluster summary wrong (257837 vs. really 262121)" and prompted for correct or don't correct
20:44.27FIQ|n900both answers led to aborting the operation completely
20:45.53FIQ|n900the last output from it before this was "  Start cluster beyond limit (4294967295 > 442378). Truncating file."
20:48.42FIQ|n900so DocScrutinizer05 what do you suggest?
20:49.04*** join/#maemo-ssu Estel_ (~Estel@178235127192.piaseczno.vectranet.pl)
20:49.04*** join/#maemo-ssu Estel_ (~Estel@Maemo/community/contributor/Estel-)
20:58.26FIQ|n900another question
20:58.37FIQ|n900is user settings stored in MyDocs or just media data?
20:58.52kerioapplication-dependent
20:59.01keriousually in ~/.something
20:59.12FIQ|n900because if it's the latter I might as well backup critical stuff (i.e. backupmenu entries for example) and just reformat
20:59.30FIQ|n900hmm ok
20:59.52FIQ|n900I tried fsck -a atm
21:00.16FIQ|n900because that one allowed me to proceed after that odd question which simply aborted no matter what I did
21:00.23keriorun backupmenu or rescueos, export the whole emmc via mass storage, fsck from a computer
21:00.32FIQ|n900broken usb
21:00.55FIQ|n900and no computer access atm anyway
21:10.05FIQ|n900ok after 10min fsck -a exits with error: "Unable to create unique name"
21:11.33DocScrutinizer05FIQ|n900: you have a uSD?
21:13.01FIQ|n900hmm
21:13.09FIQ|n900yes but not sure if inserted
21:13.09FIQ|n900sec
21:13.37FIQ|n900no
21:13.38FIQ|n900then I don't have it
21:13.45FIQ|n900(unless I wait a week)
21:14.30DocScrutinizer05copy everything (that still exists after that fsck run) to uSD (don't forget to take care about unfreezing measures for large cop^K
21:15.50FIQ|n900I don't think fsck has done anything at all..
21:16.05FIQ|n900it simply exited with no apparent operation
21:16.27FIQ|n900DocScrutinizer05: no uSD until 6th
21:16.36ShadowJKi think it needs -w to actually do stuff :)
21:16.40FIQ|n900also anti-freeze is already in place
21:17.03FIQ|n900uhm default is "simulate"?
21:17.06FIQ|n900or? :p
21:19.23FIQ|n900ah it does figure what to do first, then write to disk
21:19.25ShadowJKi seem to remember it's funny
21:19.31FIQ|n900but as it failed, nothing altered
21:20.00FIQ|n900unless -w (write immediately) is set
21:20.21DocScrutinizer05o/
21:20.26DocScrutinizer05and happy new year
21:20.44FIQ|n900same
21:20.53FIQ|n900so..
21:20.57FIQ|n900hm
21:21.22FIQ|n900i'm kinda stuck in current state atm as I'm not home
21:26.44FIQ|n900also interesting is that MyDocs seems mostly intact, as I discovered the corruption just now (I used to think it simply copied half of the stuff then nothing)
21:27.03FIQ|n900which is a month since i did this...
21:27.50FIQ|n900and mydocs is in rw unless I show or try to modify these files
21:28.22FIQ|n900so imo it *should* be possible to solve just by removing them (which seems impossible)
21:32.27*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
21:36.48FIQ|n900or should have been*
21:37.09FIQ|n900as it was a long time ago, fs becomes more messed up
21:46.33FIQ|n900problem appears to be solved by fsck -w
21:47.14FIQ|n900and by the looks of it, file system still contains the stuff I'm interested in (besides the file I mv-ed last month, but that was kind of obvious)
21:48.21FIQ|n900reason for my willing to continue fix even though I risk have lost stuff is that I didn't want to damage the fs even more by continuing to use it
21:56.42DocScrutinizer05congrats
21:58.32FIQ|n900ty
22:36.51*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
22:37.51jonwil~seen pali
22:37.55infobotpali <~pali@Maemo/community/contributor/Pali> was last seen on IRC in channel #maemo-ssu, 3d 11h 17m 43s ago, saying: 'freemangordon, do you know state of portrait keyboard?'.
23:18.52*** join/#maemo-ssu FIQ|n900 (~FIQ@unaffiliated/fiq)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.