=== ericm-Zzz is now known as ericm|ubuntu
=== asac_ is now known as asac
GrueMasterDaviey: I'll start looking at them this week.  Just returning from holiday/vacation.  Need a vacation just to relax from the vacation.02:25
=== Jack87|Away is now known as Jack87
=== Jack87 is now known as Jack87|Away
=== Jack87|Away is now known as Jack87
=== panda is now known as Guest64421
=== jcrigby_ is now known as jcrigby
=== Jack87 is now known as Jack87|Away
Davieyogra_: Do you have a minute?09:45
Davieyogra_: I was hoping you could help me with qemu-system-arm? :)09:45
ogra_Daviey, whats up ?11:42
Davieyogra_: I'm really sucking in trying to get either the server cloudimg's or the core images running in qemu-system-arm11:45
DavieyThey don't seem to output to tty.. and i couldn't get data over serial.11:45
DavieySo i'm not convinced i'm doing it right.11:45
DavieyI've been trying versatile(a|p)b11:46
ogra_on what host ?11:46
ogra_versatile is rather dead11:46
ogra_no, which release i mean :)11:46
ogra_(on the host)11:46
DavieyOh, oneiric11:46
ogra_ah, better use vexpress11:46
Davieyvexpress is the favoured machine?11:47
ogra_right, omap should also work i think11:47
nicofsI am having issues installing libscrollkeeper0 from karmic/lucid repos. all i get is 404... what can i do?11:48
Davieyogra_: Could i ask you to try, http://cloud-images.ubuntu.com/oneiric/20110821-armel/oneiric-server-cloudimg-armel.tar.gz (tarball contains a disk img and kernel))11:48
ogra_phew, sure, let me install the qemu stuff, i havent used that since a year or so11:49
ogra_hmm, though i have no oneiric x86 machine11:49
Davieyogra_: I can give you ssh access to a virtual machine if that helps?11:50
Davieybut no graphical interface if you want that11:50
ogra_nah, let me roll an oeniric chroot quickly11:50
Davieyogra_: expect beer.11:50
ogra_Daviey, oh, btw, http://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/20110822/ ac100 images ... (they dont work yet, but are close)12:01
Davieyogra_: Oh awesome!12:01
Davieyogra_: although, for bare metal arm - i care more about the images working through D-I. :/12:02
ogra_we dont use them yet untl we have real arm server HW ...12:03
Daviey.. unless someone writes a pxe enabled dd script :)12:03
ogra_thats trivial12:03
=== zyga is now known as zyga-siesta
ogra_Daviey, so how is your image expected to work ? for the beagle emulation you need a full disk image with boot partitions12:32
ogra_(containing x-loader and u-boot etc)12:33
Davieyogra_: We don't have much idea :)12:39
ogra_well, you should produce something similar to what we build on the imagebuilders12:39
ogra_a two partition image with the boot bits in the first (vfat) partition12:39
ogra_and then go from here https://wiki.linaro.org/Resources/HowTo/Qemu-beagleboard12:40
Davieyogra_: I'm loathed to try and replicate what your team is doing.12:40
ogra_well, probably vexpress can boot more similar to what versatile was12:41
ogra_that would make it easier12:41
Davieyogra_: Does it have isa-serial per chance? :)12:41
ogra_no idea12:41
ogra_i never used it :)12:41
Davieyyeah, libvirt seems to think everyone wants it :)12:42
ogra_that looks more backwards compatible to versatile than qemu12:42
ogra_and it seems to be able to emulate 1G12:42
ogra_heh, ..."If you want you can add "-smp 4" to make it boot as a 4-core SMP model."12:43
Davieyogra_: Who would be the best person for utlemming to work with to fix our build process?12:44
Davieyutlemming is our cloud image master. :)12:45
ogra_well, lets find a proper concept first :)12:45
Davieyogra_: Well use case is two fold:  1) Emulated ARM hardware using qemu-system-arm.. 2) Some manipulation to get it running on bare metal (probably pandaboard) via LXC.12:46
ogra_we dont seem to build vexpress netinst images anymore12:46
ogra_so there is no vmlinuz :(12:47
ogra_i wonder if linaro has something like that12:48
ogra_Daviey, so using vexpress it cant determine the filesystem of the img it seems13:09
ogra_what fs is it ?13:10
Daviey$ file oneiric-server-cloudimg-armel.img13:10
Davieyoneiric-server-cloudimg-armel.img: Linux rev 1.0 ext4 filesystem data, UUID=87915972-5866-47e0-af76-306c3a1143b4, volume name "cloudimg-rootfs" (extents) (large files) (huge files)13:10
ogra_it doesnt try ext4 at all13:10
Davieyah, ok - what should it be?13:11
ogra_it checks ext2/3 above the mount error13:11
ogra_[    1.231251] No filesystem could mount root, tried:  ext3 ext2 cramfs vfat btrfs13:11
DavieyOdd that it supports btrfs but not ext4 :/13:12
ogra_Daviey, so here is what i did ...13:12
ogra_pulling the latest vexpress hwpack from http://snapshots.linaro.org/oneiric/vexpress-oneiric/20110822/0/images/hwpack/13:12
ogra_(there is sadly no "current" link and the hwpacks have version numbers in their filename)13:13
ogra_unpack it, dpkg -x pkgs/linux-image-3.0.0-1001-linaro-vexpress_3.0.0-1001.1~ppa~natty_armel.deb .13:13
ogra_qemu-system-arm -kernel boot/vmlinuz-3.0.0-1001-linaro-vexpress -M vexpress-a9 -cpu cortex-a9 -m 1024 -append 'root=/dev/mmcblk0 rw mem=1024M raid=noautodetect console=ttyAMA0,38400n8 rootwait vmalloc=256MB devtmpfs.mount=0' -sd oneiric-server-cloudimg-armel.img -nographic13:14
ogra_root@osiris:/root/tmp# grep EXT4 boot/config-3.0.0-1001-linaro-vexpress13:17
ogra_# CONFIG_EXT4_FS is not set13:17
ogra_intresting, not even a module13:17
Davieyogra_: that is great!  What do we need to do, to get the hwpack into Oneiric?13:18
ogra_the vexpress package might be in the archive somewhere actually13:18
DavieyAh ok, does vexpress max out at 512MB of RAM like versatile?13:18
ogra_there you go http://ports.ubuntu.com/pool/main/l/linux-linaro-vexpress/13:19
ogra_it should apparently support 1G13:19
ogra_Daviey, if you download the kernel-image udeb (you can also extract that with dpkg -x), that only contains vmlinuz and System.map13:22
Davieyah, worth knowing13:23
Davieyogra_: So, is there a reason it shouldn't support ext4?  Ie, should i raise a bug - or is there a logical reason?13:24
ogra_are your instrances supposed to survive reboots ? or is it some throw away thing ?13:24
ogra_i dotn see a reason to not support ext413:25
ogra_if its throw-away i would actually go without journal, that speeds up I/O (and if you dont need reboot-recovery the journal is rather moot anyway)13:25
Davieyogra_: should be persistent across reboots13:31
ogra_ah, k, then better keep a journal ;)13:31
Davieyalthough perf is probably more importiant than reliability at this stage IMO :)13:32
ogra_well, talk to linaor if you need config chaneges in the kernel13:32
Davieylinaro being on a different release cycle to us kind of concerns me to rely upon their kernel TBH.13:33
ogra_the packages in the ubuntu archive fall under the ubuntu release schedule13:34
ogra_(not more QA than other universe packages indeed)13:34
ogra_but indeed you can use omap instead, but with less ram and more complex image creation13:35
ogra_(since the vm behaves exactly like a beagle you also need a matching image)13:36
DavieyYeah, i want to be able to allocate as much memory as possible.13:37
DavieyIeally up to 16GB :)13:37
ogra_so you should go into qemu hacking and invent a VM that can do that13:38
ogra_i think the vexpress is the biggest we have up to now13:38
ogra_also dont expect great performance of qemu in general13:39
nicofsI'm trying to do "sudo -s" in console, but all i get is "sudo: must be setuid root" - what can I do?14:40
nicofsThe system I use (Ubuntu inside maemo on N900) arrived with that glitch. I did nothing to provoke that, I can't reinstall to fix it.14:41
Davieyutlemming: Hello!15:52
utlemminghowdy Daviey15:52
Davieyutlemming: meet ogra_ and NCommander.. they are your new best friends, which we will have to buy lots of beer for at UDS>15:53
utlemminghello ogra_ and NCommander15:53
Davieyutlemming: So ogra_ managed to get your images working by doing, http://pb.daviey.com/nINF/15:55
Davieyext4 isn't supported by the kernel at this stage, which is why you've changed it to ext3.15:56
utlemmingI just pulled ext4 out of the recipe15:56
utlemmingand I was working on the in-image kernel15:56
utlemminglooking at your pastebin, do we not have a working Ubuntu-provided kernel?15:57
DavieyYou should be able to use, http://ports.ubuntu.com/pool/main/l/linux-linaro-vexpress/15:57
Davieyutlemming: I got a proof of concept with openstack starting the instance, but i lucked out with the options.. If you are able to ack that process works.. we should be able to land that soon.15:58
utlemmingyeah, the change shouldn't be too difficult. I should have confirmation shortly.15:59
utlemmingdo we not have a 3.0.0.x kernel for arm images in the ports pool?16:04
Davieyutlemming: apparently, https://launchpad.net/ubuntu/+source/linux/3.0.0-9.12/+build/273397116:06
utlemmingah...okay, so I was using the right kernel :)16:07
Davieypass. someone from the arm team is best placed to answer that.16:08
GrueMasterutlemming: We do for omap/omap4, not sure why there isn't one for vexpress.16:09
utlemmingI was building the cloud images with the omap kernel simply because it was the only one current for the 3.0.0.x kernel tree.16:10
GrueMasterMight be a question for ppisati.16:11
utlemmingppisati: can you chime in on the building of vexpress arm kernels?16:14
=== zyga-siesta is now known as zyga
NCommanderDaviey: why am I buying utlemming beer?16:24
DavieyNCommander: Awesome!  You can buy me one aswell.16:27
DavieyNCommander: I think you didn't parse it correctly, beer is being provided for you, not by you.16:27
NCommanderDaviey: er,I just asked why you are buying me beer16:27
NCommanderoh, awesome16:27
* NCommander got wired crashed and might be semi-sleep deprieved16:28
charlie-tcaCan I get one too?16:28
Davieycharlie-tca: no.16:29
charlie-tcaoh, well. Worth asking, anyway :)16:29
Davieycharlie-tca: heh, sure you can - utlemming is buying.16:30
* GrueMaster sighs. Everyone always ignores the QA guy when beer is involved.16:31
charlie-tca+1 GrueMaster16:33
rajendraHi, ogra_16:35
rajendrathis is regarding USB OTG16:35
rajendralast tuesday u had mentioned that u will update the status on USB OTG16:36
=== chuck_ is now known as zul
nicofsHow can I generate a new .Xauthority file?17:30
utlemminghas anyone had success with the vexpress kernel and networking?18:42
utlemmingI'm seeing "qemu: hardware error: lan9118: Unimplemented MAC register write: 9 = 0x8100"18:42
Davieyutlemming: lool experienced that a while ago19:56
utlemmingDaviey: thanks19:56
Davieyutlemming: we need to cherry pick, http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg02900.html19:57
DavieyOr with a better comment, http://git.linaro.org/gitweb?p=qemu/qemu-linaro.git;a=commitdiff;h=a0313c00fc19:58
* utlemming looks to test patch20:01
Davieyutlemming: If that resolves it, lets get a debdiff / branch together to upload.20:10
utlemmingDaviey: sure thing20:11
utlemmingDaviey: patch confirmed20:22
Davieyutlemming: rocking, show me the money^D debdiff20:27
utlemmingDaviey: http://uec-images.ubuntu.com/oneiric/20110822-armel.2 (new images)20:33
Davieyutlemming: ROCKING.. can you throw me the qemu-system-arm command line you tested it with?20:33
=== davidm` is now known as davidm
utlemmingDaviey: give me a minute...the image isn't pinging so I think my network setup needs some work20:37
Davieybah, who needs network access.20:38
loolutlemming: vexpress networking only half works sadly; I get some packet drops when doing a netinst  :-/20:43
loolutlemming: but I didn't get your failure20:43
ubot2Ubuntu bug 799757 in qemu-linaro "Network unstable with vexpress model" [Undecided,New]20:43
utlemminglool: well then, whats your qemu invocation?20:44
utlemmingI'm using: qemu-system-arm -kernel boot/vmlinuz-3.0.0-1001-linaro-vexpress -M vexpress-a9 -cpu cortex-a9 -m 1024 -append 'root=/dev/mmcblk0 rw mem=1024M raid=noautodetect console=ttyAMA0 ip= rootwait vmalloc=256MB devtmpfs.mount=0' -sd oneiric-server-cloudimg-armel.img -net nic,vlan=0 -net tap,vlan=0 --nographic20:44
loolutlemming: I'm not passing any -net, not sure what raid=noautodetect does and the one thing which is bad here is your -sd which should be -drive file=sd.img,if=sd,cache=writeback20:47
loolyou don't actually need -cpu20:47
loolI believe you want console=ttyAMA0,11520020:48
loolI don't know why you pass vmalloc=256MB devtmpfs.mount=0 either20:48
utlemmingboth those were feed to me by http://pb.daviey.com/nINF/20:49
utlemminglool: well, that worked better20:50
utlemmingDaviey: use qemu-system-arm -kernel boot/vmlinuz-3.0.0-1001-linaro-vexpress -M vexpress-a9 -cpu cortex-a9 -m 1024 -append 'root=/dev/mmcblk0 rw mem=1024M console=ttyAMA0,115200 rootwait ' -drive file=oneiric-server-cloudimg-armel.img,if=sd,cache=writeback --nographic20:52
Davieyutlemming: is this on oneiric?20:52
utlemmingI'm using natty. Firing up oneiric now20:52
loolutlemming: --nographic should be -nographic20:53
utlemmingyup, it should. But qemu didn't spawn an SDL window20:53
Davieyutlemming: Argh!  That explains why it's not fixed for you :)20:55
Daviey.. and why i started ranting :(20:55
utlemmingMy pleasure to increase your stress level a bit20:55
Davieyutlemming: I live for stress, yeah baby!20:59
utlemmingAsside from being _dog_ slow, I can confirm the image boots20:59
loolutlemming: drop -nographic if you want the SDL window21:00
utlemminglool: is SDL faster?21:00
loolbut it gives more features21:00
loolyou can switch between qemu console, serial console and fb21:00
loolI usually disable graphics and use -serial stdio to get the output of ttyAMA0 on my terminal21:01
utlemminglool: do you have any suggestion for making it run any faster?21:02
loolutlemming: only use one CPU, not SMP (1 x cortex-a9 is fine); disable safe writes (-drive above); put the -sd in tmpfs; run on a fast intel box  :-)21:03
loolutlemming: it will be slow though21:03
loolutlemming: some useful things can be run under qemu-arm-static instead; you will be using your intel kernel and hosts' files21:04
looldepends what you're doing, and some things also fail utterly in that mode21:04
utlemmingthe images are being installed under qemu-system-arm -- it takes about an hour to generate the images, but works well for debootstrap21:05
=== zyga is now known as zyga-w510
=== Jack87|Away is now known as Jack87
=== NekoXP is now known as Neko
michaelh1Anyone about?  I'm seeing a 20 % drop in performance after updating my PandaBoard kernel to 3.0.  Looking for some kernel hackers...23:20
GrueMastermichaelh1: Describe your test method.23:21
michaelh1GrueMaster: CoreMark, which is a CPU bound benchmark.  First noticed on my own NEON benchmark which shows the same results.23:22
michaelh1GrueMaster: NFS root.  Build CoreMark.  Boot into a random 2.6.35.  Run CoreMark.  Boot into linux-linaro 3.0.  Run same binary.  Compare.23:23
michaelh1GrueMaster: The bogomips in /proc/cpuinfo is also at ~80 %23:23
michaelh1LP: #83168323:24
GrueMastermichaelh1: I'd have to check, but I believe there was an issue with the cpu speed above 900mhz in the kernel (may have been beagleXM).23:24
GrueMasterlp 83168323:24
ubot2Launchpad bug 831683 in linux-linaro "Performance regression between 2.6.35 and 3.0" [Undecided,New] https://launchpad.net/bugs/83168323:24
GrueMasterthanks, ubot2.23:25
michaelh1Ah, that's the incantation!23:26
michaelh1GrueMaster: the board is stable with a .35 kernel (it's used in a build farm and works quite hard)23:26
GrueMasterIt is highly possible that this may be related to bug 70924523:28
ubot2Launchpad bug 709245 in linux-ti-omap4 "ARM SMP scheduler performance bug" [High,Confirmed] https://launchpad.net/bugs/70924523:28
GrueMasterTry running with nosmp on the kernel cmdline and see if that helps performance.  Or, try ping -f to the machine while it is busy.23:29
michaelh1GrueMaster: will do23:32
michaelh1GrueMaster: note that the machine is idle and this is a single threaded benchmark23:33
GrueMasterWell, the benchmarks we ran earlier were mainly hdparm and discovered a 10x boost with nosmp.23:34
michaelh1GrueMaster: nope, nosmp has no effect.  Noted on the bug.23:38
GrueMasterOk.  Worth a shot though.23:39
michaelh1GrueMaster: is there a debug flag I can set to show the clocks/frequencies that have been set?23:40
GrueMasterIt should be in the dmesg output or /var/log/syslog.23:41
michaelh1GrueMaster: no, nothing.  We'll see what people think of the bug...23:45

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