/srv/irclogs.ubuntu.com/2010/12/21/#ubuntu-arm.txt

rsalvetiguerby: no new ideas for now :-(01:46
rsalveticooloney: maybe you can help us with this issue01:46
rsalvetiguerby: is building gcc at his pandaboard01:47
cooloneyrsalveti: oh, i missed your conversation here01:47
cooloneyrsalveti: need i to help to building gcc?01:47
rsalvetiand after a while the board just hang, without giving any extra message at the serial console01:47
rsalvetinothing01:47
rsalvetithe heartbeat led stops working01:47
rsalvetiso the kernel is dead01:47
rsalvetibut no trace at the console01:47
rsalveticooloney: now how can we debug this kind of issue?01:48
rsalvetimaybe some more debugging around the kernel01:49
cooloneyrsalveti: hmm, still have no clue. need a smalll testcase instead of building a whole kernel package01:49
cooloneyrsalveti: highmem might not be a issue. I've tested the linaro kernel which disabled highmem01:50
cooloneyrsalveti: and we still got that issue01:50
rsalveticooloney: but this is not the one we're used to see01:50
rsalvetiin this case the kernel is basically dead, without giving any other message at the console01:50
rsalveticooloney: see bug 69037001:51
ubot2Launchpad bug 690370 in linux-ti-omap4 (Ubuntu) "Strange out of memory on pandaboard (affects: 1) (heat: 10)" [Undecided,New] https://launchpad.net/bugs/69037001:51
cooloneyrsalveti: oh, my bad, i assume is the old issue01:52
cooloneyrsalveti: thx, man, i will take a look01:52
rsalvetiguerby: can you post tomorrow the instructions needed to run the build at the bug? then cooloney can help reproducing this issue with his board01:53
rsalveticooloney: first issue is the page allocation failure when stressing the memory01:54
rsalvetithis is probably caused by the usb driver01:54
rsalvetiI believe it's requesting more memory that it should to work normally01:54
rsalvetithen the other issue while building gcc is this weird hang01:54
rsalvetino message, no blinking led, nothing01:54
rsalvetiguerby: there's also a new kernel if you want to try, that's the one currently used at natty01:55
rsalvetisame tree but with some new features01:55
cooloneyrsalveti: thx. i was told before building perl is also hang on panda01:59
rsalveticooloney: weird, never saw this with my panda02:00
rsalvetiwe could try natty's kernel and the one based at 3702:00
* rsalveti brb02:01
TheUnirsalveti: ping02:58
hrwhi08:32
AceLanyo08:43
guerbyrsalveti, ok will post the script I'm using, I will first try to reduce the needed dependencies09:12
guerbyrsalveti, cooloney what are the instructions to install the new kernel?09:12
cooloneyguerby: i normally, built the kernel package and dpkg -x linux-image.deb to get vmlinuz09:13
guerbycooloney, do you have the .deb somewhere on the web?09:14
cooloneyand use mkimage to generate uImage, then copy it over to the SD card boot partition09:14
cooloneyguerby: oh, 1 second09:14
cooloneyguerby: https://edge.launchpad.net/ubuntu/+archive/primary/+files/linux-image-2.6.35-1101-omap4_2.6.35-1101.3_armel.deb09:16
cooloneyguerby: https://edge.launchpad.net/ubuntu/+source/linux-ti-omap409:16
cooloneythis is the home page of the omap4 kernel in Ubuntu09:17
guerbycooloney, thx downloading. dpkg -x...09:18
cooloneyguerby: great, man09:18
cooloneyguerby: i am trying to disable the USBLAN driver in the kernel, since i saw too many allocation issue in you reports09:19
cooloneyguerby: and building kernel package in SD card directly not NFS09:19
guerbycooloney, I have my data over NFS09:19
cooloneyguerby: yeah, I know that09:20
guerbycp vmlinuz-2.6.35-1101-omap4 /boot09:22
guerbyln -s vmlinuz-2.6.35-1101-omap4 vmlinuz09:23
guerbycooloney, no man for mkimage, what should I launch?09:23
cooloneyguerby: oh, that doesn't work, need to use mkimage09:24
cooloneyguerby: are you using ubuntu on host?09:24
guerbycooloney, yes I'm running all on the pandaboard09:24
guerbyso running ubuntu09:24
cooloneyjust apt-get install uboot-mkimage09:25
cooloneyit will give you mkimage09:25
cooloneyguerby: try it and let me know the result. i have to be away for a while09:25
guerbyapt-get update09:25
guerbycooloney, ok09:25
guerbymkimage without arg?09:26
guerbycannot find anything through google on how to run mkimage09:30
guerbyI'm just relaunching my builds09:30
sebjanguerby: mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Ubuntu Kernel" -d <file> uImage09:36
sebjanwith <file> beeing your vmlinuz09:36
guerbysebjan, thx, I've now a uImage file. Wonder what the next step is :)09:38
sebjanguerby: :) this one goes on your boot partition and will be loaded by u-boot on next reboot09:39
guerbyplenty of files still pointing to the old version in /boot (I just changed the vmlinuz symlink)09:39
guerbysebjan, mount /dev/mmcblk0p1 /tmp/mnt09:40
sebjanguerby: well, if you want ot make things the 'clean' way, you have to install a new kernel package, which will install the kernel modules, generate and install the new uImage to the boot partition09:40
sebjanguerby: to be quicker, you can grab the vmlinuz -> ui09:40
guerbysebjan, cooloney pointed me to https://edge.launchpad.net/ubuntu/+archive/primary/+files/linux-image-2.6.35-1101-omap4_2.6.35-1101.3_armel.deb09:40
guerbysebjan, then asked me to dpkg -x etc...09:40
guerbysebjan, should I just dpkg -i ?09:41
sebjanguerby: right: generating the uImage and coying it to the boot partition09:41
sebjanguerby: hum, if you wan to be able to use the kernel modules, yes, you would have to dpkg -i09:41
guerbysebjan, so all the dpkg -x and mkimage is not needed?09:42
guerby(and manual symlink)09:42
sebjanguerby: right. dpkg -i shall do it all09:43
sebjanthe dpkg -x avoids you to install a new kernel package. So it is a good option for a single test and avoid to 'polute' your file-system with a new kernel package09:43
sebjanguerby: since you already have you uImage file, you can just give it a try09:44
guerbysebjan, what about old initrd & all in /boot ?09:44
guerbyI don't have a new uInitrd either for the boot partition09:44
sebjanguerby: this should not hurt too much (unless you have an encrypted root-fs?). You shall be able to boot, but you will be missing the kernel modules anyway.09:46
sebjanguerby: and yes, to mount the boot partition: mount /dev/mmcblk0p1 /tmp/mnt09:47
guerbysebjan, no kernel module means that I won't be able to do anything right?10:03
guerbyno NFS, no openvpn etc...10:03
sebjanguerby: it will depend if your use-case needs additional kernel modules... For example, you will have ethernet support, so NFS mount may be working.10:06
sebjanguerby: do you have an easy access to your board, and a way to update the SD card content easily (using your host PC for example?)10:07
guerbysebjan, yes I can put the SD on my PC if needed10:07
sebjanguerby: if yes, then it's worth gibing a try. If it fails you'll be able to recover easily by just recopying the original uImage instead of your test one10:07
sebjan(just keep a copy of your current uImage)10:08
guerbysebjan, I think I'll just wait for a new image in apt-get upgrade10:08
sebjanguerby: that's another (easier) option :)10:09
guerbysebjan, lots of commands to run means lots of potential mistakes and lots of time to recover10:09
sebjanguerby: sorry I missed the beginning of the thread. why do you want to upgrade your kernel?10:09
sebjanguerby: (right :))10:09
guerbysebjan, because the current kernel crashes (board freezed, no LED, no ping) without message anywhere including serial10:10
guerbysebjan, when I'm just compiling GCC on a NFS mount10:10
guerbysebjan, https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/69037010:11
ubot2Launchpad bug 690370 in linux-ti-omap4 (Ubuntu) "Strange out of memory on pandaboard (affects: 1) (heat: 10)" [Undecided,New]10:11
sebjanguerby: ok, and you wanted to try alternative kernels (like the Natty one), right?10:11
guerbysebjan, I also have plenty of messages in /var/log/messages when swap is activated. When swap is inactive user level process get failing malloc10:11
guerbysebjan, yes anything :)10:11
guerby(failing malloc while there are many 100MB free/cached)10:17
hrwcan someone take a look at bug 688010?11:54
ubot2Launchpad bug 688010 in ubuntu-netbook-default-settings (Ubuntu) "Missing dependency on gconf2 (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/68801011:54
rsalvetimorning12:05
rsalvetiguerby: you can wait and try natty's image12:06
rsalvetiwe just need to get the u-boot changes fixed then our daily images will be generated again12:07
guerbyrsalveti, ok will wait :) I'm currently testing bootstrap with C only to reduce the requirements12:07
rsalvetiok :-)12:07
=== apachelogger_ is now known as apachelogger
=== plars_ is now known as plars
armin76guerby: i see you're having fun :)14:59
guerbyarmin76, yeah I'm always lucky with new hw14:59
guerbyarmin76, I guess I should do web browsing instead of compiling stuff ... :)14:59
guerbyarmin76, kernel diagnostic seems to be still in jurassik state ...15:00
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
=== txwikinger2 is now known as txwikinger
efactusaHey everyone I just want to thank you all for the wonderful OS on behalf of me and the people of france and the crew at http://www.myefact.com we wouldnt have been able to do half of what we do if it wasn't for Ubuntu so THANKS UBUNTU DEVS!!19:43
rlameirohi everyone...20:59
rlameirocoming back... where are the latest builds for the igep OMAP / A821:00

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