IRC log for #maemo-ssu on 20130325

14:53.49*** join/#maemo-ssu infobot (~infobot@rikers.org)
14:53.49*** 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(2013-01-07): 21.2011.38-1Tmaemo7.2; Stable(2013-01-10): 21.2011.38-1Smaemo6 | Next meeting 06.03
14:53.49*** mode/#maemo-ssu [+v infobot] by ChanServ
14:55.00*** join/#maemo-ssu Guest50382 (~rd@p57B4913B.dip0.t-ipconnect.de)
15:32.28*** join/#maemo-ssu Milhouse (~Milhouse@Maemo/community/contributor/Milhouse)
15:39.32discopighi
15:54.58andre__hi
16:01.12*** join/#maemo-ssu ivgalvez (~quassel@86.43.81.96)
16:07.48*** join/#maemo-ssu Martix_ (~martix@eduroam-sci-dhcp67.sci.muni.cz)
16:08.18*** join/#maemo-ssu Martix_ (~martix@dhcp-233-187.eduroam.muni.cz)
16:22.38*** join/#maemo-ssu Woody14619 (~Woody@2620:4:4000:11:e835:757c:1fd1:ddff)
16:22.38*** join/#maemo-ssu Woody14619 (~Woody@Maemo/community/contributor/Woody14619)
16:33.08DocScrutinizer05andre__: hi!
16:34.15andre__hi DocScrutinizer05
16:47.27freemangordonmerlin1991: ping
16:54.31ivgalvezhi fremangordon
16:55.45freemangordonivgalvez: hi, welcome back :)
16:56.02ivgalveznice to see you
16:56.17freemangordonivgalvez: how's life, everything ok?
16:56.27ivgalvezI have destroyed my filesystem in a very stupid way
16:56.40ivgalvezapart from that freezing to death in Dublin
16:57.27freemangordonivgalvez: ooh. I've been in Scotland a couple of times, those places are not for hot-blodied southern guys :D
16:57.39ivgalvezhaha
16:57.53freemangordonmoist and cold. and rabbits :D:D:D
16:58.07ivgalvezstill getting used to it
16:58.32freemangordonhonestly, maybe the weather is one of the major reasons I am still here
16:58.42ivgalvezI imagine that
16:59.02ivgalvezwork conditions are clearly better as you go north
17:00.22freemangordonyep, 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 ofc
17:03.47ivgalvezone question, now that repos are finally under Maemo Council control, have you planned to move Thumb repo to the official server?
17:03.58ivgalvezand maybe add upload access to some developers
17:04.32ivgalvezthere are many Thumb applications floating around the forums now
17:06.44*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
17:11.10*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
17:14.57Estel_freemangordon,  I have something that might be kernel oops
17:15.01Estel_not sure, so pasting syslog
17:15.03Estel_http://sebsauvage.net/paste/?348922f654b9aa15#wVmtdYn6FBuXKabppB8XcqVHyZiogox2t+3aDqUKSjM=
17:15.25Estel_decide yourself what it is worth, if anything, I'll be happy to helpg chasing
17:15.44freemangordonEstel_: what to look for?
17:16.13freemangordonooh, I see
17:16.27Estel_malf
17:16.34Estel_and kernel-power main process terminated
17:16.38Estel_with error
17:16.45Estel_(exact this phrase iirc)
17:16.49Estel_and dsme malf :P
17:17.12freemangordonEstel_: what about "EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy: EXT4-fs: group 31: 6372 blocks in bitmap, 6374 in gd"
17:17.23freemangordonthis is the first error in a row
17:17.25Estel_ivgalvez,  true, many thumb things floating around, merlin1991 is super-slow at putting them into repos (not accusing)
17:17.40Estel_my filesystem got some insignificant errors in games directory
17:17.48Estel_but it works nevertheless despite that errors
17:18.03Estel_I'm going to fix it today, I don't think it's related (may be wrong)
17:18.36freemangordonEstel_: well, I guess Pali should be made aware of that, so he can pester whoever made ext4 patch in KP.
17:18.38kerioEstel_: i suggest a fsck -c
17:18.45freemangordon:nod:
17:18.48kerioi thought ext4 was mainline
17:18.48Estel_kerio, fsck just kills flash
17:19.04Estel_I mean, no fsck tools are aware how to fic anything on flash
17:19.21keriono, steve jobs killed flash
17:19.31Estel_any serious error (more than access time in future ot journal recovery), + fsck on flash, = filesystem to trash
17:19.40freemangordonEstel_: maybe you should provide your /dev/mtd2 too
17:19.53Estel_freemangordon,  sure, lemme paste it
17:19.57Estel_erm, ois it text file? :P
17:20.07freemangordonnot exactly :)
17:20.10kerioEstel_: ok then
17:20.11Estel_maybe ext4 patch in kp is bugged
17:20.28Estel_kerio, ShadowJK would give you technical rationale why never do fsck on flash
17:20.30keriowrite zeroes to it, then mkfs, then do a read-only badblocks test
17:20.37Estel_why not
17:20.50Estel_freemangordon,  so how to dump it properly?
17:20.52keriootoh, sometimes file systems get fucked up
17:20.54Estel_/dev/mtd2
17:20.55Estel_?
17:20.58kerioor sometimes you get bad blocks
17:21.25freemangordonEstel_: don;t do it
17:21.32Estel_?
17:21.36freemangordonEstel_: that fs if FUBAR
17:21.43freemangordonand see "kernel: [ 317.285308] twl4030_wdt twl4030_wdt: Unexpected close, watchdog still running!"
17:21.54Estel_I'll try contacting Pali, but reporting anything to him is fubar too, lately
17:22.00Estel_hm, what does it mean?
17:22.05kerioof course it's fubar, he never does a fsck :P
17:22.15freemangordonEstel_: it is pointless, it is not the kernel to blame
17:22.22freemangordonit is WD rebooting your device
17:22.30Estel_kerio, I regularly restore backups With prior-recreation of filesystem :P
17:22.31Estel_ok
17:22.39Estel_dsme: malf is result of this?
17:22.42kerioEstel_: and that means that you never keep a list of bad blocks
17:22.43freemangordonand if you have a couple of reboots in a row, then MALF. afaik
17:22.47Estel_also, there was "hw bug" line somewhere there
17:22.55keriowtf is MALF
17:22.57Estel_I see
17:23.01freemangordonmalfunction
17:23.03Estel_malfunction, probably
17:23.14keriowhat does it entail
17:23.26Estel_that dsme told you to gtfo due to few reboots in row
17:23.28Estel_unexpected
17:23.44kerioa normal boot resets the counter though, right?
17:23.53Estel_yes
17:23.58freemangordonEstel_: I'll look at that log more closely when I have more time, but I'd say: fsck your fs
17:24.10Estel_freemangordon,  sure, I'll do that
17:24.35freemangordonEstel_: 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 errors
17:24.36Estel_inf act tried to abckup last night, but tar, despite --ignore-failed-read, stopped at 1.8 GB and worked indefinitely
17:24.52Estel_freemangordon,  due to filesystem errors?
17:24.54freemangordonand other fs errors
17:24.55Estel_I noticed that
17:25.00freemangordonI guess
17:25.15Estel_OK, will fix my filesystem, and if problems occur again with clear fs, will get back to you
17:25.20Estel_for now, scratch it :)
17:25.24kerioEstel_: if you have unbackupped data on that, dd it on a computer and fsck the image
17:25.25freemangordonok
17:25.40Estel_kerio,  thought about that, will it work?
17:25.43keriosure, why not
17:26.05kerioShadowJK: why are you supposed to never do fsck/badblocks on the emmc?
17:26.15Estel_idk, maybe dd from flash have flash madness bundled inside :P
17:26.26keriothe emmc isn't a fucking flash
17:26.33Estel_no? then what?
17:26.35kerioit's a perfect block device
17:26.44freemangordonblock device
17:26.48Estel_aren't you messing it with nand?
17:26.52freemangordonno
17:26.53kerionope
17:26.59keriothe rootfs is on mtd
17:27.02Estel_no idea, I'm clueless about it
17:27.03keriothat's why you use ubifs
17:27.09keriothe emmc is just a block device
17:27.18kerioyou're still supposed to try to treat it nicely
17:27.20Estel_block device in flash technology? :P
17:27.27Estel_but it have hardware wear levelling bundled in
17:27.35keriobut there's not really much you can do for it
17:27.37ShadowJKkerio; 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 confused
17:28.08kerioShadowJK: what about doing a fsck -c on a brand new FS?
17:28.20kerio(badblocks read test)
17:28.22ShadowJKThat wont corrupt anything
17:28.23Estel_anyway in practice, everytime i tried fsck on N900 on filesystem with errors, it resulted in filesystem getting fubar as awhole
17:28.32ShadowJKbut it's fairly pointless in my experience.
17:28.34keriofsck might fail, yes
17:28.41kerioShadowJK: i have at least one bad block on the emmc
17:28.59*** join/#maemo-ssu NIN101 (~NIN@p5DD28EBD.dip0.t-ipconnect.de)
17:29.32ShadowJKMost 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 :))
17:29.39kerio:s
17:29.49kerioso it's better to not write to that block, surely
17:30.50Estel_ShadowJK,  DD'ing partition to desktop and fscking image on hard drive should work, yes?
17:31.02kerioEstel_: still the same problem
17:31.10Estel_?
17:31.11keriodata loss on emmc is particularly bad
17:31.21kerioso e2fsck could still get thoroughly confused
17:31.30Estel_it segfaults on maemo, too
17:31.33keriobut that's in case of a power loss, not in case of a write error
17:31.37kerioi mean
17:31.41Estel_new version works ok, but cssu denied to include it, once
17:31.44keriosomething like a driver error
17:32.14kerioEstel_: it's not like it's particularly useful on a running system anyway
17:32.25keriorescueOS has the latest (or at least, a recent) version of e2fsprogs
17:32.45Estel_kerio, excuse noobiness, but I have never used dd to save N900's partition from  dance macabre, and that data is pretty important to me
17:32.55Estel_how exactly command should look to prepare 100%ok image
17:33.04kerioboot from rescueOS
17:33.05Estel_then repair it, and restore back for maemo?
17:33.20keriomount in mass storage mode
17:33.23kerioer
17:33.24kerionot mount
17:33.24Estel_well, I'm not going to fskc on emmc anyway, want to move it to desktop
17:33.30Estel_export
17:33.33kerioyeah
17:33.33Estel_in mass storage
17:33.36Estel_I know the thrill
17:33.56Estel_then, command to dd from that device, how should it look, parameters etc?
17:34.12Estel_(for this use case, repairing and getting back)
17:34.18keriothen dd if=/dev/sd<disc letter><partition number of your home/optfs> of=optfs.img bs=4m
17:34.28kerioonce you have that, make a copy of optfs.img
17:34.35Estel_nods
17:34.39keriothen... idk
17:34.46Estel_fsck that image
17:34.51keriomount it in loopback with ro,noload and copy everything you can
17:34.55Estel_see if it doesn't start fusion reaction
17:35.04keriothen mount it in loopback with rw and copy everything you can
17:35.12keriothen fsck, and mount it in loopback with rw and copy everything you can
17:36.14Estel_ok, how to dd it back in place properly?
17:36.16kerioyou don't
17:36.29Estel_ouh
17:36.38kerioyou make a tarball of the data, mkfs on the device, and unpack on the new fs
17:36.43Estel_just recreate filesysytem and copy files?
17:36.47kerioyeah
17:36.49Estel_hm, so why fsck on desktop
17:36.58Estel_could just copy data to desktop, mkfs, copy back
17:36.59keriobecause the n900 is slow as fuck
17:37.13keriothat's also why i told you to first mount and copy the data
17:37.18kerioactually
17:37.19Estel_I see
17:37.30keriomount ro,noload and copy the data
17:37.31keriothen mount and copy the data
17:37.33*** join/#maemo-ssu ivgalvez_ (~quassel@86.43.81.96)
17:37.36keriothen fsck, mount and copy the data :)
17:37.36Estel_permissions won't get fucked?
17:37.37Estel_for optfs?
17:37.42Estel_due to copying for some linux distro?
17:37.45keriosurely you're doing this as root
17:37.49Estel_sure
17:37.53keriouse cp -a
17:38.08Estel_thats the way I do it usually, but last time I tried, and fs was clean then...
17:38.11Estel_after copying back
17:38.17Estel_half of optfs wasnt working :P
17:38.29Estel_black instead of desktop, pink ststusbar, etc
17:38.40Estel_strange things instead of fonts
17:38.48Estel_but for easy debian it always work, no idea
17:38.50keriohm, you should probably use tar actually
17:38.56kerioidk if there's hard links in optfs
17:38.56Estel_think so
17:39.14kerioanyway, when you're remaking the fs, use mke2fs -c
17:39.21kerioso it checks for badblocks once
17:39.36kerioShadowJK: will that cause problems?
17:39.40Estel_nods
17:39.53Estel_wear levellin on emmc will ignore our badblocks
17:40.00kerionot if you leave them there
17:40.04Estel_due to transparent hardware shit assigning to wrong block anyway
17:40.15keriohm
17:40.17Estel_I don't think emmc wear levelling respect our badblocks results
17:40.20keriogood pont
17:40.21keriopoint
17:40.30keriobut the emmc should not present bad blocks at all, shouldn't it
17:40.39kerioi mean, it should identify the bad blocks
17:41.02Estel_for logical filesystem, it won't, but physically, bad block will get assigned again due to hw wear lvl
17:41.12Estel_so, it will n"miracolously" appear in other place
17:41.16Estel_for logical filesystem
17:41.18kerioyeah but the wear levelling should figure out that a block is bad
17:41.24keriolike, a nand block
17:41.28kerioand stop using it
17:41.38Estel_tell it to manuf. of fuckin wear lvlers on hardware lvl, they don't care
17:41.53Estel_I agree, but haven't seen hw wear lvler that would respect it, sadly :(
17:42.01keriothere's nothing to "respect"
17:42.10kerioa block being bad is something you can notice, at the controller's side
17:42.11Estel_s/respect/care about it/
17:42.32Estel_as said, agreed, but they just don't care :(
17:42.51Estel_be it most expensive sd cards or noname ones, same apply *probably* for n900 emmc
17:43.11Estel_hardware wear levelling that doesn't talk with os/kernel/whatever is evil, always
17:43.53Estel_thanks for help, anyway, will try to fix mess with that fs
17:44.31kerioShadowJK: surely blindly remapping bad blocks around is not something that a sensible emmc controller would do, is it
17:51.37*** join/#maemo-ssu M4rtinK2 (~M4rtinK@ip-86-49-81-87.net.upcbroadband.cz)
17:53.14kerioShadowJK: silly idea - would leaving a bunch of empty space help?
18:03.54ShadowJKkerio; in general controllers are not "sensible" :))
18:05.33ShadowJKAs 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 fs
18:05.45kerioah ofc
18:08.18ShadowJKfsck on MyDocs vfat is probably not as evil
18:08.29ShadowJKas sd cards are supposed to work with vfat
18:50.00*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
18:56.44discopigyes
19:04.09kerioShadowJK: if you had to guess, would you say that disabling compression on rootfs increases or decreases performance?
19:04.14*** join/#maemo-ssu Guest50382 (~rd@p57B4913B.dip0.t-ipconnect.de)
19:13.41*** join/#maemo-ssu futpib (~futpib@89.106.197.11)
19:20.49*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
19:34.47*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
19:35.32*** join/#maemo-ssu keesj (~keesj@dellpc132.few.vu.nl)
20:05.44*** join/#maemo-ssu Guest50382 (~rd@p57B4913B.dip0.t-ipconnect.de)
20:16.54Estel_kerio, I'm not ShadowJK, but compression on rootfs decrease write performance ;)
20:17.06keriobut you have to write less stuff
20:17.17Estel_freemangordon once witnessed it, when trying to put qt things on rootfs
20:17.34Estel_true, but measurements were took, and even emmc was faster
20:17.37Estel_due to compression
20:18.14Estel_early cssu-thumb moved stuff to rootfs for faster execution, then, reverted, as it was slower due to compr.
20:19.05Estel_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 it
20:19.25keriohm, i might want to try that
20:19.38Estel_...then we need to thumbify even more, as some things could really benefit by moving it from emmc to rootfs, then, without compr.
20:19.52Estel_report back. Don't expect fireworks of performance
20:20.04Estel_rather like moving to thumb from main
20:20.12Estel_visible perf gain, but no miracles
20:20.22Estel_thats my expectations, anyway
20:20.37kerioi have 196mb of real stuff in my rootfs
20:20.40Estel_of course "visible" depends on things, visible only, where approriate :P
20:20.44Estel_so go ahead
20:21.00Estel_just be sure that you haven't optified stuff that slows you down
20:21.08Estel_due to being optified :P
20:21.17kerioi probably have
20:21.24keriosooo... how do we do this
20:21.35Estel_unlikely to happen, as moving things to optfs when compression is ON may increase perf.
20:21.45Estel_no idea, see some tune ubifs or whatsnot
20:21.59Estel_in case of despair, just backup rootfs and recreate ubi without compr.
20:23.09Estel_curious question - which config file on N900 is responsible for hostname as visible by routers?
20:23.16keriohuh... /etc/hostname?
20:23.17Estel_I though /etc/hostname, but, apparently, not
20:23.43Estel_I have one with "blabla" in it, yet, router where i connected for the first time saw it as "bleble" anyway
20:23.48Estel_names random, not real
20:24.10keriohave you rebooted
20:24.16Estel_plentora times
20:24.18kerioit might also be the router that caches the name
20:24.27keriogo look for how dhcpc is invoked
20:24.39Estel_hm, this mac for 100% never connected there
20:24.50kerioalso... huh, bluetooth name?
20:24.56Estel_also changed
20:25.00Estel_I'm also surprised
20:25.25keriojust grep -R bleble /
20:25.37Estel_I prepared device for my son from scraych (no backupmenu restore from my ddevicea), although, sometimes, I re-use configs from my main device
20:25.39Estel_suuuuure
20:25.46Estel_will take just 1000 years
20:25.57kerioit won't
20:26.02Estel_now, hostname never was one of my main device
20:26.16kerioif you're *that* worried, grep -R bleble /path/to/unpacked/backup on your computer
20:26.24Estel_bluetooth and /etc/hostname got bustom name
20:26.44Estel_Then, router where i connected from my main device, but 2nd one *never* connected
20:26.54Estel_see that 2nd device with hostname of 1st device
20:27.01Estel_no big deal, just curious
20:27.43Estel_I would think caching, but mac is different, unless it do os fingerprinting and cached maemo?...:P
20:28.01Estel_kerio, well, good diea with grep, anyway
20:28.17Estel_might do it. And yes, it take 1000 years, tried it once on some file
20:28.21keriowhothehellwouldusetwodeviceswiththiscraponit.c
20:28.22Estel_some name*
20:28.35kerioin libwhothehellwouldusetwodeviceswiththiscraponit
20:28.38Estel_after 6 hours, gave up
20:28.50Estel_wut? :P
20:29.03Estel_ah
20:29.20*** join/#maemo-ssu Guest50382 (~rd@p57B4913B.dip0.t-ipconnect.de)
20:29.22kerioEstel_: http://i.imgur.com/axJmn.gif
20:29.24Estel_highly unlikely, it is wrt54gl
20:29.30Estel_I've set it up myself, once
20:29.34Estel_for my ex-wife :P
20:29.47Estel_tomato there, IIRC
20:46.51*** join/#maemo-ssu Guest50382 (~rd@p57B4913B.dip0.t-ipconnect.de)
20:58.26kerioEstel_: so, i disabled compression
21:00.24keriohaven't *fully* disabled it because rescueOS doesn't have the necessary tools in this version :s
21:00.41keriobut chattr -c / and then unpacking the tarball does the job
21:17.29*** join/#maemo-ssu Martix (~martix@static-84-242-103-180.net.upcbroadband.cz)
21:48.02*** join/#maemo-ssu Guest50382 (~rd@p57B4913B.dip0.t-ipconnect.de)
22:06.04*** join/#maemo-ssu sunny_s (~sunny_s@86.57.254.135)
22:09.02*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
22:12.21*** join/#maemo-ssu freemangordon (~freemango@130-204-50-168.2074221835.ddns.cablebg.net)

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