/srv/irclogs.ubuntu.com/2011/06/06/#ubuntu-arm.txt

dcordesMrCurious: serial port ?00:01
MrCuriousyes00:02
MrCuriousa bluetooth serial port00:02
MrCurioushttp://www.satistronics.com/serial-port-bluetooth-module-masterslave-hc05_p2863.html00:04
MrCuriousworks fine with Mac00:04
MrCuriousthey are very nice modules for connecting serial devices wirelessly00:07
MrCuriouslike AVR's, MSP's00:08
dcordesdo you think that's a problem specific to ubuntu arm on the device ?00:09
MrCuriouswell, i imagine first step would be checking the os for the os prescribed method of associating00:14
MrCuriousthen drop to the device to see if its wired wrong.00:15
MrCuriouswouldn't you agree?00:15
dcordesMrCurious: I fear I am not following00:20
MrCuriousi am saying wouldnt you look to how something is done in the os before declaring  the motherboard at fault?00:20
MrCuriousin otherwords, until i learn how ubuntu would associate with a bluetooth serial device, there is no sense pointing fault at the hardware00:21
MrCuriousif the answer is ubuntu has no concept of bluetooth then i can move on00:21
MrCuriousdcordes: never mind, i think there is a language translation issue at play here, and i dont wish to frustrate you00:24
dcordesMrCurious: oh sorry, I didn't mean to say it is a hardware problem. let me restate: did you try that serial connection in a different environment ?00:27
dcordesMrCurious: or: did you ever have a working bluetooth connection on your pandora board in ubuntu ?00:28
dcordes(maybe something more trivial like blueooth hid device00:28
MrCuriousthe module has been tested working with mac osx00:29
MrCuriousdiscoverable, pairable, and serial communications tested working00:29
MrCuriousyes, so the only unknowns are ubuntu on pandaboard00:30
MrCuriousall else tested previously working00:30
MrCuriousapologies for not stating that or stating it clearer :) i am juggling too many things00:30
* persia points at irclogs.ubuntu.com for logs of this channel00:34
dcordespersia: ok thanks00:34
dcordespersia: maybe orga can put a reference in the topic00:34
persiadcordes, I don't know where the bug needs to be filed, but my recommendation would be to dig through the library docs, and find out what is supposed to check the environment variable: make sure that is loaded.00:34
dcordesMrCurious: unfortunately I am not very familiar with bluetooth at all, just trying to check if you have a working test environemnt and are narrowing down the error00:34
=== persia changed the topic of #ubuntu-arm to: Ubuntu ARM Discussion & Development | https://wiki.ubuntu.com/ARM | Submit a Bug? https://bugs.launchpad.net/ubuntu/+filebug | Get Natty while it's hot ! http://cdimage.ubuntu.com/releases/11.04/release/ | Logs at http://irclogs.ubuntu.com/
MrCuriousthats fine. i was just asking to see if anyone knew how to get the bluetooth associate with device dialog up00:35
persiaMrCurious, I'm certain that ubuntu-11.04-preinstalled-netbook-armel+omap4.img.gz isn't corrupt, as I used it to install a panda :)00:35
* MrCurious nudges someone to remove the 11.04 omap4 image, its broked00:35
MrCuriousi tried it on multiple sd's00:36
MrCuriousmultiple machines to burn it, multiple procedures00:36
persiaDid you check the checksums of your download?00:36
persiaIt really worked for me.00:36
MrCuriousdoesnt TCP guarantee error free transmission00:36
dcordespersia: nice00:36
persiaTheoretically.  In practice, not so much.00:36
dcordespersia: http://doc.qt.nokia.com/main-snapshot/qapplication.html#setGraphicsSystem found this00:37
MrCuriousi could try it again.00:37
MrCuriousbut it seems many are having issues00:37
persiadcordes, That looks like a good place to start.00:37
MrCuriousfrom the mail lists00:37
persiaAs you like.  It worked for me.00:37
dcordespersia: worst case I could grep the unity-2d-* code for setGraphicsSystem and default to native00:38
persiadcordes, I very strongly disbelieve that the unity-2d-* code has anything to do with that: it's very likely to be something with Qt00:38
persiaI may be wrong though :)00:40
dcordespersia: the thing that makes be believe they should take the QT_GRAPHICSSYSTEM env var is that they do read the -graphicssystem switch00:40
MrCuriouspersia: while i am re-downloading it, do you by chance have any experience with bluetooth devices in ubuntu :)00:41
persiaDo you think that is being done by unoty-2d, or automatically because unity-2d instantiates qapplication?00:41
dcordese.g. "unity-2d-launcher -graphicssystem=native" will give me native graphicssystem while "QT_GRAPHICSSYSTEM=native unity-2d-laucnerh" will not00:41
persiaMrCurious, Far too much, sadly.  I have no idea if the bluetooth device the panda claims to have works (I think there's no antenna, and I haven't played with it).00:41
MrCuriousit has a onboard ceramic00:42
MrCuriousi can turn on bluetooth00:42
MrCuriousbut i dont know where to go to get the list of bluetooth devices to pair with00:43
persiaUse any of the bluetooth management tools.  What's your environment?00:43
persiaIf it's the netbook environment you're currently downloading, you'll get a bluetooth indicator when bluetooth is available, and can launch the discovery widgets from there.00:44
dcordespersia: I don't know. I will download the code00:44
persiadcordes, Makes sense.  Someone might have overridden the default to force 2D, although that seems unfortunate to me.00:44
persiadcordes, But if you don't find it, don't be discouraged: it may be something about how qapplication is instantiated, etc.00:45
dcordespersia: not sure what qapplication is00:45
dcordespersia: I will just stupidly grep for the setGraphicsSystem00:45
persiaQApplication: http://doc.qt.nokia.com/main-snapshot/qapplication.html : the parent class for most Qt applications.00:46
persia(you may already have this page open)00:46
dcordesah right :)00:47
dcordespersia: why do you think it's unfortunate ?00:54
dcordespersia: at least they had a reason for it :00:54
dcordes    /* Forcing graphics system to 'raster' instead of the default 'native'00:54
dcordes       which on X11 is 'XRender'.00:54
dcordes       'XRender' defaults to using a TrueColor visual. We do _not_ mimick that00:54
dcordes       behaviour with 'raster' by calling QApplication::setColorSpec because00:54
dcordes       of a bug where black rectangular artifacts were appearing randomly:00:54
persiaThat would be unfortunate because of a choice to work around a bug rather than fixing it.00:55
dcordesoh that makes sense00:56
persiaThe more so because it causes other problems (like the one you are experiencing)00:56
dcordeswell it seems they fixed that bug already because running with the native works just fine on my device00:56
persiaWe have no idea.  There's no documentation of the bug, nor the environment in which it was produced.00:56
dcordesmaybe I should let them know via https://bugs.launchpad.net/unity-2d/+bug/73414300:57
ubot2Ubuntu bug 734143 in unity-2d "Black rectangular artifacts appearing when opening a few launcher contextual menus" [High,Fix released]00:57
dcordesthe url is from above comment00:57
persiaOh, there was a URL!  Excellent.  That's doing it right.00:57
dcordesstatus: In Progress → Fix Committed00:58
persiaI'd recommend getting someone to try it on a macbook pro 7.1 with -gtgraphicssystem=native00:58
persiaMaybe it's something unique to that hardware, or something in that render path, etc.00:58
dcordesI wonder if by fix fboucault means the default raster00:58
persiaThe "fix" is http://bazaar.launchpad.net/~fboucault/unity-2d/dont_set_colorspec/revision/44700:59
dcordesok01:00
persiaThe missing part is the investigation of the render path on the hardware showing the bug to find the underlying bug.01:00
dcordesso what about s/raster/native/ ?01:00
persiaSo, unity-2d is "fixed" with the workaround.01:00
persia*but* the underlying bug still remains, and needs investigation.01:00
persiaIf that is fixed, the workaround may be removed from unity-2d01:00
persiaWhich then solves your issue.01:00
persiaI strongly suspect that use of "native" on the hardware reported in 734143 will continue to show the issue.01:01
dcordesok01:01
persiaSo it's not safe to just randomly assign it to "native", unless you want to carry a fork for some time.01:01
persiaDepends on your goal, really.  If you want Ubuntu 11.10 to just work on your device, you'll want to fix the issue with the MacBook Pro.01:02
persiaIf you want Ubuntu 11.04 to work on your device *now*, you'll fork the code.01:02
persia(yes, fixing a MacBook Pro to help make an ARM handheld work better seems counter-intuitive, but it's all in the spirit of collaboration :) )01:03
dcordespersia: my suggestion: switch back to native and work around on the macbook pro. according to bill filler, unity-2d is supposed to provide support for devices with no hardware accelerated graphics, especially ARM devices01:03
persiaWhy not just fix the macbook pro issue?01:03
persiaThen nobody needs any workarounds.01:04
dcordesthat would be best01:04
persiaI'd probably start by finding someone with the hardware, and having them test (we know kaleo has such an environment: others may).01:05
dcordesa) I don't have a macbook b) I have the impression that I have the smaller lobby, with only one person reporting raster problems.01:05
dcordesmy two issues with that01:05
dcordeswhich forbid moving the process on01:05
persiaTry to make a simpler test-case, which can then be given to the X team, who may be able to sort the rendering path issue.01:05
persiaa) doesn't matter: there are lots of other people with the hardware.  Just find one.01:06
persiab) Who cares if it's just you reporting an issue: 734143 was also just one person.01:06
dcordesif I prepare such a well working natty image for easy install t housands will download it in short time01:06
dcordesand use it on that device01:06
persiaThat's not interesting in terms of bugfixing (although interesting in other ways).01:07
persiaWhat's interesting in terms of bugfixing is the investigation of the issue.01:07
persiaSo, you'll want to find someone with the hardware (I gave you one name: randomly asking in #ubuntu+1 or #ubuntu-testers will probably get you some more)01:08
persiaThen you'll want to work with them to find out precisely when the black rectangles occur01:08
persiaThen you'll want to prepare a minimal program that generates the black rectangles01:08
persiaThen you'll want to submit that to the rendering folk (as a new bug), who will likely sort it.01:08
dcordesok01:08
dcordesmaybe the potential testers can even help a bit with that01:09
persiaIf Kaleo has time to help, he'll probably be glad to help make the minimal program (he's the reporter of 734143)01:09
dcordesI am not a good programmer :)01:09
persiaYet :)01:09
MrCuriousany idea which device would be the bluetooth radio?01:09
persiaBut seriously, 99% of this is just a matter of tracking down who can reproduce, and who understands the rendering path, and getting them to discuss/test the issue.01:10
persiaMrCurious, When you say "which device", what do you mean? (as I doubt answering with the chip model will help you)01:11
MrCurioustrying to get a lead on the bluetooth modem. working with hcitool now01:11
MrCurioustrying to give myself a bluetooth clue01:12
MrCuriousits not going as fast as i would like :(01:12
persiahcitool is *very* low level.01:12
persia(and incredibly hard to use, in my experience)01:12
persiaWhat's your high-level goal?01:12
MrCuriousgot a better tool that i can explore01:12
MrCuriouswant to see devices that i can pair with (for the purpose of a serial port)01:12
MrCuriousi have tested bluetooth serial port modules01:13
MrCuriouswork with mac01:13
MrCuriouswanting to get them working with linux now01:13
dcordespersia: I see. So the problem is basically that the workaround situation satisfies most and potential problems are not being noticed01:13
persiadcordes, That's my opinion, yes.01:13
persiadcordes, And further that you've exposed one of the problems, so they aren't just "potential"01:14
persiaMrCurious, So, if you boot to the desktop, do you have a bluetooth icon on the indicator?01:14
dcordespersia: Ok then, thanks a lot01:14
MrCuriousyes01:15
MrCuriouscurrently it shows as turned on01:15
MrCuriousi know teh mac address of the serial port bluetooth device 20:11:02:17:10:9701:16
persiaOK.  Now, choose "Set up new device..."01:16
MrCuriouswhere do i find set up new device?01:16
persiaShould be in the indicator menu01:16
dcordespersia: hope I can catch kaleo around tomorrow. need to take a nap now. good night !01:16
MrCuriousit has turn off, and preferences01:16
MrCuriouspreferences has a recieve files button01:16
MrCuriousand a big turn on button01:16
persiaPress the "Turn on" button01:17
MrCuriousi did01:17
MrCuriousthe bluetooth  drop down remains un changed01:17
persiaHrm.  For me, the indicator menu has "Set up new device..." and the preferences window has a "Set up new device..." button.01:17
persiaYou're running Ubuntu 11.04?01:18
MrCurious10.10 upgraded to 11.0401:18
persiaThat shouldn't make a difference.01:18
MrCuriousthinking its time to do the re-download, re-install thing01:18
persiaThat's typically pointless, unless you want to change filesystems for some reason.01:18
persiaIf it's not pointless, that's a bug.01:18
persiaSo, you're looking for something that looks like http://library.gnome.org/users/gnome-bluetooth/stable/figures/bluetooth-properties.png.en01:20
persiaIs this very different from the bluetooth preferences dialog you see?01:20
persia(ignore the language differences)01:20
MrCuriouspersia: this command similar to what you used? zcat ubuntu-11.04-preinstalled-netbook-armel+omap4.img.gz | dd of=/dev/sda bs=16M01:20
persiaI verified the checksums, ran gunzip, and then (separately) ran `dd if=... of=/dev/sdg bs=4M`01:21
persiaShouldn't matter that much though.01:21
persiaDid you make sure that /dev/sda is not mounted?01:22
MrCuriousdid NOW :D01:23
MrCuriouscould swear it wasnt mounted when i started01:24
persiaThe automounter is kinda aggressive :)01:24
MrCuriousdoing it on a chumby01:24
MrCuriousbecause its stable-ish01:24
MrCuriousand has a not-used sd slot01:24
MrCuriousalthough since i switched to a USB SSD for rootfs, the panda has been rock solid01:25
MrCurioussomething about SD cards i just dont trust01:25
persiaUnfortunately the panda cannot function without one01:26
persia(although one doesn't really need it post-boot, if one configures everything just so)01:26
MrCuriousthat i did, but then i turned the SD card into SWAP01:27
MrCuriousseemed tolerable once there was no FS on it compeeting for bandwidth01:27
persiaThat will give it a nice short lifetime )01:27
MrCuriouspersia: this 16g 20mb/s card has offended me by constantly corrupting with the 11.04 image01:27
MrCuriouspersia: i might point out to you that the ubuntu image's have swap on the ssd enabled by default01:28
MrCuriousso seems short lives are not a concern in these parts ;)01:28
MrCurioussee the file in the root directory01:28
MrCuriousSWAP.swap01:28
MrCuriousand check your free, its turned on01:28
persiaOh, I know.  First thing I turn off.  The issue is that some folk want to be able to run with 256MB, which simply cannot work without swap: the swapfile was turned on to avoid OOM issues on first-boot.01:31
MrCuriousahhh01:34
MrCuriousso in future, it will self-disable after resize?01:34
persiaNot soon, no.01:34
persiaIt doesn't turn on until after resize.01:35
MrCuriousthats what i mean01:35
MrCuriousi think it stayed on well into first boot01:35
MrCuriouspossibly second boot01:35
persiaAnd it's likely to remain until the vast majority of available devices work well without swap.01:35
persiaIt stays on forever unless manually disabled or removed.01:35
MrCuriousi dont feel so bad about swapping to sd now :D01:36
MrCuriousbut i think i will move over to swapping to spinning disk soon01:36
persiaThat should get you expanded SD life.01:37
persiaAlthough if you really want speed, you want to swap to battery-backed RAM or similar.01:38
persia(which is designed for the sort of random-access treatment swapping needs)01:38
MrCuriousdoes battery backed ram exist?01:40
persiaYes.01:41
persiaI haven't seen any in the shops in a couple years, but it used to be common with PATA and PCI interfaces.01:42
MrCuriouspata...01:42
persiaI suspect someone has put together some SATA or USB devices like this, although they may only be available by special order.01:42
persiaAh, The Acord ANS-9010 apparently goes up to 64GB.  You can't use this for real memory, but it makes for decent swap, if you have that sort of performance requirement (gamers, heavily-loaded servers, etc.)01:44
MrCuriousfor now, i have a 4gig CF spinning disk with a usb attachment01:44
MrCuriousthat will work for swap01:44
MrCurioushitachi 4g microdrive01:45
persiaDepends on the disk.  Some of the early microdrives were *really* slow.01:45
MrCurioushow about that instead. wee bit less expensive01:45
persiaOh, once Hitachi had the "microdrive" brand, most were fairly good.01:46
MrCuriousthats the one i have01:46
MrCuriousuave a virgin 11.04 image now01:47
persiaAnd did you ever get the bluetooth dialog similar to the one I posted?01:48
MrCuriousjust getting ready to try the image01:49
MrCurioushad to burn it first01:49
MrCuriousseems like the ubuntu shutdown from the upper right ui turned into a logoff user01:50
MrCurioushad to logback in, get shell and shutdown manually01:50
MrCuriouspersia: are you on a pandaboard01:52
MrCuriousand seeing bluetooth options?01:52
persiaMy panda is currently headless.01:57
persiaI did see bluetooth on it back when it was connected to KVM01:58
persiaI didn't test it, as I thought there was no antenna (failed to see the obvious antenna on the board)01:58
MrCuriousi didnt see it. had to ask02:11
MrCuriouspersia: i have reinstalled a fresh 11.04, and i get no such options in my bluetooth menu :(03:13
MrCuriousnope. no bt menu like the help pages infer. guess there is a issue with pandaboard03:29
=== Lopi is now known as Lopi|idle
ppisatimorning07:29
MrCurioussigh, ubuntu cant find the package ubuntu-omap4-extras07:50
=== ericm|ubuntu is now known as ericm-afk
MrCuriousah hah! http://omappedia.org/wiki/Ubuntu_PPA07:56
ogra_janimo, are you already working on lightspark ?11:37
ogra_woglinde seems to have probs building it11:37
janimoogra_, yes, I am looking at it on and off but did not build on ARM yet. I'll have a look11:38
janimoI just know it takes a lot of time to build11:38
ogra_yes, and takes a lot of ram too apparently11:38
janimoogra_, btw I put two merge request related to the SD alignment BP11:38
woglindejanimo you need a machine with 1 gig11:39
janimowoglinde, ok I have a Panda11:39
janimowith 1G11:39
woglindethe amf3_parser file needs it11:39
ogra_woglinde, cant be since it built on the buildds11:39
ogra_unless thats something very new11:39
woglindethe ac100 with 512 and swap isnt working11:39
woglindeI gave up after 1 1/2 hours11:39
ogra_the babbage boards we use as buildds are11:39
woglindecompiling this file11:39
ogra_woglinde, try booting with nosmp ;)11:40
woglindeogra its not compiled with -j11:40
woglinde211:40
woglindeits a boost or gcc error11:40
ogra_no, but memory management in kernel is different11:40
ogra_all i know is that it builds fine on the build machines11:41
ogra_and they only have 512M11:41
janimowoglinde, I'll do a build on oneiric - that is our target now11:41
ogra_but they are also UP machines11:41
woglindejanimo I tried with latest boost11:41
woglindestill the same problem11:41
=== kernellogger is now known as apachelogger
woglindeyou need to add armel in the control file11:42
ogra_shouldnt be needed in ubuntu11:42
woglindebut I think you are clever enough to find it our yourself11:42
ogra_i thing that was already patched11:42
ogra_*think11:42
woglindeI tried latest bazaar11:42
woglindeand its really only the amf3_parser11:42
woglindeall other files compiling11:42
ogra_you should have tried the latest packaging branch11:43
woglindeI wanted 0.4.811:43
woglinde*g*11:43
ogra_you should have tried the latest packaging branch with a new upstream tarball :)11:44
woglindeogra I doubt it changed something on the amf3_parser11:44
ogra_https://code.launchpad.net/ubuntu/natty/+source/lightspark is the most recent packaging branch11:44
woglinde0.4.6.111:45
woglindeto old11:45
ogra_woglinde, no, but you dont need to care about hacking the control file etc11:45
ogra_??11:45
ogra_dch -i will make it 0.4.811:45
janimowoglinde, the AMF parser was just rewritten yesterday upstream :)11:45
woglindeogra why care=11:46
woglindejanimo lol11:46
woglindeokay11:46
ogra_you get the tarball, unpack it, cd into  the dir, bzr branch the debian dir, type dch -i and fire off a build11:46
woglindeI will take look11:46
janimowoglinde, but we are only packaging git master and ,ater for oneiric11:46
woglindewhy I am always to early11:46
janimovia debian sync most likely11:46
janimowoglinde, but good that you reminded me, I'll do a git master build on ARM to see if anything broke lately11:47
woglindehm I will try it too11:50
woglindelooks like the rewrite dont will fail11:51
janimowoglinde, are you trying to run latestt lightspark on natty?11:55
=== tsenyk_ is now known as tsenyk
=== hrww is now known as hrw
woglindejanimo yes12:06
janimowoglinde, it may be the case that even x86 fails to build on natty12:06
janimodid not check recently12:07
woglindejanimo as I said it was only the amf3 parser12:07
woglindeall other files compiled12:07
woglindeso its only linking left12:07
janimook12:07
woglindebut I will see it in a few minutes12:07
woglindeI will try it against the boost libs from oneiric12:08
woglindeso now lets see whats happen12:15
ndeclool: hi. is there any tool that i can use to parse a 'local PPA' and process the associate data e.g. list of packages (src, bin), dependencies, versions, .... ideally I think I am looking for a parse of files Packages and Sources...12:18
woglindendec look into apt-get code?12:18
ogra_ndec, grep-dctrl12:20
ndecwoglinde: thx ;-) i was looking at a tool more 'ready to use'...12:20
ogra_with the Packages.gz file in /var/cache/apt12:20
loolndec: Yes, launchpadlib12:22
loolndec: http://paste.ubuntu.com/619829/ list-ppa-dsc.py12:23
ogra_yeah, lp-lib for remote stuff ...12:23
ndeclool: ogra_: thx! it looks like grep-dctrl might be want i need... i will dig into this.12:24
loolndec: BTW I got the script from a Launchpad developer, it's not my writing12:25
ogra_you just dont want to be blamed for bugs ... :P12:25
woglinde*sigh*12:41
janimowoglinde, FWIW I successfully built LS HEAD on ARM/Oneiric without issues12:43
woglindejanimo I am fighting with scripting/abc.cpp12:43
woglindemaybee I should switch to a usbdisk12:44
woglindeinstead of the sdcard12:45
janimowoglinde, most definitely12:45
woglindebut all other files compiles12:45
janimoIt did not even occur to me you use SD12:45
woglindeI have enough12:45
janimoenough if one large file needs swapping12:45
janimoif SD is used that is becoming very slow12:46
woglindeyes12:46
woglindeI know12:46
woglinde;)12:46
janimoI gave up on SD cards except for testing our images12:46
janimoand for boot partition12:47
hrwgood move12:58
woglindeso now lets see with external harddisk12:58
woglindeits linking13:41
rsalvetiIn 5 min we'll start the linaro public plan review15:56
rsalvetihttps://wiki.linaro.org/Cycles/1111/PublicPlanReview15:56
rsalvetitoday presenting the Android and Dev Platform teams15:56
rsalvetiDev Platform is the one also working with Ubuntu on ARM15:56
rsalvetiso folks here can probably be interested in hearing it15:56
MrCuriousonce one installs the omap4 add ons, is there a step after that to get them working ? (sound, bluetooth)16:32
ppisatirsalveti: do you know what it takes to get a linux-linaro-2.x kernel work with an ubuntu userland?17:39
rsalvetippisati: should work just fine, we have the packages for that available at the repo, but if you want to grab from sources, just use the same config used by the packages17:40
rsalvetiand should be fine17:40
ppisatirsalveti: uh... i'll try again, but it hanged at boot17:40
rsalvetippisati: which kernel?17:40
rsalveticould be that the kernel is broken also ;-)17:40
rsalvetiif you got 3917:40
ppisatii tried 39 for sure17:41
ppisatidon't remember if i tried .38 too17:41
ppisatianyway, i'll do that17:41
ppisatiand i'll use the .config from linux-linaro-natty17:41
MrCurious_does anyone here have a pandaboard with latest ubuntu, working sound, and a bluetooth menu that has more than just on/off?  If so, can I discuss the install procedure with you to work out what i missed?18:01
gildeanMrCurious_: just the same conversation as minutes before, rsalveti said that those can be found as readymade packages at the repo18:04
gildeansomeone with an irc-shell should make a public log18:05
gildeani don't have enough diskspace on salaliitto.com to do that, as i already log more than one big channel18:06
GrueMasterMrCurious_: There is a known issue with audio and a workaround.  See bug 746023 comment 45.18:06
ubot2Launchpad bug 746023 in alsa-utils "No sound on omap4" [High,In progress] https://launchpad.net/bugs/74602318:06
GrueMasterI will be testing bluetooth with a BT keyboard here shortly.  Just finally got one in.18:07
MrCurious_gruemaster: can you ping me when you do that, i cant work out how to get my bluetooth to scan for devices, or be findable by another computer. i have installed the omap4 ubuntu add-ons, but still, it doesn't work like it appears in the help pages18:19
GrueMasterOk.  Just imaged my new 16G class 10 SD so I can kill two birds as it were.  :P18:20
MrCurious_i got significantly better performance by moving root to a USB drive18:21
GrueMasterWell, duh.  :P18:21
MrCurious_and the SD's stopped getting corrupted18:21
MrCurious_i have weak sd's18:21
GrueMasterSD is horribly slow on every system I have seen (not just panda).18:21
MrCurious_my robot design depends on being able to do bluetooth serial ports.18:22
GrueMasterJust curious, but what are you using for a controller?18:25
MrCurious_you mean as the main computer, or to control the motors/servo's18:27
GrueMasterMotor controls.18:27
MrCurious_to control the motors, the plan is to use bluetooth modules + atmega328 + 754410 + some passives18:27
MrCurious_that way i can easily pair the subsystems with other pieces, like a lego brick approach, but wireless for all but power18:28
GrueMasterDo you have a link to a supplier or are you building this out of components & making your own boards?18:29
MrCurious_designing my own board18:31
GrueMasterah.18:31
MrCurious_but i can send you a link for the $10 serial bluetooth modules if you want18:31
GrueMasterI have a ProXR 410 serial relay from http://controlanything.com that I plan on using for test automation.18:33
GrueMasterHaving "fun" relearning how to program the serial port in C, especially since they only have examples in VB6 and .net.18:33
MrCurious_grue: http://www.satistronics.com/serial-port-bluetooth-module-masterslave-hc05_p2863.html 3.3v ttl serial port, any speed. very easy to configure and work with18:45
MrCurious_documentation is only slightly errored. just ignore everything above the command set, and you will be fine18:45
GrueMasterCool18:46
GrueMasterHeh.  FAQ on their website:  Can I trust Satistronics?18:49
MrCurious_i tried a look alike module from elsewhere, and it was locked into 9600 8n118:53
MrCurious_and a lame name18:53
MrCurious_but the satistronics ones are completely unlicked18:53
GrueMasterunlicked?  Reminds me of my test lab back at Intel.  We put "Do not lick" stickers on our high output powersupplies to appease the safety managers.18:55
MrCurious_un locked18:56
MrCurious_sorry18:56
MrCurious_heh18:56
GrueMasterHeh, I understood what you meant.  The typo just triggered a flashback.18:57
GrueMasterOk, install went semi-smooth on my class 10.  oem-config restarted once but kicked through on second retry.  Not sure why, but I have seen that issue sporadically.18:59
MrCurious_my class 10, 16g 20m/s SD corrupts every install.19:03
GrueMasterVery odd.  Have you been able to get any logs from this?19:05
MrCurious_i just see write errors, then it remounts ro19:08
MrCurious_i believe it to be a bad sd, or that the SD timings are not compatible with the pandaboard19:08
GrueMasterYou could try flashing the image to it then resizing the partition manually (if you have a linux desktop/laptop).19:09
GrueMasterHmmm.  Massive disk i/o waits just running update manager.19:12
MrCurious_i can live my life happy believing that one SD card is evil19:21
MrCurious_i am more interested in working out how to verify i have all the omap4 proprietary drivers installed correctly19:22
GrueMasterGetting there.  :P19:22
GrueMasterMrCurious_: I seem to remember something about bluetooth support being added in the kernel after Natty release.  I'll check with the kernel guy in the am (he's in Italy).20:25
GrueMasterrsalveti: Does that sound right?  BT in kernel update?20:26
rsalvetiit is in, but userspace doesn't support it properly20:27
rsalvetiyou still need to do some hacks to make it work20:27
rsalvetifrom what I heard this should be fixed with 39, but probably not for natty :-(20:27
GrueMasterDo we have steps for natty?20:28
rsalvetithink so, is the same instructions I gave you while testing before the release, let me try to find it20:28
rsalvetihttp://paste.ubuntu.com/603343/20:30
rsalvetiguess that's it20:30
rsalvetiGrueMaster: ^20:30
GrueMasterYep, looking.20:30
MrCurious_gruemaster: thanks!20:32
sveinseDoes anyone have debs of a newer qemu (which doesn't fail on rootstock with "qemu: uncaught target signal 11 (Segmentation fault) - core dumped"20:35
sveinseThe version in natty crashes this way while trying to compute the SSH RSA keys20:35
GrueMasterMrCurious_: Bug 789095 has more info.20:41
ubot2Launchpad bug 789095 in linux-linaro-omap "Bluetooth does not work on PandaBoard" [Undecided,Confirmed] https://launchpad.net/bugs/78909520:41
=== zyga is now known as zyga-afk
MrCurious_ty20:43
MrCurious_this is good info20:44
MrCurious_i think if i canreplicate what warmcat (last comment) did i will be happy20:46
sveinseIs it possible that bug 674146 is the same as I'm seeing in qemu/rootstock?20:47
ubot2Launchpad bug 674146 in gcc-4.5 "dpkg segfaults during debootstrap on natty armel" [High,Fix released] https://launchpad.net/bugs/67414620:47
sveinseAnyone? Sorry for my persistence. I'm a bit in a drag here, as our build server is down due to this bug. Some pointers to what to do would be nice, thanks.20:51
=== zyga-afk is now known as zyga
sveinseI'm trying to run chroot dir /bin/bash into a armel rootfs, but I'm getting chroot: failed to run command `/bin/bash': No such file or directory21:51
sveinseThis being on a server, it is possible that either the server or the FS stops this operation. How can I check that?21:51
gildeansveinse: chrooting to armel-ubuntu from different arch?22:23
sveinsegildean: yes from i38622:24
sveinseI'm strace'ing it, and I see the chroot() then chdir("/"), but the following execve("/bin/bash",...) fails22:25
sveinseI'm comparing the strace against a strace from my amd64 desktop where everything works, and I see minimal differences, and just the execve() call which fails22:33
sveinseAnyone knows if server apps (like apparmor) could interfer with qemu and binfmt?22:56
sveinseI don't understand why my chroot fails. The error is foo, and strace doesn't reveal anything.22:58
sveinseI think I'm going crazy. This, of course, being the day when the armel build server stops working combined with the exceptional occasion with almost no response in the forum. Tough luck...23:11
=== apachelogger is now known as beerlogger
persiasveinse, Just to verify, you're using qemu-debootstrap to create the chroot (or some mechanism that depends upon this)?23:36
sveinseyes, i believe rootstock is using qemu-debootstrap, doesn't it?23:37
sveinseI'm suspecting that the reason rootstock/qemu crashes, and the fact that I cant run chroot into a armel rootfs, might be related23:39
persiaI think it tries to do the same sort of thing with it's own (separate) debootstrap wrapper, but it's close enough.23:40
sveinseThe weird part is that I don't trigger the crash on my desktop machine (which is amd64)23:41
persiaHave you tried just executing a static armel binary?23:41
sveinsewhere can I get one?23:42
persiaThat would help differentiate whether qemu is completely not working or whether it's something more complicated.23:42
sveinseI wonder if there are any files within a normal ubuntu-minimal installation which are static23:43
persiaI usually just create a quick hello.c and gcc -static it :)23:43
sveinsehold on23:43
sveinseok, I'm able to run the static app from my bash shell (proving the binfmt+qemu works)23:46
sveinseInteresting:  "./hello" works (hello is armel static). But running (as root) "chroot . /hello" does not work!23:49
cipher"does not work" isn't very descriptive23:50
sveinsechroot: failed to run command `/hello': No such file or directory23:50
ciphertry chroot . ./hello23:51
sveinsesame result23:51
cipherfile ./hello23:51
sveinse./hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.16, not stripped23:52
cipherit was exact same error for chroot . ./hello?23:52
persiaAha!  That sounds like /usr/bin/qemu-arm-static doesn't exist in the chroot23:53
sveinseinteresting23:53
persiaThis needs to be manually copied in, unfortunately, and updates are ugly.23:53
sveinseyeah, let me try23:53
persiaEssentially, binfmt-misc is calling /usr/bin/qemu-arm-static when attempting to run the foreign binary.23:54
sveinsevoila!23:54
persiaAnd if there's not an extra copy in the chroot (which wouldn't be created by debootstrap normally), then it fails with "command not found"23:54
persiaExcellent.  So, I think this probably represents a bug in rootstock: it probably needs to be ported to use qemu-debootstrap from qemu-user-static rather than whatever it's doing now.23:55
sveinseThis means that a rootstock image is not purely without clutter or change from the host pc which created it?23:55
persiaFrom the dependencies, it looks like it still expects the deprecated qemu-kvm-extras-static23:55
sveinseIf it puts /usr/bin/qemu-arm-static in it, I mean23:56
persiarootstock may have some provision to delete this file, but I doubt it's clean.23:56
sveinseAt least it sheds light on a large mystery for my part23:56
persiarootstock is a fun toy, but I wouldn't use it for any production purpose.23:56
sveinseI know you/ubuntu doesnt use it any more, but what other options are there to putting together a rootfs image?23:58
sveinseBecause using it for production is exactly what it's used for today... :o23:58
persiaLots of folk here use it, but it was never used for the Ubuntu images.23:59
persiaDo you have access to an armel development host?  Could you build images there?23:59
sveinseTakes a list of packages and outputs a rootfs. Nice.23:59
persiaNot cross-building is the first step to reliability.23:59

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