/srv/irclogs.ubuntu.com/2012/10/02/#ubuntu-arm.txt

=== trelane_ is now known as trelane
=== int_ua_ is now known as int_ua
ppisatifor anyone with a real beaglexm: can you try today's daily quantal image?11:52
ppisatihttp://cdimage.ubuntu.com/ubuntu-server/daily/current/quantal-server-armhf+omap.img11:52
ppisatithanks11:52
bizulkppisati: have you updated kernel config with tidspbridge support ?12:08
ppisatibizulk: nope, busy dpoing other things12:57
ppisatibizulk: which kernel version are you running?12:57
ppisatibizulk: 3.2 or 3.5?12:57
bizulkppisati: 3.2.3012:58
ppisatibizulk: uhm ok12:58
ppisatiwilling to test quantal?12:58
ppisatibizulk: beagle right?12:59
ppisatihttp://cdimage.ubuntu.com/ubuntu-server/daily/current/quantal-server-armhf+omap.img12:59
bizulkppisati: is quantal 12.10 ?12:59
ppisatibizulk: yep12:59
bizulkppisati: yes if the tidspbridge is installed. Cause that would be the only reason I would be a"allowed" to.12:59
bizulkppisati: I am also experiencing some network init issue on the 12.04 : nm-applet does not apply configured profile13:00
ppisatibizulk: well, nm is userspace13:02
ppisatibizulk: if ifconfig shows the interface, we are good13:02
ppisatibizulk: actually i was looking for someone willing to do some testing on real hw13:02
ppisatibizulk: since we are facing a problem with usb13:02
bizulkppisati: I have a BB xM. But as I am in the office I 'can' only work on the dspbridge stuff, u know13:03
bizulkppisati: what's your PB with USB ? it seemed to work well (using a powered usb hub in my case)13:04
ppisatibizulk: ack13:04
ppisatibizulk: it's broken since 3.513:04
ppisatibizulk: still broken in 3.613:04
ppisatibut i wanted someone else to double check it13:04
ppisatiactually booting a precise 3.2 kernel everthing is ok13:05
ppisatiso...13:05
ppisatibizulk: anyway, remind me your lp bug13:05
ppisatibizulk: i'll do the config changes now13:05
bizulkhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/105802213:05
ubot2Launchpad bug 1058022 in linux "no tidspbridge support in kernel." [Medium,Triaged]13:05
bizulkppisati: I experience USB pb on standalone 3.6 kernels, but I thoughed It was because of my power supply (usb always restarting, until the CPU itstelf resets)13:07
ppisatibizulk: does it generate a /dev entry? which one?13:13
bizulk/dev/DspBridge13:14
bizulkppisati: crw-rw-rw- 1 1000 1000 251, 0 2011-08-31 13:24 rootfs/dev/DspBridge13:14
marvin24janimo: is the "tegra hw video decoder config bug" already fixed in some ac100 kernel image?15:06
marvin24ah, just saw http://kernel.ubuntu.com/git?p=jani/ubuntu-ac100.git;a=shortlog;h=refs/heads/packaging-3.115:08
marvin24sorry15:08
marvin24but still kinda wrong - did this even compile?15:08
janimomarvin24, I think the deb built fine15:09
janimomarvin24, I was told later that this change is not enough15:09
marvin24mmh, I think we also need CONFIG_TEGRA_AVP_KERNEL_ON_MMU15:09
marvin24ok15:09
marvin24I tested a kernel with both options enabled only15:09
janimocan someone build the package and provide the right config option changes?15:09
marvin24I will ...15:10
marvin24just a few secs ;-)15:10
janimocloning the repo, fdr clean, fdr editconfigs, debuild15:10
janimowhere fdr is fakeroot debian/rules and debuild the cross-build line15:10
* ogra_ would if it wouldnt take ages to pull the source package on my loaded line15:10
marvin24or use a script I wrote some time ago ;-)15:10
janimoogra_, that is why you should keep the git tree checked out and updated frequently :)15:11
janimoyou have a beefy machine, no excuse for not building kernels anymore15:11
ogra_pfft, i still stay away from git if i can15:11
janimoogra_, in this case you only need git clone, if you just want to check new stuff or do custom builds15:11
ogra_and i have a local mirror ... so i can just use source packages usually ... but not for univers15:11
ogra_e15:11
ogra_if marc has a local branch he will surely be faster15:12
marvin24ogra_: I have one15:12
marvin24but building without ccache is hell15:13
marvin24janimo: did you found out how to enable it?15:13
ogra_what are you building on ?15:13
marvin24x86_6415:13
ogra_well, same here15:13
janimomarvin24, I have a not-too fast core duo, which builds in maybe 30 minutes15:13
marvin24same here :-(15:14
ogra_i use to do heavy builds in ramdisks though, that speeds up things a lot15:14
janimonot sure if that qualifies as 'hell' for you though :)15:14
marvin24with ccache it takes less than 2 minutes15:14
ogra_without ccache it takes around 10 for me ...15:14
janimomarvin24, I believe you. Not sure why I never looked at why ccache did not work15:14
marvin24must have something to do with fakeroot15:15
xnoxogra_: picking up AC100 tomorrow 112GBP (139 EUR)15:29
ogra_hah, cool !15:29
marvin24ogra_: did akon reached you regarding the library name problem?15:41
ogra_marvin24, nope, i was one at 1:30 when he pinged me15:41
marvin24(sorry I'm just catching up with the backlog because of short time holidays)15:41
ogra_waiting for him to re-appear thugh15:41
ogra_you took a long weekend ?15:42
ogra_infinity, mind helping to explain the nvidia ld issue to srwarren (from nvidia) ?15:46
srwarreninfinity, could you detail the technical issues that the incorrect soname in the NVIDIA Tegra R16 libs?15:46
ogra_i fear i'm not as accurate as you can be :)15:46
srwarrenI know the names are wrong and what needs to be changed; I'm just trying to understand the exact implication of the current incorrect names15:46
ogra_it boils down to "that it currently works if you put the libs into /usr/lib is sheer luck)15:47
marvin24ogra_: yep, I measured the circumference of the Edersee15:47
ogra_if you put the libs into any different path thatrs not hardcoded in ld only ld.so.cache will be used ... in which we have the wrong SONAME15:47
srwarrenFor ldconfig, I think what will happen is that if libfoo.so's soname is libfoo.so, presumably ldconfig would simply not create any symlink since the file is already present under the expected name and move on15:47
infinitysrwarren: The libraries end up being uncacheable by ldconfig because the filenames and SONAMEs can't match.15:48
ogra_if they live in /lib or /usr/lib ld falls back to walk the path and actually look at the links too15:48
infinitysrwarren: This is a problem given that ld.so uses the cache to find libraries.15:48
marvin24janimo: kernel without CONFIG_TEGRA_AVP_KERNEL_ON_MMU crashed hard on video decode here15:48
infinitysrwarren: And yes, if things are in the "built-in" paths, then they get found the slow (cache-missed) way.15:48
infinitysrwarren: So, the best way to look at it is that it's a performance hit.  The worst way to look at it is that all the SONAMEs are wrong, and that's just plain, well, wrong. ;)15:49
marvin24janimo: it is also enabled in tegra_defconfig and I want to stay as close as possible to downstream15:49
srwarrenWith the current sonames, don't the filenames and sonames always match? Oh, I guess you're renaming the files in the Ubuntu package so that apps with DT_NEEDED=libfoo.so.1 can actually find the library?15:49
infinitysrwarren: Yeah, everything with a NEEDED it looking for the correct SONAME, which isn't in the library.15:49
infinitysrwarren: So, we get a cache miss, then start walking the filesystem.15:50
ogra_srwarren, no, we put the libs into /usr/lib/nvidia-tegra and the SONAMEs end up in the cache ...  i.e. libEGL.so ... GLES apps are built to look for libEGL.so.115:50
infinitysrwarren: It's not about us renaming them.  It's about the fact that they need to exist by those names. :P15:50
srwarrenOK, so the entries in /etc/ld.so.conf.d (or whatever the file is) only get used to build the cache, and not as part of the fallback searching15:50
ogra_right15:51
infinitysrwarren: Right, because parsing a conf.d directory when loading every single binary on your system would be, well, dumb.15:51
ogra_srwarren, but even if that wouldnt be an issue ... the first GLES app you would build on a system with the drivers installed would have completely broken linking15:51
srwarrenright, that's the part I already understood15:52
infinitysrwarren: Anyhow, I'm trying to decide which bit you're asking me to explain.  If you want to know why the SONAMEs are wrong, or why attempts to work around it suck?15:52
ogra_afaik for libEGL.so as well as for libGLESv2.so the sonames are actually standadized15:52
ogra_rsalveti, might know :)15:52
srwarrenI know exactly why the SONAMEs are wrong; I was trying to understand what practical impact that had. I'd only deduced the application-compilation issue so far, not the searching issue15:52
infinityAhh, yes.15:53
infinitySo, yeah.  If we ship everything in /usr/lib, is kinda works due to the cache-miss->directory-walk thing.15:53
srwarreninfinity, so when the files aren't found in the cache, and ld.so falls back to searching e.g. /usr/lib, how does it find the files even then, if they still have the wrong soname and filename?15:53
janimomarvin24, I agree with staying close to defconfig downstream. Just that I not always sync up with defconfig in the package, at least some bits are not needed or incorrect in ubuntu (lzo) so I tend to drop more15:54
ogra_srwarren, it doesnt :)15:54
infinitysrwarren: Because we symlink the correct SONAME to them.15:54
infinitysrwarren: And then it find them by filename.15:54
srwarrenok, that makes sense - there's a workaround to make it work15:54
infinityogra_: Don't ask me to explain things and then jump in with contradictory statements. ;)15:54
ogra_oh, i misread15:54
ogra_lol, sorry15:54
ogra_didnt mean to, i just read something completely different15:55
infinitysrwarren: Yes, our workaround for now is to symlink stuff from /usr/lib (or something else on the path)15:55
ogra_but thats nothing we can do in a package15:55
infinitysrwarren: But that's still pretty wildly less than ideal, if you guys can actually fix the SONAMEs.15:55
infinityogra_: Well, we *can*... We really shouldn't.15:55
ogra_yes15:56
infinity(And I probably won't accept it in the archive...)15:56
infinityBut, y'know.  You can upload it.15:56
marvin24janimo: that's fine, but you can check my paz00_defconfig against the latest you used for the last package15:56
srwarrenI guess this is because the multi-driver co-existence stuff is based on putting entries into the ld.so cache-building path list, rather than using the alternatives system on the .so filenames themselves15:56
marvin24janimo: that should be a pretty short diff15:56
infinitysrwarren: Using alternatives on .so doesn't make much sense, since we don't install .so files except with -dev packages...15:57
srwarrenWell, *.so.115:57
stuwmarvin24, janimo - https://bugs.launchpad.net/ubuntu/+source/linux-ac100/+bug/105986615:57
ubot2Launchpad bug 1059866 in linux-ac100 "video hw acceleration still dont work" [Undecided,Confirmed]15:57
infinitysrwarren: And yeah, we use alternatives on the ld.so.conf instead of on the files.  Correct.15:58
infinitysrwarren: Which is actually much more manageable.  If all the libraries work. ;)15:58
srwarrenyes, I can see that scales a lot better with multiple libs15:58
infinityJust a lot less error-prone, really.15:58
infinityAdding and removing alternatives and slaves for a ton of stuff makes people go cross-eyes, no matter how awesome the syntax-hilighting.15:59
infinitys/cross-eyes/cross-eyed/15:59
bizulkppisati: hi. I saw my bug update. As soon as possible I take a look at this16:02
janimomarvin24, stuw ok I'll have a look. It's just that yesterday's suggestion was a one line diff as well but was not enough16:07
janimoit's just that I do not use the ac100 and have testcases to check various features so I will mostly blindly do whatever I am asked by others who actually use the machine :)16:08
janimoideally those people would take care of kernel packaging too but I am asking too much (hint hint)16:09
janimo;)16:09
ogra_janimo, well, it was discussed on and off in #ac100 what options need to be on :) you could have fished it out of your backlog16:10
stuwjanimo, http://paste.ubuntu.com/1256243/ - .config after make ARCH=arm paz00_defconfig16:10
janimoogra_, I haven't logged in ac100 in many months, also as a cosequence of it mostly being low signal to noise for what I was interested in back then16:11
ogra_well, that changed16:11
ogra_there is still a lot of noise but currently thats all ac100 noise16:12
marvin24ogra_: not noice, hifi sound!16:13
marvin24*noise16:13
ogra_oh, yeah, compared to the last 6 months this current hype is hifi16:13
infinityHahaha.16:14
* marvin24 still wonders why people are still interested in 2 years old machines16:15
infinityLikely due to the lack of decent ARM netbooks.16:16
ogra_yeah16:16
infinityI just want a reasonably speedy one with a non-Android en_US keyboard.  Some day...16:16
ogra_you can still buy it and its still cheap16:16
lilstevieI like my transformer for that reason, running ubuntu it makes a nice ARM netbook16:16
ogra_and with the 1280x720 display and the internal UDB disk its now gotten really uasble16:17
ogra_*USB16:17
infinitylilstevie: Yeah, but the transformer keyboard makes me die a little inside.16:17
ogra_oh yeah16:17
ogra_not just a little16:17
lilstevieinfinity, why?16:17
infinitylilstevie: Well, (a) Android layout, and (b) it's just not a nice keyboard to type on.16:17
* ogra_ also doesnt like the shape ... since i have my zatab i use that more than my transformer 16:17
ogra_less sharp corners on the case etc16:18
ogra_even though the zatab is classes slower16:18
lilstevieinfinity, old style or new though, android layout is a pity, but I don't really look at the keys, and I have altered the keymap16:18
ogra_(these A10's are really not made for multitasking)16:18
lilstevietyping though I find it a bit better than my macs bt keyboard16:18
lilsteviethe tf101 keyboard was nowhere near as nice though16:19
* ogra_ really likes the ac100 kbd16:19
ogra_the low resolution bothered me for actual work, but i fixed that :)16:19
lilstevieI wish the tf201 was a bit higher resolution16:20
lilstevie1280*800 is nice, but it could be better16:20
ppisatibizulk: fix was committed, when the next kernel is but i'll be in16:20
* ogra_ is happy with 1280x72016:20
infinityI'd probably pay the Thinkpad brand premium for an ARM netbook with a Lenovo keyboard.16:20
ppisatibizulk: *kernel is cut16:20
bizulkppisati: sorry you mean "next kernel is built I keep you informed" ?16:21
lilstevieinfinity, I wonder whatever happened to that Lenovo transformer like T3 tablet16:21
ppisatibizulk: no, it means next Precise kernel upload will contain the fix16:23
bizulkppisati: How can I know when it's done ?16:23
ppisatibizulk: sudo apt-get update upgrade16:24
bizulkopps sorry16:24
bizulkwith update-alternative cmd I can select the kernel release I want (including the unofficial one) ?16:25
infinitykernels don't use alternatives, no.16:26
=== jimerickson is now known as Guest56016
=== nrirclog422 is now known as nrirclog
ogra_janimo, do you actually look over the linux-ac100 buglist sometimes ?18:59
ogra_bug 961302 seems valuable if you dont want to upload for a single config change :)19:00
ubot2Launchpad bug 961302 in linux-ac100 "[AC100] Request HID Waltop kernel module for Waltop tablet" [Undecided,New] https://launchpad.net/bugs/96130219:00
janimoogra_, no I did not look at the buglist recently19:21
janimoI'll look into them19:22
janimoI added some more modules in a recent upload but still far from what stock ubuntu kernel has19:22
janimoogra_, git has a bright future19:22
janimojust sayin ;)19:22
marvin24janimo: I fixed the fuse cannot be loaded bug21:42
marvin24https://bugs.launchpad.net/ubuntu/+source/linux-ac100/+bug/106005021:42
ubot2Launchpad bug 1060050 in linux-ac100 "Can't mount ntfs volume" [Undecided,New]21:42
marvin24you may pull my tree again21:42
ogra_\o/21:42
janimomarvin24, ok21:42
ogra_such a wondeful bug21:42
ogra_really deserves a printout and a frame :)21:42
ogra_(not the LP bug, the code issue indeed)21:42
marvin24in fact, renaming arch/arm/mach-tegra/fuse.c fixed it21:43
ogra_haha21:44
marvin24if a kernel parameter is created21:44
marvin24a file in /sys/module/<filename>/parameters/... is created21:44
marvin24where filename is "fuse" in this case21:44
marvin24so the filesystem fuse driver cannot register anymore, because the sysfs entry is used already21:45
marvin24took some time to find this ...21:45
ogra_yeah, great catch21:47
atc3030could someone aid me in porting ubuntu to the tf70022:00
VarmVaffelanyone used linux target image builder here?22:05
VarmVaffelor LTIB as it's called22:05
VarmVaffelI'm wondering how I can set the --build parameter there22:05
VarmVaffelor mach type22:05
VarmVaffelon the make22:06
* ogra_ never heard of it22:06
VarmVaffelFreescale uses it for their CPUs22:06
=== Quintasan_ is now known as Quintasan
=== Ursinha is now known as Jorjao
=== Jorjao is now known as Ursinha

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