IRC log for #maemo-ssu on 20130321

00:06.26*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
00:24.42*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
00:31.41*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
00:43.32*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
01:02.29*** join/#maemo-ssu unclouded (~neil@2001:4428:200:80fc:5d9d:7ef0:e702:9e9e)
02:21.02*** join/#maemo-ssu kolp_ (~quassel@212.255.237.78)
03:13.56*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
03:30.41*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
04:03.40*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
04:12.47Estel_no plans for shuttding down (hiding) extras-devel light, to make people resync with main repos again?
04:12.53Estel_sound like fragmentation
04:13.07Estel_btw, 10+ packages got build already
04:13.12*** join/#maemo-ssu M13 (~Miranda@83.149.35.53)
04:14.19Estel_including [shameless advert] nicest and greatest, like new build of bnf [/shameless advert] :P
04:53.25*** join/#maemo-ssu wumpwoast (~jcassidy@63.251.248.156)
05:38.59*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@120.85.133.181)
05:42.19*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
07:31.09*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-86-49-81-87.net.upcbroadband.cz)
07:35.30*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
07:49.10freemangordonguys, help :) http://talk.maemo.org/showpost.php?p=1330432&postcount=143
08:09.25*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
08:32.31*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
08:57.41Estel_kerio,  dpkg -r hald-addon-bme is enuff to avoid device shutdown, when using replacement bme?
08:57.51kerioi don't think so
08:57.54kerioyou have to restart hal
08:57.59kerioto unload hald-addon-bme
08:59.29Estel_osso-actdead also wants to harakiri itself
08:59.33Estel_when no hald-addon-bme
08:59.52Estel_I hope it doesn't bork reboot ;)
09:00.28Estel_erm, hal restart = hald restart?
09:00.34Estel_kerio ^
09:00.40kerioidk
09:06.55Estel_freemangordon,  you've said that new pixman, even with your changes, performs "almost" as good as old one
09:07.01Estel_what are benefits of new one, then?
09:07.18Estel_some new possibilities, some bugs fixed (you said no bugs hitting old one)?
09:21.32Estel_from different barrel - where maemo loads wifi things for the first time? I would like to affect it by iw reg set JP
09:48.17*** join/#maemo-ssu futpib (~futpib@89.106.197.41)
10:06.12*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
10:07.09freemangordonEstel_: new pixman opens the door for new xserver (for example). Also microb can be re-compiled to use system pixman, now it uses built-in with NEON accel disabled
10:07.25freemangordonEstel_: bew pixman means we can try to upgrade cairo as well
10:07.32freemangordon*new
10:13.38Estel_freemangordon,  so answer seems simple
10:13.43Estel_upgrade ;)
10:14.02Estel_Am I qualified to thumb up there, or is it targeted at coders only (serious question, 0 irony)
10:15.12Estel_btw, just in case you've forget, I really count on that q9700 module for usb->ethernet adaptors in next kp :P
10:19.19freemangordonEstel_: well, If you have an argument, it is should not matter if you are developer or not
10:19.42freemangordons/is should/should/
10:19.53Estel_those things about what new pixman means, were it presented in that thread already?
10:24.14freemangordonhmm, no
10:39.57keriofreemangordon: are the changes to /proc/mounts somehow backportable? do you know?
10:40.21keriothe ones that make it closer to /etc/mtab
10:52.42*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
11:07.34*** join/#maemo-ssu sunny_s (~sunny_s@37.17.112.50)
11:38.35freemangordonkerio: no idea
12:02.00*** join/#maemo-ssu Estel_ (~Estel@d56-215.icpnet.pl)
12:08.01*** join/#maemo-ssu zeq (~s_j_newbu@2a01:348:1e3:1:e6ec:10ff:fe9a:d418)
12:15.01*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
12:26.33*** join/#maemo-ssu kolp (~quassel@212.255.237.78)
12:37.59*** join/#maemo-ssu lizardo (lizardo@nat/indt/x-odlaifdbtywrpbwi)
12:38.19*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
13:09.51merlin1991Estel_: I wont shut down devel light, because I use it myself :D
13:09.55merlin1991I'll sync it soon though
13:10.46merlin1991also it does have a distinct advantage of a smaller packages file
13:12.05freemangordonmerlin1991: what's your opinion re pixman?
13:12.35merlin1991no regressions --> thumbs up, weird shit --> no can do, stuff still todo --> hey you're developer, get on it ;)
13:12.44merlin1991s/on/to/
13:12.48merlin1991arf
13:12.56merlin1991more than one on in the sentence
13:13.17merlin1991I just hope we don't run into more problems with our ancient X
13:14.01merlin1991btw HEL airport is nice
13:14.14merlin1991currently sits there waiting for the next flight
13:14.18freemangordonmerlin1991: well, there ARE some 5% speed regressions on some of the benchmarks, but vast improvement on some other
13:14.40freemangordonmerlin1991: that's why I am undecided.
13:14.58merlin1991we could try throwing in some debug stuff to measure usage in the general case
13:15.02merlin1991over a week or so
13:15.21merlin1991and if the speedups hit the more used parts and vice versa I'd say perfect
13:16.15freemangordonmerlin1991: well, IIUC it is not that simple. How we can estimate the speedup in microb rendering if compiled against system pixman? (just an example)
13:16.52merlin1991IIUC?
13:16.58freemangordon~iiuc
13:16.58infobotiiuc is probably If I Understand Correctly. Well, that's my best understanding.
13:17.30freemangordonmerlin1991: also, look at the benchmarks
13:17.34merlin1991dunno if we look at the usage of pixman stuff, and the faster stuff is used way more often, then it should speed up the system in general
13:17.35merlin1991will do
13:17.42merlin1991atm crafting a tmo message
13:18.13freemangordonmerlin1991: the preformance difference is some 2-5 %, well enough in the error margin
13:18.31freemangordon(excluding some exotic I'll fix if it makes sense)
13:28.34merlin1991freemangordon: any idea why all cairo demos are faster on stock?
13:29.23freemangordonmerlin1991: I guess upstream has a couple of more checks that lead to that small performance loss
13:30.55freemangordonmerlin1991: but it is not that bad, I mean, I can swallow 3% performance loss
13:31.10freemangordonmerlin1991: also when compiled with 4.7.2, it looks different ;)
13:31.16merlin1991yea
13:31.21merlin1991but that's future talk ;)
13:31.28freemangordonyeah :D
13:31.31merlin1991also you'd have to compare that to stock on 4.7.2 ;)
13:32.03freemangordonmerlin1991: I am not sure it makes sense
13:33.01freemangordonas the point to introduce newer pixman is not the performance
13:33.06merlin1991well possibly you have even higher regressions when comparing 4.7.2 compiled stock to pixmen
13:33.09merlin1991yeah I know
13:33.32merlin1991but we also don't want to get the system to a grinding halt by adding "smallish" speed regressions all over the system
13:33.53freemangordon<PROTECTED>
13:34.06freemangordonit is 4.2.1 which can;t deal well with upstream C code
13:34.30merlin1991makes me wonder is gcc at fault or the upstream code? ;)
13:34.36freemangordonboth
13:35.15merlin1991err how can the code be at fault?
13:35.15merlin1991weird gcc > 4.2.1 specific tweaks?
13:35.44freemangordonmerlin1991: hmm, no, it is just that the code is more comlicated so 4.2.1 can;t optimize it well
13:35.50freemangordonthat's my understaning
13:35.59freemangordon*compilcated
13:36.05freemangordonfuck :D
13:36.23merlin1991yep the word itself is complicated aswell ;)
13:37.20merlin1991I'd really try to gather *some* statistics about the more/less used functionality pixman exports as a library, if the regressions fall into not so much used areas we can go forward without loosing any sleep
13:37.21freemangordonnaah, it is the stupid remote desktop over 3G, sometimes it does not register keypresses
13:37.45merlin1991remote desktop over 3g? dafaq?
13:38.06merlin1991why don't you use quassel, some shell + irssi, znc ?
13:38.22freemangordonmerlin1991: wish you luck, just look at haow many different code paths there are in the benchmark
13:38.29freemangordonmerlin1991: to windoze XP?
13:38.49merlin1991no to your irc client
13:39.23merlin1991so you have the keyboard handling locally ;)
13:39.30freemangordonaah, but I need my PC, i am doing some coding while taking rest from my job ;)
13:40.09merlin1991you do can tab between your remote desktop window and a local irc client ;)
13:40.22merlin1991also WTF do you code on windoze xp
13:47.37merlin1991kerio: I just checked apt-mirror does not find the new packages, (me guesses foobar db), that will take some time to fix
13:47.49freemangordonmerlin1991: My home desktop pc OS is Win XP
13:48.21merlin1991yeah, how can you possibly get anything done on there? :D
13:48.27freemangordonso it does not mater what i code, I do it either inder wn or under VM
13:48.32keriomerlin1991: maybe i didn't make it clear enough, but i was sarcastic ;)
13:49.12merlin1991kerio: even though people lately scream at me I still care about maemo ;)
13:50.02freemangordonmerlin1991: which reminds me... when will be the next meeting?
13:50.55merlin1991well next thursday or later
13:51.42merlin1991bah hel homepage only has terminal, but not gates for departing flights on the webpage, now I have to stand up and go over to the list xD
13:54.02*** join/#maemo-ssu LauRoman (~LauRoman@5-14-92-176.residential.rdsnet.ro)
14:04.06freemangordonoh, poor merlin1991, he has to walk :P
14:05.35merlin1991kerio: currently resyncing my apt-mirror
14:23.03*** join/#maemo-ssu Estel_ (~Estel@Maemo/community/contributor/Estel-)
14:23.54Estel_urgent qauestion, please
14:24.28Estel_how to deal with f****n, broken package, that fails on deinstall due to fckd postrm script, and no matter of force for dpkg -r --force-all makes a difference?
14:25.03Estel_can't install any new things, and I'm urgently preparing a device for someone who is leaving soon
14:25.06keriodelete the postrm script from /var/dpkg/info
14:25.18Estel_huh?
14:25.28kerioand then uninstall
14:25.38Estel_doesn't even have /var/dpkg
14:25.40Estel_on device
14:25.41*** join/#maemo-ssu Martix_ (martix@nat/redhat/x-vnjlvchxznqvdksx)
14:25.42kerioer
14:25.48keriohmm, /var/lib/dpkg?
14:25.55Estel_(thanks for trying to help)
14:26.14Estel_yes, many catalogs there
14:26.21Estel_no idea where to look?
14:26.31kerio/var/lib/dpkg/info/packagename.postrm
14:26.34keriodelete it
14:27.14Estel_LOL things for all packages here, but nothing for php5-common
14:27.22Estel_yet, when trying to uninstall it:
14:27.33Estel_ah shit
14:27.34Estel_lol
14:27.39Estel_looking from wrong device
14:27.43Estel_*.*
14:28.48Estel_kerio,  thank you very much
14:28.52Estel_worked as charm
14:29.10Estel_really, how I suffered many times without knowing that
14:29.24kerioyeah, not reading the documentation causes that, often
14:29.30freemangordon:D
14:29.31Estel_I wonder why it isn't first google result, everyone f**ks about force commands, which doesn't work in most cases
14:29.34Estel_:D
14:29.41Estel_agreed
14:30.06Estel_but I tried, really, it's not my fault (tm)
14:30.19freemangordonit was like that (tm)
14:30.28Estel_.)
14:30.36kerioah shit what happened to your eye
14:31.38Estel_popped up while writing "I even forgive you for asslicking, during giving help on formatting syntax to ban me (which haven't worked, anyway)"
14:31.42Estel_;)
14:32.05Estel_so I'm even more glad it (advice) worked this time so "no-problem'ly"
14:32.14Estel_so I'm even more glad it (advice) worked this time so "no-problem'ly"
14:32.17Estel_brb, need to finish with that device
14:32.21Estel_sorry for echo
14:57.51*** join/#maemo-ssu gregoa_ (~gregoa@chello212186052066.410.14.vie.surfer.at)
14:57.59merlin1991funky my laptop keeps telling me it can run for 1 more hour
14:58.05merlin1991regardless how long it ran in the meantime
15:09.01keriomerlin1991: it's like my homework
15:09.03kerioi'll do it tomorrow
15:09.19merlin1991hm homework
15:09.24merlin1991I shoudl read a full book
15:09.33keriowhich kind of book?
15:09.37merlin1991but I'm currently in finland, without the book :D
15:10.04merlin1991actually I even forgot the title, and I have no idea what it contains, but we have to have read it after easter
15:10.37keriofor what?
15:14.03*** join/#maemo-ssu discopig (~discopig@2001:5c0:1000:a::147)
15:14.03*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
15:15.37*** join/#maemo-ssu dhbiker (~dhbiker@95.87.145.172)
15:18.53*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
15:27.24*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-37-188-238-84.eurotel.cz)
15:39.37DocScrutinizer05dang, andre__ left
15:40.14*** join/#maemo-ssu andre__ (~andre@wikimedia/aklapper)
15:41.05DocScrutinizer05you're in Finland??
15:41.15DocScrutinizer05merlin1991: ^^^
15:41.47merlin1991DocScrutinizer05: yep, crashing nokia headquaters and staying there long enough untill they hand out source code
15:41.57merlin1991nah visiting friends .)
15:49.59DocScrutinizer05the fist variant sounded way more fascinating
15:50.05DocScrutinizer05first*
16:04.48*** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm)
16:26.29Estel_I'm afraid no one left in Nokia HQ, that know what source code is
16:27.21Estel_freemangordon,  before starting N900, had you linux background?
16:28.49*** join/#maemo-ssu M13 (~M13@170.133-224-87.telenet.ru)
16:28.55Estel_I'm curious, as I seem to remember vaguely, that answer is "no" or "not a much". I'm just to, finally, set u proper VM and scratchbox in it, and even patchwork a maemo dev env on my device (via easy debian, or dedicated partition and plain chroot...), and start some coding
16:29.20Estel_probably, porting some terminal/CLI tools first to get a handle of how maemo works
16:29.37Estel_now, doc I've seen are a mess, some reffer to pr1.1, some to diablo too...
16:30.30Estel_apart from generic coding knowledge, where should beginner look for proper documentation about maemoities (thing needed only for maemo to compile)
16:44.32*** join/#maemo-ssu NIN101 (~NIN@p5DD28E44.dip0.t-ipconnect.de)
17:02.56*** join/#maemo-ssu Woody14619 (~Woody@2620:4:4000:11:e835:757c:1fd1:ddff)
17:02.56*** join/#maemo-ssu Woody14619 (~Woody@Maemo/community/contributor/Woody14619)
17:03.31*** join/#maemo-ssu futpib (~futpib@89.106.197.14)
17:09.08*** join/#maemo-ssu marmistrz (5309c0d2@gateway/web/freenode/ip.83.9.192.210)
17:09.15marmistrzmerlin1991: ping
17:09.18marmistrzfreemangordon: ping
17:10.07merlin1991marmistrz: pong
17:10.36marmistrzI noticed the things that changed about hildon-desktop and X-CSSU-Force-Landscape
17:10.38marmistrzin latest version
17:10.49*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
17:10.52merlin1991hit arcean over the hea
17:10.55merlin1991*head*
17:10.58merlin1991he's not here though
17:11.08merlin1991btw cssu version, or version in cssu-devel?
17:11.13marmistrzhe said it's something about the new "policy"
17:11.16marmistrzcssu testing
17:11.21marmistrz(esp. thumb)
17:11.58merlin1991we did talk about it and X-CSSU-Force-Landscape should work again
17:12.05merlin1991don't know it that is in cssu-devel already
17:12.09marmistrzok, thx
17:12.38marmistrzjust wanted to make sure with the CSSU HQ :_
17:12.45marmistrzs/:_/:)
17:13.56merlin1991hm looking at gitorious I don't see a related change, I'll talk to him when he shows
17:15.57marmistrzok, thx
17:20.11freemangordonmerlin1991: afaik the change is in both gitorious and caasu-devel
17:20.18freemangordon*cssu
17:21.09merlin1991maybe already on page 2 of the changes :)
17:21.22freemangordoncould be
17:24.15*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
17:58.26freemangordonmerlin1991: still no access to cssu repo?
17:59.17freemangordonwe have way above critical mass of packages, nuclear explosion is imminent :D
18:00.55Estel_is there a way to lock phone application to portrait in cssu?
18:01.19Estel_it's rotating even when status applet lock is on, and it drives me mad
18:01.21freemangordonEstel_: you need latest and greatest HD and lock applet ;)
18:01.49Estel_you mean lock applet from devel? I hope it'll make it way to cssu-thumb soon enough
18:02.03Estel_thanks anyway :)
18:02.23freemangordonEstel_: it will make it to -thumb as usual - after CSSU-T is out :)
18:02.44Estel_most of the times I'm just about to hit "answer" in landscape, and I end up hitting "reject" in portrait
18:02.59Estel_yea, that was allusion that I hope for cssu-t release :p
18:03.10Estel_in whatever repo
18:03.39Estel_does tech staf works about import problem? last time I asked what doesnt work yet, they forget to even mention it
18:04.00freemangordonno idea
18:04.17Estel_...while they remembered about things like non-working maemo.org account (not garage or wiki one)
18:04.45Estel_heh, merlin1991, how long ago you complained to tech staff about import non working so cssu can't get fixed in repos?
18:05.43Estel_I hope it wont reveal itself to be like autobuilder - everyne told me that no one know how to fix it all the time, then, I have asked once, and jacekowski answered he know how it works :P
18:05.52Estel_it's just that no one asked before
18:05.58Estel_maybe it's same this time?
18:07.09Estel_3 days later we had autobuilder working, maybe this time my enfant terrible habbit of asking straight question will help again :P
18:07.40Estel_shit, 5 GB home becoming too low
18:07.49Estel_and I don't install everything I see
18:08.29Estel_from different barrel - does anyone know how to run grub installer for maemo?
18:08.37keriowat
18:08.45Estel_I have something epic for maemo pentesting, waiting for arrival in repos
18:08.57Estel_but part of it is installing grub to /dev/mmcblk0p1
18:09.09keriogrub as in the grand unified bootloader?
18:09.11Estel_it doesnt affect normal usage, I have it in my device
18:09.12Estel_yea
18:09.13Estel_:P
18:09.15Estel_part of it
18:09.16keriowhich grub?
18:09.18Estel_at least
18:09.20keriofor x86?
18:09.32Estel_yep
18:09.42Estel_i mean it's going to be used with x86
18:09.54Estel_I made kon-boot work with maemo
18:10.06Estel_and even got author permission to put it into non-free extras
18:10.17keriocan't you install it in the same way as you'd install it on a flash drive?
18:10.42Estel_sure. From desktop pc. but I would like to avoid any dependency on other devices
18:10.48Estel_me wanna make extras package for it
18:10.57kerioship an image, i guess?
18:11.05kerioor just make update-grub or whatever work
18:11.17keriocertainly *that* part isn't arch-dependent
18:11.17Estel_from device, you mean?
18:11.24Estel_yes, it shouldn't be
18:11.39keriomaybe you'll have to tell it to do the thing for x86
18:12.02Estel_well, as with image, I would like to avoid nuking file content on mmcblk0p1 of users ;)
18:12.10kerioinstead of complaining because "what is this and i am an ARM"
18:12.15Estel_hehe
18:12.31kerio...can you even install a bootloader on a single partition?
18:12.33keriowhere does it go?
18:12.52Estel_generally, maemo mass-storage mode denied kon-boot for working due to being non-bootable, even if grub installed, but I've found a way around it...
18:12.58Estel_no idea, but it works :P
18:13.33Estel_later I'll find equivalent of what I need to prepare partition from suckin windoze script
18:13.49Estel_and we'll try to find "the least we need" for maemo counterpart for that
18:14.32Estel_result is, no more need for carrying that pesky pendrives
18:14.57Estel_just connect your n900 to any desktop on boot, and you may skip password on any account ;)
18:14.58*** join/#maemo-ssu zogg_ (~zoggrules@109.67.197.191)
18:15.19Estel_we will end in endgadget with their jaws dropping :P
18:15.30Estel_(that was a joke, I have endgadget in ass, honestly)
18:16.40Estel_still, it must look supercool to ignorants - one connect n900 to desktop, invoke terminal command, and OS on desktop - any windows or linux boot in administrator mode, without asking for password
18:16.54Estel_imagine android lusers face
18:17.05keriothey can do the same fucking thing dude
18:17.12Estel_shhh!
18:17.19Estel_I knowp but they don't
18:17.34Estel_especially on endgadget. there they doesn't know anything
18:17.39Estel_+ androids require reboot
18:17.42Estel_n900 doesn't :P
18:17.53kerioalso, why the hell are you using mmcblk0p1
18:17.55kerioinstead of a file
18:18.01Estel_because they mass storage won't be bootable while system is loaded
18:18.26Estel_because it don't hurt my mmcblk0p1 at all, loopback file might work too, if it would want to make itslf bootable
18:18.45kerioit won't help your mmcblk0p1 either
18:18.54Estel_in which way?
18:18.56kerioand with an image, you can also provide a bootable linux system for cheap
18:19.15Estel_thats true, too
18:19.28Estel_but as for mmcblk0p1, I haven't noticed any problems
18:19.37keriothere's no need to dick around with the user's data if you can just modprobe g_file_storage luns=1 bootable=1 file=whatever
18:19.46kerio(modulo correct parameters' names)
18:19.53Estel_but n900 as seed for installing linux distro in any desktop is cool idea that I've thought about before, focues on kon-boot for start
18:20.12Estel_ro=1 too
18:20.22Estel_hm, is it that simple?
18:20.31Estel_no need to fck with loopback images externally?
18:20.33Estel_nice
18:20.58Estel_ro=1, because g_file_storage doesn't unmount from maemo
18:21.11Estel_you DON'T want to get concurrent writes from maemo and mass storage
18:21.11kerioi think that writing to the file would work, too
18:21.15Estel_at the same time
18:21.19keriowhy not? it's just writing to a file
18:21.28keriomaemo isn't going to touch it, anyway, it's just an image
18:21.37Estel_sure, both OS'es not aware of what another one is doing
18:21.43Estel_try concurrent write to same thing
18:21.50kerio...you're not aware of what you're doing in this case, then
18:21.56Estel_i mean whole device
18:22.03kerioit's *a file*
18:22.05Estel_image file sits on some partition
18:22.17kerioshit writes to the same file all the time
18:22.23Estel_concurent write to same partition by two unaware oses could be catastrophic for that partition
18:22.25kerioyes, you might get corruption if there's no locking
18:22.35keriobut why would you write to that file anyway, from maemo?
18:22.38Estel_but not from 2 separate oses not knowing aboyt other existence
18:22.45Estel_that partition
18:22.51Estel_file sits on partition
18:22.53kerioyes, the filesystem drivers would be confused
18:22.56kerioIF THERE WERE MORE THAN ONE
18:23.16Estel_no idea how emmc hardware flash wearer would act, too
18:23.16keriounless you're going to also mount the same image file from maemo at the same time for some weird reason
18:23.23Estel_they made mass storage unmount for a purpose
18:23.47kerioyep, but you're going to use **a file**
18:24.06keriowhich isn't opened by anything on maemo's side
18:24.10Estel_but that file is behind partition which is behind single flash chip which is behind single controller
18:24.13Estel_hardware one
18:24.16Estel_transparent to OS
18:24.25kerio...do you think that the export gives direct access to the hardware?
18:24.29keriowhat the hell are you smoking
18:24.38kerioeverything goes through linux's IO scheduler
18:24.45Estel_I have no idea what would happen if two unaware things would like to write, and I don't wanna check it on my device
18:24.49Estel_well
18:24.52Estel_hope so
18:25.24Estel_last time I asked why the fuck maemo unmount partitions when mass storage'ing, if it work without unmounting, some people warned me about serious risk ;)
18:25.45Estel_I know g_file_storage is just a kernel module...
18:25.47kerio...because the data *is* accessed more than once at the same time
18:26.00Estel_well, lets imagine tracker traverse
18:26.05keriowhich reads
18:26.09Estel_and briefly checks image to filter it out
18:26.12Estel_hm
18:26.49Estel_in theory you,re right, but frankly, for what fuck I need write for kon-boot or livecd image?
18:26.50keriosetting it read-only is good /because you probably want it to be read-only/, not to "avoid catastrophic writes from separate things"
18:26.53Estel_livecd in quotes
18:26.56Estel_live whatever
18:27.06Estel_it's tailored to be run from opticaml media, which is ro too
18:27.09keriohell, it should be in /opt/kon-boot/something and it shouldn't be writeable by user anyway
18:27.44Estel_goddie idea, but are you sure that g_file_storage bootable=1 works as advertised?
18:27.53kerionah, there's no bootable in that
18:27.57Estel_maybe it would spare messing with grub
18:28.08keriojust make sure that the image has a MBR with a bootable flag
18:28.14keriomost BIOSes are picky
18:28.22Estel_ah, so that si why I filtered out this possibility some time ago
18:28.24Estel_hm
18:28.30Estel_sounds nice
18:28.34Estel_will try it asap
18:28.47Estel_and put you into credits (no irony) for that method if works
18:29.04kerio"that method" = "the way to make things boot on pcs since the 70s"
18:29.04Estel_you will end up in endgadget, happy? :P
18:29.18Estel_this method - loopback file via g_file_storage
18:29.21Estel_don't be silly
18:29.26Estel_I know about mbr ;)
18:29.42kerioit's just an emulated usb mass storage device :\
18:29.57Estel_had no idea it accept files directly
18:30.09keriothere's nothing else, in unix
18:30.12Estel_what do you want, I can't know anything before actually getting to know it
18:30.26Estel_so why we use swap partitions, not files :P
18:30.36Estel_heard they don't work for maemo swap
18:30.40Estel_at all
18:31.02kerioperhaps because of nokia's swap algorithm
18:31.11keriowhich still works on normal files, but makes it worse and not better
18:31.16keriobecause files are inherently fragmented
18:31.22keriofiles in a filesystem i mean
18:31.22Estel_shit, link for thumbified homeworld expired
18:31.30Estel_and gdizzz is MIA for a while
18:31.59kerioalso, maybe 2.6.28.10 is a bit too old to not notice the difference
18:32.15Estel_probably performance would hurt too
18:32.33keriohm, actually no
18:32.34Estel_but I've heard files don't work for maemo swap at all (tm)
18:32.43kerioin 2.6, if the swapfile isn't fragmented, it's effectively /the same thing/
18:32.48Estel_well, loopback image files for easy debian hurt in performance
18:32.51keriofor extfs, at least
18:33.07Estel_compared to native partition
18:33.17kerioif you mkfs and then make the swapfile, it's the same thing
18:33.42kerioloopback mount is a bit more complicated maybe? i dunno
18:33.46kerioswap is pretty optimized in the kernel
18:33.59keriohaving a partition guarantees unfragmentedness :)
18:34.02Estel_well, try it on your device and share results
18:34.10keriowhich is the big deal here
18:34.15Estel_sure, unless swap data written exceeds total swap size
18:34.27Estel_then freakin alghoritm kicks in
18:34.48Estel_and bye bye to consecutive linear write
18:34.54keriothis comes before that
18:35.04kerioimagine running nokia's swap algorithm on a fragmented file
18:35.10kerioeven the first pass will be shit
18:35.28Estel_but dedicated swap partition doesn't have this problem
18:36.21Estel_until you already written 2GB data to a 2GB file (counting one that have been freed meantime, doesn't matter)
18:36.39Estel_s/file/partition/
18:37.20Estel_unless that, it just write, ignoring free blocks in pats, where it have written already
18:37.23Estel_thus ~ereswap
18:37.29Estel_~ereswap
18:37.34Estel_eh, shit
18:37.39kerioi'm aware of what ereswap is
18:37.53kerioi just toggled between two partitions with a script i made for a while
18:37.57Estel_I'm honored to no end ;)
18:38.00keriothen i just merged the partitions because i couldn't be bothered
18:38.15Estel_I could, as I see hitting swap limit instantly
18:38.20Estel_by slowiness of whole ui
18:38.30Estel_seems to be popular experience
18:38.41Estel_9/10 times I'm right that I've just hit limit
18:38.53*** join/#maemo-ssu xes_ (~xes@unaffiliated/xes)
18:39.32kerioi seldom hit the 2gb limit
18:39.47kerioand usually it's the cue to make a BM backup because it's been a week or so
18:39.48Estel_infobot, ereswap is anti swap-fragmentation tool for maemo: http://talk.maemo.org/showthread.php?t=84413
18:39.48infobotEstel_: okay
18:40.01Estel_I hit 2GB daily ;)
18:41.35Estel_btw
18:41.49Estel_kerio, when we are at pali's bme replacement (as we are always on it)
18:42.09Estel_I have a device with borked usb phy or whatsnot, where charging worth ok via usb port
18:42.22Estel_except it need putting bq2415 into dedicated mode explictly
18:42.25Estel_via sysfs
18:42.31Estel_normally it's not a problem
18:42.40Estel_unless battery runs out completely
18:43.10Estel_as then I can't charge it unless from backupmenu (which i modified to use pali's module)
18:43.12keriowhy dedicated?
18:43.26Estel_because it doesn't detect anything from data lines
18:43.36Estel_so doesn't know that need to start charging
18:43.42keriooic
18:43.46kerioso... put it in dedicated mode?
18:43.56kerioi'd do that in /etc/event.d/bme
18:44.05Estel_sure, and if battery runs out, it won't charge when plugged charger
18:44.13Estel_thats what I was asking about
18:44.26Estel_where to put it to make it start charging as early as possible during boot
18:44.39Estel_at least before bme shuts device down due to low voltage
18:44.41kerio/etc/event.d/bme is the thing that loads the modules
18:44.46Estel_prefferably, even earlier
18:44.49Estel_nice
18:44.53Estel_huge thanks
18:44.58kerioyou can't quite get earlier than that i think
18:45.22DocScrutinizer05there's always preinit
18:45.28Estel_for me it isn't problem to get into backupmenu and charge a little, but device is used by my 4 years old son
18:45.41kerioDocScrutinizer05: good point, stuff like charging should be loaded then methinks
18:46.00Estel_and I won't advise him to enter backupmenu root terminal and do echo dedicated > /sys/class/(...), at least until he learns how to write, lol
18:46.10keriobut you still have to wait until something mounts /sys to edit sysfs nodes
18:46.14Estel_DocScrutinizer05,  will it work from as early as preinit?
18:46.18kerio...unless you can pass it as a module parameter
18:46.19Estel_hm, fbcon works...
18:46.24Estel_can't
18:46.29Estel_sysfs node only, sadly
18:46.43DocScrutinizer05kerio: the module *should* take module parameters that override defaults, on modprobing it
18:46.53Estel_thats why I was concerned about preinit
18:47.09kerioEstel_: /etc/event.d/bme is early enough for stock-ish configs
18:47.19DocScrutinizer05kerio: but yeah, it probably won't feel too happy without sysfs
18:47.29kerionah, the module will be fine
18:47.31keriobut you won't
18:47.32Estel_it's using bme replacement, thumb and things (so no stockich) shouldn't matter, though
18:47.55Estel_DocScrutinizer05,  btw, this device is funny re usb - twl4030 or how it's called report ok
18:48.17DocScrutinizer05kerio: actually I'm clueless how modules loaded really early handle sysfs, if there are any such modules that get loaded before sysfs mount but still do offer some sysnodes
18:48.17Estel_and *sometimes* dmesg report, when charger plugged, switching from state 0 to 2 and 3 and 2 and 3 again
18:48.39Estel_but as said port is ok and lines to testpoints are perfectly stable, low resistance
18:48.46kerioDocScrutinizer05: try umounting /sys and then mounting it again
18:48.49keriothe things are still there
18:48.52Estel_testpods under battery < - > usb port
18:48.58DocScrutinizer05kerio: brilliant :-D
18:49.02kerioi think
18:49.15keriotest it on your box!
18:49.20kerionothing can go wrong, surely!
18:49.48DocScrutinizer05i doubt sysfs can get umounted ;-)
18:50.07Estel_so if I would want super early, find where preinit mount /sys/ and modprobe my thing afterward?
18:50.13DocScrutinizer05too many open files "error: fs in use"
18:50.13Estel_then echo proper sysfs thing
18:50.21Estel_DocScrutinizer05,  use
18:50.27Estel_umount -l /sys
18:50.28Estel_:P
18:50.48kerioEstel_: you said that the charging doesn't work anyway
18:50.55Estel_lazy deattach will handle everything (tm)
18:50.56keriois a behaviour the same as stock ok?
18:51.10Estel_kerio, usb doesnt work anyway, charging work when forced
18:51.18Estel_yea, the same on stock or whatsnot
18:51.26Estel_not reflashable or coldflashable too
18:51.37kerioEstel_: /etc/event.d/bme
18:51.40Estel_upon plugging to linuxbox usb, dmesg contains nothing (on linuxbox)
18:51.43Estel_no change
18:51.52Estel_0 signs of life
18:52.03Estel_charge from pc usb port as dumb device
18:52.18Estel_otoh hardware on N900 reports ok
18:52.31Estel_no idea what is screwed but for 100% hardware'ishly
18:57.27DocScrutinizer05kerio: what are the symlinks into runlevel dirs?
18:57.33kerionfc
18:57.41kerioprobably old crap
18:57.45DocScrutinizer05could you check?
18:57.57kerioi don't know how :s
18:58.15keriobut afaik there's nothing for backwards-compatibility with sysv init
18:58.25kerioas there usually is with these fucking non-init inits
18:59.36DocScrutinizer05ls -l /etc/rc2.d/*boot*
19:00.05DocScrutinizer05ooh, that's already upstartified?
19:00.23DocScrutinizer05yeah, you told it, I'm dull today, sorry
19:00.53kerioa lot of upstarties actually call /etc/init.d/foo so i assume there's nothing generic that does that
19:01.00keriosee for instance /etc/event.d/rcS
19:01.28DocScrutinizer05I see "start on started dsme" in original events.d/bme
19:02.33DocScrutinizer05if the new bme is not depending on dsme, then you probably should start on <something-earlier-in-boot>
19:03.02DocScrutinizer05take care to split between bme-the-module and bme-the-hald-addon
19:03.19kerioDocScrutinizer05: meh, just setting the sysnode in /etc/event.d/bme will be enough
19:03.25kerioi mean, it's enough to charge stock fremantle
19:03.38DocScrutinizer05yeah sure
19:03.52DocScrutinizer05err wut? stock?
19:04.03kerio/etc/event.d/bme is the thing that starts bme
19:04.10DocScrutinizer05yes
19:04.11keriono charging happens before that, does it
19:04.37DocScrutinizer05for stock that's correct
19:04.49kerioit's the same thing with the bme replacement
19:04.52kerioand it works fine
19:04.54DocScrutinizer05no
19:05.05DocScrutinizer05since bme replacement doesn't depend on dsme
19:05.10DocScrutinizer05for example
19:05.25kerioif ! /usr/sbin/waitfordsme ; then
19:05.30kerioapparently it does
19:05.34kerionot sure for what reason, but it does :)
19:05.36DocScrutinizer05the module itself can get loaded/modprobed as early as sysfs exists, the latest
19:06.20DocScrutinizer05for what reason? cargo cult coding
19:07.26DocScrutinizer05as already explained above, for bme replacement we should separate bme-the-module and bme-the-hald-addon_et_al into two separate upstart jobs
19:07.47DocScrutinizer05bme-the-module "start on started sysfs"
19:08.19DocScrutinizer05bme-the-rest "start on started hal"
19:09.41DocScrutinizer05I do't think anything in bme replacement gets handled/started by dsme, so why would the event-job depend on started dsme?
19:10.23DocScrutinizer05the module doesn't depend on anything but kernel and maybe sysfs
19:10.41DocScrutinizer05so create a upstart job with correct dependencies
19:12.24DocScrutinizer05for the whole remaining bunch of cruft (hald-addon-bme, systray-battery-applet, whatnot) I dunno who starts it and what it depends on, but for obvious reasons this will need to happen later on during init. And it's not needed by bme kernel module to start charging
19:58.40*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
20:14.50*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
20:29.59*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
21:06.39*** join/#maemo-ssu _rd (~rd@p57B491D8.dip0.t-ipconnect.de)
21:22.39*** join/#maemo-ssu zeq (~s_j_newbu@31.123.135.61)
21:30.16*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
21:53.54*** join/#maemo-ssu BCMM (~BCMM@unaffiliated/bcmm)
22:05.00*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
22:07.26*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
22:48.47*** join/#maemo-ssu arcean (~arcean@aacu121.neoplus.adsl.tpnet.pl)
23:00.14*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
23:11.41*** join/#maemo-ssu amiconn (amiconn@rockbox/developer/amiconn)

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