IRC log of #maemo for Monday, 2016-05-09

*** LauRoman has joined #maemo00:01
*** sunshavi has joined #maemo00:12
*** noch has quit IRC00:16
*** sq-one has quit IRC00:20
*** trumee has quit IRC00:25
*** trumee has joined #maemo00:29
*** xorly has quit IRC00:56
Linkandzeldahow easy is it to take apart n900 and swap the screen?01:13
*** Pali has quit IRC01:14
Siceloeasy .. depends on you really (and tools) :)01:22
*** Valle__ has quit IRC01:37
*** futpib has quit IRC01:52
*** florian has quit IRC02:06
*** ssvb has joined #maemo02:09
*** githogori has quit IRC02:16
*** vakkov has joined #maemo03:22
*** Humpelstilzchen has joined #maemo04:03
*** Defiant has quit IRC04:05
*** KotCzarny has quit IRC04:10
*** eMHa has joined #maemo04:15
*** eMHa__ has quit IRC04:19
*** Humpelstilzchen has quit IRC04:19
*** Defiant has joined #maemo04:20
*** vakkov has quit IRC04:34
*** inz has quit IRC04:37
*** inz has joined #maemo04:44
*** vakkov has joined #maemo05:18
*** sunshavi has quit IRC05:54
*** lxp has joined #maemo06:02
*** lxp1 has quit IRC06:04
*** KotCzarny has joined #maemo06:06
*** pagurus` has joined #maemo06:41
*** pagurus` has joined #maemo06:42
*** pagurus` has quit IRC06:43
*** pagurus has quit IRC06:43
*** pagurus` has joined #maemo06:45
*** DocScrutinizer05 has quit IRC06:59
*** DocScrutinizer05 has joined #maemo06:59
*** Oksana has joined #maemo07:41
*** vakkov has quit IRC07:42
*** githogori has joined #maemo07:54
*** thuttu77_2 has quit IRC08:05
*** arcean has joined #maemo08:30
*** japa-fi has joined #maemo08:46
*** xorly has joined #maemo08:52
*** infobot has quit IRC09:10
*** xorly has quit IRC09:22
*** japa-fi has quit IRC09:51
*** KotCzarny has quit IRC10:10
*** jskarvad has joined #maemo10:20
*** KotCzarny has joined #maemo10:26
*** florian has joined #maemo10:31
bencohLinkandzelda: you do have the service manuals? :)10:37
*** florian has quit IRC10:40
*** Valle__ has joined #maemo10:40
*** thuttu77 has joined #maemo10:44
*** PiZZaMartijn has joined #maemo10:53
*** heroux has quit IRC11:06
*** heroux has joined #maemo11:07
*** Valle__ has quit IRC11:23
*** jskarvad has quit IRC11:23
*** amospalla has quit IRC11:31
ceenemy new sim has just arrived at home11:34
ceenei'm at work, though11:34
ceeneand i've slept quite bad today, so maybe i won't start again with yappari until tomorrow11:34
ceenebut at least i've got the tools now :)11:34
*** Valle__ has joined #maemo11:34
DocScrutinizer05you prolla should have gotten 2 dozen, no?11:49
DocScrutinizer05wait... 3 dozen, so statistically you always have a number that just got unlocked after 60 days11:50
*** amospalla has joined #maemo11:51
*** heroux has quit IRC11:56
*** N-Mi has joined #maemo11:57
*** xorly has joined #maemo11:58
*** heroux has joined #maemo12:04
*** florian has joined #maemo12:31
*** heroux has quit IRC12:32
*** jskarvad has joined #maemo12:33
*** heroux has joined #maemo12:34
*** infobot has joined #maemo12:34
*** heroux has quit IRC12:42
*** heroux has joined #maemo12:42
*** eMHa has quit IRC13:02
*** l_bratch has quit IRC13:10
*** futpib has joined #maemo13:12
*** xorly has quit IRC13:41
*** vahe has joined #maemo13:41
*** jonwil has joined #maemo13:59
ceenelet's hope i only need this one :)14:04
KotCzarnyi dont use crapsapp so i can lend you my number too14:07
KotCzarnyand 2 numbers of my gf14:08
buZzi've tried to convince facebook that my mobile number is the same as their amsterdam offices14:08
KotCzarnyand there are starters for ~0.7eur14:08
buZzthusfar they've been refusing it :P14:08
Sicelolol buzz14:12
buZzi'll get them to do it ;)14:12
buZzmaybe i can just put a random recruiter thats hunting for FB employees in it14:13
jonwilSo yeah in reference to the discussion in the channel a few days ago, no, I am not interested in reverse engineering WhatsApp or anything else to do with Facebook :)14:33
jonwilAlthough it sounds like progress is being made and reverse engineering is not needed right now14:34
*** Valle__ has quit IRC14:34
*** tanty_off is now known as tanty14:43
jonwilOh and in regards to whoever it was that was asking about GPRS before, the GPRS stuff is handled by the cellular services daemon and csd-gprs. The dbus interface to this module is actually documented (likely unintentionally though)14:43
jonwilThe thing that talks to it is libicd-network-gprs14:43
* jonwil wonders if there are still parts of the various cellular standards that are not available to the public (I know the GSM encryption used to be top secret14:47
jonwilbut then someone figured it out and its not secret anymore14:49
jonwil@kerio: ping14:51
keriojonwil: sup14:54
*** r00t-home has joined #maemo14:55
*** vakkov has joined #maemo14:56
*** r00t^home has quit IRC14:59
jonwilSo yeah about openssl in maemo and what you said the other day (reading from chanlogs) it looks like there are less dependencies on openssl than it looks at first glance15:02
jonwiland especially less closed source dependencies15:03
*** arossdotme has quit IRC15:06
*** jskarvad has quit IRC15:06
*** arossdotme has joined #maemo15:08
*** yosafbridge` has quit IRC15:14
*** till has quit IRC15:22
*** till_ has joined #maemo15:23
*** ecloud is now known as ecloud_wfh15:28
*** ArGGu^^ has quit IRC15:30
*** ArGGu^^ has joined #maemo15:32
*** yosafbridge has joined #maemo15:45
*** eMHa has joined #maemo15:47
*** PiZZaMartijn has quit IRC15:49
*** xorly has joined #maemo15:51
*** vakkov has quit IRC16:01
*** xorly has quit IRC16:03
ceenenew number registered16:04
ceenelet's see what happens now16:05
*** sunshavi has joined #maemo16:07
ceeneSegmentation fault16:07
ceenethat was unexpected16:07
ceenei didn't do anything16:07
ceeneit segfaults when i try to send a message to someone16:17
ceenecipher() method from axolotl is segfaulting16:17
ceenethere's a lot of work here :(16:17
ceenei don't quite understand how can this even happen. libwa was supposedly working for coderus on jolla16:18
kerioceene: is it using libcrypto16:19 += openssl libssl libcrypto16:23
ceenesomewhere, yes16:23
keriosomeone hasn't been checking their NULLs16:23
ceenei guess so16:23 ? is that for axoloti?16:23
buZzhmm, no that cant be16:24
ceenebuZz: it's libaxolotl, now called simply Signal16:24
ceeneimplementation of textsecure16:24
buZzah ok16:24
ceenei don't know why the salad of names16:24
buZzcreativity :P16:25
ceenei don't know if i'm gonna be able to solve this16:26
ceeneeven if i solve this particular problem16:26
ceenewhat about all the future ones i don't even know about?16:26
ceenecoderus has gone completely silent16:26
*** Valle__ has joined #maemo16:31
*** vahe has quit IRC16:32
*** florian has quit IRC16:33
*** vahe has joined #maemo16:34
*** florian has joined #maemo16:35
jonwilIts a pitty no-one is still working on whatsapp plugin for libpurple, if that was still maintained then we could just compile libpurple on maemo and use that (which gets us all the other libpurple plugins too I guess)16:41
jonwilnot that I care about Whatsapp or anything else connected to Facebook :P16:43
ceeneproblem with purple is not whatsapp plugin i think16:43
ceenebut purple versions and libc compatibility16:43
ceeneor something like that16:43
ceenealso, maemo messaging interface is awful16:43
*** aloril_ has quit IRC16:45
*** arcean has quit IRC16:53
ceenenext step is gonna make axolotl and its children compile statically17:17
ceeneeasier debugging17:17
ceeneand i guess final .deb package should have them statically compiled17:18
ceeneno sense on distributing 3 .deb files for just one application17:18
ceeneand then maybe gdb step by step17:18
*** aloril has joined #maemo17:23
keriojonwil: \o/17:29
keriowho da man17:29
kerioyou da man17:29
keriojonwil: have you considered keeping openssl 0.9.8 instead?17:30
kerioi don't think ABI shims are going to work17:30
jonwilI never suggested abi shims17:30
ceene0x42c1d7a8 in AES_encrypt () from /usr/lib/
ceeneby the way... that's the origin of this segfault17:31
jonwilI suggested we port newest openssl/whatever to Maemo and recompile the things that make sense17:31
*** vahe has quit IRC17:31
jonwilThe things that we can recompile rather17:31
keriojonwil: what do you mean by "For the packages that link to libssl/libcrypto but dont actually call any functions in them"17:31
kerioyou mean packages that have them as a dependency?17:31
kerioremember that dlopen is fucking weird17:32
kerioand sometimes you might need to link in openssl to dlopen() a so that needs openssl17:32
keriooh nvm you also checked the .sos17:32
jonwilYeah I checked17:32
ceeneqt dlopens ssl, for example, and is ready to use any upper version17:32
ceeneas it searches for version numbers17:32
kerioQT is one of the weird ones yea17:33
ceenei have a not-yet-ready patch for qt to use newer openssl and use latest tls as default17:33
jonwilThese particular binaries link to libssl/libcrypto but have no functions in their import tables from either library17:33
keriojonwil: for the binary stuff we probably want to keep openssl 0.9.8 around tho17:33
*** florian has quit IRC17:33
DocScrutinizer05jonwil: I just wish you'd use a tad more formatting on your posts in
jonwilYes we do17:33
keriomaybe with the RHEL patches?17:33
jonwilWe want to keep both17:33
jonwilWe can keep both17:33
keriohell, let's just use RHEL's openssl17:34
keriowhat's the worst that can happen17:34
jonwilWe have the newest openssl and recompile everything that we can recompile so it uses that17:34
DocScrutinizer05redhat sneaking into your dreams?17:34
kerioye ye17:34
jonwiland we keep openssl 0.9.8 for the things we cant recompile17:34
kerioDocScrutinizer05: RHEL 5 or something stupid like that has openssl 0.9.817:34
kerioand it's LTE until 2020 or so17:34
kerio(fucking 4g lol)17:35
jonwilI suspect most of the closed-source things calling libssl/libcrypto are low-risk anyway17:35
keriothat's how the NSA sneaks in!17:36
jonwilosso-backup for example only needs libssl for AES and for SHA117:37
DocScrutinizer05[2016-05-09 Mon 16:36:21] <DocScrutinizer05> Centurion_Dan: does devuan have a armel build now?17:37
DocScrutinizer05[2016-05-09 Mon 16:36:39] <Centurion_Dan> yes... but our current buildhosts are offline...17:37
ceenejonwil: do you know if AES_encrypt from may be buggy?17:37
keriois there a centos 5 armel17:37
kerioDocScrutinizer05: \o/17:37
kerioam i a bad enough dude to switch my sheevaplug to devuan17:37
jonwilI know nothing about possible issues in openssl17:38
kerioceene: check man pages from different versions of openssl for AES_encrypt17:38
keriosee if anything changed17:38
kerioDocScrutinizer05: should i switch to devuan17:39
kerioif builds were reproducible, i bet the binaries i have would be bit-by-bit the same17:39
keriono systemd, no udev17:40
*** Valle__ has quit IRC17:40
jonwilof course none of this helps in any way with the really big problem, namely how to deal with microb and nss17:41
ceeneforget about microb and find a replacement browser17:42
jonwilsomething I haven't a clue about17:42
ceenesuch as midori17:42
ceenewhich under easy debian works wonderfully17:42
keriojonwil: well, that's a completely orthogonal issue17:42
jonwilin the grand scheme of things, the number of packages using openssl to talk to the internet at large is very small and the number of closed packages doing that is even smaller.17:43
DocScrutinizer05I always thought we could upgrade the browserd under microB all we want, since it's a generic rendering engine and completely FOSS17:43
kerioDocScrutinizer05: yes, but that would require someone who understands how the bloody thing works17:44
DocScrutinizer05timeless: ^^^17:44
jonwilThe biggest problems with upgrading microb are:1.Finding an engine17:44
jonwil1.Finding an engine to use that is suitable and that can be ported to the Neo90017:45
jonwil2.Dealing with Flash Player (which is fairly well coupled to microb-engine/Gecko)17:45
DocScrutinizer05and mostly useless nowadays anyway?17:46
jonwil3.Dealing with any specific functionality in microb that the new engine needs to handle (for example on microb, I can click on a phone number link on certain web pages and get a dialer window ready to dial)17:47
DocScrutinizer05that's mimetypes17:47
jonwilno, its special URL formats17:47
jonwiltel:123456 or something17:47
DocScrutinizer05well and that is handled in mimetypes afaik17:48
ceenei shall insist on midori once again :P17:48
ceenenot that i'm associated with midori in any way17:48
DocScrutinizer05ceene: you can get midori any time you want17:48
DocScrutinizer05just like Opera and FF and dunno what17:49
ceenei know17:49
DocScrutinizer05however none of those will replace browserd17:49
keriowhat if we pay mozilla17:49
ceenedon't know why17:49
keriojonwil: fuck flash player17:50
keriowe don't need that anymore, thanks to apple17:50
jonwilYeah I say "screw Flash Player" as well17:50
kerioany website has to have a non-flash version17:50
jonwilbut there are still plenty of sites out there that need it17:50
DocScrutinizer05[2016-05-09 Mon 16:40:11] <parazyd> DocScrutinizer05: there you go, you have your maemo upstream :)17:50
kerionot really17:50
jonwilfor whatever version17:50
keriojonwil: have you tried switching your user agent to safari/ipad17:51
jonwilNot talking about my N900 (where I have flash player turned off because its a resource hog) but on my desktop plenty of sites still use Flash unfortunately17:51
jonwilBut yeah I am sure if we said to CSSU users "flash player wont work anymore" there would be complaints from people who do need it17:52
DocScrutinizer05I noticed they do only until you unistall flash17:52
DocScrutinizer05but yeah, ack for complaints about compatibility in CSSU17:53
DocScrutinizer05for sure needs to be an opt-in package in CSSU17:53
jonwilPlenty of news websites still use Flash to deliver video clips for example (and rely on dedicated "apps" on mobile to avoid the "no flash on mobile browsers" problem)17:54
*** Valle__ has joined #maemo17:55
kerioDocScrutinizer05: a handful of porn sites^W^Wsites require you to switch to an iphoney user agent string17:55
keriojonwil: switch your user agent and use a modern browser17:55
DocScrutinizer05jonwil: as mentioned above I never ran into problems with HTML5 instead of flash when I simply uninstalled flashlibs... until some embedded systems insist in using flash in their HTML GUI17:57
kerioDocScrutinizer05: do you reckon that the community could pay for someone to update microb to a (more) recent gecko+nss?17:57
DocScrutinizer05I doubt that17:57
DocScrutinizer05it's pretty hard to find affordale devels for such stuff17:58
DocScrutinizer05actually it's hard to find any devels at all17:58
jonwilOk so mainstream sites like twitter seem to serve up HTML audio/video these days18:02
jonwilbut I can assure you that no matter what user-agent you use or what browser you have or whether you have Flash installed, a site like CouchTuner will not serve up anything other than Flash18:03
jonwilthen again, no-one sane is going to be using a site like that on the tiny screen and low-bandwidth network connection of a N900 :)18:04
ceenecan somebody explain me this?18:07
ceene(gdb) n18:07
ceene282         if (version >= 3) {18:07
ceene(gdb) p version18:07
ceene$6 = 318:07
ceene(gdb) s18:07
ceene[LWP 2803 exited]18:07
ceeneBreakpoint 1, SessionCipher::getCiphertext (this=<optimized out>, version=3, messageKeys=..., plaintext=...) at src/sessioncipher.cpp:30318:07
ceene303                 qDebug() << "IV:" << iv.constData();18:07
ceeneinstead of getting inside the version>=318:07
ceenethis thing has jumped to the } else {18:07
ceenewell, further than that in fact!18:08
jonwilme, I dont care about Flash on my N900, I just want an up-to-date browser engine that can run sites like Slack and Trello and can pass the SSLLabs browser test18:08
keriojonwil: i can assure you, i don't have flash player installed18:15
keriohave you considered that maybe your browser is just shit18:16
kerio(that's with the default user agent string, mind you)18:16
kerioi mean18:18
*** Pali has joined #maemo18:18
*** jonwil has quit IRC18:23
*** fuz_ has quit IRC18:24
*** fuz_ has joined #maemo18:35
*** krnlyng has quit IRC18:36
freemangordonceene: is the binary optimized?18:38
KotCzarnyceene: i see you've seen the power of the static side.. muahahahaha18:39
*** vahe has joined #maemo18:40
*** fuz_ has quit IRC18:41
*** krnlyng has joined #maemo18:49
*** xorly has joined #maemo18:49
*** vakkov has joined #maemo18:49
*** Valle__ has quit IRC19:02
DocScrutinizer05yes, that could cause such funny effects19:03
*** jskarvad has joined #maemo19:03
kerio-Obladi -Oblada19:03
DocScrutinizer05particularly on ARM where you think you are wazching the completely wrong binary with your Lauterbach19:04
*** florian has joined #maemo19:04
*** fuz_ has joined #maemo19:05
DocScrutinizer05the source often has no faintest resemblance with what you think should be there, in debugger19:05
freemangordonDocScrutinizer05: yeah, -02 usually results in impossibility to debug the binary in a sane way :)19:05
keriofor when you feel gangsta19:06
freemangordonfor debugging, -O0 is a must, with --no-skip-frame-pointers (or whatever the flag is)19:06
keriosurely -fno-omit-frame-pointer is included in -O019:07
keriowho the hell omits that anyway19:07
freemangordonkerio: you don't really need that for release19:07
KotCzarnyn8x0 cpu instruction set should be subset of a8/a7 right?19:07
kerioit's going to be a while before we can collectively heal the damage that gentoo has caused ._.19:07
freemangordonKotCzarny: afaik, yes19:07
keriolike, don't get me wrong19:08
KotCzarnyfreemangordon: funnything i get:19:08
KotCzarny[I have no name!@n8x0chr 16:06:15 /]# /usr/sbin/iconvconfig19:08
KotCzarnyIllegal instruction19:08
kerioit's fun to compile something like openssl with -O3 -fomit-frame-pointers -funroll-all-loops19:08
kerioto run the benchmarks19:08
DocScrutinizer05unroll loops BWAHAHAHA19:08
Wizzupkerio: you're kidding by blaming this on gentoo, right?19:08
kerioWizzup: maybe :>19:09
freemangordonKotCzarny: and? what cou was that compiled for?19:09
keriocan't spell -funroll-loops without FUN19:09
KotCzarnyfreemangordon: dont remember exact cpu of n8x0 but its a6 i think19:10
freemangordonhmm, I meant - what CPU was /usr/sbin/iconvconfig compiled for?19:10
KotCzarnyfreemangordon: packages were from n8x0 repos and n8x0 sdk repo19:11
buZzKotCzarny: OMAP219:11
buZzat least, n80019:11
KotCzarnyso definitely not miscompiled19:11
freemangordonbuZz: this is arm6, correct?19:11
DocScrutinizer05for (long i = MAXLONG; i > 0; i--) --- unroll DAT!! sucker!19:11
buZzno, its armv619:11
freemangordonyah, that's what I meant19:12
buZzoh ok, cause arm6 is something else19:12
buZzits actually arm9 ;)19:12
buZzoh eh, arm1119:12
buZzOMAP1 is arm919:12
kerioDocScrutinizer05: what is that loop doing19:12
freemangordonKotCzarny: it has some alignment requirements, iirc19:13
DocScrutinizer05whatever you like19:13
kerioi can't imagine 2**64 different things to do ._.19:13
KotCzarnyfreemangordon: so even with subset there still might be problem running older binaries on a7?19:13
DocScrutinizer05it's a stub to be finished by you ;-)19:13
freemangordonKotCzarny: what are you trying to do?19:13
KotCzarnybecause other things run fine (ie. did apt-get update, ran bash etc)19:13
KotCzarnyfmg: chroot for compiling packages for n8x019:13
freemangordoncould it be thumb-compiled?19:14
KotCzarnyfmg: my a7 kernel has thumb enabled19:14
freemangordonKotCzarny: so, you do chroot on n900?19:14
KotCzarnyfmg: nope, on banana pi m119:15
KotCzarnyand compile things for n900 in chroot19:15
KotCzarnyand it works fine, and now i wanted to do the same for n8x019:15
* DocScrutinizer05 idly wonders if and/or why not there's a parameter to -funroll-all-loops to define the max loop size19:15
freemangordongot it19:15
KotCzarnynot that iconvconfig is essential, but wondered if there are some binary gotchas19:15
DocScrutinizer05but you rather do that in sourcecode with metainstructions anyway19:16
DocScrutinizer05global unroll is an idiocy19:16
freemangordonKotCzarny: do readelf -A on the binary19:17
freemangordonand compare it with some working binary19:17
KotCzarnybash: readelf: command not found19:17
KotCzarnythich package has it?19:18
kerioDocScrutinizer05: clang: warning: optimization flag '-funroll-all-loops' is not supported19:18
freemangordondo this in scratchbox19:18
DocScrutinizer05hehe ok19:18
KotCzarnyfmg: no x86 machine at the moment19:18
freemangordonyes, binutils19:18
DocScrutinizer05good boy clang19:18
keriohonestly tho19:18
keriouint64_t x; for (int64_t i = INT64_MAX; i > 0; i--) x = i;19:19
keriowhy isn't it optimized to x = 0;19:19
kerioor x = 1, i can't think at the moment19:19
KotCzarnyAttribute Section: aeabi19:19
KotCzarnyFile Attributes19:19
freemangordonKotCzarny: not here19:19
DocScrutinizer05to teach you keep your brain in training?19:19
freemangordonKotCzarny: use pastebin or something19:19
keriowhy do i have to think when compilers can do that for me19:20
KotCzarnysame for /bin/bash19:20
KotCzarnyno other output19:20
freemangordonKotCzarny: weird19:20
DocScrutinizer05I think such stuff gets optinized out at -O2 the latest19:20
KotCzarnyand bash works19:20
DocScrutinizer05since you don't use x as source of values (on 'right side of =') inside the loop19:21
*** strohalm has quit IRC19:22
*** strohalm has joined #maemo19:22
DocScrutinizer05which actually sometimes sucks when compiler doesn't get that x is mapped to a IO or whatever19:22
freemangordonKotCzarny: can you upload those 2 binaries so I can test with "my" readelf?19:22
KotCzarnysure, just a moment19:22
*** vahe has quit IRC19:23
DocScrutinizer05isn't readelf a messybox plugin?19:23
freemangordonDocScrutinizer05: it least in SB it is not19:24
DocScrutinizer05wouldn't be surprised19:26
*** Valle__ has joined #maemo19:26
DocScrutinizer05readelf --version ?19:26
DocScrutinizer05IroN900:~# readelf --version19:27
DocScrutinizer05GNU readelf (GNU Binutils for Debian)
freemangordonKotCzarny: both bash and iconvconfig work in SB, unfortunately my readelf gives the same output19:30
KotCzarnyyes, i know they work because they are from official repos19:30
*** tanty is now known as tanty_off19:31
*** vakkov has quit IRC19:31
*** RedM has quit IRC19:33
freemangordonKotCzarny: well, start it in gdb, to see which instruction is problematic19:33
DocScrutinizer05  FWIW19:34
KotCzarnyfmg: how to run it in gdb?19:35
KotCzarnyProgram received signal SIGILL, Illegal instruction.19:35
KotCzarny0x0000b8d0 in ?? ()19:35
KotCzarnyNo function contains program counter for selected frame.19:36
freemangordonyeah, sure19:36
DocScrutinizer05freemangordon: what means >>Tag_THUMB_ISA_use: Thumb-1<< ?19:36
*** RedW has joined #maemo19:36
freemangordonKotCzarny: disassemble 0x0000b8d0 * or somesuch19:37
KotCzarny(gdb) disassemble 0x0000b8d019:37
KotCzarnyNo function contains specified address.19:37
freemangordon"disassemble * 0x0000b8d0"19:37
* DocScrutinizer05 also glares at >>Tag_ABI_HardFP_use: SP and DP<< on an armel platform - though not really having the faintest clue19:37
KotCzarnyA syntax error in expression, near `'.19:38
freemangordonwithout the quotes19:38
KotCzarnywas without19:38
freemangordonjust a second19:38
freemangordon(gdb) disassemble * 019:39
freemangordonCannot access memory at address 0x019:39
* DocScrutinizer05 afk o/ <319:39
KotCzarnybut did you see paste of strace?19:39
*** xorly has quit IRC19:39
KotCzarnyas a side note: GNU gdb 6.8-debian19:39
freemangordonKotCzarny: anyway, disasm should work, it is 7.2 here, but should not make difference19:40
KotCzarnysyntax probably changed 6 -> 719:41
KotCzarnybecause it doesnt19:41
KotCzarnyand according to strace:19:41
KotCzarnycacheflush(0xbeb20a68, 0xbeb20a78, 0, 0x98e8, 0xbeb20a68) = -109562818419:41
KotCzarny--- SIGILL (Illegal instruction) @ 0 (0) ---19:41
freemangordonI doubt, is stock maemo is 6.19:41
KotCzarnystock maemo in 200819:41
freemangordonKotCzarny: comeon, don't tell me the debugger cannot dump the instructions19:42
KotCzarnyyou saw it, bad syntax19:42
KotCzarnycommand is available, just missing magic incantation19:42
KotCzarny(gdb) disas 0x401050 0x40107519:43
KotCzarnyaccording to some cygwin google19:43
KotCzarnydisassemble 0x0000b8d0 019:44
KotCzarnyDump of assembler code from 0xb8d0 to 0x0:19:44
KotCzarnyDump of assembler code from 0xb8d0 to 0xb8d8:19:44
KotCzarny0x0000b8d0 <sysconf+11648>:     bx      lr19:44
KotCzarny0x0000b8d4 <sysconf+11652>:     push    {lr}            ; (str lr, [sp, #-4]!)19:44
freemangordonKotCzarny: hmm, yeah, I don;t think bx lr is avalable on arm1119:45
KotCzarnyum, but binaries were compiled for arm1119:45
freemangordonwhich library is that?19:45
KotCzarnyand are run on a719:45
freemangordonKotCzarny: this is in iconvconfig or in some .so?19:46
KotCzarnyhow can i tell?19:47
KotCzarny(gdb) bt19:49
KotCzarny#0  0x0000b8d0 in ?? ()19:49
KotCzarnyfunny how everything else works without a problem, unless that iconvconfig was miscompiled or just working magically over some bug19:49
freemangordonKotCzarny: what is the output of "cat /proc/cpuinfo"?19:50
KotCzarnyand this is apparently cpuinfo of nokia n8x0
freemangordonKotCzarny: could you also dump the previous 2-3 instructions, when you're back?19:57
freemangordonas maybe 0x0000b8d0 is the instruction AFTER the illegal one19:58
KotCzarny0x0000b8c8 <sysconf+11640>:     mov     r2, #0  ; 0x019:59
KotCzarny0x0000b8cc <sysconf+11644>:     svc     0x009f000219:59
KotCzarny0x0000b8d0 <sysconf+11648>:     bx      lr19:59
freemangordonhere it is :D19:59
freemangordonsvc     0x009f000219:59
freemangordonno, supervisor call19:59
KotCzarnyfunny thing to be in iconvconfig20:00
freemangordonbut this is meant for n800, where there is Nokia BOOTROM20:00
*** vakkov has joined #maemo20:00
KotCzarnyk, brb (15 min)20:00
*** vakkov has quit IRC20:05
*** buZz has quit IRC20:07
*** buZz has joined #maemo20:09
*** buZz is now known as Guest4349620:09
*** Guest43496 is now known as buZz20:10
*** eMHa has quit IRC20:12
freemangordonKotCzarny: here is your bugger
DocScrutinizer05looks nasty20:17
*** vakkov has joined #maemo20:17
freemangordonDocScrutinizer05: well, what "svc     0x009f0002" does, is to call supervisor (or kernel, not sure) to flush the cache20:18
freemangordonand that doesn't seem related to Nokia20:18
freemangordonor n800 in that regard20:18
DocScrutinizer05yeah, oh well it's glibc, such stuff expected to show up there I guess. *somewhere* it needs to get done20:19
DocScrutinizer05flush cache is sth that's not exactly trivial I guess20:20
freemangordonKotCzarny: check CONFIG_OABI_COMPAT is enabled in your kernel :)20:20
freemangordonor rather - make sure CONFIG_OABI_COMPAT is enabled20:21
KotCzarnyyup, # CONFIG_OABI_COMPAT is not set20:39
KotCzarnythx for pointing it out!20:40
KotCzarnyeven if n8x0 uses libc-2.5 and probably eabi20:44
KotCzarnyhrm, no findutils in diablo, nor in diablo/sdk, nor in diablo/extras-devel. wtf.21:00
sunshaviKotCzarny: I use sb2 on VB for compling for both n8X0 and n900, Why do You need findutils?21:03
KotCzarnysunshavi: because i have arm based box and dont want vm?21:03
KotCzarnyand asking why one wants findutils is well, cant find the word.21:03
KotCzarnysame for md5sum21:04
sunshavia required pkg then21:04
sunshavibtw which compiler version are you using?21:05
KotCzarnygcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)21:05
KotCzarnybut im setting chroot now21:05
sunshaviI think it is the same use on sb221:05
infobotsunshavi meant: I think it is the same used on sb221:05
sunshavithanks infobot21:06
infobotsunshavi: pas de quoi21:06
KotCzarnygotta love those chicken-egg situations:21:17
KotCzarnysh: line 1: find: command not found   when building findutils ;)21:17
*** vakkov has quit IRC21:19
*** jskarvad has quit IRC21:21
*** xes_ has joined #maemo21:25
*** xes has quit IRC21:27
*** xorly has joined #maemo21:32
KotCzarnyshall i upload few of those missing packages to diablo extras-devel?21:38
*** pagurus` has quit IRC21:46
KotCzarnyfunny, make 3.80 doesnt build, but 3.81 from lenny does. figures.22:16
*** N-Mi has quit IRC22:30
*** N-Mi has joined #maemo22:32
*** N-Mi has joined #maemo22:32
sunshavimmm. pretty funny22:34
*** pagurus has joined #maemo22:42
*** vakkov has joined #maemo22:43
DocScrutinizer05congrats, you found the only two actions the bot is doing without being correctly addressed ;-)23:03
*** futpib has quit IRC23:10
*** shentey has joined #maemo23:18
*** vakkov has quit IRC23:27
*** vakkov has joined #maemo23:32
*** xes_ is now known as xes23:37
*** Cor-Ai has quit IRC23:39
sunshaviDocScrutinizer05: lol23:43
sunshaviI like a lot the bot on the emacs channel, for me it talks more than people23:43
sunshavivery intuitive a regular question here is the repos, perhaps de bot can solve it23:44
*** Cor-Ai has joined #maemo23:44
sunshavianother quetion could be: how to install cssu23:45
sunshavior when neon900 is mentioned23:45
sunshaviKotCzarny: You have busybox installed, right?23:47
sunshaviDocScrutinizer05: actually I have just started with irc. At the beginning I was thinking infobot was another user. But one that types very quickly and very focused on all conversations23:50

Generated by 2.15.1 by Marius Gedminas - find it at!