*** Guest57704 has quit IRC | 00:09 | |
*** Guest57704 has joined #maemo-ssu | 00:09 | |
*** int_ua has joined #maemo-ssu | 00:22 | |
SpacedOut | DocScrutinizer05: I missed getting in on the USB charging discussion. I've tracked down a problem where plugging into a wall charger works, but plugging into a computer usb port doesn't charge and the computer doesn't see the N900. musb_core.c struct musb_ctx holds hardware register values, it can get it into that state. | 00:25 |
---|---|---|
SpacedOut | `echo mem > /sys/power/state` is the most reliable way to get it into that state. If anyone is wanting to debug it I have a patch for compiling the USB drivers as modules which also fixes some concurrency problems in the charger detection routines, a whole bunch of debugging print messages. | 00:29 |
*** ekze has quit IRC | 00:36 | |
*** NIN101 has quit IRC | 00:43 | |
*** M13 is now known as Guest40367 | 00:48 | |
*** arcean_ has joined #maemo-ssu | 01:06 | |
*** arcean has quit IRC | 01:09 | |
DocScrutinizer51 | SpacedOut: we concluded during 18months of h-e-n development that musb-hdrc has to be monolithic. | 01:09 |
SpacedOut | I'm fine with it being compiled in the kernel with the default configuration, but I have it working as module, and that is very handy if anyone is trying to do development or debugging on it. | 01:11 |
SpacedOut | Which I was. | 01:12 |
DocScrutinizer51 | and setting device to suspend-to-ram is kinda useless since it either wakes up again after 10s due to signal-level change message from cmt, or you block that and it won't even wake up on inbound call | 01:12 |
SpacedOut | I was wanting to point out that some of the problems you were having with it detecting the usb port and charging sounded familiar with what I was debugging, depending on the specifics and it all gets pretty fuzzy trying to track down all the variables. | 01:13 |
DocScrutinizer51 | or you have very secrit wisdom how to tell bb5 cmt to stop spamming unsol msgs | 01:13 |
SpacedOut | I think suspend to ram is useless unless you are in offline mode, and that is exactly how I use it, not very often, but I want it near off, but not have to boot it up when I'm ready to use it again. | 01:14 |
DocScrutinizer51 | yep, this works. speedevil done this | 01:15 |
DocScrutinizer51 | sorry for terse answers | 01:15 |
DocScrutinizer51 | N900 | 01:15 |
SpacedOut | I didn't get the reference or what part works, the current suspend to ram works for me after my patches for one to let it work with a computer USB port after resuming. | 01:18 |
*** arcean_ has quit IRC | 01:27 | |
int_ua | maemo.org down | 02:30 |
int_ua | isup.me/maemo.org | 02:30 |
int_ua | I've just installed CSSU-thumb and U-Boot disappeared, is that ok? | 02:51 |
merlin1991 | it's to be expected | 02:52 |
merlin1991 | cssu-thumb flashes a kernel | 02:52 |
merlin1991 | but you can install the kerne-thumb (or how it's called) bootimg and install uboot again | 02:52 |
int_ua | ok :) | 03:04 |
*** int_ua has quit IRC | 03:05 | |
*** M4rtinK has quit IRC | 04:08 | |
*** M4rtinK has joined #maemo-ssu | 04:09 | |
*** M4rtinK has quit IRC | 04:17 | |
*** dafox has quit IRC | 04:44 | |
*** Guest57704 has quit IRC | 04:48 | |
*** Guest57704 has joined #maemo-ssu | 04:49 | |
*** amiconn has quit IRC | 05:14 | |
*** amiconn_ has joined #maemo-ssu | 05:14 | |
*** amiconn_ is now known as amiconn | 05:14 | |
*** Guest40367 has quit IRC | 05:59 | |
*** DocScrutinizer05 has quit IRC | 06:03 | |
*** DocScrutinizer05 has joined #maemo-ssu | 06:03 | |
*** nox- has quit IRC | 06:58 | |
*** luf has joined #maemo-ssu | 09:16 | |
*** fredrinLap has quit IRC | 09:20 | |
*** fredrinLap has joined #maemo-ssu | 09:23 | |
*** andre__ has joined #maemo-ssu | 09:51 | |
*** andre__ has joined #maemo-ssu | 09:51 | |
*** BCMM has joined #maemo-ssu | 11:15 | |
*** NIN101 has joined #maemo-ssu | 11:33 | |
*** dhbiker has joined #maemo-ssu | 11:42 | |
*** arcean has joined #maemo-ssu | 12:00 | |
*** CodenameStrike has joined #maemo-ssu | 12:18 | |
*** dhbiker has quit IRC | 12:23 | |
*** Guest57704 has quit IRC | 12:26 | |
*** int_ua has joined #maemo-ssu | 12:49 | |
*** M4rtinK has joined #maemo-ssu | 12:52 | |
*** BCMM has quit IRC | 13:03 | |
*** fredrinLap has quit IRC | 13:10 | |
*** BCMM has joined #maemo-ssu | 13:30 | |
*** dhbiker has joined #maemo-ssu | 13:32 | |
*** int_ua has quit IRC | 13:52 | |
*** dafox has joined #maemo-ssu | 13:55 | |
*** dafox is now known as Guest99365 | 13:55 | |
*** ZogG has joined #maemo-ssu | 13:57 | |
*** int_ua has joined #maemo-ssu | 13:58 | |
*** sixwheeledbeast has joined #maemo-ssu | 14:01 | |
*** ChanServ has quit IRC | 14:05 | |
*** ChanServ has joined #maemo-ssu | 14:07 | |
*** brooks.freenode.net sets mode: +o ChanServ | 14:07 | |
*** Guest99365 is now known as dafox | 14:13 | |
*** Codename-Strike has joined #maemo-ssu | 14:14 | |
*** CodenameStrike has quit IRC | 14:15 | |
*** arcean has quit IRC | 14:15 | |
*** arcean has joined #maemo-ssu | 14:15 | |
*** lizardo has joined #maemo-ssu | 14:17 | |
*** pavi_ has joined #maemo-ssu | 14:28 | |
*** dafox has quit IRC | 14:48 | |
*** int_ua has quit IRC | 14:50 | |
*** int_ua has joined #maemo-ssu | 15:02 | |
*** sixwheeledbeast has quit IRC | 15:10 | |
*** sixwheeledbeast has joined #maemo-ssu | 15:11 | |
*** freemangordon has quit IRC | 15:11 | |
*** sixwheeledbeast has quit IRC | 15:15 | |
*** sixwheeledbeast has joined #maemo-ssu | 15:21 | |
*** int_ua has quit IRC | 15:24 | |
*** sixwheeledbeast has quit IRC | 15:26 | |
*** dhbiker has quit IRC | 15:28 | |
*** sixwheeledbeast has joined #maemo-ssu | 15:32 | |
*** Codename-Strike has quit IRC | 15:37 | |
*** fredrinLap has joined #maemo-ssu | 15:37 | |
*** sixwheeledbeast has quit IRC | 15:38 | |
*** arcean has quit IRC | 15:39 | |
*** pavi_ has quit IRC | 15:49 | |
*** fredrinLap has quit IRC | 16:06 | |
*** CodenameStrike has joined #maemo-ssu | 16:09 | |
*** NIN101 has quit IRC | 16:17 | |
*** arcean has joined #maemo-ssu | 16:37 | |
*** CodenameStrike has quit IRC | 16:38 | |
*** CodenameStrike has joined #maemo-ssu | 16:38 | |
luf | freemangordon: I postpone thumb2 testing :( I have to use my dev phone for obexd+MAP bug hunting. | 16:44 |
*** CodenameStrike has quit IRC | 16:50 | |
*** arcean has quit IRC | 16:55 | |
*** arcean has joined #maemo-ssu | 16:55 | |
*** luf has quit IRC | 16:58 | |
*** fredrinLap has joined #maemo-ssu | 17:33 | |
*** freemangordon has joined #maemo-ssu | 17:36 | |
*** NIN101 has joined #maemo-ssu | 17:50 | |
*** M13 has joined #maemo-ssu | 17:52 | |
merlin1991 | fredrinLap: we've reached 423 dls of the mp :D | 18:07 |
fredrinLap | merlin1991: What mp? | 18:08 |
merlin1991 | cssu-thumb metapackge (latest versions) | 18:08 |
kerio | :D :D :D | 18:08 |
merlin1991 | *version* | 18:09 |
freemangordon | merlin1991: something's wrong here, I refuse to believe there are more that 400 -thumb users | 18:21 |
*** sixwheeledbeast has joined #maemo-ssu | 18:25 | |
merlin1991 | freemangordon: if I clean it down to 1 dl per ip it's 405 | 18:28 |
freemangordon | well, if that is true, we should move -thumb to testing immediately :D | 18:30 |
peetah | how many people screwed up their thumb installation, reflashed and reinstalled it ? | 18:33 |
freemangordon | last version? no more than 5 | 18:33 |
freemangordon | hmm, maybe about 15 | 18:34 |
*** arcean_ has joined #maemo-ssu | 18:36 | |
*** arcean_ has quit IRC | 18:39 | |
freemangordon | in the meantime: gcc version 4.7.2 20120910 (prerelease) (Linaro GCC 4.7-2012.09) | 18:40 |
kerio | recompile *all* the packages! _ò/ | 18:43 |
freemangordon | why? | 18:43 |
freemangordon | BTW i would've sticked with zeq's toolchain, but it sees it has some problem with NEON | 18:44 |
freemangordon | lets see how it will be with the newer | 18:44 |
kerio | at least, recompile *all* the xserver packages! _ò/ | 18:50 |
*** sixwheeledbeast has quit IRC | 18:55 | |
*** m0shbear has joined #maemo-ssu | 18:58 | |
m0shbear | is it possible to force an upgrade of stable without doign PC Suite backup? | 18:59 |
m0shbear | I already use backupmenu for all imaging purposeds | 18:59 |
m0shbear | **testing | 18:59 |
m0shbear | s/stable/testing/ | 18:59 |
freemangordon | check "problems" tab in application manager | 18:59 |
DocScrutinizer05 | (<freemangordon> well, if that is true, we should move -thumb to testing immediately :D) and alienate the 3266 proper testing users? | 19:00 |
freemangordon | DocScrutinizer05: where did you get that 3266, I was wondering how big is -testing userbase | 19:01 |
DocScrutinizer05 | made it up, based on educated guess and the numbers from -thumb | 19:03 |
*** int_ua has joined #maemo-ssu | 19:03 | |
* DocScrutinizer05 ponders to actually roll that cokie thingie suggested some month ago, every upgrade pings a tranceable IP, just once | 19:06 | |
DocScrutinizer05 | trceable* | 19:06 |
DocScrutinizer05 | meh | 19:06 |
DocScrutinizer05 | coul dimplement that as browser invocation to show some "news" of CSSU | 19:07 |
*** sixwheeledbeast has joined #maemo-ssu | 19:08 | |
DocScrutinizer05 | with an auto-forward to the real site, so noboy will set a bookmark to the tally site and call it repeatedly | 19:08 |
DocScrutinizer05 | typo day \o/ | 19:08 |
DocScrutinizer05 | iirc BM already does that. Or was it alarmed? | 19:09 |
DocScrutinizer05 | was X-Fade able to get some statistics from real servers? | 19:12 |
DocScrutinizer05 | merlin1991: would *you* be able now? finally? | 19:13 |
DocScrutinizer05 | X-Fade: ping ^^^ | 19:13 |
kerio | DocScrutinizer05: maybe there are more cssu-thumb users than cssu-testing users! | 19:15 |
DocScrutinizer05 | only very maybe | 19:16 |
DocScrutinizer05 | odds are a lot of lusers that only moderately care to get new leete stuff but simply want to stay on a road with occasional update for bugfixes just intalled T or even S and never again showed up anywhere | 19:17 |
DocScrutinizer05 | compare number of registers users on tmo to number of posts on tmo to number of candidates for council | 19:19 |
DocScrutinizer05 | there seems to be 1% that ever posted anything at all, and 0.3% that do it frequently, while the huge number of masses never utters a sign of life | 19:20 |
DocScrutinizer05 | still many are busy lurkers | 19:21 |
*** sixwheeledbeast has quit IRC | 19:21 | |
DocScrutinizer05 | same here, or on IRC in general | 19:21 |
*** Guest57704 has joined #maemo-ssu | 19:23 | |
*** dafox has joined #maemo-ssu | 19:23 | |
*** dafox is now known as Guest72919 | 19:24 | |
freemangordon | the fuch, latest linaro gcc still issues broke neon instruction :( | 19:27 |
freemangordon | *broken | 19:27 |
m0shbear | is anybody else getting http://paste.ee/p/zyFOV ? | 19:28 |
m0shbear | for /var/lib/apt/lists/downloads.maemo.nokia.com_fremantle_ssu_mr0_._Packages ? | 19:28 |
*** sixwheeledbeast has joined #maemo-ssu | 19:31 | |
kerio | wat | 19:33 |
kerio | no | 19:33 |
m0shbear | disregard my point, a cleanout of /var/lib/apt/lists solved the issue | 19:35 |
*** Guest57704 has quit IRC | 19:35 | |
kerio | i should keep a lists of "modifications that could screw you over" | 19:35 |
kerio | i manually optified /var/lib/gcc, /var/lib/apt and /var/lib/dpkg | 19:36 |
kerio | and i have no emmc swap partition now | 19:36 |
kerio | i don't remember anything else | 19:36 |
*** Guest72919 is now known as dafox | 19:36 | |
m0shbear | it appears that the forced backup is due to the builtin "Maemo update" thingy | 19:37 |
m0shbear | and there's no mention in hildon-app-manager's logs | 19:37 |
m0shbear | but why now instead of when I upgraded factory to PR1.2? | 19:37 |
kerio | forced backup? what? | 19:37 |
m0shbear | "Maemo update; To update your device to this version of the operating system you must use Nokia PC Suite on your PC. Connect the device to your PC via a USB cable and launch the application." | 19:38 |
*** M13 has quit IRC | 19:39 | |
kerio | oic | 19:41 |
kerio | upgrading cssu-testing? | 19:41 |
kerio | you need to upgrade operator-name-cbs-widget first | 19:41 |
m0shbear | that app is the newest version, but $sudo apt-get upgrade has 58 queued packages, so i'll get to that before re-attempting the update of cssu-testing | 19:43 |
kerio | hahha | 19:43 |
kerio | this will *not* end well | 19:43 |
*** dafox has quit IRC | 19:43 | |
m0shbear | eh, it's mostly busybox and various libraries | 19:43 |
m0shbear | and how will this not end well? | 19:44 |
merlin1991 | because of bad stuff (tm) in extras-devel? | 19:45 |
*** dafox has joined #maemo-ssu | 19:45 | |
m0shbear | i'm used to things breaking | 19:45 |
*** dafox is now known as Guest24238 | 19:45 | |
*** sixwheeledbeast has quit IRC | 19:46 | |
*** sixwheeledbeast has joined #maemo-ssu | 19:47 | |
*** M13 has joined #maemo-ssu | 19:48 | |
kerio | because you're only supposed to update CSSU via ham | 19:54 |
kerio | apt is "unsupported" | 19:54 |
*** sixwheeledbeast has quit IRC | 19:58 | |
*** BCMM has quit IRC | 19:59 | |
*** sixwheeledbeast has joined #maemo-ssu | 20:02 | |
*** sixwheeledbeast has quit IRC | 20:15 | |
*** sixwheeledbeast has joined #maemo-ssu | 20:17 | |
DocScrutinizer05 | OMG | 20:28 |
m0shbear | everything works | 20:28 |
m0shbear | and that scares me | 20:28 |
m0shbear | (this coming right after a successful update) | 20:28 |
m0shbear | hmm, why do mp-fremantle-community-pr and dnsutils conflict? | 20:31 |
*** fredrinLap has quit IRC | 20:32 | |
*** sixwheeledbeast has quit IRC | 20:36 | |
*** pavi has joined #maemo-ssu | 20:41 | |
*** dhbiker has joined #maemo-ssu | 20:54 | |
*** luf has joined #maemo-ssu | 21:12 | |
*** M13 has quit IRC | 21:13 | |
freemangordon | the fuck: | 21:29 |
freemangordon | http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=8428e84d42179c2a00f5f6450866e70d802d1d05 | 21:29 |
freemangordon | Sep 22 19:26:07 Nokia-N900 kernel: [ 572.136657] Alignment trap: not handling instruction ece4 at [<4026d84c>] | 21:29 |
kerio | wat | 21:29 |
freemangordon | pulseaudio | 21:30 |
kerio | wtf did you do | 21:30 |
kerio | to my n900 | 21:30 |
freemangordon | compiled it and seems I am hitting that | 21:30 |
kerio | well fix the kernel | 21:31 |
freemangordon | fortunately there is a compiler switch to disabl eunaligned access, lets see if it will work | 21:31 |
kerio | or tell gcc to only do aligned access | 21:31 |
kerio | hehe | 21:31 |
kerio | maybe that's the problem with xserver? | 21:31 |
freemangordon | NFC | 21:32 |
*** pavi has quit IRC | 21:32 | |
int_ua | freemangordon: but why is that "__LINUX_ARM_ARCH__ < 6" when the title says "ARMv6+" ? | 21:36 |
int_ua | why is it _less_ ? | 21:36 |
freemangordon | because on < 6 it is prohibited | 21:37 |
kerio | because it'll trap if CONFIG_ALIGNMENT_TRAP is set, *AND* if arch is 5 or less | 21:37 |
kerio | on 6+, it'll not trap | 21:37 |
freemangordon | :nod: | 21:37 |
freemangordon | CONFIG_ALIGNMENT_TRAP is set in our kernel :( | 21:43 |
kerio | of course it is | 21:43 |
kerio | it's probably a good thing | 21:43 |
kerio | just add that patch | 21:43 |
kerio | if our CPU can handle unaligned access | 21:44 |
freemangordon | no, it is not a good thing, as our CPU can handle it at a cost of 1 additional cycle (AIUI) | 21:44 |
kerio | yeah but you fix that by adding that patch | 21:44 |
kerio | or something | 21:44 |
freemangordon | yeah, I can try | 21:45 |
int_ua | offtopic: is that possible to connect touchscreen on N900 to desktop through network? | 21:45 |
kerio | paaaaaaaaaaaaaaaaalit | 21:45 |
kerio | dammit, he's not here | 21:45 |
kerio | int_ua: what does that mean? | 21:45 |
int_ua | =D | 21:45 |
int_ua | kerio: just an idea. To use touchscreen on N900 on my desktop | 21:46 |
int_ua | I've seen something like USB over IP in Linux long time ago... | 21:46 |
int_ua | maybe there is something like this to connect the touchscreen? | 21:47 |
kerio | well, there's VNC... | 21:47 |
freemangordon | hmm, I replaced that code with a memset and now I have segmentation fault, something else is wring :D | 21:48 |
freemangordon | *wrong | 21:48 |
kerio | you what | 21:48 |
freemangordon | it was an init loop that was causing SIGILL, I replaced it with memset and got sigsegv | 21:49 |
kerio | cool, that's easier to diagnose :D | 21:49 |
kerio | fix the damn kernel | 21:49 |
freemangordon | no, it is not the kernel | 21:49 |
kerio | sure it is, it traps unaligned access | 21:49 |
kerio | and now you botched the aligned replacement | 21:50 |
freemangordon | nahh, sigsegv is a different animal | 21:50 |
freemangordon | hehe, I am stupid :D | 21:51 |
freemangordon | memset's second argument is not array size ;) | 21:51 |
kerio | you could just recompile the original source with the aligned access option | 21:53 |
freemangordon | already did that, don;t help | 21:53 |
kerio | wait, really? D: | 21:54 |
kerio | then what's wrong? | 21:54 |
freemangordon | NFC | 21:54 |
freemangordon | lets see how it will be wit *correctly* called memset | 21:54 |
kerio | also, is there some binary on my n900 that could do unaligned access? | 21:54 |
kerio | some binary that comes from cssu-θ | 21:55 |
freemangordon | kerio: it is most probably gcc issuing incorrect instruction | 21:55 |
kerio | which gcc? | 21:55 |
freemangordon | both zeq's and mine (4.7.2 linaro 2012.09) | 21:56 |
kerio | yeah but did you use it already? | 21:56 |
kerio | this new one | 21:56 |
freemangordon | it runs YAY | 21:57 |
kerio | YAY | 21:57 |
kerio | until it'll segfault again | 21:57 |
kerio | for instance, when accessing that initialized data | 21:57 |
freemangordon | oulseaudio enable every damn hacking options, like fast-math and unsafe-optimisation and whatnot | 21:57 |
kerio | hehe | 21:57 |
freemangordon | I really wonder how this wirks at all (stock one) | 21:58 |
freemangordon | *works | 21:58 |
freemangordon | but now it works, lets see if there is sound | 21:58 |
freemangordon | yes, there is | 21:59 |
freemangordon | :D | 21:59 |
kerio | :D | 21:59 |
kerio | otoh, you should look for a more general fix | 21:59 |
freemangordon | I know | 21:59 |
kerio | new kernel-cssu! ^____^ | 21:59 |
kerio | it might be the excuse to install it | 21:59 |
freemangordon | OK, works after reboot too. | 22:00 |
m0shbear | kerio: alignment issues usually trigger SIGBUS | 22:01 |
m0shbear | SEGV is more pagetable protection issues | 22:02 |
freemangordon | m0shbear: i have a clear message from the kernel | 22:02 |
kerio | m0shbear: no, the SIGSEGV is from his botched replacement | 22:02 |
kerio | the original issue is SIGILL iirc | 22:02 |
freemangordon | yep | 22:02 |
freemangordon | <freemangordon> Sep 22 19:26:07 Nokia-N900 kernel: [ 572.136657] Alignment trap: not handling instruction ece4 at [<4026d84c>] | 22:02 |
freemangordon | and that sigills in gdb | 22:03 |
deepy | Alignment trap | 22:03 |
freemangordon | ece4 is vstmia | 22:03 |
freemangordon | VSTMIA R4!, {D16-D17} | 22:03 |
m0shbear | i know not arm asm | 22:03 |
freemangordon | and r4 is not word aligned | 22:03 |
m0shbear | and zeroing the unaligner bits -> segv? | 22:04 |
freemangordon | though it seems like a problem in the toolchan | 22:04 |
kerio | m0shbear: no, not knowing how memset works -> segv | 22:05 |
kerio | :D | 22:05 |
freemangordon | m0shbear: i passed memset array size as second parameter nad -1 as third | 22:05 |
freemangordon | kerio: hehe | 22:05 |
freemangordon | the expected result - sigsegv | 22:06 |
m0shbear | is it possible to trap right before to do regs + callstack dump? | 22:06 |
kerio | m0shbear: it's an already-diagnosed problem though | 22:07 |
freemangordon | m0shbear: of course i can, i have gdb installed, but why should i do that? | 22:07 |
kerio | new gcc generates code with unaligned access, and the kernel is configured to trap that | 22:07 |
kerio | but it works fine in recent ARM archs | 22:07 |
m0shbear | gcc 4.7? | 22:07 |
freemangordon | yep | 22:07 |
freemangordon | 4.6 too | 22:07 |
kerio | freemangordon: then how does the thumb stuff work? | 22:07 |
freemangordon | kerio: though the patch is for kernel unaligned access | 22:07 |
kerio | oh | 22:08 |
freemangordon | kerio: that is why i said it is most probably a toolchain problem | 22:08 |
luf | I'm curious if someone using BT + synchronizing contact and more between phones :) | 22:08 |
m0shbear | why not retain 4.5 to keep gcc from UA code generation? | 22:08 |
kerio | because 4.7 is better | 22:08 |
freemangordon | m0shbear: there is an option to disable it | 22:08 |
freemangordon | which didn't help | 22:09 |
m0shbear | how bloated is gcc's arm backend? | 22:10 |
freemangordon | again a sign of misbehaving toolchain | 22:10 |
kerio | freemangordon: did you properly make clean and make? | 22:10 |
freemangordon | m0shbear: well, it is gcc-linaro, should be the best one available | 22:10 |
freemangordon | kerio: come on :P | 22:10 |
kerio | no srsly | 22:10 |
freemangordon | iirc | 22:10 |
m0shbear | proably a few assert()s here and there will trigger ICEs, making it easier to hunt down the source of the unavoidable UAs | 22:11 |
kerio | m0shbear: how do you test all codepaths though? | 22:11 |
m0shbear | i want to say lint, but know im prolly wrong | 22:12 |
freemangordon | m0shbear: pulseaudio source and toolchain are available to be downloaded, I will owe you a beer if you can trigger an ICE | 22:12 |
freemangordon | m0shbear: http://wiki.maemo.org/CSSU-thumb_toolchain_setup_%28gcc4.7.2-linaro%29 | 22:13 |
freemangordon | and puleaudio in in maemo repos | 22:13 |
freemangordon | *pulseaudio | 22:14 |
freemangordon | if you want to play with it I will hand you a couple of patches you'll need | 22:14 |
kerio | ICE? | 22:14 |
freemangordon | internal compiler error | 22:14 |
*** int_ua has quit IRC | 22:15 | |
m0shbear | the first trick is to figure out the offensive lines of code | 22:16 |
freemangordon | for (c = 0; c < PA_CHANNELS_MAX; c++) | 22:16 |
freemangordon | m->map[c] = PA_CHANNEL_POSITION_INVALID; | 22:16 |
freemangordon | pulseaudio-0.9.15\src\pulse\channelmap.c:165 | 22:17 |
kerio | why does m->map point to an unaligned thing? | 22:17 |
freemangordon | because m is a structure | 22:17 |
kerio | i said m->map, not m | 22:17 |
kerio | and i said point to | 22:17 |
kerio | unless the problem is m->map itself | 22:18 |
m0shbear | and inducing padding may unalign other instances | 22:18 |
freemangordon | typedef struct pa_channel_map { | 22:18 |
freemangordon | uint8_t channels; | 22:18 |
freemangordon | /**< Number of channels */ | 22:18 |
freemangordon | pa_channel_position_t map[PA_CHANNELS_MAX]; | 22:18 |
freemangordon | /**< Channel labels */ | 22:18 |
freemangordon | } pa_channel_map; | 22:18 |
freemangordon | that is why | 22:18 |
kerio | ...that's stupid | 22:19 |
kerio | WHY UINT8 | 22:19 |
m0shbear | uint8_t _pad[3]; after .channels | 22:19 |
m0shbear | why or why not | 22:19 |
kerio | *why* | 22:20 |
freemangordon | m0shbear: no way, there are closed source PA plugins from Nokia | 22:20 |
m0shbear | probably the code was assumed for byte addressable machines | 22:20 |
m0shbear | namely x86 | 22:20 |
freemangordon | ARM can access bytes, not sure for NEON SIMD | 22:20 |
freemangordon | though it is a toolchain problem, if i find time will try to reproduce it with a simple helloworld.c and open a bug | 22:21 |
m0shbear | apart from x86, which other arches are alignment-agnostic wrt word access? | 22:22 |
m0shbear | also, is it possible to do struct translation much like ksplice? | 22:26 |
luf | Shit. obexd redefine one type which prevent phone synchronizing :( | 22:26 |
m0shbear | in order to not break abi yet work around gcc bug | 22:26 |
freemangordon | m0shbear: i'll just patch it to use memset and will move on | 22:28 |
luf | but it seems nobody is using it as I see no bug report for it. | 22:28 |
*** dhbiker has quit IRC | 22:29 | |
m0shbear | i'll get to playing with unaligned struct members after my pm nap and dinner | 22:30 |
m0shbear | i expect fun times and a few ICEs | 22:30 |
*** toxaris has joined #maemo-ssu | 22:33 | |
freemangordon | luf: you still play with obexd? I am eager for new bluetoothd to test, i use BT pretty much | 22:37 |
luf | freemangordon: unfortunately yes. | 22:44 |
luf | I stucked with some stupid mistake with pointers but I can't locate it L( | 22:45 |
luf | BTW bluez-4.99 has more problems - It has some delay during connecting with HF and also it doesn't show the battery level :( | 22:46 |
*** macmaN has quit IRC | 23:03 | |
*** macmaN has joined #maemo-ssu | 23:06 | |
*** BCMM has joined #maemo-ssu | 23:16 | |
luf | freemangordon: ping | 23:18 |
freemangordon | pong | 23:19 |
freemangordon | luf: ^^^ | 23:19 |
luf | for what are you using BT? | 23:19 |
freemangordon | HF, file transfer,what else... lemme think | 23:20 |
freemangordon | aah, mouse, keyboard | 23:20 |
*** Guest57704 has joined #maemo-ssu | 23:20 | |
luf | HF in car (also phonebook, MAP, ...) or just sound? | 23:21 |
freemangordon | luf: sending contacts sometimes | 23:21 |
freemangordon | hf in my ear | 23:21 |
freemangordon | well, maybe it is HS profile didn't check it | 23:21 |
luf | np. thanks for the info. | 23:22 |
freemangordon | both profile supported | 23:22 |
freemangordon | HFP/HSP | 23:22 |
*** M4rtinK has quit IRC | 23:27 | |
*** M4rtinK has joined #maemo-ssu | 23:28 | |
*** int_ua has joined #maemo-ssu | 23:30 | |
*** Sc0rpius_ has quit IRC | 23:33 | |
luf | Hmmm valgrind points me to something what seems ok for me. But who knows ... | 23:40 |
*** Guest57704 has quit IRC | 23:47 | |
*** Guest57704 has joined #maemo-ssu | 23:48 | |
luf | freemangordon: can you help me? | 23:49 |
*** MrPingu has joined #maemo-ssu | 23:58 | |
luf | Someone keen with valgrind here? | 23:58 |
kerio | freemangordon: hmm, i can't seem to get a cursor over buttons in the menus | 23:59 |
*** lizardo has quit IRC | 23:59 | |
kerio | whoops, ECHAN | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!