IRC log of #maemo-ssu for Saturday, 2012-08-04

DocScrutinizer05dear estel, your statements are exactly "purely theoretical, just for sake of doing so"00:00
DocScrutinizer05the possibility of existing custom kernel modules out there that will break with new kernel due to loss of ABI compliance is "purely theoretical, just for sake of doing so" while assuming a problem out of a very rare race that's not even been demontrated by testcode on stock kernel is a welcome argument to push your own ideas. Now THAT'S scientific and honest for sure00:03
DocScrutinizer05and this guy denigrates my merits00:03
DocScrutinizer05>:-(00:04
*** BCMM has quit IRC00:05
DocScrutinizer05homestly when you got estel on your side arguing for you, prepare for failure even when your positions and arguments been good00:05
keriokinda unrelated: was ABI-compatibility kept between nokia upgrades to the kernel?00:05
keriowere those the same kernel version?00:05
DocScrutinizer05nope00:05
DocScrutinizer05that's a direct result of the facts I quoted why it's impossible to keep ABI compatibilty between kernel versions (usually)00:06
DocScrutinizer05btw I'm not absolutely sure if we've seen a kernel update with any PR upgrade00:07
DocScrutinizer05so maybe Nokia didn't dare to push a new kernel00:07
DocScrutinizer05they might however have fixed some modules00:07
DocScrutinizer05without pushing a new kernel00:08
DocScrutinizer05if you want to know for sure, you need to run a md4sum across kernel fiasco segment of PR1.0 image00:08
DocScrutinizer05and even then you might get wrong idea, since already a later compile time will change the md5sum while it usually should keep ABI stable when *nothing* changed in kernel sources00:09
kerio-20094101-0m5 for 1.0, -20103103-0m5 for >=1.2, says maemo.org00:12
keriobut it's probably not a version change00:13
DocScrutinizer05but NB I'm maybe enough of a kernel hacker to look into musb_hdrc and spot some things to patch to make USB hostmode work, but I'm not the kernel guru to tell you every detail about symbol binding and early / late addr linking in kernel->module ABI00:13
*** TMavica has joined #maemo-ssu00:13
*** TMavica has quit IRC00:14
DocScrutinizer05if it works similar to usual .so then there's a table of verbatim symbols with some tagging of their types, and as long as that srays unchanged, basic ABI compatibility should stay intact00:14
DocScrutinizer05then you just have to cope with, or override, vermagic and hope for it to not make your system go *boom*00:15
DocScrutinizer05but I could as well be completely off the lane here00:16
DocScrutinizer05and honestly I didn't get it why fmg got so upset when I suggested to run his new allegedly compatible kernel against stock modules. After all it *should* work, minus for the vermagic, for all I know00:17
DocScrutinizer05in the end it's just a question of parameters on stack and in registers, and those shouldn't have changed, no?00:18
* kerio doesn't know that much about the kernel00:19
*** BCMM has joined #maemo-ssu00:22
*** TMavica has joined #maemo-ssu00:25
*** zeq has quit IRC00:25
DocScrutinizer05do you think estel knows more than you?00:33
*** BCMM has quit IRC00:35
keriomeh00:37
*** zeq has joined #maemo-ssu00:44
*** zeq has quit IRC00:54
DocScrutinizer05>>Estel_so, gentlemans, do we have any concerns about this point? someone wantg to present opposite arguments? Or are we trying to convince already convinced people? :)01:14
DocScrutinizer05incredible how this guy always tries to push his own tiny horizon and topic and POV01:14
DocScrutinizer05instead of shutting up and listening when experts talk01:15
*** zeq has joined #maemo-ssu01:20
zeqIRC doesn't do well with intermittent connectivity! DocScrutinizer05: If I owe you an apology for my part in yesterday's discussion, you have it.  I particularly wanted to discuss the future plans for updating (e)glibc (outside of CSSU) and maintaining compatibility with CSSU/stock, and I actually really wanted you there, especially to come up with the difficult arguments and objections.  At least from me there was no intention of spreading FUD or makin01:56
zeqg unwarranted assumptions, you're just a good experienced engineer and know the pitfalls.  You are needed to keep everybody honest.01:56
RaimuHaha.02:02
* Raimu strongly agrees02:03
RaimuWith the last phrasing, at least02:03
*** andre__ has quit IRC02:05
DocScrutinizer05zeq: your position and rationale was without any concern from my side02:17
DocScrutinizer05and I'm happy I made it til http://mg.pov.lt/maemo-ssu-irclog/%23maemo-ssu.2012-08-02.log.html#t2012-08-02T22:20:37 now and still seems common sense of the wiser attendees prevailed02:19
DocScrutinizer05I'm just musing about an incompatibility between userland/*.so and kernel02:19
DocScrutinizer05and I'm fully supporting merlin1991 with his take on kernel for CSSU shouldn't be another KP51 with bells and whistles nobody ever really tested if they play nice with N900, even if they're upstream. We've seen enough BS upsream, just look at lis302dl.ko vs lis3lv02.ko02:21
DocScrutinizer05zeq: there's a reason maemo kernel is _not_ upstream kernel02:23
DocScrutinizer05and any patch being upstream doesn't guarantee it's all sugar and cake for our device02:23
DocScrutinizer05so my take on CSSU kernel is like merlin1991's: port every CVE separately, after *proper* evaluation on the ML, review of at least 2 other experts about possible impact, and finally proper testing before deploying the patch with a new kernel02:25
DocScrutinizer05s/of at/by at/02:25
infobotDocScrutinizer05 meant: so my take on CSSU kernel is like merlin1991's: port every CVE separately, after *proper* evaluation on the ML, review by at least 2 other experts about possible impact, and finally proper testing before deploying the patch with a new kernel02:25
DocScrutinizer05zeq: when estel dare to throw around numbers like "99.99% of users", I can do as well. Keep in mind you're potentially wrecking the devices of 50000 or 100000 users that don't show up here to utter their concerns02:27
DocScrutinizer05and anybody now jumping up and questioning those numbers has to debate with me about his attitude what CSSU is meant to be02:28
DocScrutinizer05aim is to move CSSU on every single N900 ever sold02:29
DocScrutinizer05if we're not there yet, we can't use this as an excuse for anything, particularly not for sloppyness and careless messing with system, but rather we should ponder why we're not there yet02:30
DocScrutinizer05zeq: think "risk management", think "IF we mess it up completely, can we deliver a proper recovery path, and can we do that fast and safely?"02:32
zeqI can't disagree with any of that02:32
DocScrutinizer05I know02:32
DocScrutinizer05that's why I definitely didn't mean you, merlin1991, pali or even fmg with my rant about the non-expert half opening their mouth way to wide when they better shut up and listen02:33
DocScrutinizer05but according to estel you're all under my satanic influence02:34
DocScrutinizer05;-P02:34
zeq:)02:34
DocScrutinizer05and I hope some guys have learnt now that my satanic influence is STRONG even when I'm just not around02:35
DocScrutinizer05XD02:35
zeqincidently, is it known how many N900s there are out there?02:37
DocScrutinizer05numbers differ, I seem to recall preworders been 250k02:37
DocScrutinizer05or sales during first 3 months incl preorders?02:38
DocScrutinizer05dunno02:38
DocScrutinizer05maybe I'm totally wrong and my memory clouded02:39
*** NIN101 has quit IRC02:39
DocScrutinizer05guys like gan should know better02:39
RaimuI wish all this in-scene fighting shit would just recede.02:39
RaimuSeen it too often in different circles.02:39
zeqI'd better get to sleep now, on holiday you know! ;)02:40
DocScrutinizer05Raimu: seems a normal thing in FOSS02:40
DocScrutinizer05:-S02:40
RaimuSuppose.02:40
RaimuNo problem with differing opinions, though. Just when it goes ballistic.02:40
DocScrutinizer05yep02:40
DocScrutinizer05well, all you can earn in FOSS is fame. Some need it more than others, some are ruthless in their means to achive that goal02:41
DocScrutinizer05and some simply haven't groked the concept of meritocracy02:42
RaimuBah, not what I'm talking about.02:43
DocScrutinizer05meritocracy is a top-down concept, where gurus appoint others for peers02:43
RaimuHmm, yes.02:43
DocScrutinizer05it's not the unwashed masses cheering up those with merit02:43
RaimuI mean some views are complementary rather than "naturally contradictory".02:43
RaimuAnyways.02:44
* Raimu hugs everyone like a drunkard02:45
RaimuI guess that's what I mean. :P02:45
DocScrutinizer05:-D02:45
* DocScrutinizer05 afk for a late beer02:46
RaimuOne can swing ace concepts every which way, but they're still just that.02:46
* Raimu already started with a quart of rum'n'ginger02:46
DocScrutinizer05zeq: n8 pal02:46
*** arcean_ has joined #maemo-ssu03:04
*** arcean has quit IRC03:07
*** LaoLang_cool has joined #maemo-ssu04:06
*** arcean_ has quit IRC04:18
*** jonwil has joined #maemo-ssu05:02
*** LaoLang_cool has quit IRC05:23
*** LaoLang_cool has joined #maemo-ssu05:24
*** amiconn has quit IRC05:27
*** amiconn_ has joined #maemo-ssu05:27
*** amiconn_ is now known as amiconn05:27
*** zeq has quit IRC05:28
*** LaoLang_cool has quit IRC06:54
*** taziff has quit IRC08:05
*** taziff has joined #maemo-ssu08:05
*** chainsawbike has quit IRC08:41
*** chainsawbike has joined #maemo-ssu08:47
*** LaoLang_cool has joined #maemo-ssu08:57
*** LaoLang_cool has quit IRC09:08
*** jonwil has quit IRC10:49
*** zeq has joined #maemo-ssu11:08
*** LaoLang_cool has joined #maemo-ssu11:27
*** zeq has quit IRC11:31
*** LaoLang_cool has quit IRC12:22
*** LaoLang_cool has joined #maemo-ssu12:23
*** jonwil has joined #maemo-ssu12:32
*** BCMM has joined #maemo-ssu12:39
*** BCMM has quit IRC13:11
*** LaoLang_cool has quit IRC13:23
*** LaoLang_cool has joined #maemo-ssu13:24
*** BCMM has joined #maemo-ssu13:27
*** NIN101 has joined #maemo-ssu13:29
DocScrutinizer05merlin1991: I hope you know what your statement of "until proven stable" implies. NO WAY this will get decided by acclamation of guys like estel13:34
DocScrutinizer05and you're the responsible for the stability and absense of colateral damage for every single patch you pull into any such CSSU kernel, and honestly why the bloody fuck is everybody so eager to forcefeed KP into CSSU and to all CSSU users, when each single one of those morons can install KP on his own device whenever he likes? crusade? missionary? leete kids dancing and shouting "look what I did" like tom hanks around the fire?13:38
DocScrutinizer05why do all those revolutionists not simply fork a naemo, the Next maemo? Probably because they want to instruct the CSSU maintainers to drop genuine CSSU (community seamless software update, an extended life for the ssu primarily done by nokia) and rather build that leet stuff for those few who are not eager to install KP by themselves?13:43
kerioDocScrutinizer05: i, for one, approve of a cssu-power fork that also adds the said "leete" features13:44
kerio(cssu-thumb is kinda like that, if you think about it)13:44
DocScrutinizer05I'll not support a kernel with 50+ patches that honestly all haven't been tested to work without side effects on our device13:44
*** LaoLang_cool has quit IRC13:46
keriohey, KP50 is in extras! it means that it's stable! </sarcasm>13:46
DocScrutinizer05yes, cssu-thumb is kinda like that, and that's what cssu experimental or whatever the name is meant for. However this is NOT meant to ever merge into cssu-t or even cssu-s13:46
*** LaoLang_cool has joined #maemo-ssu13:47
DocScrutinizer05as happy as I was yesterday until http://mg.pov.lt/maemo-ssu-irclog/%23maemo-ssu.2012-08-02.log.html#t2012-08-02T22:20:37, as sick I feel for CSSU future 17min later in chanlog13:51
DocScrutinizer05honestly seems you guys planned a proper nice revolution, messing up everything the CSSU founders had in mind, eh?13:52
kerio"you guys" who?13:52
DocScrutinizer05whoever initiated that blitz-conference13:55
DocScrutinizer05and drove it that direction13:55
DocScrutinizer05and I bet none of the real experts and co-founders of CSSU been invited - well that's all fine proforma, but in fact it's an unfriendly takeover. And final result will be a fork, one way or the other13:57
DocScrutinizer05forcing KP and a potentially incompatibel (since it proved to always be like that) toolchain on a target customer group of "everybody owning a N900" is outright insane BS driven by hybris and idiocy13:58
DocScrutinizer05most remarkable brainfuck seems to me that those who shout the loudest for KP in CSSU run uBoot or even multiboot(! :-O ) to revert to other kernels as soon as they don't feel content with their one and only love that's allegedly "enough for everybody" "tested by millions" and oh-so-leete14:05
NIN101haha14:09
DocScrutinizer05guys, this is not your latest toy you can mess with to your liking, this is a updating path to propagate bugfixes to *increase* STABILITY for those who maybe want to place emergency calls to 911 eventually with their N900, to save lifes14:09
NIN101100% ack.14:09
DocScrutinizer05could I advice a medical doctor to use CSSU for his work N900. Till now I can, from now on I seem to have to tell him "No way! it became the playground of hackers who try their latest awesome hacks there"14:12
*** krayon has joined #maemo-ssu14:22
*** BCMM has quit IRC14:32
*** BCMM has joined #maemo-ssu14:34
LaoLang_coolYeah!14:57
LaoLang_coolI don't use n900 as my cell phone, I use it as a super-mini tablet, it losts many basic cellphone functions14:58
*** fw190 has joined #maemo-ssu15:10
fw190DocScrutinizer: as always I read the logs daily and as usually I don't agree with your attitude about CSSU I'm starting to get your point about it - just my 2 cents form a non developer CSSU user15:13
*** fw190 has quit IRC15:17
DocScrutinizer05>>Estel_release early, release often ;)15:27
DocScrutinizer05LOL that's true for devel and experimental, it clearly shows there's a massive misconception about what CSSU actually IS15:28
kerioooh, cssu-devel has apt 0.715:30
kerioneat15:30
DocScrutinizer05CSSU is conservative by nature, the mantra is "release rarely and as little changes as possible, and only do for things that are a) inevitable bugfixes and b) well tested by guys who know how to TEST and not just say "WFM"15:30
kerioand an updated busybox, sweet15:30
DocScrutinizer05the only domain where you can be a bit more progressive with your improvements are those that DO NOT have impact on the whole system15:31
DocScrutinizer05since for usability of device as a working phone for 911 calls it's not really dramatic when your wallpaper has rendering issues. A borked kernel however is a killer incident15:32
DocScrutinizer05and NO WAY the mantra "release early, release often" ever applied to and kernel and/or toolchain related things15:33
DocScrutinizer05s/to and/to any/15:33
infobotDocScrutinizer05 meant: and NO WAY the mantra "release early, release often" ever applied to any kernel and/or toolchain related things15:33
jonwilso yeah I do agree with not shipping KP but instead shipping kernel with minimal set of tested changes15:35
jonwilIIRC that was what was discussed at the meeting before15:36
kerioooh, where do maemo-security-certman-applet and modest-home-applet (non-free) come from, in -devel?15:38
jonwilcertman-applet is now open source so that can be replaced. I don't have a clue why CSSU is shipping modest-home-applet15:40
DocScrutinizer05jonwil: actually finally they tackled down merlin1991to agree on including KP51 incl all BS bells and whistels, based on the fuzzy precondition it "all works as in stock kernel" while not a single word been said WHO is TESTING this15:47
jonwilwhich I disagree with15:48
DocScrutinizer05as usual estel beaten everybody's intelligence by stating shit like "it's been tested by millions of happy ACME users"15:48
DocScrutinizer05and "there are zero reports of anything bad happening, so there can't be anything"15:49
DocScrutinizer05which is 3 wrong assumptions in one sentence, sth estel is really great on15:50
DocScrutinizer05and aiui they also tortured merlin1991 to accept a new toolchain, something NOBODY SANE EVER dares to do easily, not even for 25% or 50% performance increase or whatever the anticipated benefits. Since a new toolchain resets your WHOLE SYSTEM to square 1 regarding basically everything. You can basically close all existing tickets and only care about new ones against app XY built with new toolchain, and obviously not a single app is15:55
DocScrutinizer05guaranteed to inherit any of the stability it had before you changed toolchain15:55
DocScrutinizer05basically same situation as with a new kernel, only worse15:57
DocScrutinizer05honestly according to common sense such a massively "improved" system shouldn't be called maemo fremantle anymore, it's more like a whole new OS release, sth between fremantle and harmattan15:58
DocScrutinizer05on a usual linux distro you'd bump at least the minor version by .116:00
DocScrutinizer05so this should become maemo5.1 then16:00
keriomaemo-power!16:00
DocScrutinizer05indeeed16:00
kerioor cssu-power16:00
kerioor something like that16:01
DocScrutinizer05the suggested fork16:01
DocScrutinizer05just it feels odd some guys try to hijack CSSU and would urge the original CSSU idea to fork to a new name like "CSSU_LTS"16:02
DocScrutinizer05since CSSU been about LTS from day one16:02
DocScrutinizer05and for my ass' sake I can't grok why some people are so eager to turn CSSU(-LTS) into (CSSU-)bleeding_edge. Maybe they want to solve the issue with lack of manpower to work on _their_ leete project rather than giving decent SAFE and TESTED and CONSERVATIVE support to _every_ N900-owner?16:06
DocScrutinizer05hell there's KP51 for everybody to install free of charge! WTF we need to make it a mandatory part of CSSU?16:07
DocScrutinizer05and what's next? Mandatory portrait-only desktop?16:08
DocScrutinizer05"you want a fix for CVE-xy? Hell, go install CSSU(bleeding_edge_the_hackers_paradise)! Well you have to accept it doesn't work in landscape anymore, but if you want that fix you have to live with that. *WE* found portrait is all you ever will need"16:10
DocScrutinizer05"unclear fsckups during power-on? reboot until system comes up!  Wut? increased battery drain after unplugging XY from USB? Show evidence or we will close as INVALID"16:13
DocScrutinizer05"missing inbound calls? Get a featurephone if you want to do phonecalls, this is not a phone this is a pocket PC after all"16:13
DocScrutinizer05congrats if this attitude now preveils on CSSU16:14
keriook, you're well into strawman-land at this point16:14
keriostrawmen-land?16:14
DocScrutinizer05kerio: nope, we're already there, or at least halfway16:15
DocScrutinizer05stating KPxy was fit for primetime commercial-grade product is simply neglecting all the already known issues16:16
DocScrutinizer05unclear problems during bootup only one of them16:17
amiconnWell, you can't even fix bugs without introducing changes. And *every* change might introduce (other) bugs, instabilities, orincompatibilites16:18
DocScrutinizer05there are dozens of other unconfirmed complaints about regressions attributed to KP. Notion regarding them always been "as long as it's not hitting 100% of users 100% of time, we will just wait for $anybody picking up on the challenge to investigate further"16:18
*** arcean has joined #maemo-ssu16:18
amiconnI'm not advocating aggressive moving forward ignoring problems, but I don't understand this "change nothing unless absolutely necessary" attitude16:19
DocScrutinizer05now that's reworded to "tested by the masses" by estel16:19
amiconnImho the most important part is to actually and actively take care of bug reports16:20
amiconnJust my 2 cents...16:20
amiconnThis taking care of bug reports is missing for some maemo apps btw (not cssu material)16:21
DocScrutinizer05amiconn: it's always a evaluation of risk vs benefit. The benefit side scores _only_ on fixing bugs or delivering massive functional improvements that can't get achieved otherwise, while the risk side scores on every single change done, multiplied by the number of subsystems that might get affected by any new bug introduced by the change16:21
LaoLang_coolis cssu focus on introducing more features, not on improvment and bugfix?16:22
DocScrutinizer05LaoLang_cool: nope16:22
DocScrutinizer05focus is on LongTermsupport16:23
DocScrutinizer05LTS16:23
LaoLang_coolthanks, got it16:23
amiconnThat's true, but there's another point: If you allow for components getting too much outdated, you will lose support from upstream, meaning you're on your own when it comes to fixing security issues or similar16:23
DocScrutinizer05well, while that's true, it's actually the case already for our kernel since the day first N900 shipped16:24
amiconnEven debian sta(b)le now recommends upgrading firefox (iceweasel) from 3.5.x to 10.0.x lts through -backports16:24
DocScrutinizer05well, iceweasel won't break your whole system when an unforeseen new bug appears16:25
DocScrutinizer05kernel does16:25
DocScrutinizer05toolchain does16:25
amiconnI know the kernel is ooold...16:26
DocScrutinizer05and CSSU constantly updates subsystems of minor system relevance, like modest etc16:26
amiconnNew toolchain won't break stuff not compiled using that one.16:26
DocScrutinizer05the risk/benefit eqation looks different for modest than it does for kernel patches16:26
amiconnsure16:27
amiconnI.e. you could introduce a new toolchain and only use it for less important userland stuff. Then gradually extend its use if you didn't find issues16:28
DocScrutinizer05and particularly any bug in modest will get atrributed to modest quite naturally, while foundation subsystems like glibc or kernel or dbus will introduce bugs (if they introduce a bug, nobody can deny the possibility they will when patched) that *nobody* is able to atrribute to the correct patch instantly16:29
amiconnThe problem with community drien development is that you don't have a dedicated test center, so you have no other choice than letting the users test changes. Of course the first users going to test stuff should be experienced users, willing to take the risks16:29
amiconnBut this group must be large enough to get proper results. I know that this problem might be hard to solve (from rockbox development)16:30
DocScrutinizer05the problem is that users usually have no clue how to test16:30
DocScrutinizer05I.E. you use special test tools to test some new patch, like observing CPU load, mem-usage (for memleaks), power consumption etc. Usually users don't even know how to use those tools, they often don't even know of their existence16:32
kerioDocScrutinizer05: otoh stuff like glibc has quite the testing already done, upstream16:33
amiconnkerio: Upstream certainly didn't test in a maemo environment16:33
amiconnDocScrutinizer05: Then it might be necessary to provide special test executables, complete with instructions how to use them.16:34
DocScrutinizer05kerio: upstream testing is basically useless for N900, since we are not on an upstream system16:35
DocScrutinizer05testing by users: http://xkcd.com/937/16:36
amiconnNot sure whether this method works well for a system as complex as maemo5; I did something like this years ago when trying to verify whether an issue with an ATA driver optimisation had been resolved.16:36
DocScrutinizer05amiconn: (special test binaries needed) indeed16:36
DocScrutinizer05http://xkcd.com/937/  the hover text: >>the bug report was marked 'could not reproduce'."16:40
DocScrutinizer05that's basically exactly the situation we're facing here16:40
DocScrutinizer05it's particularly this property of patches to foundation systems like kernel, libs, IPC etc - you can't tell who caused that mega fsckup you just ran into - that makes a lot of users extremely cautious when it comes to somebody messing with "their" kernel or other system stuff. While same users happily accept some hackers messing with modest or desktop orientation, as the user is experienced enough to handle any bad situation16:49
DocScrutinizer05arising from such patches shipped to his device16:49
DocScrutinizer05so while concept of LTS allows moderate and carefully selected updates to particular apps or lower importance auxiliary subsystems like ke-recv, it clearly rules out major kernel upgrades just for the mere inclusion of leete stuff16:55
DocScrutinizer05any additional patch is an additional risk. Users don't want to take that risk with CSSU, if they want to take it they install KP5116:56
DocScrutinizer05from CSSU users expect bugFIXES for bugs they actually might suffer from in a way that reduces the stability and thus reliability of their device16:57
DocScrutinizer05that's what LTS is all about16:57
DocScrutinizer05for a more leete mailer app they will visit extras(-devel) and get one meeting their taste16:58
DocScrutinizer05if there's a severe bug in stock modest, like e.g. deleting mails from server despite the "don't delete2 option in modest got tagged, users expect CSSU to ship a fix for that17:00
*** javispedro has joined #maemo-ssu17:00
DocScrutinizer05s/ete2/ete"/17:00
infobotDocScrutinizer05 meant: if there's a severe bug in stock modest, like e.g. deleting mails from server despite the "don't delete" option in modest got tagged, users expect CSSU to ship a fix for that17:00
amiconnThere's one problem with this approach though: you're effectively splitting user bases, meaning that each flavour will see less testing17:02
DocScrutinizer05well, that's kinda true, but then otoh any user testing isn't exactly helping to reduce workload of patch review by peers17:03
amiconnCombined with the fact that there is no new maemo5 device, and hence the user base is shrinking over time anyway (*at least* due to devices breaking)17:03
DocScrutinizer05and you of course can migrate a patch tested in environment A by several users, to environment B which still is a test environment but used by another group of users, where it will see further 'testing'17:04
amiconnAs I said, a model like devel->testing->stable is needed, combined with proper bug handling (and closing as invalid with "cannot reproduce" isn't)17:04
kerioyeah but -experimental is different17:04
keriothink of cssu-thumb17:04
DocScrutinizer05actually stable is different17:05
amiconnAnd probably test binaries (maybe scripts running the tests and uploading the results)17:05
keriostuff there may never reach cssu-stable17:05
DocScrutinizer05yep17:05
keriodevel->testing->stable is a pipeline where stuff is eventually either passed on or removed17:05
DocScrutinizer05it never been meant to reach stable17:05
DocScrutinizer05so for now our cssu-devel in fact is experimental17:06
kerioi would start using it, but it would break -thumb :(17:06
kerioalthough i think that freemangordon is recompiling a bunch of stuff for -thumb, so it's at least close17:06
kerio(-thumb got the modest/tinymail updates)17:06
amiconnImo everything that's developed in -devel and is not ditched (because of main developer vanishing or getting it to work reliably at all) should reach -stable at some point, otherwise it's useless17:07
amiconns/or getting/or not getting/17:07
infobotamiconn meant: Imo everything that's developed in -devel and is not ditched (because of main developer vanishing or not getting it to work reliably at all) should reach -stable at some point, otherwise it's useless17:07
DocScrutinizer05well, if that thumb stuff is sane, it will allow any arbitrary ARM (== non-thumb-compiled) app to run without any probelms17:07
kerioDocScrutinizer05: yeah but fastness!17:07
kerio:317:08
kerioi think that cssu-thumb is supposed to be somewhat aligned to cssu-testing17:08
* amiconn is running KP for many months now, and wouldn't go back to stock kernel17:08
kerioamiconn: yeah but KP and the other "l33t" things require time17:09
*** DocScrutinizer has quit IRC17:09
kerioa lot of people don't care about their phone that much17:09
*** DocScrutinizer has joined #maemo-ssu17:09
*** DocScrutinizer05 has quit IRC17:09
*** DocScrutinizer05 has joined #maemo-ssu17:09
DocScrutinizer05and no way fastness is a valid entry ticket to CSSU-S(-LTS)17:09
kerioby "require time" i mean that they require a bit of manual effort17:09
jonwilMy view on this is that the new kernel (not KP, something more conservative with only patches that are of genuine benefit), new libc and new toolchain support should all go into cssu-devel with a view to being moved through to -testing and -stable at some point in the future17:09
DocScrutinizer05sorry, [2012-08-04 16:08:04] <kerio> :3 been last inbound here (disconnect)17:09
keriopastebinning17:10
keriohttp://fpaste.org/e7Qs/17:10
kerio...hey, you can just look at the logs!17:10
amiconnjonwil: The question is how to select those17:10
DocScrutinizer05thnx17:11
jonwilif it fixes a kernel bug its a good patch17:11
jonwilgenerally17:11
DocScrutinizer05yes, if we can prove the bug bites our N900-ass17:11
jonwilif it fixes a userspace bug, its also a good candidate17:11
amiconnFor me the 3 main benefits of KP are: (1) IPv6 support. (2) Reduced battery consumption, due to voltage profiles and smart reflex. (3) Overclocking. I do know that the last one is questionable for general deployment...17:12
DocScrutinizer05that's why I agreed we now need a CSSU kernel, if there's no other way to fix that pselect(9 mess17:12
jonwilcan anyone remember who is doing the BME replacement work?17:12
jonwilI think it was Pali although I cant be sure17:12
DocScrutinizer05yes, userland bugfixes are not as probelmatic as kernel generic or kernel-domain fixes17:13
DocScrutinizer05or fixes to foundation subsystems in general17:13
jonwilwhat I meant was kernel changes that fix userspace issues somehow17:13
jonwilsuch as the kernel fixes that fix pselect()17:13
DocScrutinizer05jonwil: bme kernel replacement: pali17:14
jonwilok17:14
DocScrutinizer05jonwil: hald-addon-bme et al: fmg17:14
jonwilI think that overclocking, USB-host-mode, IPv6 are not candidates for a CSSU kernel17:15
jonwilThe reduced battery consumption is though IMO because reduced battery consumption is something all n900 owners will like and be interested in17:15
DocScrutinizer05amiconn: SR and voltage are highly controversy as well, regarding stability and general sanity for all hw platforms they had to run on17:15
jonwilalthough it depends on how risky the power management changes in question actually are17:16
amiconnWell the idea of SR is that it auto-regulates, so it should work everywhere. You're right regarding voltage profiles of course17:16
DocScrutinizer05amiconn: there's been some whisper info from Nokia that SR is broken on a hw level and that's why it wasn't enabled first instance17:17
* amiconn did actually have issues due to a too low voltage profile himself17:17
keriowouldn't there be an official errata from TI?17:17
kerioamiconn: the "starving" profile or something silly like that?17:17
DocScrutinizer05kerio: not if the borkage is in N900 specific design17:18
keriolike what?17:18
amiconnNo, "starving" and even "ideal" don't work at all for me17:18
DocScrutinizer05like a too long too thin trace, a missing or too small or crappy buffer capacitor, or whatever else17:18
*** LaoLang_coo_ has joined #maemo-ssu17:18
amiconnOn my N900 "ulv" has the CPU working stable, but the DSP crashes, meaning that apps using the dsp (blessn900/ abc, media players, ...) crash17:19
*** LaoLang_cool has quit IRC17:19
DocScrutinizer05and this might apply to some hw-rev only. Now if we *knew* about details, we could safely recommend to enable SR on the hw-rev devices that aren't affected17:20
amiconnWith "lv" it's working fine, including SR enabled and overclocked to 805 MHz17:20
DocScrutinizer05for obvious reasons Nokia doesn't like to spread the news that some hw-revs have a 'bug' that others don't17:20
DocScrutinizer05and for same obvious reasons they never implemented a selective SR enabler in their PR17:21
RST38hThis is not subject of a hw bug17:22
RST38hThe CPU is rated for a certain voltage range17:22
DocScrutinizer05and I still fail to find a single decent scientific review on how much savings SR will aearn you17:22
RST38hIf you go outside the range, TI does not guarantee reliable operaion, that is all17:22
DocScrutinizer05RST38h: we're talking about SR17:22
DocScrutinizer05and why it's disabled on fremantle/N90017:23
RST38hThat "reflex" mode?17:23
DocScrutinizer05yep17:23
RST38hIt does not work on the CPUs used in N90017:23
DocScrutinizer05the 'definitive' answer from Nokia been "it's not stable" afaik17:23
RST38hThat is non-official word from several independent Nokia engineers, quoting TI17:23
kerio"does not work" how?17:23
amiconnDocScrutinizer05: It could also just be part of the "fire and forget" attiude that many manufacturers have. You don't like the performance of your device? Buy the successor....17:23
RST38hNo, it does not work properly. That is how they go those chips from TI. Nokia has nothign to do with it.17:24
RST38hs/go/got17:24
DocScrutinizer05btw there are quite usually SiErr that are NOT published to the unwashed masses by TI17:24
RST38hkerio:"Does not work" as in "leads to unpredictable operation"17:24
keriomeaning that it offers no benefits whatsoever or that it causes problems?17:24
kerioi see17:24
RST38hkerio: would you like me to explain what "unpredictable operation" means?17:24
DocScrutinizer05like the general lack of reliability of IRQ-wakes from powerless sleep in OMAP417:25
RST38hDoc: Of course there are erratas, usually specific to each stepping of the chip production17:25
DocScrutinizer05yep17:26
DocScrutinizer05for OMAP4 IRQ from powerless though, TI says they will fix it in OMAP5 ;-P17:26
DocScrutinizer05I don't know details, since all this is toilet talk, we just see the efforts to work around it, in our change requests from customers17:28
DocScrutinizer05like "please assert the IRQ repeatedly for 20s"17:28
*** mase76 has joined #maemo-ssu17:29
DocScrutinizer05might be a certain mask stepping of OMAP4 or whatever. No details, as far as i'm concerned I might as well have dreamt all this17:30
DocScrutinizer05or just made it up17:30
DocScrutinizer05you dunno what's this deal with SR in 'our' OMAP317:31
DocScrutinizer05you just know Nokia thought it's not safe to enable it17:31
DocScrutinizer05so why do you think it is?17:31
keriobecause elop hates open source!17:31
kerioor maybe because they wanted to be safe17:31
DocScrutinizer05so do 'we', here in CSSU17:32
amiconnOr had not enough time to test it17:32
keriouncertain benefits, uncertain stability depending on revision and whatnot17:32
* kerio uses SR with no problems so far17:32
DocScrutinizer05that's up to you, kerio. nobody will blame you for17:32
DocScrutinizer05but it's not up to CSSU to feed SR-enabled to *everybody* based on that17:33
DocScrutinizer05get my point?17:33
keriooh absolutely17:33
kerioto be fair, though, SR is disabled by default with kernel power17:34
kerioyou have to manually load the "default" settings and/or set them as default to make them actually enabled17:34
DocScrutinizer05so we could consider this particular patch "reviewed for CSSU kernel" if that's actually true and patch doesn't sho any other implications that might introduce new behaviour vs stock kernel17:35
DocScrutinizer05another how many? 89? remaining...17:35
DocScrutinizer05CSSU kernel should be based on stock kernel, with *only* the patch for pselect() applied (plus maybe one or two other patches to fix severe bugs that also need to get reviewed, evaluated, tested and signed off before)17:37
DocScrutinizer05no hostmode or IPv6 or whatever patches have a place in CSSU kernel17:38
DocScrutinizer05there's KP for that17:38
DocScrutinizer05(well, IPv6 *might* eventually advance to status 'mandatory' if it turns out carriers switching to IPv6 makes our CSSU based device break)17:40
amiconnSure, hostmode and the ton of additionally supported filesystems are not necessary for cssu kernel17:42
amiconnIPv6 is mandatory nowadays imho17:42
kerioipv6 needs a ton of changes in maemo applications, though17:43
keriodoesn't it?17:43
amiconnWell it might, but that's another reason for enabling it at the kernel level now17:44
amiconnThis way application developers have more time to fix the apps17:44
amiconnAnd enabling IPv6 won't affect apps not using it, so it should be safe17:45
keriohmm, the garage page says something about ipv6 requiring two APNs and two pdp contexts17:47
keriowhy is that?17:47
kerioalso i'm a bit worried about smartreflex now :c17:48
DocScrutinizer05amiconn: I tend to agree, more than argue17:48
DocScrutinizer05we should evaluate the impact of enabling IPv6, the risk it brings, and that there's actually nothing changing for apps not using it. Then test it and eventually include to CSSU kernel17:49
* kerio still has no ipv6 in his home network17:50
kerioi feel like a noob :c17:50
BCMMmy damn router doesn't do it as far as i can tell17:50
DocScrutinizer05mine neither17:51
kerioi should really build a proper openwrt system and start using 6to4 at least17:51
BCMMi'm sure you can still buy v4-only routers, post-exhaustion, which is totally messed up17:51
DocScrutinizer05kerio: (2 APN) probably because IPv6 and IPv4 are not compatible on same media channel17:51
BCMMkerio: yeah, i need to find out how to get one of those cheaply17:52
kerioDocScrutinizer05: yeah but ipv6 is backwards-compatible, isn't it17:52
DocScrutinizer05nope, not afaik17:52
DocScrutinizer05if it was, then I'd not know why you'd need two APN17:53
keriohm, wasn't there a special address class that encompasses the whole of ipv4?17:53
keriomaybe i'm thinking of something else17:53
kerioperhaps 6to417:53
DocScrutinizer056to4 is a tunneling protocol basically17:53
DocScrutinizer05afaik17:53
keriothe bestest tunneling is teredo, anyway17:53
BCMMthere's no way to contact a v4-only host if you don't have a v4 address or NAT, basically17:54
DocScrutinizer05if it actually is you wrap your ipv4 packets into a ipv6 wrapper and send it via ipv6 to a 'gateway'17:54
BCMMbecause how would the host get packets back to you if it doesn't know about v6 addresses?17:54
kerioyou'd need a 4to6 gateway, yeah17:54
*** taziff has quit IRC17:58
*** taziff has joined #maemo-ssu17:59
*** LaoLang_coo_ has quit IRC18:00
*** mase76 has quit IRC18:13
*** M4rtinK has joined #maemo-ssu18:20
*** mase76 has joined #maemo-ssu18:27
*** mase76 has quit IRC18:32
*** mase76 has joined #maemo-ssu18:40
*** taziff1 has joined #maemo-ssu18:44
*** taziff has quit IRC18:45
*** mase76 has quit IRC18:56
DocScrutinizer05javispedro: could you please read the (yeah lengthy) chanlog of 2 days ago, and post your take on CSSU-(LT)S vs CSSU-bleeding-edge-experimental here?19:00
javispedroalready read part of it19:00
javispedrodon't really want to enter the discussion19:01
DocScrutinizer05http://mg.pov.lt/maemo-ssu-irclog/%23maemo-ssu.2012-08-02.log.html#t2012-08-02T20:58:5919:01
DocScrutinizer05ff19:01
*** jonwil has quit IRC19:01
DocScrutinizer05Jaffa: what's about you?19:02
DocScrutinizer05generalantilles even missing19:02
DocScrutinizer05it seems to me in this discussion the "old farts" (aka those who once 'invented' CSSU) been severely under-represented19:04
DocScrutinizer05and I'm not sure this happened coincidental19:05
*** arcean has quit IRC19:05
keriowell, who called that discussion?19:06
DocScrutinizer05NFC actually19:06
kerioand who's got commit access to the repos?19:06
DocScrutinizer05http://mg.pov.lt/maemo-ssu-irclog/%23maemo-ssu.2012-08-02.log.html#t2012-08-02T21:08:0619:07
DocScrutinizer05the ones that the original project managers included to the respective garage project group, as developers19:08
javispedroin any case I suspect that the problem is developer-starvation19:09
*** arcean has joined #maemo-ssu19:10
javispedroand when that happens you get that devs want to do what pleases them most instead of the boring tasks ;P19:10
DocScrutinizer05https://garage.maemo.org/projects/cssu/  defines https://garage.maemo.org/projects/cssu-testing/  and https://garage.maemo.org/projects/cssu-stable/19:10
*** BCMM has quit IRC19:11
DocScrutinizer05javispedro: in that case it's outright rogue and dishonest to claim CSSU needs to change, just to "hijack" manpower for a bleeding-edge project that some guys want to drive here19:12
DocScrutinizer05you don't hijack and redefine a project, to shanghai the devels19:13
DocScrutinizer05that's what industry does sometimes. In FOSS though that should get banned publicly19:13
DocScrutinizer05s/banned/bashed/.19:14
*** zeq has joined #maemo-ssu19:19
*** mase76 has joined #maemo-ssu19:28
*** BCMM has joined #maemo-ssu19:49
*** zeq has quit IRC20:16
DocScrutinizer05where's the binary now to check that pselect() fsckup on stock kernel? I definitely wanna see that myself, before I continue to support any cssu kernel fixing it20:26
DocScrutinizer05did somebody provide a link yesterday?20:26
DocScrutinizer05also of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/319729/comments/23  attached own-wrapper test code please20:28
*** javispedro has quit IRC20:30
merlin1991DocScrutinizer05: quite a rant you wrote whilst I did other stuff :D20:31
DocScrutinizer05yeah, felt like it's needed20:31
merlin1991But my stance re pk / whanot is still as before meeting, I'll want a stock kernel + patches for stable20:31
DocScrutinizer05good20:32
DocScrutinizer05thought they mugged you20:32
DocScrutinizer05could you kindly provide testcode as in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/319729/comments/23  and https://bugs.launchpad.net/ubuntu/+source/linux/+bug/319729/comments/620:33
DocScrutinizer05both flavours each (simmulation and real pselect)20:34
merlin1991I have the arm build on my device (which is in vienna), but I can give you the build when I come back20:34
merlin1991also we have no real pselect on our stock kernel20:34
DocScrutinizer05fine with me20:34
merlin1991that's the whole reason for the patch, on maemo pselect is always simulated20:34
DocScrutinizer05sure thing, the missing pselect() in kernel is what we wanna test, after all20:34
merlin1991freemangordon said he managed to crash the sample code by running ham additionall to get some system load20:35
DocScrutinizer05I'll run a decent set of tests and post the results, since obviously nobody else will do20:35
merlin1991hm I do have my sb with me, the build should be on there20:36
* merlin1991 reboots20:36
*** jon_y has quit IRC20:36
*** mase76 has quit IRC20:40
DocScrutinizer05merlin1991: how much of a version hell will we face with all the kernel-flavours like uBoot images and whatnot? with that cssu kernel?20:40
DocScrutinizer05aiui we got 3 different falvours for each kernel now: plain NAND, NAND_with_uBoot, uBoot/multiboot image file20:41
merlin1991well uboot and multiboot will have to be reflashed in case we deploy the cssu kernel20:41
merlin1991and we need to put a big fat warning, because any kernel without pselect will foobar libc20:41
DocScrutinizer05ooh wait, til now each uBoot came bumdled with stock kernel, this is the first kernel that would replace stock kernel attached to uBoot code in NAND, right?20:42
merlin1991nah each uboot came bundled with different kernel20:43
DocScrutinizer05and AIUI we should even roll a new FIACO?20:43
merlin1991nope we don't need to roll a new Fiasco (we can't)20:43
DocScrutinizer05merlin1991: are you sure about that?20:43
DocScrutinizer05(new kernel with each uBoot)20:44
merlin1991DocScrutinizer05: yes, uboot-pr1.3 had stock kernel bundeled uboot-power has pk bundled ...20:44
DocScrutinizer05mhm20:44
merlin1991multiboot is again another story20:44
merlin1991and we overwrite anything in the flash area with our kernel20:44
DocScrutinizer05sure20:44
merlin1991DocScrutinizer05: http://cdnm.at/~christian/maemo/childspin20:44
DocScrutinizer05thanks20:45
*** jon_y has joined #maemo-ssu20:45
merlin1991but we should put a zimage up somewhere so people can recover their n900 with `flasher-3.5 -f -k pathtozimage` if they flashed a non pselect kernel20:46
DocScrutinizer05running20:47
merlin1991you need to put some load on the system for the race condition to happen20:47
DocScrutinizer05:nod:20:47
merlin1991ham should be perfect for that :D20:47
DocScrutinizer05I don't see such requirement20:47
merlin1991well the requirement is that you get a signal between those 3 calls to simulate pselect20:48
DocScrutinizer05anyway ssh over wlan should be hellufalot of enough load20:48
merlin1991which you'll only get if the 3 steps are interrupted20:48
merlin1991which in turn only happens on heavy system load20:48
DocScrutinizer05:shrug:20:48
DocScrutinizer05might be worth a shot, yeah20:48
merlin1991other than that you can ofc let it run for ages and see if it stops at some point (shouldn't stop ever)20:49
merlin1991dang, when I packed my stuff in vienna I was wondering wether to take the 2 n900s with -t and -s or not, seems I made the wrong decision :D20:50
DocScrutinizer05renice -5; i=1; while true; do echo $(( i++ )); done20:53
DocScrutinizer05renice -10; top20:53
DocScrutinizer05should do, I see the jitter in "........................................."20:54
DocScrutinizer05still running20:54
DocScrutinizer05CPU: 28.4% usr 63.2% sys  0.0% nice  0.0% idle  0.0% io  0.5% irq  7.7% softirq20:55
DocScrutinizer05hell, I could actually start HAM as well20:55
DocScrutinizer05:shrug:20:55
DocScrutinizer05CPU: 26.0% usr 63.0% sys  3.3% nice  0.0% idle  0.0% io  1.3% irq  6.2% softirq20:57
DocScrutinizer05hmm, this HAM thing didn't do much?20:57
kerioopen modest!20:58
DocScrutinizer0515685 15263 root     R      780  0.3 18.2 -sh20:58
DocScrutinizer05   10     2 root     RW       0  0.0 16.4 [omap2_mcspi]20:58
DocScrutinizer0515263   709 root     R     1756  0.7 11.7 sshd: root@pts/220:58
DocScrutinizer0518448 17964 root     R N   6188  2.5 10.3 /usr/libexec/apt-worker.real backend /tmp/apt-worker.to /tmp/apt-worker.from /tmp/apt-worker.status /tmp/apt-worker.cancel B20:58
DocScrutinizer05.20:59
DocScrutinizer05.20:59
DocScrutinizer05   10     2 root     SW       0  0.0 17.6 [omap2_mcspi]20:59
DocScrutinizer0515685 15263 root     R      776  0.3 17.0 -sh20:59
DocScrutinizer0518448 17964 root     R N   6996  2.8 14.9 /usr/libexec/apt-worker.real backend /tmp/apt-worker.to /tmp/apt-worker.from /tmp/apt-worker.status /tmp/apt-worker.cancel B20:59
DocScrutinizer0515263   709 root     S     1724  0.7 14.7 sshd: root@pts/220:59
DocScrutinizer05 3956  2896 root     R      284  0.1  8.6 ./childspin20:59
keriomispaste?20:59
DocScrutinizer05indeed, I should prolly kick myself21:00
keriono! don't do it!21:00
DocScrutinizer05anyway, still running21:00
DocScrutinizer05I'll start a second childspin on device xterm, so no overhead for WLAN ssh21:02
kerioyou spin me right round baby right round like a record baby right round round round21:02
DocScrutinizer052 childspin running21:04
DocScrutinizer05CPU: 40.0% usr 54.8% sys  0.0% nice  0.0% idle  0.0% io  0.1% irq  4.8% softirq21:04
* DocScrutinizer05 twiddles thumbs21:05
keriono, the thumb bug is a different one!21:05
DocScrutinizer05well, newsflash time21:05
merlin1991...21:08
DocScrutinizer0520906  3700 root     R      288  0.1  3.7 ./childspin21:08
DocScrutinizer05 3956  2896 root     S      284  0.1  3.1 ./childspin21:08
merlin1991R / S meaning?21:09
merlin1991running and suspended?21:09
merlin1991shouldn't that be R and R?21:09
merlin1991(if the bug does not exist)21:09
merlin1991ah wait 1 core can only be R?21:10
*** taziff1 has quit IRC21:14
DocScrutinizer05      mv   RSOC CSOC mA   NAC  CACD CACT TTF   TTE   TEMP21:15
DocScrutinizer0520:15 4138 97   97   -44  1115 1115 1115 65535 1506  49  NOACT:0 IMIN:0 CI:1 CALIP:0 VDQ:1 EDV1:0 EDVF:021:15
DocScrutinizer05there's always only one R iirc21:15
DocScrutinizer05actually nope21:16
DocScrutinizer05the childspin only is R if it doesn't just wait on pselect()21:17
RST38hHey, Doc, rumors say someone got hardware audio filter work on N900?21:18
RST38hWill that kernel patch be in CSSU, with software filter disabled? =)21:18
DocScrutinizer05rumors say i'm running two childspin since hours, happily21:24
DocScrutinizer05 3956 root      20   0 S - - -  2:44.84  5.0  0.1 ./childspin21:25
DocScrutinizer0520906 root      20   0 S - - -  0:44.24  3.0  0.1 ./childspin21:25
DocScrutinizer05while the renice -5; i=1; while true; do echo $(( i++ )); done  is at 2500000 meanwhile21:26
DocScrutinizer05merlin1991: I'm sorry, but....21:27
DocScrutinizer05merlin1991: please recheck your source of childspin21:27
DocScrutinizer05HAAAAHAAAAHAAAAAAAAAAAAAAAAAAA it hanfgs21:28
DocScrutinizer05hangs21:28
DocScrutinizer05 3956 root      20   0 S - - -  2:51.02  0.0  0.1 ./childspin21:30
DocScrutinizer05~ # strace -p 395621:32
DocScrutinizer05Process 3956 attached - interrupt to quit21:32
DocScrutinizer05select(0, NULL, NULL, NULL, NULL21:32
DocScrutinizer05while... (SPAM!)21:35
DocScrutinizer05clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4001cc38) = 3083921:35
DocScrutinizer05rt_sigprocmask(SIG_SETMASK, [], [CHLD], 8) = 021:35
DocScrutinizer05select(0, NULL, NULL, NULL, NULL)       = ? ERESTARTNOHAND (To be restarted)21:35
DocScrutinizer05--- SIGCHLD (Child exited) @ 0 (0) ---21:35
DocScrutinizer05sigreturn()                             = ? (mask now [QUIT ILL TRAP ABRT BUS KILL PIPE CHLD CONT STOP TSTP URG XCPU VTALRM PROF WINCH IO PWR RTMIN])21:35
DocScrutinizer05rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 021:35
DocScrutinizer05wait4(30839, NULL, 0, NULL)             = 3083921:35
DocScrutinizer05write(1, ".", 1)                        = 121:35
DocScrutinizer05.21:35
DocScrutinizer05on the other still running spinchild21:36
DocScrutinizer05merlin1991: ok, confirmed. we (very rarely) see that bug21:37
DocScrutinizer05it's however impossible to say how much impact it has in real life - not that this would matter21:38
DocScrutinizer05given the amount of dbus transactions going on all the time, one occurance per lifetime is minimum I'd expect to see. That's enough to get it fixed21:39
DocScrutinizer05I'll eventually summ up the results and post to ML, if I can find a thread to attach it to21:40
jon_ywow, my irc buffer21:42
jon_ysome soccer mom is going to have a rampage if she sees spin, child, kill in the same sentence :)21:43
DocScrutinizer05merlin1991: could you please build and provide spinchild-sim? with -DUSE_SELECT21:45
DocScrutinizer05(we (very rarely) see that bug) I'm actually disappointed it happens so rarely, since this reduces hope for a massive reliability increase from any fix21:47
*** NIN101 has quit IRC21:48
DocScrutinizer05otoh it explains how this bug could sneak in and hide all the time21:48
DocScrutinizer05on a sidenote:  1029 user      15  -5 S - - -  1:07.01  0.0  0.7 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session21:51
DocScrutinizer05CPU time of dbus daemon: 67s21:52
DocScrutinizer05 3956 root      20   0 S - - -  2:51.02  0.0  0.1 ./childspin21:52
DocScrutinizer05childspin hung after 171s CPU time21:52
DocScrutinizer05(btw the other dbus daemon [for systembus] has just 20s more CPU time)21:54
DocScrutinizer05FWIW21:54
DocScrutinizer05Uptime: 2 days, 01:57:0721:55
DocScrutinizer05so, while this is of course complete handwaving and BS, you still could say dbus is likely to see one error on either system or user bus daemon during a few days of uptime21:56
DocScrutinizer05when comparing it to CPU time spinchild needed to finally freeze21:57
*** nox- has joined #maemo-ssu22:02
*** BCMM_ has joined #maemo-ssu22:09
*** BCMM has quit IRC22:12
*** BCMM_ is now known as BCMM22:12
*** freemangordon_ has joined #maemo-ssu22:15
freemangordon_doc, run childspin, run HAM, choose to edit the catalogs and rotate the device. hang happens as soon as HAM starts the rotation22:17
freemangordon_that way you have both CPU and IO load and the bug is triggered in 90 percent of the tries, see logs from yesterday morning, sorry cannot provde link, I am writing from my n90022:19
DocScrutinizer05freemangordon_: well, it finally triggered here anyway, and I fail to see how we'd need IO load to trigger it22:20
DocScrutinizer05aiui it's just about preemtion after the sigmask() before the select()22:22
DocScrutinizer05for this preemption it should suffice to run other process with higher prio22:22
* DocScrutinizer05 idly looks for state of on-device spinchild...22:23
freemangordon_what I am saying, is that you assessment about how often we'll be hit by the bug, is a little bit low :-)22:23
DocScrutinizer0520906 root      20   0 S - - -  7:46.94 11.0  0.1 ./childspin22:24
DocScrutinizer057min47 CPU22:24
DocScrutinizer05running22:24
freemangordon_a wild guess- media player widget could be the the one that suffers from that bug22:25
DocScrutinizer05freemangordon_: I started HAM22:25
freemangordon_it deffinitely misses dbus signals. thugh i might be speaking bullshit as well :-D22:25
DocScrutinizer05freemangordon_: no portrait mode here, so rotating won't help ;-P22:25
freemangordon_well, HAM should rotate anyway (if you are on testing)22:26
DocScrutinizer05it doesn't22:26
freemangordon_you could enable force rotation ;-)22:26
DocScrutinizer05dafaq22:26
DocScrutinizer05I enabled forbid-rotation22:26
freemangordon_well, trust me on that then (tm) :-P22:27
DocScrutinizer05mind you, we're trying to test this on a system as normal as possible22:27
DocScrutinizer05don't give me ideas why CSSU has to bin portrait mode22:28
DocScrutinizer05;-P22:28
freemangordon_naah :-D22:28
DocScrutinizer05anyway, green light for minimalistic CSSU-kernel from my side22:28
freemangordon_doc, meeting request was sent yesterday 7 am UTC to maemo-developers22:29
DocScrutinizer05which other bugfix patches would we need to pull in to cssu kernel?22:29
freemangordon_I really appologise I forgot you are on holiday22:29
DocScrutinizer05I'm not on holiday, I'm simply not reading MLK on a regular basis22:30
DocScrutinizer05ML*22:30
freemangordon_seems you are not the only one ;-)22:30
freemangordon_anyway, I am on holyday right now, will be back home tomorrow22:31
DocScrutinizer05I got not enough hours in the day to read all my ML22:31
DocScrutinizer05(green light) for pondering how to roll that22:32
freemangordon_according to what was decided, we'll have to go through all the pathes in KP and evaluate what to be removed22:32
DocScrutinizer05we still need to think carefully about any pitfalls we might face22:32
freemangordon_sure22:33
DocScrutinizer05with repos, conflicts, whatever22:33
freemangordon_well, if we use "kernel", we'll have lots of problems solved22:33
freemangordon_including KP uninstaller ;-)22:33
freemangordon_thanks hxka, if you read that someday22:34
* DocScrutinizer05 moves to TV again, for NCIS22:34
freemangordon_anyway, i have to go back to my gf and friends, otherwise i'll have more serious troubles than any maemo stuff could bring me :-D22:35
freemangordon_will be hanging around though22:35
DocScrutinizer05CPU: 40.6% sy: 55.7% ni:  0.0% hi:  0.5% si:  3.1% wa:  0.0%                            20906 root      20   0 S - - - 10:11.89  3.0  0.1 ./childspin22:44
DocScrutinizer05anyway you see how difficult it might get to reproduce a well documented and understood bug22:48
DocScrutinizer05how much worse might it get when it comes to thumb-SiErr, or SR borkedness22:49
freemangordon_doc, it does not make sense to try to  recreate race condition bug with only one active process22:50
DocScrutinizer05there are 2 other processes active, at niceness -10 and -1522:56
DocScrutinizer05CPU: 40.6% sy: 55.7%22:57
freemangordon_io deffinitely plays here, though i didn't think why22:58
DocScrutinizer05while I rethink the effectiveness of my renice cmd23:00
freemangordon_doc, do you have any app supporting portrait?23:02
*** MrPingu has joined #maemo-ssu23:04
DocScrutinizer05portrait is locked on my device23:05
DocScrutinizer05except for dialer ;-P23:05
freemangordon_:-)23:06
DocScrutinizer05cal me noob, my shellcmd fu is weak23:11
DocScrutinizer05renice and even nice didn't work like expected, prollay thanks to fscking messybox23:12
DocScrutinizer05finally renicing the endless loop to -15 instantly killed childspin (though no causality proven by one incidence)23:13
DocScrutinizer05freemangordon_: ^^^ I bet you love to hear that23:13
freemangordon_hmm, why rising prio should trigger the bug? well, child prosess also have the same prio, but so what?23:15
DocScrutinizer05freemangordon_: (io deffinitely plays here, though i didn't think why) IO is scheduled at a way higher prio than your usual prio-0 userland processes23:15
freemangordon_:nod:23:15
DocScrutinizer05obviously all the CPU load in the world can't preempt a childspin on same niceness level23:16
DocScrutinizer05a higher prio / lower niceness process does - immediately23:16
freemangordon_well, i am glad you are convinced it is severe problem23:24
DocScrutinizer05a bug in kernel is always a severe problem23:27
DocScrutinizer05a severe problem requires honest investigation to completely understand the impact and risks23:28
DocScrutinizer05only after completely understanding the problem, you can come up with the right solution23:29
DocScrutinizer05which in this case seems to roll a patched kernel and lib23:29
DocScrutinizer05ouch my grammar23:29
freemangordon_:-)23:29
DocScrutinizer05any other approach fails due to us once again not knowing where the bug may sleep, IOW which app out there might use pselect()23:31
DocScrutinizer05so the alternative approach to fix all apps that are affected fails23:31
DocScrutinizer05which leaves us with the only feasible solution to fix the root cause, however painful it might be from a maintenance POV23:32
DocScrutinizer05when pondering impact of breaking some custom kernel modules (which shouldn't exist according to GPL anyway) versus fixing pselect() by a patched kernel for all the apps that may use pselect(), I clearly see the bettwer benefit ratio in the latter23:35
DocScrutinizer05which is kinda of my iltimate ratio regarding this CSSU compatibility fsckup we're going to commit here23:37
DocScrutinizer05ultimate even23:38
DocScrutinizer05which doesn't mean we can go all loose now once we broke compatibility a tiny bit, and roll kernel-3.2 now23:39
DocScrutinizer05neither PK5123:39
DocScrutinizer05while from a compatibility perspective it doesn't make any difference, from a risk management perspective our new cssu kernel has to be as low effort to verify as possible23:40
freemangordon_hmm, 3.2 sounds nice :-P . too bad we don't have working adaptation :-D .23:40
*** BCMM_ has joined #maemo-ssu23:40
freemangordon_anyway, I gtg, night23:40
*** freemangordon_ has left #maemo-ssu23:40
DocScrutinizer05n8 freemangordon23:40
jon_ywait what, kernel-3.2 on the n900?23:41
jon_yDocScrutinizer05: possible?23:45
DocScrutinizer05no23:45
DocScrutinizer05at least not for maemo23:45
jon_yok, too much patches to port forward?23:46
DocScrutinizer05too much blobs not possible to port forward23:50
DocScrutinizer05many*23:50
jon_ydamn proprietary bits23:50
jon_ywhat about minor version bumps?23:51
jon_yeg to 2.6.3x23:51
DocScrutinizer05this is handled by PK via backporting stuff23:55
jon_yvery nice23:59

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