/srv/irclogs.ubuntu.com/2010/07/12/#ubuntu-arm.txt

=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== jkridner_ is now known as jkridner
=== fta_ is now known as fta
=== hrw|gone is now known as hrw
hrwmorgen08:02
=== fta_ is now known as fta
=== XorA|gone is now known as XorA
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
furibondoxhello everybody12:39
furibondoxI'm trying to use rootstock on ubuntu lucid but I have a blocking problem...12:40
furibondoxanybody have a suggestion?12:40
furibondoxthe error is: /usr/bin/rootstock: line 282:  6890 Segmentation fault      qemu-system-arm $QEMUOPTS -append "${APPEND}" > $QEMUFIFO 2>&112:41
furibondoxit seems a problem related to qemu itself...12:41
furibondoxanybody use rootstock from ubuntu lucid?12:46
=== freeflyi1g is now known as freeflying
furibondoxanybody use rootstock with ubuntu lucid?13:00
=== fta_ is now known as fta
vstehlefuribondox: You may want to report this into launchpad.13:30
furibondoxvstehle: I've just reported... https://bugs.launchpad.net/ubuntu/+source/rootstock/+bug/570588 (item 13)13:31
ubot2Launchpad bug 570588 in rootstock (Ubuntu) (and 1 other project) "qemu-system-arm can not handle more than 256M in versatile machine mode using the -m option (affects: 2) (heat: 53)" [Undecided,Invalid]13:32
furibondoxI just would like to know if someone experienced the same behaviour and have found a solution/workaround...13:33
ograif you see the exact same bug, just revert your changes to the rootstock script13:34
furibondoxogra: which change?13:40
ografuribondox, did you read the bug before commenting ?13:40
furibondoxyes13:40
ograits about someone who hacked his rootstock script to use 512M13:41
ograso revert that and it will work13:41
furibondoxI've also tried to use 512M changing the rootstock script but it fails again13:42
ograwell, qemu cant use 512M13:43
ograthats what the bug is about13:43
furibondoxsorry ogra, I know that but I've read some bug report on google describing the same error but in different threads... and I took the 570588 to add a comment13:44
furibondoxmay be is not the more approriate item opened13:45
ograwell, if you changed the script to use 512M thats the bug, if you didnt, its not that bug and should be filed as a new one13:45
furibondoxI tell you my tests: 1) with 512M 2) with 256M 3) with more seeds 4) with only one seed13:47
furibondoxthe result is the same13:47
ograand you are onyl using packaged versions of rootstock, qemu and friends ?13:48
* ogra knows that pleanty of people use rootstock under lucid and it works for them13:48
bercoogra: just to let you know that your udev script worked fine in the end. Can't think I told you.13:50
* ogra hugs berco 13:51
ograperfect !13:51
furibondoxyes ogra, all my packages (qemu, rootstock, debootstrap etc) come from the lucid repository13:57
ograin your pm you used rootstock-native, thats definately not packaged13:57
=== fta_ is now known as fta
furibondoxyes sorry... it was just a test...13:59
furibondoxii  rootstock                                  0.1.99.3-0ubuntu1                               shellscript to create armel rootfs tarballs14:01
furibondoxMay be there's something wrong with my command line?14:02
furibondoxsudo rootstock -f NGP --seed setserial,openssh-server,ubuntu-minimal -i 1G --serial ttyS2 --doswap --swapsize 256 --restore-package-cache14:03
ograsetserial should be included in ubuntu-minimal, beyond that all looks fine14:03
ograand adding setserial shouldnt cause issues14:03
furibondoxok14:03
furibondoxbut, as far as you know, do you think that is a qemu problem or rootstock problem?14:04
furibondoxif you think that is a rootstock problem I can try to uninstall/re-install qemu and try again14:05
furibondoxwhat do you think?14:05
ograwell, qemu segfaults14:07
ograits definately not a rootstock problam14:07
ogra*problem14:07
furibondoxok14:08
furibondoxI try to remove all and reinstall14:08
ukleinekogra: it's not long ago when I told you how to spell definitely :-)14:09
ograukleinek, i blame the heat14:10
* ogra melts slowly14:10
ukleinekogra: so Berlin is hot, too?14:10
ograukleinek, kassel here14:10
ogra28°C in my office, 36°C outside14:10
ukleinekogra: oh, Kassel, I thought you'd live in Berlin14:10
ukleinekogra: similar here14:11
ograi'd love to ... (who wants to live in kassel anyway)14:11
ukleinekogra: so why do you?14:11
amitkb-----i------g house14:11
ografree living :)14:11
amitk:-p14:11
ograno rent, solar heating system ... major cost factor :)14:12
* ukleinek has a solar heat here for free, too14:12
furibondoxogra: I'm retring...14:13
rsalvetimorning14:16
rsalvetihm, another qemu segfault14:21
rsalvetiinteresting that this is happening with lucid14:21
rsalvetiogra: was finally able to create the rootfs as user, but still have many issues to solve14:22
ograrsalveti, might be realted to amd64 systems14:22
ograrsalveti, good to hear :)14:22
rsalvetifirst, fuseext2 is incredibly  unstable =\14:22
rsalvetiI can create the same image many times, just with 'ro', and get different results everytime14:23
rsalvetilots of files get the wrong size and data14:23
rsalvetiso just after running the second stage, to be able to test, I mounted as loop, until we get this solved14:24
ograk14:24
rsalvetiogra: but my biggest problem is the seg fault that I'm getting most of the time14:24
ograqemu segfault too ?14:24
rsalvetiogra: yep :-(14:24
ogracrap14:24
rsalvetijust after running the second stage14:24
ograx86 or amd64 ?14:24
rsalvetiamd64, this could be the issue14:24
ograyeah14:24
rsalvetiwill try on x86 to see14:24
lagsebjan: Ping14:25
rsalvetiogra: see comment 54 on bug 53273314:25
ubot2Launchpad bug 532733 in qemu-kvm (Ubuntu Lucid) (and 2 other projects) "apt/dpkg in qemu-system-arm hangs if a big task is installed (affects: 7) (dups: 1) (heat: 79)" [High,Incomplete] https://launchpad.net/bugs/53273314:25
ograrsalveti, that bug isnt about segfaults14:25
rsalvetiyeah, I know14:26
rsalvetibut many people reported about the segfault while trying to reproduce it14:26
ograthat bug slowly turns into a mess :(14:26
rsalvetithat's why I posted there, cause it can be similar to what people was getting14:26
rsalvetibug for sure, it's different14:26
ograthe hang doesnt produce any segfaults at all14:26
rsalvetiogra: are you using x86?14:27
ograupstream already refused to look at it because of the confusing comments14:27
ograyes14:27
* rsalveti wasn't able to get just the 'hang'14:27
rsalvetioh, ok14:27
ograthe hang only shows up if you install a big task like ubuntu-desktop or ubuntu-netbook14:28
ogradpkg hangs at some point14:28
rsalvetiogra: yeah, but I'm getting the seg fault before that :-), but I'm using amd6414:28
ograyour segfault seems userspace related14:28
rsalvetiwill see with x8614:28
furibondoxogra: same error: http://pastebin.ca/1898986 :-(14:32
rsalvetifuribondox: how are you calling rootstock?14:32
furibondoxsudo rootstock -f NGP --seed openssh-server,ubuntu-minimal -i 1G --serial ttyS2 --doswap --swapsize 256 --restore-package-cache14:33
furibondoxfrom ubuntu lucid14:33
furibondoxall packages (qemu, rootstock, etc...) came from the lucid repository14:33
rsalvetifuribondox: are you running on x86 or amd64?14:34
furibondoxx8614:34
rsalvetifuribondox: ok, can try to reproduce it here, but many people did run rootstock without this issue on lucid14:34
furibondoxthe only unusual component is that my lucid x86 runs under vmware14:35
ograheh14:35
rsalveti:-)14:36
ograthats probably something you should have told in the beginning :)14:36
ogranot sure if qemu can run inside vmware14:36
rsalvetiyeah, could be the problem14:36
furibondoxsome times ago I tested qemu inside vmware w/o problems14:36
ograi know qemu cant run inside a kvm instance14:37
ograor insice vbox14:37
ogra*inside14:37
loologra: uh?14:37
loolI thought qemu could work just fine in kvm14:37
ogralool, can it now ?14:37
ograsoren told me it cant14:37
loolFirst time I heard it can't14:37
loolYou cant use qemu acceleration though14:38
ograso i never bothered to try to stack qemu instances14:38
ograhey asac14:38
loolYou can't run kvm in QEMU though14:38
asacomg14:38
asacthe heat is on14:38
ograwarm here, eh ?14:38
* ogra grins14:38
furibondoxok... so your suggestion is to try within physical ubuntu installation, right?14:39
rsalvetifuribondox: yep, I'm trying it here on x86 with your command line14:39
ograif you have one around, i would suggest that14:39
furibondoxtnx rsalveti14:40
sebjanlag: pong14:46
* ogra goes to find some icecream14:46
lagsebjan: HI14:46
lagHi*14:46
lagWhat's the latest with the Syslink driver?14:46
lagIs it going to make our build?14:46
=== fta_ is now known as fta
sebjanI have tested with your last patch update, and could see that the modules where automatically loaded, as expected14:47
sebjanwe have no solution yet for the issues when it is built as modules. We may have to re-test with syslink v2 and debug on this version rather than on the current one14:48
=== amitk is now known as amitk-afk
furibondoxrsalveti: can you tell me if the building is finished without errors?15:02
rsalvetifuribondox: still going15:02
rsalvetigoing to run the full vm now15:03
furibondoxok15:03
lagsebjan: Thanks for the update15:05
lagsebjan: Do any of your chips have parallel ports?15:06
vstehlelag: I don't think we have parallel ports in the OMAP per se, but it can be "emulated" with GPIO if needed.15:17
furibondoxrsalveti: is finished now?15:25
rsalvetifuribondox: not yet, but it's just finishing the full emulation part, no crash until now15:26
furibondoxgood15:26
loologra: Hey15:31
ogralool, yup15:32
loologra: Do you folks intend to include x-loader + u-boot in omap pre-installer images?15:32
lool*pre-installed15:32
ograyep15:32
loologra: Ok; is this tracked in a bug/blueprint somewhere?15:32
ograerr, sorry, was distracted15:33
ograwe *do* already include both15:33
lagvstehle: Thanks, but there's no need. The parport_pc driver is crashing your devices.15:34
ogralool, https://blueprints.edge.launchpad.net/ubuntu/+spec/preinstalled-sd-card-images-for-omap15:34
ogralool, "Change armel+omap debian-cd scripts to create a two partition image with first partition being vfat with proper bootloader setup"15:34
loologra: Hmm15:36
ogralool, dailies are here: http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/current/ (still lacking web indicies, manifest and proper md5sum stuff, but its on teh list)15:36
=== fta_ is now known as fta
loologra: Yes, this didn't boot with qemu for me15:36
* ogra never tried it with qemu15:37
ogradid you dd it to an SD card and ran qemu with it as hdd1 ?15:37
loologra: My ports-dev PPA has an updated package15:37
ograyou will definately need a real disk for it15:38
ograsince it tries to expand to the full disk size, it wont work if it cant expand to have free diskspace15:38
ograwe only leave 10M in the root partition that are eaten up ny the ext3fs journal15:39
ogras/ny/by/15:39
ograso even if you would get it to boot, it would need to be dd'ed to a bigger sized (i'd recommend 4G) image15:39
ogralool, your qemu is omap3 i guess, we only include the actual beagleboard MLO in the image atm15:40
loologra: I did a bunzip215:40
looland ran it with qemu -sd15:40
ograso if you dont strictly emulate a beagle that might be the prob15:40
loologra: My QEMU boots the Angstrom beagleboard image somewhat15:41
loolWell into kernel boot messages for instance15:41
ograand ours ? where does it stop ?15:41
* ogra is in the process of updating to x-loader 1.4.4 from 1.4.3 ... probably that helps15:41
ograi didnt touch the omap3 stuff since pre-A2 but it definately works on real HW15:42
* ogra focuses on omap4 atm15:42
ogralool, angstrom images are not partitioned, they are tarballs, no ?15:43
hrwogra: they are15:44
ograunless something changed significantly recently15:44
hrwogra: you mean 'narcissus' ones I assume15:44
ograhrw, no idea what lool used above for qemu tests15:45
hrwneither do I15:45
ograi know for sure our images work on actual HW and i would have never gotten the idea to try one of them in qemu :)15:46
ograespecially since its quite some hassle you have to do with the image sizing15:46
ograif you dont actually dd to an SD card15:46
loologra: No, it's a partitioned SD card image15:47
loolAngstrom-Beagleboard-demo-image-glibc-ipk-2010.3-beagleboard.sd-image-2GiB.img1  *           1           9       72261    c  W95 FAT32 (LBA)15:47
loolAngstrom-Beagleboard-demo-image-glibc-ipk-2010.3-beagleboard.sd-image-2GiB.img2             10         240     1855507+  83  Linux15:47
ograwhere did you get that ?15:47
ograi only know the tarballs15:47
hrwI know that OE can generate any type of image15:47
ograthe partitioning seems to be identical to ours though15:47
ograand since we use the same code i bet it actually is :)15:48
ograso the only difference can be xloader or uboot if you dont get any serial output15:48
ograour omap3 x-loader package is still at 1.4.3 with the XM patches on top ... in 1.4.4 the XM patches are included, i'll update it this week15:49
ogralool, so try an image from the end of this week15:49
ograso we can exclude MLO here15:50
ograits my only explanation15:50
ogralool, you can also try to replace the binaries in the vfat and see15:50
rsalvetifuribondox: yep, no problem15:51
rsalvetifuribondox: same arguments15:51
rsalvetifuribondox: vmware can be your problem15:51
furibondoxthank you very much rsalveti15:51
rsalvetinp15:51
furibondoxI will try with a native ubuntu installation15:52
loologra: I tried the image from yesterday evening15:52
ogralool, cant be, the livefs builder was broken since thu :)15:52
furibondoxrsalveti: I've a question... do you have tested with a lucid?15:53
loologra: I grabbed the "current" image from yesterday15:53
loolit might be a stale one15:53
ogralool, as i said above, i'll update x-loader-omap3 this week15:53
loologra: Ok, thanks15:53
ograuntil then try to replace the binaries in our image witrh the angstrom ones15:53
ograand see if it boots then15:53
rsalvetifuribondox: yep15:54
ograour vfat is exactly 9 clinders and "W95 FAT32 (LBA)" so there shouldnt be a difference apart from MLO and uboot15:54
furibondoxrsalveti: can you also send me the output of a dpkg -l of your pc?15:55
rsalvetifuribondox: 10.04.115:55
rsalvetifuribondox: sure, 1 sec15:55
furibondoxI leave my email in pm15:55
* ogra takes a break and hunts for more icecream15:55
rsalvetifuribondox: http://paste.ubuntu.com/462558/15:57
furibondoxtnx15:58
=== fta_ is now known as fta
hrwlag: did you got working screen finally on panda?16:40
lagNope16:41
lagTI are working on it16:41
lagI've been working on something else16:41
hrwlag: maybe http://gitorious.org/pandaboard/kernel-omap4/blobs/L24.6_panda/drivers/video/omap2/dss/hdmi.c  will help you to find working hdmicode value16:41
ograor http://omappedia.org/wiki/Bootargs_for_enabling_display16:42
ograwe had all that in the dicussing last week :)16:42
ogra*discussion16:43
hrw;)16:43
lagFinding a working hdmicode is not the issue16:43
ograright16:43
lagWhen I use sysfs almost all of them work for me and my monitor16:44
lagWhen I use the cmdline arguments, the best I can hope for is a fuzzy screen and an "out of range" message from my monitor16:44
* ogra just thinks its a matter of the right glasses16:45
ograthey should just ship them with the boards ;)16:45
=== hrw is now known as hrw|gone
=== bjf[afk] is now known as bjf
fjrivashHello, I am following these instructions to get a rootfs for ARM https://wiki.ubuntu.com/ARM/RootfsFromScratch, I compiled a kernel and generated a zImage, when I try to run qemu (as specified in the tutorial) I got a black screen, I tried adding -d options file.log at the end of the command to get the output but I got nothing, am I missing something?16:55
fjrivashI changed the -cpu option for amr11mpcore,16:55
fjrivashthanks in advanced :D16:55
ografjrivash, for which release are you building your rootfs ?16:58
fjrivashlucid16:58
ograwont run with arm11mpcore16:58
ogralucid is built for armv716:58
ograarm11mpcore is an extended armv6 as i understand it16:59
fjrivashohhh I see.16:59
fjrivashYes it is compatible with armv6kz17:00
ogrause the binary kernel from the tutorial17:00
fjrivashwell see : I did the first step of this section "Building a root filesystem image instead of a tarball" and after that compiled my own kernel and tried booting : it did not work. After that I got that image and is the same, that is why I am asking.17:01
fjrivashis there a way to build a rootfs of a release wich support armv6 (or compatible) using rootstock?17:03
GrueMasterfjrivash: Try using Karmic or Jaunty.17:04
GrueMasterOtherwise you are kind of stuck with debian.17:04
ograkarmic supports v617:04
fjrivashOk. i will try with them :D great!. Thank you (both) very much :D17:05
fjrivashI have been reading different documents about this topic and some of them says that you need to specify initrd in qemu command line, is it necessary?, I am not pretty sure about that, thanks in advanced again17:16
Apaisalhello all17:19
=== XorA is now known as XorA|gone
rsalvetiogra: hm, same seg fault on x86 =\17:26
rsalvetiwill try to debug it now17:26
suihkulokkilool: committed and pushed to gitorious17:27
htc I wana to do  same her   http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/  whit another version of ubuntu but I don't know how  bullied an arm img of it it there any doc can help17:27
hrw|gonehtc: try karmic17:30
=== hrw|gone is now known as hrw
htc <hrw|gone> how17:31
hrwhtc: no idea, never played with chroot on mobile devices17:32
hrwand I do not like idea of 'run ubuntu/debian/fedora/anyotherdistro in chroot and tell everyone that you run it'17:32
hrwchroot is chroot... if people boot that distro then I will say that they managed to do something worthy17:33
htc<hrw> no , what I want is the way to builded from scratch there is any doc can help17:34
hrwhtc: you rather want to get rootfs for ARM rather then start from scratch17:35
htc yep  like this exmple http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/ in order to run it on an android device17:35
hrwso use rootstock17:36
htclike her https://wiki.ubuntu.com/ARM/RootfsFromScratch17:36
hrwyes17:37
htcI will need any thing else after I build the ARM img17:38
hrwhtc: ask nexusonehacks.net guy?17:39
hrwhi prpplague17:39
prpplaguehrw: greetings earthling17:40
htcok  men I will17:41
htc& tnx17:41
=== hrw is now known as hrw|gone
loologra: is LP #589624 still an issue for you?17:54
ubot2Launchpad bug 589624 in linux (Ubuntu) "[Maverick] omap flavour does not work on beagle XM board (affects: 1) (heat: 97)" [High,Triaged] https://launchpad.net/bugs/58962417:54
loolsuihkulokki: Thanks17:54
=== fta_ is now known as fta
=== fta_ is now known as fta
ogra_cmpclool, yes, thats the main reason why i update the x-loader package19:31
ogra_cmpclool, apparently it works on *some* XMs19:31
ogra_cmpci'm hoping updating x-loader makes it work on all19:32
ogra_cmpc(recommendation from #beagle)19:32
=== fta_ is now known as fta
ukleineknpitre: thanks for your mails, great to have your support21:18
zumbiyeah! mv sh*t /dev/null21:25
armin76zumbi: what happened?21:27
zumbiarmin76: nothing! spain won, we are champions! congrats! :)21:27
zumbiarmin76: linus wants to remove defconfigs from arm and ppc, but ukleinek did a proposal (he did not like it, but it removes 200k lines of sh*t)21:29
ukleinekzumbi: :-)21:34
ukleinekuser@host:/usr/bin$ ls sh*t21:35
ukleinekshowcfont  showfont21:35
zumbiukleinek: this is best than TV series anyway (also we have the hardfloat arm stuff) :)21:36
=== pcacjr_ is now known as pcacjr
ukleinekzumbi: your sentence doesn't make it through my natural language parser :-(21:37
zumbiukleinek: i meant that your thread at linux-arm@ is going to take long discussion (better to follow this thread than TV series - I have no TV at the moment -). We, as distro, also have long thread on having an arm hardfloat port, which it is involving upstream and it seems that lot of people is interested, but they need to workout mechanisms (on the upstream side)21:42
ukleinekah21:42
zumbiukleinek: It seems that it is time to put some order in the ARM trees (linux+rootfs)21:42
ukleinekzumbi: there is definitly potential for more order, yes21:43
ukleinekstill, I leave for bed now and will recheck tomorrow for the outcome of the discussion21:44
zumbiSure, it'll take a while to put all bits in place21:44
zumbig'night! and congrats for the good job :)21:44
ukleinekThere is even potential for more code sharing across archs21:44
ukleinekzumbi: It was easy and I don't consider it "good", it's just nice and the best thing that currently works.  My main concern is to be able to continue build testing until a better solution is implemented21:45
zumbiukleinek: sure, s,good,fast & effective, but you are the one that came up with the short term idea, for others to think on the long term one. :)21:46
ukleinekzumbi: if you check the changes I did to the ns9xxx_defconfig you see it's actually an old idea21:47
ukleinekThis file was first reduced and then I added some symbols that I expected to be mainlined next21:48
zumbiuhm.. haven't check the changes.. but i worked with ns921521:48
* ukleinek is now really away21:49
zumbibye21:49
zumbii'll have a look21:49
=== fta_ is now known as fta
npitreukleinek: no problem22:13
=== fta_ is now known as fta
npitreukleinek: ... and it is in now ;-)23:30
zumbilinus is fast! I like it :)23:32
zumbinpitre: and rmk warns linus about adopting DT?23:33
zumbior did I misunderstood?23:33
npitrezumbi: no, what RMK is refering to is not DT23:34
zumbiah! I was thrilled about it23:34
npitrezumbi: we're working on various patches to eventually allow a single kernel binary to support multiple SOC families, and that is orthogonal to DT23:34
zumbibut I guess both approaches target the same problem23:35
npitrezumbi: not exactly23:35
npitrezumbi:  DT is about how to provide info to the kernel so it can configure itself even for yet-to-exist boards23:36
npitrezumbi: so DT will allow to reduce the per machine static configuration code23:37
npitrezumbi: but DT cannot solve the much bigger issue of being able to compile together support for more than one SOC23:37
zumbiwhich it is probably what RMK was talking about23:39
=== fta_ is now known as fta

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