freemangordon | and we can't use stock n900 kernel as it is 2.6.28. or at least we think it will be easier to fix upstream to work with mameo 5 rather than backport what is needed for DM3730 to work with 2.6.28 | 00:00 |
---|---|---|
freemangordon | ravelo_: on the other hand it is not only kernel stuff | 00:01 |
ravelo_ | freemangordon: i'd like to work more on application side | 00:02 |
freemangordon | ravelo_: good | 00:02 |
ravelo_ | i would need too much time for kernel stuff | 00:02 |
ravelo_ | i think | 00:02 |
freemangordon | yeah, sure | 00:02 |
freemangordon | it takes time | 00:03 |
freemangordon | ravelo_: but I am afraid that you can't do much without HW | 00:03 |
freemangordon | as the other things that have to be done are in system daemons | 00:03 |
freemangordon | ravelo_: hmm, are you familiar with IDA? | 00:04 |
ravelo_ | ok, so i start when i have a hardware device | 00:04 |
ravelo_ | no, sorry | 00:04 |
ravelo_ | looks like i should first get a device | 00:05 |
ravelo_ | then let's look further | 00:05 |
freemangordon | ravelo_: you can by a second hand n900 for some 80 euro | 00:06 |
ravelo_ | ok | 00:06 |
ravelo_ | i need one anyway | 00:06 |
freemangordon | and that's a perfect device to test with | 00:06 |
freemangordon | (until there is a real neo900) | 00:06 |
freemangordon | ravelo_: ok, waiting to hear from you. ask DocScrutinizer05 for some advices on getting second hand n900 | 00:07 |
peetah | is "CSSU-thumb toolchain setup" wiki page up-to-date and safe ? | 00:07 |
freemangordon | peetah: should be | 00:08 |
peetah | ok so let's go ! thanks | 00:08 |
freemangordon | peetah: though I don;t guarantee about the "master" SDK setup page :) | 00:08 |
peetah | this one is already done : seems to be clean | 00:08 |
freemangordon | peetah: maybe you will have some problems with fakeroot installation | 00:09 |
freemangordon | if that happens, just copy the .so files from FREMANTLE_ARMEL target | 00:10 |
freemangordon | (libfakeroot etc) | 00:10 |
ravelo_ | freemangordon: thanks | 00:10 |
freemangordon | ravelo_: do you have ScratchBox installed? | 00:11 |
ravelo_ | no | 00:11 |
freemangordon | you'll need that one if you're going to develop for n/eo900 :) | 00:11 |
freemangordon | ~sb | 00:11 |
infobot | from memory, sb is nice because there's a shitload of good food, and places to hang out. | 00:11 |
freemangordon | ~scratchbox | 00:11 |
infobot | hmm... scratchbox is a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, or hosted by maemo.org now, maintainer thedead1440 | 00:11 |
peetah | freemangordon: applying the dpkg -i line twice seems to solve the issue I met | 00:11 |
freemangordon | peetah: what was it? | 00:12 |
DocScrutinizer05 | ~#maemo sb is >reply>see scratchbox | 00:12 |
infobot | DocScrutinizer05: okay | 00:12 |
DocScrutinizer05 | damn | 00:12 |
DocScrutinizer05 | infobot: no, #maemo sb is <reply>see scratchbox | 00:12 |
infobot | okay, DocScrutinizer05 | 00:12 |
DocScrutinizer05 | ~sb | 00:12 |
infobot | from memory, scratchbox is a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, or hosted by maemo.org now, maintainer thedead1440 | 00:12 |
freemangordon | waaay better :) | 00:13 |
peetah | arghh can't remember... something about not being able to write in var/something | 00:13 |
ravelo_ | hehe | 00:13 |
freemangordon | MrPingu: nothing in that output, same as mine :( | 00:14 |
freemangordon | MrPingu: did power cycle solve the issue? | 00:14 |
MrPingu | Will try, :P BRB | 00:14 |
*** MrPingu has quit IRC | 00:15 | |
*** MrPingu has joined #maemo-ssu | 00:17 | |
freemangordon | MrPingu: did it help? | 00:19 |
MrPingu | Nope | 00:19 |
freemangordon | MrPingu: BTW, I wonder - have you ever installed that fmtx-faker application? | 00:20 |
MrPingu | No | 00:20 |
freemangordon | hmm, weird that my CAL fmtx power limits are 110, but yours are 115 | 00:21 |
freemangordon | where did you get that device from? | 00:21 |
MrPingu | From GreatGonzo | 00:22 |
MrPingu | Fellow community member | 00:22 |
freemangordon | did you flash it? | 00:22 |
MrPingu | yep | 00:23 |
peetah | freemangordon: removing maemo-core-debug also removes maemo-sdk-debug, is this ok ? | 00:23 |
freemangordon | peetah: should be, you don;t really need -dbg symbols in SB | 00:23 |
freemangordon | MrPingu: hmm, ok, but flashing doesn't change CAL | 00:24 |
peetah | freemangordon: W: GPG error: http://repository.maemo.org fremantle Release: Unable to read /etc/apt/trusted.gpg.d/ - opendir (2: No such file or directory) | 00:26 |
peetah | and the same for maemo.merlin1991.at | 00:26 |
peetah | when apt-get update after adding those repos to sources.list | 00:27 |
freemangordon | peetah: what OS is that? | 00:27 |
peetah | i'm using debian testing amd64 | 00:27 |
peetah | oh you mean this has to be done outside the scratchbox env ? | 00:28 |
freemangordon | peetah: no such directory here either, but I don;t see errors | 00:28 |
freemangordon | peetah: no | 00:28 |
*** dhbiker_ has quit IRC | 00:28 | |
freemangordon | peetah: everything needs to be don from inside SB | 00:28 |
freemangordon | *done | 00:28 |
peetah | that's what I did | 00:28 |
MrPingu | freemangordon: did you read what fmtx-faker does? | 00:29 |
freemangordon | peetah: wait, this is just a warning? | 00:29 |
freemangordon | ignore it :) | 00:29 |
peetah | ok | 00:29 |
freemangordon | MrPingu: it is not that easy, esp if I can't reproduce the problem :( | 00:29 |
freemangordon | MrPingu: I have 2 devices here, both are fine | 00:30 |
MrPingu | I see | 00:30 |
MrPingu | but what are these 5 fmtx modes? | 00:31 |
freemangordon | I suspect your CAL is screwed, I'll write your settings to my devel device and will try to see what happens | 00:31 |
freemangordon | MrPingu: no idea :D | 00:31 |
freemangordon | MrPingu: but I am afraid that won't happen before 1st or 2nd of January 2014 | 00:32 |
MrPingu | No worries ;) | 00:32 |
freemangordon | MrPingu: as a workaround you can downgrade fmtx-middleware package | 00:32 |
MrPingu | Last resort :P | 00:33 |
freemangordon | MrPingu: I mean - until we find what the problem is | 00:34 |
peetah | The following packages have unmet dependencies: libssl0.9.8-dbg: Depends: libssl0.9.8 (= 0.9.8n-1+maemo4+0m5) but 0.9.8n-1+maemo4+0m5+0cssu1+thumb1 is installed | 00:34 |
freemangordon | peetah: apt-get -f install? | 00:35 |
freemangordon | or just remove that -dbg package | 00:35 |
peetah | apt-get -f install makes thing goes on but then BABOOM ! | 00:36 |
freemangordon | peetah: just remove that -dbg | 00:37 |
freemangordon | peetah: ooh, don't forget to"fakeroot apt-get..." | 00:37 |
*** MrPingu has quit IRC | 00:37 | |
peetah | Setting up libgtk2.0-0 (2:2.14.7-1maemo34+0cssu2+thumb0) ... | 00:39 |
peetah | qemu: uncaught target signal 11 (Segmentation fault) - core dumped | 00:39 |
peetah | and then of course a lot of other packages can't be setup | 00:39 |
peetah | because of dependency issues | 00:39 |
*** MrPingu has joined #maemo-ssu | 00:40 | |
*** arcean has quit IRC | 00:40 | |
MrPingu | freemangordon: | 00:40 |
MrPingu | Whatever that fmtx-faker does | 00:40 |
MrPingu | it fixes the problem | 00:41 |
freemangordon | MrPingu: hmm, not good | 00:41 |
freemangordon | peetah: vm.mmap_min_addr ? | 00:41 |
freemangordon | MrPingu: post that on the thread, maybe someone else will have an idea | 00:42 |
freemangordon | we can try to find the author for some help | 00:42 |
MrPingu | Well you could atleast look into the source why it that package fixes it | 00:42 |
freemangordon | MrPingu: sure | 00:42 |
MrPingu | I will post it in that thread for sure ;) | 00:43 |
MrPingu | Author is Faheem Pervez, wasn't he involved in earlhy cssu? | 00:44 |
peetah | freemangordon: 65536 | 00:44 |
freemangordon | peetah: :) | 00:44 |
*** ravelo_ has quit IRC | 00:44 | |
freemangordon | peetah: read "http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation" | 00:45 |
freemangordon | "Known Issues in the SDK" | 00:45 |
peetah | ok I should have read this part .. | 00:45 |
freemangordon | :nod: | 00:45 |
freemangordon | MrPingu: might be | 00:45 |
*** arcean has joined #maemo-ssu | 00:47 | |
*** lexik has joined #maemo-ssu | 00:47 | |
peetah | setting it to 0 does not help, even after /etc/init.d/scratchbox-core restart, login and then apt-get install -f | 00:49 |
freemangordon | hmm, wait | 00:49 |
peetah | wait... vdso ... | 00:49 |
freemangordon | peetah: try to "export PIXMAN_DISABLE=arm-neon" | 00:51 |
freemangordon | maybe I should add that to wiki page | 00:51 |
peetah | yep ! it goes on | 00:52 |
freemangordon | with pixman disable neon? | 00:52 |
peetah | yes | 00:52 |
freemangordon | hmm, ok | 00:52 |
* freemangordon should remember to edit the wiki page | 00:53 | |
peetah | I disabled vdso but it did not change anything either | 00:53 |
freemangordon | peetah: you may want to add that to your /targets/FREMANTLE_ARMEL_GCC472.environment | 00:53 |
peetah | what's its purpose precisely ? | 00:54 |
freemangordon | pixman in CSSU has runtime NEON detection, it tries to read something in /dev or /proc | 00:55 |
freemangordon | but the result of that read does not match what it expects | 00:55 |
peetah | ok | 00:55 |
freemangordon | as it is qemu emulated ;) | 00:55 |
freemangordon | thus the segfault | 00:55 |
freemangordon | anyway guys, it is a bit late here, going to have some sleep, night | 00:57 |
peetah | ok it seems to be fine now ! thanks for following my quest | 00:57 |
freemangordon | np | 00:58 |
peetah | night | 00:58 |
MrPingu | Good night | 00:59 |
* MrPingu is going for his bed too | 00:59 | |
*** sunny_s has joined #maemo-ssu | 01:01 | |
*** xes has quit IRC | 01:20 | |
*** lexik has quit IRC | 01:20 | |
*** MrPingu has quit IRC | 01:37 | |
*** nox- has quit IRC | 01:47 | |
*** nox- has joined #maemo-ssu | 02:08 | |
*** okias has quit IRC | 02:35 | |
*** Guest81604 has quit IRC | 03:00 | |
*** arcean has quit IRC | 03:01 | |
*** Guest81604 has joined #maemo-ssu | 03:15 | |
*** NIN101 has quit IRC | 03:57 | |
*** dos1 has quit IRC | 04:02 | |
*** nox- has quit IRC | 04:11 | |
*** brusok has joined #maemo-ssu | 04:20 | |
*** LaoLang_cool has joined #maemo-ssu | 04:21 | |
*** Guest81604 has quit IRC | 04:22 | |
*** sixwheeledbeast has quit IRC | 04:25 | |
*** LaoLang_cool has quit IRC | 04:25 | |
*** sixwheeledbeast has joined #maemo-ssu | 04:27 | |
*** brusok has quit IRC | 04:29 | |
*** amiconn has quit IRC | 05:28 | |
*** amiconn_ has joined #maemo-ssu | 05:28 | |
*** amiconn_ is now known as amiconn | 05:28 | |
*** LauRoman has joined #maemo-ssu | 08:55 | |
*** dhbiker has joined #maemo-ssu | 10:12 | |
freemangordon | ok, ok, it turned out that fmtxd has x86 binary :) | 11:20 |
*** dhbiker has quit IRC | 11:28 | |
*** unclouded has joined #maemo-ssu | 11:33 | |
*** dhbiker has joined #maemo-ssu | 11:53 | |
*** MrPingu has joined #maemo-ssu | 12:06 | |
MrPingu | freemangordon: Everyone who has US device seems to have trouble with fmtx | 12:08 |
*** arcean has joined #maemo-ssu | 12:35 | |
*** Guest81604 has joined #maemo-ssu | 12:37 | |
*** arcean_ has joined #maemo-ssu | 12:43 | |
*** MrPingu has quit IRC | 12:45 | |
*** MrPingu has joined #maemo-ssu | 12:45 | |
*** arcean has quit IRC | 12:46 | |
*** int_ua has joined #maemo-ssu | 12:51 | |
*** Guest81604 has quit IRC | 12:59 | |
*** NIN101 has joined #maemo-ssu | 13:04 | |
*** dhbiker has quit IRC | 13:20 | |
*** dhbiker has joined #maemo-ssu | 13:21 | |
*** xes has joined #maemo-ssu | 13:31 | |
*** okias has joined #maemo-ssu | 13:35 | |
*** int_ua has quit IRC | 13:44 | |
*** int_ua has joined #maemo-ssu | 13:45 | |
*** dos1 has joined #maemo-ssu | 14:40 | |
*** MrPingu has quit IRC | 14:49 | |
*** MrPingu has joined #maemo-ssu | 15:13 | |
DocScrutinizer05 | HD segfaults when transition.ini isn't sufficiently beautified. That's a BUG in my book | 15:49 |
freemangordon | DocScrutinizer05: :nod: | 15:49 |
freemangordon | it should fallback to some defaults | 15:50 |
DocScrutinizer05 | yes, definitely | 15:50 |
freemangordon | DocScrutinizer05: I'll take a look at it, if only someone can provide at least one backtrace | 15:50 |
freemangordon | hmm, wait | 15:51 |
freemangordon | I guess noone can as h-d is not starting | 15:51 |
freemangordon | ok, will look at it | 15:51 |
freemangordon | though that fmtxd insanity is with higher prio | 15:52 |
DocScrutinizer05 | freemangordon: (segfault) just do proper sanitizing of all input | 15:53 |
freemangordon | merlin1991: please, fix your fcking -mp thingie and re-package the stock fmtxd to not continue breaking users' transmotters | 15:53 |
freemangordon | transmiters even | 15:53 |
DocScrutinizer05 | like is mandatory for each php input parameter and each SQL input | 15:53 |
*** okias has quit IRC | 15:53 | |
freemangordon | yeah | 15:53 |
freemangordon | DocScrutinizer05: I'll look at it | 15:54 |
DocScrutinizer05 | thanks a lot | 15:54 |
freemangordon | MrPingu: yeah, it seems like USA is the problem :) | 15:55 |
DocScrutinizer05 | check parser of transitions.ini (though I think there's a lib doing that parsing for you) so it doesn't already segfault during lexical analysis and token parsing. then check each possible input parameter for sane range (lower < $param < upper; resp already make sure you get no buffer overruns on string parameters) | 15:57 |
DocScrutinizer05 | that should be really all that's needed, regarding transitions.ini | 15:58 |
DocScrutinizer05 | maybe add a step-0 that is "set all input parameter vars to sane defaults" | 15:59 |
DocScrutinizer05 | only _then_ set those to new values that are defined in transitions.ini | 15:59 |
DocScrutinizer05 | then do sanity check (check for upper/lower limits for ints. Check pathnames of illegal chars, filetypes of files pointed to for correct type and size(!), and so on) | 16:01 |
DocScrutinizer05 | e.g. you also want to check if transitions.ini itself is a plain file, readable, and not 2GB in size | 16:02 |
*** Wikiwide has joined #maemo-ssu | 16:02 | |
MrPingu | freemangordon: how to see if I am on global firmware, I'm starting to doubt if I flashed it but I think I did... | 16:06 |
*** FlameReaper has joined #maemo-ssu | 16:07 | |
MrPingu | It would be strange if I wouldn't have reflashed, standard procedure... | 16:07 |
MrPingu | Just can't remember :p | 16:08 |
*** Wikiwide has quit IRC | 16:09 | |
MrPingu | Nvm, I am on global | 16:10 |
freemangordon | DocScrutinizer05: it should be GtkSettings (or something) that is doing the parsing | 16:21 |
freemangordon | DocScrutinizer05: I guess it is that noone checks the result of gtk_get_whatever :( | 16:21 |
freemangordon | DocScrutinizer05: so it should be relatively easy to fix that | 16:22 |
freemangordon | DocScrutinizer05: my biggest concern now is that fmtxd, I am afraid I will have to RE it | 16:22 |
*** anthony has joined #maemo-ssu | 16:23 | |
freemangordon | fortunately there is x86 binary. And we'll need it FOSS for neo900 anyway | 16:23 |
*** anthony is now known as Guest83680 | 16:23 | |
freemangordon | DocScrutinizer05: how do you think, would jacekowski give a hend? :P | 16:23 |
freemangordon | *hand | 16:23 |
*** unclouded has quit IRC | 16:29 | |
*** Guest83680 has quit IRC | 16:34 | |
*** unclouded has joined #maemo-ssu | 16:36 | |
*** MrPingu has quit IRC | 16:49 | |
*** arcean_ has quit IRC | 16:56 | |
*** arcean_ has joined #maemo-ssu | 16:58 | |
*** okias has joined #maemo-ssu | 16:59 | |
*** arcean_ has quit IRC | 17:14 | |
int_ua | freemangordon, DocScrutinizer05 I have a ton of coredumps + one strace of HD segfaulting on transitions.ini, will that do? (Just started to read today's log) | 17:19 |
*** FReaper has joined #maemo-ssu | 17:24 | |
*** FlameReaper has quit IRC | 17:25 | |
*** int_ua has quit IRC | 17:29 | |
*** delenda has joined #maemo-ssu | 17:50 | |
*** MrPingu has joined #maemo-ssu | 17:53 | |
DocScrutinizer05 | freemangordon: I doubt jacekowski is available. He rage quit when we criticized the way he handled root permissions | 17:54 |
DocScrutinizer05 | ...and communication | 17:55 |
DocScrutinizer05 | in my book fmtxd is prolly a silly botch to ensure user does not "rogue things" to/with the transmitter | 17:56 |
dos1 | I was talking with jacekowski recently, he didn't sound like he changed his mind on anything that happened back then :P | 17:57 |
DocScrutinizer05 | though I have to admit I gave no faintest idea about the API or what actually it does | 17:57 |
DocScrutinizer05 | s/ g/ h/ | 17:58 |
infobot | DocScrutinizer05 meant: though I have to admit I have no faintest idea about the API or what actually it does | 17:58 |
MrPingu | DocScrutinizer05: Did jacewoski dissappear from here? :( | 17:58 |
DocScrutinizer05 | pretty much it seems | 17:59 |
DocScrutinizer05 | he didn't like the idea of peer review for mission critical changes to maemo.org infra | 18:00 |
MrPingu | Sad, always found him a competent guy | 18:01 |
DocScrutinizer05 | he also didn't see that there's a de facto responsibility hierarchy that immanently installes a command chain as well | 18:01 |
*** delenda has quit IRC | 18:01 | |
freemangordon | DocScrutinizer05: actually fmtxd does all the stuff re communication with PA, USB, in-call handling, etc | 18:02 |
DocScrutinizer05 | and particularly he didn't see the fundamental need for communication and documentation | 18:02 |
freemangordon | DocScrutinizer05: I guess I'll need a couple of days to RE it, but I am really disappointed noone listened to me back then when I said that binary should not go in CSSU :( | 18:03 |
DocScrutinizer05 | I for sure agreed on that | 18:03 |
freemangordon | anyway, shit happens | 18:04 |
MrPingu | I see, Hope he cools down and finds his way back | 18:04 |
MrPingu | freemangordon: Well you are now atleast forced to RE it :) | 18:04 |
MrPingu | Kind of :P | 18:04 |
freemangordon | MrPingu: I was not aware there is x86 binary | 18:04 |
freemangordon | if I was, I'd have RE it 2 years ago :) | 18:05 |
freemangordon | MrPingu: actually I am not "forced", we can easily ship the stock binary with the next update | 18:05 |
freemangordon | And that is what I'll do for -thumb, maybe tomorrow | 18:06 |
freemangordon | it depends on my free time | 18:06 |
MrPingu | freemangordon: Nobody is forced anyway ;) | 18:06 |
*** fw190 has joined #maemo-ssu | 18:09 | |
MrPingu | Also I am glad adeclock made it to CSSU | 18:11 |
fw190 | did the last thumb free up much space? | 18:13 |
MrPingu | BTW, did anyone look into fCam intefering with camera-ui? | 18:26 |
*** MrPingu has quit IRC | 18:26 | |
*** MrPingu has joined #maemo-ssu | 18:26 | |
*** xes has quit IRC | 18:33 | |
*** fw190 has quit IRC | 18:38 | |
*** thedead1440_ has quit IRC | 18:41 | |
*** thedead1440 has quit IRC | 18:42 | |
*** thedead1440 has joined #maemo-ssu | 18:55 | |
*** thedead1440_ has joined #maemo-ssu | 18:56 | |
*** thedead1440_ has quit IRC | 18:57 | |
*** thedead1440_ has joined #maemo-ssu | 18:57 | |
*** MrPingu has quit IRC | 18:58 | |
*** thedead1440 has quit IRC | 19:08 | |
*** thedead1440__ has joined #maemo-ssu | 19:08 | |
*** [RUS]SeT has joined #maemo-ssu | 19:09 | |
*** [RUS]SeT has quit IRC | 19:09 | |
*** amizraa has quit IRC | 19:12 | |
*** amizraa has joined #maemo-ssu | 19:13 | |
*** thedead1440__ has quit IRC | 19:21 | |
*** thedead1440_ has quit IRC | 19:23 | |
*** thedead1440 has joined #maemo-ssu | 19:24 | |
*** solofight has joined #maemo-ssu | 19:25 | |
*** thedead1440_ has joined #maemo-ssu | 19:25 | |
*** LauRoman has quit IRC | 19:27 | |
*** gregoa has quit IRC | 19:37 | |
*** gregoa has joined #maemo-ssu | 19:37 | |
*** gregoa has quit IRC | 19:39 | |
*** gregoa has joined #maemo-ssu | 19:39 | |
*** gregoa has quit IRC | 19:43 | |
*** gregoa has joined #maemo-ssu | 19:45 | |
solofight | freemangordon: you there ? | 20:21 |
*** sunny_s has quit IRC | 20:27 | |
*** thedead1440_ has quit IRC | 20:29 | |
*** thedead1440 has quit IRC | 20:29 | |
*** nox- has joined #maemo-ssu | 20:43 | |
*** NIN101 has quit IRC | 20:59 | |
*** thedead1440 has joined #maemo-ssu | 21:05 | |
*** solofight has quit IRC | 21:16 | |
*** NIN101 has joined #maemo-ssu | 21:37 | |
*** sunny_s has joined #maemo-ssu | 22:00 | |
*** chainsawbike has quit IRC | 22:28 | |
*** chainsawbike has joined #maemo-ssu | 22:29 | |
*** xes has joined #maemo-ssu | 22:52 | |
*** NIN101 has quit IRC | 23:14 | |
*** NIN101 has joined #maemo-ssu | 23:14 | |
*** NIN101 has quit IRC | 23:42 | |
*** FReaper has quit IRC | 23:44 | |
*** NIN101 has joined #maemo-ssu | 23:47 | |
*** dhbiker has quit IRC | 23:48 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!