IRC log of #maemo for Sunday, 2015-09-06

MaxdamantusYes, but you can at least make sure the filesystem is in some previously intended state.00:00
Maxdamantususing either CoW or full data journalling.00:00
Maxdamantusthe latter means you write everything twice.00:00
KotCzarnyor just minimize writes00:00
DocScrutinizer05aha, writing twice and mimimize writing serve same purpose? hardly. I prefer the latter00:01
MaxdamantusDatabases like sqlite3 are written such that they can operate under that assumption.00:01
MaxdamantusIf you're removing a non-journalled drive with a sqlite3 database on it in the middle of a write, there's no guarantee your database isn't corrupt.00:02
KotCzarnyremoving medium during writes is BAD IDEA00:02
KotCzarnyno matter what00:03
Maxdamantusif it's fully journalled or CoW, you do get that guarantee: the database might have lost the last few seconds, but it won't be corrupt.00:03
MaxdamantusOf course, but it hapeens.00:03
MaxdamantusSo it should be handled.00:03
DocScrutinizer05journalling does NOT help writing that very data to the medium. It only helps not even *trying* to write aborted transactions to the medium00:03
DocScrutinizer05from an app's perspective that photo doesn't get stored nevertheless00:04
DocScrutinizer05plus journaling not only doubles but at least triples writing to media00:05
MaxdamantusIf you're doing full journalling (data included) it basically means double.00:06
MaxdamantusThere's of course extra metadata around the journalling itself, but that's not going to be as large as writing the data twice.00:06
DocScrutinizer05aha, and who's deleting the jounal after commit?00:06
kerioyea but how can i avoid not unplugging the uSD if i remove the back cover?00:06
Maxdamantuskerio: modify the kernel module.00:06
DocScrutinizer05I'm not talking about volume, i'm talking about IO ops00:06
kerioMaxdamantus: ayy lmao00:07
KotCzarnyum00:07
KotCzarnyor keeping sd journal on emmc00:07
KotCzarny:)00:07
DocScrutinizer05KotCzarny: that might be a nice idea00:07
MaxdamantusIf it's a full journal, that's going to halve write speeds.00:07
DocScrutinizer05I already pondered that approach00:07
KotCzarnyi wouldnt bother personally tho00:08
KotCzarnyuser is the weakest link00:08
MaxdamantusIt wouldn't really be any better than journalling on the same SD card, since the write speed on the N900 doesn't seem to be bottlenecked by the SD card.00:08
Maxdamantusbut by the controller.00:08
Maxdamantuswhich the eMMC is also on.00:08
DocScrutinizer05add an electric lock to the battery cover ;-D00:09
KotCzarnyelectroshocking lock?00:09
KotCzarny:)00:09
DocScrutinizer05only unlocks when uSD is properly unmounted00:09
Maxdamantushttps://talk.maemo.org/showpost.php?p=1457369&postcount=400:09
KotCzarnysuch locks would be a pita00:09
KotCzarnylast time when some app locked my cdtray i was .. unhappy00:10
DocScrutinizer05cya l8r00:10
Maxdamantus(that bottleneck comment is assuming you have an SD card that is meant to be able to write at more than 8 MiB/s or so, can't remember the actual number)00:12
* Maxdamantus tries.00:12
*** kerio has quit IRC00:14
*** kerio has joined #maemo00:15
Maxdamantusseems to be about 6 MiB/s00:19
KotCzarnywhat is iops@512b for internal flash?00:19
KotCzarnyand for emmc?00:20
MaxdamantusI don't want to try that on the flash.00:20
KotCzarnytest can be short, 10-20s00:20
KotCzarnythere are sd cards capable of ~100 iops00:21
KotCzarnymost are in 0.1-10 range tho00:21
MaxdamantusOkay, not 6 MiB/s .. can do 13 MiB/s00:24
Maxdamantusand yeah, that's shared across the SD card an eMMC.00:26
Maxdamantusoh, no, nvm .. I'm writing 11 MiB/s to the SD card now and 9 MiB/s to the eMMC.00:26
KotCzarnytry reading to one and writing to other00:28
Maxdamantusreading from eMMC at 14 MiB/s, writing to SD card at 10 MiB/s00:30
KotCzarnyso they use independent controllers in chip00:31
KotCzarnyarm chips usually have 2-4 mmc controllers00:32
MaxdamantusMaybe it would be nice to use btrfs with its "raid0" mode.00:33
KotCzarnybut most of the time only 1 is connected to some slot00:33
Maxdamantusactually, the things I said were inverted: when I said SD card before I meant eMMC and vice versa.00:36
*** lobito has quit IRC00:44
*** lobito has joined #maemo00:45
*** kerio has quit IRC00:52
*** kerio has joined #maemo00:53
*** florian has quit IRC01:25
ZetaRTo answer the question about ext4 stability: "On 11 October 2008, the patches that mark ext4 as stable code were merged in the Linux 2.6.28 source code repositories, denoting the end of the development phase and recommending ext4 adoption." (Wikipedia)01:34
stryngsDocScrutinizer05: I've never used osso-backup for those purposes.02:11
DocScrutinizer05you should give it a try02:11
DocScrutinizer05(ext4) we got stable ext4 support on maemo02:12
DocScrutinizer05not for rootfs though02:12
stryngsafk for a bit, bbib02:17
MaxdamantusWhy not rootfs?02:20
MaxdamantusJust in terms of it not being there by default?02:21
*** vectis has quit IRC02:28
*** LauRoman has quit IRC02:51
*** LauRoman has joined #maemo02:51
ZetaRstryngs: I have determined the optimal ext4 parameters for the N900's eMMC geometry: "-b 4096 -E stride=2,stripe-width=256". This will make ext4 respect the write block size of 8192, and stripe the eMMC in sections respecting the erase group size of 256 write blocks.02:54
*** xes_ is now known as xes03:03
*** M4rtinK has quit IRC03:13
* Maxdamantus is now using ext4 on his root.03:17
MaxdamantusThough the boot process seems very unreliable.03:17
MaxdamantusBooting is too complicated .. hard to debug issues.03:18
* Maxdamantus wonders if there's an option to make it start a shell instead of rebooting.03:19
*** futpib has quit IRC03:24
ZetaRI wouldn't use ext4 for root. I would probably use ext3 for / and ext4 for /usr and then link other things to /usr03:47
ZetaROr rather rootfs.03:47
MaxdamantusWhy not?03:50
ZetaRext4 isn't as widely supported for booting. Not sure what is supported on the N900 besides rootfs (if anything).03:52
MaxdamantusI haven't actually enabled any ext4 features yet, just using the ext4 module.03:52
MaxdamantusN900 normally uses ubifs on NAND for root.03:52
ZetaRAFAICT, mounting as ext4 improves performance even if it was created as an ext2 or ext3 partition.03:53
Maxdamantusand ext2 iirc for /opt03:53
Maxdamantuser, ext2 for /home, which includes /opt03:54
MaxdamantusBy "widely supported for booting" are you talking about non-N900 distributions, because of lack of ext4 in an initramfs or something?03:55
ZetaRIt was sort of a vague general statement made with little confidence in my knowledge of the N900-specific booting process.03:56
MaxdamantusThe normal kernel has ubifs and the relevant MTD support built-in, so the mounts that itself and executes /sbin/preinit which is some shell script that checks some stuff then execs the upstart init system.03:58
MaxdamantusSo the easiest way to use something else as root is probably to just replace /sbin/preinit with something that loads the modules required (omap_hsmmc, ext{3,4}, ..), mount the desired root filesystem then pivot_root/chroot and exec /sbin/preinit from there.04:01
ZetaRubifs is a pretty good choice for the NAND, since it is unmanaged.04:01
MaxdamantusIndeed.04:01
ZetaRCome to think of it, since it is unmanaged that would mean that ext2/3/4 would be a pretty bad choice.04:01
*** Pali has quit IRC04:01
MaxdamantusYou would need to manage it somehow to use ext2/3/404:02
ZetaRIt isn't designed for it.04:02
Maxdamantusbut iirc the simple things in Linux are unsuitable for that, since they just make all the blocks visible as a single large block device.04:02
MaxdamantusTheoretically, you could have something more intelligent to provide that block device. That's pretty much what the controllers in SSDs and SD cards do.04:03
ZetaRWell, performance on / probably isn't as critical as performance on /usr and /home04:03
ZetaRSo fiddling with filesystems won't get you much.04:04
Maxdamantus/usr is normally part of / iirc04:04
MaxdamantusIt's /opt that's on a different filesystem.04:04
ZetaRYeah, I know, but I am thinking of the deoptified layout.04:04
*** beford has joined #maemo04:04
Maxdamantusso packagers are encouraged to put their data in /opt.04:04
ZetaRi.e. what stryngs is working on.04:05
MaxdamantusI don't think it's very useful having a separate /usr04:05
Maxdamantusbut I think the NAND is likely to perform better than the eMMC.04:05
ZetaRWhy? Get rid of opt and just mount /usr as the eMMC.04:05
Maxdamantusbecause otherwise why would they have it?04:06
ZetaRThat is what was being discussed earlier anyway.04:06
Maxdamantusis it just meant to be like a large initramfs?04:06
ZetaRI don't follow.04:06
MaxdamantusWhy wouldn't they put everything on the eMMC in the first place?04:07
Maxdamantusand avoid putting an extra tiny NAND chip in?04:07
ZetaRHonestly, I am not sure.04:08
ZetaRI guess you mentioned that it might perform better, but that doesn't seem like a great reason to increase the complexity.04:08
MaxdamantusIt probably does.04:09
MaxdamantusEspecially considering everything to do with booting is on it.04:09
ZetaRI guess it could help ensure some sort of minimum required boot time, set by whatever design groups Nokia had.04:10
MaxdamantusIt could also have to do with filesystem reliability.04:11
ZetaRSo what do you think of stryngs' proposal then?04:11
MaxdamantusI have a feeling ubifs is probably more reliable than ext2 across unexpected shutdowns.04:11
Maxdamantusit's probably a log-based filesystem, since it's meant for MTDs.04:11
ZetaRReliability for the root filesystem is not as important if you don't typically modify it.04:13
*** Humpelstilzchen has quit IRC04:14
ZetaRIdeally you would have a full separation between user-installed applications and system applications so that you could mount the root filesystem as read-only during normal use.04:15
MaxdamantusI don't really like that distinction.04:15
MaxdamantusI like the idea of just having one filesystem and not having to worry about allocating certain sizes to things.04:16
Maxdamantusespecially on something as restricted as a phone.04:16
MaxdamantusFilesystem      Size  Used Avail Use% Mounted on04:16
Maxdamantus/dev/sdc2        11T  7.6T  3.3T  70% /04:16
ZetaRHaving / as a rarely modified partition would allow for diagnostic booting even if the other filesystems get screwed up.04:17
ZetaRThat is the main reason to have it IMO.04:17
MaxdamantusThat's a reason to have another system to boot into.04:19
Maxdamantuspossibly just an initramfs.04:19
ZetaRPossibly. So what would you do with the NAND if it was easy to shuffle everything around?04:20
*** Humpelstilzchen has joined #maemo04:20
MaxdamantusIf I had greater control over kernel versions, I'd just have a single btrfs filesystem over the eMMC and the SD card.04:20
Maxdamantus(except for a boot partition and swap)04:20
*** LauRoman|Alt has joined #maemo04:21
Maxdamantusdepending on its abilities, possibly swap, but dunno if that's a good idea.04:21
MaxdamantusI don't really know much about MTD, so don't know what should be done with it.04:21
Maxdamantusso atm it's basically just a writable initramfs.04:22
ZetaRWell, you need some sort of management for it so that you don't destroy it.04:23
ZetaREither that, or just don't write to it often.04:23
MaxdamantusIt's still using ubifs.04:23
MaxdamantusYou need some sort of "management", or you can't mount it.04:24
ZetaRWhy would you combine eMMC and SD? Your system would fail if you removed the SD card.04:24
Maxdamantusit's an MTD, not a block device.04:24
*** LauRoman has quit IRC04:24
MaxdamantusWhy would I remove the SD card?04:24
ZetaROr it broke.04:25
ZetaRIt just seems more frail.04:25
MaxdamantusI have backups already.04:25
ZetaRPersonally I would use the SD for booting other OSes.04:25
ZetaROr storing files to transfer to other systems.04:25
MaxdamantusYou can already store files in a filesystem.04:26
MaxdamantusThat's what it's for.04:26
ZetaRBut you cant pull the eMMC out and put it in another computer.04:26
ZetaRNot practically anyway.04:26
MaxdamantusI wouldn't want to be constantly pulling the SD card out anyway.04:27
MaxdamantusThey seem physically fragile.04:27
ZetaRThat is actually one of the few things I don't like about the N900. I would prefer a slot on the exterior for the SD card, and with a more robust mechanism.04:27
ZetaRi.e. a push-push insertion/ejection slot.04:28
MaxdamantusI'd find that very inconvenient.04:28
*** ZetaR has left #maemo04:28
MaxdamantusYou should be unmounting it every time you do it.04:29
*** ZetaR has joined #maemo04:29
ZetaROops. Accidentally closed the chat.04:29
Maxdamantusand to do that you need to think about what processes you have running depending on it.04:29
ZetaRWhy would you find it inconvenient?04:29
*** trumee has quit IRC04:29
Maxdamantus13:29:06 < Maxdamantus> You should be unmounting it every time you do it.04:29
Maxdamantuseg, I have mpd running with files open from the SD card.04:30
Maxdamantusso it wouldn't let my unmount it cleanly without stopping mpd.04:30
ZetaRIt wouldn't be less convenient, because you could just choose not to remove it.04:30
MaxdamantusI just transfer things over the network, either WiFi or USB (g_ether).04:31
Maxdamantusif I choose not to remove it, there's still an annoyingly convenient way to remove it.04:31
ZetaRWhat about having a safe-eject button?04:31
MaxdamantusI don't see the point if I don't intend to eject it.04:32
MaxdamantusI'm also currently using a partition on the SD card as swap.04:32
ZetaRYou might not, but I think most users would find it much more useful.04:32
MaxdamantusYeah, I'm saying what would be more convenient for me, not others.04:33
MaxdamantusThough tbh, it does seem silly having removable devices nowadays.04:33
MaxdamantusNetworking already facilitates transferring data.04:34
ZetaRSo you just aren't a fan of the sneakernet. :P04:34
MaxdamantusNot really.04:34
MaxdamantusPeople usually still use it because they're not running ssh on their computers.04:35
Maxdamantusmy phone and all my computers already all run ssh.04:35
MaxdamantusI do remember when floppy disks were the most convenient form of transport for me though.04:36
ZetaRFloppy drives are pretty cool. Very simple electrically.04:38
MaxdamantusI was still relying on a floppy drive until a couple of weeks ago.04:38
*** eMHa_ has joined #maemo04:39
ZetaRHave you seen the strange things people do with floppy drives and microcontrollers? Here is an example: https://www.youtube.com/watch?v=cM_sAxrAu7Q04:39
MaxdamantusYes.04:39
ZetaR:)04:40
MaxdamantusThat view count is 88 views off 2^1904:41
*** eMHa has quit IRC04:42
*** trumee has joined #maemo04:44
MaxdamantusAnother thing I'd quite like to have which seems slightly relevant to these discussions is .. GRUB.04:55
Maxdamantusbut I couldn't get that to work last time I tried it.04:56
Maxdamantus(GRUB2 supposedly has the ability to build to load from uboot and use its terminal etc)04:57
ZetaRYes, more boot options would definitely be nice. I'm not sure what stryngs has set up now, but he said it supports some diagnostics and OS selection IIRC.04:57
*** trumee has quit IRC05:00
Maxdamantusatm I just have this: https://gist.github.com/Maxdamantus/949e81b445ffaa06844905:00
Maxdamantus(you can run that Python script (it just prints stuff to standard output) and laugh at it)05:01
*** trumee has joined #maemo05:04
*** trumee has quit IRC05:20
stryngsZetaR: Interesting thought on the ext4.  tbh, I've not considered filesystem type, for this unification.  I believe it's a good thought to add though.05:21
*** trumee has joined #maemo05:23
stryngsSo, I've almost got this post written up.  I believe it's one of the core arguments to be made for unification.  I'll post when it's done.05:23
MaxdamantusHmm .. looking at /usr/sbin/osso-mmc-umount.sh it looks like it normally does a lazy unmount of ~/MyDocs, presumably before letting g_file_storage see it.05:24
MaxdamantusThat is basically *COMPLETELY AND UTTERLY* wrong05:24
Maxdamantuslazy unmount just means it's removed from the filesystem tree.05:24
Maxdamantusif another process is still in a directory on it or has a filehandle open, it can continue writing to the filesystem.05:24
Maxdamantusie, if you rely on the UMS feature in Maemo, you can easily have the same filesystem mounted writable on multiple devices (computer and phone)05:26
* Maxdamantus doesn't understand why Linux doesn't seem to have a way to actually force unmount a particular filesystem.05:27
Maxdamantusseems like the only way to do it is using sysrq to force unmount (or remount readonly) all filesystems05:28
Maxdamantus.. or you could just reexport the block device as a file in FUSE or an nbd device and make sure only one thing has it writable there.05:28
Maxdamantusunless it does something like that, it should simply fail if it can't unmount non-lazily.05:30
*** sparetire_ has quit IRC05:34
*** trumee has quit IRC05:41
*** trumee has joined #maemo05:44
stryngsAlright.  I have laid out the argument for bindmounts.05:47
stryngsIf anyone has any "Move /usr to eMMC" knowloedge, PLEASE PLEASE PLEASE, respond accordingly.05:47
stryngsThis post for the thread, is actually one of the more "core" issues towards unification.05:48
stryngsDocScrutinizer05: ^^, you mentioned "movement of /usr".  If ya got it written down would love your insight.05:48
* stryngs goes back to packaging05:49
MaxdamantusJust put everything on eMMC.05:51
stryngsHOW05:51
stryngsHOW05:51
stryngsHOW05:51
stryngsDo ya have it written down!?!05:51
stryngsIf so, please describe05:51
MaxdamantusNo.05:51
stryngsMaxdamantus: Then it's a pointless point.05:52
MaxdamantusIt's probably not something I'd encourage to people who can't figure it out :\05:52
stryngsMaxdamantus: if you can provide instructions, then we can definately use it.05:52
stryngsMaxdamantus: That's not the point!  Let's GIVE BACK to this community.  Let us, unify.05:52
stryngsMaxdamantus: None of us wrote the original Linux kernel, but we all use it.05:52
stryngsMaxdamantus: I doubt, you or I, could have figured out how to do so.05:52
stryngsMaxdamantus: yet, we all encourage people to use linux dont we? =)05:53
Maxdamantusstryngs: the easiest way is to create a different script to replace /sbin/preinit that loads the necessary kernel modules and mounts the appropriate filesystem then chroots into it and execs the original preinit from there.05:53
stryngsMaxdamantus: Very cool, could you write something up?05:53
stryngsMaxdamantus: I'd test on my own device.05:53
MaxdamantusNot sure. I might've had to modify some other things in /etc to stop it complaining.05:54
stryngsMaxdamantus: if you "start" something, I'm willing to experiment on my own box.05:54
MaxdamantusBut if you're prepared to go through figuring it out, I can show my current init script.05:54
stryngsMaxdamantus: I would do it myself, but as you see in my post, I'm not knowledgable enough in that lowlevel to do so.05:54
stryngsMaxdamantus: When you say "my current init" script, you refer to something you use on a live n900?05:55
MaxdamantusYes.05:56
Maxdamantushttps://gist.github.com/Maxdamantus/c931687be8fdee4cb60c05:56
stryngsWord.05:56
* stryngs checks it out05:56
stryngsMaxdamantus: Line 14 is your failsafe?05:57
stryngsMaxdamantus: You're doing an fsck.  does that significantly increase boottime?  tbh, do most systems fsck before boot?  Again, I know 'nothing' about the 'boot' process on this level.05:58
MaxdamantusThat just sets up networking over USB so I can do things over ssh rather than trying to type on the keyboard.05:58
stryngsMaxdamantus: I see05:59
stryngsif false; then05:59
stryngsSo it looks more like a failsafe than anything.  Is it always false?05:59
stryngsIt's the wording of the logic I guess05:59
*** trumee has quit IRC05:59
MaxdamantusIf I want to actually use it I'll just modify it.05:59
Maxdamantuswith the fsck, the reason I did that is because the mount after not unmounting properly would itself take a long time (probably about as long as the fsck)06:00
Maxdamantusbut I think it stops sending ticks to the watchdog during mount, so it would usually reboot during that.06:00
stryngsMaxdamantus: Okay.  So without breakign this script down, line by line.  In essence, you have modified an n900 you have, and you currently use that script, in place of /sbin/preinit; and in doing so, your whole filesystem is on the eMMC versus the horrible and current stock nokia way?06:00
Maxdamantusstryngs: yes.06:01
MaxdamantusIt's the phone I normally carry around with me.06:01
stryngsMaxdamantus: Okay, so with that thought; how did you get the egg before the chicken?06:01
stryngsMaxdamantus: i.e.  What steps did you take place to copy over the files to eMMC?06:01
*** trumee has joined #maemo06:01
stryngsMaxdamantus: if I threw that on my n900 right now; it wouldnt boot afaik06:01
stryngsMaxdamantus: because I haven't done your prep steps06:02
MaxdamantusYes, you should already have a way to boot into it and modify things.06:02
stryngsMaxdamantus: You had to, afaik, at some point, copied over files.06:02
MaxdamantusThe easiest way to do that would be using some "recovery OS" someone made somewhere, but that requires a computer when you want to use it.06:02
stryngsMaxdamantus: Right, but your method, would take only a 'one-time' setup with a computer, no?06:03
MaxdamantusI also have a 3.14 kernel I can boot with a decent console map built in, so I can modify things from that too.06:03
stryngsMaxdamantus: I say this, because no matter what, 'flashing' takes a computer as well.06:03
MaxdamantusYes.06:03
stryngsMaxdamantus: Yer rocking 3x on the n900?06:03
MaxdamantusNot usually. I just have that as my rescue kernel.06:03
stryngsMaxdamantus: Holy crap dude.06:03
stryngsMaxdamantus: Why is your knowledge not public!?06:04
MaxdamantusIt is.06:04
stryngsMaxdamantus: Where?06:04
MaxdamantusYou can build Linux 4 from Linus' repository and boot it on the N900.06:04
Maxdamantusmake defconfig_rx5106:04
stryngsMaxdamantus: nonononono, I mean on maemo.org, the spot "most folk" go to for "knowledge".  Not the hackers who seek elsewhere...06:04
stryngsMaxdamantus: This is what I'm getting at with my proposal.  We take kickass ideas, like yours, VOTE on the best course of action, and then move towards it.06:05
stryngsMaxdamantus: It would seem, that you have abundant knowledge that would truly help this community.06:05
stryngsMaxdamantus: Let me ask this.  Would you be able to describe from a fresh flash, how to move towards your current setup?06:06
stryngsMaxdamantus: And I don't necessarily mean here on chat, feel free to post on the thread.06:06
stryngsMaxdamantus: If you have the knowledge, and can take sometime to jot it down.  it would really help out =)06:07
* stryngs blinks like Bambi.06:07
MaxdamantusNo. It's all ad-hoc and relies on the person doing it understanding how things work.06:07
stryngsMaxdamantus: I can script for that and help the enduser.06:07
stryngsMaxdamantus: if this, then, else, else else else, etc...06:07
stryngsMaxdamantus: I just require a little bit of help is all =)06:07
stryngsMaxdamantus: But if nobody is willing to try.... =/06:07
MaxdamantusBut you can't really describe every scenario.06:08
MaxdamantusWhat if someone's system randomly stops booting?06:08
stryngsMaxdamantus: Then they did something to cause it.06:08
stryngsMaxdamantus: Things don't just happen.06:08
MaxdamantusIf the person already understands the extra stuff he/she has added, he/she could hack around to try to fix it.06:08
MaxdamantusThat's pretty much the state my system is in.06:09
stryngsMaxdamantus: A a normal "unified maemo" user, won't just do those random things.  And if they do, then they are prolly a 'power-user' of sorts.06:09
stryngsMaxdamantus: Well, it's late here, and I want to continue repackaging a couple things I've got.  Please... Take some time and think about what I've asked.  If you find it in your heart to help out in anyway, it would really be appreciated; and not just by me.06:10
* stryngs tips his hat towards Maxdamantus 06:10
*** obsed has joined #maemo06:12
*** Luke-Jr has quit IRC06:27
*** Luke-Jr has joined #maemo06:30
ZetaRMaxdamantus: Wait, you have linux 3.x/4.x working on Maemo? I thought that a lot of stuff would need to be recompiled for that. It would be a great upgrade if we could roll that into stryngs work. We could use btrfs then too.06:31
stryngs^^06:32
MaxdamantusNo, not on Maemo.06:32
ZetaROh, I misunderstood then.06:32
stryngsMaxdamantus: Can you use the phone on your n900?  make textmessages, etc..?06:32
MaxdamantusYou can obviously run the busybox etc programs on the rootfs, which is sufficient as a rescue system.06:32
MaxdamantusThough I think the aim of the separate n900 branch is kind of to be able to run Maemo pretty much as-is.06:33
Maxdamantusbut I haven't really tried that much.06:33
ZetaRRight. I wonder if we could get the latest in the 2.6.x branch though.06:34
Maxdamantusstryngs: I normally use my phone as normal, using a 2.6.28 kernel.06:34
MaxdamantusThough I've been able to send/receive text messages using ofono on a 3.14 mainstream kernel.06:34
Maxdamantus(in a normal Debian system)06:35
MaxdamantusIt was just using the example scripts that came with ofonod, didn't have a fancy UI.06:35
MaxdamantusSupposedly you should be able to use empathy or something, but that seemed too complicated to set up.06:36
ZetaRI would leave major kernel upgrades to the people trying to build Maemo from scratch. The unification could contribute to that sort of complete rebuild too.06:36
DocScrutinizer05I see a lot of enthusiasm and excitement for leete new kernels and swapping around files between NAND, eMMC and possibly even uSD. I'm happy with the way my phone works and I really don't care which kernel runs on it and where the files get stored06:36
MaxdamantusI care which kernel runs mostly because I want to use btrfs.06:36
ZetaRSame.06:36
MaxdamantusIt'd also be nice to run an up-to-date Debian system.06:37
MaxdamantusI currently just have a separate root for that that I can chroot into.06:38
MaxdamantusI notice I was able to run Firefox and Chromium from that with the Maemo graphics drivers, but that seemed to cause random reboots.06:39
stryngsSo.  quick poll, who ssh's into their n900?06:47
* Maxdamantus does.06:47
ZetaRI do not atm.06:48
Maxdamantusquick control poll, who's reading this but not going to respond to the other poll?06:48
stryngsMaxdamantus: How do you ssh in?  usb or wifi?06:48
stryngsThis is going somewhere, I promise06:48
stryngsZetaR: Why don't ya?06:49
MaxdamantusUsually WiFi. If I want to transfer stuff faster I'll plug it in using USB but I'll still initiate the transfer over WiFi.06:49
stryngsMaxdamantus: Interesting06:50
ZetaRstryngs: I haven't found that I need it that much.06:50
stryngsMaxdamantus: Do you play with monitor mode on your n900?06:50
ZetaRBut I am not doing the sort of stuff that Maxdamantus is.06:50
MaxdamantusProbably not, since I don't know what monitor mode is.06:50
stryngsMaxdamantus: Packet injection, via wifi06:50
stryngsAnyways, curious of ya'lls take on this:  http://termbin.com/psc506:51
MaxdamantusAh, no.06:51
ZetaRstryngs: If you are thinking of having sshd by default, IMO it should never be on by default. Though I guess it could be a default-off installer option.06:51
stryngsZetaR: not at all.06:52
ZetaROkay.06:52
stryngsZetaR: It's a tunnel program I wrote.06:52
stryngsZetaR: I tired of having to push keys and type, so i made it icon clickable06:52
stryngsZetaR: These are some of the things I'm trying to push with unification.06:53
stryngsZetaR: Ease of Use..06:53
MaxdamantusIf you are thinking of having sshd by default, you should provide a `passwd` tool that doesn't just use crypt(3)06:53
stryngsMaxdamantus: Way ahead of ya, and no, no sshd by default, but i do use crypt -m to change crypt(3)06:54
MaxdamantusTry sshing in and using just the first 8 characters.06:54
Maxdamantus(of your password)06:54
DocScrutinizer05PasswordAuthentication no07:06
MaxdamantusYeah, you could do that too.07:06
DocScrutinizer05you can't use other encryption since some programs don't know any other07:10
Maxdamantusmd5 works.07:11
DocScrutinizer05we tried to fix that issue like 4 years ago and gave up07:11
stryngschpasswd -m07:11
stryngsIt works...07:11
DocScrutinizer05aha, and which programs do work with such password? sudo? su?07:12
stryngswell......07:12
stryngsI dunno07:12
stryngsI use sudser07:12
* stryngs tries07:12
DocScrutinizer05tzz07:12
MaxdamantusI haven't used either where they ask for a password.07:12
stryngsfoo07:13
stryngsNokia-N900:/root/drop/pwnies$ su07:13
stryngssu: must be suid to work properly07:13
stryngshmm07:13
MaxdamantusI just type `root`, which I think does something like `sudo gainroot`, which doesn't require a password for user.07:13
DocScrutinizer05failwhale07:13
DocScrutinizer05mine DOES07:13
*** protem has quit IRC07:13
DocScrutinizer05ROOT password, not that idiotic user passowrd asking for getting root07:14
MaxdamantusJust for gainroot, or for everything?07:15
DocScrutinizer05for su07:15
MaxdamantusI think Maemo uses sudo for a bunch of things.07:15
MaxdamantusAh, so not sudo.07:15
DocScrutinizer05sudo itself never needs a password, it's +s07:16
DocScrutinizer05that's the purpose of sudo07:16
Maxdamantussudo asks for a password if it's configured to.07:16
DocScrutinizer05aha!07:16
DocScrutinizer05guess what I did07:16
DocScrutinizer05~jrtools07:16
infobotjrtools is probably http://wiki.maemo.org/User:Joerg_rw/tools07:16
DocScrutinizer05# fix NOPASSWD for root / sudo gainroot07:18
MaxdamantusRight, so that's just for gainroot.07:18
Maxdamantusif there's an exploit in any of the other things still not requiring passwords, then ..07:19
Maxdamantususer ALL = NOPASSWD: /usr/bin/vim *07:19
Maxdamantusmodify any file, vim also lets you execute commands easily.07:20
Maxdamantussudo vim07:20
Maxdamantus:!bash07:20
DocScrutinizer05there are exploits07:21
DocScrutinizer05but sudo vim is not allowed afaik07:22
MaxdamantusWell, I didn't add that.07:22
MaxdamantusSomething else must've, and if you have vim installed I suspect you can do the same thing still.07:23
Maxdamantusunless you've explicitly removed that.07:23
stryngsDocScrutinizer05: Hmm......  You've motivated me to create a new .deb =)07:23
DocScrutinizer05http://paste.opensuse.org/3812176807:24
stryngsDocScrutinizer05: sudo-on-off_1.0_armel.deb07:24
DocScrutinizer05no vim07:24
MaxdamantusDocScrutinizer05: look at /etc/sudoers07:24
DocScrutinizer05and no vim in any of the other files in sudoers.d07:24
MaxdamantusSeems to be part of `filebox.sudoers`07:25
* Maxdamantus thinks he knows what that is.07:25
DocScrutinizer05WTF???07:26
DocScrutinizer05yes07:26
MaxdamantusYeah, that's an alternative file browser.07:26
Maxdamantusit also sucks about as much as the osso one.07:26
stryngsDocScrutinizer05: Question for you.  using chpasswd -m.  You're saying this breaks things?07:26
* Maxdamantus will just uninstall it.07:26
DocScrutinizer05it did when we checked. At least we checked if we could use any other password hashes in etc/passwd and it turned out some binaries had no support for others07:27
DocScrutinizer05prolly messybox07:27
DocScrutinizer05or even sudo itself07:28
DocScrutinizer05dunno07:28
stryngsDocScrutinizer05: Interesting.  So with your current method of invoking a password whenever something wants sudo.  You're stuck with the 8 char issue, yes?07:28
Maxdamantussudo with a password works for me with md5.07:28
DocScrutinizer05it's basically a nice-to-fix but no real problem07:28
DocScrutinizer05after all what's the attack vector?07:29
DocScrutinizer05somebody hacking the root password on a local xterm?07:29
DocScrutinizer05there are huger flaws than simple 8char limit in password07:30
MaxdamantusIf you want to use sshd.07:30
Maxdamantus(without authorized_keys)07:30
DocScrutinizer05who want that?07:30
DocScrutinizer05:-D07:31
DocScrutinizer05ultra inconvenient and known to be not safe07:31
stryngsDocScrutinizer05: You've motivated me to create a new .deb =)07:31
stryngsDocScrutinizer05: It will unlock or lock the sudo part of the n900 =)07:31
DocScrutinizer05oh my god!!07:31
stryngsDocScrutinizer05: i.e.  Most of my icons use root, and so my system is unlocked by default.  But now, with a click of the button, I can require a password for usage =),, and with a click of the button, turn it off.07:32
stryngsDocScrutinizer05: Remember, I play with pentest stuff, so having to type a password for each icon, is lame.07:32
stryngsDocScrutinizer05: Point being, good idea =)07:32
DocScrutinizer05BWAHAHA you're kidding me, right?07:32
stryngsDocScrutinizer05: Nope.07:32
stryngsDocScrutinizer05: I hack with my n90007:32
DocScrutinizer05great, I thought I'll eventually get around to lock down HAM for good, so nobody can uninstall and reinstall rootsh. Now it seems I only need to install that great new deb pkg via HAM to make my efforts to lock down sudo gainroot futile07:34
DocScrutinizer05on the click of an icon07:35
Maxdamantusor filebox.07:35
stryngsDocScrutinizer05:    bwhahaha =)07:35
stryngsDocScrutinizer05: It's still a good idea for my purposes =)07:35
stryngsDocScrutinizer05: All someone has to do, to trash my system, is click my root shell icon and p00f, they got root on da box.07:36
stryngsDocScrutinizer05: Not like "the man" is waiting to do so, but if i travel out of the country, it's a possibility07:36
stryngsDocScrutinizer05: Just never thought to lock it down, tbh.07:36
DocScrutinizer05so yeah, pretty please make a package out of that so everybody can fuck theri device on the click of an icon07:36
stryngsDocScrutinizer05: I don't think it would fuck the device, not if done right.  I've got to play with it, but I think it would work.  Whether or not md5 is an issue, is a seperate discussion.07:38
stryngsi.e.07:38
stryngshttp://termbin.com/ivzy07:40
stryngsFrom your work07:40
MaxdamantusInteresting. Just realised VDQ actually stays across reboots.07:40
stryngsDocScrutinizer05: From your work, make a simple script, that ALWAYS boots to safe mode.  Now, when a user wants to relax permissions for the current power cycle, they simply click an icon, this will relax permissions.  Upon powerdown, permissions go back into effect.07:41
stryngsDocScrutinizer05: It'll be made clearer when I make it, but I'm gunna make it =)07:41
DocScrutinizer05you should stop ircing while drincing07:41
DocScrutinizer05drinking even07:41
stryngsIt's hard to explain what I'm talking about DocScrutinizer05 =)07:42
stryngsDocScrutinizer05: Just know you motivated me to make something, useful.07:42
stryngsDocScrutinizer05: And leave my Bud Ice out of it! =)07:42
* stryngs tosses back a 20oz.07:42
MaxdamantusHmm .. booting does seem a lot quicker using the ext4 module instead of ext3, though I haven't been timing anything.07:42
Maxdamantus(ie, just mounting with `-t ext4`, not enabling any ext4 features)07:43
DocScrutinizer05"do you want to use a password protected root account [1] or a fuckedup open root account[2]? Both have same permissions"07:43
DocScrutinizer05"please note we'll ask you same question again for first login to root after next reboot"07:44
stryngsDocScrutinizer05: chmod 4755 /bin/busybox07:45
stryngsDocScrutinizer05: Problem solved07:45
DocScrutinizer05stop trolling please!07:46
stryngsDocScrutinizer05: ?  I thought I was helping?  I was diagnosing my use of chpasswd -m.  You said it would break things, and it did.  I googled my error, and it was a setuid one,  as root i did 4755 to busybox, and it allowed me to su via a non privileged user.  Isn't this a good thing?07:47
MaxdamantusI suspect you're meant to just copy busybox as chpasswd then set +s on that copy if you want to use it from other users.07:50
Maxdamantusbut dunno.07:50
DocScrutinizer05NO YOU MUST NOT SET SUID ON MESSYBOX!!1!11!!07:52
stryngsDocScrutinizer05: Why?07:52
DocScrutinizer05for the same reason you don't set SUID on /*bin/*07:54
DocScrutinizer05because of `ls -l /bin/* /sbin/* /usr/bin/* /usr/sbin/*|grep -- '-> busybox'`07:57
MaxdamantusHm, chpasswd for me comes from the passwd package, not busybox.07:58
DocScrutinizer05right, I never even heard of that command#07:58
Maxdamantusbut busybox does also have its own chpasswd built in.07:59
MaxdamantusThere's just no symlink for it.07:59
MaxdamantusMaybe stryngs generated all the symlinks.07:59
DocScrutinizer05"built in" is exactly the point08:00
DocScrutinizer05no matter what 'command' you execute, it all runds SUID busybox08:00
stryngsAlright, perhaps I am a little bit tipsy.  Now we're delving into security, and rather than provide troll content as DocScrutinizer05 has suggested, I'm going to leave the convo for the meantime.  I want to keep moving this project forward, not have it stall on the account of my silliness =)08:00
DocScrutinizer05runs*08:00
stryngsI'll pick up at this point tomorrow =), and tbh, Maxdamantus there are TONS of symlinks on my n900; its a bastard child from PwnPhone v2.08:01
* stryngs waves08:01
* DocScrutinizer05 waves too08:02
DocScrutinizer05busybox-symlinks-procps - dummy package to trick the CSSU metapackage  \o/08:04
MaxdamantusDocScrutinizer05: just wondering, is there meant to be something to replace bq27200.sh when you're using the bq27x00_battery module?08:05
DocScrutinizer05err, no not really08:05
DocScrutinizer05except the module itself and the /sys/*/*/*/* files it creates08:05
MaxdamantusI just added `eval "$(sed 's/^/registers[$((/; s/=/))]=/' </sys/class/power_supply/bq27200-0/registers)"; ./i2cget (){ echo "${registers[$(($4))]}"; }` to it.08:05
MaxdamantusThough the /sys files don't seem to provide as much information, unless you know how to interpret the registers, which that script does.08:07
DocScrutinizer05if I had my way in that midule, it had a sys/*/*/*/dump08:07
Maxdamantusit has sys/*/*/*/registers, if that's what you mean.08:07
DocScrutinizer05dunno, maybe08:08
Maxdamantuswhich is what my modification uses. It just returns values from that instead of using i2c directly.08:08
DocScrutinizer05http://maemo.cloud-7.de/maemo5/usr/local/sbin/bq27k-detail208:09
DocScrutinizer05dmppath=`find /sys/devices/ -path '*/hdq/*' -name dump`08:09
DocScrutinizer05dmpcmd="cat ${1:-${dmppath}}| tr -s '\n ' '  '"08:10
DocScrutinizer05else08:11
DocScrutinizer05  dmpcmd="i2cdump -y 2 0x55 b|tail -n +2|cut -d ' ' -f 2-17"08:11
DocScrutinizer05n808:12
DocScrutinizer05what a 'new maemo' *really* could use was for example a more recent version of sudo, which knows about genuine sudoers.d08:19
DocScrutinizer05so we could get rid of that unspeakable update-sudoers and the crap in /etc/sudoers file, and iirc it needs a newer version as well for the password-query-client function (or whatever been the name for that little binary that gets called by sudo when a password query is needed)08:21
DocScrutinizer05then we could not only secure HAM with root password, but actually start with s/NOPASSWD/PASSWD/g and see what doesn't make sense and only annoys and revert those to NOPASSWD08:27
*** hubutm20 has joined #maemo08:28
* Maxdamantus doesn't really want to run maemo.08:30
* Maxdamantus just needs a suitable WM and appropriate telephony software.08:30
Maxdamantuscan probably write the former in xmonad.08:30
DocScrutinizer05actually we could add a comment like #legit-nopasswd to some files in /etc/sudoers.d/* and then run a bootjob like sed -i 's/NOPASSWD/PASSWD/' $(grep -L '#legit-nopasswd')08:32
* Maxdamantus wonders if there are any application container projects.08:47
MaxdamantusWhere the sorts of applications you install on phones are executed under different filesystem namespaces as different users (or in different user namespaces), etc08:48
* Maxdamantus wonders what levels of isolation applications are undern in Android and iOS.08:53
* Maxdamantus suspects not much in Android.08:53
*** _rd has joined #maemo09:05
Wizzupuse a proper rbac09:07
Wizzupnone of that containenr stuff09:07
MaxdamantusThat's potentially what I mean by containers.09:21
MaxdamantusPOSIX already has containment, eg, between uids.09:22
KotCzarnysshd on device is a must for any bigger job/hacking09:29
KotCzarnybut yeah, having no root passwd is asking for troubles09:30
KotCzarnyMaxdamantus: do you use journal for that ext3 ?09:30
MaxdamantusKotCzarny: yes, the default journalling mode.09:37
KotCzarnyi just cant wait for my secondary n900 to start hacking09:38
KotCzarnyalso, i think things should be kept as simple as possible, last time i tried overlayfs it was slowing everything noticably (it was on a 200mhz 486 tho)09:42
KotCzarnyin my idea nand would be used for boot kernels, boot menu, rescuefs etc09:43
KotCzarnyjust dont know how much to use as / and how much for the /home/user/MyDocs09:44
MaxdamantusWhy do you need ~/MyDocs?09:44
KotCzarnycan usb module export only one partition instead of whole device?09:44
KotCzarnyMaxdamantus: for above, usb connectivity09:45
MaxdamantusThe reason it's separate normally is so it can be mounted over USB, but that's a silly idea and it looks like it's implemented incorrectly.09:45
MaxdamantusYou can just create a file on the filesystem and export that as a UMS device.09:45
KotCzarnyums device?09:46
KotCzarny~ums09:46
KotCzarnyor maybe we can just run samba and export it via usb networking09:46
KotCzarnywithout all that mount/umount tricks09:47
MaxdamantusUSB mass storage09:47
MaxdamantusYes, that works too.09:47
Maxdamantusor sshfs, if you're running sshd.09:47
Maxdamantus(less configuration that way)09:47
KotCzarnyssh eats cpu cycles09:47
KotCzarnybut could be workable09:47
Wizzupdoes it?09:47
Wizzupisn't it just select()09:47
KotCzarnyyes, encryption09:47
Wizzupah, sure...09:48
KotCzarnyand windows doesnt have sshfs09:48
KotCzarnywhich is a pity09:48
Wizzupit does09:48
MaxdamantusI think you can use filezilla.09:48
KotCzarnywizzup, link?09:48
Wizzupusing dokan09:48
Wizzupdokandev09:48
KotCzarnynice09:49
KotCzarnylast time i tried (few years ago) there wasnt one09:49
Maxdamantusdokan translates other filesystems to smb/cifs, iirc09:49
Maxdamantus(which is supported by Windows of course)09:49
KotCzarnynice09:50
KotCzarnymaybe we can export little ums device that would have some autorun.bat :>09:50
KotCzarnythat will be created dnamically and enabled usb networking on windoze09:51
KotCzarnyand opened explorer window09:51
* Maxdamantus just uses it for bootable OS images.09:51
KotCzarnythat way all gotchas about unclean fs would reduce only to unexpected shutdowns09:52
KotCzarnyand journal could be disabled09:52
MaxdamantusThe journal is there for unexpected shutdowns.09:54
KotCzarnydoes enabling usb networking on n900 and connecting to windows work out of the box or requires some configuration/user interaction?10:04
MaxdamantusIt'd probably work without configuration if you run a DHCP server on the N900.10:05
KotCzarnycool10:06
KotCzarnyvery nice10:06
WizzupKotCzarny: I found that some windows versions do not have usbnet support10:09
WizzupAnd if you're without internet, you also cannot fetch it10:10
WizzupThis was windows 710:10
KotCzarnythats why i also though about autorun.bat10:10
KotCzarnyand providing the driver just in case10:10
KotCzarny*thought10:10
* Maxdamantus wonders when things like USB are going to be replaced by ethernet.10:26
KotCzarnynever?10:26
KotCzarnyusb is owned by intel10:26
KotCzarnyand they are making moneys out of it10:27
KotCzarnyso few things would have to happen, intel going out of bussiness, ethernet starting providing power for attached devices, connectors/protocol going mobile friendly etc10:28
KotCzarnyi think wifi was an attempt in what you wanted10:29
MaxdamantusIt just seems weird having these special connections for "peripherals" and "drives" or something.10:30
MaxdamantusWhen all you're doing is networking devices.10:30
DocScrutinizer05USB<->ethernet adapter for N90010:32
KotCzarnyold as world rule, if something is unclear for you, it's about moneys10:32
* Maxdamantus also wonders when people are going to stop using money.10:33
KotCzarnywe are already on the way10:33
DocScrutinizer05is today world money day?10:33
KotCzarnywatch few infomercials on youtube about "fiat money"10:33
DocScrutinizer05seems everybody but me does, eh?10:34
DocScrutinizer05they talk about money in several channels10:34
KotCzarnydoc, thats because my secondary n900 would only arrive next week10:34
KotCzarnymaxd: usb is also about charging devices10:35
DocScrutinizer05>>das ist prinzipiell gut, wenn jemand sagt: Geld interessiert mich nicht<<10:35
KotCzarnythat's its second most important function today10:35
DocScrutinizer05>>wir nähern uns einer idealen gesellschaft an.<<10:35
KotCzarnydoc: if you have enough moneys for other tasks, yes10:36
kerioyeah let's turn a perfectly serviceable master-slave protocol into some weird bidirectional networking crap10:36
MaxdamantusKotCzarny: ethernet can potentially do that as well.10:36
*** xorly has joined #maemo10:36
KotCzarnymaxd: ethernet wasnt designed with that in mind10:36
kerioi'm sure nothing will go wrong with that10:36
KotCzarnyit was about as you say 'networking devices'10:36
KotCzarnynot about one cable fits them all10:36
Maxdamantusuntil a few days ago I had my USB peripherals attached over ethernet.10:37
Maxdamantuswell, ethernet cable, at least.10:37
KotCzarnyif you start adding features to it, you will enter incompatibility hell10:37
DocScrutinizer05meh USB-C hot shit ;-P10:37
KotCzarnyand sure, you can use 2 pairs for your other tasks, but.10:37
KotCzarnydoc, usb is licensed :P10:38
DocScrutinizer05s/hot//10:38
infobotDocScrutinizer05 meant: meh USB-C  shit ;-P10:38
kerioDocScrutinizer05: how do you feel about the new macbook?10:38
DocScrutinizer05feel? what's that?10:38
KotCzarnyhe asks about your moneys10:38
KotCzarnyprobably wants to sell you something10:39
DocScrutinizer05tbh I have no clue what's the "new macbook"10:39
kerioit's a netbook that costs 1.2k10:39
DocScrutinizer05so it's a tad hard to have feelings for it10:39
Maxdamantus(I soldered an ethernet cable to a USB header plug and some USB ports, as an alternative to using a hub or multiple extension cables)10:39
kerioit has one usb C port, and one headphone jack10:39
kerioand that's it10:39
Maxdamantusbut now I'd like to use that other internal USB port.10:40
KotCzarnymaxd: o.O10:40
Maxdamantuser, s/port/header/10:40
kerionot even a specialized charging port10:40
keriothe charger is usb C as well10:40
DocScrutinizer05less holes \o/10:40
DocScrutinizer05does it also have less keys?10:40
KotCzarnyi dont mind holes10:40
KotCzarnyholes are nice to put things in10:41
DocScrutinizer05yes ::-)10:41
KotCzarnyand it feels good usually10:41
keriohm, no10:41
keriobut the keyboard has some supposedly better keys10:41
KotCzarnyso, in a way, they are sterilizing it10:41
KotCzarnythinkpad keys > everything10:41
DocScrutinizer05it's just this was the common industry paradigm even 5 years ago already. Heck 7 years10:41
KotCzarnyreal ibm thinkpad keys, not chinovo ones10:41
keriothe new macbook is probably as tall as a thinkpad key10:41
DocScrutinizer05less keys less holes10:41
kerio:>10:42
kerioyea in a way it's similar to an embedded device10:42
KotCzarnyi wonder when they split macbook in a similar way as ipod went10:42
keriophones are really popular, right10:42
KotCzarnyone with screen and one without10:42
kerioROFL10:42
KotCzarnymacbook shuffle10:43
KotCzarnyyou turn it on, it does random things10:43
DocScrutinizer05stay patient - can't take long. Tehy already started their own competirot product to Oculus Rift10:43
KotCzarnyuser is happy because it looks cool10:43
DocScrutinizer05competitor10:44
KotCzarnycompetiriot10:44
keriois the ipod even a thing anymore10:44
KotCzarnynever had one, apart from the 5$ find on some garage sale10:44
keriowell, apparently they keep updating the ipod touch in lockstep with the iphone10:45
KotCzarnyhmm, i wonder how dpkg handles situation when /opt is a symlink/bind into /usr10:48
KotCzarnyand there are files in /opt at similar place as same name symlinks in /usr10:49
*** TabTwo has joined #maemo10:58
*** _rd has quit IRC11:13
*** Kabouik_ has joined #maemo11:17
*** vectis has joined #maemo11:17
*** Kabouik has quit IRC11:19
*** _rd has joined #maemo11:20
*** M4rtinK has joined #maemo11:29
*** _rd has quit IRC11:34
KotCzarnyhmm, nice thing about partitioning would be having stock/cssu/cssu-t all on one device for testing11:38
KotCzarny(partitioning and moving to one / without nand)11:38
KotCzarnyor even multiple sd cards with different flavors11:39
*** _rd has joined #maemo11:41
KotCzarnyhmm, anyone had a problem that ussd codes stopped working even if there is cellular connectivity? (sms and calls work)11:47
KotCzarnyit says 'cellular network not available'11:47
*** `0660 has quit IRC11:48
*** `0660 has joined #maemo11:48
*** Pali has joined #maemo11:50
*** futpib has joined #maemo11:59
*** LauRoman|Alt has quit IRC11:59
*** florian has joined #maemo12:02
*** xorly has quit IRC12:05
KotCzarnysending the code through pnatd works tho, hum12:11
KotCzarnyand i didnt update/install anything recently, why is dialer acting up out of sudden?12:11
keriodid you install starhash enabler12:12
KotCzarnynope12:13
KotCzarnybut it was working before12:13
KotCzarnythats why i didnt bother with starhash enabler12:13
DocScrutinizer05KotCzarny: check out *#ena, it's a binary-less packahe :-)12:15
KotCzarnyum?12:15
DocScrutinizer05pretty simple to grok what postinstall does and do same thing manually, resp check if it's needed12:15
KotCzarnyhttp://pastebin.com/raw.php?i=d7VcZaV612:16
DocScrutinizer05starhash enabler is a glorified shellscript with a button to launch12:16
DocScrutinizer05once, at install time12:16
KotCzarnydoc, but it was working few days ago12:17
KotCzarnyjust stopped out of sudden12:17
KotCzarnyand the message is baffling 'cellular network is not available' which is clearly a lie12:17
KotCzarnyat worst i can just write something in pygtk, but it was working not so long time ago12:18
DocScrutinizer05http://repository.maemo.org/extras/pool/fremantle/free/source/s/starhash-enabler/starhash-enabler_0.2.tar.gz12:19
DocScrutinizer05http://paste.opensuse.org/132858812:19
DocScrutinizer05 echo -e "[supplementary]\nssc=1" >> /home/user/.osso/call-ui.ini12:19
KotCzarnydone, restarted rt-com ui, nothing changed12:20
KotCzarnysame error12:20
KotCzarnycould it be my network provider did something funky?12:21
*** MikaT has quit IRC12:21
KotCzarnyat+cusd=1,"*100#",1 didnt work, at+cusd=1,"*100#",15 did (in pnatd)12:21
DocScrutinizer0515 sounds familiar12:22
*** Oksanaa has joined #maemo12:23
DocScrutinizer05isn't it like 1 means first message, 15 means answer to a previous message?12:23
DocScrutinizer05I've seen USSD fail when I didn't answer a "multiple choice" request. It usually 'fixes itself' after some 5 min of timeout, or after a boot the latest12:24
KotCzarnybooted just yesterday when device went empty in 5s after enabling edv1=112:25
DocScrutinizer05killall -9 rtcom-call-ui12:25
KotCzarnydid that too12:25
DocScrutinizer05the -9 is since otherwise it reverts any edits you did  to /home/user/.osso/call-ui.ini12:26
KotCzarnyyes, but i did that12:26
DocScrutinizer05recheck /home/user/.osso/call-ui.ini12:26
*** arossdotme has joined #maemo12:26
KotCzarnyand it wasnt the problem dialer not accepting *100# but erroring with 'cellular network not available'12:26
DocScrutinizer05yes, I noticed that12:27
KotCzarnyalso, using at+cusd=1,"*100#" results in error too12:27
DocScrutinizer05err, wait, 15 might be encoding which is *always* 1512:28
KotCzarnyhttp://mybroadband.co.za/vb/showthread.php/167974-What-is-a-syntax-of-AT-CUSD12:29
DocScrutinizer05AT+CUSD=<ussdMode>[, <ussdReq>[, <ussdDCS>]]12:29
KotCzarnyits clearly optional, but default is failing12:30
DocScrutinizer05<ussdDCS> 3GPP TS 23.038 [37] Cell Broadcast Data Coding Scheme (default 15). 12:31
KotCzarnyanyway, that seems only related to pnatd, while dialer having different problem12:31
*** xorly has joined #maemo12:32
DocScrutinizer05dialer needs nssc=112:34
KotCzarnyit worked before12:34
KotCzarnyjust few days ago12:34
DocScrutinizer05and it needs some plugin in the telephony stack12:34
DocScrutinizer05/usr/sbin/csd -m -p call -p gprs -p info -p net -p sim -p simpb -p sms -p ss    #*maybe*, the -p ss12:37
KotCzarnyim missing non-castrated ps12:38
DocScrutinizer05unrelated but funny:  hald-addon-mmc: listening on /sys/class/mmc_host/mmc0/cover_switch12:38
*** `0660 has quit IRC12:39
*** `0660 has joined #maemo12:39
KotCzarnyfrom /proc/cmdline: /usr/sbin/csd.-m.-p.call.-p.gprs.-p.info.-p.net.-p.sim.-p.simpb.-p.sms.-p.ss.12:39
KotCzarnyand obviously ussd is available because it works via pnatd12:40
*** florian has quit IRC12:42
DocScrutinizer05no idea. Try call redirection from settings. Try *#006#. Try *#67#12:52
keriowhat's 67 for12:52
DocScrutinizer05some redirect12:52
DocScrutinizer05can't recall which one12:52
DocScrutinizer05iirc12:53
DocScrutinizer0567:when busy (other call);12:53
DocScrutinizer05*#21# all calls12:54
DocScrutinizer05004: eq: 61+62+67;12:54
*** xorly has quit IRC12:54
DocScrutinizer05 **61*<number>**<time-in-seconds,5,10,..,30># : set up redirect to <number> after <seconds> ringing12:54
MaxdamantusMm .. turns out my SD card has pretty much always been mounted as ext2 -_-12:55
kerioLOL12:55
Maxdamantusstupid maemo.12:55
MaxdamantusI think it's now resulting in crashes.12:55
MaxdamantusTried to run an fsck on it and it spent about 40 minutes fixing things before segfaulting.12:56
DocScrutinizer05normal12:56
DocScrutinizer05fsck had a bug, and generally it's extremely RAM greedy12:57
DocScrutinizer05which means it gives the device a nice swap hell12:59
DocScrutinizer05and may run literally for days12:59
*** bef0rd has joined #maemo12:59
*** beford has quit IRC13:02
MaxdamantusMm, I think it's causing the rest of the system to misbehave too though.13:02
* Maxdamantus has multiple places where it tries to mount it :\13:03
*** bef0rd has quit IRC13:04
DocScrutinizer051h, 2 reasons, why I don't want a leete new but a rugged mature system for my phone13:05
MaxdamantusLinux 4.1 is maturer than Linux 2.6.28.1013:05
DocScrutinizer05mhm13:06
bencoh"The details of the referendum can be found at: http://talk.maemo.org/showthread.php?t=[#####]"13:06
MaxdamantusIt probably has bug fixes for ext4.13:06
bencohlooks like something's wrong with the link13:06
*** beford has joined #maemo13:06
*** `0660 has quit IRC13:06
DocScrutinizer05seems like quite a bit is wrong with the whole election13:06
*** `0660 has joined #maemo13:06
DocScrutinizer05http://wstaw.org/m/2015/09/06/plasma-desktopVV1947.png13:07
bencohhmmm13:08
*** Oksanaa has quit IRC13:08
DocScrutinizer05I'm not surprised13:10
KotCzarny:)13:12
KotCzarnythings falling apart13:12
DocScrutinizer05nah, things not used the way they were meant to get used13:13
KotCzarnydoc, as for your 'leeter os' im running stock fremantle13:14
KotCzarnydidnt hack it because its my main phone13:14
DocScrutinizer05that's pretty odd then13:14
KotCzarnybut as i said, it was working few days ago13:15
KotCzarnyso i consider network changing in a way it made n900 baffled13:15
KotCzarnywell, not n900, dialer mostly13:15
KotCzarnywhere does it get information if cellular network is available?13:15
KotCzarnyor in other words, does it do ussd directly or calls some other app13:16
KotCzarnybtw. *#67# fails with the same error13:19
KotCzarnyso it somehow fails to acknowledget that cellular is available for all ussd codes13:20
KotCzarnyyet, calls/sms work as expected13:20
KotCzarny*#06# works, but i guess its handled differently from other codes13:20
*** Kabouik has joined #maemo13:23
*** Kabouik_ has quit IRC13:25
*** Oksanaa has joined #maemo13:25
DocScrutinizer05try a different network (aka SIM)13:26
DocScrutinizer05I mean, ebay PP payment fucked up, why shouldn't your carrier's USSD handling be fucked up13:28
DocScrutinizer05obviously they set a wrong default encoding13:28
DocScrutinizer05you could try sending a SMS to yourself13:29
DocScrutinizer05or send a SMS to some carrier's services, often they have that stuff to query your prepaid bakance etc13:30
*** merlin1991 has quit IRC13:39
*** MikaT has joined #maemo13:39
*** merlin1991 has joined #maemo13:39
Ras_OlderGood morning everyone! I could order a coffee to bed... *yawns*13:41
*** obsed has quit IRC13:45
*** wnd has joined #maemo13:45
*** sparetire_ has joined #maemo13:58
*** RedW has quit IRC14:02
*** Oksanaa has quit IRC14:03
*** RedW has joined #maemo14:04
*** Oksanaa has joined #maemo14:06
*** Oksanaa has joined #maemo14:06
*** _rd has quit IRC14:34
*** _rd has joined #maemo14:39
*** Cor-Ai has quit IRC14:50
*** Cor-Ai has joined #maemo14:51
*** mavhc has quit IRC14:54
*** mavhc has joined #maemo14:57
Palihi! is there any guru-guru for XS language?15:09
KotCzarnyxs?15:43
*** _rd has quit IRC15:45
*** kerio has quit IRC15:48
*** fuz_ has quit IRC15:49
*** robink has quit IRC15:50
*** kerio has joined #maemo15:51
*** _rd has joined #maemo15:53
*** Oksanaa has quit IRC16:04
*** fuz_ has joined #maemo16:05
*** trumee has quit IRC16:07
*** _rd has quit IRC16:07
*** trumee has joined #maemo16:10
*** Oksanaa has joined #maemo16:12
*** KotCzarny has quit IRC16:13
*** _rd has joined #maemo16:17
*** KotCzarny has joined #maemo16:23
PaliKotCzarny: yes XS16:26
KotCzarnynever heard of it16:27
Palithat language in which you can write perl functions which can call native C functions16:27
Paliuses xsubpp compiler (XS to C)16:27
KotCzarnyso, is there any wiki admin online?16:31
KotCzarny<a style="background-image: url(/var/lib/mediawiki/skins/common/images/maemo-logo.png);" href="/Main_Page" title="Visit the main page [alt-shift-z]" accesskey="z"></a>16:31
KotCzarnysomeone messed path a bit16:31
KotCzarnytough it might be a job for anyone with file access to wiki server16:32
* Sicelo is by the way not in favor of the "image" concept being discussed here in the last few days.16:52
*** ssvb has quit IRC16:56
*** Oksanaa has quit IRC16:57
*** _rd has quit IRC17:06
*** trumee has quit IRC17:30
*** trumee has joined #maemo17:34
*** Tekk_ has quit IRC17:38
*** ssvb has joined #maemo17:56
*** xorly has joined #maemo17:57
*** LjL-Cat is now known as LjL18:05
*** trumee has quit IRC18:07
*** trumee has joined #maemo18:10
vectishmm, my N810 is stuck at the 'Nokia hands' screen, but I can ssh into it. Is it fixable? what to look for?18:12
*** Venusaur has quit IRC18:13
sixwheeledbeastWell I'd guess flashing would fix it.18:25
sixwheeledbeastI assume you don't wish to do that18:25
*** Venusaur has joined #maemo18:28
keriovectis: first thing18:28
keriodo you have a way to charge the battery?18:28
kerioother than the N810 itself18:28
vectisI have another N810, so yes.18:29
vectisit's been up and working for days, so it's probably something i've built/installed recently18:31
KotCzarnyhmm18:32
Humpelstilzchenor a filesystem corruption18:33
KotCzarnyif you can ssh, you can check what is the latest pid18:33
KotCzarnythen you will see how far did it go18:33
KotCzarnyalso, dmesg can provide a hint18:33
*** beford has quit IRC18:36
vectisok, it's not the 'hands' rather the 'nokia' screen. dmesg gives the following: http://pastebin.com/3dKH3br118:46
KotCzarnypaste process list maybe18:46
vectisprocess list = top? http://pastebin.com/xyNdZaWX18:49
KotCzarnyps axw18:50
KotCzarnybut it looks like things have started18:50
vectishttp://pastebin.com/9Z81nAfa18:51
vectisasui is running after I press the power button18:51
KotCzarnywere you modifying startup scripts?18:52
vectisnot to my knowledge, but it's been up for a week+18:54
KotCzarnyif you are feeling adventurous you may try killing things18:54
KotCzarnystart from 1509 and decrease pids18:55
KotCzarnyyou may lose network connection, but apparently something is blocking18:55
KotCzarnyyou may also try installing some syslog and reboot18:55
vectiscould you explain further? I can always rewrite the image file, but I'd like to find out the cause18:57
KotCzarnynothing special in your pastes18:57
KotCzarnylooks like window manager and friends are started18:57
KotCzarnyso, i would start poking in the dark: kill 1424  (you might be disconnected, so reboot might be required later)18:58
*** kerio has quit IRC19:01
*** kerio has joined #maemo19:01
vectissudo kill 1424 still the same19:02
KotCzarnykill 1481 147919:03
vectisno change19:04
KotCzarnyok, lets go more radical: kill 1002 (should kill and restart window manager)19:05
*** darkschneider has quit IRC19:07
*** darkschneider has joined #maemo19:08
vectisstill the same but I've lost asui now19:08
KotCzarnyok, even more radical, lets kill Xomap: kill 95619:08
Siceloout of curiosity, what's asui?19:09
vectishttp://asui.garage.maemo.org/19:11
vectisstill no change :(19:11
KotCzarnyps ax and check if things restarted on their own19:12
vectishttp://pastebin.com/gcmwb2Km19:13
Siceloi think i'll buy an N810 if i ever come across one :)19:13
KotCzarnyXomap didnt restart19:14
vectislol, just don't press the buttons in the sequence that I did :D19:14
KotCzarnyhmm?19:14
vectisshould I give up?19:18
KotCzarnydont remember command to restart xomap19:19
vectislol, ok19:19
KotCzarnycheck scripts in /etc/init.rd19:19
KotCzarnythen run one with restart as a param19:19
KotCzarny i mean /etc/init.d19:19
KotCzarnyasui looks nice19:22
*** _rd has joined #maemo19:26
Sicelo[N900] .. i was just testing a few programs on N900 which exhibit extreme slowness, e.g. opening a large pdf file with lots of pictures. i always assumed that our slowness is due to low ram & having to swap a lot, but htop seems to indicate we just have a slow processor for those things. is my observation just placebo effect?19:28
KotCzarnyiostat -k 119:28
KotCzarnyor vmstat19:28
KotCzarnyyou will see19:28
HumpelstilzchenSicelo: tried swappolube?19:28
KotCzarnyremember that random write access to flash is extremely slow19:29
KotCzarnyso even 10iops is plenty19:29
vectishmm im getting command not found for 'start' and 'restart'19:30
KotCzarnyuse: ./somescript restart19:30
vectis/etc/init.d/x-server: line 50: dsmetool: not found19:31
KotCzarnyhum19:33
Siceloso we have slow chips? Humpelstilzchen i don't use swappolube, but occasionally do enable swap on uSD19:33
vectishmm, I missed out sudo command. Xomap is restarted. http://pastebin.com/srC6y1UQ19:49
KotCzarnybut nothing changed on screen?19:50
vectisno, all I have is a white screen19:53
KotCzarnyno hands?19:53
vectisno.19:53
KotCzarnyrestart wm too19:53
KotCzarnyshould be in the startup scripts too19:53
vectisok, thanks for your help19:53
KotCzarnyits not final19:54
KotCzarnyyou still have to figure out what made it stop19:54
KotCzarnyas you had x and wm running19:54
KotCzarnyjust not updating screen19:54
vectisI ran /etc/init.d/hildon-desktop script but no change19:58
KotCzarnywith restart as option?19:58
KotCzarnyrestart matchbox (its the wm)19:58
*** Cor-Ai has quit IRC19:59
*** Cor-Ai has joined #maemo20:02
*** robink_ has joined #maemo20:10
*** _rd has quit IRC20:13
vectisI'm out of my depth here, I don't know how to restart matchbox :(20:14
KotCzarnywhat are the script names?20:15
KotCzarny(sorry, my n800 is sleeping quite far away)20:15
Sicelorestart didn't help?20:16
vectishttp://pastebin.com/7xWwh3aF20:16
KotCzarnyhum20:17
KotCzarnygrep matchbox * ?20:17
vectisnothing20:18
stryngsSicelo: Out of curiosity, why not in favor of the "unification"?20:19
KotCzarnyvectis, hildon-desktop restart ?20:20
vectisyep, tried that already. restart is not implimented, only start.20:23
vectisI tried start as well20:23
vectisif I stop it, will just reboot?20:27
KotCzarnydont know what watchdog monitors20:28
vectisI think I should have mentioned that I have r&d mode enabled20:28
vectishmm, stop and start still leaves me with a white screen20:30
KotCzarnyr&d shouldnt stop things from showing up20:30
KotCzarnycan you run xterm or some other x app?20:30
vectisosso-xterm returns no errors nor any change to the screen.20:33
KotCzarnyhmm20:33
KotCzarnyi assume you've rebooted few times once you got that white screen for the first time?20:34
vectisyer20:34
KotCzarnyis there x log in /var/log ?20:35
Sicelostryngs: i still don't understand what fragmentation is in this context. that's just the beginning though.20:36
vectisno its empty. should I just install syslog?20:36
KotCzarnyvectis, nah, take note of X params, then kill it, and run from terminal maybe20:36
Sicelostryngs: so i don't yet really know which problem unifications is attemptiong to solve .. XY?20:37
vectisKotCzarny: I don't understand :(20:38
*** _rd has joined #maemo20:38
KotCzarnyvectis, right now its started and forks into background20:39
KotCzarnymaybe it will print some debug to terminal20:39
KotCzarny /usr/bin/Xomap -mouse tslib -nozap -dpi 96 -wr -nolisten tcp20:39
KotCzarnydont know what -wr does20:39
KotCzarnybut kill Xomap then start it directly from terminal (without script)20:41
Sicelostryngs: i'm not saying it should not be done or abandoned ..20:42
vectisKotCzarny: I ran sudo killall Xomap then ran the command above. apart from some errors regarding keycodes, no change.20:44
KotCzarnyvectis, somehow your xomap doesnt render things20:45
*** Tekk_ has joined #maemo20:47
vectisI guess it must be some software that I've compiled and installed. Trouble is that I've done quite a lot without a reboot.20:49
KotCzarnytry reinstalling xomap package20:50
KotCzarnyor xorg or xorg-server20:52
KotCzarnydpkg -l|grep -i xomap20:52
KotCzarnyor xorg20:52
KotCzarnyor just dpkg -S /usr/sbin/Xomap20:52
KotCzarnywill give you name of the package containing it20:52
*** M4rtinK has quit IRC20:52
*** protem has joined #maemo20:57
vectisI re-installed libxsp0 and xserver-xomap then rebooted. No change though :(21:01
KotCzarnyhmm, powerdown, take out battery, wait 20s, restart?21:02
vectislol, I guess I should just overwrite the microsd with a copy of the image I made and start again. Just wish I could figure out how I broke it.21:05
KotCzarnyreboot more often after serious system changes :)21:06
vectishmm, I didn't think anything I was doing was that serious.21:07
*** M4rtinK has joined #maemo21:21
*** _rd has quit IRC21:29
KotCzarnyhmm21:40
KotCzarnycouncil people are english illiterate?21:40
KotCzarnyor just drunk?21:40
Sicelohaha, why?21:40
*** protem has quit IRC21:41
KotCzarnyDear kotczarny,21:41
KotCzarnyThe Council apologises for the inconvenience caused by the fact that there were some glitches in the election machie, making this already the fourth attempt at setting up the Referendum.21:41
KotCzarnyWe are not spamming your inbox in purpose, and hope that this time it will work allright.21:41
Siceloauthentic?21:42
KotCzarnyjust got this email21:42
KotCzarnyfrom 127.0.0.1 (EHLO mail.maemo.org) (213.128.137.23)21:44
KotCzarny     root <root@www1.maemo.org>21:44
KotCzarnyhehe21:44
KotCzarnyusing root on internet connected machine to send emails? why not21:45
Sicelothe email still gets dispatched ;)21:51
KotCzarnydoesnt make them too pro though ;)21:53
Sicelolet's hope it's just a quirky alias21:57
Siceloand not actual root account21:57
KotCzarnyyeah, sure21:57
KotCzarnynot to mention that sending that email just made them subscribed to bazilion of spam sites21:58
KotCzarny:)21:58
KotCzarnylets just hope root doesnt get any mail ;)21:58
*** lxp has quit IRC22:07
*** lxp has joined #maemo22:07
*** zGrr has joined #maemo22:13
*** lxp has quit IRC22:20
*** lxp has joined #maemo22:24
*** ced117 has quit IRC22:25
*** xes_ has joined #maemo22:29
KotCzarnyxes_: can you modify files on wiki.maemo.org?22:30
*** M4rtinK has quit IRC22:31
*** xes has quit IRC22:32
*** _rd has joined #maemo22:40
*** LauRoman has joined #maemo22:57
*** florian has joined #maemo23:03
*** SpeedEvil has quit IRC23:13
*** SpeedEvil has joined #maemo23:14
*** NIN101 has quit IRC23:20
*** NIN101 has joined #maemo23:20
vectisKotCzarny: I've traced the problem to libcurl - must remember not to overwrite system files so late at night :)23:26
*** aloril has quit IRC23:38
*** Oksanaa has joined #maemo23:39
*** aloril has joined #maemo23:39
KotCzarnyvectis, what?23:58
KotCzarnyi knew maemo is very fragile, but libcurl?23:58
KotCzarnyhow does it blocked Xomap rendering?23:58

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