/srv/irclogs.ubuntu.com/2010/01/06/#ubuntu-arm.txt

=== bjf is now known as bjf-afk
=== asac_ is now known as asac
JamieBennettAnyone around to take a look at a boot chart output from the ARM live-cd? Casper is the obvious cause of major slowness and I've documented it at https://wiki.ubuntu.com/ARM/LiveCDSpeedup#Casper, after Casper I can't see many worth-while wins though. Link - https://wiki.ubuntu.com/ARM/LiveCDSpeedup#BootChart09:51
ogralooks like adduser and the keyboard stuff are the worst09:53
JamieBennettogra: yeah, all due to debconf-communicate09:54
ograadduser is taking 10sec !09:54
ograerr09:54
ogra30, sorry09:54
persiaJamieBennett: Did you ever track down precisely why debconf-communicate is acting so slow?09:55
ograJamieBennett, try adding a sscript that calls debconf-coomunicate09:55
JamieBennettogra, persia: done and the findings are on the wiki page I liked to.09:55
ograsomething that sets only one value and see if that also uses 30sec09:55
ograi suspect thats a fixed value we see there09:56
persiaJamieBennett: Hrm?  In the "Conclusion" section, or somewhere else?09:56
ograi.e. each call to debconf adds 30sec09:56
persiaI'm seeing clear indication that it *is* debconf-communicate, but I still don't understand why there is a performance skew when compared to other architectures.09:56
JamieBennettogra: each call to debconf-communicate takes 4 seconds due to loading templates.dat via perl code09:57
ograwhat about the other 26 ?09:57
JamieBennettogra: where are you getting 30 secs from?09:57
ograoh, i only looked at the kbd stuff, adduser simply calls it multiple times09:58
JamieBennettYes - https://wiki.ubuntu.com/ARM/LiveCDSpeedup#19keyboard09:58
ograwell, twice actually09:58
JamieBennettogra - 5 times - casper-preseed calls debconf-communicate09:59
ograi only see it twice in adduser09:59
ograat least in the chart09:59
persiaogra: The detailed breakdown of the adduser case is above.10:00
ograabove what ?10:00
persiaa 7-sec call to debconf-communicate, wondering about in user-setup-apply (which talks to debconf a lot), and then a final 4 seconds in another debconf-communicate.10:00
persiaAbove the chart on the wiki page.10:00
JamieBennettogra: are you talking adduser or keyboard?10:01
ograadduser10:01
ograonly looking at the bootchart10:01
JamieBennettah, yes thats two calls10:01
JamieBennettkeyboard is 510:01
ograthe chart shows only one very long one10:01
persiaJamieBennett: Are you *sure* there's no debconf-communicate in user-setup-apply?  I thought I remembered a fair bit.10:02
ografor kbd10:02
JamieBennettpersia: maybe, I can investigate.10:02
asacogra: persia: so continuing discussion on the our ACTION to document what needs to be backported from .3210:02
ograright10:02
asacto .31 kernel10:02
ograi see aufs and apparmor as critical10:02
persiaJamieBennett: What I'm most curious about is *why* perl is so slow at reading that cache on armel.  I suspect there's a deeper bug that would be nice to address with lots of improvements all over.10:02
asachow should we do this10:02
asac?10:02
asacdo we already know the areas where we need backports?10:03
ogramake a list of kernel features we knoe10:03
ogra*know10:03
asacakk?10:03
asacall?10:03
asacthat feels bad ;)10:03
ograno10:03
JamieBennettpersia: lool had some thoughts about perl slowness, I'll talk to him to see if he has investigated it at all10:03
ograall that are developed inhouse10:03
asacok brainstroming :)10:03
asacyou say aufs and apparmor ...10:03
persiaCould we simply compare the kernel-generated header files for .31 and .32, and backport stuff where the API has changed?10:03
asaci remember persia mentioned ureadahead or something10:03
ograogra@osiris:~/Desktop/uboot/package/uboot-imx-2009.08$ ls /lib/modules/2.6.31-14-generic-pae/kernel/ubuntu/10:04
ograaufs  compcache  dm-raid4-5  drbd  iscsitarget  lenovo-sl-laptop  lirc  misc  ndiswrapper  rfkill10:04
persiaMine were more userspacey, like ALSA and bluetooth.10:04
ograi guess we can ignore the lenovo stuff :)10:04
ograand ndiswrapper10:04
asacso why are we looking at kernel/ubuntu only?10:04
ograwe dont10:05
persiaasac: How do you mean?10:05
ograbut thats the easy and obvious part10:05
asacyeah10:05
asacok10:05
ograwe surely need to add stuff that happens inline in the kernel, plus what persia said10:05
ograthough i think the alsa HW specific stuff isnt that intresting10:06
ograwe dont need intel fixes on arm :)10:06
persiaWhat is interesting is keeping sync between userspace and kernelspace interfaces.10:06
asacpersia: we could check the header approach, and see if we get useful results.10:06
ograright10:06
persiaI don't care about the individual bits of hardware, but I do care if something moved in ALSA, and sound doesn't work.10:06
persiaMost ARM hardware should be using ASoC anyway.10:07
persiaasac: To do that, should we generate linux-headers-2.6.31-foo out of the ARM kernel sources, or do you think there are other sources of API changes?10:08
asachmm. are linux-headers really the headers exported to userspace?10:08
asacnot linux-libc-dev ?10:09
persiaWell, both are exposed, actually.10:09
asacreally?10:09
* persia goes to read up on stuff10:09
asaci thought linux-headers was just for kernel modules10:09
asacapt-cache show linux-libc-dev10:10
ograstop ...10:10
persiaRight.  Sorry.  I was confused by "linux-kernel-headers" which was an old name for linux-libc-dev10:10
asac This package provides headers from the Linux kernel.  These headers10:10
asac are used by the installed headers for GNU glibc and other system10:10
asac libraries. They are NOT meant to be used to build third-party modules for10:10
asac your kernel. Use linux-headers-* packages for that.10:10
ograwe had that discussion multiple times10:10
ograthats a kernel team job10:10
asacogra: what do you mean?10:11
* ogra tries to find the mail with the discussion about linux-headers vs libc-dev10:11
ograasac, armel is a special case10:12
ograand it took us weeks to agree on a specific setup everybody was happy with10:12
* persia isn't entirely convinced it's safe to special-case headers against which userspace is built.10:13
ograi know apw summarized it, i cant find it atm10:13
ograpersia, i think we need to use linux-kernel-headers-*SoC* for our stuff iirc10:14
ograbut i need the notes10:15
apwthe email was titled10:15
apwSubject: arm headers issue10:15
persiaapw: To which list was it sent, and about when?10:15
persiaAnyway, I thought linux-libc-dev *replaced* linux-kernel-headers some time back.10:15
apwit was sent to a few people direct10:16
persiaAh, tricky those.10:16
ograapw, gracias, got it10:16
ograasac, forwarding to you10:16
apwi don't recall it being contentious, just not interesting to the general reader in the raw form it was10:16
ograyeah10:17
ograbut important knowledge if you work on armel10:17
ograand surely important to know for asac who became our fearless tech lead now ;)10:17
persiaBut the summary was that there are linux-kernel-headers-${SoC} packages being built that are just like linux-libc-dev except for the different ARM kernels?10:17
ograpersia, forwarded to you too10:18
* persia likes smart search tools that automatically update10:18
* persia is still confused10:20
persiaIs this just about arm-specific headers, or *all* headers?10:20
ograarm10:21
apwits presumably about apps needing vile arm specific driver headers10:21
persiaThat's completely different from what I'm looking for.  Let's call that solved for now (for all that I think it's a bit of a mess)10:21
ograright10:21
persiaI was looking to compare linux-libc-dev from the SoC kernels to linux-libc-dev in the master kernel.10:22
persiaWhere those differ, we have a candidate problem.10:22
ograpersia, that counts in SoC specific userspace API libs10:22
persiaRight, I don't care about backporting any of that stuff.10:22
ograright, you cant10:22
persiaright :)10:22
ograsince linux-libc-dev on armel comes from the main source10:23
apwlinux-libc-dev for armel ... what he said10:23
persiaRight, so like I said, shall we have the SoC kernel sources provide linux-libc-dev-${SoC} for comparison purposes?10:23
ograapw, hmm, how do you handle that with the .32 vs .31 issue btw ?10:23
persiaAnd then if we find discrepancies, backport what we need.10:23
ograpersia, no10:23
persiaWhy not?10:23
ograread the mail :)10:23
ogracolin will slay you10:24
apwogra, we don't10:24
persiaThis is *completely* unrelated to the mail.10:24
persiaThe mail is about SoC-specific headers.  I'm talking about general headers.10:24
persiaI don't expect them to be used by anything: I just want them for reference.10:24
persiaIf anything builds against them, we failed.10:24
ograapw, evil ... what if vendors build stuff based on linux-libc-dev ? it will likely be boroken10:24
persiaWe can put ***DON'T USE THIS***  **YOUR APPLICATION WILL FAIL*** in the description.10:25
apwarm is in a world of pain by refusing to be at the same version as the rest of the system10:25
apwwe are assuming some level of compatibility between releases and literally crossing everything10:25
persiaapw: Well, we're hoping to avoid some of that with backporting.  For instance, backporting ALSA should be relatively painless.10:25
apwits already backported for non-arm so i assume so10:26
persiaRight :)10:26
ograapw, well, i'm more concerned about things like aufs10:26
persiaThe trick is to determine what needs to be backported to avoid pain.10:26
ograwe need it for image builds10:26
apwi don't think there is any headers for aufs10:27
ograhow about apparmor10:27
persiaogra: So, what objection do you have to comparing the generated linux-libc-dev for each kernel type?10:27
apwincluded in the linux-libc-dev package10:27
ograpersia, there is no linux-libc-dev for each kernel type10:27
persiaBut there could be :)10:27
apwnot sure we include those either10:27
ograther is only one and that comes from the upstream source10:27
ograand the archive admin team is strictly against having more than one10:28
persiaFine.10:28
ograread the IRC discussion in the mail10:28
apwwe can't have more than one, as the archive can only be built for one armel form10:28
persiaI did.  You aren't understanding what I'm saying.  I'm not talking about the same thing from the mail.10:28
apwand its that process that consumes the package10:28
persiaBut I don't care to argue that: I'll find a workaround.10:28
apwhave we hit an issue with our assumptions here, or are we worryng about the future10:29
persiaapw: We've lost track of the discussion.10:29
persiaThe agenda item was to try to identify what shoud be backported into .31 kernels to make sure lucid works with them.10:29
persiaOur inital guess was  aufs  compcache  dm-raid4-5  drbd  iscsitarget  lirc  misc rfkill + alsa + bluetooth10:30
ograwhateve misc is10:30
* ogra takes a look in the dir10:30
ogra/lib/modules/2.6.31-14-generic-pae/kernel/ubuntu/misc/fsam7400.ko10:31
ogradescription:    SW RF kill switch for Fujitsu Siemens Amilo M 740010:31
apwmy understanding is that aufs is 'compatible' between the two semantically10:31
ogranot for us10:31
apwapparmor userspace i believe is aware it may be using two differenet kernels10:31
persiaapw: We've had a lot of issues with aufs version skew in the past, and have little trust.10:32
ograapw, right, but we need to make sure that all the inhouse developed features the kernel team develops work10:32
ograthats why my main issues are aufs and apparmor ... but you answered for both, so i personally am happy10:32
ogracompcache and dmraid are surely also important to have working10:32
ogranot sure about lirc rfkill or iscsitarget10:33
persiarfkill is likely useful, as lots of devices have wireless.10:33
ograbut do they have the HW that supports rfkill ?10:34
persialirc falls into the alsa/bluetooth category for me: if we don't do it, classes of devices won't work.10:34
ograthe babbage doesnt have wireless per se10:34
ograand we actually only talk about babbage here10:34
ogradove is on .3210:34
ogradid we lose asac ?10:35
* persia installs wireless-tools to see if rfkill works on at least one i.MX51-based device10:36
asacno10:37
asacreading thta long mail atm ;)10:37
asacso from what i understand comparing headers doesnt make sense10:37
asacits supposed to be not broken in that way10:38
asacso lets focus on the core ideas we had:10:38
asaca) figure out which "ubuntu" features were added in .32/lucid10:38
asac-> review and make a list of what parts we want from those10:38
persiaErm, what?10:39
ograright10:39
asacb) try to find some good targets to look closer:10:40
asac e.g. what kernel improvements were done for boot perf.10:40
ograwhich of them didnt go upstream10:40
asac -> and check if we need those ->10:40
ograwe surely do10:40
ograunless we stop caring about bootspeed suddenly10:41
asacogra: didnt go upstream in .31 ... given that we had .31 in karmic, nothing went upstream for us (fsl)10:41
asacthat was done in lucid10:41
ograright10:41
asaci double checked with dtchen back at UDS ... he said, that sound wont be a problem in that we will see regressions over karmic experience10:42
asac...however, we might not see improvements obviously ...10:42
asacbut i think we can live with that10:42
ograyeah10:42
ograas long as noise still comes out of the speakers :)10:42
asacso lets scratch sound from the backporrting candidates unless we find real bugs10:42
asacright10:42
asacQA would hopefully catch that10:43
persiaNote that he has already backported the latest ALSA stuff to .31 in a PPA, so it should be fairly painless to integrate.10:43
asacif fixes are available we are probably happy to pull them in10:43
asac-> lets note that as an option/action10:43
asacdo we know anything besides boot performance kernel changes and sound?10:44
ograapw, what looks important to me wrt bootspeed are the patches from csurbhi10:44
ograapw, do you see any issues with these to go into a .31 tree ?10:44
asaccooloney: there?10:45
asaccooloney: what ubuntu specific kernel stuff that is in .32 wont be in our .31 kernel?10:45
asacmaybe we automatically get everything?10:46
apwogra, those were pretty simple patches, but do we have a bootspeed issue on arm?10:46
ograapw, bootspeed is always an issue, yes10:47
persiaWell, looking at the bootchart we were discussing earlier, we're running at somewhere under 195 seconds right now.10:47
ograapw, if we have any improvement in the main distro they should definately go into arm10:47
ograpersia, thats livefs :)10:47
persiaogra: So? :)10:47
ogramy babbage boots lucid in about 50sec10:47
persiaStill, a fairly long time.10:47
ograor 4510:47
ograyes, but not 195 :)10:47
ogralets stay with apples vs apples10:48
persiaBut yeah, we'd like that faster.10:48
asaci agree that the kernel tweakage currently done for i386 is not really our major concenr10:48
asacbut i hope we get the big time consumers removed and then it might be more important10:49
ograasac, even if it gains us several seconds in bootspeed ?10:49
asacso being prepared is good10:49
persiaMy concern is things not working because of kernel/userspace interface changes, more than small improvements.10:49
ograbootspeed is definately a vendor concern we har all the time10:49
persiaSmall improvements are nice, but the kernel is outdated, and deserves to suffer a bit.10:49
ogra*hear10:49
asacpersia: i dont think we can understand that up-front fully.10:50
asacwe can only figure that out through bugs later on10:50
asacogra: yes. but we have 195 secdons. most of that is probably not related to anything done in the .32 kernel10:50
asacwhich is tuning it to get the last few seconds removed from i38610:51
ograasac, yes, but the 195sec are live images10:51
ograasac, has nothing to do with this discussion10:51
persiaasac: Well, hrm.  I have suspicions about stuff like bt, alsa, lirc, ieee1394, etc.  We had lots of issues with intrepid when the version skewed unexpectedly.10:51
persiaBut I'm not sure our test coverage is broad enough to catch all that (because it wasn't for i386 for intrepid)10:51
asacpersia: dtchen said alsa isnt a problem for older kernels10:51
ograasac, the 45-50 sec for instealled systems *are* an issue for this discussion though10:51
asacogra: yes. but live image is similarly important. thats the first impression users get10:52
persiaasac: Does that presume a separate alsa-modules package?10:52
asacogra: not really sure where the problem is. i am all for looking at what was done and what can be pulled into .31 for bootspeed10:52
ograasac, but they are no kernel related issues10:52
ograasac, right ... i'm only talking about the installed system here ... the live issues are all casper related10:53
asacogra: right. but did we analyze our 45 seconds on installed images yet?10:53
ogranope10:53
asacmaybe its half of the time in something similar10:53
ogranope10:53
persiaUm, those two "nope"s are mutually exclusive: without analysis there's not enough information for the second answer.10:53
asacyou say that userspace is well tuned?10:53
ograwe dont call things like debconf-communicate anywhere in installed systems10:53
asacogra: still. for me its currently a blackbox10:54
asacalso on liveimages only 50 seconds or so are deconf-communicate10:54
ograhttp://people.canonical.com/~ogra/babbage2-karmic-20090916-3.png10:54
ograthere is a karmic bootchart10:54
persiaWell, more than that.  there's about 35 seconds in just 10adduser and 19keyboard10:55
ograspeed issues there are totally unrelated to the speed issues on the live boot10:55
asacanyway. thats not the point10:55
persiaNo.10:55
ograright10:55
ograbut what i say is that we want kernel improvements backported if they can gain us a few secs10:55
asacogra: how can you say that its unrelated without having analysed it10:55
asacanyway, as you might know JamieBennett is our boot speed master this cycle ;)10:56
persiaI think we should be focusing on SoC-specific performance enhancements with SoC-specific kernels, rather than worrying about backporting.10:56
ograi.e. if we can get from 41 to 31 secs through them ... plus gain another 5 secs through ureadahead that is definately something we want10:56
JamieBennett:)10:56
asacso maybe he should take the action to work on it ... including figuring what kernel parts would be beneficial10:56
ograasac, ++10:56
asacok. lets do that then. doesnt make sense to speculate10:56
persiaIndeed.10:56
ograasac, i have analyzed it in so far that i took bootcharts every release10:57
ograbut didnt have any time to look for possible improvements or to dig deeper10:57
persiaDo we run any perl during boot?10:57
asacso bootspeed is covered ;) ... JamieBennett will work with whoever want to peer on that on a) identifying kernel patches to backport, b) identifying userspace bottlenecks in both: install and live image10:57
JamieBennettOK10:58
JamieBennett/me scrambles to read backchat to see what I have volunteered to do10:58
ograJamieBennett, so please talk to csurbhi, if it makes sense to backport their patches to us10:58
asacJamieBennett: basically the last line i said ;)10:58
ogras/their/her/10:58
JamieBennettogra: OK10:58
asac11:57 < asac> so bootspeed is covered ;) ... JamieBennett will work with whoever want to peer on that on a) identifying kernel patches to backport, b) identifying  userspace bottlenecks in both: install and live image10:58
persiaJamieBennett: IN summary: analyse bootspeed of installed armel systems, compare against other architectures, and optimise.10:58
JamieBennettyep10:58
ograthats a tough comparison :)10:58
persiaYep :)10:58
ogragiven your HW is likely slowing it down10:59
ogralike disk etc10:59
ograbut well10:59
persiaWell, but simple HW issues scale, but if most stuff is 2x and one thing is 10x, that thing needs attention.10:59
ogralets go back to the actual discussion10:59
asaci dont think we can really compare it10:59
asacmaybe to identify stuff that takes relatively long10:59
asacok ... so lets move on ... bootspeed is covered ;)10:59
persiaRight.  That's the extent of the potential for comparison.10:59
asacnow ... areas of potential userspace breakage:11:00
asacmentioned were:11:00
persiaFor *-modules, we just have to make sure that it can be built properly.11:00
ograas apw said, aufs and apparmor should just work11:00
asacalsa, bt,  lirc, ieee139411:00
ogradmraid11:00
asaci can take the action to sync with jdstrand on what innovation we might want for apparmor11:01
asac(and whoever does that on kernel side )11:01
ogracompcache (very important)11:01
asacwhats your concerna bout compcache?11:01
persiarfkill drdb ?11:01
asacgeneral breakage i presume?11:01
ograyes11:01
asacwe are currently at "user space brekage";)11:02
ograwe should have the same upstream version in .31 lucid as in .32 lucid x8611:02
asacisnt compcache covered by kernel/ubuntu investigation?11:02
ograsince the live images 100% rely on it working11:02
ograyes, its in kernel/ubuntu11:02
asacwhich i had hpoed we could put on cooloney's plate ... mission: get as many goodies for ubuntu specific stuff from .32 to .31 as possibe11:02
ograright11:02
asacok .... so lets assign this action to him.11:03
asaca) make a list of stuff that changed for kernel/ubuntu in .3211:04
ograok, that only leaves sound and apparmor11:04
asacapparmor i took the action to check what innovation we might want11:04
ograright11:04
persiasound is likely mostly safe to leave alone.  People who *really* care can get modules separately.11:04
asacsound was already covered imo, but i can also check with dtchen directly what he thinks should be done11:04
asacif he has patches ready for consumption that are safe, i dont see why we should not pick them11:05
persiaHeh.  590 headers files differ between linux and linux-fsl-imx5111:05
asac;)11:05
ograright, so: bootspeed->Jamie, kernel/ubuntu -> cooloney, sound-> dtchen, apparmor -> asac ...11:06
ograanything we forgot ?11:06
persiaLots of drm changes: we don't care about any of that, right?11:06
ograunlikely11:06
persiabt, lirc11:06
ogralirc is in kernel/ubuntu11:06
asacogra: sound -> asac (with dtchen)11:06
ograright11:06
ograpersia, so do yu take bt ?11:06
persiaSure, although I'm going to be limited to source-inspection.  I may have to lean on others to help with any testing.11:07
ograwell, grab a kernel guy for help :)11:07
asacfor now we want to investigate11:07
asacand then we meet after alpha-2 to discuss the final actions i guess11:07
asacand present results11:08
ograyep11:08
ograwell, some bits need to happen pre A211:08
asacis there any area that we know is currently breaking us?11:08
ograat least aufs needs to work11:08
ograno, we dont11:08
asace.g. is anthing of the above urgent for a211:08
ograsince we havent seen te3h .31 kernel yet11:08
asacok... aufs is kernel/ubuntu11:08
asacanything else?11:08
ograwe can do definitive stuff only if we actually have the new kernel11:09
asacogra: why arent we seeing issues with aufs now if its needed for a2?11:09
ograwell, as apw said, it shouldnt have issues11:09
asacfor now, lets hope that stuff that works atm, will work with the new kernel11:09
asacright11:09
ograbut you cant say until you see the real thing :)11:10
asacwe are talking about actions and urgencies, so fixing aufs is not urgent until we know its broken :)11:10
asacsure11:10
ograwe are talking about hypothetical stuff atm11:10
persiaSeems that linux-fsl-imx51 headers are rather different for bluetooth :(11:10
asacbut i would hope that all stuff urgent enough for a2 target would be breakage of images11:10
asacand would be covered by all other mechanims11:10
asacogra: yes. thats why i dont think that anything of the stuff we talked about has to happen for a2 atm11:11
persiaI'd agree that urgent stuff would be covered in other ways.11:11
asacuntil we get to know of breakage ;)11:11
ograright11:11
persiaThis is more that we need to be solid pre-beta, and need a head start.11:11
asacwhat we are doing here is an proactive effort to improve the overall quality of our final release11:11
asacyep11:11
asacpersia: want to send out actions we deferred from this with me/ogra/jamie CCed?11:12
asacand colooney11:12
persiaWhy CC, rather than addressee?11:13
asachehe11:13
asacyes. TOed11:13
persiaSure, although I want to dig out of my current stack of stuff first.11:13
* asac wonders what that is ;)11:14
* ogra hands persia a ladder11:14
asacmy current stack of stuff == all the clothes that wait for a laundry here ;)11:14
asacor rather: my board buried under heaps of dirty socks ;)11:15
* persia has ~20 windows opened during this discussion that need to be closed after extracting the key bits while knowledge is fresh: actions are logged in lots of places to grab in some minutes.11:15
* ogra fights with uboot11:15
asacmost likely those 20 windows opened on the sharp thing ;)11:15
ogralol11:15
persiaNo, only 4 windows on the Netwalker during the past hour discussion :p11:16
persia(mostly terminals to check stuff)11:16
asacanyone running lucid already?11:19
asacon main desktop?11:19
asacis sound working?11:19
* asac scared that voip/softphone will be completely brokenish when i upgrade now ;)11:19
persiaShould be: lots of people report that it is.11:19
persiaTry a liveCD first :)11:20
ograasac, cjwatson upgraded on monday i think11:20
ograno idea if he uses any VoIP though11:21
asacmost likely not. i have the feeling i am the only one, given how broken all softphones are ;)11:25
asacat least for real callout voip11:25
asacmost apps seems to close the sound stream and open quickly when the call gets dispatched ... this yields random on/off for output/input for the final connection11:25
asacif you use pulse11:26
persiaogra: Am I reading backscroll correctly that you're not researching anything?11:26
asacogra will be peer for boot performance and the kernel/ubuntu stuff11:26
ograi said i didnt11:26
persiaasac: pulse and ekiga always work nicely together for me.  Dunno which softphone you use.11:26
ograsimply because it was to late in the former releases to do anything about it anyway11:26
JamieBennettasac: lucid killed my laptop yesterday11:26
asacpersia: ekiga is really really busted ;)11:26
JamieBennettwon't boot now11:27
ograwe had no kernels until mid release11:27
asacpersia: are you doing callout?11:27
persiaasac: Define "callout".11:27
ograpersia, i'm happy to help researching this round11:27
asacodd. then its probably sound chip related11:27
asacekiga also crashes regularly11:27
asacalso i cannot tell ekiga to use a stun server11:27
asacjust doesnt have that config field11:28
persiaOdd.  It worked for me last I tried it, which was a bit ago.11:28
persiaYou can get to that through the config wizard.11:28
asacstun?11:28
asacthats not there11:28
asacfor sure11:28
* ogra considers breakfast a good thing and tries to find some food11:28
persiaBut each and every sound chip (and subcomponent of sound chips) acts differently weirdly, so yes, likely :)11:28
asaci wasted so much time in ekiga/linphone/twinkle that i am quite sure you cannot confiugre a stun server in ekiga11:28
persiahttp://wiki.ekiga.org/index.php/Ekiga_behind_a_NAT_router11:30
persia gconftool-2 -s /apps/ekiga/general/nat/stun_server stun.ekiga.net --type=string11:30
persia(replace with your faviorite stun server :) )11:31
asachmm. so they have the stun server hard coded11:31
asacok11:31
persiaNot hard coded, just not exposed in the UI.11:31
asacthats hard coded in my book ;)11:31
asacgconf default without UI11:31
asacsimilar to using hexedit to edit the binary ;)11:31
persiaWell, it's *lots* easier to change than when something is behind an #ifdef :)11:31
* persia has played with far too many foo-default-settings packages to completely agree with that.11:32
asacat least gconf doesnt forget your changes on upgrades ;) ... which hexedit often fails to do11:32
persiaasac: See, you're supposed to hexedit the .deb, and remember to set epoch 47 :p11:35
armin76ogra: what wifi does the babbage has?11:38
armin76asac: ^11:41
asacarmin76: baa11:45
persiaarmin76: ogra said before " the babbage doesnt have wireless per se", so I presume nothing by default (but add what you like via USB)11:45
asacboard-as-antenna ;)11:45
persiaasac: Do we have a driver for that?11:45
armin76oh11:46
asacthats hardware hacking ;)11:46
asacno driver needed11:46
asacjust jump on a usb wifi dongle and try to wire the antenna up with the board for best results ;)11:46
persiaAh, so you modulate the local EM potentials to inject data streams directly?11:46
asacyes, in practice results are much better than the old way of having two antennas in the chassis ;)11:47
asacits not injecting data streams directly11:47
* persia goes back to kernel archeology11:47
asacjust physical vibration that helps deal with interference ;)11:47
asaconly works if you put the board on your external usb drive ;)11:48
asacwhich will soon be the standard11:48
armin76ojn: did your board got wifi?11:49
armin76lool: and the lange has wifi?11:49
persiaarmin76: What's wrong with USB WiFi off-board, as opposed to on-board?11:50
* persia suspects any consumer device with a battery will likely also have WiFi11:50
persiaProbably USB WiFi, but on-board :)11:51
persia(given previous reports of USB SATA, onboard, etc.)11:51
armin76persia: nothing, i'm just asking11:51
armin76the efika mx has wifi...i'm not sure if it was usb or not...let's see...11:51
armin76it doesn't work though(thats why i'm asking)11:52
persiaThose are temping little boxes.11:52
persiaarmin76: Which device is it?11:52
asacwhat else would it be if not usb?11:52
persiaasac: GPIO?11:53
persiaOr even native (although I'd prefer a subprocessor for that sort of thing)11:53
shenkiSDIO11:53
armin76persia: wifi device you mean?11:54
persiaarmin76: Yeah.11:54
armin76oh, i'm stupid11:54
armin76well, i just woke up, its expected :P11:54
shenkithat's the direction olpc has taken with the 1.5, the first revision used USB but USB takes too long to come out of suspend11:54
armin76its a ralink 3070usb11:54
armin76so yes, its usb :P11:54
armin76persia: thanks for asking *g*11:54
persiaarmin76: Not the one I have a driver for then.  Sorry.  I have ks79xx_sdio11:55
persiaWhich reminds me, SDIO is *much* more likely than GPIO.11:55
persiaarmin76: http://wiki.debian.org/rt2870sta claims to support 148F:3070, so there might be something extractable.11:57
persiaDunno if it works properly on armel :)11:57
armin76persia: the kernel is 2.6.31, and has support for the 2870, and thats what i built11:58
armin76it detects it and stuff, but doesn't find any ap11:58
persiaThat's extra annoying.12:01
armin76well, i consider more annoying that if you do a reboot, it halts, and if you do a halt, it reboots :P12:02
asacarmin76: running ubuntu?12:04
asac;)12:04
armin76it came with ubuntu yes, but mkfs.ext3 is my friend :P12:04
asacthe wifi worked in ubuntu?12:04
armin76didn't try12:04
asacdebian is known to not care much about wifi ;)12:04
* asac *cough*12:04
armin76Hostname: efikamx - OS: Linux 2.6.31-ER1/armv7l - Distro: Gentoo 1.12.13 - CPU: ARMv7 rev 1 (v7l) - Processes: 78 - Uptime: 12d 15h 45m - Users: 3 - Load Average: 2.46 - Memory Usage: 109.81MB/470.49MB (23.34%) - Disk Usage: 22.61GB/461.20GB (4.90%)12:05
asactry our kernel12:05
asacoh wait ;)12:05
asachehe12:05
asacarmin76: are you using NM+wpasupp?12:05
armin76wifi is not a priority for me, i love eth012:06
armin76asac: no desktop at all12:06
asacNM works well without desktop12:06
armin76i simply tried iwlist wlan0 scan12:06
asaci use it for that12:06
asacas root ;)?12:06
asacj.k.12:06
asaci would suggest to try wpasupplicant with nl80211 driver12:07
asacif thats supported by rt....12:07
asacJamieBennett: MIRs... how are things blocked atm?12:09
JamieBennettok12:10
JamieBennett...12:10
asacall fine?12:10
JamieBennett2 MIR's unassigned12:10
asacyou said some MIR was rejected?12:10
JamieBennettEmbryo has concerns from pitti, basically we need to commit to supporting it12:10
asacwhats embryo?12:10
JamieBennetta package used by edhe12:11
JamieBennettedje12:11
asacwill it need as much attention as a real baby later ;)?12:11
asacJamieBennett: i mean: whats its purpose/use-case12:11
JamieBennettIts a VM that only edje uses12:11
asachow is that used from a high level perspective? e.g. for what is that used in our launcher stack?12:12
JamieBennettUpstream says its essential12:12
JamieBennettits used by edje which is an essential part of our launcher12:12
persiaIsn't that the interpreter for the widget defintions?12:12
JamieBennett(its part of the design and layout bit)12:13
JamieBennettthemes e.t.c12:13
asacwell. thats not the perspective i mean :)12:13
asaci want to undersatnd why we need a VM ;)12:13
asacah12:13
JamieBennettFOR EDJE12:13
asacso what persia said12:13
JamieBennett;)12:13
asacedje doesnt really explain whats it used for ;)12:13
persiaasac: E17 is all about being able to create really cool interfaces.  It takes modularity to a mind-numbing level.12:13
asacso they invented a scripting language?12:14
persiaFor widgets.12:14
JamieBennettpersia: indeed and edje is responsible for all theme, layout, image and font definitions12:14
JamieBennettto allow layout and animations12:14
persiaImagine a .desktop file on steroids, and then distill for a few years.12:14
asaclol12:15
asacok12:15
asaci think i figure12:15
JamieBennettWe also have code concerns about some pacakges12:15
asacJamieBennett: does that thing have a make check testsuite?12:15
asacis that run during build time?12:15
JamieBennettasac: no and upstream aren't planning on one12:15
asacwhat are the code concerns?12:15
persiaAn embedded turing-complete VM?12:16
JamieBennettrecasting pointers, tty manipulation, the comments are on the MIR bugs12:16
JamieBennettlet me bring them up12:16
asacthx12:17
JamieBennetthttps://bugs.edge.launchpad.net/ubuntu/+source/edje/+bug/489359 - edje12:17
ubot4Launchpad bug 489359 in edje "[MIR] Main inclusion request for edje" [Undecided,Incomplete]12:17
JamieBennetthttps://bugs.edge.launchpad.net/ubuntu/+source/evas/+bug/488923 - evas12:17
ubot4Launchpad bug 488923 in evas "[MIR] Main inclusion request for evas" [Undecided,Fix committed]12:17
persiaThe second one looks done, just waiting for the dep to show up.12:19
JamieBennettAlbin (lutin) is an ubuntu developer as well as upstream12:19
JamieBennettpersia: Albin has expressed concern that he will fix some issues but the code base is moving and may introduce more errors12:20
asacJamieBennett: so integrating embryo as a pkglib into edje sounds like a feasible approach12:21
asaclike pitti suggested12:21
JamieBennettcould be12:21
JamieBennettnot sure what the best option12:22
persiaI'd be more comfortable following Debian on this, as Debian has close upstream involvement.12:22
persiaIf we start significant change in packaging, we may end up out-of-sync in some awkward way.12:22
asacwell. pitti is right12:22
armin76and debian has asac :D12:22
persiaarmin76: Well, yes, but not for E1712:23
asacpersia: we wouldnt drpo the package from universe12:23
asacjust duping code in edje12:23
asacso edje can go to main12:23
persiaasac: Right, but the duplicated code ends up 1) causing security headaches, and 2) causing a merge lag.12:23
asacis albin the debian guy?12:23
asacJamieBennett: ?12:23
JamieBennettasac: yes12:23
JamieBennettlutin on freenode12:23
asacpersia: security headaches are worse with it being a public api12:23
asaci will talk to him ;)12:24
asacdebian shouldnt have this either ;)12:24
asacas they support everything12:24
JamieBennettk12:24
asacin worst case i dont see a big problem with internalizing it12:26
asacwe have a commitment to support it12:26
asacobviously12:26
ograasac, huh ? the babbage only has a mini pci slot you can attach a wlan card to, nothing wlan related on board12:48
asacogra: did you read a bit more context ;)?12:49
persiaogra: There's miniPCI?12:49
* persia is impressed at the growing number of available bus options12:49
asacpci feels like news to me. previously i was told arm doesnt have busses ;)12:49
persiaARM has busses, just not usually PCI.12:49
persiaThat said, my Orion server has PCI-e, so it's not impossible.12:50
asacyeah. thats what it boiled down to12:50
asacwe have USB ;)12:50
persiaand SDIO12:50
ograpersia, well, a mini pci socket ...12:50
ograits in fact USB in the backend12:50
ogra.oO(or are these thigs called micro PCI ? )12:50
ograright, i was talking about the socket form factor12:50
persiaogra: But what *kind* of socket.  You can do either SDIO or USB in a socket.12:51
persia(and lots of other stuff too)12:51
asacogra: miniPCIe is better12:51
ograi have the same thing in one of my x86 laptops12:51
ograbut there its attached to PCI12:51
asacall wifi cards for notebooks are PCIe nowadays12:51
persiaUm, no.12:52
persiaI purchased a notebook in 2008 with SDIO wifi12:53
persiaAnd another one in 200912:53
asacyes. but no miniPCI (which was the point)12:53
ograpersia, if i plug in the wifi card i get an usb device in dmesg12:54
ograright, miniPCIe is it then12:54
ograright12:54
ograjust a special socket for USB12:54
persiaWell, again no.  The Panasonic toughbook line is *still* miniPCI12:54
persiaminiPCIe != USB12:54
ograpersia, SATA != USB ...12:57
ograpersia, still the babbage has both sockets attached to the USB controller12:57
persiaogra: Sure.  I'm just saying "right, miniPCIe is it then"..."just a special socket for USB" doesn't make sense.12:58
persiaIf there's hardware to convert, that's fine.12:58
ograwell, i have these sockets, but effectively they only offer USB devices12:59
persiaBut what kind of socket are they?  What's the line protocol?13:00
ograno idea ... i can only judge by the plug :)13:01
persiahow many pins?13:01
ogra18+813:02
ograor 36+16 if you count that the board you plug in is double sided13:03
persiaThat does sound like miniPCIe.  Odd to stick a PCIe controller on a USB bus.13:03
ograwell, as odd as sticking a SATA socket on a USB bus13:03
ograthe board simply has only that one controller13:04
persiaActually, that makes  a lot more sense.  I use SATA over USB regularly on lots of machines.13:04
armin76persia: which server is that? :)14:36
asacwhat kind of devices are ARMv4 without T?14:40
asacarmin76: ?14:40
asacdoes debian support that?14:40
armin76asac: ARMv4 without T = arm14:41
armin76armel = eabi, which requires thumb interworking14:41
armin76which is what T means14:41
asack14:41
asacbut what i am interested in is if someone would want to support that for lets say firefox?14:41
armin76what devices...well, old stuff: netwinder, cats14:42
asacso probably not14:42
asacwhat specs are we talking about there?14:42
armin76nailboard14:42
armin76the netwinder is 133mhz/128mb14:42
armin76Hostname: coral - OS: Linux 2.6.25/armv4l - Distro: Gentoo 2.0.0 - CPU: StrongARM-110 rev 4 (v4l) - Processes: 41 - Uptime: 283d 20h 46m - Users: 1 - Load Average: 0.08 - Memory Usage: 18.36MB/124.01MB (14.80%) - Disk Usage: 15.37GB/35.82GB (42.92%)14:43
armin76oh14:43
armin76HP Jornada stuff as well14:43
armin76the netwinder was a nice device back in 200314:44
armin76err, wait14:44
armin76its 275mhz, not 133 :)14:44
armin76asac: http://dev.gentoo.org/~armin76/arm/armhw.xml14:47
asacthx14:49
armin76thats just a list of hardware ppl at #gentoo-embedded have, its definitely not a list of all ARM hardware14:50
=== bjf-afk is now known as bjf
armin76asac: but anyway the most important armv4 devices are the netwinder, cats, and HP Jornada, but they're pretty old as of now, and debian has deprecated support for it anyway14:51
asacok. thats more than enough for now ;)14:52
asaclets look at the future!14:52
armin76asac: teh omgz, hows that ubuntu doesn't have latest pixman?! :D15:23
asacthats X topic15:23
armin76asac: quick!15:24
armin76asac: btw i'm not sure if you guys are going to have trouble with pixman on dove, as it gets built with -mcpu=cortex-a8 and -mfpu=neon15:26
armin76i'm no expert though15:26
armin76afaik it would fail it if gets built on a dove15:27
asacit also fails on bbg15:28
asacwe dont use NEON enabled kernels atm15:28
armin76fails to build or?15:28
armin76no point in using neon enabled kernels if dove isn't neon :)15:28
ojnToo bad they didn't announce any kind of dates. But sure, they were first to print a press release: http://www.marvell.com/armada/quadruple_core_arm_instruction_set/release/1363/19:36
armin76ojn: does your board have wifi? :)19:39
ojnarmin76: which board?19:39
armin76ojn: nettop19:39
ojnwell, yeah. and it worked in jaunty but not with karmic19:40
ojnhaven't had time to debug it, still have visiting family and a bunch of stuff going on at work19:40
armin76ojn: ah, i see, i remember about your dmesg :)19:41
tmadsenHi. I am using Ubuntu ARM as testing platform on a QEMU emulator. The emulator has 256MB of RAM, but I'm wondering: what are the minimum requirements for running Ubuntu ARM? (CLI only)20:49
MartynAfternoon all21:10
MartynWho here is most familiar with the PL340 (arm DRAM controller?)21:10
armin76asac: chromium+v8 built on armv7a, but it still fails on armv5te, i built the latter with debug, this is what it says: http://dpaste.com/141828/21:49
Martynarmin76: Are you familiar with how to bring up the DRAM controller?22:11
Martynthe PL340?22:11
ojnMartyn: Doesn't ARM have the configuration sequence in their documentation?22:15
armin76Martyn: i wish :/ sorry i can't help22:16
Martynojn : It does, but I'm looking for the code that does so in the linux kernel and not finding it22:16
Martynojn : I'm starting to think the only time the DRAM controller gets touched is during early system boot, in the bootloader...22:17
ojnwell, yeah22:36
ojnit's hard to configure the memory underneath yourself22:36
ojnespecially since you need DRAM up to load and run linux22:36
ojnSome ports do re-tuning of parameters, but that's a pretty scary thing to do (OMAP sometimes changes timings)22:36

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