/srv/irclogs.ubuntu.com/2009/05/12/#ubuntu-arm.txt

=== ApOgEE__ is now known as ApOgEE-
=== Stskeepie is now known as Sts|office
mneHi. Yesterday I played the whole day long to build a rootfs with the build-arm-rootfs script. I modified the script so that it stops right before running qemu so that I can run qemu-system-arm interactively to see whats going on. While everything seems to work I still have no working network inside qemu. Since I was running qemu inside a vmware image which might have caused network problems, I'm now running qemu natively on ubuntu hardy. The result is sti09:33
mnell the same: Inside the arm image I get an IP address and nameserver from QEMU over DHCP. I can even connect to machines on the LAN and on the internet. However, DNS resolving does not work. On the guest image qemu's nameserver (10.0.2.3) is used for resolving. Interestingly it can resolve DNS names for the hosts on the LAN. However, external addresses (like www.google.com for example) are not resolvable. I also tried to use a real DNS server (by putting09:33
mneit into /etc/resolv.conf on the guest instead of the qemu DNS server), but the result is still the same: LAN DNS names are resolved, but internet DNS names are not. Any ideas ?09:33
mneNice, I just got it working by using my ISPs DNS server instead of the LAN DNS server (which does DNS caching and forwarding to my ISPs DNS server).09:42
persiamne, Excellent to hear you got it working.  Perhaps an issue with NAT and your local DNS server?09:46
mneHmm, I don't know. I never had problems with it with vmware. However, since vmware's networking is completely different, it still might be some LAN DNS issue. Anyway, I'm happy now ;) It took me a whole day to figure it out :P09:50
loolmne: You might want to tcpdump the actual network traffic to see why the DNS answers work for internal hosts but not public ones10:02
=== Nicke_ is now known as Nicke
mnetcpdump on the host running qemu ? or on the guest ?10:04
ograi guess the DNS forwarder in vmware simply doesnt DTRT10:07
loolmne: On the host would work better10:19
loolmne: ah you're running qemu in vmware?  that's heavey10:19
ograyes he does :)10:20
mnenot now. But that's what I tried yesterday. Sure it brings heavy performance issues, but the idea was to have an embedded vmware development image which contains everything necessary. qemu is only used to create the rootfs anyway10:22
ogramne, so just build a qemu image natively and convert it10:58
Stskeepsmorning persia10:58
persiaHey Stskeeps10:59
Stskeepshow is it going?10:59
persiaI'm *way* behind on documentation, but at least I think I know what needs writing at this point.11:01
persiaAnd I've discovered the drawback with attaching a computer directly to one's brain: it takes a whlie for the brain to understand how to use it :)11:02
persiaFor you?11:02
Stskeepshehe.. i'm playing with my newly donated freerunner and being amazed at how effective chinese gadget lovers are in finding 3rd party firmware for their devices :>11:02
persiaheh.11:02
Stskeeps12 hours after a silent notice of a smartq5 firmware image on the mer list, it ends up with it's own blurry phots and huge rumours etc11:03
Stskeeps:>11:03
persiaThe language barrier is significant, but there's a lot of good hackers there.11:03
Stskeepsyeah11:03
Stskeepsbut anyway, if there's more you'd like to discuss regarding the mer-karmic idea, i'm around the next 4 hours :)11:06
persiaI think we covered the basics.  Basically, Mer needs lots of packaging review, Ubuntu needs lots of patches, and we both need to have a good understanding of the definition of "upstream" for some of the components.11:08
Stskeepsyep11:08
persiaUntil I can effectively document that, and get some traction on the packaging review, I'm not sure how much you guys can do.11:08
Stskeeps*nod*11:08
persia(unless you have some secret plan that gets a clean definition of "upstream")11:09
Stskeepsnop, as convulted as ever :P11:09
Stskeeps+u11:09
persiaI'm hoping that with the packaging review, we can define some available blobs that can be "upstream", and then use that as a guideline.  But I'm not sure how cleanly that will work...11:09
Stskeepsyeah. i'm meeting with the nokians at the end of the month and i hope to discuss things with them to11:11
Stskeepso11:11
persiaThat'd be excellent.11:11
Stskeeps( http://wiki.maemo.org/MozillaMaemoDanishWeekend )11:11
persiaPersonally, I'd like to see Mer/Ubuntu be just a set of patches laid on top of what Nokia is providing for some of the core applications, and restricting that set to stuff that doesn't have another upstream, but I'm not sure how viable that is for them.11:12
suihkulokkipersia, lool, you might want to drop someone from ubuntu there too ^11:13
ograsuihkulokki, bad timing11:13
Stskeepsyeah, just after UDS? :P11:13
=== mcasadevall is now known as NCommander
Stskeepswell, at least libhildon and other key components are developed in the open now so it's a good start11:13
persiaIndeed.  And I'm guessing that the output of the MID-is-Mer discussions can be input to that.11:14
Stskeepswe're basically getting some of the people making direction for mer together there (nokia has sponsored quite a fair bit of travel and such, which is very nice.)11:16
Stskeepsso yeah, using UDS as input for our discussions there could be good :)11:16
persiaI don't suppose you'll be at UDS, will you?11:17
Stskeepssadly i won't, i'm already booked enough out this month, cph meeting and a exam a week after that meeting11:17
persiaMakes sense.11:18
Stskeepswe have completed our migration into OBS now so we can start cleaning up packages/finding .orig.tar.gz's and such more easily as well, and we'll do that in our 0.1411:21
persiaThat's the May-June cycle?11:23
Stskeeps3 weeks from monday, yeah11:23
Stskeepswe're releasing 0.13 on monday so :)11:23
persiaAh, so that's the same timeframe that I need to have everything documented (well, my deadline is the 24th), so there's an opportunity for parallelisation there :)11:24
Stskeepshehe, alright11:24
loolStskeeps, suihkulokki: I was aware of the event, but it conflicts with UDS for me  :-/12:39
Stskeepswas it in barcelona or how was it?12:39
loolI'm leaving my home for two weeks and returning the 30th, wouldn't want another event immediately after that, and I will be tired anyway12:39
loolStskeeps: It's in barcelona in 10 days or so12:39
Stskeepsk12:39
Stskeepscurious, is UDS open? i think we might have a barcelona based guy12:42
Stskeepsah, nevermind - madrid instead12:43
persiaStskeeps, UDS is completely open to the public, yes.13:00
Stskeepsk13:00
persiaIt's past the deadline to request subsidies for travel or lodging, but more people would *definitely* be welcome.13:01
Stskeepsi'll see what he says, might be useful to have a mer guy around if you're going to discuss mer & karmic13:05
persiaVery much so.  Even if nobody can get there physically, there's VoIP, and I'd hope that a couple people could attend the Mer session.13:07
Stskeeps*nod*13:07
mneHi. Which arm cross compiler toolchain do you use ? I found various toolchains on the net, which one can you recommend ?13:14
persiamne, None.  It's all native builds.13:14
mneyou build natively on arm ? Isn't that terribly slow ?13:15
mneI found this on the ubuntu wiki: https://wiki.ubuntu.com/Toolchain/Crosscompilers/ARMEABIToolchain13:17
persiaIt's not so bad, if you have fairly fast build machines.13:18
persiaAnd there's advantages to native build, like being able to build code-generating source, etc.13:19
mneHmm ok. My board (at91sam9260 @ 200MHz) is definitely too slow :)13:19
persiaheh, yeah, that might take a while to build something like openoffice :)13:20
mnebtw, on ubuntu, is there a general config file for make or an environment variable so that make always uses a specified number of jobs (i.e. 4 for a quad core cpu) ?13:21
persiakinda.13:21
persiaSo, the build is always controlled by the debian/rules makefile.13:21
persiaBut most of the better debian/rules files support certain variables, like the number of parallel make jobs to run.13:21
persiaIn which case, they are built with numcpus+113:22
persiaBut it really depends on the package.13:22
mnecool. So if it doesn't work I'll just change the parameters in debian/rules. thanks.13:22
=== amitk_ is now known as amitk
ScriptRipperNCommander: are you there?15:46
ScriptRipperpersia ogra: hi15:47
persiaHey ScriptRipper15:48
pro-rsoftScriptRipper, don't I know you from somewhere?15:48
pro-rsoftoh! right from opensuse build service15:48
NCommanderScriptRipper, yeah, I'm here15:49
* NCommander has one MASSIVE migrane this morning ;.;15:50
ScriptRipperdue to ubuntu 9.04 *lol*15:50
NCommanderScriptRipper, actually, due to gcc-4.416:07
NCommander(and a few other nameless things :-/)16:08
pro-rsoftI dont seem to have /lib/modules ... what could possibly be wrong?20:14
pro-rsoftI mean its empty20:15
persiapro-rsoft, What kernel do you have installed?20:41
pro-rsoftI had 2.6.28-oer17 installed20:41
pro-rsoftbut nvm I solved the issue20:42
pro-rsoftit installed modules.dep somewhere else so I just symlinked20:42
pro-rsoftnext problem: lsmod shows empty20:42
persiaWell, that just means no modules happen to be loaded.20:42
pro-rsofthmm ok20:42
pro-rsoftso I need to load them using modprobe right?20:42
pro-rsoftpersia, where can I get a list of available modules to insert?20:42
persiaAs much as I generally recommend finding a kernel somewhere, as the distro kernels support so few devices, you'll do well to find a kernel that matches the install layout, etc. of the Ubuntu kernels.20:43
pro-rsoftyeah20:43
persiaWell, given that I know *nothing* about the kernel you're using, I don't have any answer.  I'd start by looking at the files that came with the kernel.20:43
pro-rsoftok20:43
pro-rsoftah I see20:44
pro-rsoftthanks20:44
=== playya_ is now known as playya__
=== playya__ is now known as playya1
=== playya1 is now known as playya
mcm_is mplayer for arm already packaged? i find references to it but not the actual mplayer package....22:01
persiamcm_, Looks like build failures.  https://launchpad.net/ubuntu/+source/mplayer/2:1.0~rc2-0ubuntu19/+build/889104 is the latest build record.22:03
persiaWe don't tend to do arch-specific packages, so any package available for any architecture *should* be available for all architectures.22:03
persiaThere are some exceptions, but those often represent bugs needing to be fixed in the package, rather than a need for additional packaging.22:04
mcm_indeed, the way it is as original debian.22:05
persiaPrecisely.22:05
persiaThe mechanisms are entirely parallel: use of Architecture in debian/control, and an override file.22:05
mcm_but since 9.04 is released, a successful build of mplayer, will it get into the 9.04 rep?22:06
suihkulokkimcm_: you'll wat to build a mplayer specific for your hardware features22:06
persiasuihkulokki, Is there a reason not to do multiple runs of the mplayer build, as is done for ffmpeg?22:07
persiaI'd think that'd be more useful than everyone doing a custom build, or doesn't mplayer permit that sanely?22:08
suihkulokkipersia: yes you could do that, but it doesn't exist yet, so mcm will need to compile it himself :)22:08
persiaI guess.22:09
mcm_suihkulokki: ok.22:09
mcm_i was currently checking the failed build log of mplayer. to see where it failed...22:10
mcm_persia: & suihkulokki: thanks...22:12
persiamcm_, If you do find out how to fix the build failure, please report a bug with a patch.  While it's too late for Jaunty, it would be nice to get this into Karmic.22:13
mcm_with my newbee knowledge on arm procs, it looks like build machine problem...22:15
mcm_armv4l/dsputil_arm_s.S:79: Error: selected processor does not support `pld [r1]'22:15
persiaWell, that's one way to describe it.  Another might be that the capabilities detection leaves something to be desired.22:17
persia(or maybe we just need better buildds)22:17

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