IRC log of #maemo for Monday, 2016-09-05

*** shentey_ has quit IRC00:09
*** shentey has quit IRC00:17
wndAt work, we're using Puppet to manage production servers. In one of the environments all nodes are using SystemD. Once in a while when nginx configuration changes, nginx ends up stopped, but according to SystemD it's active(stopped) or something like that. As much as I'd like to blame this solely on SystemD, I also wonder is Puppet really is sending stop/start. Still, SystemD believes everything is fine.00:29
DocScrutinizer05seen that on something around web too, yes00:35
DocScrutinizer05con't recall details, ask dos100:36
DocScrutinizer05but might be exactly same issue - just without puppet00:36
DocScrutinizer05systemdoom solves the problems nobody has, while introducing age old new ones nobody needs00:38
DocScrutinizer05and it's 'conveniently' mutually exclusive to all other possible options, so nobody can choose to opt out00:40
DocScrutinizer05unless you spin an effort like devuan, which is for sure a massive and daunting task00:40
_maniac_wnd: you should see nginx receiving signals in its error log.00:41
_maniac_to be honest, integrated solution like systemd *sounds* good for small devices (like n900) where you might need its features like starting services waiting for dbus socket even before dbus.00:44
DocScrutinizer05small devices benefit from modularization, not from monolithic monsters like systemd00:45
_maniac_e.g. systemd would be good if it wasn't systemd - broken pile of code that works just enough of time to justify mass adoption.00:45
KotCzarnythings in linux grow as a small projects, coexist with existent solutions, then if they are interesting/working/enough people consider them stable, get promoted into primary function doers00:47
DocScrutinizer05I never thought messybox was a smart choice for maemo5 - but systemdoom is messybox^400:47
KotCzarnysystemd was rushed00:47
KotCzarnyand its pushed more and more down the linux community throat00:47
DocScrutinizer05and yes, Nokia already messed up stuff with partitioning and mounting, regarding /usr. But with systemd that would have been mandatory00:48
infobotoptification is a inventive duct tape workaround to reclaim space in fs root, done due to the fact the systeminit *and* partitioning is FUBAR,,_Deploying_and_Distributing/Installing_under_opt_and_MyDocs, or ""OMG - I wish they looked into FHS and moved /usr to eMMC"", bullet1,2 and fhs-2.3.html#PURPOSE16 dot3"00:48
*** pagurus has joined #maemo00:55
DocScrutinizer05this guy knows *exactly* what he's talking about:
DocScrutinizer05freedesktop, gnome and the systemd cabal have no damn clue about the concepts behind a decent OS like unix00:57
DocScrutinizer05or maybe they even do and deliberately ignore any mandatory sane consequences since those don't match their own agenda00:58
DocScrutinizer05unholy alliance between RH and Suse00:59
DocScrutinizer05both crafting their long term business model for the next 30 years01:00
DocScrutinizer05appshops backed by trusted computing and secure boot, on a system basically too complex for any single person to maintain it:01:03
infobotsystemd cabal: a bunch of people (Lennart Poettering, Kay Sievers, H. Hoyer, D. Mack, T. Gundersen, D. Herrmann) who want to turn linux into their wet dream perverted version of windows-me-too: -- Rumor has it that 2016 systemd will have replaced kernel. See ~nosystemd"01:03
DocScrutinizer05>>This is going to be a longer story, so better grab a cold bottle of Club Mate before you start reading.<<  no, better grab a bottle of rum or vodka, you'll need it01:05
DocScrutinizer05read >>* Since there are so many different distributions...<< and >>* The distributions are actually quite different...<< and >>* Developing software for a number of distributions and versions is hard...<< and >>* Since most downstream distributions have strict licensing and trademark requirements<< and you get an idea which idea of >"One Ring to rule them all..." and to make *our* (distro maintainers') life more easy, and let us earn01:13
DocScrutinizer05truckloads of money< concept they're pursuing01:13
DocScrutinizer05actually each single sentence is an insult: >>The toolbox approach of classic Linux distributions is fantastic for people who want to put together their individual system, nicely adjusted to exactly what they need. However, this is not really how many of today's Linux systems are built<<01:15
_maniac_ok. I think it was asked before many times, but I wasn't there. How much effort is needed to turn maemo into a proper linux?01:18
DocScrutinizer05>>you don't install or remove packages, you get a defined set of files, and besides installing or updating the system there are no ways how to change the set of tools you get.<< -- calling *this* a ``major use-case of Linux┬┤┬┤ makes me want to beat up somebody01:18
DocScrutinizer05maemo IS proper linus01:18
KotCzarnymaniac: define 'proper'01:19
DocScrutinizer05linux even01:19
_maniac_where I don't get surprised by files locations01:19
KotCzarnyif you mean 'current' or 'updated to newest libs' it needs some things patched/RE in kernel01:19
_maniac_(at least)01:19
DocScrutinizer05hmm, I get surprised by file locations from ubuntu systems01:19
KotCzarnybut applies to your case too, because right now its tied to some proprietary packages/drivers01:20
DocScrutinizer05ls -lR /|less plus a rainy sunday afternoon and a huge pot of tea and cookies goes a looong way01:20
_maniac_ok, yes. your 'define "proper"' makes me shut up and think.01:20
DocScrutinizer05I thinl "proper" is pretty simple to define: just see how many lines-of-code (in percent of total) you need to change in arbitrary - say - debian packages to make them run on the system under test01:27
DocScrutinizer05aiui you can compile >90% of debian packages with no changes at all and they'll just work under maemo01:28
DocScrutinizer05sure you usually want to hildonize the GUI01:28
KotCzarnyproper is sticking to *nix digma: do one thing, but do it perfect01:28
DocScrutinizer05but I seem to recall I also have seen KDE running on N90001:28
KotCzarnyand building os from those little bits that work perfectly01:29
WizzupI don't think KDE would be usable on a n900.01:29
DocScrutinizer05usable is another cettle of fish01:29
DocScrutinizer05tbh KDE was barely usable on my CF-27 with its 192MB RAM and a P-II30001:30
DocScrutinizer05was it running a proper linux? heck yes01:31
DocScrutinizer05err CF-25 that been01:31
*** ecloud has quit IRC01:40
*** TTilus has quit IRC01:40
*** aloril has quit IRC01:40
*** ssvb has quit IRC01:41
*** TTilus has joined #maemo01:46
*** florian has joined #maemo01:55
*** ecloud has joined #maemo02:00
*** ssvb has joined #maemo02:06
*** aloril has joined #maemo02:12
*** florian has quit IRC02:41
*** xorly has quit IRC02:42
*** atk has quit IRC03:00
*** sleepee has joined #maemo03:03
*** M4rtinK has quit IRC03:27
*** Antiguan has joined #maemo03:57
*** rm_work has quit IRC04:12
*** rm_work has joined #maemo04:13
*** Antiguan has quit IRC04:37
*** eMHa__ has joined #maemo04:50
*** eMHa_ has quit IRC04:53
*** strohalm has joined #maemo04:54
*** clopez has quit IRC04:57
*** clopez has joined #maemo05:00
*** RedM has joined #maemo05:38
*** RedW has quit IRC05:38
*** strohalm has quit IRC05:43
*** strohalm has joined #maemo06:07
*** sleepee has quit IRC06:30
*** DocScrutinizer05 has quit IRC07:01
*** DocScrutinizer05 has joined #maemo07:01
*** pagurus has quit IRC07:50
*** pagurus has joined #maemo07:50
*** strohalm has quit IRC08:02
*** esaym153 has quit IRC08:16
*** esaym153 has joined #maemo08:16
*** strohalm has joined #maemo08:31
*** strohalm has quit IRC08:35
*** strohalm has joined #maemo08:43
*** cure` has quit IRC08:47
*** bruce_lee has joined #maemo09:32
*** atk has joined #maemo10:08
*** at1as has quit IRC10:44
*** florian_kc has joined #maemo11:11
*** florian_kc is now known as florian11:26
*** N-Mi has quit IRC11:52
*** N-Mi has joined #maemo12:06
*** N-Mi has joined #maemo12:06
*** Smily has joined #maemo12:49
*** SmilyOrg has quit IRC12:51
*** Smily has quit IRC12:56
*** eMHa__ has quit IRC13:37
*** eMHa__ has joined #maemo13:43
*** eMHa has joined #maemo13:48
*** eMHa__ has quit IRC13:50
*** clopez has quit IRC14:01
*** clopez has joined #maemo14:08
*** sleepee has joined #maemo14:28
*** louisdk has joined #maemo14:48
*** xorly has joined #maemo15:05
*** xorly has quit IRC15:15
*** xorly has joined #maemo15:28
*** Smily has joined #maemo15:30
*** xorly has quit IRC15:37
*** disco_stu_droid has joined #maemo15:54
*** disco_stu has quit IRC15:54
*** disco_stu_droid is now known as disco_stu15:55
*** tanty_off is now known as tanty16:00
*** lobito has joined #maemo16:05
*** Maxdaman1us has joined #maemo16:24
*** Maxdamantus has quit IRC16:25
*** ab has quit IRC16:25
*** luke-jr has quit IRC16:25
*** lukedashjr has joined #maemo16:25
*** ab_ has joined #maemo16:25
*** ab_ has joined #maemo16:25
*** ab_ is now known as ab16:26
*** LauRoman has quit IRC16:29
*** lukedashjr is now known as luke-jr16:29
*** sunshavi has joined #maemo16:48
*** xorly has joined #maemo16:49
*** radekp has quit IRC16:58
*** sleepee has quit IRC17:36
*** xorly has quit IRC17:43
*** florian has quit IRC18:11
*** Pali has joined #maemo18:29
*** krnlyng has quit IRC18:39
KotCzarnyso, i got another n900 (im addicted or what). what does nonpulsing orange mean after connecting charger?18:39
KotCzarny(i didnt try to turn it on yet)18:39
KotCzarnyis it flatbat case or something else?18:40
KotCzarny(right now i'll try to charge it for 30 minutes and see what will happen)18:40
*** sleepee has joined #maemo18:43
bencohKotCzarny: I'd say yes18:44
*** SmilyOrg has joined #maemo18:44
bencohand/or no kernel/rootfs to boot from after a few mins18:44
KotCzarnystill steady orange, so i guess rootfs/kernel b0rken. but battery is charging, right?18:44
sunshaviwhy You don't swap batteries. With another working n900 :)18:45
KotCzarnywill do, just wanted to make sure what steady orange means18:46
*** merlin_1991 has joined #maemo18:47
keriosteady orange means that bq24150 is not getting any instructions on what to do18:47
*** JRHaigh_ has joined #maemo18:47
keriofor one reason or another18:47
*** antranig1 has joined #maemo18:48
kerioso after 30(?) seconds it'll default to a slow charging mode18:48
kerioup to a point18:48
*** MikaT_ has joined #maemo18:48
*** jrayhawk_ has joined #maemo18:48
*** janus has quit IRC18:48
*** L29Ah has quit IRC18:48
*** fuz_ has quit IRC18:48
*** XDS2010 has quit IRC18:48
*** MikaT has quit IRC18:48
*** cpt_nemo has quit IRC18:48
*** sixwheeledbeast has quit IRC18:48
*** Smily has quit IRC18:48
*** merlin1991 has quit IRC18:48
*** antranigv has quit IRC18:49
*** till has quit IRC18:49
*** jrayhawk has quit IRC18:49
*** bruce_lee has quit IRC18:49
*** JRHaigh has quit IRC18:49
*** bruce_lee has joined #maemo18:49
*** till has joined #maemo18:49
KotCzarnyoh. something happened18:50
*** louisdk has quit IRC18:50
KotCzarnyturned on for a moment, showed 'nokia' logo, screen went crazy and turned off18:50
bencohwelcome to flat battery boot loop18:51
bencoh(with broken rootfs bonus)18:51
*** krnlyng has joined #maemo18:51
KotCzarnyyup, apparently18:51
infobotit has been said that bootloop is when your device has broken rootfilesystem, so during reboot it fails on some service startup or kernel module load and thus reboots. This *drains* battery! And you can't reflash to stop bootloop when battery is drained. Recharge your battery by other means before reflashing. E.g. using ~rescueOS. Or external charger or BL-5J compatible other device.18:52
bencohwhatever the spelling is, I kinda remember doc talking about that18:52
KotCzarnyrescueos should boot still18:52
KotCzarnylets see18:52
bencohKotCzarny: not sure18:52
*** janus has joined #maemo18:52
bencohbooting from usb with an empty battery has always been touchy18:53
*** robink has quit IRC18:53
*** fuz_ has joined #maemo18:53
*** robink_ has joined #maemo18:54
infobotextra, extra, read all about it, flasher is at (also .exe!), or or generally   HARMattan(N9):, or -- list of filenames/md5sums:, or
*** XDS2010 has joined #maemo18:56
*** esaym153 has quit IRC18:56
*** esaym153 has joined #maemo18:57
*** florian has joined #maemo19:00
infobotit has been said that maemo-flashing is, or - on linux PC - download&extract, cd into it, do sudo ./; or see ~flashing-cmdline, or see ~lazyflashing19:06
KotCzarnyok, rescueos booted with diff. battery19:08
*** tanty is now known as tanty_off19:08
KotCzarnyi guess i'll just flash it19:08
KotCzarnyFound device RX-51, hardware revision 220419:10
KotCzarnyNOLO version 1.4.1419:10
KotCzarnyVersion of 'sw-release': RX-51_2009SE_21.2011.38-1_PR_MR019:10
KotCzarnyso far so good19:10
KotCzarnywhy is it erasing cmt twice? hum19:10
KotCzarnyErasing CMT:  98%CMT flashing failed19:11
KotCzarnysorry, flashing RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin (NOLO, rootfs, modem-fw) failed with errorcode 019:11
KotCzarnydoes it mean modem is shot?19:12
bencohnot necessarily iirc19:12
KotCzarnyi think last time it flashed on 98% cmt, it was with broken modem board19:12
bencohit probably wont work if it failed at 98% though19:12
Palitry again19:13
Palior try to use 0xFFFF19:13
bencohhuhu, Pali reads in my mind :)19:13
bencoh(hey there btw, long time no "see")19:13
KotCzarnyi think its in bootloop now19:13
KotCzarnydoesnt even show nokia logo19:13
Pali1. make sure you have fully charget battery19:14
Pali(if not use external charger, etc)19:14
Pali2. do full reflash again19:14
KotCzarnydoes it have to be fully charged?19:14
Palishould be19:14
Palior at least half, but working battery, not some old19:15
KotCzarnydont remember how much juice my testing spare had, will try flashing again, then will charge it if it fails19:15
Paliso voltage does not decrease under some value19:15
KotCzarnypity device doesnt charge during flashing19:16
Palimodem cannot operate if voltage is low19:16
bencohKotCzarny: I'd just leave it alone for a few hours :)19:16
Paliand so it can defunct when trying to flash modem part19:16
KotCzarnynah, i'll use my primary phone batt if it fails again, its almost full today19:17
Palibtw, modem is own "system" and their bootloader refuse to downgrade modem firmware19:17
KotCzarnypali, hw revision is 2204, could it be the reason?19:18
Paliso I can imagine that lossing or memory or damaging some data in modem memory can lead that modem refuse to flash because of that "downgrade" restriction19:18
Palihw revision should not be reason19:18
Palijust use correct firmware for it (both 0xFFFF and flasher-3.5 choose correct from FIASCO binary)19:19
KotCzarnyim using doc's script19:19
Palishould be OK19:19
Palido not experiment and use fully charget battery19:19
KotCzarnyyeah, im just doing that19:19
Palibtw, flashing cmt images is implemented in NOLO :-( so 0xFFFF is just wraper around NOLO19:21
Palithere is no direct communication with modem19:21
KotCzarnysame error19:21
Palican you post output?19:21
Palithats bad19:23
KotCzarnycan i flash without modem part?19:23
Palican you try to preload (from 0xFFFF) for flasher-3.5?19:24
Paliand flash only cmt parts?19:24
Palithat will print looong output (dump usb packets)19:24
KotCzarnyshall i redirect output or its not that much?19:25
infobotsomebody said 0xffff was, or
Paliand there maybe could be some text error message from NOLO19:25
Paliredirect to file19:25
Paliboth stdout and stderr19:25
Paliit print every one usb packet19:25
Paligo to src/19:26
Pali$ make libusb-sniff-32.so19:26
Palihm... you have gcc519:28
Paliprobably they broke something... argh!19:28
KotCzarnyi can downgrade, no problem if its the only thing19:28
PaliI used only gcc4 and it worked fine19:28
Palimaybe sure that you have gcc multilib19:28
KotCzarnyhow do i check?19:29
Paliresp. you have 32bit libs for -m3219:29
KotCzarny32bit os19:29
Palithen you have it :-)19:29
KotCzarnywhat i love about slack is that i can just install old gcc packages without dependency hell19:38
KotCzarnyk, compiled now19:38
KotCzarnywhat was the flashing cmdline?19:40
Paliuse flasher-3.519:41
Palijust preload that built library19:41
KotCzarnyyes, but with which args19:41
Palilooks like this will do that19:42
KotCzarnyother args? (if you know out of the head)19:42
Paliat least --help say that19:42
Palinormal args19:43
KotCzarnyits combined or vanilla image?19:43
Pali-F for fiasco image19:43
Palicombined image19:43
Paliand  -f (which will flash)19:43
KotCzarnyLD_PRELOAD=./ ./maemo_flasher-3.5_2.5.2.2/flasher-3.5 --flash-only=cmt -f -F RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin19:43
*** sixwheeledbeast has joined #maemo19:43
KotCzarnyanything else?19:43
PaliI think thats all, do not remember19:44
Paliplus redirect output (stdout + stderr) to file19:44
Paliand watch what is in file19:44
KotCzarnylots of output19:45
KotCzarnylets wait19:45
KotCzarny44M log already19:45
KotCzarnyhe he19:45
PaliI wrote that :-)19:46
KotCzarnybtw. why does it erase cmt twice?19:47
Palido not know19:47
PaliIIRC operations are done by NOLO itself19:47
*** cpt_nemo has joined #maemo19:48
Palivia usb you just send headr + image and then tell command "flash"19:48
Paliand after that you can ask for flash status19:48
Paliand NOLO tell you what it is doing now with modem19:48
KotCzarnyi assume you are interested in ~2 last pages of output?19:48
KotCzarnyor everything?19:48
Paliit could be in end of output19:49
Palibut do not know if 2 pages will be enough19:49
Palihm... nothing :-(19:50
Palijust "error"19:50
KotCzarnyyup, what can i do now?19:50
Palifucking NOLO, it does not forward error messgae19:50
Palino idea :-(19:51
Palilooks like internal memory of modem is broken19:51
Palias erasing is faling (for unknown reason)19:52
KotCzarnymight be broken modem19:52
KotCzarnyi have the same failure at 98% in one other board19:52
KotCzarnybut at least it was working (- modem functions)19:53
PaliDocScrutinizer05: ^^^^ any idea?19:53
Paliis there any way to "hard" reset/clear N900 modem?19:53
KotCzarnythis one probably needs some flashing, how do i flash user space only?19:53
DocScrutinizer05sorry in a meeting, give me the telegram pls19:53
KotCzarnyie. emmc19:53
PaliKotCzarny: flash only rootfs19:53
DocScrutinizer05proven theoretical or practical?19:53
DocScrutinizer05or even "reset to factory"?19:54
PaliNOLO for unknown reason cannot erase modem when flashing19:54
KotCzarnypali: rootfs is in combined?19:54
DocScrutinizer05then you're out of luck to a degree where all you could try is check if modem answers via pnatd19:55
DocScrutinizer05most likely it's a hw defect19:55
DocScrutinizer05modem implements same ARM coldflashing like OMAP319:55
Paliand is too shy to tell us why19:55
DocScrutinizer05just it's NOLO doing that for the modem, or even maemo userland19:56
*** silviof has quit IRC19:56
Paliis there some way to do that coldflash?19:56
PaliKotCzarny: yes rootfs is in combined19:56
DocScrutinizer05I *think* each modem firmware update is coldflashing19:57
KotCzarnyrootfs isnt cutting it (not even nokia/5dots)19:57
PaliKotCzarny: and flash also kernel19:57
Palimaemo can update modem FW too19:58
DocScrutinizer05anyway I think modem flashing is even done by userland, so obviously to flash modem you need a working maemo userland first19:58
Palibut for that is needed DEB package19:58
DocScrutinizer05not all sure but would be plausible19:58
Palifrom nokia repository :-(19:58
Paliplus that DEB package remove modem image after flashing19:58
Paliso even you have installed it, you do not have image anymore19:59
*** felangga has joined #maemo20:01
KotCzarnyhow do i reset user data (emmc) ?20:07
KotCzarnyits in bootloop still20:07
infobotextra, extra, read all about it, bootloop is when your device has broken rootfilesystem, so during reboot it fails on some service startup or kernel module load and thus reboots. This *drains* battery! And you can't reflash to stop bootloop when battery is drained. Recharge your battery by other means before reflashing. E.g. using ~rescueOS. Or external charger or BL-5J compatible other device.20:07
KotCzarnyalso weird thing is, at first i was getting output on the screen (during boot or in rescueos)20:10
KotCzarnynow i dont. what could be the reason? is there some display firmware somewhere that got broken during flash?20:10
Paliafter flashing emmc you need to flash rootfs20:11
KotCzarnystupid question, how do i flash emmc?20:12
Palivia flasher-3.520:12
KotCzarnybut which image/params20:12
Palipass fiasco emmc image20:12
KotCzarnyvanilla, yes?20:12
Palifiasco emmc binary contains only mmc image20:12
KotCzarnyafair, missing display (bad cable/screen) could also be the bootloop reason20:24
Palido you see nokia logo?20:35
Paliand can you identify device via flasher-3.5?20:37
KotCzarnydisplay/cable/chip might be the reason20:37
KotCzarnyyes, i can flash it/boot rescueos. just nothing on screen (and as i said, it was working earlier)20:38
*** sunshavi has quit IRC20:38
Palihm... maybe problem with display20:38
KotCzarnywow, 9usd for display ribbon20:38
Paliin flash mode you should see NOKIA log20:38
KotCzarnyanyone got a cheap source for them?20:39
DocScrutinizer05~listvalues PC_syslog_of_USB_enum20:55
infobotFactoid search of 'PC_syslog_of_USB_enum' by value returned no results.20:55
DocScrutinizer05~#maemo PC_bootlog is
infobotokay, DocScrutinizer0520:56
*** felangga has quit IRC20:58
*** sunshavi has joined #maemo21:00
*** cure` has joined #maemo21:03
*** sunshavi has quit IRC21:07
*** silviof has joined #maemo21:10
*** kolp has joined #maemo21:34
*** kolp has joined #maemo21:35
*** antranig1 has quit IRC21:53
*** sunshavi has joined #maemo22:05
*** trumee has quit IRC22:09
*** ced117 has quit IRC22:22
*** sunshavi has quit IRC22:27
*** kolp has quit IRC22:35
*** pagurus has quit IRC22:37
*** LauRoman has joined #maemo22:43
*** Cor-Ai has quit IRC22:51
*** Cor-Ai has joined #maemo22:52
*** Oksana_ has joined #maemo23:01
*** Prissy_Tonkinese has joined #maemo23:02
*** stryngs_ has joined #maemo23:04
*** cyphase_eviltwin has joined #maemo23:08
*** fuz_ has quit IRC23:10
*** CatButts has quit IRC23:10
*** cyphase has quit IRC23:10
*** xray256 has quit IRC23:10
*** Oksana has quit IRC23:10
*** amospalla has quit IRC23:10
*** fortytwo has quit IRC23:10
*** chem|st has quit IRC23:10
*** dos1 has quit IRC23:10
*** jon_y has quit IRC23:10
*** stryngs has quit IRC23:10
*** AndrewX192 has quit IRC23:10
*** timeless has quit IRC23:10
*** L29Ah has joined #maemo23:10
*** fortytwo has joined #maemo23:11
*** AndrewX192 has joined #maemo23:11
*** chem|st has joined #maemo23:11
*** dos1 has joined #maemo23:11
*** jon_y has joined #maemo23:11
*** timeless has joined #maemo23:11
*** timeless has quit IRC23:12
*** amospalla has joined #maemo23:12
*** xray256 has joined #maemo23:12
*** XDS2010 has quit IRC23:13
*** fuz_ has joined #maemo23:13
*** timeless has joined #maemo23:22
*** XDS2010 has joined #maemo23:28
*** M4rtinK has joined #maemo23:39
*** Prissy_Tonkinese is now known as CatButts23:51

Generated by 2.15.1 by Marius Gedminas - find it at!