**** BEGIN LOGGING AT Sun Jan 17 02:59:56 2010 Jan 17 03:48:37 DocScrutinizer-8: huhu Jan 17 03:48:44 hihi Jan 17 03:49:02 should I say "haha"? Jan 17 03:49:08 k for the Jbt7kfoo driver: Jan 17 03:49:49 we use a suspend mode there which is *completely* useless and really icky to handle Jan 17 03:51:08 The driver in the .32 tree disables the jbt completely, as in turns regulators off Jan 17 03:51:15 the idea is to power down the LCD (jbt6k74 chip) *completely* by disabling 3V3_LCM via PMU LDO Jan 17 03:51:29 yep. that's the idea Jan 17 03:52:52 and we MUST take care to switch *all* data lines and clocks and foo which run to ylcm chip to either logical low aka 0V or to high-Z aka input Jan 17 03:53:21 not to reverse feed the chip via e.g. the video data lines from glamo to lcm Jan 17 03:54:31 yup Jan 17 03:54:57 then on resume somebody (kernel, maybe bootloader (too)) has to initialize the whole junk much the same way it's done on power on Jan 17 03:55:32 yup Jan 17 03:56:10 finally we should reach a state were we see no difference in LCM handling between resume and power on. Jan 17 03:56:43 and as we never seen a WSOD on power on, this should cure the issue for suspend as well Jan 17 03:59:05 btw for the data/clock states during suspend a output+low is preferable to a high-z state. active pull down, you know :-) Jan 17 03:59:50 i've seen lots of WOSDs on power on Jan 17 04:00:32 lars_: so *all* the jbt foo is solidly drawn to unpowered state' even the possibly esisting Cs etc Jan 17 04:00:42 lars_: duh Jan 17 04:01:01 if we are going to reintialize glamo completely we could cut it's power aswell, i guess? Jan 17 04:01:27 we can't cut glamo power afaik Jan 17 04:01:39 we have no way to do it Jan 17 04:02:01 not sure about that though Jan 17 04:03:39 hm... the regulator is shared between serveral components Jan 17 04:04:22 yep Jan 17 04:04:33 that's what I thought Jan 17 04:09:00 it can be a vreg driver? Jan 17 04:10:06 errm huh? Jan 17 04:10:39 the jbt driver Jan 17 04:10:48 it's really just a special vreg Jan 17 04:11:12 AAAH VReg Jan 17 04:11:38 when will linux really map to soc and soc hardware? Jan 17 04:13:38 well I guess that's what it is done like in .32 Jan 17 04:14:27 to care about the data/clock lines is quite beyond vreg though Jan 17 04:15:24 yeah, but until mux scenarios make it Jan 17 04:15:49 it's easier just to wrap them with vreg or rfkill or some other partial abstraction Jan 17 04:16:51 sorry not my domain, to be honest Jan 17 05:03:13 vreg? **** ENDING LOGGING AT Sun Jan 17 06:31:16 2010 **** BEGIN LOGGING AT Sun Jan 17 06:31:40 2010 Jan 17 06:40:43 voltage regulator, it's a kernel api that represents a hardware register that controls amount of current a device can draw as well as on/off Jan 17 10:41:29 moin Jan 17 10:46:39 moin Jan 17 11:38:39 moin Jan 17 11:44:36 moooooooin Jan 17 12:09:03 DocScrutinizer, the sound is breaking for me ..even the signal level is high ..i m using A7 Jan 17 12:09:05 DocScrutinizer, can u help me with this Jan 17 12:11:28 i m using Moko11 gsm firmware Jan 17 12:11:47 UberNeo: what do you mean by "breaking"? Jan 17 12:12:33 it getting cutoff during calls..like wht usually happens when the signals become low Jan 17 12:12:36 UberNeo: and GSM fw 11 has nothing to do with it. But I gather you're taking care. That's fine :-) Jan 17 12:13:20 does the call terminate? or is it audio dropouts? Jan 17 12:13:35 audio dropouts Jan 17 12:13:42 which distro? Jan 17 12:13:53 SHR-U ..sep image Jan 17 12:13:54 moin PaulFertser Jan 17 12:14:17 DocScrutinizer: moin :) Jan 17 12:14:22 please update to testing as mentioned in /topic Jan 17 12:14:46 err should... Jan 17 12:15:01 WTF? Do I have to lock the topic? Jan 17 12:16:11 also in frameworkd.conf file i have put "ti_calypso_dsp_mode = none" Jan 17 12:17:11 UberNeo: in the newer testing there're two volume slider during call that you might want to tweak. Should help. Jan 17 12:17:31 please update to testing Jan 17 12:17:48 as not mentioned in /topic Jan 17 12:17:52 ;-P Jan 17 12:18:29 but i am using SHR-U ..sep image ..and previously it was fine .. Jan 17 12:20:06 DocScrutinizer, and its not happening everytime ..sometimes the sound is smooth Jan 17 12:20:40 hmm you might have either messed up some mixer settings or the dsp mode, or you got a hw bug or simply a flaw in your carrier's exchange and audio postprocessing Jan 17 12:21:44 anyway please update to testing, as almost everybody meanwhile lost knowledge about september U flaws and catches Jan 17 12:22:42 OK ..btw is there any other way to increase the call volume ..except making the control 4 level as 127 max in gsmhandset.state file Jan 17 12:22:57 or you simply reflash your beloved 0808(?) (0906?) U version again Jan 17 12:23:59 UberNeo: yes, there's AT+CLVL= cmd (or similar) Jan 17 12:24:16 should be set to max by FSO Jan 17 12:24:33 where do i need to make changes for that Jan 17 12:24:50 you should not make changes to that Jan 17 12:24:59 should be set to max by FSO Jan 17 12:26:32 though I seem to remember some evil friggin hackers used that cmd to implement a volume control at a certain timespan in the past - until I shot them down :-P Jan 17 12:29:57 heyho Jan 17 12:30:19 ho hey Jan 17 12:32:15 DocScrutinizer, i gave AT+CLVL=6 ..now the volume is very low after this Jan 17 12:32:27 so??? Jan 17 12:32:41 i dont know wht was default Jan 17 12:33:08 or what max i can give for AT+CLVL Jan 17 12:33:11 me neither. something like 127 or 200 Jan 17 12:34:02 UberNeo: reset the modem and then ask for AT+CLVL? and AT+CLVL=? to see default? Jan 17 12:35:38 lindi-: that's not exactly helpful. As I mentioned before you 1)should NOT mess around with AT+CLVL as 2) FSO is supposed to set it (and that might be a value NOT equal to modem's default after reset) Jan 17 12:36:44 DocScrutinizer: sure but it is is always good to verify that the expected things happen Jan 17 12:37:18 when i set AT+CLVL=200 ..i m getting the old high volume but the voice is still breaking :( Jan 17 12:37:41 lindi-: what *are* the expected things? I don't even have an idea if there is *any* modem default for CLVL Jan 17 12:38:01 DocScrutinizer: well the first command was about discovering what the default value is :) Jan 17 12:38:27 DocScrutinizer: then you read the source to find out what fso is trying to set it and see if it differs from the default Jan 17 12:38:45 lindi-, AT+CLVL? give me 200 Jan 17 12:38:47 then finally you can query the value and see if it is the default or the one that fo sets it to Jan 17 12:39:04 * DocScrutinizer sighs and anders off Jan 17 12:39:07 UberNeo: what AT+CLVL commands has FSO sent to the chip? Jan 17 12:39:50 lindi-, tht i m not sure Jan 17 12:40:16 UberNeo: if you want to understand the issue you migt want to check that out Jan 17 12:40:41 * DocScrutinizer returns for a second, just to sarcastically suggest you concentrate on cpu clock scaling deviders rather than AT+CLVL, to fix UberNeo's problem Jan 17 12:42:02 cpu clock scaling? Jan 17 12:42:48 not good? how about PMU regulator setting fpor cpu core voltage then? Jan 17 12:43:29 DocScrutinizer: has that caused audio issues in the past? Jan 17 12:43:48 has AT+CLVL? Jan 17 12:43:54 the max which i can set on AT+CLVL=250 Jan 17 12:44:09 255 Jan 17 12:44:17 DocScrutinizer: afaik yes when it was not set to maximum value? Jan 17 12:44:18 so wtf? Jan 17 12:44:24 are you happy now? Jan 17 12:44:40 DocScrutinizer: hmm? Jan 17 12:46:07 let me anticipate UberNeo's very next posting: "on 250 sound still broken" Jan 17 12:46:49 and [2010-01-17 13:24:50] you should not make changes to that Jan 17 12:47:03 [2010-01-17 13:24:59] should be set to max by FSO Jan 17 12:47:15 UberNeo, +CLVL: 175 Jan 17 12:47:25 playya: are you using FSO? Jan 17 12:47:30 DocScrutinizer, you are absolutely right ..ther volume has bit increased but sometimes its still broken Jan 17 12:47:31 yes Jan 17 12:47:46 playya: I guess FSO does not set it to max then? Jan 17 12:47:51 hooray. now we got enough helping hands to *finally fix* that *friggind clvl issue* Jan 17 12:48:09 let me check the source Jan 17 12:48:30 i just used mickeyterm and AT+CLVL? Jan 17 12:48:40 * DocScrutinizer away for good. Good luck and enjoy your sunday afternoon leissure hacking Jan 17 12:49:56 AT+CLVL=255 has really helped a lot Jan 17 12:50:41 playya: I only find DeviceSetSpeakerVolume but nothing that calls it Jan 17 12:51:25 then it might be a dbus method and should be called from e.g. SHR Jan 17 12:51:53 playya: aha, it bypasses its own api Jan 17 12:51:59 playya: ./framework/subsystems/ogsmd/modems/ti_calypso/channel.py: c.append( "+CLVL=255" ) # audio output: set to maximum Jan 17 12:52:07 playya: and does not set the volume using SetSpeakerVolume Jan 17 12:53:20 because IT IS NOT *SUPPOSED* TO BE USED FOR SETTING SPEAKER VOLUME!!!1!11!!!1111!! Jan 17 12:54:00 needs to be 255 AND NOBODY EVER TOUCH IT Jan 17 12:54:10 period Jan 17 12:56:23 DocScrutinizer, it means ..the max which we can get is byr AT+CLVL=255 and control 4 value =127 in gsmhandset.state file Jan 17 12:56:41 and btw. please don't ping me about it ever again unless you make a *good* story out of it why it can _cause_ _dropouts_ Jan 17 12:56:48 DocScrutinizer: well it seems that in playaa's case something set it to 175 -- we need to figure out what to fix it Jan 17 12:57:37 DocScrutinizer: also fso might want to remove the API for setting speaker volume if it is not meant to be set Jan 17 12:57:37 lindi-, AT+CLVL=175 is lowering the volume Jan 17 12:57:59 playya: any idea what in your system could be setting it to 175? Jan 17 12:58:00 grrrrrrrrrrrrrrrrrRRRRRRRRRRRRrr Jan 17 12:58:23 set-speaker-volume probably does the right thing: change control#4 in mixer Jan 17 12:59:48 (why in your system...) maybe because that's a system prior to the point where I convinced mickey to set it to 255. 175 was old value Jan 17 13:00:25 lindi-, nope Jan 17 13:00:58 playya: can you configure ogsmd to log all traffic and look at the AT+CLVL commands? Jan 17 13:01:50 let me check if ogsmd is that flexible Jan 17 13:04:58 UberNeo: please switch to SHR-testing Jan 17 13:05:22 yes..i m downloading the latest image Jan 17 13:10:07 ok. restarting Jan 17 13:10:29 keep your fingers crossed that i didN't break frameworkd Jan 17 13:12:27 nice. enlightenment segfaulted Jan 17 13:15:43 yeah, that happens quite often on my phone too :( Jan 17 13:16:02 have you tried to attach gdb to the process? Jan 17 13:20:28 to a python script ... Jan 17 13:22:06 last time I checked enlightenment was written in c ;) Jan 17 13:27:26 ah. i thought you meant frameworkd Jan 17 13:29:04 lindi-, maybe it's affiliated to: WARNING Attempted to send something while serial is not open. Jan 17 14:03:30 playya: hard to say. full log and bug report? Jan 17 14:15:42 i think it's fsodeviced, because i only have GPS and GSM resource Jan 17 15:08:52 <\marco> hi to all Jan 17 15:09:50 <\marco> I've some problem after last upgrade of the unstable image ( I know upgrading isn't supported ^_^ but, maybe, it's not related ) Jan 17 15:10:08 <\marco> I've no ringtone or msgtone Jan 17 15:10:18 <\marco> and the frameworkd.log says: Jan 17 15:10:27 <\marco> 2010.01.17 16:05:44.728 oeventsd.action ERROR signal StopSound emited an error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freesmartphone.odeviced was not provided by any .service files Jan 17 15:12:09 \marco: do you have fsodeviced installed? Jan 17 15:12:21 it's not running and it can't be activated Jan 17 15:12:50 <\marco> checking.. :) Jan 17 15:12:57 <\marco> root@om-gta02 ~ $ opkg list_installed | grep fsodeviced Jan 17 15:12:57 <\marco> fsodeviced - 1:0.9.0+gitr895+1b329ccc044eb087a6f8a7c7c61022c162f51ab2-r1.6.4 Jan 17 15:13:52 <\marco> the service isn't running Jan 17 15:14:00 <\marco> trying again Jan 17 15:14:05 \marco: /etc/init.d/fsodeviced restart? Jan 17 15:14:26 JaMa: shouldn't it get activated by dbus? Jan 17 15:14:26 <\marco> JaMa: I've just started it.. trying again ;) Jan 17 15:14:55 PaulFertser: IIRC just fsousaged is and fsogsmd was Jan 17 15:15:02 <\marco> mhm Jan 17 15:15:07 <\marco> no dice Jan 17 15:15:22 <\marco> ps says there's no fsodeviced process Jan 17 15:15:22 \marco: and running fsodeviced from terminal? Jan 17 15:15:33 do you have /etc/freesmartphone/fsodeviced.conf? Jan 17 15:15:48 <\marco> mhm no Jan 17 15:15:52 <\marco> no fsodeviced.conf Jan 17 15:16:07 opkg files fsodeviced doesn't show that file? Jan 17 15:16:20 <\marco> let me see Jan 17 15:16:31 <\marco> root@om-gta02 ~ $ opkg files fsodeviced Jan 17 15:16:31 <\marco> Package fsodeviced (1:0.9.0+gitr895+1b329ccc044eb087a6f8a7c7c61022c162f51ab2-r1.6.4) is installed on root and has the following files: Jan 17 15:16:31 <\marco> root@om-gta02 ~ $ Jan 17 15:16:34 <\marco> nice :D Jan 17 15:16:46 \marco: and you have different version than I have.. 1:0.9.0+gitr24+44a4aabf382995c9f3141ec09b202f0e569a484d-r1.9.4 Jan 17 15:16:54 \marco: great upgrade you had there :) Jan 17 15:16:59 <\marco> :D Jan 17 15:17:21 \marco: when did you run opkg update? :) Jan 17 15:17:23 ~curse opkg Jan 17 15:17:28 May you be reincarnated as a Windows XP administrator, opkg ! Jan 17 15:17:32 <\marco> JaMa: few minutes ago :P Jan 17 15:19:03 <\marco> should I try to reinstall fsodeviced? Jan 17 15:19:49 <\marco> mhm.. I've two different version of fsodeviced in the pkg tree Jan 17 15:20:05 <\marco> r895 and r898 Jan 17 15:20:50 <\marco> oh.. maybe the version is the last part :P Jan 17 15:21:01 <\marco> r1.6.4 and r1.9.4 Jan 17 15:22:05 <\marco> mhm Jan 17 15:22:08 <\marco> ok Jan 17 15:22:21 <\marco> I've start another opkg upgrade Jan 17 15:22:34 <\marco> it's upgrading fsodeviced now :/ Jan 17 15:22:49 mrmoku: any idea why fsodeviced moved from armv4 arch to om-gta02? Jan 17 15:23:16 ouch, no Jan 17 15:23:19 mrmoku: maybe it happen everytime you add device specific patch/source Jan 17 15:23:24 <\marco> the question is: why opkg didn't upgrade it the first time? Jan 17 15:23:37 ohh, probably because there is device specific config now :( Jan 17 15:23:45 mrmoku: which make sense.. because you can have multiple packages in same feed for multiple devices Jan 17 15:23:58 JaMa: probably the config should be in a different package Jan 17 15:24:09 like it is done with frameworkd Jan 17 15:24:12 mrmoku: no I think it's fine.. Jan 17 15:24:29 mrmoku: just that older package shouldn't be in feed (rsync --delete :)) Jan 17 15:24:36 :) Jan 17 15:24:40 yeah Jan 17 15:24:48 mrmoku: and opkg should pick newest (from om-gta02 dir) Jan 17 15:24:51 <\marco> ok.. all it's working, now. Seems to be some not-upgraded pkgs Jan 17 15:25:09 because in opkg.conf is arch priority set that om-gta02 is higher Jan 17 15:25:10 brb Jan 17 15:26:31 <\marco> thanks you all for the help :) Jan 17 15:28:17 ^^ that's kind of users i like. They ask specific questions, they provide relevant parts of logs... Why the hell not everybody is like that? :( Jan 17 15:29:46 ok, what is the most annoying phonefsod/phoneuid bug I should take a look at? Jan 17 15:30:41 <\marco> :D Jan 17 15:31:01 <\marco> thank you PaulFertser :) Jan 17 15:33:17 mrmoku: feed nuked.. (but IIRC I did it once already :)) Jan 17 15:33:41 mrmoku: and last fsodeviced without machine specific config is still there.. Jan 17 15:33:53 mrmoku: but should be ignored by opkg (unless you have om-gta01) Jan 17 15:34:59 <\marco> mhm.. when I rotate the screen with xrandr (leaving out the noise problem) and revert it to normal orientation, the display seems shifted up ( but the touching area is the same..) is this a known problem? Jan 17 15:35:14 * DocScrutinizer51 yawns with passion Jan 17 15:42:37 yeeeha. raining on the snow and frozen floor Jan 17 15:42:51 <\marco> if I connect via VNC the screen is displayed correctly.. Jan 17 15:42:51 * DocScrutinizer51 considers to go back to bed Jan 17 15:43:18 JaMa: python-pygame builds fine here (minimal distro) Jan 17 15:43:44 mickey|sports: last time I hecked it was because of smpeg.. did you try to rebuild smpeg too? Jan 17 15:43:51 s/hecked/checked/ Jan 17 15:43:52 JaMa meant: mickey|sports: last time I checked it was because of smpeg.. did you try to rebuild smpeg too? Jan 17 15:43:58 mickey|sports: hey :-) just tested mdbus on maemo. works great Jan 17 15:44:07 \marco: what x driver are you using? Jan 17 15:44:42 <\marco> lindi-: how can I check? Jan 17 15:44:46 JaMa: smpeg built fine as well Jan 17 15:44:52 DocScrutinizer51: cool :) Jan 17 15:44:56 \marco: what distro? Jan 17 15:45:02 <\marco> shr-unstable :) Jan 17 15:45:15 \marco: opkg list | grep glamo is my very wild guess :) Jan 17 15:45:28 <\marco> eheh ok :) Jan 17 15:45:47 <\marco> root@om-gta02 ~ $ opkg list_installed | grep glamo Jan 17 15:45:47 <\marco> xf86-video-glamo - 2:1.0.0+gitr152+9918e082104340da42eb92b6bdefce4d9266a6a4-r3.4 Jan 17 15:47:02 <\marco> lindi-: any idea? :) Jan 17 15:51:23 TAsn: ping Jan 17 15:51:26 mickey|sports: hmm on my host now too.. I'll retry on shr buildhost.. Jan 17 15:51:43 mrmoku, pong Jan 17 15:51:45 TAsn: I want to fix #758 Jan 17 15:51:50 (offline mode) Jan 17 15:51:50 sec Jan 17 15:52:06 ok Jan 17 15:52:07 cool Jan 17 15:52:14 I suggest you just keep a flag Jan 17 15:52:16 and you wanted to discuss that :) Jan 17 15:52:22 I mean Jan 17 15:52:22 t Jan 17 15:52:29 that just check the previous state Jan 17 15:52:35 if it went from suspended to ready Jan 17 15:52:44 (there is a suspended state, right?) Jan 17 15:52:53 the you should not register and turn ant on Jan 17 15:52:56 otherwise, you should Jan 17 15:52:57 think so, yes Jan 17 15:53:00 oh actually Jan 17 15:53:18 remove last line (the oh actually) Jan 17 15:53:23 I mean, that's great for an easy fix Jan 17 15:53:32 but a way to set offline mode from phonefsod is needed Jan 17 15:53:40 as we may want it to be persistent on reboots Jan 17 15:53:49 with/in/whatever :P Jan 17 15:54:20 are we sure it is phonefsod re-enabling GSM on resume? Jan 17 15:55:24 yes Jan 17 15:55:27 (I think) Jan 17 15:55:32 I think there's a debug message Jan 17 15:55:41 anyone insterested in EFL build 45257? 3 aditional patches were needed to make it compile at all :) Jan 17 15:56:07 mrmoku, brb (getting something to eat) Jan 17 15:56:11 mrmoku, though I'm still mostly here Jan 17 15:56:23 ok, will investigate meanwhile... Jan 17 15:56:31 mrmoku, the most important thing Jan 17 15:56:42 is checking there is a "suspended" state Jan 17 15:56:50 and that it's not just me remembering something not really there Jan 17 15:57:20 worst case, just keep a flag that'll let it turn gsm on only once Jan 17 15:57:27 which is an ugly hack, but is quite ok :P Jan 17 15:57:37 won't hurt anyone atm. Jan 17 16:07:18 mickey|sports: can you please check how your smpeg staging looks like? On my buildhost I "fixed" it 17.12. with that additional link libsmpeg-0.4.so -> libsmpeg-0.4.so.0 http://pastebin.ca/1754793, maybe you have the same from some old build? Jan 17 16:10:06 mickey|sports: I can fix it easily in do_stage() but I was trying to use new staging and failed.. Jan 17 16:13:07 lrwxrwxrwx 1 mickey mickey 21 2010-01-17 16:15 libsmpeg-0.4.so -> libsmpeg-0.4.so.0.1.4 Jan 17 16:13:07 lrwxrwxrwx 1 mickey mickey 21 2010-01-17 16:15 libsmpeg-0.4.so.0 -> libsmpeg-0.4.so.0.1.4 Jan 17 16:13:07 -rwxr-xr-x 1 mickey mickey 295242 2010-01-17 16:15 libsmpeg-0.4.so.0.1.4 Jan 17 16:13:07 lrwxrwxrwx 1 mickey mickey 15 2010-01-17 16:15 libsmpeg.so -> libsmpeg-0.4.so Jan 17 16:13:12 freshly built Jan 17 16:19:36 wow interesting.. Jan 17 16:21:36 <[Rui]> hi! Jan 17 16:27:24 mickey|sports: smpeg-1_0.4.5+svnr370-r0 aka smpeg_svn.bb? Jan 17 16:36:55 PaulFertser: hi, can you please review my patch for https://docs.openmoko.org/trac/ticket/2327? Jan 17 16:38:51 just off-topic question, why you want disable preemption? Jan 17 16:39:19 not really so offtopic :) Jan 17 16:40:11 preemption allows kernel preempt itself, its a nice feature for low-latency systems I think Jan 17 16:40:41 yep, it decrease perfomance little bit, but its improve respond times to irq-s Jan 17 16:40:55 ok, this can be viewed from 3 different points. Jan 17 16:41:29 lets say mine in 1st, what about 2 others? Jan 17 16:41:35 no, from 2 :). 1. from theoretical 2. from testing point of view. Jan 17 16:41:47 first, i have to say that point 2 in not really done Jan 17 16:42:45 I thought spin-lock problems was widely discuccessed Jan 17 16:43:04 wait a bit, i'll decribe in depth :) Jan 17 16:43:09 ok) Jan 17 16:47:04 oh, i rechecked, in fact we have bare numbers of NOPREEMPT+NOPREEMTDEBUG vs PREEMPT+NOPREEMPTDEBUG Jan 17 16:47:16 say we have (2), see http://www.bsdmn.com/openmoko/debugoptstesting/report.txt Jan 17 16:47:32 nopreempt vs DEBUG_PREEMPT lines. Jan 17 16:48:09 so, testing really shown improvement Jan 17 16:49:31 few % Jan 17 16:49:45 now from theoretical. Jan 17 16:49:45 with which tool you did it? lmnmench? I would like test it myself) Jan 17 16:49:59 sure :) Jan 17 16:50:07 i used lmbench 2.5 Jan 17 16:50:52 http://sourceforge.net/projects/lmbench/files/lmbench/2.5/lmbench-2.5.tgz/download Jan 17 16:51:02 3.0 didn't work for me. Jan 17 16:51:19 lmbench build system is quite non-standard Jan 17 16:51:54 i think you'll have hard time to build it with cross-compilation Jan 17 16:52:07 even debian do not include it for arm for some reason Jan 17 16:52:29 you're aware everything <10% is considered mere noise and thus irrelevant? Jan 17 16:53:39 max_posedon: please, tell me if you find any mistakes. in fact, i published kernels and configs, so you can check which options each kernel have. Jan 17 16:54:22 DocScrutinizer: i wrote long essay about noise and revelance for Werner, openmoko-kernel. Jan 17 16:54:42 mrmoku, add lmbench-2.5 to feeds plz Jan 17 16:54:49 OE have it, and it builds fine Jan 17 16:55:09 ( http://tinderbox.openembedded.net/packages/lmbench/ ) Jan 17 16:55:27 DocScrutinizer: quick conclusion - 1. 10%+10%=20%, 2. 10% is huge 3. noise measured in other way Jan 17 16:55:39 max_posedon: nice Jan 17 16:56:16 max_posedon: now, thoretical aspect Jan 17 16:56:58 10% + 10% is 0% as well. 10% is 100% unnoticeable to user. Noise measurement is a very fine art Jan 17 16:58:18 max_posedon: first, what is low latency? this means time to react on user action. you may consider that how (for example in SHR) we have latency measured in seconds. Jan 17 16:58:33 s/how/now/ Jan 17 16:58:33 gena2x meant: max_posedon: first, what is low latency? this means time to react on user action. you may consider that now (for example in SHR) we have latency measured in seconds. Jan 17 16:58:43 I just want be possible answer calls and speak via bluetooth, when I copy smth via wifi to mSD Jan 17 16:59:07 max_posedon, why not? Jan 17 16:59:08 its not about latency of UI, its about latency of irq interrupts Jan 17 16:59:45 with non-preemptable kernel, irq from gsm, can't be handled until mSD driver write smth right now Jan 17 16:59:51 irq interrupts handling is not related to PREEMT. Jan 17 16:59:55 for GPRS coomunication mainsys<->modem a small latency may actually make a huge difference for thruput Jan 17 17:00:36 gena2x, it is! Preemption means, that more priority interrupt can stop(preemtp) other interrupt Jan 17 17:01:15 and do his really important job, and then return to interrupt which was suspended Jan 17 17:01:25 max_posedon i may be wrong, but preemption in case of kernel is ability to interrupt _system call_ Jan 17 17:02:11 http://en.wikipedia.org/wiki/Kernel_preemption Jan 17 17:02:28 max_posedon: this just adds _more_ places to do sheduling. Jan 17 17:02:31 well it's really a bad idea to kick this without really good idea about the impacts to e.g. HDQ readout, or vibrator PWM, or modem GPRS IRQ handling... :-( Jan 17 17:03:01 yep, it will descrise performance Jan 17 17:03:19 but it also allows "priorities to irqs" Jan 17 17:03:19 max_posedon: where is interrupt handling on wiki? Jan 17 17:03:46 max_posedon, no i think this is complete different topic Jan 17 17:04:14 I think rt.wiki.kernel.org is good resource Jan 17 17:04:32 max_posedon: i see exactly what I said on link you provided. Jan 17 17:04:56 I freankly speaking don't know a lot, just played a bit with real time linux kernel Jan 17 17:05:18 max_posedon: real time kernel is another different beast i think. Jan 17 17:05:44 but this features (preemption/tickless system/etc) comes from there Jan 17 17:06:10 also, on that link system call is just example, anyway, main different Jan 17 17:06:31 max_posedon: i think tickless system is other beast. main reason for tickless is power consumptions, but a bit of performance also :) Jan 17 17:06:58 preemptable kernel allows kernel suspend less important not finished handlers to do more important, agree? Jan 17 17:07:14 max_posedon: lets speak strictly on our topic or we'll go to far far travel. Jan 17 17:07:43 I still think that its all about same, about topic of what preempt means) Jan 17 17:07:56 I *completely* fail to see the rationale in messing around with kernel elementary setups to squeeze out maybe 3% *in some cases* and very likely introduce a shitload of new bugs/races/deadlocks whatever. While in userland there is a python based system eating up megatons of memory and heating cpu spinning busy idle. That's totally nuts Jan 17 17:07:58 let finish with interrupts Jan 17 17:08:25 first. Jan 17 17:08:40 do you agree that interrupt are not related to preemption? Jan 17 17:09:46 sorry, I'm not, may be I'm stupid, but still not) Jan 17 17:10:36 so, lets continue on this, topic. wait a bit, i got phoe call Jan 17 17:12:37 DocScrutinizer: not everyone has such a python based system :) Jan 17 17:14:44 DocScrutinizer, you don't know does we still have this issue, but I remember time, when I can listen music on neo, when I typed on illume-keyboard Jan 17 17:14:53 every press music stops for a moment Jan 17 17:14:55 gena2x: lmbench is non-free according to debian Jan 17 17:15:10 every key-press - stopped.. Jan 17 17:15:22 imo preemtion should not be disabled Jan 17 17:15:26 ok, i've back Jan 17 17:15:29 I defenetly want avoid this and similar problems. Jan 17 17:16:05 lars_: have fun. you're facing the *real* experts Jan 17 17:16:47 lindi-: hm... i thought lmbech is in i386 but not for arm somehow, but ok. Jan 17 17:17:03 DocScrutinizer: thank you for constuctive comments Jan 17 17:17:04 I'm stupid monkey, I know), I just still doesn't understand disabling preemption, you can ignore me all, and I'll just try understand all myself) Jan 17 17:17:09 gena2x: $ show-package-versions lmbench | nc paste.dyndns.org 1234 Jan 17 17:17:10 http://paste.debian.net/56942/ Jan 17 17:18:09 (closed wrong window) Jan 17 17:18:30 max_posedon: wait, we are far from finishing. i'm far from ideal too, i know many non-ideal persons also :) Jan 17 17:20:47 lars_: i think that we can disable it and then reenable if we'll get latency problems. Jan 17 17:21:06 gena2x: is lmbench multithreaded? Jan 17 17:21:22 gena2x: lmbench seems to be clearly non-free unfortunately :( Jan 17 17:21:31 lars_: 3.0 is. Jan 17 17:21:59 gena2x: and who's here to decide it's actually latency problems when reports like "batget shows empty bat every 5 minutes" start to pile up?? Jan 17 17:22:27 lindi-: yes, but notice for which arches it was compiled for some reason - only i386 ia64 sparc. Jan 17 17:22:57 gena2x: yep Jan 17 17:22:59 lars_: no, wait, don't really know, may be it is multiprocessor Jan 17 17:23:21 s/multiprocessor/multiprocess/ Jan 17 17:23:22 gena2x meant: lars_: no, wait, don't really know, may be it is multiprocess Jan 17 17:23:47 gena2x: if you only have one process running you will ofcourse see some improvement with preemtion disabled Jan 17 17:24:15 lars_: important question is how much. Jan 17 17:24:28 lars_: will it be measurable. Jan 17 17:24:43 lars_: tests show that it is. Jan 17 17:24:50 but for any real world usecase i doubt that it has any noticable impacts. Jan 17 17:24:59 i can prove it, though Jan 17 17:25:05 s/can/can't Jan 17 17:25:30 lars_: this tests in fact show impact all apllications Jan 17 17:26:16 lars_: NO_DEBUG+NO_PREEMPT at least has noticeable impact on emacs and aptitude :) Jan 17 17:26:21 lars_: context switching time for example, pipe bandwidth, unix domain socket transfer speed - really not single-task tests Jan 17 17:26:47 lindi-: and NO_DEBUG+PREEMT has not? Jan 17 17:26:48 lars_: and this influences whole system Jan 17 17:26:53 lars_: i have not tested Jan 17 17:27:50 lars_: and main problem with the pov 'it's so few % - 5%' is that 5%+%5 in this case is not just 10%, but might be %12 Jan 17 17:28:14 lars_: and in sum, we can get huge benefit Jan 17 17:29:36 lars_: i know, that premmpt is need and recommended for audio recoding distributions, for gaming Jan 17 17:30:40 but we are very far from such kind of load in our freerunner Jan 17 17:30:40 so wtf are you suggesting to disable it for a multimedia targeted device? Jan 17 17:33:28 in fact, as I said before, i did measure of PREEMPT+DEBUG vs NOPRREMT+DEBUG Jan 17 17:34:18 oh, here is trick: it should be PREEMPT+NODEBUG vs NOPREEMPT+NODEBUG Jan 17 17:34:55 that's why i am speaking only about 'debug' in that huge thread (notice /debug in the end of header) Jan 17 17:35:13 Hi ,I have downloaded the latest 15 Jan SHR-U image ..but 2 main problems ..1) I am unable to ssh into into even sshd is running 2)No sound ..neither in call not even ringtone Jan 17 17:35:21 can anybody help me with this Jan 17 17:35:33 UberNeo, I think you load wrong kernel Jan 17 17:35:49 did you forgot flash kernel? Jan 17 17:36:35 so, lets back to theory - testing is not really valid Jan 17 17:37:06 i think that preemption only adds more sheduling points to our poor device. Jan 17 17:37:31 and this is bad, as sheduling in such points impact performance Jan 17 17:37:43 i have flashed the latest kernel http://build.shr-project.org/shr-testing/images/om-gta02/uImage-om-gta02-latest.bin Jan 17 17:38:21 in other side, i see no benefit in having preemption enabled Jan 17 17:38:59 gena2x: scheduling impacts performance every time. So I suggest you discard the scheduler all together. Wll yield the highest performance possible. At least for your test case Jan 17 17:39:03 as we have no problems it designed to fix on desktops where all that sheduling stuff is almost free Jan 17 17:39:17 I think neo require this sheduling points, if you doing smth multitasking Jan 17 17:39:31 DocScrutinizer: yes, that's why people invented tickless kernels ;) Jan 17 17:39:49 just use case: copy film via wifi to uSD, and you have incomming call Jan 17 17:39:54 max_posedon, does the above kernel is fine or shall i flash http://build.shr-project.org/shr-testing/images/om-gta02/uImage-2.6.29-oe11+gitr119861+a15608f241a40b41fed5bffe511355c2067c4e88-r6.1-om-gta02.bin Jan 17 17:40:00 aha. Jan 17 17:40:16 I afraid of that you won't be able answer and speak Jan 17 17:40:26 max_posedon: do you really have some problems in this case Jan 17 17:40:47 I still have preempt kernel Jan 17 17:40:49 gena2x: i just read the backlog and max_posedon is right. irq handlers can be preempted Jan 17 17:41:08 lars_: I'll check code now. Jan 17 17:41:17 gena2x: sure Jan 17 17:41:27 port freedos to freerunner Jan 17 17:41:30 fdos32 Jan 17 17:41:54 max_posedon, any workable kernel ..which is stable Jan 17 17:42:12 but, if preempt will be disabled, mmc driver may not give anough resources to more important gsm/serial and sound interrupts Jan 17 17:42:33 UberNeo, sorry, I didn't flashed that images and kernel. I can't be defently sure, but usually all works Jan 17 17:42:54 try reflash, and download specific kernel, not strange symlink named "latest" Jan 17 17:43:11 UberNeo, you can ran vala-terminal and see, does any module loaded Jan 17 17:43:17 max_posedon: have you checking this somehow - by testing or kernel code review or this is how you think things should work? Jan 17 17:43:34 JaMa: yes, smpeg-1_0.4.5+svnr370-r0 Jan 17 17:43:40 s/checking/checked/ Jan 17 17:43:42 gena2x meant: max_posedon: have you checked this somehow - by testing or kernel code review or this is how you think things should work? Jan 17 17:43:52 you mean that use case, or "preeption" teory? Jan 17 17:43:56 mickey|sports: and those files you have in staging not package, right? Jan 17 17:44:09 max_posedon: yes, i mean mmc problem. Jan 17 17:44:09 max_posedon: i've moved the mmc drivers request handler into it's own thread earlier today. so now you can even renice it Jan 17 17:44:16 this whole debate resembles me to a guy that found that tiny jumper on his cars motormanagement electronics written "leaded super high octane" and "leadfree low octane". He found that "high octane" gave him 5km/h more speed, and he didn'T care for any other implications until he found out the hard way Jan 17 17:44:38 mickey|sports: I've added that link I have on my host.. to make python-pygame built ok.. but it still should be fixed better Jan 17 17:45:10 DocScrutinizer: all other implications are taken in consideration. Jan 17 17:45:23 lars_, own thread inside kernel? Jan 17 17:45:26 they are not. evidentally Jan 17 17:45:28 JaMa: yes, in staging Jan 17 17:45:29 max_posedon: yes Jan 17 17:46:52 its some completly new topic for me) Jan 17 17:47:58 but I have to go away now, thanks for discussion Jan 17 17:48:15 max_posedon: thank you too Jan 17 17:48:29 max_posedon: in fact, i always wanted to discuss this question Jan 17 17:48:42 gena2x: all your assumptions about preemptive are handwaving obviously, while just lars_ said max_posedon was right. You didn't even bother to think thoroughly about lars_'s question if the results represent a single process test case or a multiprocess testcase where scheduling actually gives advantages as well, not only penalty as with single process Jan 17 17:50:15 DocScrutinizer: read log, i even answered that some of testcases in suite i run are multiprocess. also to cut your next question, i said that this testing is not valid. Jan 17 17:54:34 so where *are* the results in *performance* of those multiprocess tests? Jan 17 17:55:47 DocScrutinizer: as i told, results or last testing session are not valid to judge about PREEMPT Jan 17 17:55:58 s/or/of Jan 17 17:56:05 where are the results prooving there's no mega latency during large system IO for other tasks Jan 17 17:56:38 this topic is open for investigation Jan 17 17:57:05 max_posedon told that he think this is issue, but no data too :( Jan 17 17:57:43 no it's actually not, as a lot of users got lured into building their own kernel according to your unproven assumptions suggesting this was a safe and megaperfoermant thing Jan 17 17:58:03 DocScrutinizer: aren't there differnet levels of preempt? user/kernel or more finegrained Jan 17 17:58:34 yeah. are there? Jan 17 17:58:48 or is this a neglectible question? Jan 17 17:59:24 hmm Jan 17 17:59:33 as we see taskswitching time goes down from 70 to 15 micro(!) seconds. isn't that worth any venture? Jan 17 17:59:49 I mean what's the issue, why does it affect sd etc. Jan 17 18:00:56 cause copying data from or two the sd card can take serveral seconds Jan 17 18:01:24 lars_: and only preempt can interrupt such copy? Jan 17 18:01:25 and if you can't interrupt that syscall, you're prety much doomed Jan 17 18:01:55 gena2x: no, but it probably will Jan 17 18:01:59 gena2x: YOU tell us!!! Jan 17 18:02:15 lars_: in fact i have nopreemt kernel and sd. good time to check? Jan 17 18:02:23 is the sd block/transfer length an issue? Jan 17 18:03:11 DocScrutinizer: calm down... Jan 17 18:03:29 better eve: I'm gone Jan 17 18:03:45 gena2x: to check what? Jan 17 18:03:54 lars_: according to problem description, if i'll do dd if=/dev/mmcblk0p2 of=/dev/null bs=1M count=many we should get some problem Jan 17 18:04:18 lars_: what kind of problem we expecting? Jan 17 18:04:33 gena2x: increased latency for other processes Jan 17 18:04:36 lars_: mb check sound for jerks? Jan 17 18:05:27 gena2x: sound uses the dma controller, so if the buffer is large enough there shouldn't be to much trouble Jan 17 18:05:48 lars_: hm... so any idea how to see problem? Jan 17 18:06:08 run an interactive application Jan 17 18:06:54 lars_: this will not be measurible. Jan 17 18:07:17 we can only say this is 'acceptable' or 'not' Jan 17 18:07:34 and compare to preempt kernel Jan 17 18:07:36 latencytop? Jan 17 18:10:15 gena2x: you could try a dd if=/dev/urandom of=/dev/fb0 Jan 17 18:11:10 tmzt: hm. really latency may decrease without preempt, but this is not problem until user can really notice that... Jan 17 18:12:04 tmzt: i mean increase of course :) or 'get worse' :) Jan 17 18:12:40 lars_: i don't understand that we'll get in this case? Jan 17 18:13:34 lars_: i mean can you please provide details :) Jan 17 18:14:29 gena2x: if you don't have a mmc transfer running in paralel the screen should be constantly filling up with noise. Jan 17 18:14:47 gena2x: otherwise you should be able to see some stop and go Jan 17 18:15:00 lars_: ok, lets try... Jan 17 18:15:02 at least in therory Jan 17 18:15:35 lars_: at least this test is fast Jan 17 18:16:25 * lars_ is building a kernel without preemption Jan 17 18:17:30 for ((;;)); do dd if=/dev/urandom of=/dev/fb0 bs=512 count=1000 is good to constantly feel almost whole screen... Jan 17 18:22:44 lars_:nothing Jan 17 18:23:04 gena2x: it just draws point slower Jan 17 18:23:33 were 1 second/run now 3.6 second per run Jan 17 18:24:10 but no visible delays or jerks at all. Jan 17 18:24:47 dd if=/dev/mmcblk0p5 of=/dev/null bs=1M count=1M Jan 17 18:24:59 in parallel, with 2.6 Mb/s Jan 17 18:26:08 debian-gta02:~# zcat /proc/config.gz |grep PREEM Jan 17 18:26:08 # CONFIG_PREEMPT_RCU is not set Jan 17 18:26:08 # CONFIG_PREEMPT_RCU_TRACE is not set Jan 17 18:26:08 # CONFIG_PREEMPT is not set Jan 17 18:26:53 hm ok Jan 17 18:27:15 may be something instead of urandom? Jan 17 18:28:31 have and idea :) Jan 17 18:30:34 (while true; do echo 'A'; done) > /dev/fb0 Jan 17 18:32:23 data should be different or you will no notice change. for ((fa=0;fa<100;fa++)); do dd if=/tmp/t2/t.dd of=/dev/fb0 bs=512 count=1000 skip=$fa ; done Jan 17 18:33:12 while /tmp/t2/t.dd is on tmpfs Jan 17 18:33:15 gena2x: iki.fi/lindi/fastrandom.c :-) Jan 17 18:34:25 I'm temporary back, I think good test is smth which use heavy *different* interrupts Jan 17 18:34:48 gena2x, could you say for example copy smth via wifi to uSD, and listem music from nand? Jan 17 18:35:40 freesmartphone.org: 03morphis 07msmcomm * r88e72d70f170 10/libmsmcomm/ (6 files in 2 dirs): libmsmcomm: some initial stuff Jan 17 18:35:41 freesmartphone.org: 03morphis 07msmcomm * r05709d21483c 10/msmcommd/.gitignore: msmcommd: add msmc_forward to gitignore Jan 17 18:36:01 gena2x: i like the approach of your wifi patch. Since Werner had more experience working with that crap-driver probably it's good to hear his opinion too. wpwrak: https://docs.openmoko.org/trac/ticket/2327 :) Jan 17 18:36:30 max_posedon: nice idea, next thing to check. bad thing is that nand is temporary out of service due to half-done attempts to understand ECC, but this is next thing to check :) Jan 17 18:40:13 as I said, I remember time when I wasn't able listen music and type on illume keyboard Jan 17 18:40:23 I defenetly don't want that time back) Jan 17 18:40:49 and I still was nice sound via bluetooth Jan 17 18:41:40 max_posedon: nobody wants this back, so if nopreemt will cause this, without any doubt preemt should be on. Jan 17 18:46:01 preemt is exactly about such issues Jan 17 18:46:34 and listening to music is not the only one situation we have to take care about, on FR Jan 17 18:46:58 there's also readout of HDQ, service of WiFi, BT, GPRS Jan 17 18:46:59 mrmoku, today because of the annoying call closes idle screen Jan 17 18:47:02 bug Jan 17 18:47:09 I drained all of my battery palying music Jan 17 18:47:15 while the moko is in my pocket :P Jan 17 18:47:33 TAsn: lol Jan 17 18:47:41 DocScrutinizer, it's funny actually Jan 17 18:47:43 for some reason Jan 17 18:47:55 every time I stopped (on a stop light) Jan 17 18:48:00 I heard pink floyd playing Jan 17 18:48:04 and I couldn't understand why Jan 17 18:48:16 lolololol Jan 17 18:48:19 then I arrived home and figured it out :P Jan 17 18:48:21 rotfl Jan 17 18:48:35 I though I'm surrounded by pink floyd fans Jan 17 18:49:12 thought* Jan 17 18:49:20 I was* Jan 17 18:49:24 * TAsn should die already. Jan 17 18:49:27 :P Jan 17 18:50:36 * DocScrutinizer starts feeling hungry Jan 17 19:01:46 TAsn: you surf too much ;) Jan 17 19:02:13 I surfed so much over the weekend :P Jan 17 19:02:16 I'm "broken" Jan 17 19:02:26 can't move/get myself to do anything. Jan 17 19:02:50 and unfortunately (really?) there's a storm coming, bringing huge waves with it :P Jan 17 19:10:29 lars_: so, i see that with dd_from_tmpfs skip=increasing of=file_on_tmpfs of=/dev/fb0, while speed is stable, fast and no delays (all in parallel with bs=1M, count=1M load from SD card). only strange thing is tests itself have some visible delays in between, but it's not nessesary that this is connected to preempt as delay occur once per 10 runs in average. Jan 17 19:11:27 lars_: while sd readout is continious. Jan 17 19:24:42 lars_: also i've found this article (from 2004), where famous kernel people are against PREEMPT: http://kerneltrap.org/node/2702 Jan 17 19:33:56 gena2x, it was 6 years ago, its just doesn't metter Jan 17 19:34:49 hm Jan 17 19:34:51 Collected errors: Jan 17 19:34:51 * Failed to download http://build.shr-project.org/shr-unstable/ipk//armv4/Packages.gz. Jan 17 19:34:51 error detail: HTTP response code said error Jan 17 19:35:15 and this lasts for half an hour already Jan 17 19:35:22 max_posedon: do you have more recent links or descriptions? Jan 17 19:35:36 Q-Master_: because armv4 is empty.. Jan 17 19:35:43 Q-Master_: heh, armv4 error came back by syncing the feed with --delete :) Jan 17 19:35:57 mrmoku: only old busybox was there.. Jan 17 19:36:04 mrmoku: the rest is in armv4t Jan 17 19:36:27 JaMa: I added armv4 manually to avoid that stupid opkg error Jan 17 19:36:46 ahh then you shoud add it to tmp/deploy/ipk :) Jan 17 19:37:02 yeah, but that get's nuked now and then Jan 17 19:37:14 maybe add an exception to the rsync? Jan 17 19:37:37 I run --delete by hand.. not in .mrmoku now.. Jan 17 19:37:43 seems enough famous kernel people were thinking the way preempt is implemented now is the right thing to do. Otherwise it most sure wouldn't have made it into the kernel at all Jan 17 19:38:22 so maybe put it in tmp/deploy/ipk would be enough.. but as you wish.. Jan 17 19:38:25 Q-Master_: in any way... that error is just to ignore Jan 17 19:38:54 JaMa: well I'm fine with tmp/deploy/ipk too... as long as we remember to readd it after wiping tmp :) Jan 17 19:39:50 mrmoku: btw all kms kernels are upgrading now.. and hackable seems to have image build in cron.. Jan 17 19:40:07 heh ouch Jan 17 19:40:08 mrmoku: that's why buildhost is now so freaking slow.. Jan 17 19:41:17 mrmoku: ok Jan 17 19:53:23 DocScrutinizer51: it is still an option, also it is marked as experimental in our kernel, sure you can say 'this is for servers!' but it's not really so straightforward. Jan 17 19:58:25 hey all Jan 17 20:00:20 gena2x, I haven't, but its enouth info for me, from kernel sources Jan 17 20:01:28 anyone available to help me? I'm having trouble building shr-u Jan 17 20:03:20 badcloud: which kind of trouble? Jan 17 20:04:28 make image returns make: *** No rule to make target `image'. Stop. Jan 17 20:09:40 badcloud: probably you're in the wrong directory Jan 17 20:09:47 cd shr-unstable and try again Jan 17 20:12:53 mrmoku: could you give me an example dir hierarchy? Jan 17 20:15:37 shrbuild/shr-unstable Jan 17 20:15:43 mkdir shrbuild Jan 17 20:15:44 cd shrbuild Jan 17 20:15:48 wget Makefile Jan 17 20:15:53 make setup Jan 17 20:15:57 cd shr-unstable Jan 17 20:15:58 make image Jan 17 20:24:25 PaulFertser: i don't like this patch too. but as i've heard it is a bit crap i thought that it will not suffer from adding tiny bit of more crap. Jan 17 20:26:00 PaulFertser: ok, lets wait for wpwrak comment... Jan 17 20:32:59 mrmoku: devilhorns on #e says that illume2 should be as usable as illume is :) Jan 17 20:33:09 mrmoku: maybe we should try later Jan 17 20:33:29 gena2x: the driver is real crap, so your reasoning is very sane :) Jan 17 20:35:14 and shr-settings (python-elementary) segfaults in latest EFL rev :/ Jan 17 20:35:20 JaMa: ohhh, that is interesting news :D Jan 17 20:36:05 21:32:04 <@devilhorns> tho doesn't have the gdm, bluetooth, or usb modules yet Jan 17 20:36:51 don't think we need one of those... Jan 17 20:37:15 * JaMa agree Jan 17 20:39:39 oooh, more bits of bleeding edge, untested technology. quick lets take it axs our technological foundation ;-P Jan 17 20:40:31 well just illume switch doesn't change much, does it? Jan 17 20:40:59 all libs etc will stay the same.. just homescreen and topbar will be maybe more usable Jan 17 20:41:02 spaetz: that's what we have unstable for, no ? ;) Jan 17 20:41:13 spaetz: and... illume2 cannot be worse :P Jan 17 20:41:18 hehe Jan 17 20:41:20 and keyboards :) Jan 17 20:41:24 true Jan 17 20:42:19 changing the hommescreen to ´launcher´would be nice Jan 17 20:42:56 top bar is ok for me, but a bit better window manager would be nice Jan 17 20:44:51 * JaMa building rev 45268 :) Jan 17 20:45:01 first today without additional patches needed :) Jan 17 20:48:38 <[Rui]> hi Jan 17 20:48:46 <[Rui]> mrmoku: got "back" Jan 17 20:48:54 <[Rui]> very little time lately. Jan 17 20:49:10 [Rui]: me or you? :P Jan 17 20:49:20 <[Rui]> mrmoku: you know why shr-u OE is not building thaks to module-init-tools? Jan 17 20:49:23 <[Rui]> mrmoku: me! :) Jan 17 20:49:44 [Rui]: just asking...because me too :) Jan 17 20:49:51 <[Rui]> mrmoku: hehehe Jan 17 20:50:00 [Rui]: module-init-tools builds if you clean and rebuild it I think Jan 17 20:50:51 <[Rui]> between the holiday's, learning I'll be a dad in August and lot's of work held back by the december "freeze" I always got home late and tired Jan 17 20:50:58 <[Rui]> mrmoku: hms... fresh tree Jan 17 20:51:23 <[Rui]> mrmoku: I also moved to fedora 12 so as I had some weird errors I just started from scratch Jan 17 20:52:07 [Rui], congratulations!) Jan 17 20:52:14 <[Rui]> thanks :) Jan 17 20:55:17 [Rui]: you'll be or have been? Jan 17 20:55:31 ahh you'll be Jan 17 20:55:33 :) Jan 17 20:55:38 welcome to the club :D Jan 17 20:55:57 <[Rui]> mrmoku: yeah... Jan 17 20:56:08 <[Rui]> who's going to fosdem besides me? :) Jan 17 20:58:51 <[Rui]> so let's see if a clean and build actually do help Jan 17 20:59:53 can someone run 'opkg search /usr/lib/cornucopia/modules/fsodevice/player_gstreamer.so' for me? Jan 17 21:01:32 seems like freerunners are good for your reproduction... Jan 17 21:01:48 root@om-gta02 ~/.e/e/config/illume-shr $ opkg search /usr/lib/cornucopia/modules/fsodevice/player_gstreamer.so Jan 17 21:01:51 root@om-gta02 ~/.e/e/config/illume-shr $ Jan 17 21:01:51 JaMa: nothing Jan 17 21:02:03 spaetz: hehe, nice theory :) Jan 17 21:03:11 mrmoku: ok :/ Jan 17 21:03:18 <[Rui]> if I have GLIBC_GENERATE_LOCALES = "en_US.UTF-8" why would eglibc generate ipks for every language above the earth? Jan 17 21:03:22 JaMa: should I have updated before? Jan 17 21:03:32 mrmoku: some different issue with fsodeviced in 2.6.32.3 :/ Jan 17 21:04:25 <[Rui]> hms, seems to have worked, somebody must've fixed it in between. Jan 17 21:08:34 [Rui]: no, for me always the first fresh build of it fails Jan 17 21:08:44 [Rui]: cleaning and rebuilding works afterwards Jan 17 21:09:06 <[Rui]> weird Jan 17 21:14:49 mrmoku: was e-wm-config-illume somehow generated? This looks like lot of text to write by hand :) http://git.shr-project.org/git/?p=shr-themes.git;a=blob;f=e-wm/e-wm-config-illume-shr/e.src;h=bde309d41cb7118bcf8ffab3ef003b7760502bca;hb=HEAD Jan 17 21:16:23 JaMa: it is a modified copy of the original e.src for the illume theme Jan 17 21:16:33 JaMa: but you can modify the installed one too Jan 17 21:16:41 JaMa: extract it with eet Jan 17 21:16:51 modify it and recode it again with eet Jan 17 21:16:58 ah ok Jan 17 21:19:03 JaMa: I tried it with the EFL rev I have on my phone... but illume2 just gives me a white screen Jan 17 21:20:09 gena2x: what's the question ? Jan 17 21:20:58 wpwrak: hi :) i wrote quite simple patch for recent problem with wifi. want some review. Jan 17 21:21:18 wpwrak: https://docs.openmoko.org/trac/ticket/2327 Jan 17 21:22:09 wpwrak, PaulFertser: if it is ok, wish to put it to andy-tracking Jan 17 21:23:50 aah, the "unnnecessary" delay i removed. Jan 17 21:23:58 :) Jan 17 21:25:14 from comment, I understand that this were not really you. btw, it were really nice to have this comment Jan 17 21:26:04 looks reasonable. how about using msleep ? Jan 17 21:28:10 mrmoku: maybe you have something about undefined symbol (if you run enlightenment_start.oe from terminal)? Jan 17 21:28:38 hmm, i remember having that thread with a big question mark. not sure if i actually removed it, but it would be the kind of cleanup i do. the interaction with preempt is interesting. didn't think of that. Jan 17 21:28:58 mrmoku: I had with all later revisions than shr-u have now till this last one 45268 or my small patch http://jama.homelinux.org/org.openembedded.shr.images/illume.eina_init.patch Jan 17 21:29:11 yet another "rule of thumb" you invalidated: "with preempt, you find more problems than without" Jan 17 21:29:36 wpwrak: will you finally publish a photo of your kitchen desk (wouldn't mind if threr's a certain proto device on that desk) Jan 17 21:30:07 (that may come from preempt disabled being the default. so everything got tested that way. then switching preempt on, all hell broke loose ...) Jan 17 21:30:51 JaMa: no... now I took the config from svn and I have illume2 :) Jan 17 21:31:14 DocScrutinizer: hehe, i guess i should. won't look too exciting, though. i hope to have the kitchen table finished in about 3 weeks. Jan 17 21:31:49 (preempt) hey, please elaborate on that :-) Here's a notion with some people like fiddling with such settings is a nobrainer Jan 17 21:31:59 DocScrutinizer: the "service" bathroom should be be done this week. the week after, they'll start on the main bathroom. Jan 17 21:32:38 mrmoku: I had to build eet first :) Jan 17 21:32:38 wpwrak: i think gena2x switched preempt _off_. Jan 17 21:32:43 DocScrutinizer: weeelll... it changes the rule of where you can get preempted on UP. it basically makes UP experience all the race conditions that also exist on SMP. Jan 17 21:33:17 DocScrutinizer: however, if you actually _rely_ on getting preempted, then turning preempt off on UP may yield other interesting problems Jan 17 21:33:44 yep! Jan 17 21:33:46 DocScrutinizer: plus, there's the usual unpredictable effect on race conditions. change the timing, all of a sudden something else wins the race. Jan 17 21:34:04 yep! Jan 17 21:34:32 and how would we *verify* we don't run into such trouble? Jan 17 21:34:34 PaulFertser: it can work either way. the usual default is preempt off. so turning on was the troublemaker. in our case, preempt is usually on. so turning it off yields the surprises. Jan 17 21:34:45 DocScrutinizer: only write perfect code :) Jan 17 21:35:01 wpwrak: yeah :) Jan 17 21:35:29 and don't change such basic things like NOPREEMPT for a gain of 40us on taskswitching Jan 17 21:35:52 DocScrutinizer: in fact, that's one of the reasons i liked having all sorts of debugging on, particularly around spinlocks. lots of people get spinlocks wrong, and with debugging, the kernel will complain to them. so you don't need lots of reviewing to find those mistakes. Jan 17 21:36:07 DocScrutinizer: naw, the kernel should be agnostic to it Jan 17 21:36:52 DocScrutinizer: not having preempt may significantly increase some worst-case delays, though. so i'm not sure if it's really such a good idea. Jan 17 21:37:12 DocScrutinizer: but i agree that, whatever the choice is, things shouldn't fall apart Jan 17 21:37:45 DocScrutinizer: i.e., correctness trumps performance Jan 17 21:38:09 if your code is broken, it's broken - no matter how fast it runs :) Jan 17 21:38:24 wpwrak: exactly. NOPREEMT may significantly increase some worst case delays. Jan 17 21:38:39 or may not... Jan 17 21:39:01 so we won't do it for a small bargain of a slightly shorter task switching time or 3% overall performance boost Jan 17 21:39:05 i think, this needs more testing and understanding, and i am willing to do that. Jan 17 21:39:42 i am also try to speak about HZ :) Jan 17 21:39:49 s/am/'ll/ Jan 17 21:39:50 gena2x meant: i 'll also try to speak about HZ :) Jan 17 21:40:08 as this is close topics. Jan 17 21:41:00 but first - i wish to do some floating point math tests. Jan 17 21:41:04 :) Jan 17 21:41:11 sorry if too many topics. Jan 17 21:41:14 gena2x: just everybody except you isn't particularly happy with the idea to switch preemt -> nopreempt. I really don't see where you're heading at Jan 17 21:42:28 gena2x: a fair test would be to deploy kernels with reduced debugging but with preempt still on. then wait a month or two, then turn preempt off and see what people report. Jan 17 21:42:52 wpwrak: i think exactly so Jan 17 21:43:03 gena2x: perfect :) Jan 17 21:43:20 gena2x: even while you do fancy effort to evaluate if it's safe to switch to nopreempt with *current* kernel, there may be new patches or driver work that relies on preemption. You just never will reach the finish of that race Jan 17 21:43:34 DocScrutinizer: it can't hurt to find out what preempt really gives us. if it's useless, better to get rid of it. if we need it, perhaps we can get some clues why. Jan 17 21:44:01 DocScrutinizer: _relying_ on preempt for correctness is always wrong. Jan 17 21:44:03 wprak: i think if will get some reports and be able to addres them to preempt, we'll just turn it on and forget about it. But anyway, topic is interesting and i want to do some testing and undertand issue in details Jan 17 21:44:54 DocScrutinizer: sure, anything should basically work without relation to preempt. Jan 17 21:45:02 gena2x: it may take some experimenting to find those worst-case delays. that's why i think you need a large user base to try it. of course, before this, better make sure nothing actually breaks :) Jan 17 21:45:27 the " and be able to addres them to preempt" is what gives me worry though Jan 17 21:45:29 DocScrutinizer: (as is relying on not having preempt, of course) Jan 17 21:46:00 wpwrak: several people running nopreempt kernel right now, like me, lindi-, and other who downloaded mine of lindi's kernel Jan 17 21:46:55 gena2x: fine. So there should be *any* evidence this gets us anything more than just FUD Jan 17 21:47:16 wpwrak: as this is in pack with debug off, i guess anything which worked before changes works now only better, latency is much less, so noone notice any problems with preempt Jan 17 21:47:33 mrmoku: do you also have 2 desktops in illume2? :) Jan 17 21:48:06 ahh split feature :) Jan 17 21:48:23 how the fuck can latency be *less* with nopreempt??? Jan 17 21:48:48 DocScrutinizer: latency is much less because of nodebug in first place Jan 17 21:49:09 so don't attribute it to nopreempt then! Jan 17 21:49:27 as nopreempt *increases* latency, if any Jan 17 21:50:00 DocScrutinizer: as written by link i provide, nopreempt decreases *average* latency Jan 17 21:50:09 bah Jan 17 21:50:21 mrmoku: looks quite good to me.. only annoying is that bottom line with app switch and close is replaced with keyboard if keyb is shown Jan 17 21:50:25 s/nopreemt/preempt/ Jan 17 21:50:37 of course Jan 17 21:51:27 i mean if you turn preempt on, your average latency decreased, but worst cases remain. Jan 17 21:51:50 sorry, now you left me completely puzzled. how much back should this negation apply? Jan 17 21:53:01 but really, i will to investigate this more. be sure i'll publish something about this then i'll see problem from other pov s. Jan 17 21:53:16 DocScrutinizer: do you mean where is link? Jan 17 21:53:19 DocScrutinizer: (increase, if any) in fact, that may not always be the case. if increased latency at a lower layer makes you meet a deadline on a higher layer, you still win :) Jan 17 21:54:02 gena2x: (worst-case) depends on where your worst cases are :) Jan 17 21:54:23 JaMa: yeah split feature :P Jan 17 21:54:35 JaMa: for me everything is quite small Jan 17 21:54:39 actually very tiny Jan 17 21:55:08 wpwrak: %) yes. Jan 17 21:55:13 need to create an adjusted config Jan 17 21:55:34 spaetz: how is vala proceeding? Jan 17 21:55:34 mrmoku: shr-settings still segfaults with latest rev :/ Jan 17 21:55:46 max_posedon: any other python-elementary package wort checking? Jan 17 21:56:08 * DocScrutinizer sighs desparately and switches context to nicer things like e.g. tweaking "programs" for controlling LEDs with a LP5521 chip Jan 17 21:56:10 spaetz: updating my e svn tree I saw there are c++ bindings now ;) Jan 17 21:57:10 JaMa, I just don't understand about what you speak) Jan 17 21:57:20 sidenote: I more and more start to even appreciate the partial closedness of maemo Jan 17 21:57:45 DocScrutinizer: duh ? Jan 17 21:57:55 mrmoku: well, I solved my vala problems in as it compiles again. But I don really have time to start another project, so I haven't done anything, really. Jan 17 21:57:56 no such debates like these Jan 17 21:58:11 DocScrutinizer: it's easy not to participate. Jan 17 21:58:14 DocScrutinizer: ;-)) Jan 17 21:58:21 spaetz: good - gives me a motivation to take a look at those bindings :P Jan 17 21:58:26 c++, hah. I'd rather get back up to speed on C :) Jan 17 21:58:34 yes, do that :) Jan 17 21:58:39 max_posedon: sorry it should be for mrmoku Jan 17 21:58:54 mrmoku: any other python-elementary package worth checking? Jan 17 21:59:22 JaMa: hmmm... mokonnect? Jan 17 21:59:22 DocScrutinizer: Unless you happen to have a problem with one of the closed bits Jan 17 21:59:32 or the architecture. Jan 17 21:59:42 DocScrutinizer: tired of choosing the lesser evil ? get the new iSatan by Apple Inc. ;-) Jan 17 21:59:46 then I'll go sue Nokia :-P Jan 17 22:00:13 Is Mokonnect still being developed? I haven't seen a checkin for ages Jan 17 22:00:32 And by God, it could well use some checkins. Jan 17 22:00:55 iSatan sounds cool, I want one Jan 17 22:00:58 *** glibc detected *** /usr/bin/enlightenment: munmap_chunk(): invalid pointer: 0x002bcd1c *** Jan 17 22:01:29 * DocScrutinizer runs to register the trademark Jan 17 22:02:09 anyway.. off to bed now Jan 17 22:02:10 * DocScrutinizer makes notice to register same time iSuck Jan 17 22:02:14 gnight all Jan 17 22:02:22 going to fire iSleep now :P Jan 17 22:02:27 night mrmoku|away Jan 17 22:02:40 rename gta02-core? Jan 17 22:03:12 FreeSatan Jan 17 22:03:28 SeeFratan Jan 17 22:04:03 spaetz: single-use non-rechargeable battery, apps need to be bought from store with myBlood, DRM everywhere, including on data you provide, Enduring Watchfulness (tm) real-time synchronization with all leading state agencies, etc. Jan 17 22:04:45 gena2x: naw, the SATAN joke was already played by that automated network intrusion tester Jan 17 22:04:51 and cloud computing for Echelon Jan 17 22:05:00 DocScrutinizer: why you so evil? Jan 17 22:05:01 DocScrutinizer: right, forgot the cloud Jan 17 22:05:51 I'm *BAD* (and Jackson DEAD) Jan 17 22:06:02 DocScrutinizer: sorry, this question were philosophical. evils are need too. Jan 17 22:08:42 sqlite3.OperationalError: attempt to write a readonly database Jan 17 22:08:44 ? Jan 17 22:08:49 on make image Jan 17 22:09:14 shr-testing Jan 17 22:11:59 wpwrak: I'd give my soul for that. Jan 17 22:13:23 badcloud: I bet you had run it as root previously and retry as normal user now Jan 17 22:13:37 check permissions in tmp/cache or so Jan 17 22:13:44 spaetz, correct Jan 17 22:13:54 what should I alter then? Jan 17 22:14:27 well, make the files in there writeable by your user? Jan 17 22:14:43 thanks Jan 17 22:14:51 np Jan 17 22:17:38 duh Jan 17 22:19:32 wpwrak: (ticket for review) hm... msleep is better for sure. my first line to kernel needs imporvement :(. I'll post patch and retest Jan 17 22:20:21 wpwrak: do you think it is ok after that? Jan 17 22:22:19 mrmoku|away: mokonnect works.. :) Jan 17 22:42:50 JaMa: sounds good. Good night BTW. See you. Jan 17 22:45:07 gena2x: if it works, i see no reason not to put it into the kernel. what may be interesting to find out is what delay exactly you need. the mdelay suggests that you don't actually need any rescheduling, so there should be a correlation between the length of the delay and the probability of success. you'd have to automate the test, though. no fun running this sort of parameter sweep manually. Jan 17 22:48:28 ooooh yes Jan 17 22:48:57 wpwrak: automating should be fairly easy if you add some module option for setting the delay Jan 17 22:49:05 gena2x: ^ Jan 17 22:49:16 <[Rui]> gnight! Jan 17 22:49:22 you all evils! :) Jan 17 22:50:44 wpwrak: thanks for review Jan 17 22:52:52 wpwrak: what's this delay? go wlan cpu gooo! or what? Jan 17 23:10:47 have a good night :) Jan 17 23:22:13 GarthPS: iki.fi/lindi/openmoko/wifi-poweron-torture-test.sh Jan 17 23:22:33 whoops, meant gena2x but he parted Jan 17 23:22:48 no problem Jan 18 00:39:04 DocScrutinizer: basically yes Jan 18 00:39:23 wpwrak: wernz! Jan 18 00:40:46 boooo Jan 18 00:41:12 moin raster Jan 18 00:43:43 DocScrutinizer: doczaaaaa! Jan 18 00:44:03 i have come to a conclusion. maemo5 on the n900 is a piece of shit. Jan 18 00:44:15 lol Jan 18 00:44:22 really Jan 18 00:44:24 ? Jan 18 00:44:25 their stupid compositor that uses gle-s crashes - litereally every few minuytes Jan 18 00:44:35 whole x session gets taken down all the bloody time Jan 18 00:45:03 well its random - but it happens to me dozens of times per day Jan 18 00:45:12 not here. I guess you're doing evil nasty to it, as you are used to do all the time ;-) Jan 18 00:45:26 actually no Jan 18 00:45:46 havent done anything nasty to it at all Jan 18 00:46:02 which os rev? Jan 18 00:46:03 i've had to re-flash it twice already too thanks to it getting the crash and reboot and getting stuck on boot bug Jan 18 00:46:14 and it will never boot again unless u totally reflash Jan 18 00:46:39 hehe. I had it boot endlessly in a loop, once Jan 18 00:47:10 as some wacky widget crashed the device on rendering the screen Jan 18 00:47:11 1,2009.42-11 Jan 18 00:47:20 hmm Jan 18 00:47:29 there's a newer version Jan 18 00:47:35 hehe didnt even loop Jan 18 00:47:37 just botted and hung Jan 18 00:47:43 with 1 of the white dots stuck Jan 18 00:47:53 yeah the five dots bug Jan 18 00:47:55 noi way to get out of it - even with reboots Jan 18 00:48:01 yeah Jan 18 00:48:14 axctually no Jan 18 00:48:16 not 2 times Jan 18 00:48:18 3 times thats hit me Jan 18 00:48:38 usually can be caused by filled / Jan 18 00:48:53 their partitioning is insane to fubar Jan 18 00:49:54 thats pretty stupid Jan 18 00:49:58 iff disk full - cant boot Jan 18 00:50:05 yep Jan 18 00:50:17 but worse is... still no fixes Jan 18 00:50:24 these bugs are well known Jan 18 00:50:31 nokia claims the gles crash is rare. Jan 18 00:50:33 bwahahahhaa Jan 18 00:50:39 though that's usual for all unixes, it's really nasty if your / has 256M only Jan 18 00:50:53 as i said - i had it crash 10+ times in the space of 30 mins Jan 18 00:50:58 here it is Jan 18 00:51:12 never seen that Jan 18 00:51:31 not a single time Jan 18 00:51:38 odd Jan 18 00:51:51 preprod device? Jan 18 00:51:51 but i'm not the only one who's seen it Jan 18 00:52:03 no Jan 18 00:52:07 full retail one Jan 18 00:52:16 strange Jan 18 00:52:36 i'll take some videos of it Jan 18 00:53:12 when i get to it Jan 18 00:55:37 btw maemo seems to relate to nokia like OM related to FIC in the early days Jan 18 00:55:47 maemo the inc Jan 18 00:57:16 well i know it6s a separate group Jan 18 00:57:28 and its apparently the group thats cool and everyone wants to be in Jan 18 01:09:54 would i have a n900 i would switch to some foss os asap **** ENDING LOGGING AT Mon Jan 18 02:59:56 2010