/srv/irclogs.ubuntu.com/2010/02/22/#ubuntu-arm.txt

=== wgrant_ is now known as wgrant
=== ApOgEE__ is now known as ApOgEE
5EXAAEK4AHello ppl , Has any one tried building the ubuntu rootfs from sources ?07:37
=== 5EXAAEK4A is now known as bandwidthcrunch
persiabandwidthcrunch: I don't know of any recent efforts to reconstruct it, but it's exclusively generated from uploaded sources.07:44
bandwidthcrunchWanted to be able to regenerate it from uploaded sources at my end persia. Was wondering if there was a way i could rebuild the jaunty/karmic for armel without using rootstock07:46
persiaWell, there's two steps involved.07:46
persiaThe first is converting sources to binaries, and the second assembling binaries into an image.07:47
persiaDo you need to do both, or just one?07:47
bandwidthcrunchI wanted both . A build process like pbuilder (targetting armel) and the binaries in a rootfs populated automiatically07:47
persiaOK.07:50
persiaSo the main issue is the bootstrap.07:50
bandwidthcrunchWanted to comeup with a distribution targetting custom arm hardware.07:51
persiaI don't think there's an easy way to do it.07:51
persiaYou'd probably want to build your toolchain against Ubuntu, and then rebuild Ubuntu against that toolchain.07:51
persiaWhich requires setting up your own archive environment (dak, soyuz, etc.)07:51
persiaThe pbuilder from lucid works on armel (either native or emulated) just fine, but won't scale to what you want.07:52
persiaOnce you have that, just use your rebuilt rootstock.07:52
persiaUnless you have mountains of hardware, this process will probably take 3-4 months at a minimum.07:52
bandwidthcrunchOk. and what are dak and soyuz ?07:52
persiadak is the tool used to manage the Debian archive.  soyuz is the tool used to manage the Ubuntu archive.07:53
bandwidthcrunchi do have atleast 6 600mhz arm devices07:53
persiaGetting it done in 4 months is optimistic then.07:53
bandwidthcrunchI will be getting grey hair by then :) . is there anyway to achieve the same on cross platform. Build it on i386 ?07:54
persiaYou can do it with emulated builds, but it's still a few months.07:55
persia(again, unless you have mountains of hardware)07:55
persiaThere are heaps of packages that don't cross-compile well, so trying to do cross-compilation would be it's own sort of pain.07:56
bandwidthcrunchThanks persia. I dont see a way out of this one. Let me check up if openembedded guys have gotten a way of integrating ubuntu sources and churning it out07:59
persiabandwidthcrunch: I can't imagine you really need to do this.08:00
persiaSimply because there chance that there's a good reason to provide 20,000 rebuilt binaries is vanishingly low.08:00
persias/there/the/08:00
bandwidthcrunchSometimes  i can wait for ubuntu to keep releasing armel builds but for for certain applications i will need source control.08:01
bandwidthcrunchMaybe i can just build those on ubuntu servers ?08:01
persiaDo you need modified sources, or sources built over a modified toolchain?08:01
bandwidthcrunchBoth . example openoffice doesnt fit well over my 7inch screen. need to hack the sources to trim it to a window and have our own toolchain bake it08:02
bandwidthcrunchideally have our toolchain build all the packages but again as u mention it is going to take a while doing that08:03
persiaOK.  The application changes are easy.  The toolchain is more fussy.  Why do you need a special toolchain?08:03
persiaOn a separate note, the problem with openoffice isn't that your screen is 7", it's that your screen doesn't have enough pixels :)08:05
bandwidthcrunchFr application developers we need to provide an SDK with a toolchain08:05
persiaCan't you just tell the application developers to use Ubuntu and pbuilder?08:05
persia(or sbuild : doesn't really matter)08:05
bandwidthcrunchWould they be able to do that for armel ? create applications without me passing them my rootfs and a toolchain ?08:06
persiaYes.08:06
persiaWell, under some constraints.08:07
persiaSo, let's assume you start from the Ubuntu archives.08:07
persiaThen your developers either run pbuilder on native hardware or run pbuilder with emulation on foreign hardware.08:07
persiaThat's how we develop Ubuntu today.  I don't see any reason that someone couldn't use the same procedure elsewhere08:08
bandwidthcrunchIs there a wiki somewhere where i can readup on howto go about the same ?08:08
persia(and, honestly, we don't always do the build on armel if it's not an arch-specific thing, and just trust the archive to build the armel binary from the single upload of source)08:08
persia!pbuilder08:08
ubot4pbuilder is a system to easily build packages in a clean chroot environment. To get started with PBuilder, see http://wiki.ubuntu.com/PbuilderHowto08:08
persiaYou'd need to be running lucid to get the emulated pbuilder working, but that is created by running `pbuilder-dist lucid armel create` on i386 or amd64.08:09
persia(assuming ubuntu-dev-tools to be installed).08:09
persiaSo, the developers can do their testing / development using a combination of native i386/amd64, native armel, and emulated armel for development and testing (depending on the specific feature being changed).08:10
bandwidthcrunchI have most of the requirements , let me take it out for a spin and see what comes up ... I have 64bit lucid and a core i7.08:11
persiaWhere you find issues, you can modify sources.  You can put the sources either in a PPA or in some other archive somewhere.08:11
persiaIf you put the modified sources in a PPA, you'll need to set up some armel devices to track the PPA, pull any new sources, build them, and stick the results somewhre.08:12
persia(because PPAs don't build armel).08:12
persiaIf you use some other archive, you'll need to build for each architecture you want to work.08:12
persiaYou'll probably want to put the entries for your modified packages in the sources.list for your pbuilder chroots and test devices.08:13
bandwidthcrunchwhat about thr toolchain ? How does pbuilder set that up ?08:13
persiaIt just downloads from the archives listed in sources.list08:13
persiaSo if you upload a modified toolchain, it uses that.08:13
persiaBut be careful: if you change the ABI, you end up needing to rebuild everything (which takes months).08:13
bandwidthcrunch pbuilder-dist lucid armel create08:14
bandwidthcrunchError: «armel» is not a recognized argument.08:14
bandwidthcrunchPlease use one of those: create, update, build, clean, login, execute08:14
persiaYou may have to modify rootstock to use your archive, but that modified rootstock would let you build rootfs images.08:14
persiaThis is lucid?08:14
bandwidthcrunchIt is karmic08:15
bandwidthcrunchi will have to uprage it i guess08:15
bandwidthcrunchLet me get on with it..08:16
persiaYeah.  I didn't add the support to build emulated chroots until a few weeks ago, and the emulation stuff still ad lots of issues until near the end of last week.08:16
persiaso you'll be working on the edge, but the idea is to create an environment so that nobody needs to traffic in big SDKs anymore, if they use Ubuntu.08:17
bandwidthcrunchThanks persia, makes a lot of sense now..08:17
persiabandwidthcrunch: If this works for you, and you end up with patches you think would be good for general application, please file them in launchpad.08:18
persiaWe'd really appreciate the help in making Ubuntu strong (and it reduces your future effort in merging your patches against the next release).08:19
bandwidthcrunchDone persia. I will push them to lauchpad08:19
persiaThanks :)08:19
bandwidthcrunchAppreciate the help. Will keep us posted on the happenings08:20
persiaI don't know if you're planning to use bzr, but there's been a lot of work by the Distributed Development team to try to make working with Ubuntu sources in bzr extra easy.08:20
persiahttps://wiki.ubuntu.com/DistributedDevelopment has some links that might be interesting.08:21
persia(Depends on your team size, facility with operating debian-style archives, etc.)08:21
bandwidthcrunchI tried using bzr but that was a month two back .. Let me check them up..08:21
persiaThere's no requirement to use bzr, but if you have a large team that plans to cooperate on a small number of packages, it may be helpful.08:22
bandwidthcrunchAhh ok. We have a small team so i dont think we will really be more of a bzr ppl for the time being08:24
persiaFair enough.  I just wanted to make sure you knew about the variety of tools available.08:24
asacheyho folks!08:25
persiaSelfishly, I'd prefer to see your team working with Ubuntu and using Ubuntu tools, rather than building a derivative distribution :)08:25
persia(although I recognise that if you are targeting some specific device, there are probably commercial requirements that require some variation from the set of packages that have general application)08:25
bandwidthcrunchI agree in the uniformity concept rather than have fragmentations08:30
bandwidthcrunchOurs is a custom device and has a bit of changes that come in for the platfrom but otherwise we like sticking to vanilla ubuntu08:31
persiaExcellent.08:31
persiaNote that there are some restrictions on trademark usage.  I forget the precise phrasing, but it comes down to not being able to call the OS "Ubuntu" if it has modified sources, especially in product marketing and branding, etc.08:33
persiaI believe "based on Ubuntu" or similar is accepted.08:34
persiaBut I'm not qualified to give precise advice: you'd want to check with your counsel.08:34
=== hrw|gone is now known as hrw
ynezzWhere can I find modules for vmlinuz-2.6.31-rc3versatile1-cortex-a8 kernel? Seems like I need modules http://ynezz.true.cz/qemu.png11:09
persiaFrom where did you get the kernel?11:10
ynezzI'm following steps here https://wiki.edubuntu.org/ARM/BuildArmPackages11:11
ynezzit's this URL http://people.canonical.com/~ogra//arm/qemu/vmlinuz-2.6.31-rc3versatile1-cortex-a811:11
loolynezz: The modules aren't available11:12
loolynezz: I recommend you use the lucid versatile kernel instead11:12
loolynezz: http://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux/linux-image-2.6.32-14-versatile_2.6.32-14.20_armel.deb11:13
loolynezz: Unpack this with dpkg-deb -x, and you'll get a boot/vmlinuz and a lib/modules tree11:13
asachttp://code.activestate.com/recipes/146306/11:13
ynezzlool: thanks, trying now11:14
asacJamieBennett: ^^ (thats httplib though)11:14
persiaynezz: From where did you find instructions to use that kernel?  I'd like to replace that documentation with what lool has just supplied.11:14
ynezzpersia: that edubuntu link11:14
loolpersia: I guess that's rootstock doc11:14
loolDid rootstock switch to pulling the lucid kernel now?11:15
ynezzpersia: "If development machine is running Karmic"11:15
asacodd ... isnt there  a soup python binding in the archive?11:15
ynezzpersia: here https://wiki.edubuntu.org/ARM/BuildArmPackages11:15
persiaynezz: Found it.  Thanks.11:15
persialool: Do we have a good kernel for running karmic, or should one use the lucid kernel there as well?11:15
loolGah who copied that page11:15
persiacopied?11:16
loolYeah11:16
persiafrom where to where?11:16
persiawiki.*buntu.com are just different themes on the same content (or so it is supposed to be)11:16
loolI know11:16
lool:)11:16
persiaOh, heh :)11:17
loolcooloney: Heya11:18
loolcooloney: Would you have some minutes for me?11:18
hrwmorning11:18
loolcooloney: I'd like to discuss two things related to qemu/versatile kernels with you11:18
loolcooloney: First is: did you manage to find out what's breaking kexec?11:19
loolhrw: morning11:19
loolcooloney: The second is: I'm having issues with initramfses -- they don't work in qemu versatile, only initrds do; would you be able to help with that?11:19
hrwlool: versatile does not support >armv5te iirc11:20
loolhrw: We patched that11:20
hrwkernel simple patch? I had such one in old Poky days to run armv6 in qemu11:20
loolIt works with qemu cortex a8 emulation in our case11:20
loolhrw: Yup, just basically select v7 instead of select arm11something11:21
hrwgood choice11:21
hrwversatile is best arm qemu target11:21
loolI'm not sure anymore11:21
hrwscsi, usb, video, network11:22
loolnetwork, usb and network are all related to PCI support IIRC11:22
hrwyep11:22
hrwand usb gives you working touchscreen emulation11:22
loolAnd actually realview versatile has gained PCI support upstream and... cortex a9!11:22
loolSo I have a secret plan to move to this if time permits and people agree with it -- but it's secret, don't tell anyone on #ubuntu-arm11:23
hrw;D11:23
loolAnother good target seems to be omap3, but it's based on another qemu tree and probably works best with the linux-omap tree11:23
hrwyep11:23
hrwOpenEmbedded linux-omap recipes have lot of good patches added to get it better11:24
ograyeah11:25
ograangstrom too iirc11:25
ogra(for userspace)11:25
hrwogra: angstrom uses OE11:25
ograi know11:25
ograi was referring to userspace :)11:25
hrwanyway many of our (OE) patches came from Debian or Gentoo11:26
loolhrw: So you're a poky and OE developer?11:26
hrwsome from other distros etc11:26
hrwlool: yes, I am11:26
hrwnearly 6 years in OE11:27
ogradebian wont help with v7 or thumb2 specific stuff though11:27
loolhrw: Dump OE and come over here!11:27
ograi would expect to find more intresting stuff for that in OE than in debian :)11:27
ynezzlool: hm, it boots now, but I can't get after "mountall: Could not connect to Plymouth"11:27
hrwlool: do you give free devboards?11:27
loolynezz: That's just a warning11:27
hrw:D11:27
ograynezz, serial ?11:27
loolynezz: How did you create your root fs?11:27
ynezzrootstock11:28
ogrado you use a monitor or a serial console ?11:28
loolhrw: If you sign to help us for the next 6 years, I'll ship you one of mine!11:28
ogranote that for serial you need to use the --serial option in rootstock else you wont get a login prompt11:28
hrwogra: you use monitors?11:28
ynezzogra: ah, I'm new to qemu, didn't know about it :)11:29
hrwI do not remember when last time I connected beagleboard to lcd11:29
ograhrw, we build netbook live images, indeed i do :)11:29
ynezzogra: was following probably wrong wiki page...11:29
hrwsim.one was never conencted to screen even ;D11:29
ograynezz, it might be, yeah, the above page you pasted is very confusing11:29
cooloneylool: yeah, we found ARMv7 does not support kexec as well as others11:29
ograi wonder why that was duplicated from BuildARMRootfs11:30
cooloneylool: we got some patches from omap maintainer11:30
ograerr11:30
ograRootfsFromScratch rather :)11:30
cooloneylool: eric tested them on dove, i plan to test them soon on imx51 and versatile11:30
persiaDoes anyone have a recommendation for a TFTP server?11:31
* persia sees both atftpd and tftpd and is unsure which to use11:31
ogratptpd-hpa11:31
loolcooloney: Ok, thanks11:31
ogra*tf11:31
persiaogra: Heh.  Neither of the ones I thought.  Thanks :)11:32
ograheh11:32
loolpersia: I had an experience where both atftpd and tftpd failed working in a specific case and tftpd-hpa worked11:32
cooloneylool: so for the initramfs, is there any bug tracker for that.11:32
ograits the one used in ltsp ... the one thats maintained most in ubuntu11:32
ynezzogra: seems like that eLinux page is more up-to-date then those on Ubuntu :)11:32
cooloneylool: i can take a look at that11:32
loolcooloney: LP #52489311:32
ubot4Launchpad bug 524893 in linux (Ubuntu) "Can't boot initramfses (affects: 1)" [Undecided,New] https://launchpad.net/bugs/52489311:32
ograpersia, another good choice seems to be dnsmasq11:32
loolHmm right, never tried dnsmasq, but that's certainly a good tool -- it's used in libvirt to provide dhcp and DNS proxies I think11:33
persiaogra: I think dnsmasq is more than I need: I'm just trying to work around the lack of a soldering iron right now.11:33
ograyeah, it does everything you need for a netboot11:33
ogradhcp, dns, tftp11:33
hrwdnsmasq is nice11:33
loolcooloney: So I'm not sure whether it's a qemu or versatile kernel bug11:34
ograand can work as proxy dhcp ... so you dont get races between dhcp servers if you have multiple ones and do netboot11:34
loolcooloney: Do you manage to get an initramfs to unpack on real boards?11:34
cooloneylool: no problem, assigned to me, will take a look,11:34
loolcooloney: Note that "junk in compressed archive" appears twice in the boot source code11:34
cooloneylool: i think we are using initramfs in imx51 board for a long time,11:34
loolcooloney: Note that we have CONFIG_CRAMFS=y in imx5111:35
loolcooloney: So we might be using initrd instead, without noticing11:35
loolcooloney: If you have a recent dmesg, I could tell11:35
loolAnybody has a recent non-qemu dmesg?11:35
lool(with an initrd)11:35
cooloneylool: hold on11:36
looldmesg | grep -i initramfs or something11:36
cooloneylool: http://pastebin.ubuntu.com/381535/11:38
cooloneyroc@babbage:~$ dmesg | grep -i initramfs11:38
cooloneyTrying to unpack rootfs image as initramfs...11:38
loolcooloney: And the next line?11:40
loolcooloney: grep -A2 -i initramfs ;-)11:40
loolAlso, grep for initrd, that might say: Freeing initrd memory: 8924k freed; that's also interesting, I'm not sure that's done for non-initramfs11:41
loolthe dmesg in http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1981259.html looks like it's working correctly (supports initramfs), so it's not arm specific, either versatile or qemu11:42
loolhttp://launchpadlibrarian.net/33211547/dmesg has another one11:43
loolcooloney: So I would suspect the qemu initrd loader is broken   :-/11:44
loolcooloney: it'd be nice to enable CONFIG_CRAMFS=y in the mean time11:44
cooloneylool: right, did you test a kernel with CONFIG_CRAMFS=y before?11:45
cooloneylool: for versatile,11:45
ogralool, thats weird, i know it works in debian11:45
ogravagrantc does arm based thin client development in qemu, initramfs support is essential for ltsp11:46
loolcooloney: I know CONFIG_CRAMFS=y works11:46
ograso it must have regressed between our and debians qemu version11:46
loolcooloney: I tested a Debian kernel11:46
loologra: Was it initramfs or initrd?11:47
ograinitramfs11:47
ograltsp doesnt use initrd11:47
loolNote that it's the same format11:47
ograand i know for sure he regulary tests client setups11:47
loologra: Was this on ARM?11:47
ograyes11:47
loologra: How can he be sure that it didn't pick up an initrd?11:48
ograhe improves my proof of concept code for arm thin clients atm11:48
ograhe picks up whatever update-initramfs generates11:48
loologra: That will work as an initrd as well11:49
ograi will ask him if he gets up what exactly he uses to test11:49
ogra(he's a portlander :) )11:49
loolcooloney: Do you have a qemu tree?11:49
cooloneylool: sorry, no11:49
cooloneylool: i plan to clone one and test for a while11:50
cooloneyheh11:50
loolcooloney: Either clone upstream or apt-get source qemu-kvm11:50
loolcooloney: The relevant file is hw/arm_boot.c11:50
loolIt works the ATAG stuff and loads the initrd in RAM11:50
cooloneylool: ok, no problem.11:52
loolcooloney: http://ftp.debian.org/debian/dists/squeeze/main/installer-armel/current/images/versatile/netboot/ has a kernel + initrd with v5 kernel + v4 binaries which have CONFIG_CRAMFS=y along others and load properly in qemu with -initrd11:52
loolcooloney: Do you want me to send a patch for the versatile kernel configs?11:52
cooloneylool: yes, please.11:53
cooloneylool: i can test that on my side.11:53
cooloneyguys, have to head out for dinner11:53
cooloneytalk to you later11:53
loolChers11:54
loolCheers11:54
loolcooloney: sent11:59
persiaogra: So, tftpd-hpa didn't actually meet my need (because the documentation claiming that when DHCP failed, the device would use a specific address and *then* use TFTP didn't work), so I'm trying dnsmasq.  This seems to have decided to only work with my virbr interfaces, but I'm having trouble finding where that is defined.  Any ideas on how to add eth0 there?12:05
ogralool, hmm, i thought all filesystems that can possibly be used for booting are supposed to be builtin not modules nowadays12:05
* ogra just notes that there are a lot CONFIG_CRAMFS=m for non armel in lool's patch12:06
ograpersia, can you start from the ground up ? what exactly are you doing ? :)12:07
ograand whats your exact setup up to now12:07
persiaI'm trying to get my kurobox working again.  I last used it for an abortive install of jaunty the day the orion5x kernel was dropped.12:08
ograwhats a kurobox ?12:08
persiaIt appears that the current state of the device is that it's running the default firmware with a modified password.12:08
persiahttp://buffalo.nas-central.org/wiki/KuroBoxPro12:09
loologra: That's because CONFIG_CRAMFS=m was the default on all arches12:09
ogralool, ah12:09
ograi was just wondering ...12:09
loolSo it was in the common config and is moving up in per-arch configs12:09
ograi might even not be up to date wrt module/vs builtin12:09
loolpersia: Don't add eth0 to virbr012:09
persiaDHCP does work, and I should be able to TFTP boot.  I ask here not because Ubuntu supports the target, but because I figured that folk here would have more experience with host/client connections than in other channels.12:09
ograbut i thought that was the decision for lucid12:10
loolpersia: It's meant to be a proxy interface12:10
loolIt's only bridging your vms together12:10
persialool: My issue is that dnsmasq is *only* listening on virbr0, and I only want it to listen on eth0.12:10
looland a place for dnsmasq to listen too12:10
loolpersia: Is it the dnsmasq you launched?12:10
* persia doesn't care about vms at the moment, as real hardware is the current toy12:10
loolpersia: Cause libvirt is spawning one with a non-default config too by default12:11
persiaIt started from /etc/init.d12:11
persiaBut I had libvirt installed and didn't have dnsmasq installed before.12:11
* persia is now confused.12:11
loolpersia: libvirt-bin depends dnsmasq-base12:11
* ogra doesnt get why you have libvirt at all 12:12
persiaAha!  So I previously must have had dnsmasq-base and just installed dnsmasq.12:12
ogradnsmasq works without it12:12
persiaogra: I have libvirt for entirely different reasons, completely unrelated to the current project.12:12
loolpersia: dnsmasq-base has the binaries12:12
ograright12:13
persiaSo the dnsmasq I see in ps is really the libvirt one, and I need to do something to create a default one?12:13
loolpersia: In theory, dnsmasq listen on all interfaces by default, but you can set interface=eth012:13
loolpersia: Yes12:13
loolProbably you see something like:12:13
loolnobody    1342  0.0  0.0  21404   888 ?        S    Feb20   0:00 dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file=  --listen-address 192.168.122.1 --except-interface lo --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-lease-max=25312:13
persiaRight.12:13
loolthat's the libvirt one12:13
persiaAnd I'm unsure why I only see that one, because /etc/default/dnsmasq has "ENABLED=1"12:14
loolpersia: Did it actually invoke-rc.d dnsmasq start upon install?12:14
persia(and that, like the init script, comes from dnsmasq, rather than dnsmasq-base)12:14
loolJust restart it12:14
persiaAha!  "dnsmasq: failed to create listening socket: Address already in use"12:15
loolpersia: That's because it tries listening on virbr0 too I guess12:15
persiaThat's my thought.12:15
loolpersia: Try listing interface=eth0 explicitly, that might help12:15
persiaI suspect we ought silence that :)12:15
loolSilence it?12:16
ograno you shouldnt12:16
loolpersia: except-interface=12:16
persiaPatch the default configuration to ignore virbr by default.12:16
persiaRight.12:16
ograbut it should report the interface its failing on like dhcpd does12:16
loolpersia: Yup12:16
persiaActually, libvirt-bin should probably drop something in /etc/dnsmasq.d to achieve that.12:16
* persia files a bug12:17
loolpersia: there's a catch: it will override any user-set except-interface, so it might actually break things to add this12:19
loolI prefer the approach in theory, but in practice it might work better to patch the default config12:19
loolSo if someone had except-interface=virbr0,important-interface it will break badly12:20
persiaExcept that breaks user configurations where virbr is not libvirt managed.12:20
loolI find it less likely12:20
persiaexcept-interface isn't additive if multiply defined?12:20
loolpersia: The command-line flags are actually additive, I'm not sure about the .conf12:22
persiaI think it is, from what documentation I'm finding12:22
* persia looks harder before pressing "submit" on the bug12:22
persiabug #231060 seems to imply that ttx thinks it ought get sorted with adding a file.12:23
ubot4Launchpad bug 231060 in libvirt (Ubuntu) (and 1 other project) "packages dnsmasq and libvirt-bin conflict with each other (dups: 2)" [Low,Triaged] https://launchpad.net/bugs/23106012:23
ograNCommander, dyfet, are you guys working on the FTBFS list ? it seems a bunch of new stuff showed up there over the weekend and A3 is ahead12:24
loolpersia: Ok, it's the same parsing for opts on cmdline and opts in the conffile12:25
loolpersia: So additive as well, my bad12:25
persiaNo, it's better we check :)12:26
lool(one_file() calls one_opt() and getopt ultimately calls one_opt())12:26
persiaRight.12:26
NCommanderogra: looks like the breakage took place in universe/multiverse. Main doesn't look that much different thenI remember, but will investigate12:26
ograNCommander, some indicator things and keyring stuff12:27
ograis what i see on a first glance12:27
NCommanderugh12:27
ograand pulse12:28
ograplease priorize work on that together with dyfet we need these packages for A312:28
persiapulse managed to segfault in a shell script.12:29
persiaI believe StevenK was looking at it with crimsun12:29
* persia remains unsure how to segfault a shell script12:29
ograerr, sorry, i have given back pulse this morning12:29
ograit built fine, ignore that :)12:29
ograpersia, thats the typical buildd hiccup we see randomly ...12:30
persiasegfaults in bash scripts?12:31
ograor anywhere else12:31
persiaIf you can ever reproduce locally, I want a stacktrace.12:31
ograyou cant reproduce it locally12:31
ograthats the point12:31
ograits a buildd HW issue12:31
ograimho12:31
persiaUgh.12:32
* persia wants nice reliable retail hardware in the DC.12:32
ogra++12:32
ograwe'll get there12:32
ograprobably even before end of the cycle, who knows12:33
persialool: You seem to have commented usefully in the bug before I finished dealing with the me too link and duplicate fixups.12:34
persialool: Are you adding such a snippet, or shall I?12:34
persia(ttx already wrote it, in comment 7)12:34
loolpersia: Do feel free to add it12:34
loolpersia: I didn't think through about bind-interfaces12:34
loolIt's not clear to me why libvirt doesn't pass a list of interfaces and doesn't set bind-interfaces too12:35
loolActually it does set --bind-interfaces, sorry12:35
persialool: I just didn't want to duplicate work :)  I'll check with ttx about it, etc. and get it fixed.12:35
loolpersia: I would personally wonder why libvirt-bin does --except-interface lo instead of --interface x,y,z12:35
persialool: I suspect it's to catch all of virbr*, but given that it targets a specific address, it's a good question.12:37
persiaThanks for the hints: I'll see what can be sorted.12:37
loolIt might target multiple devices,not sure12:38
ynezzogra: still fighting with that serial console in qemu, I have /etc/init/ttyS2.conf in my image (added by rootstock, --serial ttyS2 option), then I have tried to put "console=ttyS2,115200n8" in qemu kernel boot option and I should have console in qemu monitor mode ctrl+alt+3 right?13:22
ograif you use qemu the tty has a different name13:24
ograttyAMA0 or some such13:24
ynezzah13:26
=== Meizirkki_ is now known as Meizirkki
ograyou should see the actual name in the boot output of the kernel13:27
ynezzno, I don't have it backlog13:27
ynezzbut it's working now, thanks13:27
ograbtw, didnt you say you wanted to build packages ?13:28
ynezzyes13:29
ograusing qemu-arm-static for that is wasy less effort and surely a little faster than running a full VM13:29
ogra*way13:29
ograthough the VM is indeed best for testing the results13:29
ynezzI've never used qemu before and seems, so exploring it and learning how it's working together13:30
ynezzs/and seems//g13:30
ograqemu-arm-static just enables your x86 machine to execute armel binaries so you can create a chroot to build your packages inside13:31
ynezzah13:32
* ogra glares at 288 syslog 20 0 39196 6216 820 S 85.4 1.3 7:12.27 rsyslogd on his babbage board13:33
ogradoes anyone else see rsyslogd eating all CPU ?13:33
loologra: Sounds like your kernel is lacking the relevant options13:39
loologra: lp #52346813:39
ubot4Launchpad bug 523468 in rsyslog (Ubuntu Lucid) (and 1 other project) "rsyslogd gives 100%CPU (dup-of: 523610)" [High,Triaged] https://launchpad.net/bugs/52346813:39
ograthere are kernel options syslog uses now ?13:39
ubot4Launchpad bug 523610 in rsyslog (Ubuntu Lucid) (and 1 other project) "rsyslogd spins CPU on older kernels (affects: 34) (dups: 4)" [High,Triaged] https://launchpad.net/bugs/52361013:39
ograah13:39
ograapw, ^^^ i see that one with your imx51 testkernel13:40
asacogra: i see that on the normal kernel too13:42
asacits everywhere13:42
ograi dont see it on my laptop13:42
ogra2.6.32-13-generic-pae13:44
ograno messages in kern.log13:44
ograwell, at least gtk isnt broken on armel ...13:45
ograunlike on i38613:45
ogramy babbage is actually faster than my laptop atm when i use the new gtk libs :)13:46
hrwogra: some of my devices are faster then my 2000y pc13:49
ograrinning the same desktop ? :)13:49
ogra*running13:49
hrwogra: I keep my devices headless most of time13:50
ograright13:50
ograthats different :)13:50
hrwogra: and in 2000 I used gnome 1.4, then wmaker+roxfiler13:50
ograwe rarely do headless suff except for building packages here13:50
ograone day we'll support the server flavour though ...13:51
ograthat might change it13:51
hrwogra: one day I will connect video cables13:51
ograheh13:51
ograbah, pybootchartgui crashes again13:52
ogra  File "/usr/lib/pymodules/python2.6/pybootchartgui/parsing.py", line 78, in _parse_proc_ps_log13:53
ogra    userCpu, sysCpu, stime= int(tokens[13+offset]), int(tokens[14+offset]), int(tokens[21+offset])13:53
ograIndexError: list index out of range13:53
ograGRRR !13:53
ograthat was fixed already !13:53
* persia does headless stuff all the time, but only with ubuntu-minimal+pbuilder, which isn't actually useful for doing that much13:56
ogragah, who ever wrote pybootchartgui needs a training in python indendation14:07
dmartasac: Hi... were you going to send out a reminder on the ubuntu-mobile list about the proposed IRC sprint session on Thursday?14:25
looldmart: Heya14:29
looldmart: Thanks for following on the x264 NEON stuff; do you think you could write the NEON runtime detection in x264 based on /proc/self/auxv instead of SIGILL?14:30
looldmart: I poked on #x264dev, and the person I was in contact with was receptive14:30
dmartI hadn't got that far yet, but I'll have a go.  It didn't look too difficult.14:30
looldmart: http://paste.ubuntu.com/381628/14:31
dmartx264 does at least seem to run on my Babbage3 (but encoding /dev/zero is not a great test :P)14:31
looldmart: They do care to have a portable fallback, so you probably want to keep SIGILL on !linux14:31
loolI have to say I have little sympathy for spending extra cycles supporting chips where NEON is plain broken in hardware with no possible kernel workaround, so I would personally not bother supporting that14:32
loolBut that should work by default if you move to auxv14:32
looldmart: The ARM x264 maintainer upstream if Yuvi14:32
suihkulokki/proc/self/auxv bad. why not read /proc/cpuinfo ?14:33
loolsuihkulokki: Why is /proc/self/auxv bad?14:33
dmartcpuinfo: contents more volatile than auxv, and also requires parsing14:33
loolYeah14:33
dmartlool: Agreed--- it shouldn't be too much work to have both.14:33
looldmart: Thanks14:33
suihkulokkiqemu linux-user :>14:34
looldmart: sirestart is reviewing my x264 packaging changes; I think they should be enough for us for now, modulo the SIGILL stuff14:34
loolsuihkulokki: So linux-user emulates cpuinfo now?14:34
apwogra, what we seeing there?15:00
ograApOgEE, rsyslogd eating up my CPU15:01
ograbut apparently thats not armel specific (though i dont see it on my -pae kernel heer on my laptop)15:02
apwogra, depends if they have fixed that bug with rsyslogd to not use dd ...15:02
ograweird15:03
* ogra checks versions on armel vs x8615:03
ograsame versions15:04
apwyeah i think we may be being hurt by the fix for bug #51777315:05
ubot4Launchpad bug 517773 in rsyslog (Ubuntu Lucid) (and 1 other project) "Drop the dd process (affects: 4)" [Medium,Fix released] https://launchpad.net/bugs/51777315:05
apwlet me confirm that ...15:06
apwogra, ok it looks like they have applied the fix for that to userspace, that means that the kernel requires a fix which is only in the .32 kernels; distro and mvl-dove both have it, but not imx51 ... i'm looking at a backport now, should have a test kernel for you shortly ...15:11
ograah, sweet15:11
apwfingers crossed that is the cause ... its building now15:12
ogradid i say already, you rock !!15:12
dmartasac, are patches we add against e.g., mono automatically pinged to Debian?15:13
ogranope15:13
asacdmart: no. debian will complain ;)15:14
asacdmart: but we are trying to push all patches to them15:15
ograwe need to file bugs15:15
loolapw, ogra: Right that's what I suspected, kernel fix missing; thanks for looking into it15:15
asacdmart: at best our patch would work for them15:15
ogralool, thanks for saving me to search LP for the issue :)15:15
apwversions skew sucks ... at least the dove kernels get these fixes for free via rebase15:16
apwmakes life > 2x harder15:16
looldmart: usually, we either send them on the spot or during merges (beginning of a cycle), sometimes we send them straight to upstream, that works well too15:16
* apw sorly wishes that arm kernels would build as fast on the buildds as they do on his hoover15:16
ograjust send your hoover to the DC ?15:17
loolapw: True; TBH I'm slightly worried that we're building our userspace against 2.6.32 headers and then running a 2.6.31 kernel on top15:17
ogralool, we had plenty discussions about that already :)15:17
loole.g. eglibc picked up pselect() support thanks to it landing upstream, and that exposed the fact that it was missing in qemu -- not a big deal, but it's also missing in linux-fsl-imx51 for instance15:17
ogra(sprint discussions)15:17
apwyeah ... its not in the least bit idea15:17
apwi wish the arm vendors would just to the sensible thing, and track mainline15:17
loolapw: Marvell isn't too bad here though15:18
ogralool, cooloney does what he can to backport features we find15:18
hrwapw: ha! who would not...15:18
ograbut what we dont find wont be backported15:18
apwlool, indeed they are most enlightened15:18
hrwI have device here with .27.2 kernel as production one15:18
apwi only have to rebase their kernel and i don't hit this issue15:18
ograhrw, would have issues with recent ubuntu :)15:19
ograour userspace often ties deeply into kernel features15:20
dmartasac: not sure if you saw my message earlier--- was someone going to send out a reminder about the IRC porting sprint on Thursday?15:20
loologra: similarly with epoll and plymouth15:20
loolDid you folks backport epoll_create(0 and friends to linux-fsl-imx51?15:20
lool*epoll_create()15:20
looldmart: Sprinting on Thursday sounds bad15:21
loolA3 this Thursday15:21
loolWe will likely be stuck in the European morning15:21
apwbut everything we are doing has to be done by tommorrow15:21
ogralool, i dont think so, but i dont see the issue i see in qemu on imx5115:21
apwso one would expect anyone not on the release team to be lying by the pool (obviously)15:21
loologra: It might have been part of the pselect support patch15:22
ograah15:22
asacdmart: yes, i have to15:22
apwi thought pselect was one of those which was dynamicaly selected at runtime15:22
dmartSounds from lool that it might be better to move it?15:22
ograapw, not generally, but just for A3, no ? i mean kernel freeze is still a bit or not ?15:22
apwkernel freeze is march the 11th officially, which means i need it by the 8th15:23
looloh yeah kernel freeze is march 1115:23
ograso there is still a week past A315:24
ografor bad stuff we identify15:24
ograand beyond that if its a bug it should still be fixable post-freeze, no ?15:24
loolHmm I don't see pselect support in fsl-imx51, am I reading this wrong?15:24
apwafter freeze we move to an sru style bug fix policy15:24
ograuuh15:25
apwlool i don't think i expect it to be there no15:25
apwi thought it was fakes (badly) in libc15:25
ograyes15:25
apwyou'ld surly know by now if it was an issue15:25
apwas you are testing with those kernels ... today15:26
lool(I'm not testing imx51)15:26
apwyou as in mobile15:26
loolAck, just clarifying15:26
apwand anyone changing libc better be testing with mvl-dove and fsl-imx51 ... lest we have to send boys with big cluebats round to visit them15:26
* lool whistles and notes not to touch libc15:27
apw:)15:28
apwogra, ok some new kernels with that additional patch, apw2 kernels here: http://people.canonical.com/~apw/fsl-imx51-lucid/15:42
* ogra wgets15:42
apwfeedback appreciated as soon as you can :)15:42
ogra  504 syslog    20   0 33280 1296  828 S  0.3  0.3   0:00.12 rsyslogd15:49
ograapw, looks fine15:49
apwogra, awsome, good catch ...15:49
apwi'll get that puppy uploaded now15:49
ograkern.log is quiet too15:49
ogra\o/15:49
apwogra, would i be right in saying we don't really have any out of tree drivers for mvl-dove (indeed any arm branches)16:13
ograno idea, NCommander does dove16:15
* NCommander points apw to ericm as the dove kernel guy16:16
NCommanderapw: as far as I know, we don't aside from any DKMS'ed kernel modules a user may install (although I'm not sure any would work for ARM)16:16
ogravirtualbox on dove !16:17
apwyeah ... eric isn't available in the timeframe for this decision.  i am trying to avoid uploading the mvl-dove kernel just for a compiler bump ... if there arn't any out of tree drivers then i don't need to bother and can save 6 hours of buildd time16:17
ograplars, can you check if go-home-applet works on your babbage ?16:19
ograits a no-op on mine16:19
ograand seems to cause the system to crawl16:19
plarsogra: did they fix the dependency stuff with it?16:19
ograwell, it depends on netbook-launcher16:19
plarsogra: it used to depend on the 3d launcher, which removed efl launcher16:19
ograsince we install netbook-launcher by default now in the images it is installable16:20
ograthe dep was solved16:20
ograbut i doubt that fixes anything16:20
ograat least it doesnt for me here16:20
plarsogra: ah, I'll check it out16:20
plarsogra: trying it a dove live image at the moment16:23
plarsogra: it seems to come up, but doesn't work well16:23
ogrago-home or the image ?16:23
plarsugh16:23
plarsit looks like it actually restarts the launcher when you click it16:23
ograyeah16:24
plarsdoesn't bring it to the foreground16:24
NCommanderapw: then assume we don't have an out of tree module; if there are, theres nothing critical as I've booted systems without any external modules before16:24
ograi saw multiple launcher processes here16:24
* NCommander is 99% sure we don't16:24
plarsogra: yes, that's exactly what it's doing - starting a new netbook-laucnher-efl each time you click it16:24
apwyeah NCommander i tend to agree i cannot imagine there are any16:24
ograplars, sick !16:25
plarsogra: I'll put a bug in on it, unless you care to16:26
ograno, feel free :)16:26
plarsogra: I wonder if that's how it foregrounds it with the 3d launcher, but the 3d one is smarter about checking to see if there's already a process and just foregrounds it instead of starting a new one16:26
ogram,ight be16:27
ograit doesnt minimize anything though16:27
ograwhat i always wonder is what go-home gains us over show-desktop16:27
ograwe should probably just use a modified show-desktop16:27
plarsogra: it does interact with webfav16:28
ogrado we use anything like that in the 2D image ? #16:28
plarsogra: you should be able to drag a url to gha and have it add the favorite to the desktop16:28
ograah, right16:28
plarspresently, it does not seem to work16:29
ograplars, log out doesnt work for me either it seems16:33
ograi get an apport report16:33
plarsogra: there's a bug about that16:33
plarsogra: I just asked for more information on it16:33
ograyes, i just saw your comment and clicked it :)16:33
ogra(clicked log out here)16:33
plarsah, ok16:33
plarsworked when I tested it, hmm16:33
ograthe efl window pops up, i click log-out and the launcher dies16:33
ograare you up to date with the latest ?16:34
plarsogra: I'm running off the dove live image at the moment, so it should be close if not absolutely current16:34
plarsI did not update from there though16:34
plarsoh wait16:34
ogra0.2.2-0ubuntu316:34
plarswhich logout did you click?16:34
ograthe one of the launcher16:34
plarsogra: the one in the... yeah16:34
plarsI don't think that one should exist16:35
ograright16:35
plarsI filed a separate bug about that16:35
ograbut as long as it does thats indeed a bug :)16:35
plarsthe correct logout using indicator-applet-session does work though16:35
plarsogra: certainly16:35
ograit makes the launcher commit suicide16:35
=== hrw is now known as hrw|gone
zulhi, If possible can someone look at this for me? http://launchpadlibrarian.net/39001967/buildlog_ubuntu-lucid-armel.squid_2.7.STABLE7-1ubuntu5_FAILEDTOBUILD.txt.gz19:22
persiazul: Related to what I was saying in -mobile, have you tried with an emulated pbuilder or sbuild locally?19:24
zulpersia: trying it now19:24
zulpersia: heh still broken19:32
persiazul: emulated, or give-back?19:36
zulgive-back19:37
persiaOK.  Next best test (assuming you don't have hardware) is to try an emulated build.19:40
persiaThere's a few syscalls that don't work, so this doesn't work for everything (e.g. gh6 can't be built), but generally with lucid one can build an emulated chroot that works fairly well.19:40
persiaThere's also some support in karmic, but that doesn't support as many syscalls, so one ends up with massive build logs.19:41
persiaDo you have a lucid install available for i386 or amd64?19:41
zulyep19:42
persiaOK.  Do you prefer pbuilder or sbuild?19:42
zulsbuild19:44
* persia checks the current ubuntu-dev-tools for the tool name19:44
persiaOK.  So run `mk-sbuild-lv --arch=armel ${VG} lucid`, and you should end up with an emulated build chroot.19:45
persiaAfter that, running `sbuild -d lucid-armel *dsc` should try to build you armel binaries.19:46
zulpersia: cool thanks19:46
persiaThanks for helping out with the porting.  Please come back if you get stuck.19:46
persiaSome people have various hardware and can test various things, but hardware is variable and thin on the ground right now.19:46
ynezzlinux-image-2.6.32-14-versatile_2.6.32-14.20_armel.deb should work with karmic qemu image? Seems like it hates me http://ynezz.true.cz/qemu.png20:19
ynezzand lucid image with that kernel ends with http://ynezz.true.cz/qemu-lucid.png20:22
loolynezz: Which image is that?20:22
ynezzrootstock's20:22
loolI'm not sure what rootstock does for karmic and /dev; in theory, it should be possible to start a karmic userspace with this kernel20:23
loolIn fact I think I did last week20:23
loolWith a slightly older kernel and slighlty older karmic userspace20:23
loolConcerning lucid, I suspect you're not getting to the network up state, so gettys aren't spawned20:23
loolUsually this is due to lack of etc/network/interfaces or NetworkManager20:24
loolynezz: For karmic, I'd try loop mounting your fs and checking what's in /dev20:24
ynezzthis is command for karmic http://pastebin.com/f3f1b002320:24
ynezzlool: I tried that, /dev seems ok and populated20:25
loolynezz: Does /dev have a /dev/pts dir?20:25
ynezzyep20:25
loolOk, probably a tmpfs gets mounted instead of /dev and isn't filled properly20:26
loolYou could probably workaround by poking at /lib/init/fstab in the image, but that's only a hack20:26
ynezzlooks so20:26
loolI would need to reproduce, but I don't have an up-to-date rootstock here20:26
loolI'll leave that one with a more recent environment that mine20:27
ynezzI can upload that image if it helps you20:28
loolynezz: What you can do is look into the early boot scripts, these are etc/init/mount*.conf20:29
loolynezz: They have dependencies between each other20:29
loolI usually start by changing the mountall.conf one to be a task instead of a job and to not daemonize and to be verbose20:30
loolynezz: something like http://ynezz.true.cz/qemu.png20:31
loolerr sorry http://ynezz.true.cz/qemu.png20:31
loolUh20:31
loolmy paste buffer is broken20:31
ynezzhappens to me all the time20:31
loolHow anoying, I can't paste into that xterm20:32
loolynezz: http://paste.ubuntu.com/381816/20:32
loolynezz: For your lucid one, either add NM or add a etc/network/interfaces with the lo interface, e.g. "auto lo" and "iface lo inet loopback"20:33
ynezzlool: will try, thanks20:49
=== tomg2 is now known as [g2]
loolzul: Only happens in -O2 builds, does not happen with -O021:23
loolzul: You have a bug?21:23
zullool: sure gimme a sec21:32
zullool: #51989721:33
DanaGhmm, are there any plans to provide official beagleboard kernels?21:35
DanaGRIght now, I get this issue: https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/52361021:35
ubot4Launchpad bug 523610 in rsyslog (Ubuntu Lucid) (and 1 other project) "rsyslogd spins CPU on older kernels (affects: 34) (dups: 4)" [High,Triaged]21:35
loolBah squid isn't dpkg-buildpackage -j safe  :-(21:39
loolDanaG: Not yet, no21:39
loolDanaG: Your issue is fixed in newer kernels, but we should also fix it in userspace21:39
DanaGAre there any ubuntu-official beagleboard kernels?21:39
DanaGI'm using this kernel, for now: http://rcn-ee.net/deb/kernel/beagle/lucid/v2.6.32.8-l8.0/21:40
DanaG(also, I keep getting "class suspend failed for cpu 0".)21:40
DanaGwhen I try to echo mem > /sys/power/state21:40
loolzul: I got it to crash under qemu as well, but I couldn't gdb from the qemu-arm-static env, so I ran a real vm and there gdb would work but had no debug info21:41
loolzul: Rebuilding with -O0 -g and it wouldn't crash21:41
zullool: k thanks21:41
loolzul: Looks like a toolchain issue or a bug in the generator21:42
loolDanaG: These are the most officials one, but they are still unofficial  ;-)21:42
DanaGah.21:43
DanaGAnd the -33-rc ones seem to not exist.21:43
loolDanaG: Perhaps you can backport the relevant commit, or just wait for the userspace fix21:43
DanaGI can just wait for now.  Or compile my own kernel, yeah.21:43
loolDanaG: Check with rcn; he might have some .33 kernels somewhere21:43
loolDanaG: You could also disable rsyslog or something21:44
DanaGWhat's weird is that, on my host, even 2.6.33-rc8 has the same cpu-spin (on my laptop).21:44
loolzul: I've sub-ed ~ubuntu-armel21:44
loolDanaG: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=commit;h=e86296585519f091bb24b17f84950a8edcbf0cc121:46
loolthat's the 2.6.31 backport21:47
loolDanaG: upstream commit is 002345925e6c45861f60db6f4fc6236713fd884721:48
loolNot sure from which tree though, apparently not torvalds21:50
loolhttp://lkml.org/lkml/2010/2/2/1321:51

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