IRC log for #maemo-ssu on 20120316

15:02.51*** join/#maemo-ssu infobot (~infobot@rikers.org)
15:02.51*** topic/#maemo-ssu is Maemo Community Seamless Software Update "CSSU" channel, http://wiki.maemo.org/Community_SSU | Known bugs: http://j.mp/communityssu-bugs | Channel logs: http://mg.pov.lt/maemo-ssu-irclog/ | Sources: http://gitorious.org/community-ssu/ | Latest version (testing): 21.2011.38-1Tmaemo1.2 (stable): 21.2011.38-1Smaemo2.1 | meeting 14.03.2012 20:00 UTC, sry about missing the last one
15:02.52*** mode/#maemo-ssu [+v infobot] by ChanServ
15:23.48*** join/#maemo-ssu Sicelo (sicelo@members.bombshellz.net)
15:23.48*** join/#maemo-ssu Sicelo (sicelo@unaffiliated/sicelo)
15:28.43amiconnDocScrutinizer51: There's an important difference between manufacturer and user optimisation though.
15:29.21amiconnThe manufacturer needs to optimise in a way that it works for *all* devices. The user can optimise for a single device
15:39.28*** join/#maemo-ssu Sicelo (sicelo@unaffiliated/sicelo)
15:49.21Paliping merlin1991, freemangordon
15:49.27merlin1991ping Pali
15:49.47Palimerlin1991, I updated my program kernel-version
15:49.58Palinow it use malloc() + read()
15:50.04Paliinstead mmap
15:50.41Palimtd kernel partition is 2MB, so it can be aloocated and readed by one read() call
15:52.06merlin1991what does it report in case of installed uboot?
15:52.25PaliVersion string not found
15:52.48Paliit ignore attached kernels to the end of some image
15:53.22Palicorrectly, program try to find that kernel gz archive in first 2^16 bytes
15:53.47Paliand attached kernel to u-boot binary is at the end
15:54.13merlin1991sure that's ok, but can we detect IF uboot is installed?
15:54.40*** join/#maemo-ssu Sicelo (sicelo@unaffiliated/sicelo)
15:54.58PaliThis program detect if zImage kernel is installed
15:55.10Paliso if not then some other bootloader is installed...
15:55.31Palido we need to specify name of other image (e.g. u-boot)?
15:55.56amiconnTo me that doesn't sound logical. If you only check the first 2^16 bytes, you only need to read those, not the whole 2^21
15:55.59merlin1991My idea of the cssu kernel flasher is a check if it is the right stock kernel or older cssu version --> flash cssu kernel, if not ask
15:56.33merlin1991but if possible I'd like the ask part to be able to use an existing uboot in mtd3 and flash with that
15:57.06merlin1991something along the lines of: we detected you have uboot installed, do you want to flash the cssu kernel or flash the cssu kernel with your uboot image or not flash at all
15:57.32Palimerlin1991, flashing u-boot with kernel is not simple...
15:57.41merlin1991it's damn easy
15:57.43Paliyou need to build compined u-boot image
15:57.53Paliand that is different as fiasco...
15:58.03Paliand we have more u-boot version
15:58.17merlin1991you can go from fiasco to u-boot image
15:58.30merlin1991and you can read the existing uboot and attach a new kernel
15:58.38Paliso we cannot prepaire 2 versions (one zImage and one uboot+zimage)
15:58.58Paliand for flashing: you cannot flash zImage
15:59.08Paliin mtd3 is some NOLO header (maybe with checksum)
15:59.13merlin1991ffs
15:59.13Paliso you need to flash fiasco image
15:59.21merlin1991I thought we have more in mtd3
15:59.27merlin1991damn
15:59.36merlin1991ah well then it's a do you want to or not? question :D
15:59.43Paliand generating fiasco image is possible ony with SDK repo (with fiasco-gen package)
16:00.48*** join/#maemo-ssu Sicelo (sicelo@unaffiliated/sicelo)
16:01.13Paliso dumping u-boot somehow from mtd3 attach to that new zImage, creating new fiasco image and flashing is hard and possible only in scratchbox with SDK repo
16:02.00Palionly we can do is ask question: do you want to flash new kernel image?
16:02.06merlin1991yeah
16:02.12merlin1991well better than flashing without asking
16:02.44Paliand for cssu kernel I suggest NOT to change version string
16:03.26Paliwe have more kernel packages in extras-devel repo (also joikuspot) which has modules agains default kernel
16:03.58Paliand if we does not change kernel interface (only bugfix patches) there will be no compatibility problem
16:05.03Palimerlin1991, I suggest to create $PACKAGE which dpkg-divert /sbin/fiasco-image-update
16:05.37Paliand use some new wrapper for that fiasco-* binary which will ask if you want to flash kernel if new version is not same (or similar) as old
16:06.09Palithis will also ask for any kernel updates (not only cssu), so users will see if some package will want to flash kernel
16:06.24merlin1991can we do it somehow to only have it with cssu updates?
16:06.51Paliwe can include that $PACKAGE as predepends for cssu kernel
16:07.03Paliand package can go to cssu repo
16:09.38*** join/#maemo-ssu lardman (~simon@Maemo/community/contributor/lardman)
16:11.33*** join/#maemo-ssu ekze (nyan@2002:5046:e474:1::3)
16:14.04*** join/#maemo-ssu Sicelo (sicelo@unaffiliated/sicelo)
16:33.22freemangordonmerlin1991, the tool to create .po files from .mo file (l10n) is called msgunfmt, please remember that :D.
16:34.08merlin1991noting it down :)
16:34.21Palistored in IRC log :-)
16:34.24merlin1991is it a simple tool as in can anybody do it?
16:34.25freemangordongoing to RE osso-pdfviewerv l10n
16:34.42merlin1991because then I can just do it, and leave you the more interesting tasks ;)
16:34.49Palifreemangordon, if you have time, can you also RE tvout l10n?
16:34.51freemangordonyou have it in every distribution, gettext tool
16:35.22Paliwe have some new untranslated strings in cssu tvout control panel
16:35.24freemangordonat least it is I have it in scratchbox
16:35.37freemangordonand in ubuntu too
16:35.48freemangordonpretty damn standatr tool
16:36.43Palimerlin1991, did you check if new version of kernel-version.c program get correct version of yours kernels?
16:36.56freemangordonmerlin1991, http://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/msgunfmt-Invocation.html
16:37.24merlin1991freemangordon: that looks quite straightforward
16:37.30merlin1991Pali: no I didn't find the time yet
16:37.43merlin1991Pali: did you update the armel build?
16:38.55Paliyes
16:38.58freemangordonmerlin1991, if you can do l10n instead of me, I will really appreciate that, I am running out of time now and tomorrow will travel to countryside. On the other hand I almost made a promise  on TMO to do it for the next update
16:39.13merlin1991I can do it
16:39.25freemangordonI know you can :p
16:39.41freemangordonThe question is will you :)
16:39.47merlin1991okay I WILL do it :D
16:39.51freemangordon:D
16:39.55freemangordongreat
16:42.33merlin1991Pali I can check tomorrow morning, gotta leave now :/
16:42.43Paliok
16:43.07Palilet me know if it working fine with wifi kp version...
16:43.22freemangordonPali, why the hell kernel-power 50 .deb is missing in autobuilder?
16:43.38freemangordonbut all other packages are there
16:43.40Palifucking extras and autobuilder
16:43.53freemangordonman, thats insane
16:46.02freemangordonPali, any sign of X-Fade?
16:46.23PaliI tried ping him today again
16:46.32freemangordonI’ll do that now
17:03.12*** join/#maemo-ssu M4rtinK (~M4rtinK@98.138.broadband7.iol.cz)
17:05.37*** join/#maemo-ssu NIN101 (~NIN@206.253.166.69)
17:26.02merlin1991damn you should have said that 3 hours ago
17:26.13merlin1991I had him fix the -testing repo
17:26.26merlin1991(there was a bogus entry in Sources.gz)
17:34.49*** join/#maemo-ssu arcean (~arcean@aacx243.neoplus.adsl.tpnet.pl)
17:44.11*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-85-160-58-221.eurotel.cz)
18:30.19*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-85-160-58-221.eurotel.cz)
18:39.58*** join/#maemo-ssu arcean_ (~arcean@aaeq238.neoplus.adsl.tpnet.pl)
19:23.49*** join/#maemo-ssu Sicelo- (sicelo@gateway/shell/globalshellz/x-vvoqzzggvysnyyvf)
19:28.45DocScrutinizerok, seems you all decided to go the mad hackers way and by all means force kernel into CSSU
19:29.14Sicelo-latest cssu comes with kernel?
19:29.30DocScrutinizerI'm afraid it will
19:30.08DocScrutinizerno really, I'm fine with that, if anybody could explain to me how that fits into CSSU manifest concept
19:30.28*** join/#maemo-ssu LinuxCode (~LinuxCode@fedora/LinuxCode)
19:31.38DocScrutinizerCSSU has no dependencies on kernel. KErnel has no dependencies on any CSSU patch. And PK got published via extras repo since ages. 3 times no check, no argument why we want that stuff in CSSU
19:32.55DocScrutinizerbut obviously it's again en vogue to forcefeed another unrelated stuff to users of CSSU
19:34.11NIN101forcing kernels? sucks.
19:40.15DocScrutinizeryeah, and when we get some security patch to kernel, will we force a NIL update of CSSU to those that opted out of CSSU-kernel?
19:40.52DocScrutinizeror will that kernel patch only ship with next stable?
19:41.43DocScrutinizerand what we gonna do about the 57 flavours of uBoot-kernels?
19:42.04PaliDocScrutinizer, see log
19:42.25DocScrutinizerI had a cursory look at log and threw up
19:42.47PaliI'm writing program which ask user which has non nokia kernel flashed if he want to flash new version
19:43.12Palinow it write current version flashed in mtd3
19:43.20DocScrutinizeruhuh, and those who got Nokia kernel? those have no choice or what?
19:43.57Paliwe should not change kernel string
19:44.10DocScrutinizeryou should not touch kernel at all
19:44.18Paliand we include bugfixes, so reason why to flash it
19:44.47DocScrutinizerI come over anybody touching my kernel without me asking for it, with fire
19:45.17NIN101yep.
19:45.42DocScrutinizerNO MATTER which kernel I decided to use that very minute
19:47.44DocScrutinizermy daily phone actually *is* running stock kernel, and I damn well know why
19:49.33DocScrutinizeryou can't even know if the system which is running CSSU been actually booted from kernel in mtd3
19:50.17DocScrutinizercould have been booted from a kernel via vlasher&ramload, could be booted from mmc via kexec, with kernel God-knows-where
19:50.33DocScrutinizers/vlasher/flasher/
19:51.13DocScrutinizermaybe some cool haxor patches his NOLO to make it boot from mtd4
19:52.02Palibut old version of nokia kernel in mtd3 can be updated to one which will have fixed security bugs
19:52.09DocScrutinizerhonestly keep your fingers from mandatory kernel updates unless you want a shitsorm hitting your inbox
19:53.27DocScrutinizerwho verified that "bugfixed" version, who audited it, who signed it off?
19:54.20DocScrutinizerwho tested it still works with e.g. uBoot, if only for mere limitaions of available free space in mtd3?
19:57.54DocScrutinizersorry, but in my book kernel is clearly where CSSU leaves own terrain and goes hamuk abroad - IOW there's a clear red line which CSSU mustn't cross
19:58.58DocScrutinizerI'm all happy with a CSSU-kernel as a associated but independent project
20:00.16DocScrutinizerbut CSSU as we know it is about userland, not kernel domain
20:01.28DocScrutinizereven flasher has an option to not flash kernel, or only flash kernel
20:02.06DocScrutinizerkernel is not userland, and userland is not kernel. full stop.
20:04.14DocScrutinizerusers don't appreciate kernel updates, unless they do it all under their own control, at the time they like, to the kernel they carefully picked or even built themselves
20:06.56DocScrutinizerand let's look at it from the diametrically other side: are you maintaining two locations for powerkernel then, or will CSSU refer tpo stuff outside CSSU repo, or will all the OC fanbois be forced to switch to CSSU then? If the latter, have fun with bugtrac! :-/
20:07.37LinuxCodeI agree with the kernel update statement
20:07.50LinuxCodestatement
20:08.20LinuxCodewouldnt mind a userland tool, that informs me of an update though
20:08.34DocScrutinizersure, nothing against such a tool
20:08.37LinuxCodemaybe informing of the security issues/other bug fixes
20:09.10DocScrutinizer:nod:
20:10.28DocScrutinizerif it wasn't such unbearable crap regarding usability, that tool already had a name though: HAM
20:11.40RaimuDocScrutinizer: Your argument on keeping KP outta mainline CSSU is very, very convincing.
20:12.02DocScrutinizerand if Pali could get a hold of x-fade, to fix the lockup in extras repo, then nobody was *that* eager to get powerkernel into CSSU
20:35.14DocScrutinizer( [2012-03-16 16:29:21] <amiconn> The manufacturer needs to optimise in a way that it works for *all* devices. The user can optimise for a single device ) sure, but the problem with user "optimizing" is your device won't differ that much from average due to immutable properties (there are no golden devices that are 3 times as fast as the worst case) - what manuf optimizes for is operation in a wide range of "environmental" conditions,
20:35.15DocScrutinizerlike extreme heat, cold, low battery, fresh battery, different GSM network peculiarities in different countries etc pp. The problem with user trying to compete against that is mainly that the user regularly only has limited knowledge about the fringe cases where the optimization actually needs to grip
20:38.52DocScrutinizervery usually that user "optimization" is done on a WFM basis, without *any* proper evaluation of even yield on the primary optimization goal (is it *really* faster / more power economic / whatever?) In 99.9% of cases this "optimization" is based on perceived 1337ness of doing such things on your own, plus a placebo effect that frequently comes in when testing stuff like standby times or performance without proper tools
20:42.28*** join/#maemo-ssu NIN101 (~NIN@206.253.166.69)
20:47.19DocScrutinizera simple analogy: you might want to 'optimize' an electric motor. You reduce voltage so it consumes less power. All fine, it gets less warm, less wear, consumes less power. But what if the motor is regulated to keep a certain rotations per minute? you still can reduce voltage, but that will cause rotation speed to go down, and the regulation kicks in making the motor draw more electric current to compensate. Result: the consumed energy
20:47.22DocScrutinizeris probably higher due to motor not operation at optimum conditions, plus the higher current drawn will cause increased wear on the collector & brushes
20:48.13*** join/#maemo-ssu trbs (~trbs@2001:470:d2ad:1:4a5b:39ff:fe7d:1623)
20:49.49DocScrutinizerIOW: it's hard to do a proper optimization when you have no complete knowledge of how the system works. On a system complex as a SoC only the chip manufacturer has sufficient knowledge
21:10.17*** join/#maemo-ssu Sicelo (sicelo@members.bombshellz.net)
21:10.17*** join/#maemo-ssu Sicelo (sicelo@unaffiliated/sicelo)
21:10.51*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
21:13.01*** join/#maemo-ssu bsdmaniak (~bsdmaniak@std93-20-88-120-139-80.fbx.proxad.net)
21:47.29*** join/#maemo-ssu nox- (noident@p579002A8.dip.t-dialin.net)
21:47.43*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
22:18.53*** join/#maemo-ssu M4rtinK (~M4rtinK@mail.melf.eu)

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