IRC log of #maemo for Monday, 2012-09-03

DocScrutinizer05to change your nick to something less lame?00:02
vi___DocScrutinizer05: you are killing all fun00:03
*** vi___ is now known as BEEFTUB00:03
DocScrutinizer05killing fun is so much fun00:04
*** BEEFTUB is now known as OxDEADBEEF00:05
*** brzys has joined #maemo00:05
*** toxaris has quit IRC00:06
OxDEADBEEFso nothing is new then?00:06
OxDEADBEEFdont go and see that new movie 'the raven'00:09
OxDEADBEEFit sucks so many asses.00:09
*** OxDEADBEEF has quit IRC00:16
*** ferdna has quit IRC00:17
*** kakashi__ is now known as kakashi_00:22
*** GNUton-BNC has quit IRC00:24
*** GNUton-BNC has joined #maemo00:24
ZogG_laptopDocScrutinizer05: u are not Elop's buddy, you can't call him by name?00:27
ZogG_laptopvi_: sold your n950?00:27
ZogG_laptop~seen MohammadAG00:30
infobotmohammadag <~MohammadA@Maemo/community/contributor/MohammadAG> was last seen on IRC in channel #harmattan, 1d 6h 8m 23s ago, saying: 'if the screen is off the device is probably locked'.00:30
*** ponyofdeath has quit IRC00:31
*** calvaris has joined #maemo00:34
*** Kilroo has quit IRC00:35
*** philipl has joined #maemo00:42
DocScrutinizer05robbiethe1st:00:43
robbiethe1st?00:43
DocScrutinizer05[2012-09-02 23:38:09] <DocScrutinizer05> DANG! there's a armel fiaco-gen pkg!!!00:43
*** ponyofdeath has joined #maemo00:43
robbiethe1stLink?00:44
DocScrutinizer05[2012-09-02 23:39:10] <DocScrutinizer05> so BM might *finally* learn to create proper self-containing fiasco images - incl kernel and all \o/00:44
DocScrutinizer05http://maemo.org/packages/view/sdk-fiasco-gen/00:44
keriorobbiethe1st: do eeeeeeet00:44
keriorobbiethe1st: also, can you fix the thing where i can't access the shell inside BM because both root's and user's login shells are bash?00:45
DocScrutinizer05[2012-09-02 23:40:07] <DocScrutinizer05> could even create a shellscript for x86 that even contains flasher-3.5   ---  BM "create full fiasco".  ass rage copy BMfiasco_2012-09-02.sh to PC. In case of desaster just run it in shell  --- or store to uSD in N900. In case swap uSD to PC and run BMfiasco_2012-09-02.sh to restore00:45
kerioDocScrutinizer05: it's not that easy to make ubifs images00:45
DocScrutinizer05ummm00:46
kerioubi is /weird as fuck/00:46
robbiethe1stActually, good point there. I've done it a couple times; I forget what I had to do exactly, but it required a Linux PC as well...00:46
*** mva has quit IRC00:49
DocScrutinizer05I'd guess finding out about how to create ubi image from a ubifs device like / should be possible00:51
robbiethe1stCheck first page of my bm topic00:52
DocScrutinizer05if we mamange to create rootfs image from fresh device that's identical to one image extracted from fiasco, we should be fine with modified rootfs as well00:52
*** Kilroo has joined #maemo00:52
DocScrutinizer05robbiethe1st: check for what specifically?00:53
robbiethe1stI've already /made/ a flashable rootfs00:53
DocScrutinizer05mhm00:53
DocScrutinizer05not extracted from fiasco biut actually *made*?00:53
robbiethe1stIt's just not quite as compressed(IIRC), and also reqired a Linux PC with a specific version of mtd-utils to do it00:54
robbiethe1stYup00:54
keriooh, from the files00:54
kerioneat00:54
kerio...wait, mtd-utils?00:54
keriono00:54
DocScrutinizer05pah! we'll get that special version of mtd-tools to N90000:54
kerioyou don't flash ubi volumes like that :S00:54
DocScrutinizer05actually you might00:55
DocScrutinizer05mtd-read might be involved into the trick, but I fail to see how that's running on X86 then00:55
keriono, you're supposed to ubimkvol and ubiupdatevol or something00:55
robbiethe1stsee http://talk.maemo.org/showthread.php?t=63975&page=1 "Can I restore my BackupMenu images through the Nokia Flasher?"00:55
DocScrutinizer05kerio: you're a real delight today00:55
keriohttp://www.linux-mtd.infradead.org/faq/ubifs.html#L_mkfubifs00:56
kerioty00:56
robbiethe1stUses mkfs.ubifs / ubinize to make it00:56
keriothen it's cool :D00:57
robbiethe1stWhich come from mtd-utils.00:57
*** dhbiker has quit IRC00:57
kerio...it's still in mtd-utils? :o00:57
keriohuh, it is00:57
robbiethe1stOn Ubuntu(as of the time I wrote it)? Yes00:57
kerioyep, same on debian00:58
robbiethe1stHeck, want to do something? Make a nice little script that can turn a BM rootfs tarball into a flashable image on device.00:58
DocScrutinizer05mkfs.ubifs -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs/ -v ./base.ubi.img00:59
DocScrutinizer05should work on N900 in BM 'live'00:59
DocScrutinizer05ubinize -o ./rootfs.img ubinize.cfg -m 2048 -p 128KiB -s 51200:59
DocScrutinizer05no need for PC00:59
DocScrutinizer05just need "working" mtd-utils on N90001:00
robbiethe1st^^01:00
DocScrutinizer05actually working mkfs.ubifs and ubinize01:00
*** dhbiker has joined #maemo01:00
keriowell, the binaries are there01:00
keriobut they're not in the BM chroot jail - would they have to be in ram?01:01
*** mva has joined #maemo01:01
DocScrutinizer05probably01:01
DocScrutinizer05yep, ubinize and mkfs.ubifs are available here as well01:02
*** jluisn has quit IRC01:02
keriothe thing is, it's better for the flash to do what BM has been doing01:03
DocScrutinizer05hmm?01:03
kerioubifs does wear levelling and keeps track of writes01:03
DocScrutinizer05we're not writing to ubifs01:04
DocScrutinizer05we're reading it01:04
keriono, i mean01:04
kerioit's better to do rm -rf and then cp01:04
kerioi think01:04
DocScrutinizer05heh?01:04
*** fasta has quit IRC01:04
DocScrutinizer05how's that fitting into flasher-3.5 -f -F myBMfiasco.bin ?01:05
kerioubifs keeps track of writes/erases and does wear-levelling based on that01:05
kerioflashing erases that information01:05
*** dhbiker has quit IRC01:05
*** Cor-Ai_ has joined #maemo01:06
*** Cor-Ai has quit IRC01:06
*** Cor-Ai_ is now known as Cor-Ai01:06
*** johnsu01` has joined #maemo01:06
*** dhbiker has joined #maemo01:06
DocScrutinizer05well, that's what flashing does01:07
*** qwazix has quit IRC01:07
*** johnsu01 has quit IRC01:07
kerioyeah01:07
keriobut it's better *not* to do that :)01:07
DocScrutinizer05given there's a working wear leveling, there can't be a wear debit on any page. So flashing will just happen to an equally worn out NAND01:08
*** fasta_ has joined #maemo01:08
*** dhbiker has quit IRC01:08
DocScrutinizer05it's not like ubi will accumulate wear on one sector, to switch to next sector once the first one reached a certain threshold01:09
keriono, quite the opposite :)01:09
DocScrutinizer05so where's the info that gets lost on flashing?01:09
DocScrutinizer05sure, flashing *might* write 20% more pages than cp *01:10
*** dhbiker has joined #maemo01:10
DocScrutinizer05but hey, that's why it's called flashing01:10
*** flo_lap has joined #maemo01:11
*** dhbiker has quit IRC01:11
*** florian has quit IRC01:11
*** flo_lap is now known as florian01:11
DocScrutinizer05and _for_sure_ flashing myBMfiasco.bin will be less wear to NAND than flashing fiasco-combined-2010-36-2.bin with an *additional* restore cp * from BM01:12
keriohm01:12
keriomeh, that's a good point01:12
*** dhbiker has joined #maemo01:12
keriorobbiethe1st: feature request: BM that can be loaded in ram from flasher01:12
keriothat would be *sweet*01:13
DocScrutinizer05huh?01:13
*** calvaris has quit IRC01:13
*** louisdk has quit IRC01:13
kerioDocScrutinizer05: rescue-os but with backupmenu01:13
DocScrutinizer05if your fs is corrupt, no BM untar will correct that01:14
kerioDocScrutinizer05: only the rootfs can be corrupt01:14
kerioi mean01:14
kerioDocScrutinizer05: only the rootfs can be corrupt and cause a problem01:14
keriooptfs is mkfsed01:14
DocScrutinizer05sure01:14
DocScrutinizer05so it's again flashing ubi that does a lot of magic (also flashing vfat btw, since that's a PITA to fsck)01:15
kerioand if i had a working shell in backupmenu, i could remake the rootfs ubifs01:15
DocScrutinizer05I'd adore a DamnSmallLinux with a self-comprised BM flasher-3.5 and fiasco shell script, preferrably both as .iso to burn to mini-CD as well as in any other suitable form to make me happily restore on whatever PC I can get hold of01:17
DocScrutinizer05e.g as bootable partition on uSD01:18
kerioDocScrutinizer05: and maybe find a way to use bootmenu's MSM to boot the pc from the n900 itself!01:19
kerio>:D01:19
DocScrutinizer05probably restoring was even faster than doing backup then01:19
DocScrutinizer05well, that's a bit of a vicious circle, since N900 considered flawed when we wnat to run this backup menu restorer01:20
DocScrutinizer05keeping partition1 VFAT on uSD bootable though can't be much of a problem01:21
DocScrutinizer05bootable under X8601:21
DocScrutinizer05and using a uSD cardreader keyring01:21
DocScrutinizer05I'm carrying one on me since >4 years now iirc01:22
*** lbt_away is now known as lbt01:23
*** philipl has quit IRC01:25
*** Sazpaimon_ has joined #maemo01:26
*** florian has quit IRC01:27
*** Sazpaimon has quit IRC01:27
DocScrutinizer05dafaq I'm not getting anymore what's going on with my PC network. br0 WTF?!01:34
*** DrGrov has joined #maemo01:35
*** DrGrov has left #maemo01:36
* DocScrutinizer05 googles ifconfig br001:37
DocScrutinizer05ooooh xen FFS01:38
*** valeriusL has quit IRC01:46
jacekowskithat's bridge01:47
jacekowskinot only xen thing01:47
*** jrocha has quit IRC01:49
*** dev has quit IRC01:50
*** dev has joined #maemo01:51
*** dev has quit IRC02:00
*** dev has joined #maemo02:00
robbiethe1stkerio, can you test something for me?02:00
robbiethe1stGo into /usr/share/backupmenu/extrafiles.tar.gz, edit filelist.txt and add the line: "ln -s /tmp/disk/bin/sh /tmp/disk/bin/bash" at the bottom.02:01
robbiethe1stsave/retar, boot into backupmenu and see if you can now access the shell02:01
stardivinerI find the default root shell /bin/sh does not read $HOME/.bashrc config file, I want to add some path into $PATH, let root shell read them at startup time, what should I do ? change the SHELL of root into bash ? or something else ?02:06
robbiethe1sthm02:15
robbiethe1stDocScrutinizer05, this would be your area of experties, i think02:15
*** johnsu01` has quit IRC02:16
*** johnsu01` has joined #maemo02:16
*** johnsu01` is now known as johnsu0102:16
Skryrobbiethe1st: use .profile02:21
robbiethe1stnot me, but...02:21
Skryoops :)02:21
Skrystardiviner: use .profile02:22
stardivinerSkry: thanks02:36
Skrynp02:41
*** DrGrov has joined #maemo03:25
*** DrGrov has left #maemo03:25
*** GNUton-BNC has quit IRC03:26
*** GNUton-BNC has joined #maemo03:27
*** KrayonWork has joined #maemo03:41
*** M4rtinK has quit IRC03:41
*** Kilroo1 has joined #maemo03:45
*** Kilroo has quit IRC03:45
*** JZA has quit IRC03:49
*** Ken-Young has joined #maemo04:15
*** JZA has joined #maemo04:29
*** nox- has quit IRC04:41
*** ghjgfjghjbn2 has quit IRC04:44
*** ghjgfjghjbn has joined #maemo04:44
*** hardaker has joined #maemo04:56
*** uen| has joined #maemo05:01
*** uen has quit IRC05:04
*** uen| is now known as uen05:04
*** radic has quit IRC05:16
*** radic_ has joined #maemo05:16
*** radic_ is now known as radic05:16
*** SmilybOrg has joined #maemo05:46
*** SmilybOrg is now known as Guest6752905:46
*** SmilyOrg has quit IRC05:49
*** fredrinLap has quit IRC06:42
*** Timmy has joined #maemo07:02
*** Timmy has joined #maemo07:02
*** Timmy has quit IRC07:11
*** JZA has quit IRC07:22
*** Krayon has quit IRC07:47
*** valeriusN has left #maemo07:48
*** valeriusN has joined #maemo07:48
*** JZA has joined #maemo07:54
*** hardaker has quit IRC08:01
*** hardaker has joined #maemo08:14
*** ArGGu^^ has quit IRC08:20
*** thuttu77 has quit IRC08:25
*** robbiethe1st has quit IRC08:27
*** madduck has quit IRC08:30
*** ekze has quit IRC08:37
*** ekze has joined #maemo08:37
*** ab has quit IRC08:40
*** madduck has joined #maemo08:49
*** jhb has joined #maemo08:51
*** Zahra has joined #maemo08:56
*** Zahra has quit IRC08:56
*** antero has joined #maemo08:58
*** florian has joined #maemo09:04
*** florian has quit IRC09:04
*** florian has joined #maemo09:04
*** pcfe has joined #maemo09:10
*** ArGGu^^ has joined #maemo09:19
*** tanty has joined #maemo09:20
*** e-yes has quit IRC09:22
*** Chewtoy has quit IRC09:28
*** Chewtoy has joined #maemo09:28
*** piggz__ has joined #maemo09:31
*** FIQ|n900 has joined #maemo09:34
*** heroux has quit IRC09:35
*** hardaker has quit IRC09:36
*** Chewtoy has quit IRC09:37
*** ketas has quit IRC09:39
*** ketas has joined #maemo09:39
*** ketas has quit IRC09:41
*** ketas has joined #maemo09:43
*** hazchemix has joined #maemo09:50
*** murrayc has joined #maemo09:54
*** geaaru has joined #maemo09:54
*** MacDrunk has joined #maemo09:55
*** Chewtoy has joined #maemo10:00
*** Chewtoy has quit IRC10:00
*** eMHa has quit IRC10:01
*** FIQ|n900 has quit IRC10:03
*** FIQ|n900 has joined #maemo10:04
*** Chewtoy has joined #maemo10:05
*** Chewtoy has quit IRC10:07
*** ALoGeNo has joined #maemo10:10
*** Chewtoy has joined #maemo10:11
*** Chewtoy has quit IRC10:14
*** ALoGeNo has quit IRC10:14
*** jrocha has joined #maemo10:15
*** NGNUton-BC has joined #maemo10:16
*** GNUton-BNC has quit IRC10:17
*** MacDrunk has left #maemo10:21
*** rZr is now known as rzr10:22
*** Arkenoi has joined #maemo10:25
*** valeriusN has left #maemo10:26
*** Chewtoy has joined #maemo10:26
*** Chewtoy has quit IRC10:28
*** LaoLang_cool has joined #maemo10:28
*** Chewtoy has joined #maemo10:28
*** utanapischti has quit IRC10:29
*** utanapischti has joined #maemo10:29
*** eMHa has joined #maemo10:32
*** OkropNick has joined #maemo10:33
*** valerius has quit IRC10:34
*** madduck has quit IRC10:34
*** e-yes has joined #maemo10:36
*** ALoGeNo has joined #maemo10:41
*** antero has quit IRC10:45
*** valerius has joined #maemo10:52
*** FIQ|n900 has quit IRC10:53
*** fruct has joined #maemo10:54
*** fruct has left #maemo10:55
*** kraft has quit IRC10:55
*** ab has joined #maemo10:56
*** fruct has joined #maemo10:56
fructWho know - how to set dmesg to booting on n900?10:57
*** antero has joined #maemo11:02
*** Chewtoy has quit IRC11:03
*** Chewtoy has joined #maemo11:04
*** valeriusL has joined #maemo11:12
*** croppa has joined #maemo11:13
*** valerius has quit IRC11:15
chem|stDocScrutinizer05: nope11:26
*** madduck has joined #maemo11:27
*** M4rtinK has joined #maemo11:34
*** beford has quit IRC11:34
*** valerius has joined #maemo11:36
*** markinfo has joined #maemo11:37
*** dhbiker has quit IRC11:38
*** drussell has joined #maemo11:45
*** dhbiker has joined #maemo11:45
*** HRH_H_Crab has quit IRC11:52
*** HRH_H_Crab has joined #maemo11:52
*** valerius has quit IRC11:52
*** brzys has quit IRC12:01
*** mhlavink has quit IRC12:03
*** antero has quit IRC12:04
*** valerius has joined #maemo12:10
*** FIQ|n900 has joined #maemo12:14
*** valerius has quit IRC12:24
*** khertan has joined #maemo12:26
*** fruct has left #maemo12:41
*** pcfe has quit IRC12:42
*** geaaru has quit IRC12:44
*** valerius has joined #maemo12:44
*** rzr has quit IRC12:49
*** rZr has joined #maemo12:50
*** geaaru has joined #maemo12:50
*** brzys has joined #maemo12:53
*** rZr is now known as rzr12:54
*** mhlavink_afk has joined #maemo12:58
*** zap_ has joined #maemo13:01
*** pcfe has joined #maemo13:03
*** brzys has quit IRC13:10
*** pcfe has quit IRC13:12
*** heroux has joined #maemo13:12
*** heroux has quit IRC13:15
*** heroux has joined #maemo13:16
*** sirdancealot has quit IRC13:17
*** zap_ is now known as zap13:18
*** Termana has joined #maemo13:23
*** Termana is now known as Guest4046213:23
*** pcfe has joined #maemo13:24
*** jonwil has joined #maemo13:27
jonwilyay, my N900 is finally fixed :)13:28
*** Timmy has joined #maemo13:29
*** Timmy has joined #maemo13:29
*** ChikuLinu__ is now known as chiku|dc13:31
*** chiku|dc has joined #maemo13:31
*** valeriusN has joined #maemo13:33
*** Ash786 has joined #maemo13:33
*** FIQ|n900 has quit IRC13:34
*** zsolt has joined #maemo13:38
zsolthello13:38
zsoltmy custom kernel cant boot13:38
*** hazchemix has quit IRC13:40
*** marainein has joined #maemo13:40
*** Darkchaos has joined #maemo13:41
*** pcfe has quit IRC13:43
*** lxp1 has joined #maemo13:43
*** lxp has quit IRC13:46
*** Timmy has quit IRC13:49
*** sirdancealot7 has joined #maemo13:50
*** sirdancealot7 has quit IRC13:54
*** glenn has joined #maemo13:55
*** sirdancealot7 has joined #maemo13:55
*** glenn has quit IRC13:55
*** eMHa has quit IRC13:57
*** eMHa has joined #maemo13:59
*** khertan has quit IRC14:00
*** maybeWTF has joined #maemo14:05
*** ToJa92 has quit IRC14:07
*** maybeHere has quit IRC14:09
*** jluisn has joined #maemo14:09
*** khertan has joined #maemo14:12
*** iDont has joined #maemo14:30
*** murrayc has quit IRC14:33
*** Ionakka has joined #maemo14:40
*** croppa has quit IRC14:42
*** florian has quit IRC14:47
*** Vibe has quit IRC14:55
*** zsolt has quit IRC14:56
*** yosafbridge has quit IRC14:58
*** mvp_ has joined #maemo14:59
DocScrutinizer05stardiviner: install bash4, look at14:59
DocScrutinizer05~jrtools14:59
infobotrumour has it, jrtools is http://wiki.maemo.org/User:Joerg_rw/tools14:59
*** zeq has joined #maemo15:01
*** yosafbridge has joined #maemo15:02
DocScrutinizer05~tell stardiviner about messybox15:02
stardivinerDocScrutinizer05: thanks15:05
kerioDocScrutinizer05: hm, differences between bash and bash4?15:06
DocScrutinizer05see changelog15:06
DocScrutinizer05I think mainly background processes in scripts15:07
DocScrutinizer05help coproc15:07
keriomeh15:08
kerioi'm fine with bash (3) on my n90015:08
kerioand my laptop, too15:08
keriomy debian sid server has bash4 though15:09
*** valeriusL has quit IRC15:10
*** LaoLang_cool has quit IRC15:10
*** valeriusN has left #maemo15:12
*** sirdancealot7 has quit IRC15:20
*** valerius has quit IRC15:24
*** sirdancealot has joined #maemo15:24
DocScrutinizer05kerio: actually my N900 also has bash315:29
*** Suiseiseki is now known as Venusaur15:30
DocScrutinizer05and t900 even still has 2.05b.0(1)-release15:31
DocScrutinizer05which still has proper help, unlike the 3.2.33(2)-release on IroN90015:31
*** iDont has quit IRC15:42
*** args[0] has quit IRC15:43
*** guampa has joined #maemo15:44
*** LuckyY_ is now known as LuckyY15:47
*** LuckyY has joined #maemo15:47
*** etrunko has joined #maemo15:49
*** mvp_ has quit IRC15:50
*** args[0] has joined #maemo15:51
*** florian has joined #maemo15:52
*** florian has joined #maemo15:52
*** ArGGu^_^ has joined #maemo15:52
*** valerius has joined #maemo15:52
*** ArGGu^^ has quit IRC15:53
*** setanta has joined #maemo15:57
*** etrunko has quit IRC15:57
*** args[0]_ has joined #maemo15:57
*** args[0] has quit IRC15:59
*** etrunko has joined #maemo15:59
*** valerius has quit IRC16:00
*** Hoolxi has joined #maemo16:19
*** valerius has joined #maemo16:20
*** valeriusN has joined #maemo16:30
*** LaoLang_cool has joined #maemo16:40
*** Vibe has joined #maemo16:41
*** stardiviner has quit IRC16:43
*** ab has quit IRC16:43
*** chenca has joined #maemo16:44
*** APTX has quit IRC16:46
*** APTX has joined #maemo16:46
kerioDocScrutinizer05: yeah, the lack of help kinda sucks :c16:48
*** etrunko_ has joined #maemo16:49
*** args[0]_ has quit IRC16:49
*** etrunko has quit IRC16:50
*** APTX has quit IRC16:59
*** etrunko_ has quit IRC17:01
*** Timmy has joined #maemo17:02
*** Timmy has joined #maemo17:02
*** etrunko has joined #maemo17:03
*** args[0] has joined #maemo17:04
*** APTX has joined #maemo17:04
*** LaoLang_cool has quit IRC17:05
*** Hoolxi has quit IRC17:09
*** Timmy has quit IRC17:09
*** fredrinLap has joined #maemo17:10
DocScrutinizer05kerio: I pondered preparing a dead simple shellscript executable named "help"17:12
DocScrutinizer05just lacking input which I had to pick somewhere from sourcecode I guess17:13
DocScrutinizer05(I don't think recycling help output from bash2 is a smart idea)17:14
DocScrutinizer05NFC who thought it's clever to leave help out of bash3 build :-(17:14
DocScrutinizer05sure, save 5k helptext string consts in bash3, while bloating busybox-power by 500k. After all bash can happily live on /opt while busybox has TB to waste on /17:16
kerioDocScrutinizer05: it's to save rootfs space! :D17:16
keriobesides, is bash optified?17:16
DocScrutinizer05it should17:16
kerio(and bash4 does indeed have help)17:16
DocScrutinizer05nfc if it is17:16
*** jrocha has quit IRC17:16
kerio(and it's not optified)17:16
kerio(the help files are in /usr/share/bash)17:16
*** jonwil has quit IRC17:16
DocScrutinizer05well, you always can optify manually17:16
DocScrutinizer05we got even tools for that17:17
kerioand screw over dpkg in the process?17:17
teotwakikerio: it doesn't really matter, I seem to remember it uses hardlinks, so dpkg doesn't notice.17:17
kerio>hardlinks17:18
kerio>over filesystems17:18
keriowtfamireading.jpg17:18
teotwakikerio: I may be mistaken, but I've used it for a long time, never had issues17:18
kerioosso-optify-whatever.sh, right?17:18
teotwakiI think so, yeah.17:18
DocScrutinizer05/usr/sbin/maemo-optify-make-mountbind.sh /usr/sbin/maemo-optify-firstboot.sh /usr/sbin/maemo-optify-auto-opt.sh /usr/sbin/maemo-optify-lib.sh17:19
kerioapart from the moundbinding, do those do more than mv+ln?17:20
DocScrutinizer05one of them even has several lines of "howto" comment17:20
*** ArGGu^_^ has quit IRC17:21
keriodamn, the n900's wifi powersaving is *really* aggressive17:22
*** ArGGu^^ has joined #maemo17:22
*** florian has quit IRC17:23
kerio# Copyright: (C) 2010 Nokia17:23
kerio# License:   DO WHAT YOU WANT TO PUBLIC LICENSE17:23
keriooh lawds17:23
DocScrutinizer05head -n 18 /etc/maemo-optify-auto-opt.conf17:24
kerioneat17:26
kerio:D17:26
keriowhat is a package supposed to do, btw?17:27
keriomanually put stuff in /opt/<packagename> or use that?17:27
*** ToJa92 has joined #maemo17:27
DocScrutinizer05nfc17:28
DocScrutinizer05anyway I guess you may safely append a few lines for bash to /etc/maemo-optify-auto-opt.conf17:28
kerioyeah, yeah17:28
kerioecho / >>/etc/maemo-optify-auto-opt.conf17:29
keriohm, what makes the bindmounts for python?17:30
kerioand *why*?17:30
keriooh, pymaemo-optify in /etc/init.d17:30
*** konelix_ has joined #maemo17:31
*** ab has joined #maemo17:34
*** shpaq has quit IRC17:35
kerioDocScrutinizer05: ooh, a way to do that could be to add dpkg diverts17:37
*** APTX has quit IRC17:37
keriobut you still have to make the symlinks manually17:37
*** hazchemix has joined #maemo17:40
DocScrutinizer05afaik there's never been any "official definition" on how to use optification. so some pkgs (e.g. alarmed) hape binaries sitting in /opt/*/*/* and no symlink at all from anywhere inside $PATH to that binary17:40
DocScrutinizer05while others probably create symlinks by their own, and yet others might use maemo-optify*17:40
keriowell, of the ones that i ever installed, only liqbase added something to maemo-optify*.conf17:41
kerioand of course maemo chess and some other stupid stuff17:41
DocScrutinizer05no surprise, since ,ae,o-optify* been developed by lcuk, like liqbase17:41
DocScrutinizer05maemo-optify*17:41
kerioanyway, dpkg diverts are resistant to package upgrades/removals17:42
kerioand if you have to put a dpkg-indexed file somewhere else, you should use those17:42
keriodpkg powah!17:42
*** konelix_ is now known as konelix17:42
DocScrutinizer05sorry, can't parse17:42
DocScrutinizer05or rather, wtf is a dpkg-indexed file?17:43
kerioa file that dpkg knows of17:43
keriobecause it was installed by a package17:43
DocScrutinizer05and why do you have to put it somewhere? and how are you supposed to use it?17:43
keriobecause you want to optify it17:43
kerioand the original package writer sucks17:43
kerio*package maintainer17:44
DocScrutinizer05still don't get it17:44
DocScrutinizer05nfc what you're suggesting17:44
kerioinstead of using the silly maemo-optify-* or manually moving and symlinking17:44
kerioyou make a dpkg diversion and then symlink17:44
DocScrutinizer05mhm, I make a dpkg diversion17:45
keriobecause at that point dpkg knows that every time a package wants to install something in the initial directory, it has to put them where you decided17:45
kerioactually nevermind17:45
DocScrutinizer05now if you'd bother to elaborate on 2make dpkg diversion", I actually might profit from your info shared17:45
kerioyou can't divert directories17:45
DocScrutinizer05I guess that's where symlinks and maemo-optify* come in17:47
keriodpkg-divert --divert /opt/manual-optification-yo/bigassfile --rename /usr/path/to/bigassfile17:47
DocScrutinizer05iirc there's been a suggested way to automatically optify stuff when building in SB17:48
DocScrutinizer05like "touch please-optify"17:49
DocScrutinizer05of course it's questionable why bash lives in /17:50
keriobecause bash is the shit17:50
kerioalso login shell17:50
DocScrutinizer05you only would want to keep it in / if you were mad enough to use it as default init shell17:50
DocScrutinizer05login shell is not mandatorily living in /17:51
DocScrutinizer05since to login you evidently need a system that kinda booted up to full X and connectivity17:52
*** jrocha has joined #maemo17:52
DocScrutinizer05which means /opt is available at that point in time17:52
DocScrutinizer05(btw same applies for busybox-power)17:53
kerioto be fair busybox-power is only good for the extra commands (which can be linked to a busybox living in /opt and for the extra stuff in the commands that are already there17:54
*** psychologe has joined #maemo17:54
DocScrutinizer05(the reason I frown on replacing space-conserving busybox that *has* to live in rootfs by busybox-power that is clearly targeted at interactive thus login-shell and ergo _should_ get optified and NOT waste precious space in rootfs)17:55
kerioand because it adds options to builtin commands17:56
*** psychologe has quit IRC17:57
*** LinuxCode has joined #maemo17:58
DocScrutinizer05if distro maintainers had groked the difference between /bin and /usr/bin (same for sbin) and strictly moved all binaries needed during early boot to /(s)bin where they belong, we could've done with optification by simply moving /usr to /opt (the full picture is a tad more complex due to /us/lib etc, but basically it's been Nokia fscking up then instead of fixing their mess invented optification). Oh well, seems I posted that years ago,18:06
DocScrutinizer05in18:06
DocScrutinizer05~optification18:06
infobotoptification is a inventive duct tape workaround to reclaim space in fs root, done due to the fact the systeminit *and* partitioning is FUBAR,  http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging,_Deploying_and_Distributing/Installing_under_opt_and_MyDocs, or ""OMG - I wish they looked into FHS and moved /usr to eMMC"", http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE2 bullet1,2 and fhs-2.3.html#PURPOSE16 dot3"18:06
*** APTX has joined #maemo18:09
kerioDocScrutinizer05: why didn't maemo 5 run directly from eMMC?18:09
*** tanty has quit IRC18:10
*** wmarone_ has quit IRC18:11
*** wmarone_ has joined #maemo18:11
*** wmarone_ has quit IRC18:12
*** DocScrutinizer05 has quit IRC18:13
*** DocScrutinizer06 has joined #maemo18:13
*** hardaker has joined #maemo18:13
*** zeq has quit IRC18:17
*** ALoGeNo has quit IRC18:32
*** zeq has joined #maemo18:34
*** etrunko has quit IRC18:36
*** hazchemix has quit IRC18:36
*** markinfo has quit IRC18:39
*** etrunko has joined #maemo18:41
*** ALoGeNo has joined #maemo18:45
kerio~m32g18:48
*** piggz__ has quit IRC18:48
keriono, dammit18:48
kerio~m5g3218:48
keriohrmpf18:48
kerio~m32gb18:49
infoboti guess m32gb is https://code.launchpad.net/~pali/+junk/maemo_M32GB18:49
*** NIN101 has joined #maemo18:54
*** zeq has quit IRC18:55
*** zap has quit IRC19:05
*** eMHa has quit IRC19:11
*** ced117 has joined #maemo19:13
*** ced117 has quit IRC19:13
*** ced117 has joined #maemo19:13
*** zeq has joined #maemo19:18
*** wmarone_ has joined #maemo19:20
*** e-yes has quit IRC19:21
*** piggz__ has joined #maemo19:26
Sicelowhat is this M32GB?19:33
*** florian has joined #maemo19:37
*** jrocha has quit IRC19:38
Sicelohmm, nice19:41
*** geaaru has quit IRC19:42
*** etrunko has quit IRC19:58
kerioSicelo: yeah, it's kinda neat19:59
*** fredrinLap has quit IRC19:59
*** etrunko has joined #maemo20:04
*** luca__ has left #maemo20:04
DocScrutinizer51hmm20:06
DocScrutinizer51I'd much prefer a proper bootable image and a entry in uBoot, rather than a pivotroot from stock maemo20:07
kerioindeed20:07
keriootoh, an entry in uBoot would require the appropriate modules20:07
DocScrutinizer51btw look into preinit, you'll be surprised to find similar legacy from maemo4 to pivotroot from initrd to nand rootfs20:08
keriofucking hysterical raisins20:09
DocScrutinizer51eeeeek PANIC!!20:09
* DocScrutinizer51 idly wonders if google pictures would yield good hits for "hysterical raisins"20:10
*** timo^ has joined #maemo20:12
DocScrutinizer51meh! I  got the weird habit to click that yellow ! in status always when I'm away from home20:12
kerioDocScrutinizer51: just call the standard fremantle install a bootloader :D20:12
DocScrutinizer51hm?20:13
DocScrutinizer51so, keep HAM open now, close, or actually update marble?20:14
kerioDocScrutinizer51: yes20:14
DocScrutinizer51ok20:14
*** teotwaki has quit IRC20:20
kerioDocScrutinizer51: btw, why are you using HAM?20:21
kerio>:D20:21
kerioalso, my calibration script worked20:21
kerio(bq27k calibration)20:22
*** Darkchaos has quit IRC20:28
*** zeq has quit IRC20:33
*** zeq1 has joined #maemo20:34
*** CaveyCoUk has joined #maemo20:37
*** CaveyCoUk has quit IRC20:37
*** CaveyCoUk has joined #maemo20:37
CaveyCoUkHeya.  Am trying to install the kernel for power users, but it cant find package "kernel-power" and googling gives someone's IRC logs but no answers..... any ideas greatly appreciated.20:39
*** CaveyCoUk is now known as [CaveyCoUk]20:39
*** [CaveyCoUk] is now known as CaveyCoUk20:39
kerioenable extras-devel, apt-get install kernel-power-flasher20:39
freemangordonkerio: KP50 is in extras20:40
freemangordonno need to enable extras devel20:40
CaveyCoUkI tried that, didnt work.20:40
freemangordonCaveyCoUk: what "didn't work" exactly means?20:41
CaveyCoUkSorry.  It didn't solve my problem, kept giving teh same problem20:41
freemangordonCaveyCoUk: and the problem is?20:42
*** ZogG_laptop has quit IRC20:43
CaveyCoUkWhen I try to install kernel-power-flasher it complains that it cant find the kernel-power package20:43
freemangordonhmm, do you have maemo-extras enabled?20:44
CaveyCoUkYes, but I just realised I have two of them20:44
*** ZogG_laptop has joined #maemo20:44
CaveyCoUkTwo pointing to http:repository.maemo.org/extras20:45
freemangordonfunny20:45
CaveyCoUkOne has a blank distribution, the other "freemantle-1.3"20:45
CaveyCoUkAny idea which is correct?20:45
freemangordonlemme check20:45
CaveyCoUkThank you20:45
*** shadeslayer has quit IRC20:47
*** shadeslayer has joined #maemo20:48
keriosee, this time you had to wait is one of the reasons HAM sucks20:52
*** jaska has quit IRC20:53
kerioCaveyCoUk: "fremantle"20:53
freemangordonkerio: no, I just have some other things to do ;)20:53
kerionot sure if fremantle-1.3 works too20:53
*** [CaveyCoUk] has joined #maemo20:53
freemangordonCaveyCoUk: fremantle-1.320:53
kerioreally? :o20:53
freemangordonyes20:53
[CaveyCoUk]Thanks20:53
*** jaska has joined #maemo20:54
[CaveyCoUk]Just tarted trial and error20:54
[CaveyCoUk]Seems disabling extras-testing means there is no more error20:55
*** CaveyCoUk has quit IRC20:55
*** [CaveyCoUk] is now known as CaveyCoUk20:55
*** CaveyCoUk has joined #maemo20:56
*** e-yes has joined #maemo20:56
CaveyCoUkGuess it is time to start the sweepstake on how long til I brick my phone....20:57
CaveyCoUkThank you very much freemangordon21:00
freemangordonCaveyCoUk: is it ok now?21:00
CaveyCoUkIts installed and rebooted, so I can at least move on to installing the next bits.21:02
CaveyCoUkIt looks like it was some sort of conflict between different application catalogues resulting in a package being unavailable, which is odd :\21:02
*** ghjgfjghjbn2 has joined #maemo21:03
*** Bigg has joined #maemo21:03
*** Bigg is now known as theheadofabroom21:06
*** piggz__ has quit IRC21:06
*** piggz has joined #maemo21:06
*** ghjgfjghjbn has quit IRC21:07
*** hardaker has quit IRC21:09
*** qwazix has joined #maemo21:13
*** CaveyCoUk has quit IRC21:15
*** CaveyCoUk has joined #maemo21:15
CaveyCoUkMy connection is being flakey, so am gonna scoot.  Thanks again.21:16
*** CaveyCoUk has quit IRC21:16
*** jrocha has joined #maemo21:16
*** piggz has quit IRC21:20
*** trumee has quit IRC21:21
*** MrPingu has joined #maemo21:22
*** piggz has joined #maemo21:23
* Sicelo still wonders wtf his N900 just bombs out on Pali's u-boot+bootmenu combo21:23
keriowhy is bootmenu related to uboot?21:30
Sicelothis one, http://talk.maemo.org/showthread.php?t=8161321:30
kerioNIN101: does the kernel in rescue-os have the thumb2 errata workaround patched in?21:31
Sicelore:thumb2, i doubt21:31
*** eMHa has joined #maemo21:31
kerioi was afraid of that, yeah21:31
Siceloi really like this uboot/bootmenu combo, if only it would work for me :(21:34
*** Timmy has joined #maemo21:36
*** Timmy has joined #maemo21:36
*** fredrinLap has joined #maemo21:38
*** trumee has joined #maemo21:40
PsotnickCan anyone tell me how can I make hildon_picker_dialog disappear after first change?21:40
kerioyo vi_21:43
keriofreemangordon needs a n950 screen21:43
*** ALoGeNo has quit IRC21:43
*** piggz has quit IRC21:43
*** piggz_ has joined #maemo21:43
*** timo^ has quit IRC21:43
*** timo^ has joined #maemo21:44
*** timo^ has joined #maemo21:44
*** valerius has quit IRC21:45
*** trumee has quit IRC21:50
*** trumee has joined #maemo21:51
*** valeriusN has left #maemo21:51
*** valeriusN has joined #maemo21:51
*** qwazix has quit IRC21:53
DocScrutinizer06kerio: are you mad? why woulod you need thumb patch in rescue-os?21:57
freemangordonDocScrutinizer06: chroot?21:58
freemangordona wild guess21:58
DocScrutinizer06pff21:58
DocScrutinizer06that's not what rescue-os is meant for21:58
freemangordonDocScrutinizer06: ok21:58
freemangordon:)21:58
keriowhat is it meant for?21:59
DocScrutinizer06I however could see a problem for users planning to run binaries from their borked original system in resue-os environment22:00
DocScrutinizer06if those binaries are thumb-compiled22:00
NIN101kerio: no it doesn't22:00
kerioNIN101: yeah, i thought so :(22:00
*** Timmy has quit IRC22:02
* DocScrutinizer06 idly wonders if a lib.so can modify own symbol table, just by writing new values to pointer associated to random-function() symbol22:03
*** timo^ has quit IRC22:04
DocScrutinizer06or is the symbol table "static" and just loaded to non-writable RAM when randomlib.so gets loaded?22:04
*** e-yes has quit IRC22:04
kerioDocScrutinizer06: well, aren't libraries shared between binaries?22:05
DocScrutinizer06sure22:05
DocScrutinizer06that's the idea of sHAREDoBJECT22:05
keriowouldn't stuff break if a library could change itself?22:06
kerioor is it copy-on-write?22:06
DocScrutinizer06but this sharing is done by processes resp ld.so opening the library via dlopen()22:06
DocScrutinizer06before ld.so resolves/links references to symbols in lib.so for $binary, the lib.so gets loaded and _init of the lib gets executed22:07
DocScrutinizer06in _init the library could do some initialization stuff (you probably have guessed that yet)22:07
*** jhb has quit IRC22:08
DocScrutinizer06incl changing the addr pointer associated to a symbol in symbol table22:08
*** LinuxCode has quit IRC22:08
kerioso is the symbol table specific to each process?22:08
DocScrutinizer06then ld.so resolves/links the refernece in $binary to randomfunction() in lib.so, and replaces the jump addr with what it finds in the table22:09
DocScrutinizer06see man dlsym22:10
DocScrutinizer06man dlopen22:10
DocScrutinizer06(same)22:10
*** trumee has quit IRC22:12
*** MrPingu has left #maemo22:12
DocScrutinizer06the user can override any symbol in any lib.so by defining "LD_PRELOAD=my-overriding-lib-with-symbol-that-replaces-original.so anybinary"22:12
DocScrutinizer06FILE *fopen64(const char *path, const char *mode) {22:13
DocScrutinizer06  typedef FILE * (*fopen64_function_type)(const char *, const char*);22:13
DocScrutinizer06  fopen64_function_type next_fopen64 = dlsym(RTLD_NEXT, "fopen64");22:13
DocScrutinizer06return next_fopen64(path, mode);22:13
DocScrutinizer06}22:13
*** valerius has joined #maemo22:13
*** trumee has joined #maemo22:14
DocScrutinizer06^^^overrides original fopen64()22:14
trumee~ping22:14
infobot~pong22:14
keriowell that's kind of a stupid wrapper22:14
DocScrutinizer06the lib itself should be able to handle that even smarter22:14
DocScrutinizer06if not, than glibc could dlopen("glibc-helper-fakePselect.so") and implement an emulation for 'own' true pselect in that glibc-helper-fakePselect.so22:16
SiceloOT: i wonder if this will be a hackable-enough device, http://www.gsmarena.com/zte_grand_x_in-4962.php22:18
kerioooh, intel atom22:21
kerioneat22:21
*** beford has joined #maemo22:21
*** DocScrutinizer06 is now known as DocScrutinizer0522:23
*** glenn has joined #maemo22:24
*** valeriusN has left #maemo22:25
*** valeriusN has joined #maemo22:25
DocScrutinizer05Sicelo: there's one question if it's hackable, another question if somebody actually will port a decent OS to it22:26
DocScrutinizer05Sicelo: I don't care about buntkuh shite without proper dialer or anything, without support for GPS and WLAN and whatnot else22:27
*** glenn has quit IRC22:28
DocScrutinizer05 basically any monkey can bring up a rudimentary linux on a semi-known hw platform. But getting something *useable* to run there is a whole different thing22:28
*** lxp1 has quit IRC22:32
kerioport maemo to it!22:44
*** e-yes has joined #maemo22:45
*** Timmy has joined #maemo22:51
*** Timmy has joined #maemo22:51
*** lxp has joined #maemo22:54
*** Timmy has left #maemo22:58
*** dimw1t has joined #maemo23:00
*** rzr is now known as RzR23:01
*** vi__ has joined #maemo23:03
DocScrutinizer05sure, since maemo(5) is made for porting. And alredy been ported to 580 some other platforms23:20
DocScrutinizer05actually that's the grave sin of Nokia regarding maemo - they managed to make it impossible to port23:22
*** pcfe has joined #maemo23:24
*** OkropNick has quit IRC23:27
*** theheadofabroom has quit IRC23:28
kerio"impossible"23:32
*** cyborg-o1e has quit IRC23:32
*** ced117 has quit IRC23:32
kerio[Linus quote about linux not going to ever support non-AT hard drives]23:32
*** cyborg-one has joined #maemo23:36
DocScrutinizer05"what the fuck? A strawberry!" [Peter Schoeppel quote on unknown occasion]23:36
vi__DocScrutinizer05: wut?23:37
DocScrutinizer05;-P23:38
vi__maemo 5 can suck my nuts.23:39
vi__Hildon is where it is at.23:39
ZogG_laptophildon is ported23:39
keriowell, right23:39
ZogG_laptopand it's only DE23:39
vi__yeah...23:39
kerioit has a weird, non-standard notification area though23:39
ZogG_laptopit is nice for tablets/mobiles23:40
vi__n950 vs n90023:40
ZogG_laptopi would like to see hildon+swipe hybrid23:40
* DocScrutinizer05 mumbles "sensorfw" and some rather nasty other terms, heads out to do something nicer than discussing maemo porting23:40
vi__ffs23:40
vi__swipe can get bent.23:40
ZogG_laptopvi_, swipe is nice but i feel like it's so not customizable and there is such a waste of space there23:41
ZogG_laptoplike feed screen- and if i don't use feeds? why would i want black screen with just a date23:41
ZogG_laptopwhy not to make it widgets's screen23:41
vi__LCARS23:41
DocScrutinizer05honestly I rather use Braille HID than meego UI23:41
vi__DocScrutinizer05: !23:42
ZogG_laptopBraille HID?23:42
ZogG_laptopDocScrutinizer05, you are just too old for those things :P23:42
vi__ZogG_laptop: the older you get the less tolerant to utter bullshit you get.23:42
ZogG_laptopDocScrutinizer05, i bet you don't use big thumb, u handle in one hand and use pointer thumb to click buttons :P23:42
*** qwazix has joined #maemo23:43
DocScrutinizer05http://static.ddmcdn.com/gif/braille-4.jpg23:43
ZogG_laptopvi_, u need to understand that swipe for portrait mostly and without hw kbd23:43
vi__so for retarded cripples?23:43
vi__I have 2 hands.23:44
kerioyep!23:44
vi__and multiple fingers.23:44
ZogG_laptopand23:44
ZogG_laptophow is it related?23:44
ZogG_laptopbeilive me, u can't compete swype with hw kbd23:45
ZogG_laptopit's too small23:45
vi__If you make a UI for spastics, you will have a device only useable by spastics.23:45
ZogG_laptopvi_, it's just hard for some people to get inovations, that's it23:45
ZogG_laptoplike Ms made tablet and everyone boo'ed and apple made tablet and everyone had orgasms23:46
*** thuttu77 has joined #maemo23:46
vi__eventually computers will be so reduced in functionallity and controls we will just have a giant button for a KB the you slap with your idiot flipper to make the screen change colours.23:47
vi__while bellming.23:47
vi__wtf, ms did not make the tablet.23:47
vi__apple did23:48
vi__called the apple newton.23:48
DocScrutinizer05and everybody boo'ed ;-P23:48
vi__DocScrutinizer05: because it sucked.23:48
DocScrutinizer05too much ahead of its time23:49
vi__DocScrutinizer05: probably has a giant sealed lead acid battery.23:49
*** BCMM has joined #maemo23:49
*** fredrinLap has quit IRC23:49
vi__If only there was a hildon implementation for the n950.23:50
DocScrutinizer05indeed23:50
DocScrutinizer05incl aegis-nuker23:51
vi__fuckit.23:51
vi__when my n900 breaks I am going to get a mobile phone the size of a pen with no screen.23:51
vi__to dial, you will click the button on the end like back when you tried to scam free calls by hitting the hang-up on a pulse dial phone line.23:52
*** NIN101 has quit IRC23:53
vi__they will call it revolutionary.23:53
vi__re-envisioning the roll of the mobile phone.23:53
*** kodomo_ has joined #maemo23:53
vi__for hands free you would just stick it in your ear like a loose cigarette23:54
vi__also, it would be a pen.23:54
*** RzR is now known as rZr23:56
*** rZr is now known as rzr23:56
*** kodomo has quit IRC23:57
*** uen has quit IRC23:58

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