**** BEGIN LOGGING AT Fri Jul 08 02:59:58 2016 Jul 08 03:45:22 is it true that moving swap to sd card speeds up things? is there a way to test if the microsd is actually faster? i can imagine some cases were it would be a bottleneck Jul 08 06:48:47 Linkandzelda: yep, it is true. But make sure you have good SD card with fast random IO, like sammy pro cards Jul 08 06:49:12 uh, wrong channel Jul 08 06:49:24 hmm? Jul 08 06:49:40 i've answered Linkandzelda on wrong channel Jul 08 06:49:43 just noticed Jul 08 06:50:00 ah :) Jul 08 09:49:00 freemangordon: Linkandzelda: http://paste.opensuse.org/43972960 Jul 08 09:50:44 swap on uSD is _not_ per se faster than eMMC, it's a 4bit interface vs 8bit on eMMC and clock rate is comparable. What speeds up stuff is when you unebtangle storage access between swap and e.g. any read/write IO on rootfs Jul 08 09:51:19 unentangle* Jul 08 09:55:42 what's also very relevant (and not at all focused in my simple tests above) is write performance which is highly dependent on controller strategy and architecture (how much buffer RAM, page size, handling of truncate for empty pages that don't need erase, **erase performance**, etc pp) Jul 08 09:56:21 a page erase may take as long as 0.1s Jul 08 09:57:26 so it's very desirable behavior when the controller does background page erase to always have a sufficient number of clean pages that can get written to without prior erase Jul 08 09:58:34 * DocScrutinizer05 idly wonders if maemo mounts the MMCs with "discard" option, if even the kernel knows that option already Jul 08 09:59:26 IroN900:~# mount|grep mmc Jul 08 09:59:28 /dev/mmcblk0p2 on /home type ext3 (noatime,nodiratime,errors=continue,commit=1,data=writeback) Jul 08 09:59:29 /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noatime,nodiratime,noauto,nodev,exec,nosuid,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir) Jul 08 09:59:31 /dev/mmcblk1p2 on /media/mmc1p2 type ext3 (rw,noatime,nodiratime,noauto,nodev,exec,nosuid,data=writeback) Jul 08 09:59:32 /dev/mmcblk1p1 on /media/mmc1 type vfat (rw,noatime,nodiratime,noauto,nodev,exec,nosuid,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir) Jul 08 10:01:25 FFS! Linux IroN900 2.6.28-omap1 vs https://wiki.ubuntuusers.de/SSD/TRIM/ >>Online Discard ext4 Kernel 2.6.33<< Jul 08 10:01:44 freemangordon: ^^^ Jul 08 10:03:09 Batched Discard ext2, ext3, Kernel 2.6.38 Jul 08 10:04:05 now THAT qualifies for a sound reason to finally update kernel in CSSU Jul 08 10:15:24 I mean, flash storage without truncate/discard? a nogo Jul 08 10:15:40 aka TRIM Jul 08 10:18:26 freemangordon: http://www.sammypro.com/ ??? Jul 08 10:19:07 I still think genuine SanDisk are prolly the best cards Jul 08 10:20:09 or are you talking about Samsung? Jul 08 10:20:47 http://bgr.com/2016/07/07/fastest-256gb-microsd-card-samsung-ufs/ Jul 08 11:10:52 So guys I'm coming back to n900 after a long hiatus. I love writing notes on it and that's mainly what I've been doing with it, making it my ultra-portable journal. Jul 08 11:11:20 However in the past I used to read books, browse web and have a wide array of apps on it which are no longer usable Jul 08 11:11:36 What should I do to make n900 run as smoothly as possible in 2016? Jul 08 11:12:01 What OS is the best to put on n900 right now? Jul 08 11:15:10 Harmattan+CSSU Jul 08 11:15:21 Thanks Jul 08 11:15:54 harmattan? hardly Jul 08 11:16:08 Bitnotri: Jul 08 11:16:10 ~cssu Jul 08 11:16:11 i heard cssu is http://wiki.maemo.org/Community_SSU, or (Community Seamless Software Update) Jul 08 11:16:39 What would you say is the best option DocScrutinizer05? Jul 08 11:16:42 Bitnotri: forget harmattan Jul 08 11:16:51 Bitnotri: see above Jul 08 11:17:59 a fresh reflash often also works wonders Jul 08 11:18:06 What about some projects such as DebianN900? Jul 08 11:18:13 what about it? Jul 08 11:18:30 Would it be a better option? Jul 08 11:18:38 depends Jul 08 11:18:55 I don't see any advantage over a easydeb chroot Jul 08 11:18:58 What factors should I consider? Jul 08 11:20:03 there's no other OS release than maemo fremantle that's better adapted to support every aspect of the hw platform Jul 08 11:20:22 I've reflashed my device in the past, tried to install those community ssus. I may have done the job wrong, however the problems I've head previously with the web browser in particular didn't disappear. It may be different now so it may be worth the shot Jul 08 11:20:58 Have you tried harmattan or other distributions? How did you like it? Jul 08 11:20:58 web brosing nowadays is a task that even i5 PC with 8GB RAM can suck Jul 08 11:21:21 that's not the browsers' fault but the culprit are idiot "webdesigners" Jul 08 11:21:43 Yeah, but even stripped of css and js would be good Jul 08 11:21:45 harmattan doesn't work on N900 Jul 08 11:22:02 Period? Jul 08 11:22:09 a complete wrong hint Jul 08 11:22:31 maemo harmattan is for Nokia N9, NOT N900 Jul 08 11:22:53 what do you think about debian900? Jul 08 11:23:08 nothing, I never seen a reason to try it Jul 08 11:23:41 Ok, thanks. Would it be hard to reverse if I tried it? Jul 08 11:24:10 _if_ I needed to run apps than can't run under plain Fremantle since they need nifty new features only found in newer debian versions, I'd go for a easydeb chroot for that purpose Jul 08 11:24:33 reverse? Jul 08 11:24:39 you mean go back to maemo? Jul 08 11:24:44 Yup Jul 08 11:24:49 baby simple, do Jul 08 11:24:56 ~lazyflashing Jul 08 11:24:57 lazyflashing is probably http://wiki.maemo.org/Updating_the_tablet_firmware#The_Lazy_Approach Jul 08 11:25:15 you also could install dualboot via uBoot Jul 08 11:25:29 to have debian and maemo as boottime alternatives Jul 08 11:25:45 Ok, thanks for all the help, I've got a lot of reading and installing to do :) Jul 08 11:25:56 yw :-) Jul 08 11:26:54 note that with backupmenu you also can create comprehensive backup of your complete maemo system, to roll back to that very state later on Jul 08 11:27:00 ~bm Jul 08 11:27:00 rumour has it, backupmenu is http://talk.maemo.org/showthread.php?t=63975, or one-click install handling dependency issues: http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/BM.install Jul 08 11:27:33 Oh, that seems really useful. Thank you ;) Jul 08 11:27:39 yw :-) Jul 08 11:28:06 also not Jul 08 11:28:12 ~multiboot Jul 08 11:28:13 well, multiboot is http://maemo.org/packages/view/multiboot/, or **DEPRECATED*, see ~maemo-multiboot Jul 08 11:28:21 ~maemo-multiboot Jul 08 11:28:22 it has been said that maemo-multiboot is deprecated, and a horrible hack. PROBLEMS WITH NITDROID/MULTIBOOT? reflash rootfs&kernel aka COMBINED Jul 08 11:28:52 also note* but what I wrote was as good ;-) Jul 08 11:29:14 maybe useful, unless you never touched cmdline: Jul 08 11:29:18 ~jrtools Jul 08 11:29:18 it has been said that jrtools is http://wiki.maemo.org/User:Joerg_rw/tools Jul 08 11:30:02 Nah, I'm an active ubuntu user so I can handle cli ;) Jul 08 11:30:03 for CSSU I recommend Testing Jul 08 11:30:45 don't go for cssu-thumb until you learned what exactly it is and which are the implications of using it Jul 08 11:30:53 ok Jul 08 11:31:25 ~uboot Jul 08 11:31:26 N900 uBoot is a siamese twin binary [uBoot+stockMaemoKernel] that resides in kernel NAND partition /dev/mtd3 aka "kernel". You can't uninstall it, rather you'll nuke it when you flash/install another kernel like stock maemo kernel or powerkernel. To start other than stock maemo kernel via uBoot, you have to provide the according kernel image files, or http://talk.maemo.org/showthread.php?t=81613 Jul 08 11:32:46 and yes, you might be interested in powerkernel, when you want to go fancy with your N900 Jul 08 11:33:17 it comes with support for a lot of goodies like ext4, netfilters, whatnot else Jul 08 11:33:39 ~kp Jul 08 11:33:39 rumour has it, kp is http://talk.maemo.org/showthread.php?t=94287 Jul 08 11:33:54 Would powerkernel help with n900 performance? Jul 08 11:34:00 not much Jul 08 11:34:11 cssu will help Jul 08 11:35:19 did you overclock your n900? Jul 08 11:35:37 just 2h ago I noticed N900 kernel do4esn't support TRIM for flash storage, which is a terrible flaw regarding performance, especially for swap Jul 08 11:35:44 nope Jul 08 11:35:52 overclocking is basically useless Jul 08 11:36:08 Yeah, so I thought Jul 08 11:36:16 you can overclock less than factor 2 which is still almost worthless for user experience Jul 08 11:36:36 and the real performance hogs are swap Jul 08 11:36:57 and generally RAM shortage and storage IO bottleneck Jul 08 11:37:01 Can anything be done about it? Jul 08 11:37:18 get a Neo900 ;-) - in 9 months Jul 08 11:37:32 thumb helps about RAM shortage a bit Jul 08 11:37:36 ~thumb Jul 08 11:37:36 somebody said cssu-thumb was [thumb2 microb] indeed seems to render like mad, subjectively, or http://talk.maemo.org/showpost.php?p=1220597, or http://wiki.maemo.org/Community_SSU/Thumb Jul 08 11:38:10 thumb code is significantly smaller than ARM instruction set Jul 08 11:38:13 neo900 seems like won't come out at all, it's been moving so slow for such a long time Jul 08 11:38:28 yes, it's hurting me Jul 08 11:38:41 we suffer one roadblock after the other Jul 08 11:39:34 Such it is without a major support Jul 08 11:39:35 now Nikolaus declared ultimate bail out on PCB layout, so the complete workflow and toolchain needs a redesign/re-evaluation Jul 08 11:40:19 we're this very moment pondering to migrate fron cadsoft eagle to KiCad Jul 08 11:41:02 So you're actively working on neo900? Jul 08 11:41:02 as if there were no other urgent tasks pending Jul 08 11:41:06 sure Jul 08 11:42:03 http://irclog.whitequark.org/neo900/2016-07-07 and https://neo900.org/git/?p=misc;a=log;pg=1 Jul 08 11:48:07 Bitnotri: feel free to /join #neo900 Jul 08 11:49:15 Ok, I'm just not sure if I'd be able to contribute anything :P Jul 08 11:49:21 np Jul 08 11:49:31 every lurker is welcome too Jul 08 11:51:00 actually considering that IRC #neo900 is our most up-to-date and realtime communication channel with the highest traffic, I'm happy about each prospect customer having a look in there to notice the project is not entirely dead Jul 08 11:51:32 Ok, I'll definitely check it out then Jul 08 11:51:44 Does any web browser work reasonably well on your n900? Jul 08 11:51:53 we suck terribly on lack of a decent communications officer who could update the webpage with new info, answer threads in forum and email, etc Jul 08 11:52:08 (browser) tbh nope Jul 08 11:52:40 it's sufficent for important selected tasks like online banking, checking my share-service at maemo.cloud-7.de etc Jul 08 11:53:15 but then I'm possibly not the right person to ask since I'm not much html-centric at all Jul 08 11:53:44 I use xterm more often than microB (or any browser), on N900 Jul 08 11:53:58 ok Jul 08 11:54:20 microb good enough for me. i don't really use any other browser Jul 08 11:54:37 for a quick fixing of the WLAN modem router in my favorite pub, when the owner messed it op one more, microB is just sufficently working Jul 08 11:55:00 Sicelo: same here Jul 08 11:55:43 also supports client certificates just fine .. haven't found another one on N900 that has that :) Jul 08 11:55:56 watching YT videos is something I'm actually missing. Evcen while I learned now there's cutetube2 Jul 08 11:56:31 Oh I remember that app, it was really nice Jul 08 11:58:30 * DocScrutinizer05 - on a completely unrelated sidenote - points at (http://maemo.cloud-7.de/maemo5/session-log_enable-catalogs_README.txt and) http://maemo.cloud-7.de/maemo5/usr/local/sbin/enable-catalogs Jul 08 11:58:43 it still works fine Bitnotri (cutetube2) Jul 08 11:58:43 ooh, and ~jrrepos Jul 08 11:58:51 ~jrrepos Jul 08 11:58:51 rumour has it, jrrepos is http://maemo.cloud-7.de/maemo5/et_al/HAM-catalogs/ Jul 08 11:58:54 then again .. i'm not big on YT either Jul 08 12:12:04 DocScrutinizer05: thanks for the test. i have a 32gb sandisk pro xchc uhs1 or something. will look into moving swap to it and see what happens. i noticed when streaming internet radio the device slows down a whole lot and i get the feeling its swaping a lot Jul 08 12:13:25 what bit rates for your streams? mine doesn't slow down Jul 08 12:15:41 iotop ftw Jul 08 12:15:56 iotop and htop Jul 08 12:16:10 Sicelo: 192 kbps Jul 08 12:16:26 when streaming it shows puleaudio using between 14-20% cpu Jul 08 12:16:40 yeah, pukeaudio sucks Jul 08 12:18:32 and of course battery drops massive Jul 08 12:18:47 Linkandzelda: note that N900 neither can use UHS nor xdhc Jul 08 12:19:15 didnt think so, but it would it be able to use the standard functionalities right? Jul 08 12:19:23 but odds are a UHS capable uSD is actually fast enough to run at max speed N900 can do Jul 08 12:19:29 yes Jul 08 12:19:38 my thoughts too Jul 08 12:19:52 and is it safe for me to run the same tests you just did? Jul 08 12:20:00 iirc that would be 40MHz clock at 4bit bus width Jul 08 12:20:14 yes Jul 08 12:20:29 those tests are considered safe by me Jul 08 12:20:33 no warranty Jul 08 12:21:13 my uSD is actually a little dusty already Jul 08 12:21:21 might easily be 6 years old Jul 08 12:21:38 ive got another process using cpu here Jul 08 12:21:53 **kill it** hehehe Jul 08 12:22:05 mafw-dbus-wrapper mafw-gst-renderer Jul 08 12:22:15 that's audio playback Jul 08 12:22:36 using between 7-14% cpu Jul 08 12:22:58 leaving the average while streaming and doing nothing being 50% usage, thats high i guess Jul 08 12:23:05 http://paste.opensuse.org/35212726 Jul 08 12:23:24 i see Jul 08 12:24:21 http://wstaw.org/m/2016/07/08/plasma-desktophc2277.png Jul 08 12:24:46 that's idle system Jul 08 12:25:13 during audio playback mafw and polypaudio will be CPU hogs Jul 08 12:25:25 any tweaks for pulse? Jul 08 12:26:24 all tweaks so far fired back afaik Jul 08 12:26:53 ah, shame Jul 08 12:26:55 well its ok Jul 08 12:26:55 recompiling that shit without debug output might help a little Jul 08 12:27:39 can you explain what those dd commands are doing exactly? Jul 08 12:27:42 many peaple tried to fix suspected flaws in PA, it necer panned out to the better iirc Jul 08 12:28:27 dd copies raw chunks of 1Mbyte data from physical device (if=) to nirvana (of=/dev/null) Jul 08 12:29:09 no partitions, no filesystem involved. Using raw IO without buffering (iflag=direct) Jul 08 12:31:09 without iflag=direct you still will see effects from regular filesystem buffering which may hold parts of the data to read in RAM buffers Jul 08 12:31:40 at least all this is how I hipe stuff works ;-) Jul 08 12:31:44 hope* Jul 08 12:32:14 fair enough, as long as there is no loss then thats all that matters, right hehe Jul 08 12:32:16 you may go for larger amount of test data, with count=500 or even 1000 Jul 08 12:32:40 multiply by bLOCKsIZE= which is 1 Mbyte Jul 08 12:33:08 so bs=1M count=1000 will read 1GB data Jul 08 12:33:22 What's up with kernel-power upgrade? /just curious, aptitude does not cite changelog/ Jul 08 12:33:48 same for bs=1000M count=1, but that might allocate insane size of program internal buffer in RAM Jul 08 12:34:40 Oksanaa: is there any new update supposed to be around? Jul 08 12:35:05 Well, I just did aptitude update upgrade and got it Jul 08 12:35:50 then maybe that's a good instance why you shouldn't do upgrade ;-) Jul 08 12:36:17 hey I've got some version of fmms that doesn't work Jul 08 12:37:10 DocScrutinizer05: on an off note, when i type "root" and enter pass, it seems to put me in busybox, since dd gave a syntax error and mention busybox. after i typed "bash" then tried dd again its working as expected. ive got shells set in /etc/passwd for both user and root to /bin/bash. any way i can fix that issue? Jul 08 12:37:12 hmm, how so? /cssu-thumb-testing if it helps/ fmms? cool, let's check if I have it installed, did once half-receive mms with it Jul 08 12:37:32 * DocScrutinizer05 idly curses his current IRC client version that doesn't (yet) support notes attached to users Jul 08 12:37:52 I think it came from a dev repo Jul 08 12:39:11 DocScrutinizer05: or actually not, it seems to put me in bash the first time but still references the dd binary from busybox, or something, im not sure Jul 08 12:39:30 Linkandzelda: tbh I never bothered. I always considered it safer and not sufficently annoying to stray from doing "root; bash" each time I log in Jul 08 12:39:35 * Oksanaa has fmms installed, yes Jul 08 12:39:49 ok but it won't be the same as mine Jul 08 12:39:55 Linkandzelda: `which dd` Jul 08 12:39:55 i see Jul 08 12:40:11 is KotCzarny here? Jul 08 12:40:18 he wrote fmms right Jul 08 12:40:20 fishbulb: fmms 1.3.4, according to dpkg Jul 08 12:40:30 DocScrutinizer05: /bin/dd Jul 08 12:40:35 IroN900:~# which dd Jul 08 12:40:37 /usr/bin/gnu/dd Jul 08 12:41:09 IroN900:~# ls -l /bin/dd Jul 08 12:41:10 lrwxrwxrwx 1 root root 7 2014-12-06 12:39 /bin/dd -> busybox Jul 08 12:41:18 why lol Jul 08 12:41:21 http://pastebin.com/K0CPa3cd Jul 08 12:41:24 IroN900:~# echo $PATH Jul 08 12:41:26 /usr/local/sbin:/usr/local/bin:/usr/sbin/gnu:/usr/sbin:/usr/bin/gnu:/usr/bin:/sbin:/bin:/usr/bin/X11 Jul 08 12:41:38 KotCzarny was idle for 5h 52min, so should return soon-ish Jul 08 12:42:02 oh seems im missing stuff in path Jul 08 12:42:08 no, frals wrote fmms Jul 08 12:42:16 that's where the 'f' is from Jul 08 12:42:30 history is fascinating Jul 08 12:42:43 is frals ever here? Jul 08 12:42:57 o.O Jul 08 12:43:25 pro hint: TAB usually does nick completion Jul 08 12:43:42 but here as in present Jul 08 12:44:12 /whois frals Jul 08 12:44:23 frals: was idle : 5 days 15 hours 35 mins 58 secs Jul 08 12:45:02 yerp. Jul 08 12:45:42 Send email to Nick Leppänen Larsson, aka frals .of the mysterious. frals .dot. se ? Jul 08 12:46:04 nah Jul 08 12:46:13 however please don't expect to get a reasonable response to >>hey I've got some version of fmms that doesn't work<< which isn't even any question Jul 08 12:46:28 I'm already not going to bother him by email Jul 08 12:47:12 Linkandzelda: about "missing in PATH" see ~jrtools Jul 08 12:47:20 .bashrc in there Jul 08 12:47:57 though you're of course free to pick any other approach to set the PATH of your liking Jul 08 12:48:22 Okay... Maybe, find something specific on how it misworks. Haven't tried to fmms myself, though. Have enough cellular-provider troubles without it Jul 08 12:48:34 actually I probably shouldn't recommend doing that for user:user .bashrc Jul 08 12:49:13 using any other than messybox as default shell for user:user is known to have potential to fubar your system Jul 08 12:49:36 so does changing default PATH for user Jul 08 12:50:12 there are a few messybox-isms in the xinit or whatever, that possibly lead to a bootloop Jul 08 12:50:39 funny enough only for user, not for root Jul 08 12:50:55 DocScrutinizer05: yea i have that .bashrc, but its weird Jul 08 12:51:08 when connecting via ssh/loading xterm it doesnt use it Jul 08 12:51:31 http://paste.opensuse.org/75522475 Jul 08 12:51:44 ssh uses other login method Jul 08 12:52:05 can i find where the .bashrc it uses is at? Jul 08 12:52:14 since i get the same behaviour from xterm Jul 08 12:53:25 it's a nice exercise for an afternoon to read through the manpages for bash, shell, login, ssh(d) etc, to figure which startscripts are used with which shell and type of login Jul 08 12:53:58 fair enough Jul 08 12:54:24 I was pretty surprised to find messybox source .bashrc Jul 08 12:54:55 which sucks in so many regards Jul 08 12:55:11 well, in short: messybox sucks Jul 08 12:55:20 ~messybox Jul 08 12:55:21 messy... err busybox is meant for lean scripting. Regarding all the missing options and immanent limitations (see su, passwd, nice, ps, diff as used by mc...) it's not really the interactive shell of choice. A lot of people hate busybox because a lot of system integrators don't understand the difference between busybox and a decent user interactive shell plus unix utils Jul 08 12:56:27 thus busybox-power is a pretty incorrect approach Jul 08 12:57:16 and I strongly deprecate busybox-power Jul 08 12:57:20 DocScrutinizer05: found what the "root" script does, sudo gainroot --use-su Jul 08 12:57:33 yes Jul 08 12:58:00 and gainroot is funny too Jul 08 12:58:01 HISTFILE=/root/.ash_history /bin/sh Jul 08 12:58:10 its got a typo in /usr/bin/gainroot ? Jul 08 12:58:24 no, why? Jul 08 12:58:34 it should be bash_history i thought Jul 08 12:58:45 no, please not Jul 08 12:58:52 i see now it has its own path here in gainroot Jul 08 12:59:35 I'm more than happy with "bash" being the _only_ entry in ~/ash_history Jul 08 13:00:20 Old kernel version: 2.6.28.10-power51, and new one is power53. What the difference? Jul 08 13:00:29 http://paste.opensuse.org/93685597 Jul 08 13:00:39 ~kp Jul 08 13:00:40 hmm... kp is http://talk.maemo.org/showthread.php?t=94287 Jul 08 13:01:11 is it dangerious to edit the PATH in /usr/sbin/gainroot ? Jul 08 13:01:36 yes, possibly Jul 08 13:02:27 some fubar packages may depend on gainroot Jul 08 13:04:02 would just like to add the paths you have from your regular path so it can pick up the non-bb dd Jul 08 13:06:23 try it, but I strongly recommend to do a BM backup prior to that Jul 08 13:06:32 ok i will do that Jul 08 13:06:57 so you could restore the original gainroot file if shit hits the fan Jul 08 13:07:27 well, for that purpose prolly any old backup will do# Jul 08 13:07:54 as long as you restore only the gainroot file Jul 08 13:09:17 Linkandzelda: you know all gnu cmds * are also available via /usr/bin/g* Jul 08 13:09:23 gdd in this case Jul 08 13:09:51 IroN900:~# which gdd Jul 08 13:09:53 /usr/bin/gdd Jul 08 13:09:54 IroN900:~# ll `which gdd` Jul 08 13:09:56 lrwxrwxrwx 1 root root 6 2014-12-06 12:40 /usr/bin/gdd -> gnu/dd Jul 08 13:10:16 yes, but i'll forget to use g too often Jul 08 13:10:24 it sucks :-) Jul 08 13:12:11 Ouch... Is it that difficult for maemo repositories to upgrade perl to something higher than 5.8? /just trying to install mosh/ Jul 08 13:14:23 * Oksanaa should someday just go and feed various source packages into auto-builder. Well, they may need optification beforehand... Jul 08 13:16:07 Has no gui > needs minimum of modification. But optification is really necessary Jul 08 13:17:16 optification can get done semi-automatically Jul 08 13:18:52 IroN900:~# maemo-optify- Jul 08 13:18:53 maemo-optify-auto-opt.sh maemo-optify-firstboot.sh maemo-optify-lib.sh maemo-optify-make-mountbind.sh Jul 08 13:20:28 IroN900:~# less `which maemo-optify-auto-opt.sh ` Jul 08 13:20:30 IroN900:~# less /etc/maemo-optify-auto-opt.conf Jul 08 13:22:19 Is it recommended to put "/usr/bin" in here? Why not? Jul 08 13:23:03 because that's exactly the way to nuke your system Jul 08 13:24:19 everything in /usr/bin/ that's not a symlink is probably there because it must not get optified Jul 08 13:24:36 ~optification Jul 08 13:24:36 optification 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" Jul 08 13:25:39 everything in /usr/bin/ that's not a symlink is probably also something that should have been installed in /bin instead of /usr/bin to start with Jul 08 13:26:18 dunno which fool decided to pit stuff needed during early boot into /usr/* Jul 08 13:26:23 * Oksanaa grumbles that qtoctave should have no problems being optified Jul 08 13:26:23 put* Jul 08 13:27:38 it's clearly a duty of the distro maintainers to move stuff from /usr/bin to /bin when it is needed during early boot. See FHS Jul 08 13:28:46 Hmm, would be nice. What open-source packages are used during early boot and have things in /usr/bin or /usr/sbin? Jul 08 13:30:43 it's plain ridiculous to first build stuff for --prefix=/usr/bin, then go "OMG!! we need that during early boot, so let's move /usr/bin to rootfs where it's available during early boot. Then we optify everything in /usr/bin that is _not_ needed " Jul 08 13:31:16 ((What open-source packages are used during early boot and have things in /usr/bin or /usr/sbin?)) check for symlinks Jul 08 13:31:36 everything not a symlink is incorrectly put into /usr/ Jul 08 13:33:58 find /usr/bin -type f -ls Jul 08 13:34:33 vs find /usr/bin -type l -ls Jul 08 13:34:51 Let's see : Calendar.launch (closed-source?), mceledpattern (! totally not needed for boot ?) Jul 08 13:35:41 * DocScrutinizer05 pukes at /usr/bin/setkeycodes -> /bin/busybox Jul 08 13:36:04 though it's prolly even formally ok Jul 08 13:37:35 fmtx_client , and I should move my personal /usr/bin/randomscripts elsewhere (like, into aliases in /etc/profile or something) Jul 08 13:37:38 mceledpattern is only 35k Jul 08 13:37:54 which is a candidate for optification, but not mandatory Jul 08 13:38:44 x11vnc and qtoctave are huge, around 1MB each? Jul 08 13:39:15 Xorg and python2.5, too Jul 08 13:39:20 http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging,_Deploying_and_Distributing/Installing_under_opt_and_MyDocs >>Developers are encouraged to make good use of them, specially for applications requiring more than 500 KB, including dependencies.<< err *cough* Jul 08 13:39:44 Oksanaa: huh? Jul 08 13:40:10 you won't go happy with optifying python or X11 Jul 08 13:40:38 x11vnc is not needed for boot, is it? Jul 08 13:40:43 nope Jul 08 13:41:03 but Xorg is, I guess Jul 08 13:41:10 python 2.5 too Jul 08 13:41:16 Xorg is system-needed, though. Not going to move it around on my device Jul 08 13:41:51 also python *is* optified afaik Jul 08 13:42:09 it comes with its own otification by bindmount Jul 08 13:42:22 -rwxr-xr-x 1 root root 1028632 May 18 2010 python2.5 Jul 08 13:42:34 mount|grep py Jul 08 13:43:27 lib python is optified, bin isn't Jul 08 13:44:35 yep, right: df -h `which python2.5` Jul 08 13:45:22 # ls -laSr /usr/bin/ | grep -v lrwx < the command I used for looking at not-optified /usr/bin Jul 08 13:45:53 hmmm Jul 08 13:46:07 why not find /usr/bin -type l -ls Jul 08 13:48:24 find doesn't like the options, just prints out Usage Jul 08 13:48:33 err -type f Jul 08 13:48:44 meh, get decent tools! Jul 08 13:48:49 ~messybox Jul 08 13:48:58 messy... err busybox is meant for lean scripting. Regarding all the missing options and immanent limitations (see su, passwd, nice, ps, diff as used by mc...) it's not really the interactive shell of choice. A lot of people hate busybox because a lot of system integrators don't understand the difference between busybox and a decent user interactive shell plus unix utils Jul 08 13:49:40 apt-get findutils Jul 08 13:50:08 apt-get install findutils-gnu; even Jul 08 13:50:44 X-P --> Jul 08 13:50:46 IroN900:~# apt-cache search findutil Jul 08 13:50:47 busybox - Tiny utilities for small and embedded systems Jul 08 13:50:49 findutils-gnu - utilities for finding files--find, xargs Jul 08 13:51:14 "Tiny SILLY FUBAR utilities..." Jul 08 13:51:34 * Oksanaa has findutils-gnu installed Jul 08 13:52:00 then maybe try gfind /usr/bin -type f -ls Jul 08 13:52:13 or fix your PATH Jul 08 13:54:08 Works, gfind. Output fairly same. So, x11vnc, qtoctave, and qtjs and gpg and some others Jul 08 13:54:36 * Oksanaa finds the file list to be long Jul 08 13:56:05 Could they be added to this /etc/maemo-optify-auto-opt.conf ? And when would it apply? Jul 08 13:57:12 * Oksanaa would only try x11vnc and qtoctave, for start; do not recognise others well enough Jul 08 13:59:02 osso_pdfviewer, modest and mediaplayer also catch eye Jul 08 14:07:46 ((Could they be added)) basically yes ((when would it apply)) during next boot -- however it may render your device locked in a bootloop Jul 08 14:10:24 * DocScrutinizer05 suggests to profile boot process to find all the binaries needed during early boot (before mounting /opt) and then doing a major sanitation of this whole mess: move needed packages /usr/*7* -> /*/*, move /usr -> eMMC Jul 08 14:11:22 I honestly had hoped for *NOKIA* doing that with pr1.3, but nooooo Jul 08 14:13:25 * DocScrutinizer05 ponders to write maemo-antioptify* which does the exact opposite of optify: move all packages from /usr/?bin/* to /?bin/* that are _not_ subject to optification Jul 08 14:14:39 create symlinks for all those packages in the mointpoint dir of /usr, for best measure. Jul 08 14:15:14 once /usr gets mounted, those symlinks would get covered Jul 08 14:16:02 we could have similar symlinks in /usr/*/ for any scripts that use absolute paths to commands Jul 08 14:18:57 could all get handled during early boot, immediately before /usr gets mounted to its final mointpoint dir, in that maemo-antioptify-auto-noopt.sh script Jul 08 14:20:31 mount /usr /to /mnt/usr so you can copy the needed binaries from /user/?bin|lib|whatnot to rootfs and create symlinks in /mnt/usr/*/* and /usr/*/* Jul 08 14:20:42 s/copy/move Jul 08 14:21:21 then remount eMMC usr from /mnt/usr to /usr Jul 08 14:22:13 finally delete antioptify-auto-noopt.sh (selfdestruct ;-D ) since it's never again needed Jul 08 14:22:49 replace maemo-optify-auto-opt.sh by a oneliner: #!/bin/sh Jul 08 14:23:03 since that is also not needed anymore from now on Jul 08 14:23:58 optification my ass! Jul 08 14:25:30 I had a reason to add ""OMG - I wish they looked into FHS and moved /usr to eMMC"" to the ~optification factoid Jul 08 14:34:26 Troublesome, especially from deb-dpkg-file-tracking point of view. Will these packages be easy to upgrade, after such filesystem movements? Jul 08 18:02:49 * Sicelo is happy with the nokia battery he got for his N900 Jul 08 18:03:33 LMD = 1573mAh Jul 08 19:05:42 sicelo: feelin awesome already? Jul 08 19:14:45 i'm happy .. i know i could have bought a better battery via ebay, but that's really out of my reach Jul 08 22:57:42 someone pinged? ^^ Jul 08 23:10:27 frals: yeah, somebody claimed to have a "not working fmms version". nevermind I'd say Jul 08 23:11:41 I didn't hear any question at all, anybody could answer Jul 08 23:13:32 frals: http://mg.pov.lt/maemo-irclog/%23maemo.2016-07-08.log.html#t2016-07-08T15:36:17 Jul 08 23:15:49 http://mg.pov.lt/maemo-irclog/%23maemo.2016-07-08.log.html#t2016-07-08T15:46:12 Jul 09 02:03:47 DocScrutinizer05: was able to fix the issue with /bin/dd vs the gnu path version with ssh login to user and root as well as xterm login. i added "source ~/.bashrc" into .profile for /home/user and /root/ now it executes a source on loading of each shell and the paths are set to use gnu before the others, no more busybox binaries or root; bash; Jul 09 02:44:27 Sicelo: LMD = 3221mAh ;) **** ENDING LOGGING AT Sat Jul 09 02:59:58 2016