pbuckley | for compiling on panda, mount /tmp as tmpfs definitely seems like a win | 00:11 |
---|---|---|
pbuckley | (vs having it write out to an sd card as in my setup) | 00:12 |
GrueMaster | yes, that also helps. :P | 00:19 |
GrueMaster | Although a USB drive is still better overall. | 00:19 |
pbuckley | yeh.. ill bring one in tomorrow | 00:20 |
pbuckley | was hoping to be able to survive off just the sd | 00:20 |
pbuckley | but thats not really being realistic at this point | 00:20 |
pbuckley | might try the iscsi thing tonight | 00:20 |
GrueMaster | Personally, I think the SD is good for running shiny demos. Not really fast enough for serious development work. | 00:20 |
GrueMaster | NFS-Root also works w/o the iSCSI overhead. | 00:21 |
pbuckley | aye.. i think my experience agrees with your statement | 00:21 |
pbuckley | k.. ill try that first | 00:21 |
pbuckley | thank you :) | 00:21 |
=== Lopi__ is now known as Lopi | ||
=== jkridner_ is now known as jkridner | ||
Person987 | Does anyone know if it could be harmful to plug a monitor into an already running pandaboard? | 04:25 |
twb | I have no idea, but I would hope not! | 04:28 |
Person987 | I'm embedding one in a robot and I'd like to be able to just hook up a monitor if I need to without turning it off. Normally it won't have a monitor on it. | 04:30 |
dioxin | GrueMaster: you there? I'm getting an error with my local repo, apt-get appears to be looking in the wrong place :( | 10:01 |
dioxin | deb http://192.168.1.205/ubuntu-ports/ oneiric main restricted universe multiverse is whats in my sources.list | 10:01 |
=== chuck_ is now known as zul | ||
=== rbelem_ is now known as rbelem | ||
=== Pratik is now known as Pratik_away | ||
=== dduffey_afk is now known as dduffey | ||
=== KRF_ is now known as KRF | ||
=== shadeslayer_ is now known as shadeslayer | ||
=== Ursinha is now known as Ursinha-lunch | ||
GrueMaster | dioxin: Here now. You can start checking your server configuration by using a browser from another system to see if that address shows up. If you don't see anything at http://192.168.1.205/ubuntu-ports/ something is wrong with your server config. | 15:35 |
Snark | could people check if they are hit by https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/926855 too ? | 15:41 |
ubot2 | Launchpad bug 926855 in gcc-4.6 "[ARMhf] gcc produces assembler it can't compile" [Undecided,New] | 15:41 |
GrueMaster | Snark: It compiles fine here with "-marm", which I believe is default on all of our projects. janimo, is that correct? | 15:46 |
Snark | GrueMaster, yes, that is in a comment | 15:46 |
Snark | the problem is that it doesn't compile without, while it did before | 15:46 |
GrueMaster | Yes, I know. I read the bug. I think -marm is a required setting (which is why I asked janimo for confirmation). | 15:47 |
Snark | GrueMaster, uh... if it were required, why isn't it on by default? | 15:56 |
GrueMaster | Snark: I don't know the specifics, just repeating from memory. Mainly I run the tests, thats why I pinged another member of our team for more detail. | 15:57 |
Snark | the same source code was building on oneiric, and stops building on precise, that is why I think it's a bug on the compiler side... | 15:58 |
GrueMaster | Snark: It could easily be an armhf specific issue too. Can you try in precise armel? (if not, I can in a little bit). | 15:59 |
Snark | GrueMaster, I don't have a precise armel install | 16:02 |
GrueMaster | Ok. I can reimage a spare panda here. | 16:03 |
* Snark doesn't have spares | 16:05 | |
Snark | I make experiments with the same device I use for my work... | 16:05 |
dioxin | GrueMaster: the website shows up, but it only has ls-lR.gz and pool/ | 16:37 |
GrueMaster | Then something happened and it isn't getting dists/ | 16:37 |
GrueMaster | Check your ubumirror.conf | 16:38 |
dioxin | which one? | 16:38 |
dioxin | GrueMaster: my ubumirror.conf file in /etc/ubumirror.conf is a carbon copy of yours | 16:41 |
GrueMaster | Check your latest /var/log/ubumirror/ubuports.log* to see if it indicates any issues. The app is supposed to pull updates from ./pool and then everything but ./pool. | 16:42 |
GrueMaster | You should see this: | 16:43 |
GrueMaster | tobin@mirror:/server/data/www$ ls ubuntu-ports | 16:43 |
GrueMaster | dists indices ls-lR.gz pool project | 16:43 |
=== Ursinha-lunch is now known as Ursinha | ||
GrueMaster | Which version of ubumirror are you running? dpkg-query -l ubumirror | 16:46 |
dioxin | [receiver] io timeout after 601 seconds -- exiting | 16:47 |
dioxin | 0.3ubuntu3 | 16:47 |
dioxin | for version of ubumirror | 16:47 |
GrueMaster | let me check mine and make sure I didn't modify it locally. | 16:48 |
GrueMaster | The only script I have changed was ubucdimage (has nothing to do with your issue). | 16:57 |
GrueMaster | And 0.3ubuntu3 has been the latest since 10.04. | 16:57 |
dioxin | running the following command as root atm /usr/bin/ubuports >> /var/log/ubumirror/cron.log | 16:58 |
dioxin | and I've got the ubuport.log tail-f 'ed | 16:58 |
dioxin | currently at pool/universe/t | 16:58 |
GrueMaster | After it finishes with pool/*, it should show: Ubuntu ports pool sync completed. | 16:59 |
GrueMaster | Followed by: Initiating Ubuntu ports dists and indices sync... | 17:00 |
GrueMaster | Snark: I updated the bug report with my test results. | 17:07 |
GrueMaster | Can you ping someone in #linaro and see what they think? They do a lot of the arm optimization to gcc. | 17:09 |
Snark | GrueMaster, I see | 17:28 |
=== jkridner__ is now known as jkridner | ||
=== Pratik_away is now known as Pratik | ||
Snark | GrueMaster, I was pointed to Michael Hope, which wasn't available, so I sent him a mail | 18:09 |
GrueMaster | ok. | 18:09 |
GrueMaster | Sorry about the run around. I'm just trying to get you hooked up with someone that would know more about this that I do. | 18:10 |
Snark | I'm used to getting run around with a cannon... you're a soft one! | 18:13 |
janimo | GrueMaster, -mthumb is our default, -marm only for a few cases where package got miscompiled | 18:18 |
GrueMaster | Ah, there you are. What would you suggest in this case where it builds on oneiric but not precise w/o -marm? (I haven't tested with -mthumb) | 18:19 |
janimo | Snark, IIRC I saw similar errors where huge assembly code was generated by -funroll-loops, so that in thumb mode it could not be directly jumped too. I only vaguely remember though | 18:20 |
janimo | GrueMaster, it probably is a gcc issue | 18:20 |
janimo | good that Linaro GCC is a bugtask on this | 18:20 |
GrueMaster | Yea, failed with -mthumb, | 18:20 |
janimo | Snark, as a work-around if you need the package on precise ASAP build with either -marm or try without funroll-loops | 18:21 |
janimo | otherwise we may need to wait for a gcc fix | 18:21 |
janimo | Snark, or try forcing a build with gcc-4.5 which was the default in oneiric to see it is indeed a regression | 18:21 |
janimo | but in either case these are workarounds and a proper fix in gcc is needed I'd say | 18:22 |
Snark | yes | 18:23 |
dioxin | GrueMaster: the repo appears to be working now, no idea what was wrong with it :( | 18:34 |
GrueMaster | I'm not sure why, but I had to run ubuports 3 times before I had a working mirror. Glad to hear you are up and running. I still recommend a 2 hour update period. | 18:35 |
GrueMaster | Especially during times were we rebuild the entire pool (which I think is currently happening). | 18:36 |
diff_kb | holla | 20:18 |
jom | Hi everybody! owner of a Pandaboard Rev.A4 I get stuck with a ubuntu11.10. Monitor, mouse & kbd are connected and detected but it seems that a problem while resising and mounting the filesystem append I can logging in in manual but what I am suppose to do to fix it? Does the activation of the console help finding a way through this issue? thanks! | 20:23 |
GrueMaster | jom: Which image are you using? | 20:24 |
kurtank | Hello | 20:26 |
jom | this one : ubuntu-11.10-preinstalled-desktop-armel+omap4.img | 20:27 |
GrueMaster | jom: Did you check the md5sum of the image? What is the error you are seeing? | 20:28 |
kurtank | Im a bit new to linux, and need a little help. Im using Ubuntu 10.10 running via a 4GB image in chroot next to android on a samsung Galaxy SII. | 20:28 |
kurtank | I was wondering if there was any place i could get ARM-specific applications. Most of the app center doesnt work. | 20:29 |
GrueMaster | kurtank: You should be able to apt-get install any application in the ubuntu pool. I would recommend upgrading to at least 11.10, although you will see a marked performance increase if you were to start with 12.04 armhf. | 20:31 |
GrueMaster | You can download a pre-built core chroot environment from http://cdimage.ubuntu.com/ubuntu-core. | 20:31 |
kurtank | About upgrading: many users report that 11.10 runs slowly and breaks the image. | 20:31 |
kurtank | I think its also worth mentioning that the only way to interact with ubuntu with this method is through VNC. | 20:32 |
GrueMaster | Well, I am not very familiar with your usage model unfortunately. | 20:33 |
kurtank | Im not surprised. | 20:33 |
GrueMaster | Ah, similar to the "nookbuntu" image. | 20:33 |
kurtank | Its more of a hack than anythint. | 20:33 |
jom | The MD5 was correct. The error is "Errors were found while checking the disk drive for/." I zeroed the card with 'dd' ans unfortunatly it doesn't work better at this point | 20:35 |
GrueMaster | What is the card brand/size/class? You may have a bad card. | 20:36 |
jom | Yes you right I think it could have been that but I previously run an Angstrom distro on it and everything was Ok. The card is a microSD SANDISK/4GB/4 | 20:38 |
GrueMaster | Angstrom doesn't do much except basic diag. It doesn't resize the image, and isn't as complete. | 20:39 |
kurtank | http://forum.xda-developers.com/showthread.php?t=1223128 This is the method and the image i used. Oddly, xchat irc downloaded ans installes fine. | 20:39 |
kurtank | *and installed | 20:39 |
kurtank | Someone also said it would be possible to get sound output, and USB host functions apparantly work. Autodetect will never work though and requires manual detection. Ive been using linux for about only a week and i have no idea how to do that. | 20:42 |
jom | I agree with you GrueMaster about angstrom distro. I don't want to start here a Troll but Angstrom it really nice when you need just a console coz it has a very low memory sized and very efficient. A tool for every needs ;o) | 20:42 |
jom | Could you explain why the image is then resized I don't get the point on that | 20:43 |
GrueMaster | Oh, don't get me wrong, it is an excellent diagnostic image. | 20:43 |
GrueMaster | The image is pregenerated on our servers. We needed a way to get the image on a variety of SD cards w/o knowing the size of the card in advance. This setup will boot the kernel and initrd, and a script in the initrd will repartition the rootfs and resize it to fill your SD (4G-32G tested). | 20:45 |
GrueMaster | Easier than having one image for each size SD on the market. | 20:45 |
dioxin_ | GrueMaster, do you know of any images for a beaglebone? | 20:46 |
=== Pratik is now known as Pratik_away | ||
GrueMaster | dioxin_: I don't have a beaglebone, but I have been told that the omap images should work. | 20:47 |
GrueMaster | I think that system is designed for headless, so I would recommend either the preinstalled-server or netboot (exercise your mirror a little). | 20:47 |
dioxin_ | I havent managed to get any display out of the serial port tho :( | 20:48 |
GrueMaster | Not even with their stock angstrom image? | 20:48 |
dioxin_ | yes with the stock, but not with the ubuntu 11.10 server omap3 | 20:49 |
GrueMaster | dioxin_: Try one of the images at http://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled for omap (not omap4). | 20:52 |
GrueMaster | Odd that you don't see anything, not even u-boot. | 20:52 |
dioxin_ | http://elinux.org/BeagleBoardUbuntu#Demo_Image trying this atm, but I'll let you know about the link you gave | 20:52 |
GrueMaster | Unfortunately, I don't have one (and no budget for one atm). | 20:52 |
dioxin_ | I'll keep you posted :D | 20:53 |
GrueMaster | Note that I won't be able to help at all on images we don't produce on cdimage.ubuntu.com. | 20:55 |
jom | But when I enter the Manual recovery I can see that the '/' directory is mounted on the SD card and a 'mount' cmd shows all the necessary diretories any idea? | 20:55 |
dioxin_ | i know :) | 20:55 |
GrueMaster | Looking over that link briefly, it looks like beaglebone support was added in linux 3.2 (which our precise images will have). Can't say about u-boot though. | 20:56 |
jom | when we are on the manual recovery mode what can we do to make the system finish is resizing properly? | 21:01 |
=== jkridner___ is now known as jkridner | ||
GrueMaster | jom, I would try reflashing and start over. | 21:19 |
GrueMaster | The whole process shouldn't take more than 10 minutes on a 4G card. | 21:19 |
jom | Hum I did it already 2 times and I always step down on the same issue. I will try to find another 4GB card. | 21:21 |
GrueMaster | What method are you using to flash the image to SD. Keep in mind the image is gzipped to begin with. | 21:23 |
GrueMaster | I have a script that essentially runs "gunzip < precise-preinstalled-desktop-armhf+omap4.img.gz |sudo dd of=/dev/sdf bs=4M". The 4M helps with the speed of writing to a flash device (and reduces the issues you seem to be seeing). | 21:25 |
jom | I 1st unzip it and I transfert it to the SD device not mounted using 'dd' | 21:26 |
jom | it's exactly what I do | 21:26 |
GrueMaster | ok. | 21:26 |
GrueMaster | I have been testing these images on a variety of SD cards from 4G to 16G, class 4, 6, and 10. That's why I ask. | 21:27 |
jom | I try to do it once again else I will have to buy another card tomorrow. Do you use uSD HC card? And does it work the same? | 21:44 |
GrueMaster | I have a few uSD cards, yes. I use them mainly for beagleXM and Freescale Quickstart testing, but the image is identical (except for kernels). | 21:48 |
dioxin | GrueMaster: I finally managed to boot into ubuntu on the beagleBone, but I used the elinux link | 21:52 |
dioxin | I think the problem lies in the tty output | 21:52 |
GrueMaster | What does dmesg show for UARTS? | 21:53 |
dioxin | I dont think it supports UARTS, I'm using a mini-usb cable for the console access | 21:53 |
GrueMaster | The serial console "should" be /dev/ttyO2 on almost all omap hw. | 21:53 |
GrueMaster | Oh, interesting. | 21:54 |
GrueMaster | What is /proc/cmdline say for console? | 21:54 |
dioxin | ttyO0 I think | 21:59 |
GrueMaster | Ah, then you should be able to modify the boot.scr on the normal ubuntu image to point to that instead of ttyO2. | 21:59 |
GrueMaster | You will need to strip the first 72 bytes from boot.scr, then edit the bootargs and rerun mkimage to regenerate boot.scr. You can't just edit the file. | 22:00 |
dioxin | GrueMaster: do you have a guide for that process? | 22:25 |
GrueMaster | Not exactly. Here are the steps (assuming the boot partition is mounted on /mnt): | 22:27 |
GrueMaster | dd bs=72 skip=1 if=/mnt/boot.scr of=boot.script | 22:27 |
TheMuso | dioxin: dd should be able to strip it for you. | 22:27 |
GrueMaster | edit boot.script | 22:27 |
GrueMaster | sudo mkimage -A arm -O linux -T script -C none -d boot.script /mnt/boot.scr | 22:28 |
GrueMaster | (I leave the "edit boot.script" part for you to figure out). | 22:28 |
jom | about Ubuntu 11.10 it felt on the same issue! | 22:31 |
dioxin | ok, my first attempts at editing the boot.script failed... so I'm going to cheat :D | 22:42 |
dioxin | hmm... the elinux imaging process doesnt have a boot.script | 22:47 |
jom | :o)) get it works! my SANDISK SD card is on a very bad shape the TDK one make it works! So that was just a hardware problem [SOLVED] | 23:40 |
GrueMaster | Excellent! | 23:40 |
jom | Bye & thanks to you GrueMaster for your help! | 23:40 |
TheMuso | ogra_: In your request for the tegra ALC patches for alsa-lib, you mentioned related patches. What do you mean by this exactly? There is the patch you linked to, but I don't see any others in that thread... | 23:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!