IRC log of #maemo for Saturday, 2016-02-06

*** mavhc has joined #maemo00:01
*** trumee has quit IRC00:13
*** trumee has joined #maemo00:15
*** xelo has joined #maemo00:19
*** xelo has quit IRC00:38
*** futpib has quit IRC00:47
*** Hurrian has joined #maemo01:05
*** SmilybOrg is now known as Smily01:10
*** vakkov has quit IRC01:10
*** M4rtinK2 has quit IRC01:10
*** DrCode has joined #maemo01:20
*** vakkov has joined #maemo01:23
*** krnlyng has quit IRC01:24
*** krnlyng has joined #maemo01:29
*** capitanocrunch has joined #maemo01:40
capitanocrunchhello01:40
*** RedW has joined #maemo01:40
*** RedM has quit IRC01:41
capitanocrunchanybody knows the file /var/log/maemo-optify-boottime.log ?01:42
capitanocrunchits logging this  message again and again01:44
capitanocrunch MB free), quitting.01:45
capitanocrunch1+0 records in01:45
capitanocrunch1+0 records out01:45
capitanocrunch512 bytes (512B) copied, 1.502015 seconds, 340B/s01:45
capitanocrunch2016-01-17 20:48:56 :: not enough free space in /home (need at least 200 MB free), quitting.01:45
*** buZz has quit IRC01:53
*** buZz has joined #maemo01:54
*** buZz is now known as Guest3319201:54
*** Guest33192 is now known as buZz01:56
*** jonwil has joined #maemo02:13
*** flo_lap has quit IRC02:16
*** Pali has quit IRC02:17
*** krnlyng has quit IRC02:29
*** msava has quit IRC02:39
*** msava has joined #maemo02:42
*** at1as has joined #maemo02:48
DocScrutinizer05capitanocrunch: it's maemo-optify that tries to move stuff from NAND (/) to eMMC (/home) and obviously fails02:49
brolin_empeyDocScrutinizer05: I know what you mean based on the context but eMMC uses NAND flash memory too.  So does the SD card.02:52
DocScrutinizer05make some free space on /home02:52
DocScrutinizer05well, and Intergrated Circuits also use transistors, despite they are said to use gates02:53
brolin_empeyAnyway, is the BlackBerry Priv currently the only model of handheld computer with integrated and converged cellular telephony capability (“smartphone”) that 1) natively runs the Android OS; 2) has an integrated hardware keyboard; and 3) has integrated LTE connectivity?02:57
brolin_empeyThe Priv is not the only model that meets 1) and 2) but I suspect that most of the other models are too old to meet 3).02:59
*** chem|st has joined #maemo03:14
brolin_empeyFor example, the HTC myTouch 4G Slide from year 2011 meets 1) and 2) but not 3).03:15
*** BCMM has quit IRC03:18
*** chem|st has quit IRC03:21
*** chem|st has joined #maemo03:27
*** RedM has joined #maemo03:27
*** RedW has quit IRC03:27
*** Venusaur has joined #maemo03:28
*** krnlyng has joined #maemo03:29
*** at1as has quit IRC03:43
*** eMHa__ has joined #maemo04:34
*** eMHa_ has quit IRC04:37
*** Defiant has quit IRC04:40
*** Defiant has joined #maemo04:45
*** LauRoman has joined #maemo05:08
*** krnlyng has quit IRC05:19
*** krnlyng has joined #maemo05:30
*** LauRoman has quit IRC05:53
*** lxp1 has joined #maemo06:01
*** lxp has quit IRC06:03
*** krnlyng has quit IRC06:32
*** DocScrutinizer05 has quit IRC06:52
*** DocScrutinizer05 has joined #maemo06:52
*** Hurrian has quit IRC06:53
*** capitanocrunch has quit IRC07:01
*** sparetire has quit IRC07:12
*** capitanocrunch has joined #maemo07:15
*** Hurrian has joined #maemo07:23
*** krnlyng has joined #maemo07:30
*** capitanocrunch has quit IRC07:39
*** capitanocrunch has joined #maemo07:43
capitanocrunchDocScrutinizer51:  strange,conky says i have 938MB free on /home07:49
capitanocrunchso why maemo-optify is complaining about not enough space at least 200MB needed07:52
Vajb_capitanocrunch: just a thought, but maybe it tries to move something big and it needs 200mb more08:06
*** tryagain has joined #maemo08:09
capitanocrunchit seems noting big to move in /etc/maemo-optify-auto-opt.conf08:43
*** krnlyng has quit IRC08:45
MaxdamantusJust avoid optification and put everything on eMMC in the first place.09:18
*** krnlyng has joined #maemo09:31
*** Vajb_ has quit IRC10:01
*** futpib has joined #maemo10:20
*** fuz_ has quit IRC10:39
*** capitanocrunch has quit IRC10:48
*** krnlyng has quit IRC10:51
*** xelo has joined #maemo10:51
*** Pali has joined #maemo11:04
*** fuz_ has joined #maemo11:05
*** krnlyng has joined #maemo11:31
*** hashcor has joined #maemo11:32
freemangordonPali: whi is 550 MHz disabled?11:42
Palifreemangordon: do not remember now...11:42
freemangordonPali: http://pastebin.com/sVFgySwx11:42
freemangordonalso, what about that latency, is it the same on n900 as on generic omap?11:43
Paliwe have some table in comment in board-rx51*.c files11:44
Paliwhich contains these informations11:44
freemangordonPali: alos, you should enable    CONFIG_CPUFREQ_DT, disable CONFIG_ARM_OMAP2PLUS_CPUFREQ and make CONFIG_THERMAL=y. Please, enable  CONFIG_KERNEL_MODE_NEON while at it11:45
freemangordon*also11:45
freemangordonok, will look at it11:45
Paliwhy is CONFIG_THERMAL=y needed? is not CONFIG_THERMAL=m enough?11:46
freemangordonPali: that table is for cpuidle C-states, not cpufreq11:46
Palithen you need to dig table from kernel-power11:46
freemangordonPali: "# if CPU_THERMAL is on and THERMAL=m, CPUFREQ_DT cannot be =y"11:46
Paliok11:46
Palirx51 has different tables as generic omap11:47
Paliwe have some patches for legecy board code in linux-n900 tree11:47
freemangordonsaw no latency there, but will look agan11:47
Palifc858246d6e5735efb64016e4a453face1228c11 and df5c1e60a5213755d31631b7c12bf33bc1a6bb7011:48
Palithats alls what is in linux-n900 tree11:48
freemangordonyep. is that latency used at all in older kernels?11:50
Palithis was is in linux-n900 tree for a long time11:51
Palibut do not know if it matches data from kernel-power11:51
freemangordonwhere is that tada in KP, I can't find it11:51
freemangordonI am not talking about C-states :)11:52
*** clopez has quit IRC11:52
freemangordonPali: also, please merge my onenand patch, until we have a better fix from tony11:54
Paliok11:54
freemangordonvery bad things happen without it :)11:54
*** Vajb has joined #maemo11:58
*** clopez has joined #maemo11:58
*** xelo has quit IRC12:01
Palifreemangordon: are we really able to use CONFIG_ARM_OMAP2PLUS_CPUFREQ?12:01
PaliCONFIG_CPUFREQ_DT and not CONFIG_ARM_OMAP2PLUS_CPUFREQ?12:01
freemangordonPali: at least in qemu12:12
freemangordonPali: see omap2plus_defconfig12:13
Paliok, it is there enabled....12:13
freemangordonit has CONFIG_CPUFREQ_DT=y and CONFIG_ARM_OMAP2PLUS_CPUFREQ disabled12:13
freemangordonPali: do you know what is the diference?12:14
*** eijk_ has joined #maemo12:14
freemangordonas I suspect ONFIG_ARM_OMAP2PLUS_CPUFREQ cannot be used with DT12:14
Paliyou are probably, rigth, see arch/arm/mach-omap2/pm.c12:16
Palifunction omap_init_cpufreq12:16
freemangordon:nod:12:17
Palipatches pushed to linux-n900 tree12:17
freemangordonPali: also, why we have g_nokia and ko built-in?12:18
freemangordon*co12:18
Palinfs usb root without initfs12:18
freemangordonhmm12:19
Paliit provides usb networking12:19
freemangordonI know about usb net12:19
Palianyway, g_nokia now contains also removable mass storage subgadget12:19
freemangordonthe point is that with those built-in kernel is too big for qemu12:19
freemangordonat least for the scripts you gave me12:19
Paliuse qflasher -v -m rx51 -p k=4094,i=212:19
Paliit will increase size of kernel partition and decrease initfs12:20
freemangordonok12:20
freemangordonPali: also, please put that bqxxx name patch12:26
ceenePali: which tag are you developing on now? 4.5-rc1?12:34
Palifreemangordon: bq patch pushed12:34
Paliceene: v4.5-rc1-n90012:34
freemangordonPali: thanks12:34
freemangordonPali: any ide why "omap2_set_init_voltage: unable to find boot up OPP for vdd_core"12:35
Palino idea12:35
* jonwil has just about figured out all the steps necessary to update the root certificate store in CSSU12:44
jonwilJust need to figure out how to change maemo-security-certman so that things will do what they are supposed to do on Scratchbox (where /etc is a symlink)12:45
*** heroux has joined #maemo12:47
*** krnlyng has quit IRC12:50
freemangordonPali: cpufreq_dt seems to work on the device too :)12:58
Paligreat12:58
freemangordonat least there is stats with some values, going to check the current12:58
freemangordonPOWER_SUPPLY_CURRENT_NOW=9246313:00
freemangordonPOWER_SUPPLY_CURRENT_NOW=9174913:00
freemangordonI guess that's fine, given that deep idle states does not work, still13:01
freemangordonPali: there is something weird for SR nvalues, all of them are different13:05
*** ShadowJK has quit IRC13:09
*** ShadowJK has joined #maemo13:10
*** hashcor is now known as hashcore13:14
Wizzupjonwil: good news13:14
*** eijk_ has quit IRC13:15
*** jonwil has quit IRC13:16
freemangordonPali: http://pastebin.com/nYGWAAwA :)13:20
*** heroux has quit IRC13:20
*** pagurus has joined #maemo13:25
*** heroux has joined #maemo13:28
*** krnlyng has joined #maemo13:32
*** jonwil has joined #maemo13:33
ceenestill no mmc :(13:39
ceene[    6.122467] omap_hsmmc 4809c000.mmc: omap_device: omap_device_enable() called from invalid state 113:39
ceene[    6.217590] omap_hsmmc 480b4000.mmc: omap_device: omap_device_enable() called from invalid state 113:39
ceene[    8.263732] mmc0: card never left busy state13:39
ceene[    8.288024] mmc0: error -110 whilst initialising SD card13:39
MaxdamantusMaybe you shouldn't've used it for swap.13:41
ceenethis sd card works fine on kernel power13:41
ceenebut doesn't on pali's kernel13:41
MaxdamantusOh, it's just an SD card then?13:41
ceenewell, i haven't tested any other sd card13:42
ceeneah, you thought i was talking about internal eMMC13:46
ceenei wanted to place there some rootfs, but since the kernel doesn't see it, i just can't :/13:49
MaxdamantusDoes it see the eMMCL13:50
Maxdamantuss/L$/?/13:50
*** heroux has quit IRC13:52
ceenei can't see it now either13:52
ceenei think i could with 4.4-rc713:52
ceeneuhm, no i couldn't either13:53
ceenewhat i do see is mtd devices13:53
Maxdamantuswhich are fairly independent from the eMMC/SD card.13:54
ceeneyep13:54
ceenei hadn't thought about emmc as i didn't want to use it for now13:55
freemangordonceene: you've pulled the latest from github?13:59
freemangordonceene: also, make sure to power-off before booting mainline kernel14:00
ceenev4.5-rc1-n900, just an hour ago or so14:00
*** heroux has joined #maemo14:00
freemangordonpulll again14:01
freemangordonPali pushed some stuff14:01
ceeneok14:01
freemangordonceene: eMMC works fine here14:01
ceeneis there any module i have to load or something like that?14:02
ceenei'm not booting into maemo, just to a small custom rootfs14:02
freemangordonceene: I boot maemo, so don't know14:02
freemangordonlemme check14:03
freemangordonceene: no, all the sd/mmc stuff seems to be built-in14:03
freemangordonceene: but, it is very important to power-off befor booting14:04
ceenei even removed battery14:04
freemangordonotherwise some i2c bus get stuck14:04
ceenei can try to boot my other n90014:04
freemangordonshouldn;t make difference14:05
ceenewell, it works on yours14:05
ceenewhy doesn't on mine?14:05
freemangordonceene: did you do make mrproper recently?14:05
ceenei'm rebuilding totally from scratch right now14:05
freemangordonceene: branch v4.5-rc1-n900?14:06
ceeneyes14:06
freemangordonceene: add http://pastebin.com/sVFgySwx as well, otherwise cpufreq won;t work14:06
freemangordonafaik14:06
ceeneok, i don't mind much right now about that14:07
freemangordon:)14:07
freemangordonceene: do you want me to share my kernel?14:07
ceenesure, let's give it a try14:08
freemangordonto see if it will have eMMC working?14:08
freemangordonok, just a minute14:08
freemangordonceene: http://46.249.74.23/linux/14:09
ceenedownloading, thanks14:11
ceeneuhm, i need to tweak my rootfs to load your kernel14:18
ceenedo you mind if we continue at some other time?14:18
freemangordonhmm?14:18
freemangordonsure14:18
ceenei'm late to eat lunch with the in-laws14:18
ceene:&14:18
ceene:/14:18
ceeneit has booted your kernel but is complaining about /dev/null not existing14:19
freemangordonbut does mmc work?14:19
ceenedon't know14:19
ceenecan't do anything at all14:19
ceene:)14:19
freemangordonok14:19
ceenesince there are no dev entries, nothing really works14:19
freemangordonok14:19
ceenejust console output complaining about that around 100 times per second14:20
freemangordon:)14:20
ceenei may be able to tinker a bit this afternoon, but don't know for sure14:20
ceenethanks, cya later!14:20
*** shentey has joined #maemo14:30
Maxdamantusmount -t devtmpfs dev /dev14:33
*** shentey has quit IRC14:33
*** shentey has joined #maemo14:35
*** hashcore has quit IRC15:09
*** hashcore has joined #maemo15:10
jogahmm.. is it possible to use n900 as a microsd card reader over usb, ie. expose the card if I insert one in to the slot and plug it in?15:16
jogaI need to write an image to a microsd but can't find my card adapters *anywhere* and the laptops that have readers only take in a typical size sd card :)15:17
freemangordonjoga: yes, you can15:18
jogaare there any caveats, I remember I've had crashes when trying to write too fast to mydocs15:19
freemangordonnone I am aware of15:19
jogaguess I could try it..15:19
jonwilbah, I cant seem to figure out the behaviour of glibc when you call chdir(blah) where blah is a symlink to something else15:29
*** heroux has quit IRC15:39
*** xelo has joined #maemo15:44
*** heroux has joined #maemo15:55
*** sparetire has joined #maemo16:08
DocScrutinizer05jonwil: >>  ELOOP  Too many symbolic links were encountered in resolving path. << I can't deduce anything special about symlinks from this error16:21
jonwilI ran a test and it looks like yes, in the environment I have with the glibc I have etc, chdir does resolve symlinks16:22
*** flo_lap has joined #maemo16:22
DocScrutinizer05yeah sure, there's also >>Depending on the file system, other errors can be returned.<<16:24
DocScrutinizer05see FAT16:25
DocScrutinizer05well, FAT is an inappropriate example since you won't even _find_ any symlinks on it16:25
DocScrutinizer05so unlike trying to create a symlink, for chdir() symlinks on FAT are a non-issue16:26
DocScrutinizer05I recently wondered if a symlink on ext* can point to a VFAT file. I guess "why not"16:27
*** heroux has quit IRC16:32
*** heroux has joined #maemo16:35
DocScrutinizer05POSIX seems identical16:44
DocScrutinizer05(man 3p chdir)16:44
*** shentey has quit IRC16:45
DocScrutinizer05what I would love is a option to ls that colors path parts that are actually symlinks16:46
DocScrutinizer05well, I made lstree which does something similar16:47
DocScrutinizer05http://paste.opensuse.org/5123642316:48
DocScrutinizer05http://paste.opensuse.org/8298559216:49
*** ashneo76 has joined #maemo16:56
*** RedW has joined #maemo17:11
*** RedM has quit IRC17:12
*** eijk_ has joined #maemo17:15
*** akossh has joined #maemo17:19
*** RedM has joined #maemo17:41
*** RedW has quit IRC17:41
*** heroux has quit IRC17:55
*** heroux has joined #maemo17:57
*** Vajb has quit IRC18:00
*** Vajb has joined #maemo18:01
*** clopez has quit IRC18:02
*** heroux has quit IRC18:05
*** heroux has joined #maemo18:09
jonwilok, so somehow I gotta figure out just what absolute_pathname in https://github.com/community-ssu/maemo-security-certman/blob/master/lib/security/maemosec_common.cpp is really doing and how to make it do what we want (return paths where the symlinks haven't been dereferenced) all without breaking anything else18:09
*** clopez has joined #maemo18:21
*** jonwil has quit IRC18:23
DocScrutinizer05hmm, I wonder why absolute_pathname should _not_ dereference symlinks, after all this is what it's all about18:27
DocScrutinizer05almost, it also changes relative pathname to /-anchored absolute pathname (as the name implies)18:28
*** futpib has quit IRC18:31
DocScrutinizer05I'm much more concerned about https://github.com/community-ssu/maemo-security-certman/blob/master/lib/security/maemosec_common.cpp#L22018:37
*** nikosapi has joined #maemo18:43
*** hashcore has quit IRC18:44
DocScrutinizer05process_name(string& to_this)  returns absolute_pathname() in to_this only if the process is not /usr/bin/maemo-launcher. AIUI otherwise it does return the program **TEXT** (the binary!!) of the <appname>.launch which is launched by maemo-launcher18:44
DocScrutinizer05sprintf(exe_name, "/proc/%ld/cmdline", (long)my_pid);  fd = open(exe_name, O_RDONLY);  if (fd >= 0) {ssize_t len = read(fd, buf, sizeof(buf));if (len) {to_this = buf;18:47
DocScrutinizer05aah oops, sorry. no this should work18:48
DocScrutinizer05I had one mental dereference too much ;-)18:49
*** xelo has quit IRC19:00
*** DocScrutinizer05 has quit IRC19:02
*** DocScrutinizer05 has joined #maemo19:02
*** protem has joined #maemo19:02
*** Vajb has quit IRC19:05
*** xelo has joined #maemo19:05
*** NIN101 has quit IRC19:18
*** NIN101 has joined #maemo19:19
*** RedW has joined #maemo19:24
*** Kabouik has joined #maemo19:24
*** RedM has quit IRC19:25
*** hashcor has joined #maemo19:39
*** heroux has quit IRC19:43
*** hashcor is now known as hashcore19:44
*** xelo has quit IRC19:46
*** Defiant has quit IRC19:52
*** Defiant has joined #maemo19:57
*** heroux has joined #maemo20:06
*** shentey has joined #maemo20:12
*** RedM has joined #maemo20:13
*** RedW has quit IRC20:14
ceenefreemangordon: i've been testing different things and it seems it was the poweroff thing you told me about20:21
ceenei now see eMMC and external SD card20:22
*** shamus has quit IRC20:22
ceeneif i reboot and reload the same kernel, they won't show20:23
ceenei can poweroff from pali's kernel, boot that kernel again, and then they will appear again20:23
*** futpib has joined #maemo20:34
*** RedM has quit IRC20:35
*** RedW has joined #maemo20:35
*** LauRoman has joined #maemo20:38
*** krnlyng has quit IRC20:47
*** krnlyng has joined #maemo20:48
*** shentey_ has joined #maemo20:54
*** vakkov has quit IRC20:54
*** shentey has quit IRC21:07
*** krnlyng_ has joined #maemo21:14
*** krnlyng has quit IRC21:18
*** krnlyng_ is now known as krnlyng21:25
*** msava has quit IRC21:28
*** vakkov has joined #maemo21:29
*** heroux has quit IRC21:47
*** akossh has quit IRC21:49
*** heroux has joined #maemo21:51
*** RedW has quit IRC21:56
*** RedM has joined #maemo21:56
*** heroux has quit IRC21:57
Maxdamantus02:29:51 < jonwil> bah, I cant seem to figure out the behaviour of glibc when you call chdir(blah) where blah is a symlink to something else21:57
Maxdamantuschdir in glibc pretty much just directly invokes the chdir system call, which handles them.21:58
*** heroux has joined #maemo22:02
MaxdamantusThis is fucking horrible.22:04
Maxdamantustgtname = (char*)malloc(PATH_MAX);22:04
MaxdamantusThat memory is never freed.22:04
MaxdamantusHow is this function actually used?22:04
MaxdamantusUnless it's meant to be used with something like boehmgc, but that's horrible (and I highly doubt that's the case).22:06
*** shentey_ has quit IRC22:07
*** akossh has joined #maemo22:07
MaxdamantusWell, it's freed in one possible code path.22:09
Maxdamantus/proc/%ld/cmdline is the arguments passed to the current program btw, not the link to the binary (that's /proc/%ld/exe)22:13
*** Vajb has joined #maemo22:17
*** Sicelo009N has joined #maemo22:45
*** heroux has quit IRC22:51
*** flo_lap is now known as florian23:03
*** heroux has joined #maemo23:05
*** heroux has quit IRC23:13
*** tryagain has quit IRC23:16
*** heroux has joined #maemo23:23
*** eijk_ has quit IRC23:31
*** futpib has quit IRC23:34
*** LauRoman|Phone has joined #maemo23:41
*** LauRoman has quit IRC23:56

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