/srv/irclogs.ubuntu.com/2010/07/19/#ubuntu-arm.txt

cwillurcn-ee, null pointer patch -> http://marc.info/?l=linux-netdev&m=127490516731906&w=200:00
cwillugoing to try to run with that, and check if the memory leak was fixed elsewhere in 2.6.3500:00
cwillurcn-ee, okay, that patch fixes the null pointer at least, just got it booting02:38
cwillucurrently 36 objects in slab size-204802:39
cwillu... and no increases yet02:39
cwilluI'll ping back in an hour02:39
cwillurcn-ee, note that this is _with_ the micrel patches, plus an additional one which I'll email you02:41
cwillu(er, it's actually the one from the link, so I'll only email you if you want a known-to-be-working copy of it :p)02:42
rcn-eecool cwillu, was playing with the patch.. http://marc.info/?l=linux-netdev&m=127490516731906&w=2 needed for 2.6.34 and 2.6.35 ? ;)02:57
cwillurcn-ee, haven't tested it under 2.6.3402:58
cwillurcn-ee, I'm suspicious that the null-pointer was a resulting from freeing the memory (i.e., what wasn't happening in .34 and earlier)02:59
cwilluyou're referring to the 2 -> 4 line?02:59
rcn-eeokay, will queue up for 2.6.35 and get a build out, will test 2.6.34 tomorrow too just for kicks..02:59
cwilluk02:59
cwillure, leak test, it's still holding at 36 objects03:00
cwilluI've seen it go up to 100 or so, but it came back down03:00
cwilluso, it seems to be working properly03:00
rcn-eeyeah, it's more stablized then the previous version which shot up too fast..03:00
cwillugoing for a walk for an hour03:04
cwilluI might dance a little while I'm walking :p03:04
cwillu(road trip to replace / upgrade a bunch of hardware with bb + zippy's, and that wasn't going to work out to well if the max uptime of a zippy is a day :p)03:05
rcn-eeyou should... too much stress from the ks8851 driver for you this weekend..03:05
cwillunow I can actually write features to pack in before I leave wednesday :) :D \o/03:05
rcn-eeyeah that would have sucked big time, nothing like hardware that refuses to stay up..03:05
cwilluyep03:07
cwilluI knew I had this problem, but I thought I remembered that 2.6.33 didn't have it03:07
cwilluas it turns out, I just never used the ethernet under 2.6.33 :)03:07
cwilluI mean, I had a couple crappy workarounds, but I didn't want to have to explain their need to my boss :p03:08
cwilluhardware that stays up is better03:08
rcn-eeyeap... :) (crap replaced device 1 with 2, migrate to 2, shutdown 1, device 1 no longer repsonding..)03:09
rcn-ee(device 2 no longer responding)03:09
cwilluwe get enough lightning strikes that I already have enough issues :p03:09
cwilluhad a customer call me up saying my system was rebooting every few seconds03:10
cwilluhe didn't feel the need to mention that his desktop was also doing the same03:10
rcn-eeyeah, you need good ups in the summer.. (or two or three in line..)03:10
cwilluin this case, if the power is out, they're not doing anything anyway03:13
cwilluand I've gone through the sd testing routine and so forth03:13
cwilluI'm actually considering reimplementing reboot as "sync; dontechodangerous b > /proc/sys-rq-trigger"03:13
cwillunice and quick :)03:13
=== JaMa|Zz is now known as JaMa
=== lag is now known as Guest73840
=== ericm|ubuntu is now known as ericm|prague
=== XorA|gone is now known as XorA
=== hrw|gone is now known as hrw
hrwmornig10:07
* cwillu_at_work dances with hrw 10:36
hrwque?10:38
cwillu_at_workmy beagles are no longer leaking memory like little 2kb sieves10:38
=== lag is now known as Guest96617
furibondoxhi to everybody...13:26
furibondoxI've the same problem... segmentation fault on line 282 in rootstock13:26
furibondoxnow I'm using a physical ubuntu Lucid installation13:27
furibondoxany idea?13:27
furibondoxhttp://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg2382346.html13:30
rsalvetifuribondox: known issue13:30
rsalvetifuribondox: what rootstock version are you using?13:31
rsalvetibug 60487213:31
ubot2Launchpad bug 604872 in qemu-kvm (Ubuntu) (and 1 other project) "qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm (affects: 1) (heat: 8)" [Medium,Triaged] https://launchpad.net/bugs/60487213:31
rsalvetidepends on what you're installing13:31
rsalvetisometimes it just get stuck and sometimes you'll get the segfault13:31
furibondoxrsalveti: the latest from ubuntu repository13:31
rsalvetifuribondox: you can try upstream version, I'm still fixing other bugs before releasing a new version13:32
furibondoxfrom svn?13:32
rsalvetibut you're still going to have the seg fault, the only difference is that it's going to try qemu more than once13:32
rsalvetifuribondox: bzr13:32
furibondoxok13:32
furibondoxI will try13:32
rsalvetibzr branch lp:project-rootstock13:33
furibondoxI'm installing bzr13:34
cwillu_at_workrootstock reworked to use a chroot works great :)13:34
furibondoxcwillu_at_work: using chroot instead of qemu????13:35
cwillu_at_workfuribondox, chroot with qemu-static13:35
rsalvetichroot with qemu13:35
furibondoxah ok13:35
cwillu_at_workit actually works spectacularly well :p13:35
rsalvetifuribondox: the problem is that the additional packages are installed with apt-get13:36
cwillu_at_workas you can make use of as many cores as you have available, etc13:36
rsalvetiwith a full vm13:36
cwillu_at_workrsalveti, I reworked it to not use the vm at all beyond the chroot itself13:36
rsalvetiso, if you're still getting lots of segfault, try installing ubuntu-minimal and then installs the rest at your board13:36
rsalveticwillu: yeah, with root this is the best way13:37
rsalvetistill need to take a better look at that13:37
rsalveticwillu_at_work: gota a patch?13:37
cwillu_at_worknot really;  I've really had my way with the script13:37
cwillu_at_workactually, I guess alot of it would be patchable13:37
furibondoxrsalveti: if I try to install ubuntu-minimal and then I create a script to install all the other packages I need and I call it with --script it should work?13:37
rsalvetiyeah, don't worry, will take a better look at it later13:38
cwillu_at_workit's pretty straightforward though13:38
rsalvetiyep13:38
rcn-eeit'll need some tweaks after the rootless changes.. ;)13:38
rsalvetircn-ee: yep, but still somehow an easy change13:38
rsalvetifuribondox: nops, because the script runs inside the vm13:39
rsalvetiwhat you can do is to mount the filesystem, copy qemu static on it and chroot13:39
rsalvetithen you are free to work on whatever you want13:39
furibondoxok13:39
rsalvetihttps://wiki.ubuntu.com/ARM/RootfsFromScratch13:39
rsalvetifuribondox: see sing qemu user mode emulation (with chroot)13:40
rsalveti*using13:40
furibondoxOK, however now I try with the latest bzr release13:41
lag_ogra: Can you send me the line to make boot.scr please?14:05
lag_mkimage ***14:05
ogramkimage -A arm -T script -C none -n "Ubuntu boot script" -d <source> <target>14:05
hrwogra: how many bytes does mkimage adds to initrd?14:18
ograhrw, i think 64 ... one sec14:18
ograhrw, 72 :) https://wiki.ubuntu.com/ARM/BeagleEditBootscr14:19
* ogra knew he wrote that up somewhere14:19
hrwthx14:19
slangasekogra: ok, why does this not work?: dd if=/mnt/uInitrd skip=1 bs=72 | gunzip -c | cpio -t14:21
lag_ogra: Cheers14:21
ukleinekogra: a vanilla mkimage only adds 64, no?14:23
ograslangasek, probably because -T ramdisk adds different stuff14:26
ograukleinek, might be, i think it varies with the comment (-n option)14:26
slangasekogra: well, so how do I unpack it? :)14:27
ograso the 72 might only be true if the comment is "Ubuntu boot script"14:27
ukleinekogra: IIRC, no14:27
ograslangasek, i never unpacked a uInitrd14:27
slangasekthe comment is "Ubuntu Initrd"14:28
ograukleinek, funny, then i wonder why 72 works14:28
ograslangasek, you flipped bs and skip options ?14:28
ukleinekhttp://git.denx.de/?p=u-boot.git;a=blob;f=include/image.h;h=bcc08d1a73224bb715d15983adea4767ce0e85fc;hb=HEAD#l176, 7*4 + 4 + 3214:29
slangasekogra: er, they're reversible14:30
slangasekexcept that the way I've done it gives better performance :)14:30
slangasek(and may spit a warning at the end due to a partial read)14:30
lag_ogra: And the uimage mkimage script? (my 'useful commands' file is at home)14:58
cooloneylag_: mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Ubuntu Kernel" -d zImage uImage15:05
lag_Thanks cooloney15:05
rsalveticooloney: I'm looking at bug 566645, because I got the same thing here with latest lucid kernel15:08
ubot2Launchpad bug 566645 in linux-ti-omap (Ubuntu Maverick) (and 2 other projects) "OTG configuration is broken on omap kernel (affects: 3) (heat: 49)" [High,Confirmed] https://launchpad.net/bugs/56664515:08
rsalveticooloney: if you want to test it here, or debug, I have the proper cable here15:09
cooloneyrsalveti: thanks, actually, i don't have the HW for testing,15:15
cooloneyrsalveti: can you test that lucid kernel? i did not prepare the maverick kernel15:16
rsalveticooloney: I got it with lucid15:16
rsalvetididn't test maverick one yet15:16
rsalvetineither upstream15:16
cooloneyrsalveti: cool, how's the result of lucid testing kernel?15:17
rsalveticooloney: if you're at prague we cat probably give you one beagleboard so you can reproduce it15:17
rsalveticooloney: same issue with latest lucid kernel, 2.6.33-502-omap15:18
cooloneyrsalveti: awesome, i am in kernel room and love to test15:18
ograrobclark, https://code.edge.launchpad.net/~ogra/jasper-initramfs/trunk has the code in jasper_setup15:19
* robclark looks15:19
ograhttp://bazaar.launchpad.net/~ogra/jasper-initramfs/trunk/files rather15:20
rsalveticooloney: can you get by the arm room later? just because there are lots of cables and devices to be moving around15:21
ograGrueMaster, http://rcn-ee.net/deb/tools/UBOOT/u-boot-beagleboard-2010.03+r52+gitrca6e1c136ddb720c3bb2cc043b99f7f06bc46c55-r52.bin15:21
cooloneyrsalveti: no problem. i'd love to15:21
rsalveticooloney: don't need to hurry, will be here for the whole week :-)15:21
ogra.oO(why did i just read "i love you" above ... )15:21
=== prpplague^2 is now known as prpplague
rsalveticooloney: now it doesn't work at all :D16:18
rsalvetiwas finally able to test it16:18
=== lag is now known as Guest78932
Guest78932cooloney: mkimage -A arm -T script -C none -n "Ubuntu boot script" -d <source> <target>17:02
cooloneyGuest78932: sudo dd if=/media/4C43-C886/boot.scr of=boot.script skip=64 bs=117:04
cooloneyGuest78932: is this right? ^^17:04
Guest78932Yep17:05
hrwbye17:12
=== JaMa is now known as JaMa|FBT
=== fta_ is now known as fta
=== fta_ is now known as fta
godstarHello19:27
godstarI am looking to install Ubuntu on a Archos 5 IT, any pointers?19:28
loluengohi folks!20:09
loluengoi have a little question20:09
loluengoi'mm looking for  a small system to begin with ubuntu/arm development20:10
loluengoi would like to have  some advice20:10
loluengowhich one you think is most suitable to begin??20:11
loluengobeagleboard? or tincantools' hammer?20:12
pcacjrloluengo, beagleboard20:12
loluengowhy?20:12
loluengoi mean... why pcacjr?20:12
loluengoany advantage?20:13
pcacjrhmm20:13
pcacjrit's simple to use20:13
pcacjryou could get the beagleboard C420:13
pcacjrit's a good hw20:13
loluengoi think the tincantools' nail kit is also very easy20:14
pcacjrloluengo, well i've only been hacking on beagleboard lately20:14
pcacjrloluengo, http://beagleboard.org is a good start20:15
loluengoand flyswatter for jtag progamming?20:15
pcacjrmaybe :-), depends on you mate20:16
pcacjrheh20:16
loluengoany other not-so-expensive jtag emulator recommendation?20:18
godstarWhat image do I use to install Ubuntu on an ARM device?20:19
loluengoi looked at ti.com page and all of the emulator the recommend are VERY expensive!20:21
prpplagueloluengo: it all depends on what you want to do20:23
prpplagueloluengo: for alot of the basic operations of OMAP3 you don't really need a jtag20:24
loluengoprpplague, what do you mean by basic operations?20:25
prpplagueloluengo: the OMAP3 has internal rom code that supports booting from SD card, uart, USB and nand flash20:25
prpplagueloluengo: so jtag isn't really needed for initial bootloader programming20:26
loluengoprpplague, programming? debugging? tracing?20:26
prpplagueloluengo: basic programming debugging can be done via uart or other I/O, but if you really need jtag, you can use something like the flyswatter with openocd20:27
loluengohmmm20:27
loluengothat sounds like a great PLUS for beagleboard20:28
loluengo(over tincantools' hammer)20:28
prpplagueloluengo: beagle and hammer aren't exactly in the same ball park20:29
prpplagueloluengo: they are for different purposes20:29
loluengoprpplague, why do you say that?20:35
loluengoi see them similar20:35
loluengoboth are arm-based boards20:35
loluengoboth run linux20:35
prpplagueloluengo: the hammer was designed as a hardware developers platform with limited resources20:35
prpplagueloluengo: the beagle was designed as a software development platform with very little hardware expansion20:36
prpplagueloluengo: they are vastly different target audience20:36
prpplagues/are/have20:36
loluengoaaahhh ok20:36
loluengoif i understood hammer is like a processor module - no peripherals added20:37
loluengoand beagleboard has plenty of peripherals, intended to develop software20:38
prpplagueexactly20:40
prpplagueloluengo: the hammer is available with some peripherals, but those are mainly for testing and reference for the developer20:40
loluengogood advice prpplague20:43
loluengoi think hammer is for me...20:43
loluengomy work is more hardware oriented than software oriented20:44
prpplagueloluengo: is there something specific you are planning to work on?20:49
loluengoprpplague, yes... some kind of data logging device20:51
prpplagueloluengo: ahh20:51
loluengoprpplague, not so interesting, but veeery useful20:52
=== JaMa|FBT is now known as JaMa
=== fta_ is now known as fta
james_Hello22:10
james_I'm trying to port Ubuntu to an armv6 device, that uses fbdev and am writing an xorg.conf22:10
james_It uses a fbdev device22:10
james_But I'm getting (ee) fbioblank Invalid argument error22:11
james_Any ideas?22:11
james_ogra_cmpc: Did you write rootstock by the way?22:12
=== fta_ is now known as fta
=== XorA is now known as XorA|gone

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