/srv/irclogs.ubuntu.com/2012/03/09/#ubuntu-arm.txt

smp4488im trying to install the omap3 sgx drivers on 12.04, here is the output http://paste.ubuntu.com/875606/05:05
smp4488obsoleted or only available from another source?05:05
* micahg hugs janimo`, maybe we'll get chromium and ghc on armhf on the ssame day09:48
janimo`would be nice. But until I see them both successfully built I am not celebrating :)09:49
* janimo` hugs micahg back09:49
=== amitk is now known as amitk-afk
brendandi guess it's not normal that to get the 'correct' resolution on a pandaboard with a hdmi -> dvi cable you need to boot it with the cable connected to the panda's dvi socket and then switch over to hdmi to get the actual picture10:57
brendandif i boot with it connected to the panda's hdmi socket then i get a 'squashed' image10:58
brendandand why is it just shutting off after a few minutes?11:09
ogra_brendand, how do you power the board ?11:24
ogra_should at least be a 3A (better 4A) 5V supply11:25
brendandogra_, 5v straight to the wall11:25
brendandogra_, has always been working fine11:25
brendandmaybe it's too much? should i switch back to usb power from my laptop?11:26
ogra_that doesnt mean much if power consumption changed due to driver changes :)11:26
xranbybrendand: do your monitor support "p" resolutions?11:26
brendandxranby, meaning?11:26
xranbybrendand: it might be that your monitor only support interlaced resolutions11:26
ogra_how many amps does your PSU have ?11:26
brendandogra_, well, it's still a USB cable, but it goes into a wall socket11:27
xranbybrendand: which of these resolutions do your monitor support? 720p, 1080i, or 1080p11:27
brendandxranby, none of those?11:29
brendandaccording to xrandr on my laptop11:29
brendandbut that's probably not true11:29
ogra_then the squashed image might be normal, depending on what exactly the EDID of the monitor supplies to the driver11:29
brendandthat's just the vga outputs11:30
ogra_and if the driver can support that11:30
brendandogra_, oh, the squashed image is secondary - i can get over that11:30
brendandogra_, it's the power off that's bothering me11:30
ogra_well, you should find out how many amps your PSu actually offers to the board11:30
brendandhappens a minute or so after login11:30
ogra_below 3A you will get probs if you have any USB devices attached11:31
ogra_usually a non Y USb cable doesnt provide enough11:31
brendandogra_, i don't have an ammeter unfortunately11:31
ogra_(i think its 500-750mA per USB line ...11:32
ogra_)11:32
brendandogra_, the wall plug is definitely 5v11:33
ogra_sure, else you wouldnt be able to plug USB directly into it11:33
ogra_but whats important is the power11:33
ogra_if you power the panda through plain USB i wouldnt even bother to try running any desktop image on it11:34
ogra_and even headless will get issues once the kernel powered up all devices11:34
brendandogra_, so here's the full deal. i have a usb cable with one end USB and one end 5v connector11:39
brendandogra_, i also have a wall adapter from a kindle11:39
brendandogra_, which is 5v11:39
ogra_the voltage is ireelevant11:40
brendandogra_, so i have two options, one is to plug the usb cable into my laptop, the other to plug it into the wall adapter11:40
brendandogra_, if i plug it into the laptop it stays on11:40
brendandogra_, if i plug it into the wall adapter it powers off11:40
brendandso i have got my workarounds now, but things have definitely changed11:41
ogra_right, both will not provide enough power, one just stays a bit more stable11:41
ogra_seriously, get a proper PSU11:41
ogra_powering through USB will have unpredictable sideefects and you wont be able if the issues you see have to do with SW or power11:42
ogra_a single USB cable *cant* provide enough power for a panda11:42
ogra_s/abel/able to tell/11:43
brendandogra_, you're probably going to smack me down for this, but it is possible the cable itself is not a USB cable but just has a USB connector on one end?11:46
ogra_unlikely11:48
brendandalthough you've made it quite clear that the optimal setup is to have a proper 5v PSU, with no hint of usb-ness about it11:48
ogra_you can run the board headless with an Y-USB cable, that will just provide enough power to run a headless system without any attached USB devices11:49
ogra_if you run a desktop and use a USB kbd and mouse as well as the builtin USB NIC, you *need* more than 2A11:50
brendandogra_, ok, so this is the cusp of the problem. you'll be shocked to know i don't have much electrical training11:51
brendandso the wall plug is actually only 0.35 Amps11:51
ogra_you dont need any electric training11:51
ogra_just make sure your HW fulfills the needed specs11:52
brendandok, i'll rephrase it. i haven't a f*ing clue11:52
ogra_let me give you a clue then: buy a >2A 5V power supply11:53
ogra_(and note they are expensive, unlikely you get one for less than $15-20)11:53
ogra_even your way to power from the laptop wont gain you a stable platform11:54
ogra_(even though it doesnt shut off immediately)11:54
brendandno, but for now it's working (mostly) until i get a proper PSU11:54
brendandwhich i will11:55
ogra_ringht, just dont ask about bugs until you have stable HW11:55
ogra_since the low power makes it totally unpredictable if there is actually a SW bug11:55
brendandi wasn't aware of the required ampage, so now i know what might cause any strangeness11:56
ogra_right :)11:56
sledgeszyga, I ran the built from sources kernel on imx53 finally12:03
zygasledges, and?12:04
sledgess/ran/successfully ran/ :)12:04
sledgesyou need to use identical toolchain12:04
sledgesto that of the working binary12:04
sledgesthere's also a patch to work with gcc4.6.2 (failed in my research so far, but there are still things to try), 1 moment...12:06
sledgeshttps://build.pub.meego.com/package/view_file?file=000-kcflag-mno-unaligned-access.patch&package=kernel-adaptation-n900&project=CE%3AAdaptation%3AN900&rev=9cdc38022e14fe78051a2e799587a37512:06
xranbyhmm why are this patch not part of the ti omap4 kernel tree? http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7178/112:15
zygasledges, does sata work for you?12:17
sledgesyes12:17
zygasledges, I suspect my board is simply broken12:17
zyganot soldered right or something12:18
sledgesI had sata working fine with that kernel - did you try that kernel?:  http://cdimage.ubuntu.com/releases/oneiric/release/ubuntu-11.10-preinstalled-desktop-armel+mx5.img.gz12:18
sledgesbreak in uboot and override bootargs with rootfs-on-sata12:19
sledgesi tried other ~5 kernels from different sources (linaro, ltib, 2.6.35/38), none of them worked (or halting after decompress or not enumerating SATA)12:21
sledgesso don't give up :) and give it a last shot, zyga12:21
zygasledges, I cannot try right now, that device is production12:22
zygasledges, I'd need a new IMX from linaro12:22
zygathis one is personal12:22
sledgesproduction? IMX from linaro - you mean HW? I thought Linaro provide only SW BSPs12:23
zygasledges, I mean I'm using this imx to do stuff 24/7 and I cannot tinker with it12:23
zygasledges, linaro as my host/employer so that I can use it for my linaro-work12:24
sledgeszyga, understood ;)12:24
sledgeswell, good luck and keep in touch!12:24
zygasledges, I need panda es, origen, and imx53 from the last gen lineup12:24
sledgeswow, smoking! :)12:24
=== amitk-afk is now known as amitk
xranbyjamespage: ping i will try if that patch improves the https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/845158 situation12:32
ubot2`Launchpad bug 845158 in openjdk-6 "Frequent java task hang on ARM server" [Undecided,Confirmed]12:32
xranbyjamespage: this patch applies cleanly http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7178/1 on the ti omap4 kernel tree12:32
xranbyi am compiling my own kernel using it12:33
marvin24any idea if /sys/class/power/battery/current_now is allowed to return a negative value (to show the battery is discharging)?12:40
marvin24upower seems to apply abs() to it, but other power daemons seem to assume only positive currents12:41
marvin24I failed to find any documentation about the required values (beside that the field is signed int)12:41
danboidI've installed 11.10 on my pandaboard but what I think is gdm isn't letting me log into anything but Unity even though XFCE, fluxbox are listed and supposedly chosen15:46
danboidI'm choosing 'Other' on the login screen15:46
danboidthen I pick say XFCE, login - Unity!15:47
danboidHave I go to replace gdm with kdm or another display manager?15:47
ogra_gdm wasnt used in a while in ubuntu15:48
ogra_so that might be a gdm specific bug15:48
danboidogra_, I'm just using the default display manager in 11.10 - I was just presuming it was gdm15:49
ogra_no, thats lightdm15:49
danboidogra_, So this looks like a lightdm bug then15:49
ogra_and it should just give you the right login (it surely does here)15:49
ogra_is your ~/.dmrc not writable or some such ?15:50
danboidIts writable15:51
danboidI've tried logging into Unity 2D, XFCD15:51
danboidXFCE and fluxbox with no luck15:51
danboidI'm new to lightdm so15:52
ogra_its not different from gdm in behavior15:52
ogra_just smaller :)15:52
ogra_it checks the available sessions, updtaes dmrc and runs the session from there15:53
danboidMaybe I can fix it by editing .dmrc?15:53
danboidor how do I force it to update .dmrc? It doesn't list all the desktop/wms in there at,15:54
danboidatm15:54
ogra_do both (flux and xfce) have sessions in /usr/share/xsessions ?15:54
ogra_iirc thats what gdm and lightdem check for nowadays15:54
danboidYeah - I've got 6 files in there now15:55
danboidinc ones for XFCE and Flux15:55
ogra_check if they have proper Exec lines15:55
ogra_and if tehse executables actually exist15:56
ogra_you can edit dmrc if you want15:57
ogra_Session= needs the name of the .desktop file in /usr/share/xsessions you want to use i think15:57
=== zyga is now known as zyga-afk
=== zyga-afk is now known as zyga
shadeslayerhey guys, just wondering, how do you test build your ARM packages?18:09
ogra_like we test build our x86 packages18:12
shadeslayerogra_: pbuilder? But how do you specify you want a ARM pbuilder?18:16
shadeslayerI can make x86 and x86_64 pbuilders, and I was trying out qemubuilder last night, but that just refused to work18:17
xranby_ac100jamespage: ping18:17
GrueMastershadeslayer: We build our packages natively on arm platforms.18:17
jamespagexranby_ac100, hey!18:17
xranby_ac100jamespage: hi18:17
shadeslayerGrueMaster: right, but what if I don't have one of those? :)18:17
micahgjanimo`: \o/ chromium on armhf18:17
xranby_ac100jamespage: i might have found a fix for the server stalls under heavy load18:17
ogra_shadeslayer, i dont use pbuilder but there are knobs and switches iirc to make it run with qemu-arm-static18:18
GrueMastershadeslayer: Not sure what to tell you, other than maybe buy one?  They are fairly cheap.18:18
jamespagexranby_ac100, great!  I saw you note earlier - how did that work out?18:18
xranby_ac100jamespage: from the limited testing i have done so fair... looks promising.. but i need to run more tests to be sure.. i am using a patched kernel for my ac100 here18:19
shadeslayerogra_: there's a qemu-system-arm18:19
ogra_shadeslayer, you want qe,u-user-static18:19
shadeslayeroh18:19
xranby_ac100jamespage: is there some quick way you can cross compile a kernel using xdeb??18:19
shadeslayerogra_: what's wrong with the former?18:19
ogra_that runs a full vm18:19
xranby_ac100jamespage: i was really hoping to check if you had had any chance to run any tests18:20
ogra_anywayx, i only know there is an implementation in pbuilder that uses it, i have no idea at all how that works or how you use it18:20
shadeslayeroh cool18:20
shadeslayerI'll look into it18:20
shadeslayerthanks ogra_18:21
ogra_welcome :)18:21
GrueMasterxranby_ac100: What tests are you running that are causing stalls?  I'd like to run them here, as I am working on workload testing on arm server.18:22
xranby_ac100GrueMaster: my test are to run the jogamp jogl unittests18:23
ogra_cp 1TB file from mmcblk0p1 to mmcblk1p1 :)18:23
xranby_ac100GrueMaster: let me give you a link to how to build and run them18:23
shadeslayerwould probably have been easier if my Transformer had a proper SBK version ... *grumble*18:24
GrueMasterThat would be great.18:25
xranby_ac100GrueMaster:  http://www.trimslice.com/forum/viewtopic.php?p=1804&sid=f05c252a82821fdd7d3924941c1bfb78#p180418:26
xranby_ac100when gluegen and jogl are build then run     sh scripts/make.jogl.all.linux-armv7.sh junit.run18:26
xranby_ac100to start the unittests18:26
xranby_ac100when i test on my pandaboard running oneiric i can trigger a stall within 10min18:27
xranby_ac100a stall means that the process gets stuck in some kernel lock   and    ps ax   also stall when trying to list processes18:28
xranby_ac100GrueMaster: my panda dmesg looks like this http://paste.ubuntu.com/875835/18:28
xranby_ac100what i hope are that this patch http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7178/118:29
xranby_ac100might fix it.. both the ti omap kernel trees and the ac100 kernel tree are missing this patch18:29
xranby_ac100its merged into linus git tree upstream18:29
GrueMasterInteresting.  Do we have a bug against the kernel for this?  it should be possible to get it in for precise kernel.18:30
GrueMaster(if it isn't there already).18:31
jamespagexranby_ac100, I can run some tests that load up things quite well - yes18:32
xranby_ac100GrueMaster: we have an old bug not yet pinned to the kernel https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/84515818:34
ubot2`Launchpad bug 845158 in openjdk-6 "Frequent java task hang on ARM server" [Undecided,Confirmed]18:34
xranby_ac100GrueMaster: i have been looking high and low for a better testcase18:35
* prpplague grumbles about how buggy his ubuntu desktop has been since it has been updated18:35
xranby_ac100GrueMaster: this issue poped up adain frequently when i was testing the opengl-es bindings with the jogamp community18:38
xranby_ac100the best test i have are to run the jogamp unittests on a panda18:38
xranby_ac100you can also pick one test and run it 100 times in a row18:39
GrueMasterxranby_ac100: Looking at our 3.2 kernel git tree, I am not seeing this patch applied.  Oddly, the link says it is in 3.2-rc3 (unless it is the x86 version of the patch only).18:39
xranby_ac100GrueMaster: when i checked today its not applied in any ofthe panda 3.1 and 3.2 tree18:39
xranby_ac100s18:39
GrueMasterI'm always looking for new and interesting tests I can automate.  I'll see if I can get this test scripted and automated.  I'll also file a kernel bug for this patch.18:40
xranby_ac100GrueMaster: it are found upstream here http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=history;f=arch/arm/mm/fault.c;h=bb7eac381a8e60f619591e7c80c4ad30cc972d62;hb=HEAD18:42
GrueMasterExcellent, thanks.  I'll update my local ubuntu kernel git tree and double check, then if it isn't there, I'll file a bug and add this link.18:43
GrueMasterThere.  bug 951043 filed.18:56
ubot2`Launchpad bug 951043 in linux-ti-omap4 "Port OOM changes into do_page_fault for arm" [Medium,New] https://launchpad.net/bugs/95104318:56
GrueMasterI didn't add the ac100 or mx5 kernels.18:57
xranby_ac100GrueMaster: thanks a lot, poke me if you for some reason fail to build jogamp19:51
GrueMasterWill do.19:54
pbuckley syntax error: unknown user 'puppet' in statoverride file20:30
pbuckleyi always forget what causes this20:30
pbuckley(dpkg)20:31
=== zyga is now known as zyga-weekend
infinitypbuckley: Pretty much exactly as it sounds.  Someone's done a dpkg-statoverride to make something owned by "puppet", but the user doesn't exist.20:33
pbuckleyprobably from the puppetlabs package for puppet.. and apt-get purge didnt clean it20:34
pbuckleyhow do i fix it?20:34
pbuckleyCan't exec "/tmp/lightdm.config.24521": Permission denied at /usr/share/perl/5.14/IPC/Open3.pm line 186.20:35
pbuckleyalso been seeing this20:35
pbuckleymaybe its time i start over from a fresh flash20:36
infinitySimplest method would just be to create a puppet user before trying to remove those packages that seem grumpy, and then delete it.  Otherwise, you can fix the actual statoverride in question.20:36
pbuckleyah good idea20:36
pbuckleythat seemed to fix the override20:38
pbuckleyso im assuming that exec issue comes from /tmp being mount noexec20:38
pbuckleywhich i did because it was complaining about mount -o remount,exec20:38
pbuckley(and at the time /tmp wasn't a seperate mount)20:39
infinityWe don't support noexec tmp by default.20:39
pbuckleyhrmm.. seemed to want it that way at one point20:40
infinity(dpkg, as you note above, unpacks various scripts and runs them from tmp)20:40
pbuckleyill set it back20:40
infinityThere are ways to change that, and have dpkg use other directories, I believe.20:40
infinityWell, I suppose you could just run apt/dpkg with a different TMPDIR set.20:40
pbuckleyUpdating software catalog...this may take a moment.20:41
pbuckleyWARNING:softwarecenter.db.update:The file: '/usr/share/app-install/desktop/kde-telepathy-send-file:kde4__ktp-send-file.desktop' could not be read correctly. The application associated with this file will not be included in the software catalog. Please consider raising a bug report for this issue with the maintainer of that application20:41
pbuckleyall sorts of new errors this morning20:41
pbuckleyheh20:41
pbuckleyyeh removing the /tmp mount fixed the issue20:41
pbuckleynow its just a directory20:41
infinityThe software center thing is a bug, not your problem. ;)20:42
pbuckley\o/20:42
pbuckleyi like those20:43
electrogluecan someone tell me if ubuntu-omap4-extras is available for pangolin?21:17
GrueMasterelectroglue: I don't think TI has pushed them up yet.21:20
infinityMost of the bits are in their experimental PPA, but it requires the kernel from the oneiric PPA to work, if I recall.21:22
infinityelectroglue: ^21:22
janimo` micahg and ghc too \o/21:26
infinityjanimo`: You've had a fruitful week. ;)21:27
janimo`infinity, yes, in hindsight it could have been a fruitful single day had I paid more attention and panda had not locked up21:28
infinityjanimo`: Meh, hindsight is like that.21:28
infinityjanimo`: Did you end up going the "mangle ghc" route, or "make llvm have sane defaults" route?21:29
janimo`infinity, the sed-patch route. Without the clean rule :D21:29
infinityYou sick man.21:29
janimo`since it is temporary :)21:29
janimo`well. If I had touched m4 code I'd just be sicker now, so it was the right choice21:30
infinitym4 isn't that painful21:30
GrueMasterNeither is pulling nostril hairs with vise grips, but why try.21:31
infinity... I've done that.21:31
* GrueMaster is the lease bit surprised.21:31
GrueMaster*least21:31
infinityAnd s/is/isn't/ ?21:32
infinityI think Friday afternoon has taken hold of your fingers. ;)21:32
GrueMasterExactly.  I hear my neighbor mowing his lawn, and see blue sky outside my basement window.  Thoughts lie elsewhere.21:33
infinitySwimming in an pool filled with beer?21:33
electroglueinfinity: so using an oneric kernel really means that the packages aren't available for pangolin correct? I'm looking for hardfp and omap4 extras to be available with the kernel provided by pangolin21:42
infinityelectroglue: Yeah, as far as I know, that's "soon, but not yet".21:42
pbuckleyi feel your pain GrueMaster, it is beautiful outside.. blue skys.. i see the ocean outside my window21:43
pbuckleyreally hard to focus on work21:43
=== yofel_ is now known as yofel
pbuckleystupid question.. what generates /var/run/motd?22:47
GrueMasterProbably motd?22:54
GrueMaster(just a wild guess).22:54
infinitypbuckley: See /etc/update-motd.d/*22:54
infinitypbuckley: Mashed together by pam_motd22:55
pbuckleyawesome thank you22:55

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