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

plarsGrueMaster: are you testing on imx or dove currently?00:40
* persia wonders why this is -arm and not -testing material.00:41
GrueMasterFinished testing imx live (well, may test more deeply).  Installer is still broken and fix is released but not built yet.00:41
plarsGrueMaster: same installer bug you mentioned in the meeting earlier today?00:41
GrueMasteryes.00:42
plarsouch00:42
plarsGrueMaster: you are going to have the same problem on dove00:43
plarsGrueMaster: we have ubiquity 2.1.24 on dove, assuming the same on imx00:43
plarssnap00:43
GrueMasterThat's what I thought.  yes.00:44
GrueMasterSo, respin it is.00:44
GrueMasterwheee.00:44
plarsGrueMaster: is there any workaround for it?00:44
GrueMasterYes.  Install 2.1.25 as soon as it gets built.00:45
GrueMaster(I know, not a good answer)00:45
plarsGrueMaster: well, if you want to get unblocked...00:46
plarsit's a 1-line change00:46
GrueMasterCorrect me if I'm wrong, but it seems to me we hit this bug at least once per release.00:46
plarshttp://bazaar.launchpad.net/~ubuntu-installer/ubiquity/trunk/revision/3830#ubiquity/components/ubi-partman.py00:46
GrueMasterDoes python rebuild the pyc file automatically?00:49
plarsGrueMaster: hopefully that's true, and our one time is over :)00:49
plarsGrueMaster: you can force it if needed by deleting the .pyc file00:49
plarsit's going to be 1-2 hours before I can get much more testing done, but may be moot since it looks like we'll need a respin00:50
GrueMasterI've made the change and will test it quickly.00:50
DanaGhmm, marvell dove... what actual board uses that?00:50
DanaGI can find Kirkwood just fine (that Sheeva thingy), but what's Dove?00:50
DanaGWhat I have is BeagleBoard (OMAP3).00:51
plarsGrueMaster: thanks, let me know, gotta go afk for a bit00:51
GrueMastersee you.00:51
GrueMasterDanaG: The sheeva plug is an older generation.00:51
DanaGI thought it was the other way around... kirkwood newer than dove.00:52
DanaGoh, I see.00:52
persiaAge of processor != Age of instruction set revision :)00:53
DanaGhttp://armin762.wordpress.com/2010/02/14/armv7-socs-freescale-i-mx51-babbage-ti-omap3-marvell-dovearmada-qualcomm-snapdragon/00:53
DanaGah00:53
GrueMasterhttp://www.slashgear.com/marvell-plug-computer-3-0-updates-sheevaplug-with-wifi-bluetooth-hdd-0567674/00:53
DanaGDo any of you talk directly to Marvell?00:54
DanaGhttp://www.flickr.com/photos/22046787@N03/sets/72157623160058996/00:54
DanaGI saw comments on Engadget, asking essentially: why cripple battery life by using a tiny battery?00:54
DanaGProduct suggestion: take that same thing, and give it a normal-size battery (for insane-o battery life).00:54
persiaDanaG: I've had the "why cripple" discussion with a hardware vendor before.  Apparently the goals are low cost and low weight with market-acceptable battery life.00:57
persiaDanaG: The impression I get is that marketing teams don't believe people will pay more for heavier devices just for extended runtimes00:57
DanaGAh, it'd be nice if they could make interchangeable different-size batteries.00:57
DanaGhttp://www.engadget.com/2010/01/05/marvell-shows-off-an-odm-smartbook-thinner-than-strict-decency-p/00:58
persiaSome do, but not enough :)00:58
persiaarmin76: Do you have a link for the "Prototype" identified as an i.MX51 product, or did you just mean "Various prototype devices"?00:59
DanaGAs it is, 4 hours is no better than I get with my full-size laptop -- and lower than many Atom netbooks.01:00
persiaWell, yeah, but it's "The thinnest thing around", which is the highlight point.01:00
persiaThere was talk about the "20-hour laptop", which is perfectly doable at about 1.5Kg, and we can hope someone releases one.01:00
DanaGIf they put the battery at the back, then they could do one design to satisfy both.01:04
DanaGhttp://gigapple.files.wordpress.com/2009/04/hp_battery.png?w=161&h=14901:05
DanaGold pic, but that's the idea.01:05
persiaEither that, or something like the 3/6/9/12 cell modular batteries available for some laptops.01:06
DanaGoh, and are there plans for an official in-repo beagleboard config (or at least kernel)?01:06
persiaI think not for the current generation.  There is an expetation of 192MB RAM in Ubuntu (or maybe that got bumped to 256MB or even 384MB), and I thought the BeagleBoards only had 128MB.01:07
DanaGI believe it has 256, actually.01:07
persiaOh, then I've been misinformed :)01:07
DanaGI'm running Lucid on it just fine right now -- http://elinux.org/BeagleBoardUbuntu01:07
DanaGI think Rev.A had 128; it changed to 256 later.01:08
persiaOh, I know it works.  We have lots of Beagle users.01:08
persiaAh.  That explains the confusion.01:08
persiaI think it's too late for this development cycle (although I might be wrong), but it would perhaps be something to raise with the kernel team during planning for the next cycle.01:08
persiaIt depends on the level of effort that is expected from them, and the number of people willing to volunteer to support it, etc.01:09
persiaIf we just ask the existing team "Please also do this" the answer is almost certain to be "No" unless it's trivial to do.01:09
persiaIf we can get more volunteers to help join the team, and the question becomes "Please accept these patches that we'll help maintain", it'S easier.01:10
DanaGEven something like the kernel-ppa (that is, not even a 'real ppa' that you can add to sources.list) would be good.01:23
DanaGJust, something like a "sanctioned list of kernels you should try".01:23
DanaGOr something like that.01:24
persiaWell, PPAs don't handle armel very well.01:24
persiaBest current recommendation for Beagle users is to use rcn-ee's kernel, which tends to be in good shape.01:24
DanaGoh yeah, and speaking of batteries... the way HP business notebooks work: 8-cell primary, PLUS either 8 or 12-cell secondary.01:24
DanaGoh yeah, though none of the .33-rc kernels are there for Lucid.01:25
persiaThat's also a reasonable model.01:25
DanaGAnd 8 is bigger than necessary for ARM stock battery.01:25
DanaG01:25
DanaGYou could go all day on 8.01:25
persiaLucid isn't using .33-rc right now for anything.  It's 2.6.32 still.01:25
persia"All day" isn't necessarily enough :)01:26
DanaGtaken absurdly literally, "all day" is 24 hours.01:26
DanaG01:26
DanaGer, at least 18.01:26
* persia has a laptop that (when the batteries were new) got 12 hours on two batteries. With travel, sleep, etc., this should have been enough (especially because the batteries recharge in 3.5 hours), but I've still run completely out of power.01:27
DanaGMy laptop got 4 hours when new, on the 8-cell standard battery.  Now I have like 17% wear, one year later.01:28
DanaGOh, and what's Marvell's GPU, anyway?01:33
DanaG(two questions: open source? capable of compiz?)01:33
armin76persia:  http://www.engadget.com/2010/01/04/freescale-reveals-7-inch-smartbook-reference-design-hopes-to-se/05:41
eggonleaDanaG: OpenGL ES instead of OpenGL, so not capable of compiz.05:49
DanaGBleh.05:49
DanaGCompiz is like 90% of the opengl I use in Linux.05:49
DanaG05:49
eggonleahi all, I did not see any ARM port of daily livecd. what's wrong with that?05:50
DanaGARM + CD drive... does not compute,05:50
DanaG.05:50
DanaGTry "root filesystem image" or something.05:50
eggonleaI mean the livecd.img instead of .iso.05:51
eggonleawe usually had it everyday.05:51
DanaGah.05:51
eggonleaHope one day both of compiz and launcher chould have both of GL and GL ES backend. :P05:51
eggonleaLike ChromeOS05:52
persiaarmin76: Ah, that makes sense.  I was thinking it would be interesting if someone tried to brand "Prototype" :)06:49
loologra: poke08:46
ograouch !08:47
ogra:)08:47
loologra: I need to give my input on the priority of bug #431790; would need to know whether you plan to use d-i kernels or archive kernels08:47
ubot4Launchpad bug 431790 in debian-installer (Ubuntu) (and 1 other project) "debian-installer images aren't signed in the archive (affects: 1)" [Undecided,New] https://launchpad.net/bugs/43179008:47
lool(To implement signing of these files in soyuz)08:47
loolfor rootstock that is08:48
ogralool, see if my comment suffices08:51
loologra: that helps, thanks08:52
ogralool, btw, probably link bug 437636 to it (or make it a duplicate of 431790)08:53
ubot4ogra: Bug 437636 on http://launchpad.net/bugs/437636 is private08:53
loologra: I mentionned that it would be nice if the feature was available in the next weeks or month; feel free to give a more sensible deadline if you have one08:58
loologra: I dup-ed; I don't really care if it's separate or not, up to you08:59
ograno, thats fine08:59
ograynezz, a fix for your segfaulting installs should be in the latest bzr09:59
ynezzogra: thanks, which revision is that?10:20
ynezzogra: did you get this "11:20:17 < ynezz> ogra: thanks, which revision is that?" ?10:28
ograah, no, i didnt10:28
ogracommit 78, the very last one10:29
ograthe kernel that was used up to now for licud builds was compiled under karmic, the new code now makes it use the lucid archive kernel10:30
ograapparently that fixes it ... i had the code in there but disabled since i didnt want to hack around the gslice/malloc issue10:31
ograynezz, so make sure you have the hack from commit 73 as well ;)10:34
persiaAha!  is that why all the buildds were disabled for a while.  That should make everything better.10:38
ograpersia, ??10:38
persiaAt some point recently I looked at lp.net/builders and 4 of the armel builders were disabled.  Based on your comments, I now beleive that to be due to the kernel upgrade.  Given the differences in kernels, I'm hoping lots more stuff builds.10:39
ograi was commenting on rootstock issues :)10:40
ograand you know we cant update the kernels on the buildds :)10:40
persiaAh, I hadn't realised rootstock had a special kernel poke that was different.  And I suspect the kernels on the buildds could be updated, but yes, we can't do that.10:42
ograthe kernels cant be updated as long as nobody makes it work ... which would require someone havin the HW to roll a new kernel with the required patch and to work out the flashing10:42
ograbah, crap ... 1000 steps are not enough for the rootstock progressbar when doing a netbook install10:44
persiaRight.  That's why we can't do it: the hardware is special :)10:44
ograwell, not *that* special10:44
persiaNo ?!?!10:44
ograits just that nobody has it10:44
persiaThat's what makes it special.10:44
ograi surely would be able to make it work if i had such a device here10:44
persiaWell, there are new dev boards announced regularly using supported chips, so we can hope there's retail boxes with real network, real disk, enough memory, and auto-boot-on-power-connect in the future.10:46
ograah, sure, we're about to replace the machines anyway ... its in the process10:47
persiaOh cool!10:47
ograno idea how long it takes though ... might be past lucid10:48
ograbut i'm starting to get tired of doing a handfull give-backs per day for random build failures10:48
ograso i hope rather sooner :)10:48
ynezzogra: ah, ok10:52
ynezzogra: will try later today and will let you know10:52
hrwhi10:59
hrwany infos when armv7a 12" 1GB ram systems will hit market? :D11:00
ogra*soon*11:00
ogra:P11:00
hrwI am more and more tired with cursing intel developers after each update of debian on my laptop11:01
persiahrw: You could install Ubuntu, and then you wouldn't have to curse them after debian updates anymore :)11:06
hrwpersia: I will curse after each 'apt-get upgrade' anyway11:09
hrwpersia: i855gm is forgotten baby11:09
hrwand distro does not change it11:09
persiais there a patch that doesn't break anything for anyone else?11:10
suihkulokkiindeed.. intel x11 has been broken for thinkpad x40 with a old intel chip for several upstream releases..11:10
Noisi hi there! i try to cross compile with arm-linux-gcc a sqlclient in c++ to arm720t and i need lib mysqlclient. Must i compile it from soucre? How?  it would give me great pleasure for some tip.11:54
ynezzogra: it still segfaults here :p12:01
ograwhats your host release ?12:01
ograi'm running it on a lucid host as well12:02
ograso using the lucid qemu12:02
ynezzkarmic here12:02
ynezzI'm building same image/params but for karmic and will tell you result12:08
ynezzogra: karmic builds on karmic12:55
ograyeah, thought so12:56
ograyou could run in a lucid chroot :)12:56
ynezzI'll try kvm12:56
ograi doubt thats fun12:57
ograrunning one vm in another will be horribly slow12:57
ograif it works at all12:57
ynezzI wonder about that too12:57
ynezzI don't share same opinion about speed tho12:57
ograqemu-system is very slow in itself12:58
ograat least the armel version12:58
ograrunning that inside kvm (which is what rootstock does) will likely be lots slower than on real iron12:58
hrwogra: run it on x86-64 instead of plain x8612:59
ograthat doesnt change the fact that you stack VMs12:59
ograi dont have any amd64 machines around to prove that ... nor any kvm capable HW though13:00
ograbut i cant imagine running a VM in kvm can be any faster or equally fast than running it in a real chroot13:01
ynezzI don't think it will be faster13:02
ynezzslower, but not that much to be unusable13:02
ogramikeul, ah, you are already here :)14:23
ograso whats the problem you see ?14:23
mikeulFirst of all, I installed rootstock using apt in Karmic.  But I've also built it with a copy from bazaar, and I'm having the same problem.14:25
mikeulrootstock seems to run fine to completion, and I have e.g. qemu-armel-201002241455.img (I ran with --keepimage)14:26
=== Stskeepz is now known as Stskeeps
mikeulthen, following instructions from https://wiki.ubuntu.com/ARM/RootfsFromScratch "Using a qemu image", I try booting with it inside qemu.14:27
mikeulusing the exact same qemu-system-arm line from that site, it fails to boot completely.  The last 3 lines of the boot sequence are...14:28
mikeulVFS: Mounted root (ext2 filesystem) readonly.14:29
ograthats using a jaunty kernel, if you built a karmic system you need a different kernel14:29
mikeulFreeing init memory: 136K14:29
mikeulah ha14:29
ograhttp://people.canonical.com/~ogra/arm/qemu/vmlinuz-2.6.31-rc3versatile1-cortex-a814:29
loologra: Can we start pointing people at the versatile lucid kernel?14:30
mikeulOK, I'll go give that a go...14:30
loolmikeul: I'd be interested if you could try http://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/versatile/netboot/14:30
ogralool, well, that means unpacking the deb14:30
loolvmlinuz14:30
ograuntil d-i built it for versatile14:31
ograoh ?14:31
ograsince when is that there ?14:31
loolmikeul: The vmlinuz there should allow booting anything from jaunty to lucid included14:31
ogramikeul, yes, do what lool said14:31
ograi wasnt aware that kernel exists yet14:31
loolI did the changes perhaps a week ago and d-i was uploaded perhaps a couple of days ago14:31
ograthat explains why i didnt see it on the weekend when i checked :)14:32
mikeulalright, I'll try lool's suggestion.  brb.14:33
mikeulyou mean that the lucid kernel (at URL given) can boot with my karmic RFS?14:34
ograyes14:35
ograthe kernels are backwards compatible  ... just not forward :)14:36
chimpHere is a weird issue I'm wondering if anyone else has run into. The rootstock filesystem I created using karmic results in my arm board not creating usb device nodes in /dev/bus/usb , I actually sorted the problem by replacing the line in /lib/udev/rules.d/50-udev-defaults.rules that creates the device nodes to the line that was there in jaunty (they differ). This solves the problem but I'm wondering if anyone else has come across this and if i should file14:44
ograyou were cut after " and if i should fil"14:45
chimpfile a bug report14:46
chimpIt results in lsusb not seeing any devices14:46
mikeulI must be doing something wrong.  Both the ...-cortex-a8 kernel and the vmlinuz kernel cause qemu to crash almost immediately.14:52
mikeulusing the karmic kernel, I get a bunch of lines, "arm_sysctl_write: Bad register offset 0xc94", etc.14:56
mikeulthen a reg dump and qemu exits14:56
mikeulbooting with the lucid kernel lool pointed to doesn't cause qemu to spit out quite as many lines, but still ends in "qemu: hardware error: pl050_write: Bad offset 44"15:01
mikeulThat line shows up at the end of the karmic kernel boot attempt, too (but with "c94" instead of "44")15:02
ograand you run that on a karmic system as well (i.e. the qemu you use is the one from ubuntu)15:03
mikeulyes, qemu was installed by apt upon installing rootstock.15:03
ograis your host machine amd64 or i386 ?15:05
mikeuluname -a says i68615:08
loolmikeul: What's your qemu?15:09
mikeul'qemu -version' => QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0)15:10
mikeulwas that the right answer?  Same result with 'qemu-system-arm -version', of course.15:12
loolmikeul: Sorry, I'm not sure what the issue is; your expectation is a console prompt, but you don't get any, is that correct?15:13
mikeullool: affirmative15:13
loolmikeul: This is usually the result of either the network not coming up, or the prompt coming on the serial console15:13
loolmikeul: For the network to come up, you either need to setup /etc/network/interfaces or install network-manager15:14
loolFor serial console, it depends how you launch rootstock and qemu, but you should have it with Ctrl-Alt-2 IIRC15:14
loolor -315:14
mikeulBut I don't think this is a qemu setup issue, because when I download the kernel and RFS (rather than build my own RFS), I can get a prompt in qemu.15:17
loolmikeul: Ok; so it's likely the network of console setup15:20
mikeuli.e. following the directions in http://people.canonical.com/~ogra/arm/qemu/kernel/README, I can get it to boot.15:20
mikeullool: I don't understand that conclusion- you mean the network or console setup of qemu?  Or of the RFS?  Because the RFS never gets a chance- qemu crashes immediately, long before the kernel boots or the RFS is mounted.15:22
loolmikeul: no, in the image15:22
ogralool, well, if it crashes before loading the kernel ....15:23
loolmikeul: Either no console is spawned because serial console was chosen (I'm not sure what rootstock does there), or the consoles (tty1 tty2...) don't come up until network comes up15:23
loolmikeul: It doesn't crash anymore, does it?15:23
mikeulYes, qemu crashes immediately.  Perhaps I misspoke a second ago with "long before kernel boots"- it seems to crash immediately upon booting the kernel.15:25
loolmikeul: How do you start it?15:25
mikeulHere's my qemu command line just to be clear...15:25
mikeulqemu-system-arm -M versatilepb -kernel ../downloaded/vmlinuz-lucid -hda qemu-armel-201002241455.img -m 256 -append "root=/dev/sda mem=256M ro"15:29
mikeulsorry for the delay, it's a different machine, I can't cut-and-paste here...15:29
mikeul...where "../downloaded/vmlinuz-lucid" is of course the kernel you pointed me to, renamed15:31
ograthat should definately not crash on unpacking the kernel15:31
loolmikeul: You miss -cpu15:32
loolmikeul: You want -cpu cortex-a815:32
ograand the wikipage does as well15:32
* ogra slaps forehead15:32
mikeulindeed, now it boots.15:33
ografixed15:34
ograwell ... if the wiki ever saves15:34
mikeullool, ogra, you have made me happy(er)15:38
ogramainly lool :)15:38
loolmikeul: I wish you'd list here all the pages which need fixing15:39
loolor places15:39
mikeulI still haven't landed at a prompt, but perhaps I should play around with that myself a bit...15:39
mikeullool: you mean you want me to indicate which web pages were outdated?  I can do that.  Really, I was only using RootfsFromScratch, so I can summarize which parts of that page could be updated.15:41
loolmikeul: Which broken docs you came across basically15:41
loolmikeul: Well we can continue debugging for the prompt part15:41
loolmikeul: What does it do on boot now?15:42
mikeul(a few lines to follow)15:44
mikeulmount: mount point /dev/pts does not exist15:44
mikeulmountall: mount /dev/pts [45] terminated with status 3215:45
mikeulmountall: Filesystem could not be mounted: /dev/pts15:45
mikeul[repeats for /dev/shm and /dev/pts (again) and /dev/shm (again)]15:46
mikeulMount of root filesystem failed15:46
mikeulA maintenance shell will now be started.15:46
loolThat's probably devtmpfs again15:46
loolProblem is karmic's mountall with a lucid kernel which has devtmpfs mount15:47
mikeulthen let me try with -cpu correct and the karmic kernel...15:47
loolmikeul: Please pass devtmpfs.mount=0 on the kernel cmdline15:49
loolmikeul: I'd personnally recommend staying with the lucid kernel and just turning off devtmpfs mounting as above; the kernel has been fairly tested at this point, and we'd probably do best in supporting only one kernel which is able to work on all dists given the number of other issues we have to resolve15:50
ogra++15:50
mikeullool: fair enough, but I already tried it :) it hung up in the same manner as lucid is with "devtmpfs.mount=0".  The both say:15:51
mikeulOne or more of the mounts listed in /etc/fstab cannot yet be mounted: (ESC for recovery shell)15:52
mikeul /: waiting for /dev/root15:52
mikeul /tmp: waiting for (null)15:52
mikeuland then it doesn't make it any further.15:52
loolmikeul: It would help if you could paste the full output; to do so, pass console=ttyAMA0,115200 on the kernel cmdline and "-nographic" to QEMU15:54
loolThat should output the kernel and userspace error messages on your terminal as to copy-paste15:55
loolmikeul: You can paste to e.g. paste.ubuntu.com15:55
loolAt least the last lines of the kernel output and all of the userspace output of a boot with devtmpfs.mount=0 would be nice15:55
ogranote that you need a second terminal from where you stop qemu then15:57
ogractrl-C wont work15:57
mikeulyeah, I just noticed that :)15:57
mikeullool: Here are the last few lines of the boot (that paste.ubuntu.com is really handy!)16:00
* ogra struggles with proper quoting for the rootstock /bin/installer script ... 16:01
mikeul[    5.560643] md: ... autorun DONE.16:01
mikeul[    5.587783] VFS: Mounted root (ext2 filesystem) readonly on device 8:0.16:01
ograwhy is preserving variables in here documents so hard .... sigh16:01
mikeul[    5.603695] Freeing init memory: 152K16:01
mikeulOne or more of the mounts listed in /etc/fstab cannot yet be mounted:16:01
ogramikeul, sudo chown $USER <path to rootfs image>16:01
ograi guess i should build that into rootstock somehow16:02
ogra(the point is that i never use qemu but real HW) ...16:02
* ogra files a reminder bug16:03
mikeulI intend to be using real hardware, too16:03
loolmikeul: can you please give us the URL?16:04
loolmikeul: The point of paste.ubuntu.com is to send the output there and give us the URL16:04
mikeulyou mean you want my qemu-armel-*.img to be the same user that's running qemu?  It already is.16:04
mikeul"Oh, that makes sense", he said embarrassed, "here's my paste": http://paste.ubuntu.com/383077/16:05
* ogra filed bug 52715916:05
ubot4Launchpad bug 527159 in project-rootstock "rootstock script should produce world writable qemu images (affects: 1)" [Undecided,New] https://launchpad.net/bugs/52715916:05
ogramikeul, its not your fault, dont be embarrassed ...16:06
loolmikeul: So you don't have the /dev/pts errors etc. at least16:06
ograi should be :)16:06
loolmikeul: Could you paste the contents of your fstab?16:06
ograor lool for fixing the wikipage but not filing a bug :)16:06
ograoriginally we had a sudo in front of the qemu command there ;)16:06
mikeulogra: I already was the owner of the *.img because I had copied the original.16:09
mikeullool: here's my fstab: http://paste.ubuntu.com/383084/16:13
ogramikeul, i bet he meant the one in the image :)16:13
ogralool, by default rootstock adds /proc and nothing else16:13
mikeulogra: you're probably right, then I posted the wrong one of course.  I'll go get the one from the image.16:14
loolmikeul: sudo mount -o loop <yourimg> /mnt; then paste the contents of /mnt/etc/fstab16:14
ograit will onyl contain a line for proc16:14
loolDon't forget to umount16:14
ograunless you modified it manually16:14
mikeulproc /proc proc defaults 0 016:15
ograi think mountall is misleading here16:15
loolI just have / in my fstab16:16
loolSomething like:16:16
loolUUID=a5a3cdd1-1f8a-4070-8b86-5eb22d754897 /               ext3    relatime,errors=remount-ro 0       116:16
ograyou should have proc too16:16
ograafaik d-i adds it16:16
ograat least it did16:16
ograthough having it wont do any harm16:16
ograhmm, you said your image was writable now ?16:18
ogra[    5.587783] VFS: Mounted root (ext2 filesystem) readonly on device 8:0.16:18
ograthat somehow doesnt indicate it is16:18
loolmikeul: Here it boots a karmic chroot with just / added16:18
loolmikeul: i do need that devtmpfs.mount=0 too though16:19
ograi think the fstab error is bogus and just a wrong errormessage16:19
mikeulthat "ro" came from my kernel cmd line.16:19
loolmikeul: You don't need /proc16:19
ograit tries to mount / rw but cant16:19
loolmikeul: But you want / in fstab16:19
mikeulwhat's "d-i"?16:19
looldebian-installer16:19
ograyou dont need / in fstab16:19
loologra: Well let's see if it helps16:20
mikeulI lied- I didn't have "ro" in my args anymore.16:20
loolmikeul: Please add a / line in /mnt/etc/fstab16:20
loolmikeul: Change the UUID to the one you get with "file <your image>"16:20
ogralool, i never had any other fstab than the one created with rootstock for my qemu images16:20
ograMounted root (ext2 filesystem) readonly is a clear indicator that something with the image permissions is wrong16:21
ogramountall might remount it rw if it finds it in fstab indeed16:21
loolI get the same read-only mount output, the same / and /tmp output, but then it proceeds, I'm pretty sure adding / in fstab will help16:22
ograsure, because mountall remounts with the fstab options if something is added16:22
ograbut it works without so the image permissions are wrong16:23
ogrado you remember asking me if my img is writable when we discussed the need of sudo ?16:23
loolI don't think it's the same issue16:25
loolmikeul said he owns the image already16:25
ograwell, but i definately never needed an fstab entry16:26
ograand if that would become a requirement i'd remove the .img option from rootstock16:26
ograwhich is a sideeffect anyway, rootstock isnt intended as image builder16:27
ograbut i'm sure it isnt a requirement ...16:28
ograelse casper wouldnt work either :)16:28
ograor ltsp ... or anything else that doesnt use an fstab16:28
loolYou can't compare these, they are initramfs based16:29
ograwell, still16:29
ograit used to work all the time ... why should that suddenly become a requirement16:29
ograespecially on a released system16:30
mikeulOK, I added the / line in fstab and now it hung up in a strange place... http://paste.ubuntu.com/38311316:41
ogratry running it without the serial console now16:41
loologra: So I would recommend you generate a / entry in fstab16:42
=== Guest5903 is now known as NCommander
ogralool, no16:42
ogralool, i would like to know why thats suddenly needed if i didnt need it throughout the whole karmic cycle and until last week when i used my last qemu image with lucid16:43
mikeulfrom your chatter earlier, it sounded like I would be better off to create the img file from the tgz?16:43
ograno16:43
loologra: I'm not sure I have the time to debug why it's needed, but you mentionned that d-i writes a /proc entry, it certainly writes an entry for / too, and you really want one16:44
ograrootstock is designed to crate a tarball ... so you can untar that to your root device for any system, the .img file is just used to run qemu actually ... but since people found it convenient i added the --keepimage option16:44
ogralool, it was never needed before16:44
ogranot through the whole of karmic and not until last week in lucid16:45
mikeulcan I kill the qemu process w/o breaking my img?16:46
loologra: You can stand on your argument, in practice it didn't work without it16:46
ograsure16:46
ogralool, i wouldnt have added --keepimage if it hadnt worked without it16:46
loologra: So is there a process for people to create a bootable qemu image from root tarballs?16:47
ograi'm still sure it can be handled differently, and if not i'll drop --keepimage because it goes far beyond the purpose of rootstock to do anything HW related like writing UUIDs16:47
ograi'm actually working on fixes that even remove the persistent rules from udev to make sure there are no HW related bits16:48
ogralool, well, you know the process ... dd an image together, loop mount and untar16:48
loologra: I'm asking where I can point people who want to achieve this16:49
loologra: Including the fstab part16:49
ografeel free to add a rootstock errata page somewhere16:49
loolI mean obviously it doesn't work without / in fstab right now; it's best to have it there anyway, so I'd like to make sure people who want to run qemu against an .img get it setup in some way16:49
ogramikeul, would you do me a favor ?16:50
mikeulogra: yes, I owe you one16:50
ograand mv fstab in your image to fstab.bakl, then touch fstab so you create an empty one and then run qemu with sudo ?16:50
ogra*bak16:50
mikeulbtw, I have a console in qemu now.  I'm quite happy about that.16:51
ograyou can move it back afterwards if it doesnt work16:51
loologra: Were you using an initrd?16:53
ogralool, never16:53
ogralool, an i had the same prob the first time when i didnt use sudo because you insisted i wouldnt have to ...16:54
ograa chmod 766 solved it for me back then16:54
loologra: I can reproduce mikeul's problem here without sudo being involved in anyway16:54
loolJust commenting out / from my fstab16:54
ograand if you use sudo ?16:55
loolIt wont change a thing16:55
ograunder karmic ?16:55
ograi really dont get why it worked for so many people including me all the time16:55
loolYes16:55
loolWell I have an idea, but I didn't demonstrate it completely16:55
loolIt's quite time consuming to find out and I know adding / in fstab is really best16:56
ograwell16:56
ogracan we assume people using --keepimage will never use the filesystem on a real machine ?16:56
ograi guess its a two liner in /bin/installer to add it based on teh --keepimage option ... but it massively bugs me that it worked all the time without a single issue16:58
mikeulogra: I did your favor. Starting qemu as root, using an empty fstab, it again stopped after "One or more of the mounts listed in /etc/fstab cannot yet be mounted:"console17:09
ograok17:09
ograthanks17:09
ograi'll follow lool's suggestion then and add the two lines to dump the img UUID into fstab for --keepimage and have a sleepless night over why it worked all the time :/17:11
mikeulogra,lool: I haven't understood everything that's happened here- why doesn't passing the "root=/dev/sda" kernel arg to QEMU work to boot the RFS?17:11
ograsomehow mountall fuzzes around with the fstab entries during boot17:12
mikeulI much appreciate the help.17:14
ograwell, you also helped a lot :)17:14
mikeulI'd like to continue to help, you might not have seen the last of me :)17:15
mikeullool, you wanted me to summarize suggested changes to RootfsFromScratch?17:15
ogragreat !17:15
loolmikeul: Yes17:16
mikeulShould I e-mail them?  Post them here?  Bug report somewhere?17:16
loolYou could do them in the wiki page, or mention them here17:16
ogra++17:16
mikeulOK. That won't be until tomorrow.17:18
loolI think it's a bug in mountall; either you need to pass rw to your kernel or you need to have the fs in fstab17:18
ograah17:18
ograhmm, right, when we discussed the sudo stuff first thing i tried was rw on the cmdline ...17:19
ograonly then it struck me that the img was readonly ... i re-used the same qemu command afterwards17:19
loolSo I just confirmed that without an fstab and with rw on the cmdline, it boots17:19
* ogra hugs lool17:20
ogralool, sorry for being such a hard opponent sometimes17:20
ograi know i annoy you with that17:20
loolIt's very energy consuming to fight each and every claim17:21
ograi'll try to improve but i knew it was working before and i didnt want to change code without knowing what was going on17:21
loolI still believe people would be better off with a fstab with / on real systems (even virtual)17:22
ograyes, i'll add the code for --keepimage17:22
loolmikeul: So recipe is vmlinuz from ports + rw and devtmpfs.mount=0 on cmdline17:22
ografor real systems we can add documantation17:22
mikeulyeah, I just removed the UUID from fstab and booted with rw on the cmdline to test, and it worked.17:23
mikeulHow is devtmpfs getting in the way?17:24
ograudev in karmic didnt know about it, i think it steals /dev, not sure though17:24
ogradevtmpfs is something new that only showed up in 2.6.32 kernels17:25
ograit pre-populates /dev so udev doesnt need to execute all its scripts to find the devices17:26
loolI filed LP #527216 on the mountall issue17:27
ubot4Launchpad bug 527216 in mountall (Ubuntu) "Boot hangs waiting for local filesystems if / isn't in fstab and / is only mounted ro (affects: 1)" [Undecided,New] https://launchpad.net/bugs/52721617:27
* ogra subscribes17:27
ograheh, its tagged amd64 :)17:27
mikeulI see.  Well, thanks again lool and ogra. I'm signing off.17:29
ograciao17:30
ograoh, finally !17:30
loolmikeul: devtmpfs doesn't have the /dev/pts dirs etc.17:30
ogramy here document quoting works !17:31
loolmikeul: lucid's mountall can cope with that, but not karmic's17:31
loolmikeul: You don't need the devtmps arg for a lucid vm17:31
ogralool, i guess it wont do harm to use it with lucid though, would it ?17:36
* ogra thinks about a universal cmd we can put on the wiki17:36
ograi think it would just boot a little slower17:37
loologra: Yes, I did mean for mikeul to document using "devtmpfs.mount=0 rw" for all dists, not just karmic17:39
ograright, given that i changed the kernel link on the page i'll do that for now17:39
=== hrw is now known as hrw|gone
ograhttp://bazaar.launchpad.net/~project-rootstock-developers/project-rootstock/trunk/revision/8017:58
ogralool, ^^^ fyi17:58
loologra: Do you want to hardcode ext3?  I'd put auto there perhaps18:01
ograwell, we format it ext3 anyway, but yes18:01
ograchanged18:02
|nfecteDdoes anyone have any idea why my beagleboard doesn't seem to want to use USB devices when running ubuntu arm?18:53
|nfecteDi have a powered USB hub, yes18:53
|nfecteDand USB devices work with angstrom and android18:54
|nfecteDit does find the hub and devices during boot, but the blue lights that indicate that using are plugged in and ready for use never light up18:55
|nfecteDgot the same problem with debian too18:55
|nfecteD(not the same kernel)18:56
Hoonsehi guys18:59
rcn-ee|nfecteD, web irc log only goes back to the start of the hour.... did your usb port work?19:23
rcn-eekblin, some news... I moved hardware around and i've been able to trigger musb problems on my rev Bx..  Strangely my C2 isn't having the issue..19:24
|nfecteDrcn-ee: it works with angstrom and android, yes19:32
rcn-ee|nfecteD, what board (bx/c2-3/c4) ehci/musb?19:33
|nfecteDC4 ehci19:35
rcn-eeokay..  have you touched u-boot at all... (my wiki relies on you leaving it at the factory version..)19:36
|nfecteDi've changed the u-boot, yes19:36
rcn-eewhat version?19:36
|nfecteDlesse...19:37
rcn-eei think 'version' prints it out... (in u-boot)19:37
|nfecteDhttp://rcn-ee.net/deb/tools/u-boot-beagleboard-2009.08+r37+gitr1590f84007e2b50ad346a482fff89195cb04ff4e-r37.bin19:37
|nfecteDshould be that one19:37
rcn-eethat's the problem...19:38
|nfecteDU-Boot 2009.08 (Dec 01 2009 - 05:37:28)19:38
|nfecteD(from beagleboard)19:38
rcn-eethe C4 is still too new...  the ehci power setup is controlled thru u-boot, only the version on the C4 and the one listed here: http://www.angstrom-distribution.org/demo/beagleboard/u-boot.bin will work...19:39
|nfecteDah19:39
|nfecteDthanks for clearing that up19:39
rcn-eeno problem...19:40
|nfecteDNEXT QUESTION (hoho)19:40
|nfecteDrootstock...19:40
rcn-eei need to update the elinux wiki page...  (there's a note about the C4 at the top about it, but i need to test it on all boards)19:40
|nfecteDI can't get it to enter stage 219:41
|nfecteDE: Second stage build in Virtual Machine failed !19:41
|nfecteDis this because i try to build a lucid image in a karmic ubuntu?19:42
rcn-eewhat os/version are you initiating the rootstock call from?19:42
|nfecteDUbuntu 9.1019:42
|nfecteDx32 (if it matters)19:42
rcn-eewell the version that came with karmic, doesn't support lucid...  you need to tweak the rootstock script..19:42
|nfecteDgot a quick tweak on hand or should i just install lucid on the dev computer?19:43
rcn-eesupport for lucid was added to the trunk of rootstock, no *.tar.gz release files yet with the lucid change: "bzr branch lp:project-rootstock"  will get you what you need..19:44
Hoonsecan i delete the --serial ttyS2 flag from rootstock AFTER i made the image?19:44
rcn-eeHoonse, depends, but why did you add the flag?19:45
Hoonsei made the image with rootstock and all works fine but now i dont want that the terminal listens on the ttyS2 port all the time19:45
Hoonsei set the flag by making the rootstock image from ubuntu19:45
Hoonsesudo ./rootstock --fqdn beagleboard --login ubuntu --password temppwd --imagesize 2G --dist lucid \19:45
Hoonse--script fixup.sh --serial ttyS2 \19:45
rcn-eeHoonse, it'll be "/etc/event.d/ttyS2"19:45
|nfecteDrcn-ee: thank you very much19:45
|nfecteDhopefully now i'll be able to help myself for a while19:46
Hoonsethanks i will try this now19:46
rcn-eeHoonse, just remove that file and it'll never start at boot...19:46
Hoonsek i will try...19:46
rcn-ee|nfecteD, your welcome, most things should be straightforward.. any other issues just post to the beagleboard group, as i'm not on irc at work...19:47
|nfecteDalrighty :)19:48
rcn-eeHoonse, sorry, that was for Jaunty.. For karmic+ it's "/etc/init/ttyS2"19:49
rcn-ee"/etc/init/ttyS2.conf"19:49
Hoonseremove this?19:49
rcn-eeYeah, upstart reads that...19:50
Hoonseand the ttyS1 3 4 ...?19:50
rcn-ee--serial only modifies one... the rest are ubuntu default setups...19:51
Hoonsek i am rebooting right now19:52
rcn-eeHoonse, the kernel will still post message on boot, so don't forget to remove "console=ttyS2,115200n8" from your boot.scr... the early bootstuff takes a kernel recompile...19:52
Hoonsei did this before on the bootargs and on the ubuntu.cmd file (=boot.scr)19:53
Hoonsei deleted the file but its still there...19:54
rcn-eeHoonse, by deleting the file, the 'login' part shouldn't show up... eveything else is just kernel message...19:54
Hoonsethe problem not the file19:54
Hoonsebut the login part still shows up...19:54
Hoonseohh wait a sevond19:56
Hoonsesecond19:56
Hoonsethere is the ttyS2 file19:56
Hoonsei will delete this...19:56
rcn-eewell that doesn't make sense.. upstart -> "/etc/init/ttyS2.conf" calls "getty" -> prompt..19:56
Hoonseyes sorry i deleted the tty2 not the ttyS2 file...19:57
rcn-eeoh, easy miss...19:57
Hoonseomg thanks now it works =) call me whenever you are in austria i will buy you a beer =)19:58
Hoonsethanks19:58
rcn-eewith 'console=ttyS2,115200n8' and '/etc/init/ttyS2.conf" gone, there will still be the intiall serial traffic.... something like 'quiet' in boot.scr would make it even less..19:58
rcn-eegood to here Hoonse19:58
|nfecteDoh yeah! rootstock entered stage 220:29
* |nfecteD crosses fingers20:29
armin76ogra: lool: NCommander: is dove gigabit eth?20:33
NCommanderarmin76: it is20:34
NCommander1000 Mb/s, full duplex, flow control disabled20:34
armin76oh nice, thanks20:34
NCommanderMakes shooting stuff across my LAN so much easier20:34
armin76NCommander: when i'm getting one? *g*20:35
loolarmin76: I think only one port is native though20:35
zumbiarmin76: the question is when is dove-next (a comercial laptop) going to be selled out on the market :-)20:37
NCommanderarmin76: when you sell your soul to Marvell :-)20:38
armin76NCommander: oh, nice, i can sell it :D20:39
|nfecteDcan the GPIO pins in the expansion connector be used to trigger scripts?20:40
|nfecteDwhen ubuntu is running that is20:41
|nfecteDperhaps i should mention that im talking about the beagleboard :P20:44
loolarmin76: You already sold your soul 4 or 5 times20:45
loolarmin76: no mode hardware for you now20:45
armin76i did? :D20:46
kblinrcn-ee: pong21:01
kblinrcn-ee: ok, for me it seems to be the hub's fault. I've switched hubs between my two beagles, and now the c3 is fine and the b6 is having problems.21:03
|nfecteDrcn-ee: looks like rootstock locks up while unpacking the debs in stage 2... any idea what that might be?22:18
|nfecteDUnpacking usbutils (from .../usbutils_0.86-2ubuntu1_armel.deb) ...22:18
|nfecteDthats where it is22:18
|nfecteDand has been for 30 minutes22:18
termitorhello22:48
termitorhow to have the same theme on pc ?22:49
mygalaxiahello22:50
mygalaxiaor can I find the theme for an arm platform x86 ubuntu thanks you22:50
persiatermitor: mygalaxia: The themes are precisely the same as on other architectures.22:56
rcn-ee|nfecteD, can you pastebin your rootstock log?  i'll be back in a bit, tweaking a server..23:58

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