/srv/irclogs.ubuntu.com/2010/03/18/#ubuntu-arm.txt

=== Laibsch1 is now known as Laibsch
=== Laibsch1 is now known as Laibsch
=== Laibsch1 is now known as Laibsch
DanaGhttp://pastebin.com/BFjBG4Ms06:57
DanaGvlc segfaults.06:57
DanaGer, sorry for the long command line. =þ06:59
DanaGinteresting... mplayer is UNAVAILABLE07:00
DanaGalsaplayer works, though.  once I add myself to "audio" group.07:07
asachi folks09:10
* ogra gets more coffee09:13
ogramorning asac09:13
ogragrmbl ... /me curses having to port uboot patches to redboot ...09:14
ograheh, fun ... the change i should revert in redboot-imx doesnt seem to exist in our version at all09:26
asachi ogra09:30
nosse1My company are about to make a product based on TI AM3517 (ARM Cortex-A8) and we're going to run linux. We are considering putting Debian or Ubuntu on it because we want a package system/distro.09:34
nosse1I forgot to say that I have a TI AM3517 ZOOM development kit09:35
nosse1I have to admit that I'm quite new to Ubuntu build-system, so you'll have to excuse me for stuptid questions09:38
amitknosse1: welcome09:40
nosse1The first one is linked to the choice of distro: When I have a Cortex-A8, wouldn't it then be most efficient (space and cpu) to use binaries for ARMv7? Which would implicate Lucid right?09:40
amitkwe've just started supporting OMAP3 kernels in the next release of Ubuntu09:40
amitknosse1: Lucid is guilty as charged09:41
nosse1I started rootstock, and when it spawns qemu, it locks up my CPU at 100%. Is this familiar?09:43
amitkogra <--- blame him09:44
nosse1I have no kind of feedback, so I don09:45
nosse1...don't know if it has locked up or doing something sensible...09:45
nosse1(I'm running amd64 Karmic, and I've seen apps not working because I'm running 64-bit. Don't know if it's it, though)09:46
amitkno, i use rootstock on 64-bit successfully09:47
nosse1BTW: Are there a seed for ubuntu which is even more minimal than ubuntu-minimal? There's a lot of apps in minimal which is not applicable in my embedded target09:48
asacnosse1: yes, the CPU issue is known09:50
asace.g. for qemu09:50
asacinvestigation ongoing09:50
asacseems its triggered by apt09:50
asacor rather dpkg somehow09:50
nosse1asac: But is it dead or processing something?09:50
nosse1asac: Can I cat into its output somewhere?09:51
asacnosse1: its dead. we think its qemu being broken09:52
asacogra: why is the bug not filed against rootstock nor qemu-kvm?09:52
nosse1asac: Thanks09:53
asacits bug 53273309:54
ubot4Launchpad bug 532733 in qemu-kvm (Ubuntu) "apt/dpkg in qemu-system-arm hangs if a big task is installed (affects: 1)" [Medium,Incomplete] https://launchpad.net/bugs/53273309:54
asacnosse1: ^09:54
nosse1I running Karmic on my host. Would it (not for this specific thing, but generally) be better to run lucid?09:57
asachost system seems to make no difference afaict09:57
asacits lucid vm that causes this09:58
nosse1So when I'm using rootstock it also pulls down a lucid vm? I'm also pulling ubuntu-minimal and not ubuntu-netbook as noted in the bug report09:59
asacinteresting09:59
asacbut you are installing lucid?09:59
nosse1yes09:59
asace.g. in the vm?09:59
asaci suspect this to be a racy thing09:59
asacthe biggere the task is the more likely you hit it09:59
asacfor us ubuntu-minimal works usually, but netbook triggeres this09:59
asacbut i dontsee why ubuntu-minimal wouldnt cause this for some10:00
nosse1I can probably strace it, but I'll have to leave for a meeting first...10:00
asacwhat are your host specs?10:00
asace.g. what system is this running on?10:00
amitkwouldn't it depend on the system specs too?10:00
amitkaah, exactly10:00
nosse1Ubuntu Karmic amd6410:00
amitknosse1: your HW spec10:00
asacwell. cpu mem etc.10:00
asacmaybe also disk speed etc.10:01
nosse1Where can I find disk speed?10:01
asachdparams?10:02
asachdparm ;)10:02
nosse1Intel C2Duo T9900, 3.06GHz, 8Gb RAM, Disk: 101MB/sec10:02
asacwell, but you could say: 5400 / 7200 / SSD etc.10:02
nosse17200 for my case10:03
nosse1I'm sorry, but I have to leave. I'll be back. Thanks guys10:03
asacyeah. so from our findings it did go away if you slow down the system, so maybe your system is faster than ours (at least than mine it is)10:03
asacso makes some sense that you see it earlier10:04
asacogra: your instructions dont work10:13
asace.g. the saved qemu image isnt good10:13
asacgetting unable to mount rootfs10:13
asacsure root=/dev/sda?10:13
asacI: Mounting temporary Image10:13
asacI: ARM rootfs created as /tmp/qemu/armel-rootfs-201003181055.tgz10:13
asacI: Qemu image saved as /tmp/qemu/qemu-armel-201003181055.img10:13
asaci use that img10:14
asacogra: ^^10:14
asacok manually creating .img works it seems10:18
asacwhy is the kept img broken?10:18
asachmm10:24
asac"When no option is specified QEMU uses a non privileged user mode network stack that gives the emulated machine access to the world. "10:24
asacthat doesnt work for me10:24
asacogra: ^^10:24
asaci can get an ip with dhclient10:24
asacbut not ping out10:24
asacor wget10:24
loolasac: ping is special though10:25
loolasac: Which network type did you use?10:25
looltelnet should work10:25
asaclool: wget doesnt work10:25
loolthat's bad10:25
asacnext wanted to try a tap device10:26
asacbut hoped i didnt need that10:26
ograasac, what are the permissions of the img file (i havent uploaded the permission fix yet)10:26
asaclet me run again10:26
loolasac: You don't10:26
asacogra: permissions flag?10:26
asacwhat should be there?10:26
asacogra: oh thats about rootfs not working?10:26
loolasac: ownership of the file needs to be the same as the user you're running the vm with10:26
ograwell, chown the img file10:26
looland u+rw obviously10:26
asacright10:26
asaclet me check10:27
asacbut i could boot it now10:27
ograthe recent version saves the img as 66610:27
asacls -l ubuntu-arm.img10:27
asac-rw-r--r-- 1 asac asac 2048000000 2010-03-18 11:22 ubuntu-arm.img10:27
ograthat should work for the asac user at least10:27
asacogra: it boots10:27
asaci doubt that permission has to do something with network10:28
ograso what exactly doesnt work10:28
asacwget10:28
asacafter running dhclient10:28
asacand getting ip ;)10:28
ograsudo dhclient eth0 ;)10:28
asacapt-get update -> errors10:28
asacogra: well. read two lines above10:28
ograweird, works here10:28
asaclet me check host iptables10:28
loologra: 666 uh10:29
asacall open10:29
asac64410:29
loologra: I seriously hope it's not 666, that'd be a major security issue10:29
asacyeah. 666 seems overly open ;)10:29
ograsigh10:29
ogra644 *doesnt boot*10:29
lool666 it is   :-(10:29
ograand i have no way to make sure to know which user will use it in the end10:30
loolOf course you do10:30
ograsince you removed all references to run qemu with sudo10:30
ogralool, how, there are many people that use rootstock with cron10:30
asacnow network works ;)10:30
ografor daily local builds10:30
loologra: I've been running qemu all this time without sudo; kees setup the same thing yesterday, and didn't use sudo either or had any permissions issues10:30
* asac likes things going away ;)10:30
ogralool, with a 644 img owned by root.root and no initramfs ?10:31
asacogra: why not chown to the user that called rootstock?10:31
asacoh10:31
ograthat would be cron for people doing daily builds10:31
asacwell, maybe rootstock should call sudo on its own to figure the real owner10:31
loologra: Why would you want to own it by root?10:32
ogralool, because it was loop mounterd and created as root it gets the systems default permissions10:32
ograwich is 644 for the creating user10:32
loologra: I personally create the image as myself, and sudo loop-mnt it10:32
asacthere is SUDO_USER ... so yeah. not sure why its a problem10:32
asacyou could add an option to command line for cron folks10:32
loolWell either use SUDO_USER or actually only call sudo when you need to10:32
asacso they can say: --image-user=USER10:33
loolthat's what I typically do in my scripts; they work as root or non-root, and call sudo when needed10:33
lool(We actually already had this discussion)10:33
* ogra goes for asac's suggestion10:33
loolasac: Let's have a cp --user option too!  :-)10:33
ograthough i would prefer a more general fix ...10:34
loolAnyway, I filed a bug on the usage of 666; please never do that10:34
ograits only in bzr yet, not in the archive10:34
loolI filed a bug upstream10:34
ografine, still, its a dev tree10:34
asacit all depends on the common use case10:42
asaci think using SUDO_USER makes sense10:42
asac--image-user might make sense, but you can also write a wrapper script in cron that does that i would think10:42
asachmm10:43
asacprintf ... how do i just flush stdout?10:43
* asac tries10:44
asacok that worked ;)(10:44
asacfflush stdout10:44
loolOh I thought you were asking in shell and was puzzled10:44
asacheh10:45
asacno10:45
ograhmm10:48
* ogra ponders how to package x-loader10:48
ograit sadly needs a fully configured uboot tree since the headers it relies on are generated by uboot configuration :/10:49
asacpunch it into uboot? ;)10:50
asacor make uboot produce a -dev10:50
ograthen i would need to merge the upstream tarballs10:50
ogra-dev seems overly complicated ... especially in the light that we will need a -dev for each uboot flavour in the future then10:51
asacright10:52
ograeffectively i would like to have one uboot package based on upstream with lucid+1 (i.e. merge imx, omap and whatever else can use plain upstream or plain upstream with patches)10:52
asacif its soo tightly coupled upstream then it belongs together for now10:52
loologra: Really?10:52
loolI don't remember building xloader against uboot10:52
ograso i dont want to bind to closely to the architecture for the omap package now, thats supposed to be the base for the merge10:52
ogralool, well, i tried for zoom and beagle, both look in the boot tree for headers10:53
loologra: Which tree are you using?10:53
loolI just git clone gitorious:x-load-omap3/mainline.git and then:10:53
loolmake CROSS_COMPILE=arm-none-eabi- distclean10:53
loolmake CROSS_COMPILE=arm-none-eabi- omap3530beagle_config10:53
loolmake CROSS_COMPILE=arm-none-eabi-10:53
looland that's all10:53
loolI couldn't get the signed stuff to work10:54
loolwell not the gpsign one but signGP.c worked10:55
ograhmm, i pulled from the zoom tree, but that should essentially be the same (just with 3630 patches added)10:55
ograthe zoom tree expected to find ../u-boot/....*.h for building the ift image10:56
ogra(which you need for SD)10:57
loolhttp://code.google.com/p/beagleboard/wiki/BeagleSoftCompile doesn't mention building uboot first either10:57
loologra: What are you trying to build, the MMC version?  MLO?10:57
ograboth10:57
loolErr that's the same thing10:57
ograi want a binary with a NAND and a MLO version10:57
ograMOL has a dos header10:57
ogra*MLO10:57
loolMLO is the file which you write on your vfat10:58
ograright10:58
ograx-load.bin.ift is MLO10:58
ograx-load.bin is for NAND10:58
ograi need both10:58
ograand for creating the ift version the build uses the uboot header files for some reason10:59
loolI'm not sure what the ift version is; I don't think I used that10:59
ograat least in the zoom tree, i'll try the mainliune one10:59
ograyou cp .ift to MLO and cp it to your vfat to boot10:59
loolOh that's just the signed one10:59
loolI know what you're trying to do now11:00
ograits essentially a dos command.com after the signing11:00
loolYou're trying to sign it with gpsign11:00
ograright11:00
loolWhich needs u-boot's headers11:00
ograright :)11:00
loolTry signGP instead11:00
loolit doens't need anything11:00
looland signGP didn't work for me anyway11:00
loolhttp://beagleboard.googlecode.com/files/signGP.c11:00
ograwell gpsign did11:00
asacogra: when you hang in qemu is qemu completely dead?11:01
asacor can you ssh into it?11:01
loolerr gpsign didn't work for me rather, typo11:01
ograasac, i never tried to ssh, i use the graphical qemu version and switch to tty211:01
asacogra: so you can still log in?11:01
ograyes11:01
ograthats how i can see top ps etc11:01
asacsend a signal to generate a core dump then please11:02
ograto see the defunct dpkg --unpack passing by11:02
ograwhat do you gain from a coredump without dbgsym ?11:02
asacogra: you generate a core dump11:02
asacthen install dbgsym to analyze11:02
loolyou can load a core dump with dbgsyms from another system11:02
ograright, but there are no symbols11:02
ograoh11:03
asacfirst generate core dump11:03
loolit doesn't matter, it's just a memory image11:03
asacthen install symbols and use gdb11:03
asacright11:03
ograi'll try that later ... atm i want to get x-loader and uboot ready11:03
asacsure11:03
asachow do i start graphical qemu?11:03
ogrause the command from rootfsfromscratch11:04
ograit fires up the SDL version by default11:04
asaci am using qemu-system-arm -M versatilepb -cpu cortex-a8 -kernel ./vmlinuz -hda arm-rootfs.img -m 256 -append "root=/dev/sda mem=256M devtmpfs.mount=0 rw"11:04
ograwith alt-2 you get insto command mode and use send-key ctrl-alt-f211:05
asachow do i switch to tty2 ?11:05
asacah11:05
asacok11:05
ograto get back just send-key ctrl-alt-f111:05
asacalt-2 == alt gr?11:05
ograits annoying ... but the only way11:05
ograalt and 211:05
ograalt-1 gets you back to the VM11:05
asacogra its alt+f2 here :)11:07
ograweird, alt f2 gets me the gnome exec dialog here11:07
asacyou first have to click in the window ... so it grabs the input11:08
asacthen alt+f2345 etc works as usual11:08
asaccool :)11:08
ograheh, i always did it through the command console11:08
ograbecause i'm annoyed if qemu grabs my mouse11:08
* asac runs bzip2 to preserve state before installing netbook11:09
asaclets see how big it gets11:10
ograheh. yeah11:10
ogra./signGP x-load.bin 0x4020880011:16
ogramake: *** [x-load.bin.ift] Error 3611:16
ograbah11:16
ografunnily it produces x-load.bin.ift11:16
asac100M11:17
asac;)11:17
ograsweet11:17
asacme uploads11:17
asacJamieBennett: all fine wfor the localization of .desktop?11:25
asace..g did you get the answers from pitti?11:25
asac(or persia)11:25
JamieBennettasac: working on it. Its a lot more involved that first thought after I talked with persia11:26
JamieBennettand I'm learning how to do it for the first time11:26
asacso dh7 isnt ready for that?11:26
asacwhat a crap thing ;)11:26
JamieBennettasac: no11:26
JamieBennettI considered switching to CDBS11:27
asacok11:27
ogradont you just have to set gettext domain ?11:27
asacdh7 really isnt ready? wow11:27
JamieBennettbut I have something that should be ready tomorrow11:27
ograi thought LP cares for the rest11:27
asacogra: we have cdbs langpack.mk11:27
asacseems we have no equiv. for dh711:27
JamieBennettogra: it was a simple wrapper script11:27
loollangpack.mk is mostly useful to desktop packages which used cdbs so far; no pressure to port it to dh basically11:28
loolbut it should be done11:28
JamieBennettnow it needs a build system (setup.py)11:28
JamieBennettand .po support11:28
ograbah11:28
JamieBennettand gettext support11:28
JamieBennette.t.c11:28
loolJamieBennett: which package is this?11:28
JamieBennettlool: webservice-office-zoho (my package)11:29
loolTruth is, the CDBS snippet should be a separate tool, perhaps a dh_langpack11:29
JamieBennettlool: I'm looking through doc, web pages, snippets of code trying to learn it too which doesn't help11:30
loolJamieBennett: You could copy what you need to some dh override11:30
loolJamieBennett: e.g. override dh_gencontrol11:31
JamieBennettlool: but would that be 'the proper way' ;)11:31
loolJamieBennett: Best way would be to add support to dh to do that automatically11:31
loolJamieBennett: But we have packages where we call intltool-update by hand because they are not CDBS based11:32
loole.g. http://paste.ubuntu.com/397186/11:33
loolperhaps not very good examples actually11:34
asaccurrent cdbs does stuff in binary-predeb11:39
asacogra: http://people.canonical.com/~asac/tmp/ubuntu-arm-lucid-minimal.bz2 ;)11:42
ogragreat11:42
ograi have several of these around though ;)11:43
asacthen why didnt you give them to me ;)11:43
asacthought you didnt have that online11:43
ograi dont have them online11:43
ograand we only discussed the compressing yesterday :)11:44
asacah11:45
asacright. so now we have it ;)11:45
ograyeah11:45
asacsigh ... i used 2G onlz11:46
asacthats not enough for netbook i think11:46
loolasac: You can grow it11:46
asaclool: command?11:46
loolasac: dd if=/dev/zero bs=1M count=200 >> lucid.img; e2fsck -f lucid.img; resize2fs -p lucid.img11:46
loolthat's for a raw image11:47
lool(not sure whether you're using qcow or something)11:47
asaci use raw image with ext411:47
loolno part table?11:47
loolthen the above should work11:47
asaclet me try11:47
asacnot much to loose11:47
ograrootstock doesnt create partitions11:47
loolYeah, worst case you have 200MB of zeroes at the end11:47
ograbut creates ext3 by default11:47
ogra(or did i change that ?)11:48
asacogra: i didnt use the img from rootstock, but made my own and untarred ;)11:48
ograah, but you used rootstock to create the tarball ?11:49
asacyes11:49
asacok booting with new size11:49
ogra(i just wnt to be sure we're not to far away from the rootstock creation here when we try to debug)11:49
ograthought its still weird that lool never saw that issue11:49
asacok it worked11:50
asacnow have 3g11:50
ograthat should suffice11:50
ograi think even 2 would for armel netbook11:50
asacwasnt enough11:50
ogra(we dont have oo.o in the task)11:50
asacit wanted to install 1.8G after ubuntu-minimal11:51
asacand i only had 1.6G left or something11:51
ograhmm, the task never wants to install that much for me11:53
asacits 1835MB11:53
asacso less than 1.8G ... but not much11:53
asac^ubuntu-netbook11:53
* ogra wonders if there is a size difference between task and metapackage11:53
ogradoesnt the caret need to be at the end ?11:54
loolasac: Are you trying to reproduce the problem or just analyze the core file?11:54
asaclool: want to reproduce and produce core files for now11:54
asacyes.11:54
asaclool: i already reproduced it here at some point11:54
asacfurhter above there was someone who saw this even for ubuntu-minimal11:55
asaci think the faster the system is the easier you get it (race)11:55
asacas we dont see it with dbgsym installed according to ogra11:55
ograright11:55
ograinstalling dbgsym just makes it pass11:55
loolThat's odd11:55
ograi have never seen it in -minimal though11:55
ograand i havent tried -desktop since we do -netbook11:56
ograrcn-ee, you see the hang in rootstock too, right ?11:58
rcn-eeogra, ah maybe, it's still halting at "|: Extracting zlib1g..." for me.. ;) debian qemu.. http://rcn-ee.homeip.net:81/dl/daily/ubuntu-lucid.log  but it worked just fine yesterday on karmic...11:59
ograyes, its a lucid issue12:00
ograthough that is something different i think12:00
rcn-eeyeah i was guessing that, i need to setup a karmic chroot on my server...12:00
ogrado you have a full log too ? (the one that rootstock spits out if you ctrl-c)12:00
rcn-eeso you guys have fun building xloader/uboot for omap?12:01
ograthe prob is when building lucid ... not with lucid on the host12:01
ograrcn-ee, well, fun is something different :) but yes, i'm fddling with that12:01
rcn-eesorry, nope, it's a cron job, no terminal, and it doesn't occur when run from the command line...12:01
ograah12:02
amitkrcn-ee: I've seen the hang at zlib1g on karmic too12:03
amitkoops, ogra ^^12:03
ograwell, this hang is clearly not the same one12:03
asacwhy?12:03
rcn-eeogra, under what conditions is it hanging now?12:04
asaci thought we hang in unpack too12:04
ograunpacking of zlib happens in debootstrap which is run in the qemu-arm-static chroot12:04
ograwhile the task installation hangs in a VM12:04
asachmm. but why wouldnt an io issue in qemu never show up in qemu? maybe its just less easy to trigger because its a fresh process for every command?12:05
rcn-eeand what's weird, i had the same issue when building google's x86 os where it would hang on the same file, only x86.. ;)12:05
asacerr second qemu==qemu-static12:05
ograwell, i have never seen it hang in karmic builds at all ... thats very new12:05
asacogra: they install lucid .... didnt you say the host qemu doesnt matter?12:06
ograbut i definately can reproduce the netbook task install hang reliably in lucid12:06
ograasac, right12:06
ograhost doesnt matter12:06
rcn-eeyeah no luck on netbook here either.. ;)12:07
asacso that they see something like this in karmic qemu when trying lucid doesnt feel that off based on that12:07
ograbut target lrelease of the build does12:07
asacright. armv7+thumb212:07
asacin lucid12:07
ograxactly my suspicion12:07
asaclool: why are you sure that armv7+thumb2 is working perfect in qemu?12:07
asacor arent you sure?12:08
ograasac, you mean kernel wise12:08
ogra?12:08
asacno ... qemu in general for now12:08
asacas rcn-ee sees it in static12:08
ograi dont think qemu matters here12:08
ograasac, but building a karmic image (unless i misunderstood)12:09
asacogra: the log is named lucid from above: http://rcn-ee.homeip.net:81/dl/daily/ubuntu-lucid.log12:09
ograi could imagine that the verstile kernel we use doesnt properly support thumb212:09
ograasac, oh12:09
ogra" but it worked just fine yesterday on karmic..."12:10
asacits probably a karmic qemu trying to run armv7/thumb2 code12:10
ograthat confused me :)12:10
asachmm12:10
asacrcn-ee: so what are you doing?12:10
asachost = karmic + target == lucid?12:10
asacor both karmic / lucid ?12:10
rcn-eeah crap, my naming confused everyone... host debian squeeze, running latest rootstock building ubuntu-netbook for lucid target... ;)12:10
asacyeah12:10
ogradebian squeeze ?12:10
asacso target is lucid12:11
ograaww12:11
ograthats a totally differend qemu then i think12:11
asacdidnt lool land some arv7 stuff here?12:11
asacand not in debian? or are we in sync?12:11
rcn-eejust checking on that, it's qemu 0.11.1...12:11
ograwell, lool usually does his qemu stuff upstream12:11
ograbut we pull from a different upstream afaik12:11
ograbecause of kvm12:11
rcn-eeand the opteron server i have is too old for kvm...12:12
ogra0.12.3-0ubuntu1512:12
ograthats what we have in lucid atm12:12
ograbut pulled from qemu-kvm since karmic12:12
ograrcn-ee, well, kvm doesnt gain you anything for armel emu ... but the point is that we use a different upstream12:13
asacrigt. thats wat busted ftas images and he lost everything ;)12:13
ograthe question is how much difference there is12:14
ograespecially for armel12:14
rcn-eecorrect... i just use it to verify nightly builds.. it was working early in lucid's cycle, maybe stoped in the last two months.. otherwise i build on karmic exclusively at work.. ;)12:14
ograyeah, i dont test on debian ... so i dont really know if it would work or not12:15
asacok hangs in iputils-tracepath here12:16
ograminimal should work if you build on ubuntu host for all releases we support12:16
ograasac, right, same here12:16
ograthat pretty reproducable12:16
ogranot 100% though ... there is another package it sometimes hangs ...12:16
ograiso-codes iirc12:17
nosse1hi, guys. Back in business!12:17
ograbut i have only seeing it hang on either of these two yet12:17
loolasac: Sorry, I dont understand your question?12:17
loolasac: There might be qemu bugs12:17
asacok12:17
rcn-eeit's been a toss up between iputils-tracepath and iso-codes for me..12:17
loolI wonder whether a FS benchmark would show a similar issue12:18
nosse1Have you come any closer to investigating the qemu hang? Is there anything I can assist with?12:18
asaclool: i ran a read/write testcase here today for 1h12:18
asace.g. just reading and writing all the time12:18
asacthat didnt have issues12:18
ogralool, but are you sure that just telling the versatile kernel that it is a v7 CPU also enables all features properly (thumb2 etc)12:18
asaclool: which fs benchmark would you suggest?12:18
asacok so now ... which process should i core dumb ;)?12:19
asacprobably all dpkg/apt ones12:19
ograi mean i see them in cpuinfo  ... but is it sure they actually work by just telling the kernel it is v7 ?12:19
asacnot sure if i get the core from all though at the same time12:19
loologra: Uh the whole userspace works12:19
ograwell, apt is the one that hangs12:19
loologra: All our programs are running in thumb 2 mode aren't they12:20
ogralool, yes12:20
ograso you think other SW would expose issues too ?12:20
loolasac: Dunno, some kernel fs benchmark to cause high IO12:20
loologra: other SW?12:20
ogra(if it was kernel side)12:20
ograother apps12:20
loologra, asac: One thing you folks could try to workaround the issue are different disk emulation in qemu; e.g. cache=none, cache=writeback, etc.12:21
rcn-eearen't some packages, still in arm mode?12:21
ograrcn-ee, very very few12:21
loologra: Well it might be a dpkg / apt bug exposed by our testing conditions or a qemu bug which triggers under high IO circunstances, perhaps a race12:21
loologra: I can't tell12:21
ograyeah12:21
asacits definitly racish12:22
asacok i have a core ... not sure if it was the apt or dpkg core though12:22
ograi'm close to say its a race ... apt hanging in read() and the issue going away with dbgsym installed point very much to it12:22
ograalso the I/O isnt blocked if you work from another tty12:23
ograwhile the hang occurs12:23
nosse1Is there a way I can circumvent the qemu-lockup from rootstock, so that I can build my ubuntu-minimal image?12:23
ogranosse1, juts ubuntu-minimal should actually work12:24
asacnosse1: is the hang in second stage?12:24
asacthen try another disk emulation as lool suggested above12:24
nosse1asac: Yes. "Switching to Virtual Machine for second stage processing"12:24
ogranosse1, do you have a full log ?12:24
asacnosse1: then try to do that12:24
loolAnother way might be to have a while sync; do sleep 1; done loop on another vt while doing the install12:25
nosse1ogra: Where can I find the log? Is it the rootstock-xxx.log file?12:25
* lool lunch &12:25
ogranosse1, right, rootstock should have told you it created the file when you stopped it (or it successfully finised)12:25
ogracan you put it somewhere so i can take a look where exactly it hangs12:26
nosse1The log files doesnt actuall tell anyting.. It shows the output from a wget session. Then "I: Killed ..."12:27
ograwhats your host os ?12:27
nosse1Karmic amd6412:27
ograhmm, amd6412:27
ogrado you use the rootstock package from the archive ?12:28
nosse1yes12:28
ograand you try to build lucid ?12:28
nosse1yes12:28
ograah12:28
ograthats fixed but not backported to karmic12:28
nosse1should I up my host to lucid then?12:28
ograhttp://bazaar.launchpad.net/~project-rootstock-developers/project-rootstock/trunk/revision/3112:29
ograthe rootstock scrip needs this fix12:29
ogra(currently karmic can only build karmic)12:30
ogra(without this fix)12:30
* ogra tries to find some food12:31
nosse1The ultimate goal of this is to throw Ubuntu into an embedded product which will go into mass production. What is the state of Ubuntu Lucid for ARM?12:39
nosse1The product is at least 12-14 mnths away from release12:39
asacnosse1: lucid for arm is quite good. we release beta today12:39
asacrootstock is busted though ;)12:39
asacthere are a few ftbfs and thumb2 porting issues outstanding12:40
nosse1Since we're using a Zoom TI AM3517 evaluation kit as a base, is there something I can do to contribute for support for that exact kit?12:40
nosse1Pardon my silly questions, I'm quite new to the development flows of Ubuntu :o12:41
asacnosse1: yes, testing like you do now is good. also checking if there is software for that that isnt in the archive would help (besides the kernel/bootloader)12:45
nosse1I see from the topic that "no, we do not cross compile"? What do you mean? That all packages are built natively on some target/emu?12:45
asacnosse1: we build natively on real machines12:45
asacnosse1: if there are particular software you need to cross compile let me know which software that is12:46
asaccurrently collecting the main use cases we should support in some way12:46
asacnosse1: here you can see our build farm: https://edge.launchpad.net/builders12:47
nosse1we will have Qt (>=4.6) running, but if it need cross compile I'm not sure yet12:47
asacnosse1: is that newer than in ubuntu?12:47
nosse1than karmic, yes. I havent checked lucid yet12:47
asacwe have Version: 4:4.6.2-0ubuntu12:47
asacin lucid12:47
asacat least thats the version for libqt4-dev12:48
asacso thats already precompiled in lucid for you12:48
nosse1Thats latest release from Qt12:48
asacif you have fixes for that that you need to get in and that are general issues we can try to get that patched12:48
rcn-ee* heads off to work, needs to stop playing with the xm board and send amit some usb/musb patches for omap..12:48
ynezzhow's xm? :)12:49
rcn-eei like it. ;)12:49
nosse1I'm a little uncertain how the rendering system should be done in Qt and/or X11. Because the SDK to access the HW GFX accelerators are not open source12:49
asacnosse1: so to get unbut-minimal all you need to do is to create it from lucid (not debian)12:50
asacthat definitly works for everyone here12:50
nosse1Yes! The patch to rootstock worked!12:57
nosse1How can I install or sign up for a builder in the build farm?13:01
nosse1I mean, the process from making a source package up until it ends up in a apt tree is really unknown to me13:02
nosse1Because we will have to make our own apt tree for the closed applications and such13:02
ograogra@osiris:~/Devel/branches/omap$ sudo build-arm-chroot lucid /mnt http://192.168.2.87:9999/ubuntu-ports16:18
ograW: Target architecture is the same as host architecture; disabling QEMU support16:18
ogralool, that seems broken16:18
ograeither drop build-arm-chroot or make it set --arch armel16:19
amitkogra: omap image? :-p16:20
* amitk hides16:21
* ogra hits amitk with a rootstock16:21
ogra:)16:21
amitk:)16:22
amitkthe kernel should the archive tomorrow16:22
amitk*hit the archive16:22
ogragreat, i'll make sure x-loader and uboot are uploaded before end of day tomorrow16:22
ograand will work on cdimage scripts on the weekend16:23
armin76you guys doing omap support now?16:25
DanaGOOooh.16:30
DanaGheh, every time I try to compile a "newer" u-boot (u-boot-omap) for my beagleboard, I find it mistakenly detects it as Board Revision Ax/Bx (instead of C4, as it should be).16:31
DanaGhmm, what benefit do a newer u-boot and/or x-loader give?16:31
DanaGhttp://pastebin.com/BFjBG4Ms --  vlc segfaults.16:33
DanaGer, sorry for the long command line. =þ   Oh, and mplayer is UNAVAILABLE.16:33
DanaGheh, I left in my sd card with Angstrom (ew) on it, and grub on my host "Found unknown Linux distribution on /dev/mmcblk0p216:34
ograDanaG, mplayer is availabel in multiverse16:37
DanaGhmm, I'll check sources.list.16:38
ografor vlc, please file a bug16:38
ogra(and hope that someone from the community puts some work into it)16:38
DanaGHow do I trigger apport via CLI?16:39
ograubuntu-bug vlc16:39
ograshould work16:39
DanaGWill it get the gdb output?16:39
ograif there was a crash file file created it will just attach it16:40
DanaGCool.16:40
ogracheck /var/crash/16:40
DanaGnope, no vlc .crash file.16:41
DanaGalso, when trying to run amttool on the beagle:16:43
DanaGCan't locate SOAP/Lite.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/amttool line 4.16:43
DanaGBEGIN failed--compilation aborted at /usr/bin/amttool line 4.16:43
ogralooks like a missing dependency ...16:44
ograa bug as well16:44
ograthe community support for apps in universe under armel isnt that great yet16:45
ogra(any help appreciated :) )16:45
DanaGhah, nvidia-kernel-common exists on ARM restricted.16:46
DanaGheh, and so do things like virtualbox-guest-additions.16:54
KingMutyyo17:04
DanaGweird... ssh into beagleboard and run mplayer... it outputs LOCALLY to pulseaudio on the ssh client.17:09
DanaGah, had to un-export DISPLAY=17:10
loologra: build-arm-chroot does set arch == armel17:12
ogralool, didnt for me17:13
loologra: But you're running this on arm, right?17:13
ograno17:13
ograi just tried to quickly build an arm chroot17:13
* DanaG wishes he had a spare DVI display.17:13
loologra: Ah I know what happened17:13
DanaGRight now, my beagleboard is entirely headless.17:13
ogralool, it also doesnt throw the deprecation warning17:13
loologra: uploaded17:15
loologra: http://paste.ubuntu.com/397356/17:15
ogralool, hmm17:16
ogralool, i didnt run build-arm-chroot with a path17:16
loologra: sudo added one17:16
ograoh17:17
ograindeed :)17:17
KingMutyyo17:17
ograghurt17:17
KingMutyjuje17:18
KingMutyhttp://blokker1999.info/andromnia/README.txt17:19
KingMutydis ewe do?17:19
KingMutyewe no talk?17:21
ograKingMuty, try #andromnia17:25
KingMutyok thx17:25
KingMutydey iz dead! :'(17:29
DanaGinteresting... so, if I wanted to have pulseaudio run as my local user... how would I make it auto-start on a headless thingy?17:47
DanaGnow, here's something funny to do:17:48
DanaGscreen /dev/ttyUSB0 115200 on host, to beagleboard serial port.17:49
DanaGnow run byobu within that.17:49
DanaGAnd then within byobu... use amtterm to go back to the host.17:49
DanaG... and then run another byobu there.17:49
DanaGor even better... make the first "screen" a byobu, too.17:50
=== dl9pf_ is now known as dl9pf
=== bjf is now known as bjf-afk
=== bjf-afk is now known as bjf
=== Meizirkki_ is now known as Meizirkki
=== nslu2-log_ is now known as nslu2-log

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