IRC log of #maemo for Saturday, 2015-09-05

*** protem has joined #maemo00:02
stryngs!  It is finished!00:05
stryngshttp://talk.maemo.org/showthread.php?p=1481123#post148112300:05
stryngsPali DocScrutinizer05 KotCzarny Sicelo warfare merlin1991 ^^^00:06
stryngsYou'l have to click the pastebin link, but it's because I was char limited00:06
*** brolin_empey_ has joined #maemo00:08
*** fortytwo has quit IRC00:08
*** fortytwo has joined #maemo00:08
*** stryngs has left #maemo00:08
*** stryngs has joined #maemo00:08
*** brolin_empey has quit IRC00:09
*** sfa has quit IRC00:09
*** erstazi has quit IRC00:09
*** sfa has joined #maemo00:09
*** erstazi has joined #maemo00:10
Jack64stryngs: that's almost a manifesto :P00:11
* stryngs twitches00:11
stryngsStupid character limiters...00:12
stryngsIt was only 150583 characters damnit...00:12
*** xray256 has quit IRC00:12
Jack64hehe the line must be drawn somewhere... :)00:12
stryngsAh, forgot a name, sixwheeledbeast the link for the proposal is: http://talk.maemo.org/showthread.php?p=1481123#post148112300:12
stryngsRas_Older: ^^00:13
*** _rd_ has quit IRC00:14
Sicelowhat's the camera problem? don't get that part ...00:19
stryngsSicelo: When i go to view my pictures, I have to choose the folder00:21
stryngsSicelo: It happens whenever u mod the basic hdd layout for some darn reason00:21
stryngsIt's a "non-issue" but worth mentioned so people aren't freaked out like "zOMG, stryngs is an idiot and broke my Carl Zeiss!"00:22
stryngsSicelo: In truth, it's probably fixable via a gconf command of sorts I bet...00:22
Siceloi resized my 32GB years ago and never had camera issues. :-/00:23
*** xray256 has joined #maemo00:24
Siceloanyway ...00:25
Jack64I got stryngs' version running on my N900 and I can confirm those issues00:34
Jack64might be fixable though..00:34
Jack64also I like his idea00:35
stryngsJust need smart folks to pull together and invent something..... =)00:35
Jack64and I can contribute some debs to the hacker-n900 meta repo if you'll take 'em00:35
stryngsCan you code though Jack64 ? =)00:36
* stryngs grins00:36
* Jack64 smiles 00:36
Ras_Olderstryngs: Your idea makes sense to me. The only current "issue" to get this thing rolling is to agree what exactly would be the base package. After that its just choosing what goes to which metapackage afaik.00:51
Ras_OlderAlthough I must say that I have never had proper time to truly understand how that optifying actually works :D00:52
stryngsRas_Older: afaik, it moves stuff to opt, and then symlinks00:54
stryngsRas_Older: It sucks because, I don't like doing that; I shouldn't have to "optify" to make my n900 work.  dpkg -i & go is my opinion00:54
Ras_OlderAgreed on that..00:57
stryngsRas_Older: Truth be told though; the tricks I use aren't required for this idea.  It just gave me a place to discuss em is all.  The main thing is the creation of an "image"00:58
*** robink has quit IRC01:01
Jack64so all that is needed is a list of base stuff? that should be simple enough01:02
Ras_OlderBut where to draw the line for what that includes?01:03
Jack64some debate is to be expected on some stuff01:04
stryngs^^01:04
stryngsThe "base" approach should be the bare minimum, period.01:04
stryngsimho.01:04
stryngsIf you want dev tools, dev-meta01:04
Jack64but what is the bare minimum? do you have a list already stryngs?01:05
stryngsThis will keep minimalists like KotCzarny willing to contribute.01:05
stryngsI do Jack6401:05
stryngsIt's in your hand01:05
Jack64hehe01:05
Jack64I like it01:05
stryngsIt needs work though, evidently speedpatch is stupid01:05
stryngsYet, u and i both have it...01:05
*** robink_ has joined #maemo01:05
stryngshe said/ she said nonsense...01:05
Jack64right01:05
Ras_OlderYes but what is minimum here? Is it that devide boots to desktop and absolutely nothing else? Does it have basic connectivity capabilites like internet browsing etc.01:06
Jack64you should make it a real list though, so people can start chiming in01:06
stryngsJack64: Truth be told, I'm sure we could slim it down even further than what script-1.sh does tbh.01:06
stryngsJack64: I'm going to do that this weekend, flashing to stock.01:06
stryngsRas_Older: Bare minimum in my mind, would be taking the n900, purging all nonsense from it: facebook, games, etc...01:07
Jack64well I suggest all hardware should be installed and ready to use01:07
stryngsRas_Older: But not so bare minimum as to remove the file manager01:07
Jack64^^01:07
stryngsJack64: When I flash to stock this weekend, I'm going to dpkg --list and notate whats there, then compare against script-1.sh and what it purges, start making my list from there.01:07
Ras_OlderYeah exactly so and there must be some packages that will need voting as what stays and what goes01:08
stryngsStock pr1.3 everything works01:08
stryngsRas_Older: Agreed01:08
stryngsRas_Older: Also, some packages, are hard to come by01:08
Jack64yep sounds good01:08
stryngsRas_Older: afaik, if u apt-get purge em, they're gone, gotta reflash to get em back.01:08
Ras_OlderOh, okeyyy I didn't actually know that :D01:08
stryngsPart of the "nokia" issue01:08
ZetaRstryngs: I really like the proposal. I have one question: could the filesystem layout / installation be set up with LUKS/cryptsetup in mind? AFAIK, right now you need to move your installation to the microSD in order to encrypt it. I am not saying "install with encryption by default", but rather "encryption is possible without major filesystem changes".01:08
stryngsZetaR: MicroSD works great for those who can use it, me though, my reader is busted.01:09
stryngsZetaR: However, I like the "option" and it wouldnt be hard to give a user the option in the "install script" either.  Chose A for encryption, B for normal01:09
stryngsZetaR: If pivoting was done, the whole filesystem will work on the SD card.01:10
*** brolin_empey_ is now known as brolin_empey01:10
stryngsZetaR: There are so many possibilities with the n90001:10
*** robink_ is now known as robink01:10
ZetaRWhat do you mean by "pivoting"?01:11
stryngsBoot normally, and at some point in the process you are chrooted over to your sd card with full / layout on the sd card01:11
Ras_OlderWeren't there some issues back in the day with full encryption of the file system? Can't remember for sure but I just recall something that it was problematic at the time atleast.01:11
stryngsZetaR: Almost like my rbind mount tricks, but fully /'d on SD01:11
ZetaRAh, okay. I haven't heard that word used for that before.01:11
stryngsZetaR: I stopped entertaining the idea with the Pwnie guys after we settled on bind mounts01:12
stryngsAlso, for those who contribute, HOW COOL would it be, if this takes off.  To put your contributions on something like a resume.01:13
stryngsBlah blah... Helped to contribute to the Nokia n900 revitilazation process,  Was intricate to doing x, y and z.  30,000 verified users.  etc......01:13
stryngsAlso, for the fools crazy enough to spend the loot for the neo900 (myself included here), it'll be a good baseline for the neo.01:14
ZetaRI just think it would be great to start having Maemo "distros" outside of the default flash process. IMO, that is a major part of Linux that is missing on the N900.01:14
stryngsThat's the gist ZetaR =)01:14
Ras_OlderYou know what would be truly great? Not having this ******* helpdesk job that tears your soul apart and to actually have time for projects like this one discussed today. To do something meaningful for a chance..01:14
stryngsJack64: Alright man, you did it; backing up my n900 and flashing01:14
stryngsRas_Older: Where do u live?01:15
Jack64stryngs: didmit?01:15
Jack64did it*?01:15
Ras_OlderIn the North where winter is coming... Finland, Jyväskylä.01:15
stryngsu mentioned baseline packages; to get it, i must flash =)  But, imho, your idea IS the first step towards this.01:15
stryngsAh, nvm; was going to offer you a job if u had the experience, but it's uhm, a puddle jump away01:16
Jack64yep, let's go for it :)01:16
Ras_OlderAh yes the little pond in between us?01:16
stryngsYep01:16
stryngsapt-get install puddlejump01:16
Jack64hey I want that too01:16
stryngsnope, it's all mine!01:16
stryngspuddlejump --Amsterdam01:17
* stryngs shoots up and hits the red light district01:17
Jack64haha meet you there01:17
stryngs=)01:17
Jack64stryngs: how about CCC?01:17
stryngsI'd love to visit that.01:18
Jack64time to save up01:18
Jack64or pwn united for miles01:18
Jack64haha01:18
stryngsI'm more worried about bsidescharleston01:18
stryngsfuck united01:18
Ras_OlderSame here. Was just today talking about it with my gf that we would want to go check it out.01:18
* stryngs grumbles01:18
Ras_Olderabout CCC that is01:19
ZetaRstryngs: Another thought: It might be a good idea to have some sort of diagnostic/CLI mode possible with a MMC/partition problem. Some of the things moved around (e.g. /lib) will break basic systems and CLI utilities if the MMC is unavailable (unless they are statically linked).01:19
stryngsZetaR: Already done01:19
stryngsZetaR: Backup menu && ssh && go01:19
stryngsZetaR: Used it when i was first figuring out how to rbind mount01:19
stryngsZetaR: As it stands now, the dirs you see in that post; 100% stable01:20
ZetaROkay, so that works with /lib and /sbin being moved?01:20
stryngsZetaR: It's things like /etc I'm curious of01:20
stryngsZetaR: 100%01:20
ZetaRCool.01:20
Jack64Ras_Older: how much is a CCC ticket?01:20
Jack64I'd love to go too01:21
*** haasn has quit IRC01:22
Ras_OlderI'm not sure about that but for me the travel & accommodation will be way more than the actual ticket :D01:26
Jack64no ryanair over there?01:26
Jack64accomodation might be pricy tho01:26
*** haasn has joined #maemo01:28
DocScrutinizer05~optification01:31
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"01:31
Jack64damn looks like 31C3 is sold out01:32
*** filosofem_ has joined #maemo01:33
DocScrutinizer05stryngs: why not do it the FHS way and mount /usr from eMMC?01:33
stryngsDocScrutinizer05: Not following, plz elaborate?01:36
DocScrutinizer05and get rid of all that /opt nonsense01:36
stryngsDocScrutinizer05:  I did get rid of the /opt nonseense01:36
stryngsDocScrutinizer05: Lines 64-69 of the proposal01:37
stryngsDocScrutinizer05: Only "requirement" is neutralizing pymaemo-optify, which is hardcode "Depended" to a lot of files.01:37
stryngs64-68 rather, disregard 6901:38
stryngsmmmm 69 =)01:38
stryngsWhoa.......  The following directories, or symbolic links to directories, are required in /.01:42
stryngsIt mentions /etc01:42
stryngs!01:42
stryngsAnd var...01:42
* stryngs wants to perform open heart surgery on his n900 tonight01:42
DocScrutinizer05that's all bindmounts01:48
stryngsDocScrutinizer05: Right, are you saying there is a true better FHS way?01:48
DocScrutinizer05get a eMMS partition for /usr01:49
stryngsDocScrutinizer05: What about /lib /sbin, etc..?01:49
DocScrutinizer05those should stay on /, according to FHS01:49
stryngsDocScrutinizer05: But then we have to worry about .debs filling up /01:50
stryngsi.e. things under /etc01:50
stryngsNot that you would ever have that many configuration files, but it could happen with X ammnt of .debs01:51
DocScrutinizer05why's that? any decent deb that's not relevant for emergency-booting into singleuser mode is supposed to live in /usr/*01:51
DocScrutinizer05and /etc should be small01:51
stryngsSo you're a fan of /usr/etc stuff then01:51
stryngsI've read FHS a couple times, but it can be mindnumbing01:51
DocScrutinizer05IroN900:~# du -hs /etc01:52
DocScrutinizer056,4M    /etc01:52
stryngs!01:52
stryngs7.3m here01:52
stryngswow, i underestimated01:52
stryngsover rather01:52
DocScrutinizer05it's quite small enough for a 200MB rootfs01:52
DocScrutinizer05FHS is about decent system 'architecture"01:53
DocScrutinizer05http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE201:53
stryngsDocScrutinizer05: ./configure --prefix=/usr, that mostly will conform to FHS for a decent program, yes?01:54
*** N-Mi has quit IRC01:54
DocScrutinizer05http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE1801:55
DocScrutinizer05yep, seems to me that's correct01:55
stryngsMmmmkay. so DocScrutinizer05, to get eMMC partition for /usr, what's the method?01:56
*** Kabouik has joined #maemo01:56
DocScrutinizer05we have a few critters that are in /usr/sbin or /usr/libs etc despite they are needed during early boot. Nokia ignored the fuckup and made that optification botch while keeping /usr/sbin et al on rootfs. The correct fix is to move those packahes from /usr/*/* to /*/*01:57
stryngsDocScrutinizer05: Without being a certified linux sysadmin, how do we figure out which ones they are?01:59
DocScrutinizer05stryngs: I guess we could hack the config file in VANILLA that makes softupd or what's the name create the partitions on eMMC01:59
stryngsDocScrutinizer05: This is also why I never went further with the bindmount hack01:59
stryngsDocScrutinizer05: I don't know enough about initial bootup of linux, to determine what's truly needed, or I would have moved everything to ext3 possible.01:59
DocScrutinizer05stryngs: there are ways to trace which files in /usr/sbin et al are getting accessed at which point during boot02:00
stryngsDocScrutinizer05: As a good starting point, if I gave you a list of packages that come on stock pr1.3, could you point out which ones are not needed from a "bloat" perspective?02:00
stryngsDocScrutinizer05: i.e.  imho, facebook is bloat02:01
stryngsDocScrutinizer05: At the same time, I don't want to call X bloat, and it be a truly needed package that I just don't know about02:01
DocScrutinizer05a funny one was gstreamer plugins or somesuch getting optified and that resulted in audio permanently broken since during boot the shaking hands video couldn't load the plugin and that was sticky02:01
* stryngs murdered the shaking hands video02:02
DocScrutinizer05me too02:02
DocScrutinizer05see02:02
DocScrutinizer05~jrtools02:02
infobot[jrtools] http://wiki.maemo.org/User:Joerg_rw/tools02:02
stryngsAll the stuff you #'d, thats due to CSSU invoking it, no?02:02
DocScrutinizer05yes, I could point to a few packages that are not strictly needed in a base config02:03
DocScrutinizer05like modest, and a dozen other apps and stuff02:03
DocScrutinizer05yes, most of it02:03
stryngsDocScrutinizer05: Ok.  I gotta wrap up here and head home.  Got some backups I need to do, but I'll be stock flashing tonight and have a list handy soon02:03
DocScrutinizer05it comes with CSSU now02:03
stryngsDocScrutinizer05: To verify we're on same page.  The files I currently flash with are:02:05
stryngsRX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin02:05
stryngsRX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin02:05
stryngs^^ Again, I'm asking because there are evidently other options I could have gone with.02:05
DocScrutinizer05go with ~flashing02:12
DocScrutinizer05~flashing02:12
infoboti heard maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh02:12
DocScrutinizer05guess what? I dunno the exact filenames anymore, since I coded them into that script ;-)02:13
DocScrutinizer05~pr13102:13
infobotcombined is probably the rootfs fiasco image of maemo. For N900 latest (PR1.3.1) see http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2011/9/--FID--A0A22MVWFVFAM/--LID--FiRe1317015685654/RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin, or http://galif.eu/nokia/02:13
DocScrutinizer05~pr1302:13
DocScrutinizer05~pr1.302:13
infobotextra, extra, read all about it, pr1.3 is the latest (and probably last) software update for Fremantle, available since Monday October 25 2010. More information at http://wiki.maemo.org/Maemo_5/PR1.3 -- see ~flashing for how to update02:14
*** florian has quit IRC02:14
DocScrutinizer05stryngs: get http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz02:14
DocScrutinizer05it's tiny, and convenient02:15
DocScrutinizer05you can also have a look into the script in http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir02:16
*** Kabouik has left #maemo02:16
*** Kabouik has joined #maemo02:16
DocScrutinizer05http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir/flash-it-all.sh02:16
*** Oksanaa has quit IRC02:16
*** lxp has quit IRC02:25
*** sparetire_ has quit IRC02:27
*** M4rtinK has quit IRC02:32
*** lxp has joined #maemo02:32
*** sq-one has quit IRC02:37
stryngsWord, DocScrutinizer05 grabbing those files.  I'm hoping everythign aligns, I already have a stock_debs file handy from previous work.  Let me grab yer stuff and see what ya got02:42
stryngshttp://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz  404 error02:44
stryngsbut... Indexing is on02:45
*** vectis has quit IRC02:58
*** Kabouik has quit IRC03:05
*** AndrewX192 has joined #maemo03:06
DocScrutinizer05ugh03:11
DocScrutinizer05http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tar.gz03:12
DocScrutinizer05fixed03:14
*** guerby has quit IRC03:14
*** guerby has joined #maemo03:16
*** Pali has quit IRC03:37
*** Hurrian has joined #maemo03:52
stryngs~flash04:04
infoboti guess maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh04:04
stryngsInteresting.  No more ability to get the original software from Nokia I see04:04
stryngs2015-09-04 21:05:47 ERROR 404: Not Found.04:05
stryngsDocScrutinizer05: ^04:05
stryngs~firmware04:07
infoboti guess firmware is please see ~combined ~emmc ~flasher04:07
stryngs~combined04:08
infobotsomebody said combined was the rootfs fiasco image of maemo. For N900 latest (PR1.3.1) see http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2011/9/--FID--A0A22MVWFVFAM/--LID--FiRe1317015685654/RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin, or http://galif.eu/nokia/04:08
stryngs~emmc04:09
infobotemmc is probably is http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22YHFSICNA/--LID--FiRe1275051276916/AE98ED9D_RX-51_2009SE_10.2010.13-2.CENTRAL-EUROPE_PR_EMMC_MR0_ARM.bin or see ~emmc204:09
stryngs~emmc304:09
infobothmm... emmc3 is http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/4/--FID--A0A22UYGVCFDF/--LID--FiRe1272381325983/E14B4F3B_RX-51_2009SE_10.2010.13-2.SCANDINAVIA_PR_EMMC_MR0_ARM.bin04:09
stryngs~emmc204:09
infobotextra, extra, read all about it, emmc2 is http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22FGDOJCSI/--LID--FiRe1275064390175/163EC1AE_RX-51_2009SE_10.2010.13-2.IBERIA_PR_EMMC_MR0_ARM.bin, or http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22VHGOMWUG/--LID--FiRe1274862877184/E3AD4912_RX-51_2009SE_10.2010.13-2.SEAP_PR_EMMC_MR0_ARM.bin, or see emmc304:09
stryngsHeh04:09
stryngs~emmc04:09
infobotit has been said that emmc is is http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22YHFSICNA/--LID--FiRe1275051276916/AE98ED9D_RX-51_2009SE_10.2010.13-2.CENTRAL-EUROPE_PR_EMMC_MR0_ARM.bin or see ~emmc204:09
stryngsSo what is the diff between that04:09
stryngs~emmc204:09
infoboti guess emmc2 is http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22FGDOJCSI/--LID--FiRe1275064390175/163EC1AE_RX-51_2009SE_10.2010.13-2.IBERIA_PR_EMMC_MR0_ARM.bin, or http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22VHGOMWUG/--LID--FiRe1274862877184/E3AD4912_RX-51_2009SE_10.2010.13-2.SEAP_PR_EMMC_MR0_ARM.bin, or see emmc304:09
stryngsand that04:10
stryngs~emmc304:10
infobot[emmc3] http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/4/--FID--A0A22UYGVCFDF/--LID--FiRe1272381325983/E14B4F3B_RX-51_2009SE_10.2010.13-2.SCANDINAVIA_PR_EMMC_MR0_ARM.bin04:10
stryngsand that04:10
stryngs~emmc404:10
stryngs?04:10
stryngshehe, This is the type of stuff I'm talkin bout =) So much info04:15
*** Humpelst1lzchen has quit IRC04:16
*** futpib has quit IRC04:17
*** Humpelstilzchen has joined #maemo04:18
*** Dynamit has quit IRC04:22
*** Dynamit has joined #maemo04:29
*** LauRoman has quit IRC04:39
*** eMHa has joined #maemo04:39
*** eMHa__ has quit IRC04:43
Ras_OlderYey i got terminator to work on W10! Now why did I need it in the first place...05:08
Ras_OlderI'm doing some black magic compiling voodoo with cygwin05:08
stryngsRas_Older: Question for you05:18
stryngsRas_Older: When it came to picking which files to flash with; how did u make your decision?05:18
Ras_Olderone candy first -> *noms* gotta love these Zolpidems..05:19
*** protem` has joined #maemo05:19
Ras_OlderI see it as we have problem X = working device non-bloated with bad stuff.05:21
*** Neutron118 has joined #maemo05:21
*** protem has quit IRC05:21
stryngsffs05:21
stryngshttp://maemovmware.garage.maemo.org/2nd_edition/05:22
stryngsAnyone have that?05:22
Ras_OlderWe need the ones that are critical to system boot-up process. Also would it be good to discuss what is bloat?05:22
stryngsWell, I'm with ya on that, but i'm talking about your flashing files05:22
stryngsWatch...05:22
stryngs~emmc05:22
infoboti heard emmc is is http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22YHFSICNA/--LID--FiRe1275051276916/AE98ED9D_RX-51_2009SE_10.2010.13-2.CENTRAL-EUROPE_PR_EMMC_MR0_ARM.bin or see ~emmc205:22
stryngs~emmc205:22
infobotemmc2 is, like, http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22FGDOJCSI/--LID--FiRe1275064390175/163EC1AE_RX-51_2009SE_10.2010.13-2.IBERIA_PR_EMMC_MR0_ARM.bin, or http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22VHGOMWUG/--LID--FiRe1274862877184/E3AD4912_RX-51_2009SE_10.2010.13-2.SEAP_PR_EMMC_MR0_ARM.bin, or see emmc305:22
stryngs~emmc305:22
infobot[emmc3] http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/4/--FID--A0A22UYGVCFDF/--LID--FiRe1272381325983/E14B4F3B_RX-51_2009SE_10.2010.13-2.SCANDINAVIA_PR_EMMC_MR0_ARM.bin05:22
stryngsSO MUCH INFO05:22
stryngsetc..05:22
stryngsHow did you make your decision05:22
Ras_OlderFlashing my device? Oooh boy that happened way back at 2012 when my crazy ass ex tried to smash me with a frying pan when I was sleeping..05:24
stryngsOk, so let's say you needed to flash right now; how would u decide?05:25
Ras_OlderStudy first before deciding and yep it looks like I can't find actual information regards those topics hanging on up there..05:28
Ras_OlderWith those hanging there... I would be scared to do a decision without some back-up from the documentation05:29
Ras_OlderDid you try Russian Roulette yet with them? That could be fun times.05:30
stryngsNo, I've got my methods, but this is good; another bullet in the gun =)05:31
stryngsSo, is pr 1.3.1 or 1.3 the way to go DocScrutinizer05 ?05:32
stryngsEven maemo webpage only shows 1.305:32
Ras_OlderWho is it meant for? *places a flower to that gun barrel*05:32
stryngsRas_Older: The community to motivate us =)05:32
Ras_OlderWe got no documentation regards those??? Really :D05:33
Ras_OlderAnyhoo I'll look into those after some sleep. These candies do funny thingies to me brainies05:39
*** obsed has quit IRC05:39
DocScrutinizer05stryngs: 1.3.1 is a minor security update that also comes with CSSU05:56
*** beford has quit IRC05:56
*** beford has joined #maemo05:56
DocScrutinizer05actually 1.3.1 only removes a few compromised certs iirc05:57
DocScrutinizer05~sb06:00
infobot[scratchbox] a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, hosted by maemo now. Also at http://maemo.merlin1991.at/files/SB06:00
DocScrutinizer05== http://maemovmware.garage.maemo.org/2nd_edition/06:00
DocScrutinizer05and in ~flashing wiki you find all the info you need, basically06:02
DocScrutinizer05(So what is the diff between...) simply look at the filenames, it's almost obvious06:03
DocScrutinizer05SCANDINAVIA_PR_EMMC_MR0_ARM.bin06:03
DocScrutinizer05SEAP_PR_EMMC_MR0_ARM.bin,06:03
DocScrutinizer05CENTRAL-EUROPE_PR_EMMC_MR0_ARM.bin06:03
DocScrutinizer05IBERIA_PR_EMMC_MR0_ARM.bin,06:04
stryngsDocScrutinizer05: Woo!06:04
stryngsI just made the thread post.  Is it pretty much just language?06:04
stryngsDocScrutinizer05: Does installing one over the other screw up stuff or miss stuff, etc, etc, etc...?06:06
stryngsDocScrutinizer05: You say 1.3.1 comes with CSSU.  Do I understand that you meant:06:10
stryngs- CSSU will do the same updates06:10
stryngs- 1.3.1 Actually HAS CSSU?06:10
stryngsWhich of the two? =)06:10
DocScrutinizer05no, pretty much just which songs come with it I guess06:10
DocScrutinizer05And I say 1.3.1 comes with *one* update that CSSU shipped before 1.3.1 came out06:11
DocScrutinizer05that's why CSSU asks for *either* 1.3 *or* 1.3.1, doesn't make a difference06:11
stryngsCopy that06:11
stryngsDocScrutinizer05: Ok, I can proceed with my work then. You're being VERY helpful with this and it is much appreciated!06:12
DocScrutinizer05yw06:12
stryngsI'm converting the stock deb list to a CSV and will upload shortly06:12
DocScrutinizer05let's see if there's more in the backscroll I could comment06:20
DocScrutinizer05[2015-09-05 Sat 03:04:46] <stryngs> Interesting.  No more ability to get the original software from Nokia I see06:21
DocScrutinizer05[2015-09-05 Sat 03:05:55] <stryngs> 2015-09-04 21:05:47 ERROR 404: Not Found.06:21
DocScrutinizer05incorrect06:21
DocScrutinizer05[2015-09-05 Sat 02:14:25] <DocScrutinizer05> fixed06:22
*** robink has quit IRC06:26
stryngsYeah, I caught the link DocScrutinizer0506:29
stryngsDocScrutinizer05: I mentioned that because I'm all about "trust", and though much trust goes into inheritance, for "this, whatever it is" to "work", trust must be involved.06:29
stryngsDocScrutinizer05: But, i was able to pull 1.3.1 from nokia domain06:29
stryngsHoly crap 1742 .debs by default06:30
stryngswtf.06:30
DocScrutinizer05for trust issues I added md5sum check06:30
stryngsDocScrutinizer05: yep, I saw that; it's how I do things too =)06:32
stryngsDocScrutinizer05: I think u and me see eye to eye on this stuff.06:32
stryngsDocScrutinizer05: Excited to work with you06:32
DocScrutinizer05which has the 'funny' side effect that my script refuses to flash VANILLA patches for partition size06:32
*** protem` has quit IRC06:36
*** Roth has joined #maemo06:37
DocScrutinizer05anyway what the script *really* does is to make sure the needed files are available and then trigger the second flashing process (of vanilla) right after the first (COMBINED) ended, so it kicks in just in time to stop the device from booting. Which is highly important since when you let it boot for 0.5s into linux and then reboot it to flash VANILLA, it's borked06:54
DocScrutinizer05...and you can start all over again06:54
DocScrutinizer05that's why the "foolproof procedure" in "flashing the firmware" wiki sugests to do a triple flashing combined, vanilla, combined, and to take out battery06:56
*** protem has joined #maemo07:00
stryngsDocScrutinizer05: Interesting.  I do Vanilla, remove bat, then combined.  Never had an issue before =)  ofc, I'm rdy and watching when it flashes07:03
*** darkschneider has quit IRC07:07
*** darkschneider has joined #maemo07:08
DocScrutinizer05when your rootfs system is borked, the softupd can't work and thus vanilla flashing can't work07:20
DocScrutinizer05thus in that pathological case you *need* to flash COMBINED first07:21
DocScrutinizer05COMBINED gets flashed by NOLO bootloader, VANILLA "flashing" is actually a job done in linux07:22
DocScrutinizer05http://paste.opensuse.org/43021802  aaaaand BINGO, guess I bought me a reboot07:24
stryngsWay ahead of ya DocScrutinizer05 =)07:25
DocScrutinizer05well, it's known that VANILLA "flashing" can't get terminated except by shutting down the system hard (or possibly by parameter -R and completing the flashhing process, never tested that)07:28
DocScrutinizer05so yeah, I had to shut down a device which pretended to be dead07:28
DocScrutinizer05exactly what happens with flashing VANILLA07:28
stryngsDocScrutinizer05: I'm almost done with this CSV.  I'm using plaintext files for "trust" factors.07:30
DocScrutinizer05at least that's what I seem to recall. Not 100% sure if it's actually softupd daemon that does VANILLA flashing07:30
*** robink has joined #maemo07:30
stryngsDocScrutinizer05: I simply pull the battery, it works for me07:30
DocScrutinizer05sure07:30
stryngsDocScrutinizer05: There have been cases, where i've had to do the triple flash, but those are rare now.07:30
DocScrutinizer05funny: when I pressed power button first time, the indicator light started shining white and steady. 8s pressing power button then made NOKIA bootloader kick in and device shuts *down*07:32
stryngsAh, yeah, I go for the throat; Never trusted the power down method for flashing07:33
DocScrutinizer05all this stuff is *very* obscure and undocumented for maemo07:33
stryngsI figure it's all the same07:33
stryngsDocScrutinizer05: That's why I want a "new method" for the future =)07:33
stryngsDocScrutinizer05: And if I can help be a part of something that gives back, then I've done my part.07:33
DocScrutinizer05new method of flashing? good luck07:33
stryngsDocScrutinizer05: Not flashing, but "Base Image" for maemo07:34
stryngsDocScrutinizer05: The proposal07:34
stryngsDocScrutinizer05: It'll be documented, from start to finish 100%.  Already have a nice outline07:34
DocScrutinizer05I don't see how to document the very beginning: the flashing process in NOLO and softupd07:35
stryngsDocScrutinizer05: http://termbin.com/kofx07:35
stryngsDocScrutinizer05: That's how we do it07:35
stryngsDocScrutinizer05: Keep in mind, that's pwnphone methodology, but it can be applied towards Maemo as a whole.07:35
*** robink has quit IRC07:35
stryngsDocScrutinizer05: And I say pwnphone, but it's not even pwnphone anymore, pwnieexpress stopped supporting the n90007:35
DocScrutinizer05sorry, too tired to look into that now07:36
stryngsDocScrutinizer05: It's nameless =)07:36
stryngsDocScrutinizer05: NO worries07:36
stryngsDocScrutinizer05: check it out when ya can, throughouly documented from start to finish07:36
DocScrutinizer05aha. So they RE'd NOLO or what?07:36
stryngsWell, it was an attempt to make a true "Walkthrough" for those who have ZERO n900 experience07:37
DocScrutinizer05ooh, THAT kind of "docs"07:37
stryngsDocScrutinizer05: Thus far, it has good reviews.  The plan is to take those directions, and apply them towards a more uniform user experience, not just a pwnphone style methodology07:37
DocScrutinizer05I thought about docs like you can find in 0xFFFF and http://www.omappedia.org/wiki/Bootloader_Project and http://talk.maemo.org/showthread.php?t=2046507:39
stryngsDocScrutinizer05: Ah, yeah, nothing like that =)  Not trying to make heads explore07:40
stryngsDocScrutinizer05: Ah, yeah, nothing like that =)  Not trying to make heads explode07:40
*** beford has quit IRC07:44
*** beford has joined #maemo07:46
DocScrutinizer05http://talk.maemo.org/showthread.php?t=1766507:46
DocScrutinizer05~l1_207:47
DocScrutinizer05hmm07:47
DocScrutinizer05https://www.google.de/search?q=Nokia_N900_RX-51_Service_Manual_Service_Level_1_2.pdf  http://directoriopt.com/read/?file=http://directoriopt.com/donld/tYXZLT/nokia-n900-rx-51-service-manual-service-level-3-4.pdf07:50
DocScrutinizer05sorry, forget the latter, it's nagware shit07:52
stryngs=)07:53
DocScrutinizer05http://www.cpkb.org/wiki/Nokia_N900_service_manual_and_schematic_download07:55
DocScrutinizer05was legit once07:55
DocScrutinizer05L3_4 is really great doc07:55
stryngsDocScrutinizer05: How long u been playing the n900 game?07:56
stryngsDocScrutinizer05: I know your the "reason" for neo900, yea?07:56
DocScrutinizer05hmm?07:56
DocScrutinizer05dang, seems the public sources for L3_4 are ... dried07:58
DocScrutinizer05ping me if you can't find it07:58
*** robink_ has joined #maemo08:00
stryngsWoo!  http://talk.maemo.org/showthread.php?p=1481135&posted=1#post1481135   First vote has been called for, check it out!08:02
stryngsDocScrutinizer05: The most recent post contains the package CSV file08:02
*** robink_ has quit IRC08:11
*** robink_ has joined #maemo08:24
*** aloril has quit IRC08:25
*** robink_ is now known as robink08:28
*** LauRoman has joined #maemo08:35
stryngsAlright, WORN the heck out, headed off to sleep.  For those interested, check out the CSV and apply your thoughts as you see fit =)  http://talk.maemo.org/showthread.php?p=1481123#post148112308:43
KotCzarnyyawn09:01
KotCzarny'morning09:01
KotCzarnyyeah, everything needed for boot goes to /, non-boot important packages to /usr09:01
KotCzarnywill probably require updating some debs?09:02
KotCzarnyand maybe changing optifier in installer to stop or check how much stuff goes to / just in case of bad packages09:03
KotCzarnyand maybe bindmounting /opt into /usr09:04
*** Roth has quit IRC09:04
KotCzarnystryngs: this is what i remove personally (might be bit too much tho): http://wiki.maemo.org/Slimming_OS09:05
Tekk_What's the recommended app for youtube these days?09:12
KotCzarnycutetube209:12
Tekk_in extras-devel I assume?09:12
KotCzarnymost likely09:13
Tekk_also is there any way to get ham to stop complaining about the nokia repos that were killed?09:13
KotCzarny~maemo-repos09:13
infobotmethinks maemo-repos is http://wiki.maemo.org/Repository#List_of_Maemo_repositories09:13
KotCzarnyalso install cssu and use speedyham09:13
KotCzarny~speedyham09:13
infobot[speedyham] 30 times faster than HAM http://maemo.merlin1991.at/cssu/community-devel/pool/free/h/hildon-application-manager/hildon-application-manager_2.2.73-2_armel.deb09:14
Tekk_I've got cssu09:14
Tekk_is speedyham okay these days?09:14
KotCzarnywasnt it?09:14
KotCzarnyit was fap that had problem09:14
KotCzarny~fap09:14
infobotextra, extra, read all about it, fap is good09:14
KotCzarnyhum09:14
KotCzarny~fam09:14
infobotfrom memory, fapman is Faster Application Manager, a frontend for apt which uses own repositories catalog, and shouldn't be used to do system upgrades (like CSSU), or actually for anything since ~speedyHAM. It also does "apt-get autoremove" after every operation, by default. In short, it's been identified as source of system corruption and thus deprecated, or see ~hamvsfam09:14
Tekk_ah09:14
Tekk_I was probably mixing them up then09:14
*** chainsawbike_ has joined #maemo09:22
*** chainsawbike has quit IRC09:23
*** chainsawbike_ is now known as chainsawbike09:23
*** protem has quit IRC09:27
*** _rd_ has joined #maemo09:30
*** vectis has joined #maemo10:23
* Maxdamantus is buying a new battery.10:39
MaxdamantusLast Measured Discharge: 949 mAh10:40
*** eMHa has quit IRC10:42
KotCzarnyme is buying second n90010:43
*** _rd_ has quit IRC10:45
*** aloril has joined #maemo11:06
*** _rd_ has joined #maemo11:23
*** hubutm20 has quit IRC11:25
*** aloril has quit IRC11:32
*** aloril has joined #maemo11:39
*** _rd_ has quit IRC12:02
*** Pali has joined #maemo12:06
sixwheeledbeasthmm https://blog.mozilla.org/security/2015/09/04/improving-security-for-bugzilla/ not as important for our bugzilla but interesting attack route.12:13
*** LauRoman has quit IRC12:20
*** Pali has quit IRC12:25
*** Pali has joined #maemo12:30
*** Oksanaa has joined #maemo12:37
SiceloKotCzarny: you've found one? happy for you. i wouldn't mind a third one12:48
KotCzarnysicelo: finding isnt a problem, getting my a** to actually buy it is in my case12:48
Sicelomy 2nd N900 cost me only US$15 :)12:48
KotCzarnyw00t12:48
Siceloof course it was broken, no usb, and no battery .. but i knew i could trust the guy, and took the jump. now it's even in better condition than my main N900 :)12:49
Siceloonly money spent was usb port, flux, solder wick. the rest of the "investment" was just time12:51
KotCzarnywell, this one i'm getting for ~50usd12:51
SiceloBUY IT FFS12:51
KotCzarnyswedish version12:51
Sicelo:D12:51
KotCzarnyno problems otherwise12:51
Sicelowhat's delaying you?12:51
KotCzarnythe guy has to send me the bank account number12:51
*** _rd_ has joined #maemo12:51
KotCzarnywoke him this morning, he he12:52
Sicelo:)12:52
Sicelobest wishes man12:52
KotCzarnyyeah, he seems ok12:52
Sicelocan never go wrong with N900. i wouldn't mind getting an N9, but it's one i'd never get more than 1 of. but for N900 can buy as many as i can find and afford12:53
KotCzarnyit will be my battlefield unit12:53
KotCzarnyanyway, bbl12:53
SiceloMaxdamantus: that battery .. how long it lasts you now?12:53
MaxdamantusSicelo: probably 20 hours or so.12:57
MaxdamantusI don't usually do anything crazy on it.12:58
*** Oksanaa has quit IRC12:59
Ras_Olderstryngs: took a brief look to your list of packages. This is just me maybe but should we let the Adobe Flash die off already? :D is it really required anymore when major website are moving towards alternatives mainly HTML5 and such?13:04
Ras_Older*typos13:05
*** Oksanaa has joined #maemo13:09
SiceloMaxdamantus: my batteries are roughly at that same capacity13:12
MaxdamantusRegarding the / vs. /opt thing .. I just have pretty much everything on a single ext3.13:12
Maxdamantusthe ubifs is used as a sort of writable initramfs.13:12
Maxdamantusso it has the modules for the kernels I might want to use, and a script to load the ones required to continue booting with the ext3 partition.13:13
*** M4rtinK has joined #maemo13:13
MaxdamantusThe root of that ext3 isn't even a root filesystem: it's actually /home and also contains maemo5-root, debian-armel-root, shr-root (haven't tried that recently), opt and nix13:15
Maxdamantusalso, the fat32 on ~/MyDocs is a really bad idea.13:16
Maxdamantusiirc, the OS doesn't make sure the filesystem is unmounted before making it visible through g_file_storage13:17
MaxdamantusSo it'd be pretty easy to accidentally have it mounted (rw) on two systems.13:17
Siceloit does ensure that13:18
Sicelobtw, did you document your setup somewhere? :)13:18
MaxdamantusNot really. I think I posted my hacky init script here a while ago.13:19
MaxdamantusAre you sure it ensures that? I'm pretty sure at least it doesn't wait for you to interact with the dialogue that pops up.13:19
Siceloit waits. at least both my N900 do.13:20
MaxdamantusAlso related: the mmc module suddenly removing access to the SD card when the backcover is removed is also a really bad idea.13:20
Maxdamantusit's like the opposite of "safely remove hardware"13:21
Siceloi believe it also unmounts it properly for backcover too :)13:21
MaxdamantusI'm certain that it doesn't.13:21
MaxdamantusI've modified the module. It completely blocks all access to it when it sees the GPIO status change.13:22
Sicelohmm, weird13:22
MaxdamantusThe kernel can't even force remount it read-only (as in sysrq u)13:22
*** Oksanaa has quit IRC13:24
MaxdamantusThough the OS does unmount it itself, it only gets to remove it from the tree. It can't do a clean unmount.13:26
Sicelook. i was just now thinking about what a computer would do on forcible removal of a usb stick13:27
MaxdamantusLinux itself doesn't do much, but you can detect such a removal from userspace and try to unmount it, which just removes it from the tree.13:31
Maxdamantusotherwise it'll stay mounted and you might get IO errors or something occasionally, depending on the filesystem.13:33
*** sparetire_ has joined #maemo13:34
keriowhat's the reasoning behind cutting off the microsd, again?13:41
kerioi thought it was hardware controlled tbh13:41
MaxdamantusNot sure, but it's not hardware-controlled.13:41
MaxdamantusI changed a line in the module to keep it visible, so I can keep accessing it while the backcover is open.13:42
MaxdamantusThough apparently the logic to handle removing the card is also meant to be under that state, so I can't physically remove the card and use the slot again without reloading the module.13:43
Maxdamantuswould probably need a few more changes.13:43
*** Vajb has quit IRC13:54
*** Vajb has joined #maemo13:55
*** Kabouik has joined #maemo14:03
*** eMHa has joined #maemo14:04
*** kylanpaj has quit IRC14:12
*** kylanpaj has joined #maemo14:18
*** ssvb has quit IRC14:26
Ras_OlderWas it possible to change your username at Maemo.org? I think its bit confusing that everywhere else I go by Ras_Older but there I had a brainfart back in the day and used my old nick :D14:51
*** _rd_ has quit IRC14:55
Ras_OlderApparently by dropping an email to techstaff.14:56
*** _rd_ has joined #maemo15:02
*** futpib has joined #maemo15:07
*** darkschneider has quit IRC15:07
*** darkschneider has joined #maemo15:08
*** _rd_ has quit IRC15:22
Sicelowhich package or config would cause N900 to "wake" up even when lockscreen was active?15:31
Sicelosorry .. wake up when camera door gets opened ... which package or config is responsible?15:37
KotCzarnymaybe camera one15:38
KotCzarnywould be logical15:38
merlin1991iirc the camera-ui part does that15:40
Sicelomain N900 doesn't have this, but 2nd one does. I want to disable it15:47
Sicelotried to look in dbus .. didn't see anything15:48
KotCzarnysniff dbus and see what sends unlock msg?15:49
KotCzarny(via ssh)15:49
*** _rd_ has joined #maemo15:51
Sicelothat's what i did. will redo15:53
Siceloah .. was checking wrong bus15:54
Sicelohttps://paste.debian.net/310473/15:57
Sicelo not sure what's sending the unlock .. other N900 has exactly the same, except the tklock15:58
Sicelogoogle time15:58
Sicelohttp://talk.maemo.org/showthread.php?t=45883 someone once had same problem. but no one explained the "why"16:06
*** _rd_ has quit IRC16:09
merlin1991Sicelo:  /apps/camera/settings/extra-settings/disable-show-on-lenscover-open16:15
merlin1991in gconf16:15
Sicelothanks. let me check. thought i'd checked gconf too16:18
Sicelohmm, so it's an "extra" key :) will add16:19
Siceloi see now that my ohter N900 does have it. thanks merlin199116:19
*** ssvb has joined #maemo16:26
*** filosofem_ has quit IRC16:31
*** brutal has quit IRC16:31
*** filosofem_ has joined #maemo16:32
*** ssvb has quit IRC16:45
VajbDoes anyone else have issues with yappari lately? For me it's quite unstable.17:01
*** beford has quit IRC17:17
stryngsKotCzarny: imho, optifier should be reduced to nothing more than a dummy package; Assuming we get everyone on board with FHS or bindmounting.17:36
stryngsKotCzarny: I'm all about redoing the .debs.  I've already built a script to decompress them; would be hard to modify it to automate the whole process.17:36
stryngsKotCzarny: I've notated your Slimming_OS post and will check it out here in a bit.17:37
stryngsPs... Reading scrollback =)17:37
stryngsKotCzarny: Yeah, my thoughts are to incorporate CSSU by default and speedyham to replace ham.  Just haven't made that list just yet.  Trying to keep the paths seperate until they're ready for convergance17:39
stryngsRas_Older: I'm okay with murdering off of adobe flash.  Some of those packages I wanted to REMOVE, but wasn't sure if they could be added back in.  afaik, there are some .debs that ONLY exist in the binary image and aren't hosted.  I figured flash might be one of em.  Either way, if we can re-get flash, it's a definite "should be gone" from baseline.17:41
stryngsMaxdamantus: Ah, so you have done some Filesystem hacks I see =)  Do you have a write-up somewhere of what you did, what it accomplished, and how you did it?17:42
stryngsMaxdamantus: Per Nokia, removing backcover; it SAFELY powers it down.  Granted, this is from Nokia, but they wouldnt have it in writing if it wasn't true, imho.17:43
stryngsRas_Older: Talk to warfare for namechanges, he's one of the maemo.org folks.17:44
stryngsAlright, be back a bit later.  Catching traction with "unification" idea! =)  CSV has been updated on first post with Ras_Older's votes.17:45
*** APic has quit IRC17:46
*** ssvb has joined #maemo17:47
ZetaRstryngs: Why not use "dpkg --root=foo" instead of manual decompressing? (I may have missed some context that was stated earlier)17:58
ZetaRAFAICT, it was designed for this purpose (installing debs on a mounted root filesystem).17:59
*** eMHa has quit IRC18:04
*** KotCzarny_ has joined #maemo18:17
*** Luke-Jr has quit IRC18:17
*** KotCzarny has quit IRC18:18
*** KotCzarny_ is now known as KotCzarny18:20
*** APic has joined #maemo18:49
*** _rd_ has joined #maemo18:56
SiceloVajb: unstable in what way?19:00
* Ras_Older is really waiting for Cyber Security & ICT expo held in Finland, Jyväskylä 23.9 to 25.9 ^^19:04
*** darkschneider has quit IRC19:07
*** darkschneider has joined #maemo19:08
*** Luke-Jr has joined #maemo19:25
*** wnd has quit IRC19:27
*** _rd_ has quit IRC19:29
SiceloVajb: unstable in what way?19:33
Sicelosorry for that .. mistake19:33
Vajbunstable as it aborts or segfaults often19:34
Vajbterminate called after throwing an instance of 'ProtocolException*'19:34
VajbAborted19:34
Vajblast two lines and then it crashes19:35
Sicelook. does that for me too, not that pervious one was any better .. i was getting same thing19:35
Sicelo*previous19:35
Vajbyes same problem with previous19:35
*** _rd_ has joined #maemo19:35
Vajbi removed one group conversation since it was always mentioned near crash time, but didn't help19:36
Siceloi'm not even in any groups19:38
*** fk_lx has quit IRC19:40
*** Luke-Jr has quit IRC19:40
Vajbhopefully ceene is working for a fix :)19:43
*** Luke-Jr has joined #maemo19:45
*** yosafbridge has quit IRC19:48
DocScrutinizer05((<Maxdamantus> I've modified the module. It completely blocks all access to it when it sees the GPIO status change.)) useless, since the module itslf actually cuts VDD for the uSD card when battery lid opened19:51
*** yosafbridge has joined #maemo19:54
DocScrutinizer05iirc it does a lazy-umount (or somesuch), and then cuts the the power to uSD card, so it won't get damaged - or device getting damaged - when removing the card and inserting another one20:00
DocScrutinizer05in Neo900 we slightly modified the concept, so it has a switch in card tray itself that signals "tray closed". Nevertheless we keep the magnet switch to detect battery lid removal, for whatever purposes (e.g. `sync; sync`) We also changed the red "privacy LED" in camera to a RGB type to signal different states like "uSD unmounted and safe to remove now" rtc20:02
DocScrutinizer05#s/rst/etc/20:03
*** N-Mi has joined #maemo20:10
*** _rd_ has quit IRC20:12
*** ecc3g has quit IRC20:20
*** ecc3g has joined #maemo20:30
stryngsZetaR: What purpose would the dpkg --root=foo do?  Not following20:37
*** _rd_ has joined #maemo20:39
KotCzarnyinstalls to foo instead of /20:40
KotCzarnymost likely20:40
ZetaRYes. It is similar to using chroot, but it uses dpkg from / rather than from the new root (IIRC).20:43
ZetaRI am not sure how/why you are decompressing the debs some other way though, since I missed the context for your statement about it.20:44
buZzanyone here in a hackerspace with spacenet? :P20:44
buZztrying to get my N800 to connect to it, to no avail20:45
*** LjL is now known as LjL-Cat20:49
KotCzarnybuzz: did you try oscp yet?20:50
buZzno, i havent put any music on it yet :P20:51
KotCzarnyit works with internet streams too20:51
KotCzarny:P20:51
stryngsZetaR: That doesn't work for apt-get purposes though20:52
ZetaRstryngs: What is the context/use here?20:53
buZzbut i'd rather go on wifi here @ hackerspace :P20:53
ZetaRYou have local deb files, and are trying to install them?20:54
stryngsZetaR: I'm not sure, you kinda lost me when you wrote of dpkg --root=foo.  Not sure where you're going with it.20:54
KotCzarnyzetar: he tries to get rid of optification and few other things20:54
stryngsZetaR: It's a neat use of dpkg, but I want a more world-scope plan, not a local hack.20:54
stryngsKotCzarny: Oh, I murdered off optification.  What I'm curious now of though, is FHS or bindmounting...20:55
ZetaRAhh, okay, so you are repackaging debs to remove optification?20:55
KotCzarnydoes apt have option that gets added to every dpkg command?20:55
stryngsZetaR: Not at all.  I just use a naked pymaemo-optify .deb20:55
stryngsZetaR: A deb is a deb is a deb.  You ever built one?20:55
KotCzarnystryngs, give him the link to your manifesto20:55
stryngsmanifesto, bwhahaha =)20:56
SiceloKotCzarny: i'd think it's rhe other way round. apt uses dpkg, dpkg does not even know about apt :)20:56
stryngshttp://talk.maemo.org/showthread.php?t=9592220:56
KotCzarnysicelo, but i asked if there is such config option for apt that will get passed to dpkg -i20:56
Sicelothe answer would be no, :)20:57
stryngsSo ZetaR, a deb is pretty much a smart tarball.  It contains 6 things20:57
stryngswithin the deb it looks like this:20:57
stryngsDEBIAN, and then usr, or etc, or opt20:57
stryngsetc..20:57
stryngsWithin DEBIAN you have 5 total possible files, 1 of which is mandatory20:57
stryngscontrol20:57
stryngscontrol is the configuration of a .deb file20:58
stryngsapt-cache show nmap for an example20:58
KotCzarnystryngs, unpack .deb via: ar x your.deb20:58
stryngsthat's a basic control file, what u see with apt-cache show20:58
stryngsKotCzarny: Oh im getting there20:58
KotCzarnyits a bit different20:58
stryngsKotCzarny: Negative =)20:58
stryngsone sec20:58
KotCzarnyit has 3 files afaik20:58
KotCzarnyfs and deb control and some pkg info20:58
stryngsHere u go20:58
stryngshttp://termbin.com/xik920:58
stryngsgrab that20:58
stryngsrename it to rebuild20:59
stryngschmod +x it20:59
stryngsthen do:20:59
stryngs./rebuild <deb>20:59
stryngsThat will unpack it properly20:59
stryngsSo you can modify it20:59
stryngsSo, back to the deb story20:59
KotCzarnyno, i was just tlking about .deb contents in general20:59
ZetaRI have taken apart debs before. I was replying to "stryngs: KotCzarny: I'm all about redoing the .debs.  I've already built a script to decompress them; would be hard to modify it to automate the whole process." but I didn't have the previous comments, so it sounded like you were trying to install them in some odd way.20:59
stryngsYeah, but dpkg -x is cleaner than ar -x20:59
stryngsar allows u to see DEBIAN though.20:59
* stryngs is kind of lost on what the topic is right now, truth be told.21:00
Siceloheh21:00
ZetaRI didn't really know what the topic was to begin with. :)21:01
KotCzarnyzetar, topic is stryngs murdering optification and moving fremantle toward fhs21:01
stryngs^^21:02
stryngsAlso, the Unification and moving away from the fragmentation that has become Maemo21:02
KotCzarnyand changing cssu installation in the process into single pkg install21:02
stryngs^21:02
stryngsThat about sums it up21:02
ZetaRThat is what I thought, but I was confused by the "not at all..." reply by stryngs.21:02
stryngsAlso, the ability to give yourself a nice base system, 100% without being connected to the internet.21:03
stryngs13:55 < ZetaR> Ahh, okay, so you are repackaging debs to remove optification?21:03
stryngsThat's when I said not at all, now i follow21:03
stryngsSo ZetaR, aside from .debs we want to modify, we don't have to repackage anything21:03
stryngsZetaR: All pymaemo-optify does is some nasty mounting to put everything on /opt21:04
ZetaRYou follow me not following? Heh.21:04
stryngsZetaR: If you remove pymaemo-optify, you have a very clean filesystem21:04
stryngsZetaR: The problem is though, if u remove it, you only have 256MB on /21:04
stryngsZetaR: so, you must modify your filesystem layout21:04
ZetaRRight.21:04
stryngsZetaR: Which I have done, successfully21:04
KotCzarnyone word, fhs21:04
stryngsKotCzarny: fhs or bindmounting, either way; we just all have to agree.  And many people have said FHS, but no steps has been presented21:05
KotCzarnyif you move boot things into / and non-boot critical stuff into /usr its clean21:05
KotCzarnyit has to be clearly defined21:05
stryngsKotCzarny: We need steps for this =)  I wish I had some?21:05
ZetaRSo, you are now going to mount the eMMC as /usr (like Nokia should have done)?21:05
KotCzarnyonce you have it, you can have /usr anywhere21:05
KotCzarny flash, emmc, sd21:06
stryngsZetaR: Well, right now, I only know one way to proceed, and that is my bindmount hacks.  I would LOVE the FHS method, but, I don't know how to implement it.  Others have mentioned it, but no steps or guidance has been presented on paper yet.  So, all I have to go with till then, is my bindmount techniques.21:06
KotCzarnyif you have things in /usr, you can use normal mount, no need for binding21:07
ZetaRI saw the text you posted about it. I am not sure why you are doing /lib and /sbin and stuff as bindmounts.21:07
stryngsKotCzarny: So how do we move them there?21:07
stryngsKotCzarny: Without repackaging and recompiling EVERY deb21:07
ZetaRYeah, just have NAND as / and eMMC as /usr.21:07
stryngsZetaR: Because they take up space on /21:08
ZetaRBut stuff shouldn't generally install to /lib and /sbin.21:08
stryngsZetaR: I moved as much stuff as I could, to alleviate the strain on NAND, only 256MB is easy to fill up when adding the types of .debs I do.21:08
stryngsWell, aircrack-ng21:08
stryngsStuff goes to sbin21:08
ZetaRIt should go to /usr/sbin21:08
stryngsRight, but sometimes, it just doesn't and you have to account for that.21:09
stryngsActually, I take that back, it does do usr/sbin21:09
stryngsPoint being, I offloaded as much as I could to the larger hdd21:09
stryngsand in truth, It's still FHS compliant21:09
stryngs/home/rootfs_bind/usr on /usr21:10
stryngs usr is still under /21:10
stryngsJust mounted21:10
ZetaRIf a package is going to /sbin and it is not required for boot or basic CLI diagnostics, then it is probably wrong and needs to be fixed.21:10
KotCzarnywould be nice to have system which can boot without /usr mounted, yet being able to charge, rescue itself etc21:10
KotCzarnyand only needing /usr for full boot21:11
ZetaRRight.21:11
stryngsKotCzarny: afaik, backupmenu ssh solution does this21:11
stryngsKotCzarny: You have to manually mount a whole bunch of stuff21:11
KotCzarnyonce i get my secondary n900 im going to hack it till it screams21:11
stryngsAlright, well I suppose it's time to make the FHS post.21:12
stryngsI'll be back here ina  bit21:12
stryngsI'm just glad people like the idea.21:12
ZetaRstryngs: It just seems unnecessarily complicated the way you are doing the mounts.21:12
stryngsI wasn't sure if it would gain traction21:12
stryngsZetaR: What I do allows me to install any .deb I want, without overflowing /21:12
stryngsZetaR: I can grab any kali armel deb i want21:12
stryngsZetaR: Other user's however, cannot, unless they take similar actions as me, and this is due to optification bs.21:12
ZetaRIf /usr is the eMMC then you should be able to do that anyway.21:13
stryngsWhat about when /etc fills up?21:13
ZetaRThat is, if everything is propery deoptified.21:13
KotCzarnystryngs, some people do things using overlay mounts21:13
stryngsWe don't want to have to repackage every single .deb though; we want the most efficient time saving manner possible, while still making maemo useful.21:13
KotCzarnyie. have a booting os in flash, and overlay in emmc21:13
ZetaRIt would be very difficult to fill up /etc, since stuff should never put much data in it.21:13
KotCzarnythat way you can install every deb too21:13
stryngsZetaR: My thoughts were not so much that it can be difficult, but that it could happen, hence the precautions I took.21:14
KotCzarnyand also allows for easy snapshots21:14
stryngsTake for instance, /var/apt/cache/archives21:14
stryngsWhat's that mounted on21:14
stryngs/var/lib/dpkg rather21:14
stryngsEither way, I don't want to argue about it, I want us to come together and implement a solution!21:15
stryngsWhatever the majority decide, if folks want to cash in on this; is how we'll proceed.21:15
stryngsIf the majority decides my current way sucks; and can make it better, I'll use what tey do.21:15
stryngsteam effort.21:15
KotCzarnyi wouldnt mind some cash21:15
stryngsWell KotCzarny, in that respect21:15
ZetaRIMO, if something is filling up the NAND by putting stuff in /etc or /lib or /sbin, then it is wrong and needs to be fixed. I don't think it is the job of mount to fix it. But this is your project, just sharing my opinion.21:15
stryngsKotCzarny: If this goes mainstream, then you can put it on your resume.21:15
KotCzarnystryngs, unlikely21:16
stryngsZetaR: That is exactly the feedback I want.21:16
KotCzarny(resume wise)21:16
stryngsZetaR: Constructive Critisim with useful remarks.21:16
ZetaR:)21:16
stryngsNokia-N900:/lib# du -h . | tail -n 121:16
stryngs24.9M   .21:16
stryngsthats 24.9M21:16
KotCzarnyi think optification was a quick and dirty way of 'deb needs a fixing'21:17
stryngsKotCzarny: It was21:17
stryngsKotCzarny: it did the job, but it's time to update how we do things21:17
stryngsAlright, enough chattering from me, let me make Part III happen21:17
stryngsFHS -vs- Bind Mounting.......... FIGHT!21:17
KotCzarnyi wonder if emmc could take the beating of having fs on it21:17
stryngsKotCzarny: You mean full fs?21:18
KotCzarnyyes21:18
ZetaRstryngs: du without pipe: "du -h -d 0 /etc"21:18
KotCzarnywith ext3/421:18
stryngsKotCzarny: iirc, No.21:18
KotCzarnyhum21:18
stryngsKotCzarny: Too slow was what I heard.21:18
KotCzarnyslowness doesnt bother me21:18
stryngsKotCzarny: Performance issue, but, why the hell can't we try21:19
KotCzarnyflash wear do21:19
KotCzarnywhen i get my n900, im going for a 'boot os in flash, full os in sd'21:19
KotCzarnyand using emmc for media storage only21:19
stryngsWhat if a user can't use their SD card.21:20
stryngsKotCzarny: I know you can, but then your idea only applies to those who have working SD cards =(21:20
stryngsKotCzarny: Not a universal approach21:20
KotCzarnythen its only changing pivot_root from sd mount to emmc mount21:20
KotCzarnyit even could be boot menu selectable21:20
stryngsKotCzarny: So let's make it happen =)21:21
KotCzarnydont mind me too much, i had few ideas on my own for a long time, just didnt have the poor n900 for beatings21:21
stryngsKotCzarny: I'll saccrifice mine for the cause =)21:21
KotCzarnyif i'll be successfull there will be my own flashable image for testing21:22
ZetaRUnder a fairly default Debian install: /bin 6.8MB, /etc 4.0MB, /sbin 8.5MB, /var 849MB (???), /boot 33MB, /home 9.1GB, /lib 170M (why?), /root 25kB, /tmp 44kB, /usr 2.6GB21:23
KotCzarnylib is big because it has to have most of glibc21:23
KotCzarnyand kernel modules21:23
ZetaRAh. Let me check my N900 to see how big it is on that.21:24
KotCzarnyunless you move boot process to klibc or uclibc there is no way around21:24
*** protem has joined #maemo21:24
KotCzarnyon my slackware /lib is 99M21:24
Siceloand /var is also big on regular distro for log files .. they grow real fast. maemo doesn't keep them, except one or two21:25
KotCzarnyand most of it is in /lib/modules21:25
KotCzarny /var is 182M21:25
ZetaRYeah, I thought it might be log files, but it still seems huge.21:25
KotCzarnyif you have setup logrotate with compression its not that big21:25
Siceloin fact, there can even be "config" files in /var21:25
KotCzarnysicelo, /var/cache21:25
KotCzarnymost likely hogs it21:25
KotCzarnyand if you have mailer/printer, then /var/spool21:26
ZetaROn my N900: /bin 964k, /etc 5.9M, /sbin 1.9M, /var 26M, /home 495M, /lib 23.4M, /root 16k, /tmp 80k, /usr 245.2M21:28
KotCzarnyuse -x for du21:28
KotCzarnyso it wont go across fs boundaries21:29
ZetaRI didn't want it to. This way it doesn't care about /opt and such but rather tells you where files are in the hierarchy.21:29
KotCzarnyoh well21:30
KotCzarnymy /usr is 289M and 237M with -x21:30
ZetaRi.e. /usr and /home need to be eMMC, but everything else can probably be NAND. Not sure about what to do with /var on the N900.21:31
KotCzarnyyou have to use emmc21:31
KotCzarnyotherwise your deb catalogs would hog space21:32
KotCzarnyalso intermediate package downloads21:32
Sicelo /var on N900 is generally small .. i don't se it hogging anything.21:32
ZetaRAre /var and /home safe to symbolically link, rather than doing bind mounts? AFAICT, that is what symbolic links are for.21:32
KotCzarnythats because /var/cache is symlinked to /opt21:32
KotCzarnysymlinks are a bit slower than bind mounts21:33
KotCzarnynot that much tho21:33
ZetaRAh.21:33
KotCzarnybut there is still danger of circular loops21:33
ZetaROnly if you are careless.21:34
KotCzarnyhmm21:35
ZetaRI know some programs try and resolve the absolute path and such. Not sure when this becomes a problem.21:35
KotCzarnyright now we are already having big hunk of fs on emmc21:35
KotCzarnyim more and more inclined to move it to emmc or ssd in whole21:37
SiceloSSD :)21:37
KotCzarny:)21:37
KotCzarnypiggybacked 1.8" ssd  ? ;)21:37
Sicelowhich was the Nokia with a hard-drive by the way?21:38
KotCzarnyswap my b*tch up!21:38
SiceloN9121:38
ZetaRJust use a very small PATA drive! https://en.wikipedia.org/wiki/Microdrive21:39
KotCzarnynah, microdrives are slow21:39
KotCzarnyssd baby21:39
KotCzarnyi think even cf cards are faster than microdrives21:40
*** ced117 has quit IRC21:41
ZetaRMicrodrives are just more fun.21:41
KotCzarnyhad pcmcia one21:41
KotCzarnyit was slow as hell21:41
KotCzarnyparking head just about after every operation21:41
*** AndrewX192 has quit IRC21:48
*** AndrewX192 has joined #maemo21:49
KotCzarnybtw. tracker is needed for people who use system image viewer/player21:50
KotCzarny(i dont so it doesnt bother me, just saying)21:51
* Sicelo has learned to come to terms with it 21:52
*** xes_ has joined #maemo21:53
*** xes has quit IRC21:56
*** florian has joined #maemo22:13
*** Luke-Jr has quit IRC22:13
*** Roth has joined #maemo22:19
*** Luke-Jr has joined #maemo22:20
*** _rd has joined #maemo22:25
*** _rd_ has quit IRC22:26
DocScrutinizer05tracker SUCKS, so do all apps that rely on it. Braindamaged concept of a phantom filesystem22:29
*** eMHa has joined #maemo22:29
*** N-Mi has quit IRC22:30
DocScrutinizer05gnome invention, I guess22:30
DocScrutinizer05or rather freedesktop22:30
KotCzarnynice invention, but tricky to get right22:31
DocScrutinizer05tracker is fine for a "desktop document search engine" like err spotlight(?), abusing it for the primary and even only "filesystem" access method in any app is really braindead22:32
Siceloyes, that's true.22:32
Sicelothe problem is the "apps" though, not tracker itself22:33
DocScrutinizer05yes, of course22:33
KotCzarnyand thats why oscp was born22:33
KotCzarny:)22:33
SiceloMaemo's stock apps are definitely bad for not giving other other options besides tracker :)22:34
KotCzarnyluckily we can have any app compiled/used22:35
DocScrutinizer05that's a "apple me-too" attitude22:35
Sicelosince i don't like to have 10 apps for images, and 5 for music, etc, then I stick with tracker22:35
DocScrutinizer05and I criticized that from very beginning of tracker, with maemo522:35
Sicelootherwise i may as well go Android, and have 99 apps for sudoku :D22:35
KotCzarnysicelo, oscp can handle almost any file format22:36
KotCzarny(audio file format, that is)22:36
Sicelo:) i'm sure it can22:36
*** xray256 has quit IRC22:36
KotCzarnyand oscv can handle most popular image ones22:36
DocScrutinizer05it's about adding meta info to plain old unix filesystems22:36
KotCzarnyeven animated gifs and multipage tiffs/pdfs22:37
DocScrutinizer05tracker is the wrong solution to an inexistent problem22:37
KotCzarnydoc, tracker was for lazy-clicky people that didnt know where their files were22:37
DocScrutinizer05trying to push a "filesystem agnostic" approach22:37
DocScrutinizer05KotCzarny: *exactly*22:38
Siceloi look at it as a database (which it is)22:38
KotCzarnyits bad database22:38
KotCzarnygood for ideal world22:38
Sicelopossibly, but works :)22:38
KotCzarnybad for real one22:38
DocScrutinizer05>>users don't know what's a directory<< original text of some evangelist of that concept in maemo522:38
* Sicelo has yet to see the real problem with tracker (besides the hogging cpu while indexing)22:39
KotCzarnyumm22:39
KotCzarnymy files are laid out nicely22:39
DocScrutinizer05Sicelo: oh really?22:39
KotCzarnytracker just makes a mess out of them22:39
Sicelobut i agree 100% that apps which make tracker the only way to access files are broken22:39
Sicelomess? how?22:40
DocScrutinizer05Sicelo: pretty simple: have two mp3 of same metatags, one on eMMC and one on uSD22:40
DocScrutinizer05have fun¡22:40
*** Luke-Jr has quit IRC22:40
KotCzarnysicelo: untagged files, some tagged badly22:40
KotCzarnybut filenames/dirnames are ok22:40
DocScrutinizer05Sicelo: another one: you keep your pr0n in a folder ~/.pr0n22:40
Siceloi thought people have their files "laid out nicely" ..22:40
DocScrutinizer05open up gallery22:40
KotCzarnynow tracker categorizes them in different places22:41
SiceloDocScrutinizer05: tracker won't index that pr0n. you know it.22:41
DocScrutinizer05aha22:41
KotCzarny.files are hidden22:41
KotCzarnyand .dirs22:41
Siceloisn't that what you want?22:41
DocScrutinizer05then maxe that ~/foobar22:41
DocScrutinizer05or *whatever* you like22:41
* Sicelo doesn't get DocScrutinizer05's argument 22:42
KotCzarnytracker is superfluous and bad at what it has to achieve22:42
DocScrutinizer05the argument is: there's ZILCH tools to *group* your tracker-indexed stuff in a meaningful manageable way22:42
DocScrutinizer05or what KotCzarny said22:43
*** Luke-Jr has joined #maemo22:43
Siceloif we think tracker means we should forget file organization, then that's where the real problem is22:43
DocScrutinizer05I honestly don't _need_ tracker, it's crap for the purpose to select which files get shown in gallery or mediaplayer22:44
KotCzarnyno, problem is DIRECTORY/FILE structure was invented for file organization22:44
Siceloi still organize my files and directories as best as i can22:44
KotCzarnymetadata is nice only if ALL files have it proper22:44
KotCzarnyor if you have magic algo that can guess author/title from the content22:45
*** sla_erick_ has joined #maemo22:45
sla_erick_~sb22:45
infobotsomebody said scratchbox was a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, hosted by maemo now. Also at http://maemo.merlin1991.at/files/SB22:45
Siceloas long as tracker is there on the N900, rather use it .. it's already using up your resources anyway :)22:45
*** LauRoman has joined #maemo22:46
Siceloif you've removed it, then .. different story22:46
DocScrutinizer05tracker as used in maemo reinvents the wheel (or rather the filesystem with all the goodies it has) - *very* poorly22:46
KotCzarnysicelo, i've disabled it on mine22:46
Sicelouninstalled?22:46
KotCzarnydisabled22:46
KotCzarnynot tracking anything22:46
sla_erick_I downloaded the SDK 1.1.2 from here: ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.troll.no/QT/qtsdk/, but it doesnt contain the Maemo toolchain. There is a tool to download the toolchain but the servers are down.22:46
Siceloso my point is correct .. it's still eating up your space :)22:46
KotCzarnyi didnt try uninstalling it as most likely bazillion of debs depend on it22:46
Sicelomaemo's stock image viewer .. still eating up your space too22:47
KotCzarnyeating up space is passive22:47
sla_erick_Does someone knows how to download Maemo toolchain and integrate it to the SDK 1.1.2?22:47
KotCzarnyi care about function and battery life22:47
DocScrutinizer05sla_erick_: nobody ever did this afaik22:47
*** kerio has quit IRC22:48
DocScrutinizer05oops, sorry22:48
Sicelothis is precisely what i don't want ... having many apps for each of these functions. if i can remove the stock media player, image viewer, etc, then i remove tracker immediately22:48
DocScrutinizer05of course it been done, but actually you're better off just using a VM22:48
DocScrutinizer05http://maemo.merlin1991.at/files/SB22:48
KotCzarnysicelo, dependency can be as simple as depending on some lib, even if particular deb doesnt use tracker22:48
sla_erick_DocScrutinizer05 do you know any Qt SDK that comes ready for developing and deploying to the N900, I know that you are not a developer, just wondering22:48
*** kerio has joined #maemo22:48
DocScrutinizer05err all should be in http://maemo.merlin1991.at/files/SB already. And what's missing should be installable from maemo-sdk and maemo-tools repos22:49
Siceloyes indeed KotCzarny.22:50
sla_erick_fair enough, thanks :)22:50
*** sla_erick_ has quit IRC22:50
KotCzarnyjust cant wait to get hacking once my second n900 comes22:51
SiceloDocScrutinizer05: wasn't there a BM image released at some point?22:52
DocScrutinizer05hmm?22:52
DocScrutinizer05BM image of what?22:52
Siceloi guess not then22:53
*** esaym153 has quit IRC22:54
DocScrutinizer05I don't know of any publicly available BM backup files so far, though they would be extremely cool to have. Just everybody been too worried about disclosing privacy-related info and too busy to scan and clean the BM tarball22:54
DocScrutinizer05I fail to completely understand the question though, what's a "BM image"?22:55
*** esaym153 has joined #maemo22:55
DocScrutinizer05there's a fiasco image that contains BM already, see22:56
DocScrutinizer05~bm22:56
infoboti guess backupmenu is http://talk.maemo.org/showthread.php?t=6397522:56
DocScrutinizer05or are you asking about a bm image that contains Qt SDK ? Sorry, you lost me22:57
*** ced117 has joined #maemo22:58
KotCzarnydoc, what are your thoughts about running whole os from emmc?22:59
KotCzarnyor sd?23:00
DocScrutinizer05oooooh, stryngs!! you *ever* used osso-backup to restore a system on N900? it basically is a very smart way to have a opt-in/out list of apps to install from repos23:00
Siceloah yes .. that one in the link .. tha's what i meant23:00
DocScrutinizer05KotCzarny: I'm no fan of moving more than necessary to eMMC or even uSD23:00
KotCzarnybut for now we are already running most things from there23:01
KotCzarnyso i guess nand would be nice place for rescue/boot etc, and os on emmc/sd23:01
DocScrutinizer05well, then are we facing an XY problem?23:01
KotCzarnybecause most things in use are not on nand23:02
DocScrutinizer05why not the other way around? rescue system on eMMC and normal system unchanged23:02
KotCzarnyso, why not?23:02
DocScrutinizer05A) precisely define the problem at hand, B) check if those are *real* problems and think about solutions if they are real. only then C) design and implement the fix23:04
KotCzarnya) fs fragmentation23:05
DocScrutinizer05how's that a problem?23:05
DocScrutinizer05I don't even understand the term23:05
KotCzarnylittle space on / without optification hack23:05
DocScrutinizer05there been a solution to that already and you mentioned it23:06
DocScrutinizer05so your *real* problem seems to be: you don't like optification-hack23:06
DocScrutinizer05I agree23:06
DocScrutinizer05~optification23: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"23:06
KotCzarnybut my real question is, can emmc take the wear from being used for os?23:07
DocScrutinizer05""OMG - I wish they looked into FHS and moved /usr to eMMC""23:07
DocScrutinizer05yes, it can23:07
KotCzarnyand i think about ext3/423:07
DocScrutinizer05you need to adjust operation parameters aka options of ext3/ext423:07
*** darkschneider has quit IRC23:07
DocScrutinizer05you generaly don't want journal usually. And you want noatime etc23:08
*** darkschneider has joined #maemo23:08
KotCzarnyyes, i run noatime everywhere23:08
KotCzarnybut i would like journal too23:08
DocScrutinizer05yournal is a *very* bad idea on flash storage23:09
*** Roth has quit IRC23:09
KotCzarnyfor flash storage without wear leveling23:09
KotCzarnyor with heavy writes23:09
KotCzarnyhum23:09
DocScrutinizer05think about what journal does, and you'll see it's not compatible with the wy how flash works23:10
KotCzarnyyes, constant writing at limited space23:10
DocScrutinizer05you can't rewrite aka "extend" a file on flash23:10
DocScrutinizer05each byte written to journal causes *complete* jounal to get rewritten on flash, then eventually read out again and transformed into *real* filesystem actions23:11
KotCzarnywell23:13
KotCzarnythen metadata journal maybe?23:13
DocScrutinizer05anyway I heard ext4 performs extremely well on eMMC, with the right parameters23:13
DocScrutinizer05metadata journal might make sense. i'm no fs expert23:14
DocScrutinizer05evaluation of performance and stability of a fs on flash/SSD is a very tricky and involved task23:15
*** _rd has quit IRC23:20
*** Oksanaa has joined #maemo23:24
KotCzarnyanother question is how stable was ext4 in 2.6.2823:24
ZetaRWhat about btrfs instead of ext?23:29
ZetaRCopy on write gives you the FS protection that the journal does, but doesn't have the problems with flash that a journal would.23:35
KotCzarnysame question23:35
KotCzarnyhow stable it was in 2.6.28?23:35
KotCzarnyor, can it be backported?23:35
ZetaRHm, let me see if I can find the answer to that.23:35
ZetaRYeah, it's not stable for that version.23:38
Maxdamantus05:00:02 < DocScrutinizer05> iirc it does a lazy-umount (or somesuch), and then cuts the the power to uSD card, so it won't get damaged - or device getting damaged - when removing the card and inserting another one23:41
MaxdamantusIt doesn't.23:41
Maxdamantusunless you mean a lazy unmount after the card has been forcefully made inaccessible.23:42
MaxdamantusIt might safely power down the card, so it doesn't result in some sort of hardware damaged, but there's no way to prevent filesystem damage from non-safe removal.23:44
DocScrutinizer05yes, for other fs than fat32 that could be a problem23:46
Maxdamantusfat32 is still subject to similar corruption, unless maybe you mount it with -o sync23:46
DocScrutinizer05even for fat32 they do a fsck afaik, to repair any such damage23:46
Maxdamantus"any such damage" can't be easily detected on fat32.23:47
Maxdamantusit doesn't have a journal.23:47
DocScrutinizer05sorry afk23:47
MaxdamantusYou could scan all the metadata for inconsistency and try to fix that, but if you get corruption that doesn't lead to inconsistency (at the filesystem level), there's no way to detect where such corruption might be.23:48
DocScrutinizer05so?23:49
MaxdamantusSo you can end up with partially written files.23:49
DocScrutinizer05I just can tell you what's in there23:49
Maxdamantuswhich look perfectly valid from the filesystem's perspective.23:49
DocScrutinizer05yes, I know all that. Thanks anyway23:50
*** xray256 has joined #maemo23:51
MaxdamantusWe should all be using copy-on-write filesystems by now anyway -_-23:52
kerioshould we, really23:52
MaxdamantusYes.23:52
Maxdamantuseven on ext3, you can't recover from corruption.23:53
KotCzarnywell23:53
DocScrutinizer05http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging,_Deploying_and_Distributing/Installing_under_opt_and_MyDocs doesn't explicitly mention it, but I could figure that apps who write to uSD are supposed to listen to dbus signals and act accordingly23:53
Maxdamantusyou can only fix filesystem inconsistency, and detect that corruption might have happened.23:53
Maxdamantusunless you use full journalling.23:53
Maxdamantus(ie, where you write the data twice)23:53
KotCzarnythere is always zfs :P23:53
Maxdamantus(ext3 and ext4)23:53
MaxdamantusYes, ZFS handles it, but you can't practically run that on a phone atm.23:53
Maxdamantusbtrfs is practical for usage on phones though.23:54
KotCzarnyi had some fun with pivot_root'ed zfsfuse23:54
KotCzarnyit was unstable tho23:54
DocScrutinizer05even journalling doesn't solve your problem, which is: "you cannot write to a medium that's not connected to the system"23:54
MaxdamantusThat's not the problem.23:54
KotCzarnyraid123:54
KotCzarnyor 523:55
MaxdamantusThat's another problem.23:55
*** Oksanaa has quit IRC23:55
Maxdamantusraid1 and raid5 are very bad.23:55
MaxdamantusThey just make this worse.23:55
KotCzarnyhow so?23:55
MaxdamantusWrite holes.23:55
KotCzarnyunless i mixed up numbers23:55
KotCzarnyi meant the one with data duplication23:56
MaxdamantusIf you disconnect two raid1 drives, you don't know that they're going to be in the same state when you reconnect them.23:56
KotCzarnyyes, but point is, as long you dont disconnect both, its all good23:56
Maxdamantusunless you do journalling at the RAID level or do an entire scrub afterwards.23:56
Maxdamantusbut even when you get it back into sync, you still have the exact same corruption issues on the filesystem.23:57
Maxdamantus.. or if you have a hardware RAID controller with lots of NVRAM to buffer writes over power cycles.23:57
Maxdamantusbut that's a horrible solution for something that can be solved using a CoW filesystem.23:58
KotCzarnypity they dont make internally daisychained raided sd cards23:58
KotCzarny:)23:58
KotCzarnythough its not it, hum23:58
DocScrutinizer05listen folks, when you interrupt a write to a storage medium, the data gets corrupted, no matter what. When you want to write data to a removable meduim, it's your responsibility to make sure the medium doesn't get removed while you write. If you can't guarantee that, you have to live with data not getting written or even getting crippled. Unrelated to this, N900 has means that avoid *physical* damage to uSD or N900 itself: powering down23:59
DocScrutinizer05the card as soon as battery lid gets opened, which enables two threats - uSD card removal and inadvertent battery removal (while writes happen)23:59

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