IRC log of #maemo-ssu for Monday, 2013-03-25

*** dhbiker has quit IRC00:17
*** dhbiker has joined #maemo-ssu00:38
*** unclouded has joined #maemo-ssu00:38
*** sunny_s has quit IRC00:40
*** Estel_ has quit IRC00:40
*** sunny_s has joined #maemo-ssu00:42
*** Sc0rpius has quit IRC00:50
*** M4rtinK has quit IRC00:58
*** M4rtinK has joined #maemo-ssu00:59
*** wmarone__ has joined #maemo-ssu01:12
*** wmarone_ has quit IRC01:13
*** DocScrutinizer51 has quit IRC01:13
*** XDS2010 has quit IRC01:13
*** nightsh_ has joined #maemo-ssu01:14
*** wumpwoast has quit IRC01:14
*** nightsh has quit IRC01:14
*** tg has quit IRC01:14
*** gregoa has quit IRC01:14
*** wumpwoast has joined #maemo-ssu01:15
*** gregoa has joined #maemo-ssu01:15
*** dhbiker has quit IRC01:15
*** tg has joined #maemo-ssu01:16
*** DocScrutinizer51 has joined #maemo-ssu01:17
*** Raimu-Z has quit IRC01:20
*** Milhouse has quit IRC01:20
*** infobot has quit IRC01:20
*** X-Fade has quit IRC01:20
*** M4rtinK2 has joined #maemo-ssu01:21
*** n900-dk_ has joined #maemo-ssu01:21
*** M4rtinK has quit IRC01:23
*** wumpwoast has quit IRC01:23
*** sunny_s has quit IRC01:23
*** chem|st has quit IRC01:23
*** n900-dk has quit IRC01:24
*** DocScrutinizer51 has quit IRC01:24
*** DocScrutinizer51 has joined #maemo-ssu01:24
*** DocScrutinizer51 has quit IRC01:24
*** DocScrutinizer51 has joined #maemo-ssu01:24
*** Raimu-Z has joined #maemo-ssu01:24
*** chem|st has joined #maemo-ssu01:25
*** sunny_s has joined #maemo-ssu01:26
*** wumpwoast has joined #maemo-ssu01:27
*** kolp has quit IRC01:28
*** X-Fade has joined #maemo-ssu01:29
*** M4rtinK2 has quit IRC01:34
*** M4rtinK2 has joined #maemo-ssu01:34
*** sunny_s has quit IRC01:39
*** n900-dk has joined #maemo-ssu01:39
*** sunny_s has joined #maemo-ssu01:42
*** xes has quit IRC01:45
*** wumpwoast has quit IRC01:46
*** n900-dk_ has quit IRC01:47
*** Martix has quit IRC01:48
*** zogg__ has joined #maemo-ssu01:48
*** zogg_ has quit IRC01:48
*** DocScrutinizer51 has quit IRC01:52
*** nox- has quit IRC01:52
*** Sicelo has quit IRC01:52
*** nightsh has joined #maemo-ssu01:53
*** Sicelo has joined #maemo-ssu01:56
*** freemangordon has quit IRC01:57
*** ShadowJK has quit IRC01:57
*** nightsh_ has quit IRC01:57
*** wumpwoast has joined #maemo-ssu01:59
*** thedead1440 has quit IRC02:02
*** freemangordon has joined #maemo-ssu02:02
*** ShadowJK has joined #maemo-ssu02:02
*** nightsh has quit IRC02:02
*** thedead1440 has joined #maemo-ssu02:03
*** DocScrutinizer51 has joined #maemo-ssu02:04
*** nox- has joined #maemo-ssu02:04
*** nightsh has joined #maemo-ssu02:04
*** wumpwoast has joined #maemo-ssu02:05
*** arcean has quit IRC02:19
*** gregoa_ has joined #maemo-ssu02:20
*** Sicelo_ has joined #maemo-ssu02:20
*** wmarone__ is now known as wmarone02:20
*** arcean has joined #maemo-ssu02:20
*** g3kk3r_ has joined #maemo-ssu02:21
*** ZogG has joined #maemo-ssu02:21
*** ZogG has joined #maemo-ssu02:21
*** Sicelo has quit IRC02:21
*** gregoa has quit IRC02:21
*** g3kk3r has quit IRC02:21
*** zogg__ has quit IRC02:22
*** DocScrutinizer51 has quit IRC02:22
*** nox- has quit IRC02:22
*** DocScrutinizer51 has joined #maemo-ssu02:23
*** luf has quit IRC02:24
*** peetah has quit IRC02:24
*** nox- has joined #maemo-ssu02:26
*** thedead1440 has quit IRC02:29
*** gregoa_ is now known as gregoa02:29
*** Woody14619b has joined #maemo-ssu02:30
*** peetah has joined #maemo-ssu02:30
*** LauRoman has quit IRC02:30
*** thedead1440 has joined #maemo-ssu02:32
*** arcean_ has joined #maemo-ssu02:32
*** nightsh_ has joined #maemo-ssu02:33
*** LauRoman has joined #maemo-ssu02:33
*** Woody14619a has quit IRC02:33
*** ZogG has quit IRC02:36
*** nightsh has quit IRC02:36
*** arcean has quit IRC02:36
*** jon_y has quit IRC02:36
*** DocScrutinizer51 has quit IRC02:37
*** M4rtinK2 has quit IRC02:37
*** M4rtinK2 has joined #maemo-ssu02:39
*** DocScrutinizer51 has joined #maemo-ssu02:41
*** arcean_ has quit IRC02:41
*** jon_y has joined #maemo-ssu02:42
*** ZogG has joined #maemo-ssu02:45
*** Estel_ has joined #maemo-ssu02:46
*** Estel_ has quit IRC02:46
*** Estel_ has joined #maemo-ssu02:46
Estel_Hey, I have a small question02:46
Estel_I wanted to do automagic ssh connection from one of my devices - one that reconnects, if dropped or whatsnot02:47
Estel_so, i did basic02:47
Estel_while true; do ssh bla@blabla -o "shitload of options"; sleep 120; done02:47
Estel_that gets invoked from /etc/network/if-up.d/02:48
nox-mosh?02:48
nox-or has that not been ported?02:48
Estel_(and killed from /etc/network/if-down.d/, but thats irrelevant methinks)02:48
Estel_it works, but ssh connection started from this infinite loop is SLOW02:48
Estel_3x-4x slower than normal02:49
Estel_I wonder wtf?02:49
Estel_is my loop somehow badly written and slows it down?02:49
Estel_same command outside loop result in faster ssh02:49
Estel_I checked cpu and it's not busy02:49
Estel_sleep 120 for infinite loop should tax it, anyway02:49
Estel_nox-,  hm, I haven't heard about being ported, might check02:50
*** DocScrutinizer51 has quit IRC02:50
Estel_OTOH, I just wanted to know if what I did is proper way to do infinite loops for auto-respawning things, without slowing something down02:50
*** Skry has quit IRC02:51
*** mickname has quit IRC02:51
*** mickname has joined #maemo-ssu02:51
*** DocScrutinizer51 has joined #maemo-ssu02:51
* nox- sees nothing obviously wrong there...02:51
Estel_well, maybe slowiness is related to something else, will investigate02:53
*** Skry has joined #maemo-ssu02:53
Estel_another oddity, though. My loop works from hand... But, while network/if-up.d/ calls it properly (creates log file)...02:53
Estel_it doesn't seem to actually execute anything02:53
Estel_file in /etc/network/if-up.d/blabla executes my loop, and > /var/log/blabla.log02:54
nox-oh i dont know about if-up.d, maybe it doesnt have a tty or something?02:54
Estel_blabla.log get created when interface is up, but it's empty, and ssh doesn't work02:54
Estel_maybe. I took instructions from wiki page "Reverse SSH" (maemo wiki)02:55
Estel_for many people it works, but on discussion thread, one guy seems to have same problem02:55
Estel_log created, no ssh though02:55
Estel_well, if-up.d just runs scripts, shell should handle tty, shouldn't it?02:56
Estel_but, there is something about it, once I tried to call iw reg set JP from if-up.d, and it also didn't worked02:56
Estel_I'll try to abuse advanced-interface-switcher postup scripts02:57
Estel_instead of poor old network/if-up.d/02:57
*** wumpwoast has quit IRC03:02
*** M4rtinK2 has quit IRC03:04
*** DocScrutinizer51 has quit IRC03:07
*** wumpwoast has joined #maemo-ssu03:08
*** X-Fade has quit IRC03:08
*** DocAvalanche has joined #maemo-ssu03:08
*** DocAvalanche is now known as DocScrutinizer5103:09
*** wumpwoast has quit IRC03:16
*** mickname has quit IRC03:16
*** mickname has joined #maemo-ssu03:17
*** XDS2010 has joined #maemo-ssu03:17
*** X-Fade has joined #maemo-ssu03:20
*** wumpwoast has joined #maemo-ssu03:21
*** ShadowJK has quit IRC03:27
*** wumpwoast has quit IRC03:32
*** wumpwoast has joined #maemo-ssu03:32
*** mickname has quit IRC03:32
*** mickname has joined #maemo-ssu03:32
*** Skry has quit IRC03:32
*** Skry has joined #maemo-ssu03:32
*** ShadowJK has joined #maemo-ssu03:32
*** wumpwoast has quit IRC03:32
*** X-Fade has quit IRC03:33
*** freemangordon has quit IRC03:33
Estel_something is screwed with that loop, after all03:34
Estel_even from network/if-up.d/ it works (nohup can be used to avoid tty, but it doesn't matter here)03:35
Estel_but03:35
Estel_ssh is estabilished, and killed, then, after sleep, estabilished and killed again03:35
Estel_in circle03:35
Estel_is it normal for:03:36
Estel_while true; do blabla; sleep 120; done03:36
Estel_shouldn't it check if blabla is running every 120 seconds, and otherwise, respawn it?03:37
Estel_instead of doing blabla, killing it, sleeping for 120, doing blabla again...03:37
Estel_I wonder wtf is wrong03:37
nox-it would run it and wait till it exits, then sleep03:38
*** sunny_s has quit IRC03:39
Estel_but, for some reason, it run this (blabla is ssh root@IP -o <some options>)03:40
Estel_then kill ssh just after it finish connecting03:40
Estel_then sleep03:40
Estel_and that in circle03:40
*** XDS2010 has quit IRC03:41
Estel_I wonder why it assume that ssh finishing connecting -> ssh need to get killed03:41
*** freemangordon has joined #maemo-ssu03:41
nox-i rather suspect ssh exits bc of missing tty or something03:41
Estel_s/assume/assumes/03:41
*** Sc0rpius has joined #maemo-ssu03:41
*** XDS2010 has joined #maemo-ssu03:41
Estel_nox, nohup should help here...03:41
nox-depends03:41
Estel_also, ssh connects for sure, as for > /var/log/reverse_ssh.log, I see asci logo of my router03:41
Estel_(it connectts to router)03:41
Estel_for a while03:42
Estel_then, opening it again, log is empty03:42
Estel_then, after sleep it appears03:42
Estel_hm, ssh exiting you think?03:42
Estel_despite saving output to log?03:42
nox-more likely than something killing it at least03:42
Estel_(OpenWRT logo, just like seen when connecting manually)03:42
*** wumpwoast has joined #maemo-ssu03:43
Estel_may it be, but, how to fight this behavior?03:43
nox-maybe you can run it in script(1)03:43
nox-that should setup a pty03:43
nox-(assuming thats ported)03:43
*** X-Fade has joined #maemo-ssu03:44
Estel_it is used for reverse ssh, and fun fact here - if I connect "from 2nd side" by spamming connections and hit that 1 second when it's alive...03:44
Estel_I have stable shell03:44
Estel_that doesn't disconnect03:44
Estel_i.e. my automagic have local port forwarding to router, and from another device, I connect to router too, then connect to localhost and forwarded port03:45
Estel_if I do it just in time, connection "sticks"03:45
Estel_No idea if it reinforces theory about missing tty or not03:45
nox-hm03:45
* nox- not messed with reverse ssh yet...03:46
Estel_I know, kinda niche thing03:46
Estel_what makes me wonder, is that it seems to work for some people on N900 exactly this way, without problems03:46
Estel_and I suppose ssh would exit always, if missing tty would be a reason03:46
nox-maybe, not sure tho maybe when the other side connects it decides to stay...03:47
nox-could also be something else that makes it exit i'm just not sure what03:48
Estel_that's possible, too... although, technically, other side connects to ssh server, while ssh client decide to stay just because his local forwarded port is in use?...03:48
nox-yeah03:48
Estel_if sinking due to missed tty it shouldn't care...03:48
Estel_well, I don't have better idea than missing tty, though03:48
nox-well try running it in script and you'll see03:48
*** sunny_s has joined #maemo-ssu03:48
Estel_from terminal, normally?03:49
nox-no, script ssh ...03:49
Estel_same script, run from terminal not if-up.d, works like charm03:49
nox-instead of ssh03:49
Estel_You lost me on that one, sorry for being dumb03:49
*** Skry has quit IRC03:49
nox-http://linux.die.net/man/1/script03:49
Estel_ough, thanks03:50
*** Skry has joined #maemo-ssu03:50
nox-script log.txt ssh ...03:51
nox-i guess03:51
*** LaoLang_cool has joined #maemo-ssu03:52
Estel_thanks nox- testing it now03:54
Estel_laugh at me, but I haven't know this tool :P03:55
nox-heh03:55
Estel_I wonder if it could be abused somehow, to log framebuffer output during N900 boot (at least, since script is available, making sure to have it available soon enough)03:55
Estel_even most experienced people here failed to get an idea how to save N900 boottime framebuffer, instead of recording video during boot, lol03:56
nox-hm im not sure how n900 boots, if theres some rc script that runs it all...03:57
*** LaoLang_cool has quit IRC03:59
*** wumpwoast has quit IRC04:00
*** wumpwoast has joined #maemo-ssu04:00
*** X-Fade has quit IRC04:02
*** freemangordon has quit IRC04:02
*** ShadowJK_ has joined #maemo-ssu04:09
*** mickname has quit IRC04:09
*** mickname has joined #maemo-ssu04:09
*** ShadowJK has quit IRC04:09
*** freemangordon has joined #maemo-ssu04:09
Estel_nox-,  I've found reason04:10
nox-what was it?04:10
Estel_it was about & at end of /etc/network/if-up.d/blabla script04:10
nox-oh04:10
Estel_this script was running reverse-ssh script from /usr/sbin/04:11
Estel_which in turn was the loop i mentioned04:11
Estel_for some reason, & on end of if-up.d script, made it kill things just as they stop activity04:11
Estel_loop still worked, though, but from scratch04:11
nox-probably when the parent shell dies?04:11
Estel_supposedly, but it's strange, as loop should die too, then04:12
Estel_as after all, it was loop executed from that script ending with &04:12
Estel_still, loop lived, and sub-process from inside loop got dying all the time04:12
nox-well that depends on process groups etc04:12
Estel_this & at end of if-up.d script was, probably, to ensure that it executed next scripts from that directory...04:13
Estel_I wonder why it works for some people with that & *confused*04:13
nox-probably04:13
nox-hm04:13
*** X-Fade has joined #maemo-ssu04:14
nox-maybe something changed there in a newer ssu?04:14
Estel_and why connecting from different machine to local forwarded port prevented it from killing ssh?04:14
Estel_maybe, but IIRC recent reports about it working ok were after ssu...04:14
Estel_unless it's cssu which changed things04:14
nox-*nod*04:14
Estel_strange things, but I'm glad it works now - time for testing if "hanging" script from if-up.d doesn't block anything04:15
nox-too easy to `brick' the boot...04:15
Estel_fortunatelly, taht would be easily fixable from backupmeny or even preinit's shell04:17
Estel_backupmenu's console, I mean, not restoring backup even04:18
Estel_thanks to backupmenu, menatlist's recovery shell, u-boot, and rescueos, it's quite hard to really require reflash, nowadays04:18
nox-heh04:18
Estel_btw device in question got broken usb chip (not port), so reflash is not an option :P04:19
nox-ouch04:19
*** DocScrutinizer51 has quit IRC04:19
Estel_it's broken in strange way, charging works ok as soon as I force it (bme FOSS replacement handy here), otherwise, it thinks it's in vboost state04:20
Estel_aka hostmode, lol04:20
Estel_upon connecting charger04:20
*** DocScrutinizer51 has joined #maemo-ssu04:20
Estel_I need to remember about asking Pali, how his bme replacement detect vboost state04:20
Estel_and how on earth my device (albeit with broken smth) enters it on it's own04:21
Estel_when charger attached04:21
Estel_I suppose 5V from charger is sensed by something that shouldn't get it provided04:21
nox-bbl04:21
Estel_bb04:21
* nox- not really into n900 hw much :)04:22
*** nox- has quit IRC04:25
*** freemangordon has quit IRC04:27
*** ShadowJK_ has quit IRC04:33
*** ShadowJK has joined #maemo-ssu04:34
*** X-Fade has quit IRC04:34
*** freemangordon has joined #maemo-ssu04:35
*** Sicelo_ has quit IRC04:39
*** DocScrutinizer51 has quit IRC04:42
*** wmarone_ has joined #maemo-ssu04:42
*** aap has quit IRC04:42
*** DocScrutinizer51 has joined #maemo-ssu04:43
*** wmarone has quit IRC04:44
*** ShadowJK has quit IRC04:45
*** Sicelo has joined #maemo-ssu04:45
*** ShadowJK_ has joined #maemo-ssu04:45
*** X-Fade has joined #maemo-ssu04:47
*** aap has joined #maemo-ssu04:50
*** wmarone__ has joined #maemo-ssu04:58
*** wmarone_ has quit IRC04:58
*** Skry has quit IRC05:01
*** aap has quit IRC05:03
*** ShadowJK has joined #maemo-ssu05:04
*** LauRoman has quit IRC05:05
*** ShadowJK_ has quit IRC05:05
*** X-Fade has quit IRC05:06
*** sunny_s has quit IRC05:07
*** Skry has joined #maemo-ssu05:08
*** amiconn has quit IRC05:09
*** amiconn_ has joined #maemo-ssu05:09
*** amiconn_ is now known as amiconn05:09
*** aap has joined #maemo-ssu05:09
*** sunny_s has joined #maemo-ssu05:09
*** X-Fade has joined #maemo-ssu05:10
Estel_damn, it doesnmt work, after all05:19
Estel_without & it works from terminal, but, automagically invoked, be it from advinterfaceswitcher or normal network/if-up.d/ scripts, it just keep dying, connecting, dying... etc05:20
*** X-Fade has quit IRC05:58
*** X-Fade has joined #maemo-ssu06:02
*** DocScrutinizer05 has quit IRC06:04
*** DocScrutinizer06 has joined #maemo-ssu06:04
*** DocScrutinizer06 is now known as DocScrutinizer0506:04
kerioEstel_: autossh07:11
*** sunny_s has quit IRC07:36
*** sunny_s has joined #maemo-ssu07:39
*** discopig has quit IRC07:46
*** xmlich02 has quit IRC07:46
*** chainsawbike has quit IRC07:46
*** discopig has joined #maemo-ssu07:46
*** discopig has quit IRC07:46
*** discopig has joined #maemo-ssu07:46
*** xmlich02 has joined #maemo-ssu07:47
*** chainsawbike has joined #maemo-ssu07:48
*** dhbiker has joined #maemo-ssu08:57
*** dhbiker has quit IRC09:34
*** dhbiker has joined #maemo-ssu09:45
*** dhbiker has quit IRC09:52
*** dhbiker has joined #maemo-ssu09:56
*** LauRoman has joined #maemo-ssu09:57
*** Martix has joined #maemo-ssu10:00
keesjHi, shoud the camera app be different after the SSU? I updated, ran the updater application and after a reboot my n900 told me the upgrade whent alright.10:27
keesjbut I can't find any real difference(the about dialog in the prefferences is different but that's it)10:28
*** wumpwoast has quit IRC10:35
*** Martix_ has joined #maemo-ssu10:35
*** Martix has quit IRC10:37
*** chainsawbike has quit IRC10:39
*** X-Fade has quit IRC10:39
*** chainsawbike has joined #maemo-ssu10:40
*** xmlich02 has quit IRC10:40
*** xmlich02 has joined #maemo-ssu10:41
*** Skry has quit IRC10:41
*** Skry has joined #maemo-ssu10:42
*** discopig has quit IRC10:42
*** amiconn has quit IRC10:42
*** discopig has joined #maemo-ssu10:42
*** discopig has quit IRC10:42
*** discopig has joined #maemo-ssu10:42
*** wumpwoast has joined #maemo-ssu10:43
*** chainsawbike has quit IRC10:44
*** amiconn has joined #maemo-ssu10:44
*** X-Fade has joined #maemo-ssu10:45
*** chainsawbike has joined #maemo-ssu10:46
*** X-Fade has quit IRC10:54
*** X-Fade has joined #maemo-ssu10:59
*** kolp has joined #maemo-ssu11:18
*** sunny_s has quit IRC11:20
*** sunny_s has joined #maemo-ssu11:23
*** M13 has joined #maemo-ssu11:33
*** futpib has joined #maemo-ssu11:40
*** sunny_s has quit IRC12:08
*** arcean has joined #maemo-ssu12:14
*** unclouded has quit IRC12:15
*** arcean has quit IRC12:35
*** arcean has joined #maemo-ssu12:36
*** M13 has quit IRC12:39
*** lizardo has joined #maemo-ssu12:40
*** andre__ has joined #maemo-ssu13:05
*** andre__ has joined #maemo-ssu13:05
keriokeesj: cssu stable should be, by default, identical to stock13:08
keesjthanks13:14
*** sunny_s has joined #maemo-ssu13:35
*** M13 has joined #maemo-ssu14:09
*** discopig has quit IRC14:41
*** discopig has joined #maemo-ssu14:50
Estel_kerio,  thanksp but solved it. It was just matter of using -N option in ssh15:00
Estel_DocScrutinizer05,  there  is problem with revent package from extras-devel - modrana 0.40.1 have size mismatch15:02
*** sunny_s has quit IRC15:05
*** sunny_s has joined #maemo-ssu15:08
*** Guest50382 has joined #maemo-ssu16:30
*** Martix_ has quit IRC16:52
*** infobot has joined #maemo-ssu16:53
*** ChanServ sets mode: +v infobot16:53
*** Guest50382 has quit IRC16:54
*** Guest50382 has joined #maemo-ssu16:55
*** Guest50382 has quit IRC17:06
*** Milhouse has joined #maemo-ssu17:32
discopighi17:39
andre__hi17:54
*** ivgalvez has joined #maemo-ssu18:01
*** Martix_ has joined #maemo-ssu18:07
*** Martix_ has joined #maemo-ssu18:08
*** Martix_ is now known as Martix18:12
*** Woody14619b has quit IRC18:21
*** Woody14619 has joined #maemo-ssu18:22
*** Woody14619 has joined #maemo-ssu18:22
DocScrutinizer05andre__: hi!18:33
andre__hi DocScrutinizer0518:34
freemangordonmerlin1991: ping18:47
ivgalvezhi fremangordon18:54
freemangordonivgalvez: hi, welcome back :)18:55
ivgalveznice to see you18:56
freemangordonivgalvez: how's life, everything ok?18:56
ivgalvezI have destroyed my filesystem in a very stupid way18:56
ivgalvezapart from that freezing to death in Dublin18:56
freemangordonivgalvez: ooh. I've been in Scotland a couple of times, those places are not for hot-blodied southern guys :D18:57
ivgalvezhaha18:57
freemangordonmoist and cold. and rabbits :D:D:D18:57
ivgalvezstill getting used to it18:58
freemangordonhonestly, maybe the weather is one of the major reasons I am still here18:58
ivgalvezI imagine that18:58
ivgalvezwork conditions are clearly better as you go north18:59
freemangordonyep, I remember some guys in London made e meeting in pub at 15:00. Their working time was till 17:30 :D. It was Friday ofc19:00
*** Martix has quit IRC19:02
ivgalvezone question, now that repos are finally under Maemo Council control, have you planned to move Thumb repo to the official server?19:03
ivgalvezand maybe add upload access to some developers19:03
*** sunny_s has quit IRC19:04
ivgalvezthere are many Thumb applications floating around the forums now19:04
*** sunny_s has joined #maemo-ssu19:06
*** Martix has joined #maemo-ssu19:11
Estel_freemangordon,  I have something that might be kernel oops19:14
Estel_not sure, so pasting syslog19:15
Estel_http://sebsauvage.net/paste/?348922f654b9aa15#wVmtdYn6FBuXKabppB8XcqVHyZiogox2t+3aDqUKSjM=19:15
Estel_decide yourself what it is worth, if anything, I'll be happy to helpg chasing19:15
freemangordonEstel_: what to look for?19:15
freemangordonooh, I see19:16
Estel_malf19:16
Estel_and kernel-power main process terminated19:16
Estel_with error19:16
Estel_(exact this phrase iirc)19:16
Estel_and dsme malf :P19:16
freemangordonEstel_: what about "EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy: EXT4-fs: group 31: 6372 blocks in bitmap, 6374 in gd"19:17
freemangordonthis is the first error in a row19:17
Estel_ivgalvez,  true, many thumb things floating around, merlin1991 is super-slow at putting them into repos (not accusing)19:17
Estel_my filesystem got some insignificant errors in games directory19:17
Estel_but it works nevertheless despite that errors19:17
Estel_I'm going to fix it today, I don't think it's related (may be wrong)19:18
freemangordonEstel_: well, I guess Pali should be made aware of that, so he can pester whoever made ext4 patch in KP.19:18
kerioEstel_: i suggest a fsck -c19:18
freemangordon:nod:19:18
kerioi thought ext4 was mainline19:18
Estel_kerio, fsck just kills flash19:18
Estel_I mean, no fsck tools are aware how to fic anything on flash19:19
keriono, steve jobs killed flash19:19
Estel_any serious error (more than access time in future ot journal recovery), + fsck on flash, = filesystem to trash19:19
freemangordonEstel_: maybe you should provide your /dev/mtd2 too19:19
Estel_freemangordon,  sure, lemme paste it19:19
Estel_erm, ois it text file? :P19:19
freemangordonnot exactly :)19:20
kerioEstel_: ok then19:20
Estel_maybe ext4 patch in kp is bugged19:20
Estel_kerio, ShadowJK would give you technical rationale why never do fsck on flash19:20
keriowrite zeroes to it, then mkfs, then do a read-only badblocks test19:20
Estel_why not19:20
Estel_freemangordon,  so how to dump it properly?19:20
keriootoh, sometimes file systems get fucked up19:20
Estel_/dev/mtd219:20
Estel_?19:20
kerioor sometimes you get bad blocks19:20
freemangordonEstel_: don;t do it19:21
Estel_?19:21
freemangordonEstel_: that fs if FUBAR19:21
freemangordonand see "kernel: [ 317.285308] twl4030_wdt twl4030_wdt: Unexpected close, watchdog still running!"19:21
Estel_I'll try contacting Pali, but reporting anything to him is fubar too, lately19:21
Estel_hm, what does it mean?19:22
kerioof course it's fubar, he never does a fsck :P19:22
freemangordonEstel_: it is pointless, it is not the kernel to blame19:22
freemangordonit is WD rebooting your device19:22
Estel_kerio, I regularly restore backups With prior-recreation of filesystem :P19:22
Estel_ok19:22
Estel_dsme: malf is result of this?19:22
kerioEstel_: and that means that you never keep a list of bad blocks19:22
freemangordonand if you have a couple of reboots in a row, then MALF. afaik19:22
Estel_also, there was "hw bug" line somewhere there19:22
keriowtf is MALF19:22
Estel_I see19:22
freemangordonmalfunction19:23
Estel_malfunction, probably19:23
keriowhat does it entail19:23
Estel_that dsme told you to gtfo due to few reboots in row19:23
Estel_unexpected19:23
kerioa normal boot resets the counter though, right?19:23
Estel_yes19:23
freemangordonEstel_: I'll look at that log more closely when I have more time, but I'd say: fsck your fs19:23
Estel_freemangordon,  sure, I'll do that19:24
freemangordonEstel_: there are hundreds of "Mar 25 17:53:01 BloodRose hildon-thumbnailerd[1587]: GLIB DEBUG default - Error opening file '/home/user/.thumbnails/fail/hildon-thumbnail/6d46f0a280851e67a1f7fe65bf75a67d.jpeg': Permission denied " and similar errors19:24
Estel_inf act tried to abckup last night, but tar, despite --ignore-failed-read, stopped at 1.8 GB and worked indefinitely19:24
Estel_freemangordon,  due to filesystem errors?19:24
freemangordonand other fs errors19:24
Estel_I noticed that19:24
freemangordonI guess19:25
Estel_OK, will fix my filesystem, and if problems occur again with clear fs, will get back to you19:25
Estel_for now, scratch it :)19:25
kerioEstel_: if you have unbackupped data on that, dd it on a computer and fsck the image19:25
freemangordonok19:25
Estel_kerio,  thought about that, will it work?19:25
keriosure, why not19:25
kerioShadowJK: why are you supposed to never do fsck/badblocks on the emmc?19:26
Estel_idk, maybe dd from flash have flash madness bundled inside :P19:26
keriothe emmc isn't a fucking flash19:26
Estel_no? then what?19:26
kerioit's a perfect block device19:26
freemangordonblock device19:26
Estel_aren't you messing it with nand?19:26
freemangordonno19:26
kerionope19:26
keriothe rootfs is on mtd19:26
Estel_no idea, I'm clueless about it19:27
keriothat's why you use ubifs19:27
keriothe emmc is just a block device19:27
kerioyou're still supposed to try to treat it nicely19:27
Estel_block device in flash technology? :P19:27
Estel_but it have hardware wear levelling bundled in19:27
keriobut there's not really much you can do for it19:27
ShadowJKkerio; I think when the filesystem is designed to only deal, at best, with 512 byte chunks corrupted or missing, when fsck faces a filesystem full of data (after a crash/powerloss) in chunks for megabytes that might all be old, all new, or all corupted, it gets thoroughly confused19:27
kerioShadowJK: what about doing a fsck -c on a brand new FS?19:28
kerio(badblocks read test)19:28
ShadowJKThat wont corrupt anything19:28
Estel_anyway in practice, everytime i tried fsck on N900 on filesystem with errors, it resulted in filesystem getting fubar as awhole19:28
ShadowJKbut it's fairly pointless in my experience.19:28
keriofsck might fail, yes19:28
kerioShadowJK: i have at least one bad block on the emmc19:28
*** NIN101 has joined #maemo-ssu19:28
ShadowJKMost SDs I've had that have had bad blocks, have happily included those bad blocks in wear leveling, so one overwrite and the bad goes away, but several overwrites later the bad block comes back, in a new location, thanks to weat leveling :))19:29
kerio:s19:29
kerioso it's better to not write to that block, surely19:29
Estel_ShadowJK,  DD'ing partition to desktop and fscking image on hard drive should work, yes?19:30
kerioEstel_: still the same problem19:31
Estel_?19:31
keriodata loss on emmc is particularly bad19:31
kerioso e2fsck could still get thoroughly confused19:31
Estel_it segfaults on maemo, too19:31
keriobut that's in case of a power loss, not in case of a write error19:31
kerioi mean19:31
Estel_new version works ok, but cssu denied to include it, once19:31
keriosomething like a driver error19:31
kerioEstel_: it's not like it's particularly useful on a running system anyway19:32
keriorescueOS has the latest (or at least, a recent) version of e2fsprogs19:32
Estel_kerio, excuse noobiness, but I have never used dd to save N900's partition from  dance macabre, and that data is pretty important to me19:32
Estel_how exactly command should look to prepare 100%ok image19:32
kerioboot from rescueOS19:33
Estel_then repair it, and restore back for maemo?19:33
keriomount in mass storage mode19:33
kerioer19:33
kerionot mount19:33
Estel_well, I'm not going to fskc on emmc anyway, want to move it to desktop19:33
Estel_export19:33
kerioyeah19:33
Estel_in mass storage19:33
Estel_I know the thrill19:33
Estel_then, command to dd from that device, how should it look, parameters etc?19:33
*** Martix has quit IRC19:34
Estel_(for this use case, repairing and getting back)19:34
keriothen dd if=/dev/sd<disc letter><partition number of your home/optfs> of=optfs.img bs=4m19:34
kerioonce you have that, make a copy of optfs.img19:34
* Estel_ nods19:34
keriothen... idk19:34
Estel_fsck that image19:34
keriomount it in loopback with ro,noload and copy everything you can19:34
Estel_see if it doesn't start fusion reaction19:34
keriothen mount it in loopback with rw and copy everything you can19:35
keriothen fsck, and mount it in loopback with rw and copy everything you can19:35
Estel_ok, how to dd it back in place properly?19:36
kerioyou don't19:36
Estel_ouh19:36
kerioyou make a tarball of the data, mkfs on the device, and unpack on the new fs19:36
Estel_just recreate filesysytem and copy files?19:36
kerioyeah19:36
Estel_hm, so why fsck on desktop19:36
Estel_could just copy data to desktop, mkfs, copy back19:36
keriobecause the n900 is slow as fuck19:36
keriothat's also why i told you to first mount and copy the data19:37
kerioactually19:37
Estel_I see19:37
keriomount ro,noload and copy the data19:37
keriothen mount and copy the data19:37
*** ivgalvez_ has joined #maemo-ssu19:37
keriothen fsck, mount and copy the data :)19:37
Estel_permissions won't get fucked?19:37
Estel_for optfs?19:37
Estel_due to copying for some linux distro?19:37
keriosurely you're doing this as root19:37
Estel_sure19:37
keriouse cp -a19:37
Estel_thats the way I do it usually, but last time I tried, and fs was clean then...19:38
Estel_after copying back19:38
Estel_half of optfs wasnt working :P19:38
*** ivgalvez has quit IRC19:38
Estel_black instead of desktop, pink ststusbar, etc19:38
Estel_strange things instead of fonts19:38
Estel_but for easy debian it always work, no idea19:38
keriohm, you should probably use tar actually19:38
kerioidk if there's hard links in optfs19:38
Estel_think so19:38
kerioanyway, when you're remaking the fs, use mke2fs -c19:39
kerioso it checks for badblocks once19:39
kerioShadowJK: will that cause problems?19:39
* Estel_ nods19:39
Estel_wear levellin on emmc will ignore our badblocks19:39
kerionot if you leave them there19:40
Estel_due to transparent hardware shit assigning to wrong block anyway19:40
keriohm19:40
Estel_I don't think emmc wear levelling respect our badblocks results19:40
keriogood pont19:40
keriopoint19:40
keriobut the emmc should not present bad blocks at all, shouldn't it19:40
kerioi mean, it should identify the bad blocks19:40
Estel_for logical filesystem, it won't, but physically, bad block will get assigned again due to hw wear lvl19:41
Estel_so, it will n"miracolously" appear in other place19:41
Estel_for logical filesystem19:41
kerioyeah but the wear levelling should figure out that a block is bad19:41
keriolike, a nand block19:41
kerioand stop using it19:41
Estel_tell it to manuf. of fuckin wear lvlers on hardware lvl, they don't care19:41
Estel_I agree, but haven't seen hw wear lvler that would respect it, sadly :(19:41
keriothere's nothing to "respect"19:42
kerioa block being bad is something you can notice, at the controller's side19:42
Estel_s/respect/care about it/19:42
infobotEstel_ meant: I agree, but haven't seen hw wear lvler that would care about it it, sadly :(19:42
Estel_as said, agreed, but they just don't care :(19:42
Estel_be it most expensive sd cards or noname ones, same apply *probably* for n900 emmc19:42
Estel_hardware wear levelling that doesn't talk with os/kernel/whatever is evil, always19:43
Estel_thanks for help, anyway, will try to fix mess with that fs19:43
*** ivgalvez_ has quit IRC19:44
kerioShadowJK: surely blindly remapping bad blocks around is not something that a sensible emmc controller would do, is it19:44
*** M4rtinK2 has joined #maemo-ssu19:51
kerioShadowJK: silly idea - would leaving a bunch of empty space help?19:53
ShadowJKkerio; in general controllers are not "sensible" :))20:03
ShadowJKAs for "fixing" a corrupt filesystem, myself I'd probably never run fsck ever again, tried that once. I'd tar files up and extract into newly mkfs'd fs20:05
kerioah ofc20:05
ShadowJKfsck on MyDocs vfat is probably not as evil20:08
ShadowJKas sd cards are supposed to work with vfat20:08
*** andre__ has quit IRC20:16
*** xes has joined #maemo-ssu20:50
discopigyes20:56
kerioShadowJK: if you had to guess, would you say that disabling compression on rootfs increases or decreases performance?21:04
*** Guest50382 has joined #maemo-ssu21:04
*** LauRoman has quit IRC21:04
*** M13 has quit IRC21:10
*** futpib has quit IRC21:13
*** futpib has joined #maemo-ssu21:13
*** Guest50382 has quit IRC21:17
*** Vlad_on_the_road has joined #maemo-ssu21:20
*** sunny_s has quit IRC21:31
*** keesj has quit IRC21:32
*** sunny_s has joined #maemo-ssu21:34
*** keesj has joined #maemo-ssu21:35
*** Guest50382 has joined #maemo-ssu22:05
Estel_kerio, I'm not ShadowJK, but compression on rootfs decrease write performance ;)22:16
keriobut you have to write less stuff22:17
Estel_freemangordon once witnessed it, when trying to put qt things on rootfs22:17
Estel_true, but measurements were took, and even emmc was faster22:17
Estel_due to compression22:17
Estel_early cssu-thumb moved stuff to rootfs for faster execution, then, reverted, as it was slower due to compr.22:18
Estel_idea - when "enuff" things will  get thumbified and our rootfs will be enough to keep things without compression, some perf. boost may be expected from disabling it22:19
keriohm, i might want to try that22:19
Estel_...then we need to thumbify even more, as some things could really benefit by moving it from emmc to rootfs, then, without compr.22:19
Estel_report back. Don't expect fireworks of performance22:19
Estel_rather like moving to thumb from main22:20
Estel_visible perf gain, but no miracles22:20
Estel_thats my expectations, anyway22:20
kerioi have 196mb of real stuff in my rootfs22:20
Estel_of course "visible" depends on things, visible only, where approriate :P22:20
Estel_so go ahead22:20
Estel_just be sure that you haven't optified stuff that slows you down22:21
Estel_due to being optified :P22:21
kerioi probably have22:21
keriosooo... how do we do this22:21
Estel_unlikely to happen, as moving things to optfs when compression is ON may increase perf.22:21
Estel_no idea, see some tune ubifs or whatsnot22:21
Estel_in case of despair, just backup rootfs and recreate ubi without compr.22:21
Estel_curious question - which config file on N900 is responsible for hostname as visible by routers?22:23
keriohuh... /etc/hostname?22:23
Estel_I though /etc/hostname, but, apparently, not22:23
Estel_I have one with "blabla" in it, yet, router where i connected for the first time saw it as "bleble" anyway22:23
Estel_names random, not real22:23
keriohave you rebooted22:24
Estel_plentora times22:24
kerioit might also be the router that caches the name22:24
keriogo look for how dhcpc is invoked22:24
Estel_hm, this mac for 100% never connected there22:24
kerioalso... huh, bluetooth name?22:24
Estel_also changed22:24
Estel_I'm also surprised22:24
keriojust grep -R bleble /22:25
Estel_I prepared device for my son from scraych (no backupmenu restore from my ddevicea), although, sometimes, I re-use configs from my main device22:25
Estel_suuuuure22:25
Estel_will take just 1000 years22:25
kerioit won't22:25
Estel_now, hostname never was one of my main device22:26
kerioif you're *that* worried, grep -R bleble /path/to/unpacked/backup on your computer22:26
Estel_bluetooth and /etc/hostname got bustom name22:26
Estel_Then, router where i connected from my main device, but 2nd one *never* connected22:26
Estel_see that 2nd device with hostname of 1st device22:26
Estel_no big deal, just curious22:27
Estel_I would think caching, but mac is different, unless it do os fingerprinting and cached maemo?...:P22:27
Estel_kerio, well, good diea with grep, anyway22:28
Estel_might do it. And yes, it take 1000 years, tried it once on some file22:28
keriowhothehellwouldusetwodeviceswiththiscraponit.c22:28
Estel_some name*22:28
kerioin libwhothehellwouldusetwodeviceswiththiscraponit22:28
Estel_after 6 hours, gave up22:28
Estel_wut? :P22:28
Estel_ah22:29
*** Guest50382 has quit IRC22:29
*** Guest50382 has joined #maemo-ssu22:29
kerioEstel_: http://i.imgur.com/axJmn.gif22:29
Estel_highly unlikely, it is wrt54gl22:29
Estel_I've set it up myself, once22:29
Estel_for my ex-wife :P22:29
Estel_tomato there, IIRC22:29
*** Guest50382 has quit IRC22:41
*** Guest50382 has joined #maemo-ssu22:46
*** futpib has quit IRC22:54
kerioEstel_: so, i disabled compression22:58
keriohaven't *fully* disabled it because rescueOS doesn't have the necessary tools in this version :s23:00
keriobut chattr -c / and then unpacking the tarball does the job23:00
*** lizardo has quit IRC23:05
*** Martix has joined #maemo-ssu23:17
*** Guest50382 has quit IRC23:40
*** Guest50382 has joined #maemo-ssu23:48
*** Vlad_on_the_road has quit IRC23:50
*** Guest50382 has quit IRC23:56

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