IRC log for #maemo-ssu on 20120804

00:04.20*** join/#maemo-ssu arcean_ (~arcean@aaep168.neoplus.adsl.tpnet.pl)
01:06.31*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.139)
02:02.41*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
02:24.10*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.139)
02:27.42*** join/#maemo-ssu amiconn_ (quassel@rockbox/developer/amiconn)
05:05.15*** join/#maemo-ssu taziff (~Taziff@cyr108.internetdsl.tpnet.pl)
05:47.19*** join/#maemo-ssu chainsawbike (~chainsawb@unaffiliated/chainsawbike)
05:57.41*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.139)
08:08.16*** join/#maemo-ssu zeq (~s_j_newbu@178.109.220.37)
08:27.23*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.139)
09:23.13*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.139)
09:32.07*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
09:39.34*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)
10:24.15*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.139)
10:27.15*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)
10:29.03*** join/#maemo-ssu NIN101 (~NIN@p5DD28BB5.dip0.t-ipconnect.de)
10:34.49DocScrutinizer05merlin1991: I hope you know what your statement of "until proven stable" implies. NO WAY this will get decided by acclamation of guys like estel
10:38.14DocScrutinizer05and 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?
10:43.30DocScrutinizer05why 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?
10:44.13kerioDocScrutinizer05: i, for one, approve of a cssu-power fork that also adds the said "leete" features
10:44.32kerio(cssu-thumb is kinda like that, if you think about it)
10:44.49DocScrutinizer05I'll not support a kernel with 50+ patches that honestly all haven't been tested to work without side effects on our device
10:46.05keriohey, KP50 is in extras! it means that it's stable! </sarcasm>
10:46.09DocScrutinizer05yes, 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-s
10:47.18*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@221.226.175.139)
10:51.25DocScrutinizer05as 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 chanlog
10:52.11DocScrutinizer05honestly seems you guys planned a proper nice revolution, messing up everything the CSSU founders had in mind, eh?
10:52.19kerio"you guys" who?
10:55.26DocScrutinizer05whoever initiated that blitz-conference
10:55.37DocScrutinizer05and drove it that direction
10:57.12DocScrutinizer05and 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 other
10:58.55DocScrutinizer05forcing 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 idiocy
11:05.11DocScrutinizer05most 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-leete
11:09.01NIN101haha
11:09.08DocScrutinizer05guys, 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 lifes
11:09.32NIN101100% ack.
11:12.43DocScrutinizer05could 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"
11:22.41*** join/#maemo-ssu krayon (~krayon@pdpc/supporter/28for7/krayon)
11:34.22*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)
11:57.16LaoLang_coolYeah!
11:58.27LaoLang_coolI don't use n900 as my cell phone, I use it as a super-mini tablet, it losts many basic cellphone functions
12:10.34*** join/#maemo-ssu fw190 (1faf497d@gateway/web/freenode/ip.31.175.73.125)
12:13.04fw190DocScrutinizer: 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 user
12:27.50DocScrutinizer05>>Estel_release early, release often ;)
12:28.28DocScrutinizer05LOL that's true for devel and experimental, it clearly shows there's a massive misconception about what CSSU actually IS
12:30.28kerioooh, cssu-devel has apt 0.7
12:30.29kerioneat
12:30.37DocScrutinizer05CSSU 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"
12:30.44kerioand an updated busybox, sweet
12:31.40DocScrutinizer05the only domain where you can be a bit more progressive with your improvements are those that DO NOT have impact on the whole system
12:32.50DocScrutinizer05since 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 incident
12:33.33DocScrutinizer05and NO WAY the mantra "release early, release often" ever applied to and kernel and/or toolchain related things
12:33.57DocScrutinizer05s/to and/to any/
12:35.44jonwilso yeah I do agree with not shipping KP but instead shipping kernel with minimal set of tested changes
12:36.23jonwilIIRC that was what was discussed at the meeting before
12:38.01kerioooh, where do maemo-security-certman-applet and modest-home-applet (non-free) come from, in -devel?
12:40.24jonwilcertman-applet is now open source so that can be replaced. I don't have a clue why CSSU is shipping modest-home-applet
12:47.18DocScrutinizer05jonwil: 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 this
12:48.56jonwilwhich I disagree with
12:48.59DocScrutinizer05as usual estel beaten everybody's intelligence by stating shit like "it's been tested by millions of happy ACME users"
12:49.49DocScrutinizer05and "there are zero reports of anything bad happening, so there can't be anything"
12:50.18DocScrutinizer05which is 3 wrong assumptions in one sentence, sth estel is really great on
12:55.58DocScrutinizer05and 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 is
12:55.59DocScrutinizer05guaranteed to inherit any of the stability it had before you changed toolchain
12:57.20DocScrutinizer05basically same situation as with a new kernel, only worse
12:58.55DocScrutinizer05honestly 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 harmattan
13:00.07DocScrutinizer05on a usual linux distro you'd bump at least the minor version by .1
13:00.22DocScrutinizer05so this should become maemo5.1 then
13:00.42keriomaemo-power!
13:00.52DocScrutinizer05indeeed
13:00.59kerioor cssu-power
13:01.01kerioor something like that
13:01.15DocScrutinizer05the suggested fork
13:02.21DocScrutinizer05just 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"
13:02.44DocScrutinizer05since CSSU been about LTS from day one
13:06.21DocScrutinizer05and 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?
13:07.30DocScrutinizer05hell there's KP51 for everybody to install free of charge! WTF we need to make it a mandatory part of CSSU?
13:08.22DocScrutinizer05and what's next? Mandatory portrait-only desktop?
13:10.34DocScrutinizer05"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"
13:13.03DocScrutinizer05"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"
13:13.52DocScrutinizer05"missing inbound calls? Get a featurephone if you want to do phonecalls, this is not a phone this is a pocket PC after all"
13:14.30DocScrutinizer05congrats if this attitude now preveils on CSSU
13:14.35keriook, you're well into strawman-land at this point
13:14.45keriostrawmen-land?
13:15.41DocScrutinizer05kerio: nope, we're already there, or at least halfway
13:16.40DocScrutinizer05stating KPxy was fit for primetime commercial-grade product is simply neglecting all the already known issues
13:17.08DocScrutinizer05unclear problems during bootup only one of them
13:18.26amiconnWell, you can't even fix bugs without introducing changes. And *every* change might introduce (other) bugs, instabilities, orincompatibilites
13:18.36DocScrutinizer05there 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"
13:19.00*** join/#maemo-ssu arcean (~arcean@aact183.neoplus.adsl.tpnet.pl)
13:19.13amiconnI'm not advocating aggressive moving forward ignoring problems, but I don't understand this "change nothing unless absolutely necessary" attitude
13:19.28DocScrutinizer05now that's reworded to "tested by the masses" by estel
13:20.08amiconnImho the most important part is to actually and actively take care of bug reports
13:20.21amiconnJust my 2 cents...
13:21.11amiconnThis taking care of bug reports is missing for some maemo apps btw (not cssu material)
13:21.51DocScrutinizer05amiconn: 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 change
13:22.09LaoLang_coolis cssu focus on introducing more features, not on improvment and bugfix?
13:22.54DocScrutinizer05LaoLang_cool: nope
13:23.23DocScrutinizer05focus is on LongTermsupport
13:23.29DocScrutinizer05LTS
13:23.47LaoLang_coolthanks, got it
13:23.57amiconnThat'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 similar
13:24.50DocScrutinizer05well, while that's true, it's actually the case already for our kernel since the day first N900 shipped
13:24.53amiconnEven debian sta(b)le now recommends upgrading firefox (iceweasel) from 3.5.x to 10.0.x lts through -backports
13:25.43DocScrutinizer05well, iceweasel won't break your whole system when an unforeseen new bug appears
13:25.51DocScrutinizer05kernel does
13:25.55DocScrutinizer05toolchain does
13:26.15amiconnI know the kernel is ooold...
13:26.28DocScrutinizer05and CSSU constantly updates subsystems of minor system relevance, like modest etc
13:26.47amiconnNew toolchain won't break stuff not compiled using that one.
13:27.00DocScrutinizer05the risk/benefit eqation looks different for modest than it does for kernel patches
13:27.06amiconnsure
13:28.14amiconnI.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 issues
13:29.05DocScrutinizer05and 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 instantly
13:29.27amiconnThe 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 risks
13:30.34amiconnBut this group must be large enough to get proper results. I know that this problem might be hard to solve (from rockbox development)
13:30.40DocScrutinizer05the problem is that users usually have no clue how to test
13:32.03DocScrutinizer05I.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 existence
13:33.05kerioDocScrutinizer05: otoh stuff like glibc has quite the testing already done, upstream
13:33.36amiconnkerio: Upstream certainly didn't test in a maemo environment
13:34.21amiconnDocScrutinizer05: Then it might be necessary to provide special test executables, complete with instructions how to use them.
13:35.53DocScrutinizer05kerio: upstream testing is basically useless for N900, since we are not on an upstream system
13:36.03DocScrutinizer05testing by users: http://xkcd.com/937/
13:36.05amiconnNot 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.
13:36.31DocScrutinizer05amiconn: (special test binaries needed) indeed
13:40.24DocScrutinizer05http://xkcd.com/937/  the hover text: >>the bug report was marked 'could not reproduce'."
13:40.55DocScrutinizer05that's basically exactly the situation we're facing here
13:49.24DocScrutinizer05it'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 situation
13:49.26DocScrutinizer05arising from such patches shipped to his device
13:55.07DocScrutinizer05so 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 stuff
13:56.07DocScrutinizer05any additional patch is an additional risk. Users don't want to take that risk with CSSU, if they want to take it they install KP51
13:57.40DocScrutinizer05from CSSU users expect bugFIXES for bugs they actually might suffer from in a way that reduces the stability and thus reliability of their device
13:57.49DocScrutinizer05that's what LTS is all about
13:58.37DocScrutinizer05for a more leete mailer app they will visit extras(-devel) and get one meeting their taste
14:00.04DocScrutinizer05if 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 that
14:00.21*** join/#maemo-ssu javispedro (~javier@Maemo/community/contributor/javispedro)
14:00.27DocScrutinizer05s/ete2/ete"/
14:02.03amiconnThere's one problem with this approach though: you're effectively splitting user bases, meaning that each flavour will see less testing
14:03.10DocScrutinizer05well, that's kinda true, but then otoh any user testing isn't exactly helping to reduce workload of patch review by peers
14:03.22amiconnCombined 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)
14:04.17DocScrutinizer05and 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'
14:04.20amiconnAs I said, a model like devel->testing->stable is needed, combined with proper bug handling (and closing as invalid with "cannot reproduce" isn't)
14:04.41kerioyeah but -experimental is different
14:04.57keriothink of cssu-thumb
14:05.02DocScrutinizer05actually stable is different
14:05.04amiconnAnd probably test binaries (maybe scripts running the tests and uploading the results)
14:05.11keriostuff there may never reach cssu-stable
14:05.22DocScrutinizer05yep
14:05.28keriodevel->testing->stable is a pipeline where stuff is eventually either passed on or removed
14:05.35DocScrutinizer05it never been meant to reach stable
14:06.07DocScrutinizer05so for now our cssu-devel in fact is experimental
14:06.32kerioi would start using it, but it would break -thumb :(
14:06.45kerioalthough i think that freemangordon is recompiling a bunch of stuff for -thumb, so it's at least close
14:06.57kerio(-thumb got the modest/tinymail updates)
14:07.11amiconnImo 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 useless
14:07.30amiconns/or getting/or not getting/
14:07.42DocScrutinizer05well, if that thumb stuff is sane, it will allow any arbitrary ARM (== non-thumb-compiled) app to run without any probelms
14:07.58kerioDocScrutinizer05: yeah but fastness!
14:08.05kerio:3
14:08.27kerioi think that cssu-thumb is supposed to be somewhat aligned to cssu-testing
14:08.46amiconnis running KP for many months now, and wouldn't go back to stock kernel
14:09.04kerioamiconn: yeah but KP and the other "l33t" things require time
14:09.14kerioa lot of people don't care about their phone that much
14:09.16*** join/#maemo-ssu DocScrutinizer (~halley@openmoko/engineers/joerg)
14:09.25*** join/#maemo-ssu DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
14:09.35DocScrutinizer05and no way fastness is a valid entry ticket to CSSU-S(-LTS)
14:09.37kerioby "require time" i mean that they require a bit of manual effort
14:09.41jonwilMy 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 future
14:09.54DocScrutinizer05sorry, [2012-08-04 16:08:04] <kerio> :3 been last inbound here (disconnect)
14:10.17keriopastebinning
14:10.31keriohttp://fpaste.org/e7Qs/
14:10.41kerio...hey, you can just look at the logs!
14:10.43amiconnjonwil: The question is how to select those
14:11.07DocScrutinizer05thnx
14:11.08jonwilif it fixes a kernel bug its a good patch
14:11.11jonwilgenerally
14:11.43DocScrutinizer05yes, if we can prove the bug bites our N900-ass
14:12.00jonwilif it fixes a userspace bug, its also a good candidate
14:12.15amiconnFor 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...
14:12.23DocScrutinizer05that's why I agreed we now need a CSSU kernel, if there's no other way to fix that pselect(9 mess
14:12.50jonwilcan anyone remember who is doing the BME replacement work?
14:12.55jonwilI think it was Pali although I cant be sure
14:13.07DocScrutinizer05yes, userland bugfixes are not as probelmatic as kernel generic or kernel-domain fixes
14:13.19DocScrutinizer05or fixes to foundation subsystems in general
14:13.27jonwilwhat I meant was kernel changes that fix userspace issues somehow
14:13.35jonwilsuch as the kernel fixes that fix pselect()
14:14.07DocScrutinizer05jonwil: bme kernel replacement: pali
14:14.11jonwilok
14:14.19DocScrutinizer05jonwil: hald-addon-bme et al: fmg
14:15.22jonwilI think that overclocking, USB-host-mode, IPv6 are not candidates for a CSSU kernel
14:15.52jonwilThe reduced battery consumption is though IMO because reduced battery consumption is something all n900 owners will like and be interested in
14:15.54DocScrutinizer05amiconn: SR and voltage are highly controversy as well, regarding stability and general sanity for all hw platforms they had to run on
14:16.28jonwilalthough it depends on how risky the power management changes in question actually are
14:16.40amiconnWell the idea of SR is that it auto-regulates, so it should work everywhere. You're right regarding voltage profiles of course
14:17.30DocScrutinizer05amiconn: 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 instance
14:17.46amiconndid actually have issues due to a too low voltage profile himself
14:17.48keriowouldn't there be an official errata from TI?
14:18.00kerioamiconn: the "starving" profile or something silly like that?
14:18.11DocScrutinizer05kerio: not if the borkage is in N900 specific design
14:18.22keriolike what?
14:18.26amiconnNo, "starving" and even "ideal" don't work at all for me
14:18.47DocScrutinizer05like a too long too thin trace, a missing or too small or crappy buffer capacitor, or whatever else
14:18.52*** join/#maemo-ssu LaoLang_coo_ (~LaoLang_c@221.226.175.139)
14:19.27amiconnOn my N900 "ulv" has the CPU working stable, but the DSP crashes, meaning that apps using the dsp (blessn900/ abc, media players, ...) crash
14:20.12DocScrutinizer05and 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 affected
14:20.12amiconnWith "lv" it's working fine, including SR enabled and overclocked to 805 MHz
14:20.58DocScrutinizer05for obvious reasons Nokia doesn't like to spread the news that some hw-revs have a 'bug' that others don't
14:21.41DocScrutinizer05and for same obvious reasons they never implemented a selective SR enabler in their PR
14:22.07RST38hThis is not subject of a hw bug
14:22.21RST38hThe CPU is rated for a certain voltage range
14:22.29DocScrutinizer05and I still fail to find a single decent scientific review on how much savings SR will aearn you
14:22.40RST38hIf you go outside the range, TI does not guarantee reliable operaion, that is all
14:22.52DocScrutinizer05RST38h: we're talking about SR
14:23.08DocScrutinizer05and why it's disabled on fremantle/N900
14:23.14RST38hThat "reflex" mode?
14:23.16DocScrutinizer05yep
14:23.30RST38hIt does not work on the CPUs used in N900
14:23.42DocScrutinizer05the 'definitive' answer from Nokia been "it's not stable" afaik
14:23.49RST38hThat is non-official word from several independent Nokia engineers, quoting TI
14:23.51kerio"does not work" how?
14:23.52amiconnDocScrutinizer05: 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....
14:24.10RST38hNo, it does not work properly. That is how they go those chips from TI. Nokia has nothign to do with it.
14:24.19RST38hs/go/got
14:24.29DocScrutinizer05btw there are quite usually SiErr that are NOT published to the unwashed masses by TI
14:24.44RST38hkerio:"Does not work" as in "leads to unpredictable operation"
14:24.45keriomeaning that it offers no benefits whatsoever or that it causes problems?
14:24.45kerioi see
14:24.56RST38hkerio: would you like me to explain what "unpredictable operation" means?
14:25.02DocScrutinizer05like the general lack of reliability of IRQ-wakes from powerless sleep in OMAP4
14:25.40RST38hDoc: Of course there are erratas, usually specific to each stepping of the chip production
14:26.08DocScrutinizer05yep
14:26.42DocScrutinizer05for OMAP4 IRQ from powerless though, TI says they will fix it in OMAP5 ;-P
14:28.08DocScrutinizer05I don't know details, since all this is toilet talk, we just see the efforts to work around it, in our change requests from customers
14:28.50DocScrutinizer05like "please assert the IRQ repeatedly for 20s"
14:29.25*** join/#maemo-ssu mase76 (~mase76@p5DD3971E.dip.t-dialin.net)
14:30.21DocScrutinizer05might be a certain mask stepping of OMAP4 or whatever. No details, as far as i'm concerned I might as well have dreamt all this
14:30.30DocScrutinizer05or just made it up
14:31.04DocScrutinizer05you dunno what's this deal with SR in 'our' OMAP3
14:31.26DocScrutinizer05you just know Nokia thought it's not safe to enable it
14:31.33DocScrutinizer05so why do you think it is?
14:31.47keriobecause elop hates open source!
14:31.53kerioor maybe because they wanted to be safe
14:32.06DocScrutinizer05so do 'we', here in CSSU
14:32.11amiconnOr had not enough time to test it
14:32.13keriouncertain benefits, uncertain stability depending on revision and whatnot
14:32.22keriouses SR with no problems so far
14:32.42DocScrutinizer05that's up to you, kerio. nobody will blame you for
14:33.05DocScrutinizer05but it's not up to CSSU to feed SR-enabled to *everybody* based on that
14:33.29DocScrutinizer05get my point?
14:33.57keriooh absolutely
14:34.09kerioto be fair, though, SR is disabled by default with kernel power
14:34.30kerioyou have to manually load the "default" settings and/or set them as default to make them actually enabled
14:35.34DocScrutinizer05so 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 kernel
14:35.53DocScrutinizer05another how many? 89? remaining...
14:37.12DocScrutinizer05CSSU 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)
14:38.03DocScrutinizer05no hostmode or IPv6 or whatever patches have a place in CSSU kernel
14:38.20DocScrutinizer05there's KP for that
14:40.13DocScrutinizer05(well, IPv6 *might* eventually advance to status 'mandatory' if it turns out carriers switching to IPv6 makes our CSSU based device break)
14:42.02amiconnSure, hostmode and the ton of additionally supported filesystems are not necessary for cssu kernel
14:42.15amiconnIPv6 is mandatory nowadays imho
14:43.56kerioipv6 needs a ton of changes in maemo applications, though
14:43.57keriodoesn't it?
14:44.27amiconnWell it might, but that's another reason for enabling it at the kernel level now
14:44.49amiconnThis way application developers have more time to fix the apps
14:45.28amiconnAnd enabling IPv6 won't affect apps not using it, so it should be safe
14:47.27keriohmm, the garage page says something about ipv6 requiring two APNs and two pdp contexts
14:47.31keriowhy is that?
14:48.34kerioalso i'm a bit worried about smartreflex now :c
14:48.52DocScrutinizer05amiconn: I tend to agree, more than argue
14:49.56DocScrutinizer05we 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 kernel
14:50.18keriostill has no ipv6 in his home network
14:50.22kerioi feel like a noob :c
14:50.50BCMMmy damn router doesn't do it as far as i can tell
14:51.00DocScrutinizer05mine neither
14:51.22kerioi should really build a proper openwrt system and start using 6to4 at least
14:51.47BCMMi'm sure you can still buy v4-only routers, post-exhaustion, which is totally messed up
14:51.57DocScrutinizer05kerio: (2 APN) probably because IPv6 and IPv4 are not compatible on same media channel
14:52.01BCMMkerio: yeah, i need to find out how to get one of those cheaply
14:52.25kerioDocScrutinizer05: yeah but ipv6 is backwards-compatible, isn't it
14:52.38DocScrutinizer05nope, not afaik
14:53.10DocScrutinizer05if it was, then I'd not know why you'd need two APN
14:53.13keriohm, wasn't there a special address class that encompasses the whole of ipv4?
14:53.18keriomaybe i'm thinking of something else
14:53.21kerioperhaps 6to4
14:53.36DocScrutinizer056to4 is a tunneling protocol basically
14:53.41DocScrutinizer05afaik
14:54.00keriothe bestest tunneling is teredo, anyway
14:54.14BCMMthere's no way to contact a v4-only host if you don't have a v4 address or NAT, basically
14:54.31DocScrutinizer05if it actually is you wrap your ipv4 packets into a ipv6 wrapper and send it via ipv6 to a 'gateway'
14:54.34BCMMbecause how would the host get packets back to you if it doesn't know about v6 addresses?
14:54.54kerioyou'd need a 4to6 gateway, yeah
14:59.15*** join/#maemo-ssu taziff (~Taziff@cyr108.internetdsl.tpnet.pl)
15:20.03*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)
15:27.02*** join/#maemo-ssu mase76 (~mase76@p5DD3971E.dip.t-dialin.net)
15:40.32*** join/#maemo-ssu mase76 (~mase76@p5DD3971E.dip.t-dialin.net)
15:44.19*** join/#maemo-ssu taziff1 (~Taziff@cyr108.internetdsl.tpnet.pl)
16:00.07DocScrutinizer05javispedro: 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?
16:00.53javispedroalready read part of it
16:01.04javispedrodon't really want to enter the discussion
16:01.41DocScrutinizer05http://mg.pov.lt/maemo-ssu-irclog/%23maemo-ssu.2012-08-02.log.html#t2012-08-02T20:58:59
16:01.43DocScrutinizer05ff
16:02.09DocScrutinizer05Jaffa: what's about you?
16:02.33DocScrutinizer05generalantilles even missing
16:04.40DocScrutinizer05it seems to me in this discussion the "old farts" (aka those who once 'invented' CSSU) been severely under-represented
16:05.49DocScrutinizer05and I'm not sure this happened coincidental
16:06.03keriowell, who called that discussion?
16:06.12DocScrutinizer05NFC actually
16:06.28kerioand who's got commit access to the repos?
16:07.22DocScrutinizer05http://mg.pov.lt/maemo-ssu-irclog/%23maemo-ssu.2012-08-02.log.html#t2012-08-02T21:08:06
16:09.00DocScrutinizer05the ones that the original project managers included to the respective garage project group, as developers
16:09.52javispedroin any case I suspect that the problem is developer-starvation
16:10.12*** join/#maemo-ssu arcean (~arcean@aact183.neoplus.adsl.tpnet.pl)
16:10.31javispedroand when that happens you get that devs want to do what pleases them most instead of the boring tasks ;P
16:10.43DocScrutinizer05https://garage.maemo.org/projects/cssu/  defines https://garage.maemo.org/projects/cssu-testing/  and https://garage.maemo.org/projects/cssu-stable/
16:12.19DocScrutinizer05javispedro: 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 here
16:13.14DocScrutinizer05you don't hijack and redefine a project, to shanghai the devels
16:13.44DocScrutinizer05that's what industry does sometimes. In FOSS though that should get banned publicly
16:14.17DocScrutinizer05s/banned/bashed/.
16:19.49*** join/#maemo-ssu zeq (~s_j_newbu@178.110.126.62)
16:28.39*** join/#maemo-ssu mase76 (~mase76@p5DD3971E.dip.t-dialin.net)
16:49.03*** join/#maemo-ssu BCMM (~ben@unaffiliated/bcmm)
17:26.19DocScrutinizer05where'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 it
17:26.53DocScrutinizer05did somebody provide a link yesterday?
17:28.07DocScrutinizer05also of https://bugs.launchpad.net/ubuntu/+source/linux/+bug/319729/comments/23  attached own-wrapper test code please
17:31.11merlin1991DocScrutinizer05: quite a rant you wrote whilst I did other stuff :D
17:31.30DocScrutinizer05yeah, felt like it's needed
17:31.56merlin1991But my stance re pk / whanot is still as before meeting, I'll want a stock kernel + patches for stable
17:32.07DocScrutinizer05good
17:32.21DocScrutinizer05thought they mugged you
17:33.29DocScrutinizer05could 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/6
17:34.00DocScrutinizer05both flavours each (simmulation and real pselect)
17:34.13merlin1991I have the arm build on my device (which is in vienna), but I can give you the build when I come back
17:34.20merlin1991also we have no real pselect on our stock kernel
17:34.25DocScrutinizer05fine with me
17:34.48merlin1991that's the whole reason for the patch, on maemo pselect is always simulated
17:34.54DocScrutinizer05sure thing, the missing pselect() in kernel is what we wanna test, after all
17:35.29merlin1991freemangordon said he managed to crash the sample code by running ham additionall to get some system load
17:35.43DocScrutinizer05I'll run a decent set of tests and post the results, since obviously nobody else will do
17:36.17merlin1991hm I do have my sb with me, the build should be on there
17:36.20merlin1991reboots
17:40.23DocScrutinizer05merlin1991: how much of a version hell will we face with all the kernel-flavours like uBoot images and whatnot? with that cssu kernel?
17:41.28DocScrutinizer05aiui we got 3 different falvours for each kernel now: plain NAND, NAND_with_uBoot, uBoot/multiboot image file
17:41.33merlin1991well uboot and multiboot will have to be reflashed in case we deploy the cssu kernel
17:41.58merlin1991and we need to put a big fat warning, because any kernel without pselect will foobar libc
17:42.33DocScrutinizer05ooh 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?
17:43.36merlin1991nah each uboot came bundled with different kernel
17:43.39DocScrutinizer05and AIUI we should even roll a new FIACO?
17:43.55merlin1991nope we don't need to roll a new Fiasco (we can't)
17:43.56DocScrutinizer05merlin1991: are you sure about that?
17:44.12DocScrutinizer05(new kernel with each uBoot)
17:44.17merlin1991DocScrutinizer05: yes, uboot-pr1.3 had stock kernel bundeled uboot-power has pk bundled ...
17:44.32DocScrutinizer05mhm
17:44.33merlin1991multiboot is again another story
17:44.43merlin1991and we overwrite anything in the flash area with our kernel
17:44.51DocScrutinizer05sure
17:45.00merlin1991DocScrutinizer05: http://cdnm.at/~christian/maemo/childspin
17:45.06DocScrutinizer05thanks
17:45.12*** join/#maemo-ssu jon_y (~enforcer@swz-175-163.tm.net.my)
17:46.21merlin1991but 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 kernel
17:47.15DocScrutinizer05running
17:47.28merlin1991you need to put some load on the system for the race condition to happen
17:47.31DocScrutinizer05:nod:
17:47.35merlin1991ham should be perfect for that :D
17:47.46DocScrutinizer05I don't see such requirement
17:48.12merlin1991well the requirement is that you get a signal between those 3 calls to simulate pselect
17:48.14DocScrutinizer05anyway ssh over wlan should be hellufalot of enough load
17:48.28merlin1991which you'll only get if the 3 steps are interrupted
17:48.36merlin1991which in turn only happens on heavy system load
17:48.50DocScrutinizer05:shrug:
17:48.59DocScrutinizer05might be worth a shot, yeah
17:49.23merlin1991other than that you can ofc let it run for ages and see if it stops at some point (shouldn't stop ever)
17:50.08merlin1991dang, 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 :D
17:53.46DocScrutinizer05renice -5; i=1; while true; do echo $(( i++ )); done
17:53.54DocScrutinizer05renice -10; top
17:54.20DocScrutinizer05should do, I see the jitter in "........................................."
17:54.24DocScrutinizer05still running
17:55.12DocScrutinizer05CPU: 28.4% usr 63.2% sys  0.0% nice  0.0% idle  0.0% io  0.5% irq  7.7% softirq
17:55.47DocScrutinizer05hell, I could actually start HAM as well
17:55.54DocScrutinizer05:shrug:
17:57.35DocScrutinizer05CPU: 26.0% usr 63.0% sys  3.3% nice  0.0% idle  0.0% io  1.3% irq  6.2% softirq
17:57.50DocScrutinizer05hmm, this HAM thing didn't do much?
17:58.33kerioopen modest!
17:58.46DocScrutinizer0515685 15263 root     R      780  0.3 18.2 -sh
17:58.47DocScrutinizer05<PROTECTED>
17:58.49DocScrutinizer0515263   709 root     R     1756  0.7 11.7 sshd: root@pts/2
17:58.50DocScrutinizer0518448 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 B
17:59.46DocScrutinizer05.
17:59.48DocScrutinizer05.
17:59.51DocScrutinizer05<PROTECTED>
17:59.52DocScrutinizer0515685 15263 root     R      776  0.3 17.0 -sh
17:59.54DocScrutinizer0518448 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 B
17:59.55DocScrutinizer0515263   709 root     S     1724  0.7 14.7 sshd: root@pts/2
17:59.57DocScrutinizer05<PROTECTED>
17:59.58keriomispaste?
18:00.30DocScrutinizer05indeed, I should prolly kick myself
18:00.40keriono! don't do it!
18:00.44DocScrutinizer05anyway, still running
18:02.01DocScrutinizer05I'll start a second childspin on device xterm, so no overhead for WLAN ssh
18:02.38kerioyou spin me right round baby right round like a record baby right round round round
18:04.05DocScrutinizer052 childspin running
18:04.24DocScrutinizer05CPU: 40.0% usr 54.8% sys  0.0% nice  0.0% idle  0.0% io  0.1% irq  4.8% softirq
18:05.28DocScrutinizer05twiddles thumbs
18:05.49keriono, the thumb bug is a different one!
18:05.51DocScrutinizer05well, newsflash time
18:08.06merlin1991...
18:08.50DocScrutinizer0520906  3700 root     R      288  0.1  3.7 ./childspin
18:08.52DocScrutinizer05<PROTECTED>
18:09.06merlin1991R / S meaning?
18:09.20merlin1991running and suspended?
18:09.52merlin1991shouldn't that be R and R?
18:09.58merlin1991(if the bug does not exist)
18:10.59merlin1991ah wait 1 core can only be R?
18:15.25DocScrutinizer05<PROTECTED>
18:15.27DocScrutinizer0520:15 4138 97   97   -44  1115 1115 1115 65535 1506  49  NOACT:0 IMIN:0 CI:1 CALIP:0 VDQ:1 EDV1:0 EDVF:0
18:15.56DocScrutinizer05there's always only one R iirc
18:16.32DocScrutinizer05actually nope
18:17.04DocScrutinizer05the childspin only is R if it doesn't just wait on pselect()
18:18.29RST38hHey, Doc, rumors say someone got hardware audio filter work on N900?
18:18.46RST38hWill that kernel patch be in CSSU, with software filter disabled? =)
18:24.09DocScrutinizer05rumors say i'm running two childspin since hours, happily
18:25.23DocScrutinizer05<PROTECTED>
18:25.24DocScrutinizer0520906 root      20   0 S - - -  0:44.24  3.0  0.1 ./childspin
18:26.48DocScrutinizer05while the renice -5; i=1; while true; do echo $(( i++ )); done  is at 2500000 meanwhile
18:27.21DocScrutinizer05merlin1991: I'm sorry, but....
18:27.54DocScrutinizer05merlin1991: please recheck your source of childspin
18:28.50DocScrutinizer05HAAAAHAAAAHAAAAAAAAAAAAAAAAAAA it hanfgs
18:28.58DocScrutinizer05hangs
18:30.15DocScrutinizer05<PROTECTED>
18:32.38DocScrutinizer05~ # strace -p 3956
18:32.40DocScrutinizer05Process 3956 attached - interrupt to quit
18:32.44DocScrutinizer05select(0, NULL, NULL, NULL, NULL
18:35.27DocScrutinizer05while... (SPAM!)
18:35.33DocScrutinizer05clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4001cc38) = 30839
18:35.34DocScrutinizer05rt_sigprocmask(SIG_SETMASK, [], [CHLD], 8) = 0
18:35.36DocScrutinizer05select(0, NULL, NULL, NULL, NULL)       = ? ERESTARTNOHAND (To be restarted)
18:35.37DocScrutinizer05--- SIGCHLD (Child exited) @ 0 (0) ---
18:35.39DocScrutinizer05sigreturn()                             = ? (mask now [QUIT ILL TRAP ABRT BUS KILL PIPE CHLD CONT STOP TSTP URG XCPU VTALRM PROF WINCH IO PWR RTMIN])
18:35.40DocScrutinizer05rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
18:35.42DocScrutinizer05wait4(30839, NULL, 0, NULL)             = 30839
18:35.44DocScrutinizer05write(1, ".", 1)                        = 1
18:35.58DocScrutinizer05.
18:36.12DocScrutinizer05on the other still running spinchild
18:37.38DocScrutinizer05merlin1991: ok, confirmed. we (very rarely) see that bug
18:38.37DocScrutinizer05it's however impossible to say how much impact it has in real life - not that this would matter
18:39.43DocScrutinizer05given 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 fixed
18:40.32DocScrutinizer05I'll eventually summ up the results and post to ML, if I can find a thread to attach it to
18:42.42jon_ywow, my irc buffer
18:43.14jon_ysome soccer mom is going to have a rampage if she sees spin, child, kill in the same sentence :)
18:45.31DocScrutinizer05merlin1991: could you please build and provide spinchild-sim? with -DUSE_SELECT
18:47.59DocScrutinizer05(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 fix
18:49.01DocScrutinizer05otoh it explains how this bug could sneak in and hide all the time
18:51.12DocScrutinizer05on 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 --session
18:52.03DocScrutinizer05CPU time of dbus daemon: 67s
18:52.21DocScrutinizer05<PROTECTED>
18:52.43DocScrutinizer05childspin hung after 171s CPU time
18:54.25DocScrutinizer05(btw the other dbus daemon [for systembus] has just 20s more CPU time)
18:54.37DocScrutinizer05FWIW
18:55.18DocScrutinizer05Uptime: 2 days, 01:57:07
18:56.28DocScrutinizer05so, 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 uptime
18:57.02DocScrutinizer05when comparing it to CPU time spinchild needed to finally freeze
19:02.55*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
19:09.53*** join/#maemo-ssu BCMM_ (~user@unaffiliated/bcmm)
19:15.13*** join/#maemo-ssu freemangordon_ (~freemango@213.226.63.181)
19:17.12freemangordon_doc, run childspin, run HAM, choose to edit the catalogs and rotate the device. hang happens as soon as HAM starts the rotation
19:19.43freemangordon_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 n900
19:20.49DocScrutinizer05freemangordon_: well, it finally triggered here anyway, and I fail to see how we'd need IO load to trigger it
19:22.03DocScrutinizer05aiui it's just about preemtion after the sigmask() before the select()
19:22.39DocScrutinizer05for this preemption it should suffice to run other process with higher prio
19:23.30DocScrutinizer05idly looks for state of on-device spinchild...
19:23.41freemangordon_what I am saying, is that you assessment about how often we'll be hit by the bug, is a little bit low :-)
19:24.29DocScrutinizer0520906 root      20   0 S - - -  7:46.94 11.0  0.1 ./childspin
19:24.46DocScrutinizer057min47 CPU
19:24.52DocScrutinizer05running
19:25.09freemangordon_a wild guess- media player widget could be the the one that suffers from that bug
19:25.11DocScrutinizer05freemangordon_: I started HAM
19:25.41freemangordon_it deffinitely misses dbus signals. thugh i might be speaking bullshit as well :-D
19:25.52DocScrutinizer05freemangordon_: no portrait mode here, so rotating won't help ;-P
19:26.20freemangordon_well, HAM should rotate anyway (if you are on testing)
19:26.33DocScrutinizer05it doesn't
19:26.34freemangordon_you could enable force rotation ;-)
19:26.40DocScrutinizer05dafaq
19:26.49DocScrutinizer05I enabled forbid-rotation
19:27.22freemangordon_well, trust me on that then (tm) :-P
19:27.26DocScrutinizer05mind you, we're trying to test this on a system as normal as possible
19:28.04DocScrutinizer05don't give me ideas why CSSU has to bin portrait mode
19:28.07DocScrutinizer05;-P
19:28.16freemangordon_naah :-D
19:29.00DocScrutinizer05anyway, green light for minimalistic CSSU-kernel from my side
19:29.35freemangordon_doc, meeting request was sent yesterday 7 am UTC to maemo-developers
19:29.43DocScrutinizer05which other bugfix patches would we need to pull in to cssu kernel?
19:29.56freemangordon_I really appologise I forgot you are on holiday
19:30.21DocScrutinizer05I'm not on holiday, I'm simply not reading MLK on a regular basis
19:30.25DocScrutinizer05ML*
19:30.41freemangordon_seems you are not the only one ;-)
19:31.25freemangordon_anyway, I am on holyday right now, will be back home tomorrow
19:31.28DocScrutinizer05I got not enough hours in the day to read all my ML
19:32.29DocScrutinizer05(green light) for pondering how to roll that
19:32.46freemangordon_according to what was decided, we'll have to go through all the pathes in KP and evaluate what to be removed
19:33.00DocScrutinizer05we still need to think carefully about any pitfalls we might face
19:33.08freemangordon_sure
19:33.11DocScrutinizer05with repos, conflicts, whatever
19:33.45freemangordon_well, if we use "kernel", we'll have lots of problems solved
19:33.59freemangordon_including KP uninstaller ;-)
19:34.15freemangordon_thanks hxka, if you read that someday
19:34.48DocScrutinizer05moves to TV again, for NCIS
19:35.28freemangordon_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 :-D
19:35.56freemangordon_will be hanging around though
19:44.20DocScrutinizer05CPU: 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 ./childspin
19:48.36DocScrutinizer05anyway you see how difficult it might get to reproduce a well documented and understood bug
19:49.12DocScrutinizer05how much worse might it get when it comes to thumb-SiErr, or SR borkedness
19:50.03freemangordon_doc, it does not make sense to try to  recreate race condition bug with only one active process
19:56.01DocScrutinizer05there are 2 other processes active, at niceness -10 and -15
19:57.33DocScrutinizer05CPU: 40.6% sy: 55.7%
19:58.30freemangordon_io deffinitely plays here, though i didn't think why
20:00.14DocScrutinizer05while I rethink the effectiveness of my renice cmd
20:02.26freemangordon_doc, do you have any app supporting portrait?
20:04.09*** join/#maemo-ssu MrPingu (~MrPingu@86.92.226.97)
20:05.13DocScrutinizer05portrait is locked on my device
20:05.23DocScrutinizer05except for dialer ;-P
20:06.15freemangordon_:-)
20:11.46DocScrutinizer05cal me noob, my shellcmd fu is weak
20:12.16DocScrutinizer05renice and even nice didn't work like expected, prollay thanks to fscking messybox
20:13.07DocScrutinizer05finally renicing the endless loop to -15 instantly killed childspin (though no causality proven by one incidence)
20:13.59DocScrutinizer05freemangordon_: ^^^ I bet you love to hear that
20:15.03freemangordon_hmm, why rising prio should trigger the bug? well, child prosess also have the same prio, but so what?
20:15.04DocScrutinizer05freemangordon_: (io deffinitely plays here, though i didn't think why) IO is scheduled at a way higher prio than your usual prio-0 userland processes
20:15.34freemangordon_:nod:
20:16.16DocScrutinizer05obviously all the CPU load in the world can't preempt a childspin on same niceness level
20:16.46DocScrutinizer05a higher prio / lower niceness process does - immediately
20:24.09freemangordon_well, i am glad you are convinced it is severe problem
20:27.27DocScrutinizer05a bug in kernel is always a severe problem
20:28.11DocScrutinizer05a severe problem requires honest investigation to completely understand the impact and risks
20:29.10DocScrutinizer05only after completely understanding the problem, you can come up with the right solution
20:29.33DocScrutinizer05which in this case seems to roll a patched kernel and lib
20:29.49DocScrutinizer05ouch my grammar
20:29.50freemangordon_:-)
20:31.02DocScrutinizer05any other approach fails due to us once again not knowing where the bug may sleep, IOW which app out there might use pselect()
20:31.27DocScrutinizer05so the alternative approach to fix all apps that are affected fails
20:32.21DocScrutinizer05which leaves us with the only feasible solution to fix the root cause, however painful it might be from a maintenance POV
20:35.39DocScrutinizer05when 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 latter
20:37.26DocScrutinizer05which is kinda of my iltimate ratio regarding this CSSU compatibility fsckup we're going to commit here
20:38.11DocScrutinizer05ultimate even
20:39.14DocScrutinizer05which doesn't mean we can go all loose now once we broke compatibility a tiny bit, and roll kernel-3.2 now
20:39.22DocScrutinizer05neither PK51
20:40.31DocScrutinizer05while 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 possible
20:40.32freemangordon_hmm, 3.2 sounds nice :-P . too bad we don't have working adaptation :-D .
20:40.35*** join/#maemo-ssu BCMM_ (~ben@unaffiliated/bcmm)
20:40.52freemangordon_anyway, I gtg, night
20:40.57*** part/#maemo-ssu freemangordon_ (~freemango@213.226.63.181)
20:40.59DocScrutinizer05n8 freemangordon
20:41.32jon_ywait what, kernel-3.2 on the n900?
20:45.27jon_yDocScrutinizer05: possible?
20:45.47DocScrutinizer05no
20:45.58DocScrutinizer05at least not for maemo
20:46.34jon_yok, too much patches to port forward?
20:50.16DocScrutinizer05too much blobs not possible to port forward
20:50.27DocScrutinizer05many*
20:50.42jon_ydamn proprietary bits
20:51.08jon_ywhat about minor version bumps?
20:51.17jon_yeg to 2.6.3x
20:55.36DocScrutinizer05this is handled by PK via backporting stuff
20:59.56jon_yvery nice
21:00.30jon_ybtw, does making frame buffer built in cause a big code size increase?
21:15.04*** join/#maemo-ssu taziff (~Taziff@178.182.74.128.nat.umts.dynamic.t-mobile.pl)
21:25.33kerioinclude *all* the modules! _ò/
21:25.45*** join/#maemo-ssu skipper (~service@141-136-229-188.dsl.iskon.hr)
21:45.55merlin1991DocScrutinizer05: thanks for checking this over a long time and providing the proof for me :)
21:52.35keriomeh, now the full charge is 1500mAh, according to bq27k
21:52.39kerioit's definetely NOT
21:52.44kerioit's 1200 at best
21:53.21keriowhoops, wrong window
21:55.43keriofreemangordon: is the fix already in cssu-thumb?
21:55.50kerioor will it be soon?
21:56.39merlin1991kerio: whatcha talking about?
21:56.54keriothe pselect bug
21:57.11merlin1991kerio: currently every klernel has the bug
21:57.14kerioi should've provided a bit more context, i was reading the scrollback
21:57.18kerioaww :c
21:57.21merlin1991since even if the bug is fixed in the kernel libc isn't recompiled
21:57.40keriowell, cssu-thumb already has an updated glibc
21:57.45merlin1991libc has to be compiled with kernel headers with a the fix in order for everything to work
21:57.58merlin1991kerio: that's only due to the newer gcc used to build the thumb stuff
21:58.04kerioi see
21:58.59merlin1991iirc it's only libstdc++ that is updated in -thumb, though I might be wrong
21:59.51DocScrutinizer05kerio:
21:59.57DocScrutinizer05while ! ./bq27200.sh | grep -q 'VDQ:1'; do echo 'Please charge battery! Use fastcharger!'; sleep 60; done; echo -e '\n\nNow stopping bme and discharging battery to lower limit.\nYou will not want to draw extreme power to speed that up too much, since it will spoil calibration.\n\nCharging will resume automatically once battery got discharged, please keep fastcharger connected!'; stop bme; sleep 30; while ./bq27200.sh | grep -q 'EDV1:
21:59.58DocScrutinizer050'; do ./bq27200.sh|grep 'TTF:'; sleep 10; done; ./bq27200.sh; echo '************* RESUMING CHARGING *************'; start bme; sleep 10; stop bme; sleep 2; start bme; echo 'Please let device charge completely now to complete learning cycle!'
22:00.51kerioDocScrutinizer05: that would require leaving the n900 plugged in at all times
22:00.55kerioish
22:01.01DocScrutinizer05kerio: just testing ^^^this now, since I need a learning cycle anyway
22:01.17DocScrutinizer05kerio: yes, so what?
22:01.26keriowell, i kinda have to use it
22:01.35DocScrutinizer05mmpfff
22:01.39kerioand go to the beach and stuff
22:02.05DocScrutinizer05sure thing, and when it reaches EDV1 you run for charger
22:03.24keriobut it says "please keep fastcharger connected"!
22:05.25merlin1991kerio: "beach", where do you live?
22:05.46keriomerlin1991: rome, but i'm at my holiday house
22:05.51keriostill italy, but near the sea
22:06.39DocScrutinizer05kerio: this "script" is for lazy people that like to calibrate overnight
22:06.44kerioi see
22:06.45merlin1991kerio: dang I should have known that earlier, I was in rome a year ago
22:07.16merlin1991I still heaven't met a single soul of this channel personally which I find kinda sad personally
22:07.24DocScrutinizer05kerio: ideally you should find your N900 in perfect condition, charged and calibrated, when you awake in the morning
22:07.33keriohm
22:07.37kerioi could do that
22:07.54keriomerlin1991: well, a year ago i wasn't this involved with the n900 community
22:08.04kerioi still had my old one, with a broken usb port
22:08.12DocScrutinizer05only precondition: make screen backlight stay always on and level5
22:08.14kerio(my only phone, i couldn't risk bricking it by doing silly stuff)
22:08.23kerioDocScrutinizer05: hm, why?
22:08.30kerioalso, won't bme turn it off?
22:08.32DocScrutinizer05otherwise it doesn't discharge in one night
22:08.33kerio(the backlight)
22:08.37kerioi see
22:08.47keriowell i can just turn it screen-side down
22:08.55kerioshould the cell radio be on?
22:08.56merlin1991DocScrutinizer05: what do you think of a kind of cssu get together some day?
22:09.36DocScrutinizer05nice idea, though I'm afraid somebody will beat me up (or I feel the urge to do that to somebody ;-P)
22:09.50keriocssu cage match between doc and estel!
22:10.00keriothe one that survives decides the future of cssu
22:10.25DocScrutinizer05kerio: nope, future of CSSU got already decided on
22:10.31DocScrutinizer05always been
22:10.35keriobut i wanted to see a cage match :c
22:11.02kerioot: hmm, apparently an "iphonehigh" twitch.tv stream only takes like 28kb/s
22:11.27merlin1991kerio: as long as estel does not have critical mass for all of his ideas inside the cssu team, cssu will stay almost as business as usual
22:11.48DocScrutinizer05merlin1991: would you like to verify :
22:11.53DocScrutinizer05while ! ./bq27200.sh | grep -q 'VDQ:1'; do echo 'Please charge battery! Use fastcharger!'; sleep 60; done; echo -e '\n\nNow stopping bme and discharging battery to lower limit.\nYou will not want to draw extreme power to speed that up too much, since it will spoil calibration.\n\nCharging will resume automatically once battery got discharged, please keep fastcharger connected!'; stop bme; sleep 30; while ./bq27200.sh | grep -q 'EDV1:
22:11.54DocScrutinizer050'; do ./bq27200.sh|grep 'TTF:'; sleep 10; done; ./bq27200.sh; echo '************* RESUMING CHARGING *************'; start bme; sleep 10; stop bme; sleep 2; start bme; echo 'Please let device charge completely now to complete learning cycle!'
22:11.59keriohe would have critical mass if he killed everyone else :D
22:12.22kerioDocScrutinizer05: i'm actually going to try
22:12.29merlin1991DocScrutinizer05: 0.75 L of white wine say I don't want to :D
22:12.48DocScrutinizer05merlin1991: c&p ;-P
22:12.59kerioDocScrutinizer05: shellscript or gtfo
22:13.08DocScrutinizer05lol
22:13.49merlin1991DocScrutinizer05: no n900 here, and since you're the black magic master of shellscripts in here I'm not so sure if I can find any errors by simply reading through it :D
22:15.06DocScrutinizer05well, wait a while, I'll prolly publish 'proper scriptie' tomorrow
22:15.16kerio:c
22:15.20keriobut i'm going to sleep right now!
22:15.29kerioactually, the battery is almost empty right now
22:15.46kerioand i don't know if there's enough time for it to charge, discharge and charge again
22:16.19kerio(it's only got 9 hours and a half, or something like that
22:16.21kerio)
22:17.03keriowill it be enough?
22:19.11keriohm, what does it mean to screw up the calibration?
22:19.22kerioisn't power consumption tracked accurately
22:20.32DocScrutinizer05kerio: here you are: http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh
22:20.38kerio:3
22:20.46kerioi'm probably not going to use it right now, though
22:20.57DocScrutinizer05F*CK-U
22:21.01kerio:c
22:21.04DocScrutinizer05:-)
22:21.05keriothere's not enough time!
22:21.32DocScrutinizer05I could've had a piss during the time I prepared that one specially for you
22:22.01kerioyou could've peed at the same time
22:22.06keriodon't blame me for your lack of multitasking
22:22.20DocScrutinizer05o.O
22:23.12kerioDocScrutinizer05: do you think 9 hours are enough for an almost-charge, a discharge with no extra consumption and another charge?
22:23.18kerioalso, won't the phone reboot once you restart bme?
22:23.23*** join/#maemo-ssu MrPingu (~MrPingu@86.92.226.97)
22:23.29DocScrutinizer05no
22:23.36DocScrutinizer05no
22:23.55DocScrutinizer05you need extra consumption to drain it 'fast'ish
22:24.00keriohm
22:24.02DocScrutinizer05like backlight on
22:24.20kerioaww, this dude i'm watching botched a star in super mario 64 and now he's 35 seconds over the WR :c
22:24.21DocScrutinizer05TTF: 65535 minutes TTE: 168 minutes
22:24.22DocScrutinizer05TTF: 65535 minutes TTE: 165 minutes
22:26.31kerioDocScrutinizer05: won't bme reset the phone because of the voltage?
22:26.41DocScrutinizer05so if anybody likes to do a review: http://maemo.cloud-7.de/maemo5/patches_n_tools/calibrate-bq27k.sh  much appreciated
22:26.54DocScrutinizer05ShadowJK_: ^^^
22:26.56kerioDocScrutinizer05: reset the backlight brightness
22:27.00keriopali-style
22:27.07keriowhenever you start/stop bme
22:27.34DocScrutinizer05:nod:
22:27.41DocScrutinizer05v0.2
22:27.56kerioDocScrutinizer05: perhaps it's better to use charge21.sh to charge afterwards?
22:28.00keriobme is a fickle bitch
22:28.06DocScrutinizer05for now I wanna know if it works at all (pissed it ;-D)
22:28.24kerioin theory, it works
22:28.39DocScrutinizer05IOW I wrote it down from top of my head, not even checked it twicce
22:29.22DocScrutinizer05and I'm not completely sure if I picked the correct "triggers" in grep 'trigger'
22:30.06DocScrutinizer05neither I'm sure if it is semantically correct beyond mere syntax check in mcedit
22:30.59DocScrutinizer05for all I know it *should* work and even catch EDV before device shuts down, and restart charging
22:31.32DocScrutinizer05I'm not entirely sure if all that results in a valid learning cycle though
22:32.05DocScrutinizer05again, it should. For all I recall about that stuff
22:34.33kerioDocScrutinizer05: well, it would be better to i2cget the values you want
22:34.37keriobut the process is sensible
22:35.18kerioare you sure that stopping bme will halt any kind of charging?
22:35.20DocScrutinizer05no, it's best unix practice to reuse existing tools/filters
22:35.33DocScrutinizer05kerio: yes
22:35.34kerioand grep the hell out of everything? ew
22:36.07DocScrutinizer05kerio: I had to create some CPU load to discharge battery anyway ;-P
22:36.13keriohehe
22:36.25keriowhy does using a lot of power screw up the calibration, btw?
22:36.38DocScrutinizer05battery goes down too quickly
22:36.43kerioso?
22:37.04DocScrutinizer05it needs several seconds at the edge between EDV1 and total brownout
22:37.23kerioyeah but there's plenty of time between EDV1 and actual brownout
22:37.32keriothere's a lot less time between EDV1 and bme rebooting
22:37.40DocScrutinizer05you'd be amazed
22:37.41keriobut there's no problem if you use charge21.sh :)
22:37.58DocScrutinizer05also about your capacity of otherwise good cells when discharged at 1C
22:38.23keriomeh, when i calibrate i enable offline mode, shut down everything and leave the screen on at low brightness
22:38.37kerio(once i get close to 3200mV
22:38.42DocScrutinizer05(bme /charge21.sh) i'm using neither, since we DIScharge ;-P
22:38.44keriough, mismatched parenthesis)
22:38.53kerioi meant afterwards
22:39.04kerioanyway, going to sleep
22:39.27keriocya guys
22:39.33DocScrutinizer05going to have a shower

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