/srv/irclogs.ubuntu.com/2010/05/15/#ubuntu-arm.txt

cwillu_at_workoh, but you've seen the segfaults?00:00
cwillu_at_workthat doesn't look like you're even getting into qemu00:00
rcn-eeyeap..  it use to segfault after apt-geting everything in the second stage...00:01
cwillu_at_workhave you used up all your loop devices?00:01
cwillu_at_workwell, I seem to have a workaround for the segfaults00:01
cwillu_at_worksomething with the lucid userspace confuses qemu;  like a libc mismatch or something00:02
rcn-eenope.. none's showing up with mount... (the script auto umounts any it finds..)00:02
cwillu_at_workif you exec into a new script after debootstrap finishes, you can proceed normally00:02
cwillu_at_workrcn-ee, add a -x to the set -e in rootstrap, and send me the next log you get from it00:03
cwillu_at_workI'm using a fork rootstrap, but I doubt they've changed a whole lot;  it's still just a glorified wrapper around deboobstrap :)00:04
cwillu_at_workforked, rather00:04
rcn-eeyeah mine is too, the useful stuff i send up to oliver...00:05
cwillu_at_workoh, I see what's going on there now00:05
cwillu_at_workdying at gnupg00:05
cwillu_at_workor was that the old segfault?00:05
rcn-eei don't remember.. ;)  i'll fire up my script, i got a full mirror here so it's prety quick..00:06
cwillu_at_workset -xe in rootstock as well as the installer script that iirc is created from within rootstock00:07
cwillu_at_workalso, somebody should make an smp versatile kernel :p00:08
rcn-eei think lool's trying to get 512Mb to work first..00:08
cwillu_at_workmeh, just make a big swap device on a tmpfs00:08
cwillu_at_workswappiness=100, and you're laughing00:08
rcn-eeI've gotten a nice speed bump from this.. ;) http://bazaar.launchpad.net/~beagleboard-kernel/+junk/image-builder/annotate/head:/patches/05-use-real-hardware.diff  (i give it nice fast harddrive..)00:09
cwillu_at_workI'd expect that to be similar to enabling writeback caching on a normal device file?00:11
cwillu_at_workperformance-gain-wise00:11
cwillu_at_work-drive file=${IMAGENAME},aio=native,cache=writeback00:11
cwillu_at_workis what I use00:11
rcn-eei think so...  it would also help if i used that drive as my filesystem, it's about 2x faster...00:12
cwillu_at_workI spoke too soon as usual00:16
cwillu_at_workI got significantly further along, but it still ended in a segfault00:16
rcn-eemine just reached apt-get...  should crash any minute...00:18
cwillu_at_workthere isn't any qemu special sauce compiled into those qemu kernels is there?00:19
cwillu_at_workI guess when I put it like that..00:19
rcn-eei think the cortex-a8 emulation is relatively new in qemu...00:20
cwillu_at_workbut a karmic debootstrap is rock solid00:20
rcn-eeyeap.. and all those packages where armv6....00:21
cwillu_at_workahhhhhhhh00:21
cwillu_at_workwell that makes some sense of it00:21
rcn-eeso one question that comes to my mind... is qemu emulating all the cortex-a8 errata properlly.; )00:21
* cwillu_at_work giggles and groans00:22
rcn-eeand we have the thumb2 bits on too.. which lucid is the first distro to ever try that... Angstrom is just arm mode...00:22
cwillu_at_workI see now why we build our packages on actual arms00:22
rcn-eenow that 2.6.34's almost in shape, i'm thinking of taking some time to make a 'arm' rootstock...00:23
cwillu_at_workwouldn't be hard;  you could basically search and replace the qemu calls with chroot00:24
rcn-eeexactly... chroot's are easy.. and we aren't emulating anything..00:25
cwillu_at_workI just... wish I could saturate my server doing builds rather than using the real hardware00:25
rcn-eethat's one of the big advantages of rootstock...00:26
cwillu_at_workstupid segfaults00:27
* cwillu_at_work tries cortex-a9 for kicks00:28
rcn-eehave you tried the beagle qemu target?00:28
cwillu_at_workdidn't see such a thing00:28
rcn-eei see lool running "qemu-system-arm -M beagle" every once in a while, not sure if it's mainline..00:29
cwillu_at_workdoesn't show up in qemu -M ?00:29
rcn-eeyeap.. just segfauted...00:35
rcn-eewhat's weird, it gets so close to being done...00:35
cwillu_at_workfeels racy00:36
rcn-eedidn't get the whole log.. here's right after apt-get was done in the internal script... http://pastebin.com/V3LTkeEZ00:37
cwillu_at_workya, not much interesting going on there :/00:38
rcn-eeof couse, when i do the next run, it'll segfault earlier... for some strange reason on this pc... the first run will get that far...00:38
rcn-eewhen they get back from uds, fingers crossed for a duh moment by a qemu guy..00:39
* cwillu_at_work sighs00:40
cwillu_at_workthanks for reminding me that I'm a programmer, and really should be able to solve this sort of thing myself :p00:40
* cwillu_at_work apt-get sources qemu00:40
rcn-eenah.. 'arm' roostock... then once qemu is fixed, you can run it in emulation.. ;)00:41
cwillu_at_workI can hurt you... :p00:42
rcn-eeone thing i haven't looked direcly into.. is the qemu-kvm a branch/fork of qemu00:44
cwillu_at_work-kvm is the mainline of it now, isn't it?00:46
rcn-eewell kvm is in the mainline kernel... so qemu-kvm would just also include the extensions needed to utilze that..00:47
rcn-eethe only really big thing, in lucid rootstock gets alot farther then qemu in squeeze..00:48
cwillu_at_workwhat release date was squeeze approximately?00:50
cwillu_at_workor it's not out yet?00:50
rcn-eemid summer...  still over 1K bugs.. half patched in last report..00:50
cwillu_at_worksorry, it's due this summer?00:51
rcn-eeyeah, they were saying summer 2010... i'm thinking winter 2010/11.. ;)00:51
cwillu_at_workls00:52
rcn-eeother then being slow compared to karmic/lucid it's been reliable on my beagles..00:52
cwillu_at_worknothing much in debian/patches00:53
rcn-eethere's been some activity...  http://git.kernel.org/?p=virt/kvm/qemu-kvm.git00:55
rcn-eeto rebuild or not rebuild.. ;)00:55
cwillu_at_workya, just not in the patches dir :p00:55
cwillu_at_work13 days ago00:56
rcn-eeqemu in lucid is 0.12.3 whereas git is 0.12.4 + 2 weeks of patches..00:58
rcn-eeor the head is taged,  not out..00:59
DanaGmmm, butter.03:37
DanaGGood with toast and garlic.03:37
DanaGOr more precisely, a French baguette, I think.03:37
cwillu_at_workhow _do_ you update our qemu package?08:13
ograGuest83715, so about your suid problem, doesnt genex2fs just take the permissions that are created when creating the chroot ?09:26
ogra(i.e. does it reset anypermissions that already exist ?)09:27
NCommand2rogra: sorry, internet here is ****09:35
* NCommand2r is on a 3G card now09:35
ograNCommand1r, i answered the mail, that should make it better ;)09:36
NCommand2rogra: we can't extract the raw files preserving permissoins without unsquashfs or tar running as root. Its unclear if genext2fs saves permissions as it builds the filesystems09:36
ograwhy would you extract anything ?09:36
NCommand2rogra: you have to extract the squashfs with the preinstalled system on it, no?09:37
ogralivecd-rootfs should just provide us a generated ext3 image09:37
ograi think you are fiddling with the wrong bit here :)09:37
NCommand2rogra: OH, that will work09:37
NCommand2rogra: I think your right.09:37
* NCommand2r goes to hide in shame09:37
ogranah09:37
ograwas a valid issue ... just the wrong design assumption09:38
NCommand2rogra: yeah, fiddling with the wrong bits, although if we're doing this on the image build system, we can just loopmount09:38
NCommand2rwhich solves a lot of headache IMHO, and lets us use EXT409:38
ograi'll write up the spec tomorrow if i'm back from my fathers place, that should make everything clearer09:38
NCommand2rogra: yeah, I find writing code during UDS can be counterproductive when one's mind is exhausted09:39
ografor code sanity we should just use genext2fs instead of mksquashfs in livecd-rootfs09:39
NCommand2rogra: but if we generate the extX image on the live image builder, then we should just use a loop mount and ext409:39
ograthat can then keep a similar command structure09:39
NCommand2r*/2 cents*09:39
ograloop mounting will add a new function, using genext2fs will just be a case check and one additional commandline09:40
NCommand2rogra: well, sorta, we still need a new code path to only download that live image, and then excute the boot scripts. Its just not a drop in replacement (sadly)09:40
ograit is09:40
NCommand2rogra: in d-cd?09:40
NCommand2rhrm09:40
NCommand2rlet me wait for your spec09:40
ograi'll show you some code3 next week :)09:40
NCommand2rthen it will be much clearer09:40
ogra-309:40
NCommand2rogra: yeah, lets save this for next week, I think we're both exhausted from UDS :-/09:41
NCommand2r(where are you anyway?)09:41
ogra#right, i'm massively sick ...09:41
ograat home09:41
ogracarried a bad cold with me ... but dont want to miss my fathers 80est so i'll vanish now09:41
NCommand2rogra: ah, you have the ubuflu09:41
* NCommand2r has it too09:42
ograi'll write up the spec tomorrow and do some PoC code for livecd-rootfs09:42
NCommand2rogra: I'll assist with the d-cd hacking once I understand your design and help test it all out09:42
ograits identical to the other livecd builds, just that the image name doesnt end with the squashfs suffix09:43
ogrause the existing omap code09:43
ograone issue we have here is that MLO needs to sit in the first block of the vfat09:44
ograand that u-boot.bin needs to be in the vfat as well ... beyond that it should be pretty much identical09:44
ograoh, wait, no ...09:44
ograwe need code for a second partition to dd the ext2 into ...09:44
ograso it should be a merge of the existing omap and imx51 code09:45
NCommand2rogra: the issue is that we don't want the code to add a pool or anything to the image09:45
NCommand2rogra: that needs to be removed09:45
ograright, i'm talking aboout live09:45
ograwe need a two partition image ... code is in imx5109:46
ograbut here the first partition isnt raw but vfat09:46
NCommand2rogra: but the live image still has a pool on it and other files beside the squashfs09:46
ograah, right, that will need special casing, we dont want to use the ship seed09:47
ograor ship-live or however it is called atm09:47
ograthere should be code in d-cd wheer you can just disable it09:47
NCommand2rogra: yeah, so this isn't quite as trivial as we wish, but we'll figure it out. lets save it for Monday09:48
ograwell, we have all code already, its really more a copy paste job and one extra special case09:48
ograanyway, i'm off09:49
Martynogra, you on perchance?12:43
MartynI still have your serial cable...12:43
OmegamoonI managed to get qemu-arm running with more than 256mb internal memory13:01
Omegamoonat least kernel reports the additional memory ;-)13:03
Omegamoonanyone knows a quick check to see whether or not the 256+ mb memory can actually be used?13:06
Omegamoonthis is qemu-0.10.6 using versaltilepb on arm with 850mb memory by the way13:08
wamillsHi all.  The arm ubuntu 10.04 info is hard to find.  Any change that the link on the main pages can be updated to not point at the Lucid info and not the Karmic info?13:44
wamillsumm _to_ point to the Lucid info13:44
wamillsSo, I have been playing with the Lucid netbook install image for beagle13:47
wamillsI have the netbook install on one SD and am installing to another in a USB reader.13:48
wamillsFrom what I can tell the installer does nothing to actually set up u-boot to actually boot the new image, correct?13:49
wamillsIf so I would like to update the wiki page to describe how to do that.13:50
wamillsI just don't want to do that if I missed something. (I always walk away while the files are coping.  I have never seen it finish.  I alway come back to just the purple wallpaper.13:51
wamills> ogra, does netbook install adjust u-boot parameters at all?15:09
cwillurcn-ee, checked latest qemu git tag, still segfaults16:11
rcn-eewell it's consistent.. ;)16:17
cwillu:)16:17
* cwillu resigns himself to a future of beaglestock16:19
Omegamooncwillu: what machine are you emulating on qemu?18:01
rcn-eeOmegamoon, rootstock context, so versatile..18:07
Omegamoonrcn-ee: I just tried to cross the 256mb memory boundary on versatilepb in qemu18:34
rcn-eehow'd it go? it didn't fail like before?18:35
Omegamoonkernel is reporting 850mb now, and I'm building 'apt' just to see if it works18:35
rcn-eecool18:36
OmegamoonI'm hitting a different boundary now, it seems...18:36
Omegamooncpu is 100% all the time ;-)18:36
Omegamoonthe qemu-system-arm process is using 306mb of memory already, so I guess it works18:38
Martynogra : Are you on?20:35
MartynI've got your USB -> RS232 adapter.  If I can get your address before leaving Belgium, I can pop it in the mail20:36
* Viduka Discounts!! Our Special Limited Time Offers Up To May,22!!!New BranD!! Notebooks,Plasma and LCD TV's.Buy your electronic needs at our unique prices. Laptop Sony VAIO® VGN-FW590FFD-575,57$!!!Apple MacBook® Air MC234LL/A-695,27$!!! http://www.elplace.com/22:09

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