/srv/irclogs.ubuntu.com/2011/09/20/#ubuntu-arm.txt

=== ojn is now known as facilities
=== facilities is now known as ojn
=== _MrCurious is now known as MrCurious_
=== Lopi is now known as Lopi|idle
rsalvetiDr_Who: infinity, ogra_ and janimo can also help reviewing and sponsoring libjpeg-turbo if needed02:10
Dr_Whorsalveti: good idea!02:11
rsalvetithe FFe is mostly accepted already, as we got an ack from both skaet and slangasek at latest release meeting02:11
=== Lopi|idle is now known as Lopi
doad wired internet its only letting me use wireless and when i go into a terminal and type in a command my eth0 does not show up04:53
doadwhat can i type in my terminal to see if my ethernet port is working04:54
doadwhat can i type in my terminal to see if my ethernet port is working04:55
=== suihkulo1ki is now known as suihkulokki
=== chrisccoulson_ is now known as chrisccoulson
=== Quintasan_ is now known as Quintasan
ppisatiGrueMaster: since you do a lot of testing, have you ever tried unplugging the sd card after boot? (of course when it's not mounted)12:55
ppisatiGrueMaster: or have you tried booting entirely off some other media, and when the system is up, have you tried inserting the sd card?12:55
ogra_he did some stuff with that on netinstalls iirc12:56
ppisatiok12:56
ogra_and had funny results12:56
ppisatisame here12:56
ppisatihrw opened a bug about sd being inacceisble if he removes/reinsert the sd card12:56
ogra_well, wait until janimo's drop of the vfat mangling show up in the images12:56
ppisatino no12:56
ogra_though wait, you dont use preinstalled, right ?12:56
ppisatii use preinstalled12:57
ogra_how can you unplug the rootfs then ?12:57
janimosheer force12:57
ogra_yeah12:57
ogra_or abuse of the images !12:57
ppisatibecasue i moved averyrthing to usb12:57
ogra_he doesnt use them in their intended environment !12:57
ogra_evil guy you :)12:57
ppisatii use the sd card just for uImage&c12:57
ppisati:)12:58
ppisatiwell12:58
ogra_i would recommend using a netinst for such setups12:58
ogra_while it should indeed work to copy the rootfs to another device you never know what mistakes you make doing that12:58
ppisatibut i just found out, that if i boot from another media (no sd card inserted during boot)12:58
ppisatithe sd slot is dead!12:58
ogra_complain to u-boot or x-loader i guess :)12:58
ppisatiit doesn't recognize any sd insert&c12:58
ppisatiuhm12:59
ogra_smells very much like either of them12:59
ppisatithat's why i asked GrueMaster, i have to try with some older release12:59
ogra_did you try with an older u-boot and x-loader ?12:59
ppisatiand on xm now12:59
ppisatinope12:59
ppisatijust oneiric/panda for now12:59
ogra_i bet a beer that it works fine with nattys12:59
ppisatii already own you a beer BTW :)12:59
ogra_you can win it back now ;)13:00
ppisatiasd :)13:00
ppisatiok13:00
ogra_*g*13:00
ppisaticoffee and then back testing older releases...13:00
hrwogra_: its not uboot/xloader - kernel rather13:21
hrwsystem booted, replace card = bug13:21
ogra_hrw, i think tobin said he doesnt see it when rolling back to an older MLO/u-boot binary13:22
ppisatihrw: have you tried the same with beagle?13:22
hrwload kernel/initrd in uboot, 'bootm', replace card - bug13:22
hrwppisati: would have to dig out old C3 beagle13:22
ppisatihrw: no prob, i'll do that13:22
ppisatihrw: another thing that i discovered is that:13:22
ppisati1) if you boot from another media (load everything in memory, remove sd card and bootm)13:23
ppisatiif you tru later to insert the sd card, the kernel doesn;'t recognize it13:23
ppisati2) enabling MMC_DEBUG i see what it seems "activity" on mmc13:23
ppisatieven when it's not mounted13:23
ppisatii wonder if it's polling13:23
ppisatithe slot for some reason13:23
* ogra_ thinks the kgeneral bug is that the kernel leaves to much initialization to x-loader13:23
ogra_we ran into bad stuff using a different x-loader through that (the usbboot one) ... you cant use our kernel *at all* if you dont use MLO/u-boot (doesnt work with generic android bootimages for example because the majority of devices stays unintialized)13:25
ogra_same would go for kexec13:25
ogra_(using a binary kernel instead of u-boot.bin)13:26
=== Jack87|Away is now known as Jack87
janimoogra_, you were right, it is lz compressed. It worked for me before as I figured it out after much trial. But I forgot since :(13:57
janimoanyway, going forward13:58
wookey)win 2113:58
ogra_yeah, i remember banging my head against the same issue a while ago13:58
janimoI want every boring task on Earth be done by machines13:58
janimowhich is most of them13:58
ogra_heh13:59
brandinihello14:11
tgall_fooogra_, infinity, slangasek : would any of you be will to participate in the review of : http://revu.ubuntuwire.com/p/libjpeg-turbo  ?  Aiming for oneiric, universe, thanks!15:16
ppisatihrw: it works on xm!15:28
=== mayday_jay is now known as mayday_jay-work
hrwcool15:28
hrwbut I ahve pandas15:28
ppisati:)15:29
brandiniI just got my pandaboard booting15:31
brandinithe 11.04 release wouldn't boot properly for me15:31
GrueMasterppisati: I see you are looking at the SD bug I mentioned a while back.  Bug 84409915:50
ubot2Launchpad bug 844099 in linux-meta-ti-omap4 "System fails to acknowledge changing of SD when rootfs is on a different device." [Undecided,New] https://launchpad.net/bugs/84409915:50
GrueMasterogra_: Reading the backscroll, what are you talking about on the usbboot not working?  It works fine since rsalveti updated the aboot bootloader.15:55
ppisatiGrueMaster: never seen that bug, i was working on hrw bug (that is a duplicate of yours actually)16:05
brandinithe world needs more arm16:08
brandiniis the natty process the update manager?16:10
GrueMasterbrandini: ???  That last sentence made no sense.16:11
brandiniGrueMaster: what is the natty process?16:23
gildeanin what?16:24
gildeanyou mean update?16:25
GrueMasterbrandini: What exactly are you trying to do?16:25
ogra_GrueMaster, i was referring to the need to fix it ...16:29
GrueMasterogra_: Fix what?  It is already fixed.16:30
ogra_pointing out that way to many things are in the bootloader while they should rather (or additionally) be initialized in the kernel16:30
GrueMasterOh.16:30
ogra_yes, i wasnt referring to the fix/bug at all16:30
ogra_just to the fact that it actually needed to happen16:31
ogra_for example theoretically it should be possible to add a hex header to a vmlinuz that can do kexec and use that instead of u-boot/MLO to chainload a kernel16:32
ogra_but with the existing design that will never be possible without at least involving MLO16:32
ogra_(though i suspect many things u-boot initializes wont be done by the kernel either)16:33
ogra_sigh, the images are still building16:34
ogra_over 4h already16:34
GrueMasterafaik, MLO/aboot just initiallizes the main memory and a few minor other bits (i2c bus).  u-boot/kernel does the bulk.16:34
ogra_well, wasnt the fix in the MLO code of aboot ?16:35
ogra_now that didnt make sense16:35
ogra_well, wasnt the fix in  aboot ?16:35
ogra_that is better :P16:35
GrueMasterBut I also thought u-boot turns off everything it needs just before context switch to kernel.16:35
ogra_i dont think it does16:35
GrueMasterThe fix was in aboot to initialize i2c iirc.16:36
ogra_yeah16:36
brandiniGrueMaster: I'm doing an update to 11.04 using the update manager (which was a silly mistake) and I'm watching the process headless from remote trying to monitor when it finishes16:43
GrueMasterAh.  I usually just run "sudo apt-get update;sudo apt-get dist-upgrade" to pull the updates.16:44
ogra_dist upgrade on SD card on an XM ?16:44
brandiniSD Card :(16:44
ogra_oh, not a release->release one16:44
GrueMasterDoing a full dist upgrade (Maverick->Natty) is a lesson in patience.16:44
brandiniI'm stopping by microcenter on the way home to pick up a usb->mSata adapter16:44
brandiniGrueMaster: it is :)16:45
ogra_i thought you upgrade to oneiric, that would indeed be a waste of time16:45
brandinireally?16:45
ogra_yeah16:45
brandini10.10 is better than 11.04?16:45
brandinishoot :)16:45
GrueMasterNo, doing a release upgrade is a waste of time.  Faster to download a new image.16:45
brandiniyeah16:46
brandiniok, that makes more sense16:46
GrueMasterDoing an in-release update is however a good idea.  Just time consuming.16:46
brandinido I have to do anything special to make the pandaboard boot off a usb device?16:46
ogra_in-release is fine you just shouldnt try to do something else as well on the system :)16:46
brandiniheh, yeah :)16:47
brandinithe load is like 416:47
ogra_on the ac100 i actually dedicate time to it when i dont work16:47
GrueMasterIf you want to use your existing image, you will need to do it on a different system.  What I found works best is to attach both USB & SD to your desktop (not mounted) and use gparted to copy the rootfs partition.16:47
GrueMasterThen you need to change the uuid of the rootfs partition on the SD and just reboot.16:48
GrueMasterThe panda will need the SD for boot partition.16:48
brandiniok, that makes perfect sense16:49
ogra_why wouldnt you just copy qemu-system-statci, chroot and do the dist upgrade that way ?16:49
ogra_oh, you meant copying the rootfs16:49
GrueMasterYou can also try our netinstall for oneiric.  It will allow you to install to the usb drive directly with different filesystems (EXT4, btrfs, etc), use LVM, cryptfs, etc.16:49
brandiniogra_: this is my first time goofing with these types of boards... so beginners luck?16:49
GrueMasterThe gparted copy method is what I used to create a USB drive with Maverick, Natty, and Oneiric all on one USB drive.  Makes SRU testing much easier.16:50
brandiniI thought this would be a great platform to serve some web stuff up for monitoring and managing my solar/wind power stuff16:51
GrueMasterNow that sounds like a fun idea.16:51
brandiniit is16:51
ogra_brandini, http://www.grawert.net:81/16:52
ogra_;)16:52
GrueMasterNot sure how well everything for that will run under Natty.  I only did extensive server testing in Oneiric.16:52
brandiniI've got the web application built in go (#golang) and it serves things up really nicely16:52
ogra_though thats runing on an x86 celeron16:52
ogra_(simply because i had no beagle back then)16:52
brandinihey, that's got solar/thermal :)16:52
brandinihow hot do your panels get when you're running water behind them?16:53
brandinioh, it says right on it16:53
* ogra_ has a web based room heating control system too, that actually runs off a beagle C416:53
brandiniThat's exactly what I'm fleshing out!16:54
* brandini introduces himself to ogra_ 16:54
ogra_well, the panel bursted, i havent gotten a replacement yet (condesed water froze inside and blew up one element)16:54
ogra_it can get up to 130°C16:54
brandinisheesh16:54
brandiniusing copper?16:54
ogra_the panels are supposed to survive up to 22016:54
brandiniefficiency drops quickly16:55
=== zyga is now known as zyga-afk
ogra_yeah, to be honest i would rather have half of the collector replaced by power generating panels16:56
brandiniI just built a single wind generator using some PVC Pipe and I'm quite pleased with it16:57
brandini3 19" blades and a 30V DC motor... really works nice16:57
ogra_cool16:58
brandiniwhere you from ogra_?16:58
ogra_germany16:58
brandiniI'm from the states in ohio16:59
ogra_hey hey17:11
Ursinha:)17:11
UrsinhaGrueMaster, maybe we need an alarm, loud and red and blinking17:11
ogra_soo ...binary  packages often have arch: any and arch: all components17:11
Ursinhaogra_, right17:11
ogra_the any components usually get built nativelyy17:11
ogra_the all components all get built by the x86 builder17:12
ogra_now the x86 builders are waaaay faster than the armel ones17:12
Ursinharight17:12
ogra_so rthey finish the package early ... and publish their stuff17:12
ogra_arm simply doesnt have the new bits yet ... but the existing package has a versioned dep on the arch:all package (which was just updated by x86)17:13
ogra_so you get uninstallable packages until armel has built17:13
Ursinhathis is messy...17:13
ogra_which in some cases can take a day more17:13
Ursinhabut I got it now17:13
Ursinharight17:13
ogra_and that prevents images from building17:14
ogra_there are two ways around it ...17:14
Ursinhabut you said there are no images since Aug 30th17:14
ogra_fix soyuz to handle the packages right17:14
ogra_or work around the whole issue by running a separate mirror (like linaro does)17:14
ogra_we aim for the fix17:14
Ursinhaogra_, is there a bug for that? because if that's causing lack of images like this, it's kind of critical17:15
Ursinhaand you might want to talk to the launchpad stakeholder in Ubuntu to have it fixed17:15
ogra_i think there is a bug  (NCommander should remember the number, i'm not subscribed so i dont have bugmail for it)17:15
ogra_and its known since quite a while ... even in higher levels ;)17:16
skaetUrsinha, its been raised.  https://bugs.launchpad.net/launchpad/+bug/3408617:17
ubot2Ubuntu bug 34086 in launchpad "removal of arch-all packages while there are arch-specific packages dependent on it results in uninstallable binaries" [Critical,Triaged]17:17
GrueMasterWow, that is very old.17:17
Ursinhaindeed17:17
Ursinhabut awesome that's already escalated :)17:18
rsalvetiafter... 5 years17:20
Ursinharsalveti, better late than even later17:21
Ursinha:)17:21
ogra_well, its a heavyweight ... pushing it uphill needs many people apparently :)17:22
rsalvetisure, just surprised it took so long17:22
ogra_took 5 years to get the crowd together ;)17:22
Ursinhaogra_, hehe, it's escalated, and people are apparently wrapping up the derived distros feature (which took some time to get completed)17:22
Ursinharsalveti, launchpad touches lots of aspects of ubuntu, it's hard to fix everything relevant in a reasonable time, I believe17:23
rsalvetiyup, probably17:24
rsalvetibut I also want the derived distro working properly ;-)17:24
rsalvetithat reminds me I need to ping some folks at launchpad17:24
ogra_GrueMaster, janimo,  does mx5 need flash-kernel.conf ?17:27
* Ursinha adds #ubuntu-arm to the list of channels-to-lurk-in17:28
GrueMasterAha.  That's the problem.  On mx5, boot.scr, and uI* is on the second partition.17:28
ogra_yeah, that shoudl get a flash-kernel.conf then :)17:29
ogra_so you can set it17:29
ogra_but i wonder if the code uses it yet17:30
GrueMasterTrying to run it after manually fixing flash-kernel.conf.17:30
GrueMasterWe'll see if oem-config still crashes.17:30
ogra_yeah, that should tell17:30
=== zyga-afk is now known as zyga
janimoGrueMaster, I am working on that now17:49
GrueMastercool17:49
janimoogra_, uboot is not on the vfat partition but kernel and initrd are so presumably needs some flash-kernel.conf17:50
ogra_yeah17:50
janimoI wonder why resizing rootfs on mx5 is done in a blink17:51
janimoIIRc on omap it had a progess bar and took a while17:51
ogra_and it didnt fail ?17:52
janimomaybe it doesn ot happen for some reason - bug to be hunted17:52
janimoogra no error msg, just Done17:52
GrueMasterIt may not be resizing the correct partition.17:52
janimoIt is suspicious probably does not happen17:52
ogra_and your partition has the expected size ?17:52
ogra_GrueMaster, ++17:52
janimowill check after17:52
janimostill I;d expect e2fsresize to complain if you ask it to resize a vfat17:53
ogra_GrueMaster, i bet i added a variable for that too ;)17:53
infinityjanimo: Small card?17:53
janimoinfinity, default mx517:53
infinityjanimo: On my 1GB card, resize on my Panda is literally instant.17:53
ogra_janimo, well, it would, in the jasper log17:53
GrueMasterThat was changed as part of the ext4 change.17:53
janimoresize is supposed to happen from 2g to 4g17:53
janimoinit: mounted-proc main process (385) terminated with status 117:54
janimomountall: Event failed17:54
janimoI wish I knew why these happen17:54
ogra_no plymouth i guess17:54
ogra_for the mountall bit17:54
ogra_no idea about the upstart one17:54
janimoogra_, when is the next round of respins?17:54
janimoand only for mx5 for now is omap done for b2 ?17:55
ogra_janimo, well, if you ask GrueMaster i guess he doesnt want one :)17:55
janimogreat, I agree17:55
ogra_janimo, thats not how it works17:55
ogra_if you upload jasper we need to re-test all jasper using images17:55
ogra_at least up to the jasper part17:55
GrueMasteryep.17:56
janimook, there is a new jasper needed for mx5 of course17:56
ogra_we dont cherry pick arches for builds during milestones17:56
ogra_yes17:56
* ogra_ wasnt expecting todays images to be final actually17:56
GrueMasterAlthough I am still pulling, so if a respin is required I am ok.17:56
ogra_we also need to fix the missing slideshow still17:57
ogra_post beta though17:57
ogra_and the missing ti icon17:57
janimoogra_, when are the jasper hooks executed?17:57
janimofor the mlabel copying17:57
GrueMasterDo we have packages for the ti icon to install?17:57
ogra_one in local-premount, one in local-bottom17:57
ogra_GrueMaster, no, its a jasper thing, but the handling of the favorites completely changed, so it doesnt show anymore17:58
ogra_GrueMaster, iirc persia had the bug assigned to move that into packages17:58
GrueMasterI meant when you click on the icon, is there packages in the ppa?17:59
ogra_it is there, you just dont see it :)17:59
ogra_and no, there is no package atm17:59
ogra_i'll add that by release time (if TI doesnt)17:59
GrueMasterYea!  Fixing /etc/flash-kernel.conf fixed the oem-config crash.18:00
ogra_awesome !18:00
GrueMasterAnd I have unity.18:00
ogra_wow18:00
GrueMasterThis is on yesterday's image though.18:00
GrueMasterWell, unity-2d.18:00
GrueMasterAnd the install icon is still there.  sigh.18:01
ogra_ubiquity ?18:02
ogra_well, oem-config didnt finish18:02
ogra_did you actually see it removing packages ?18:03
GrueMasterI wasn't paying attention.  Too many monitors to see all the details on all systems.  But I have seen this before.18:04
GrueMasterinteresting.  When ubuntu-bug pops up to report a detected crash, it blanks the screen and asks for sudo access.18:05
ogra_bug in gksudo i think18:05
ogra_thats supposed to be transparent18:05
ogra_(teh black bg you see)18:05
ogra_poke mvo about it, i did it several times, he said he doesnt need a bug, it would go away anyway18:06
ogra_if it didnt go away yet, he might want to know about it :)18:06
GrueMasterIt appears that the resize worked, but the system thinks the image is using 3.92G on my 4G SD.  Will try again with a 16G SD later today.18:09
ogra_weird18:09
ogra_well ...18:10
* ogra_ is off to find some dinner18:10
infinityDoes it think there's free space anywhere?18:10
infinityCause 4G cards aren't 4G...18:10
GrueMasterNo, it is a resize issue. du-sh / says it is only using 1.4G18:14
GrueMasterdf -h shows / as 1.5G with 1.4G used.  Gparted shows mmcblk0p3 as 3.95G18:16
ogra_jasper.log ?18:17
GrueMastern/a18:17
GrueMasterFound it in /run.  Tried to resize mmcblk0p2.  Fail.18:19
ogra_no further info ?18:19
infinityRight, because that partition number is hardcoded in jasper.18:19
GrueMasterOf course, this is yesterday's image.  Prior to jasper fix for ext4.18:20
infinityAnd p3 is the one you're using.18:20
ogra_its not hardcoded18:21
ogra_i wish i could have hardcoded it ... but certain people at linaro wanted to use jasper, so it has that weird detectuion code that parses root= for finding the disk18:21
infinityROOTPART="${ROOTDEV}2"18:21
infinity^-- That's not hardcoded?18:21
ogra_hmm, that should be dreived from $DISK18:22
ogra_ROOTDEV="/dev/${DISK}${SEP}"18:23
ogra_and it is18:23
infinityDude.18:23
infinityThe 2.18:23
infinityThe partition NUMBER is what's hadcoded.18:24
infinityhard*18:24
ogra_yeah, sorry18:24
infinityAnd mx5 is using a different layout.18:24
GrueMasterKinda indicates structured fail.18:24
infinityOr, so I understand.18:24
ogra_yeah, thats definitely a bug18:24
ogra_the code should just parse root=18:24
GrueMastermx5 uses a non-fs part1 for u-boot, fat for part2 (kernel, initrd), and rootfs on part 3.18:25
ogra_right18:25
=== Ursinha is now known as Ursinha-lunch
ogra_but that doesnt need to be hardcoded at all given we set root= at image build time18:25
infinityIronically, if there's a UUID in play, things work correctly later...18:25
ogra_yes18:25
infinityBut only partially correctly.18:25
infinitySo, yeah, that whole mess needs a bit of a clean up.18:26
ogra_a bit ?18:26
infinityI should have looked closer where I was in there for the FSTYPE thing. :/18:26
ogra_:)18:26
ogra_it needs a rewrite18:26
ogra_thats why we had discussions about it in dublin18:26
GrueMasterThis is where my comment on us getting bogged down in last weeks meeting applies.18:29
ogra_yup18:29
infinityWell, I could fix most of this root-finding mess in jasper right now, but the diff might be a bit unpleasant for a freeze.18:30
GrueMasterNot faulting anyone, just that we get tied up with long, difficult tasks, and the simple stuff falls through the cracks.18:30
ogra_infinity, do it post beta18:30
infinityogra_: Sure, this just means mx5 gets to be broken for beta.  *shrug*18:31
ogra_jasper is initial prototype code that happened to work right ... it was never intended to stay in production in that state for that long18:31
ogra_infinity, just add a three liner that checks /proc/cpuinfo and resets the partition number then18:31
ogra_another hack for a few days wont harm us ;)18:32
infinityEw.18:32
infinityNo.18:32
infinityI'm either going to fix it right, or postpone it.18:32
infinityThe latter sounding like a better option.18:32
ogra_well, postpone means no mx5 at all18:32
infinityThough, we can stage a fix now.18:32
infinity"at all"?18:33
ogra_this is the critical milestone18:33
GrueMasterLooks like it now fails due to fstab.18:33
infinityIt's a community image, there's no quality requirement.18:33
ogra_well18:33
infinityIt's not like it was going to be on releases.ubuntu.com.18:33
ogra_we produce it...18:33
infinityIt'll always be on cdimage.18:33
ogra_i actually have some quality requirement for the work i ship ... at least on the surface :)18:34
ogra_infinity, point is that we agreed with the release team that images that arent ready by beta1 (actually) wont be releasable18:34
infinityI do too.  I'm just saying that non-release images have no such requirement.18:34
ogra_we talked kate into b218:35
infinityYeah, so we don't "release" it.  We weren't anyway.18:35
infinitySort of my point. :P18:35
ogra_if we dont make it i wont step up again for it18:35
ogra_so we will miss18:35
infinityWait.  Okay, are we talking past each other, or...18:35
infinityDid you actually expect ac100/mx5 to be on releases.ubuntu.com?18:35
ogra_we were supposed to release it (opposed to having a daily on cdimage that gets wiped with the first P build)18:35
infinityWhere, y'know, half our images never go.18:36
ogra_no18:36
infinityOh, it can be "released" on cdimage.18:36
infinityThat's a whole different quality criteria, though.18:36
ogra_i expect the tested and QA^ approved release to be on cdimage in the r5eleases subdir of the respective image18:36
infinityAnd I think people get muddied up about that sometimes.18:36
ogra_we only rarely have images on releases.u.c18:36
ogra_all armel images but one live on cdimage18:37
ogra_we had one release where we actually dumped them on r.u.c18:37
ogra_anyway, moot point, do you see a fix thats not a horrid diff and that can work around it ?18:37
infinityWell, I'd have to see exactly where it's failing to come up with a "hack" instead of a fix.18:38
GrueMasterirregardless of the current arguements regarding release, this image is fail.  It actually is mucking up the partitions now to the point where it won't boot.18:38
infinityBut... Does every preinstalled image have a sane root= on the command line?18:38
ogra_up to now they did18:38
infinityAnd is it always a device?  Or sometimes a UUID?18:38
ogra_always a device (see jasper code)18:38
ogra_jasper expects to not see a UUID18:39
infinityWell, the jasper code assumes it might not be a device. :P18:39
ogra_(because it actually creates the UUID)18:39
GrueMasterOn first boot, it is a device.  jasper rewrites boot.scr to use UUID.18:39
ogra_right18:39
infinityif echo "$root" | grep -q '^UUID='; then18:39
infinity    VOLID=$root18:39
infinityelse18:39
infinity    if echo $root| grep -q ^/;then18:39
infinity        ROOTPART=$(basename $root)18:39
infinity    fi18:39
infinityIf it's never a UUID, that code's broken.18:39
ogra_you look at the wrong script i think18:39
GrueMasterLook at premount18:40
ogra_there is UUID stuff, but thats unrelated to resize code18:41
infinityRight, well same ROOTDEV2 issues there.18:42
infinityAnd both can be solved with the same small amount of code.18:42
ogra_right18:42
ogra_then go for it18:42
infinityBut the above that I pasted is also an issue. :P18:42
infinityIt'll be writing the fstab incorrectly on mx5.18:42
ogra_janimo needs an upload anyway18:42
infinitySo.18:42
infinityYeah.18:42
infinityI'll get on this in 30ish minutes, I'm starving. :)18:42
* ogra_ finishes his dinner18:42
janimoinfinity, I'll upload my changes now18:42
ogra_janimo, wait18:43
infinityjanimo: Or just commit them, if you don't need an upload/rebuild cycle.18:43
ogra_just commit them so we can get along with one upload18:43
janimoogra_, not uploading just committing18:43
janimosure18:43
ogra_ah18:43
infinityjanimo: (And I suspect rebuilding is useless to you without fixing the rootdev stuff)18:43
ogra_well, we have a good set for testing atm (beyond mx5 indeed)18:43
GrueMasterjanimo: Looks good.  Should fix all of our problems.18:44
janimoI changed rootpart , uboot_part and boot.scr contents for mx518:44
janimoGrueMaster, what was the flash-config change about?18:44
ogra_oh, rootpart too ?18:44
janimoI tried with my changes in a modified initrd and it still crashed at the end albeit differently. When I came back to the screen it had restarted ubiquity18:45
janimojust like I saw it done for omap previously18:45
janimobut var/crash is empty this time so some joy18:45
janimoogra_, well rootpart to be part 3 and vfat part 218:46
ogra_yes18:46
janimoas they were hardcoded to 1 and 2 for omap18:46
ogra_but see above18:46
ogra_infinity just wanted to start working on a general fix for that18:46
janimono problem18:46
ogra_oh, geez ! i'm sooo proud !18:46
janimogeneral fix being?18:47
GrueMasterjanimo: I manually changed /etc/flash-kernel.conf to show UBOOT=/dev/mmcblk0p2.18:47
ogra_(its my cats first bday today and he just brought me his first mouse)18:47
janimoI had a version that autodetected vfat/root using sfdisk18:47
GrueMasterYour jasper mods should fix this automatically.18:47
janimoogra_, cats do not know the customs. Unclear about who needs a present18:47
ogra_janimo, well, talk to infinity so you guys dont duplicate work then18:47
janimoGrueMaster, good18:47
ogra_haha18:47
janimoogra_, I did not do the smartsfdisk based approach so I introduce as little new code as possible18:48
janimoeven if it looked better18:48
ogra_he still doesnt get that he can eat his toy though18:48
janimono need for grepping cpuinfo for instance18:48
ogra_how do you know you are on mx5 ?18:48
janimohas MX53 in the hardware line18:49
janimooh you mean without cpuinfo18:49
ogra_you just said you dont look at cpuinfo18:49
ogra_yeah18:49
janimowell for the partitions just look at where sfdisk finds vfat and linux18:49
janimoand operate on those devices18:49
ogra_yeah, that at least works for all images with vfat18:49
janimobut for the boot.scr content subarch is still needed18:49
janimoso not entirely streamlined without special casings18:50
ogra_well, that sounds like you already implemented what adam planned to18:51
janimoGrueMaster, but my fixes to jasper need testing with omap just in case I blundered something18:51
ogra_or at least something similar18:51
GrueMasterSomeone going to upload this and trigger a respin, or do I call mx5 a cosmic failure?18:51
ogra_not yet :)18:51
janimoogra_, similar, not very elegant, for the same reasons - freeze being close18:52
ogra_yeah18:52
janimoogra_, I still need to add the mlabel thingie18:52
GrueMasterThat can wait post-beta18:52
janimoso when is that hook/ copy_exec executed?18:52
janimoGrueMaster, fine by me18:52
ogra_yeah18:53
ogra_leave that for post muilestone18:53
ogra_janimo, during update-initramfs18:53
ogra_call update-initramfs -v ;)18:54
ogra_that shows you every copy_exec it does18:54
janimoogra_, ah so after install18:54
ogra_including the list of libs18:54
ogra_we call update-initramfs several times during the build too18:54
ogra_well, once at least, more depends on the image type18:55
infinityjanimo: We already know rootpart from root=, the sfdisk thing feels like overkill.19:02
janimoinfinity, ok19:02
janimobut vfat needs to be detected too19:02
janimoanyway, for now the case with MX53 works19:03
infinityIs that in another commit? (the vfat thing)19:03
* janimo tries again with logging to the screen19:03
janimoinfinity, I commited all I have19:03
janimoUBOOT_PART19:03
janimo2 or 3 commits I think19:03
infinityAhh, that's not autodetected, though, just hardcoded for the subarch.  Check.19:04
GrueMasterShould be on rev 165 now.19:04
infinityYeah.19:05
GrueMasterer, 16719:05
infinity165..167 are his changes. :P19:05
infinityBut yeah.  I just understood the mentioning of "have to detect vfat" as meaning he'd done so. :)19:05
ogra_well, if its sufficient to get mx5 through19:06
infinitySec.19:06
GrueMasterSo, I still need to know if we are respinning with this.19:06
infinityWe will.19:06
ogra_yep19:06
GrueMasterWe'll have to respin server and kubuntu/kubuntu-mobile as well.  All images except netboot & core.19:07
infinityHowever, if we're sure that we'll always have a correct root=/dev/blah, then we can scrap that whole bit in _setup.19:07
infinityROOTPART="${ROOTDEV}2"19:07
infinity#iMX53 has rootfs on part 319:07
infinitygrep MX53 /proc/cpuinfo >/dev/null && ROOTPART="${ROOTDEV}"319:07
ogra_well, we control what goes into the images19:07
infinity^-- Unnecessary because of:19:07
infinityif echo "$root" | grep -q '^UUID='; then19:07
infinity    VOLID=$root19:07
infinityelse19:07
infinity    if echo $root| grep -q ^/;then19:07
infinity        ROOTPART=$(basename $root)19:07
ogra_we could as well make jasper read /etc/subarch and wipe it afterwards19:08
GrueMasterwhere is that?19:08
ogra_adding a full AI to have disk detection seems overkill19:08
infinityjasper_setup19:08
GrueMasterNo, the /etc/subarch part.19:09
infinityNowhere.19:09
infinityHe was saying we could create it.19:09
ogra_right19:09
GrueMasterSo another added failure point.  Lets not.19:09
ogra_to remove all subarch detection code19:09
infinityYeah, not worth it for now.19:10
ogra_well, its 20 lines of subarch detection by parsing /proc/cupinfo ... vs SUBARCH=$(cat /etc/subarch)19:10
ogra_heh, no, surely not for now19:10
ogra_i'm just thinking aloud19:10
infinityjanimo: If your changes work, they seem low impact for now, I just hate committing hacks unless we also commit to fix them later. :/19:10
ogra_infinity, well, jasper is a lost case ... somewhat19:11
GrueMasterThe right thing to do is to make jasper detect the correct partitions.  This way, it will work with other platforms and also with linaro images on existing platforms.19:11
infinityogra_: Indeed.19:11
ogra_it is a hack consisting of hacks19:11
infinityGrueMaster: Well, yes.19:11
ogra_GrueMaster, linaro has no interest in using or helping with jasper19:12
ogra_they pretty clearly told me so19:12
GrueMasterOnly because it breaks their current model.19:12
ogra_they had no model when jasper stzarted19:12
GrueMasterThey have a master partition on P1.19:12
janimoalso because they presumable wish to keep their sanity19:12
ogra_and asac worked quite hard to try to convince people19:12
janimoGrueMaster, for mx5 I copied their part layout19:13
janimoor uboot would not work19:13
ogra_janimo, jasper isnt a bad thing ... its just that we are still using the proof of concept prototype19:13
GrueMasterI wonder if the same layout could be used for omap/omap4.19:13
infinityWell, jasper shouldn't exist.19:13
janimoogra_, the idea is not bad, but the hacks and the maintainability are19:13
infinityThe growroot concept should be rolled back into ubiquity, and we'd be done with it.19:14
ogra_infinity, what would do the resizing then ?19:14
infinityThat's the only thing it does different from ubiquity.  It resizes in place instead of copying.19:14
infinityOther than that, we WANT ubiquity.19:14
ogra_why would we19:14
ogra_we *use* ubiquity19:15
infinityWhy wouldn't we?19:15
ogra_we only dont use the partman bits19:15
ogra_and pkgsel19:15
infinitySure, but if it was all in one place, you could use one installer to install in-place OR to another drive.19:15
GrueMasterThis debate really should be brought up at UDS.  Too late for major changes now.19:15
infinityAnd yes, not helpful now.19:15
ogra_haha19:15
infinityjanimo: If your hacks DTRT, upload.19:15
ogra_infinity, fix the copying speed and i'll happily be with you on live images19:16
infinityogra_: The current way to install to external drives on a Panda are either netboot (that's fine), or install with jasper and then cp -a to another partition.  That second case is just wrong. :P19:16
* GrueMaster toddles off to play with the netinstall images while waiting for respins.19:16
ogra_preinstalled images mainly exist because the linaro guysw complained to me it takes to long to install19:17
ogra_that was way before they started to do their own19:17
infinityogra_: And this has nothing to do with copying speed.  I'm saying the growroot (install in-place) option should be added to d-i proper.19:17
ogra_actually its all amitkÄs fault !19:17
infinityogra_: So you could EITHER copy, OR do the in-place thing we do now.19:17
ogra_hmm19:17
ogra_yeah, that sounds sane19:17
janimoinfinity, I am still testing a bit the fs resize19:17
infinityjanimo: Mmkay.19:18
GrueMasterinfinity: Growroot needs to happen before the rootfs is mounted. EXT4 doesn't allow grow while mounted.19:18
ogra_i think it does19:18
ogra_ext3 doesnt19:18
infinityjanimo: It's not how I would have solved it, but it's definitely low-impact your way, and I'd rather push something in and have working images than rewrite things right now, so...19:18
ogra_and i think its a lot faster when mounted19:18
GrueMasterNo, I tested it during my EXT4 testing.19:18
janimoinfinity, out of curiosity how would you have done it?19:18
GrueMasterIt actually produces an error.  Even when mounted RO.19:19
infinityjanimo: Well, as above, I'd remove some redundant code, I'd use root= instead of sfdisk, I'd remove more redundant code... And more...19:19
ogra_janimo, i guess a udeb that brings that functionallity (using parted or partman)19:19
infinityjanimo: But my changes have a regression potential if things don't work exactly as I'm told they do. :P19:19
infinityjanimo: Yours should Just Work, for now.19:19
ogra_which then can be used by d-i and ubiquity/oem-config19:20
janimoinfinity, ah indeed. Seeing I removed some code for the VFAT formatting because it was the right thing, introduced a regression (label) I thought I resist the urge to clean up things19:20
ogra_janimo, just look at the jasper buglist, 90% of jasper wouldnt exist anymore if they were all fixed19:20
ogra_it would mainly boild down to growroot19:21
ogra_u-boot setup shoudl be done by flash-kernel-installer buit that needs a re-write to accept being run in non d-i envs19:22
ogra_and all the other setup bits should go elsewhere too19:22
ogra_we have a re-occuring jasper rewrite spec since we have preinstalled19:22
* ogra_ looks at infinity ...19:22
infinityHeh.19:22
ogra_we should wprobabls have a jasper slaying spec this time :)19:23
ogra_*probably19:23
infinityI'm inclined to agree.19:23
ogra_add it to the spec page ;)19:23
ogra_and dont let me implement it ... you might end up with jasper-ng :P19:23
infinityChris Jones shouldn't be near installers.19:24
infinityWe'd end up with multiple installer windows.19:24
ogra_heh19:24
janimoogra_, I remember, I took the notes at the meeting and filed most of those bugs in Dublin19:25
* ogra_ has a slight prob with chris' nick since it took him quite a while to make out that the guy who asked about "angie" from canonical IS actually meant chris :)19:26
janimoinfinity, ogra, uploaded jasper19:26
ogra_janimo, yeah, they are still there :D19:26
janimoogra_, closed the VFAT reformat one19:27
ogra_heh, cool19:27
ogra_i think you own a WI from my plate as well (or was it infinity) for the ext4 changes in jasper19:28
ogra_(i'll make sure to re-assign when i close it)19:28
infinityjanimo: Accepted.19:31
janimoinfinity, thanks19:31
* ogra_ calls it a day 19:33
infinity'Night.19:33
brandininight19:33
brandiniogra_: I hope you don't mind I shared that link with my wife because I wanted to share what I'm trying to accomplish19:34
janimoogra_, bye19:34
janimohmm, resize does not happen apparently. mount fails and the script quits19:35
janimomount: can't read '/etc/fstab': No such file or directory19:35
janimotriggered by mount ${ROOTPART} /root >>${LOG} 2>&1 apparently19:35
infinityIs that you stepping through manually, or?19:36
infinityCause at that point, on "proper" install media, /etc/fstab exists (albeit empty), and mount should be fine.19:37
janimoinfinity, no, running yesteday's image patched with a modified initrd to test my jasper changes19:37
janimoI'll wait for proper images could be an artifact of something I did19:37
janimoanyway resize is the last step in that file19:38
janimoso the rootfs stays at 2G19:38
janimomaybe that is why it crashes, no space for installed packages19:38
janimoI test it on the mx5319:38
GrueMasterjanimo: yesterday's image worked for me once I modified /etc/flash-kernel.conf.19:39
janimoGrueMaster, resized ext3 even?19:39
GrueMasterMay be something with the ext4 stuff.19:40
janimomaybe because ARM boards love you19:40
janimoyou are much closer to them than I am19:40
infinityIt can't have resized correctly.19:40
GrueMasterIt didn't resize properly (rewrote the partitions but that was it).19:40
janimoyou cultivate a proper relationship with them19:40
janimook19:40
janimoso part resize is good, fs resize not19:40
GrueMasterYea, I'm all touchy feely with them.19:40
GrueMasterThis was yesterday's image prior to ext4 changes and everything else.19:41
infinityYeah, partition resizing would have always worked, because it just expanded "the Linux partition", it didn't use numbers.19:42
infinityThat would fail pretty entertainingly if anyone tried to use jasper in an image with multiple partitions.19:43
infinityThankfully, no one would do such a thing. :P19:44
amitkogra_: hehe :) I still think anybody thinking of installing ubuntu on ARM devices needs some introduction to the real world :-p19:47
amitkogra_: (as opposed to pre-installed images, that is)19:48
infinityamitk: Well, depends on how you define "ARM devices" too.19:53
infinityamitk: I think most of the madness we do with flash is, well, madness.19:54
infinityamitk: But with devices that can actually use external storage, things (finally) change a bit.19:54
brandiniflash?19:54
infinitybrandini: Flash, SD, MMC, nvram, whatever you want to call it.  "slow, unreliable storage that belongs in watches, not desktop computers".19:55
brandini:)19:59
brandinithe choice to rely/depend on that for booting seems odd to me19:59
amitkinfinity: right, and when I complained a year ago, the only HW we had access to had flash storage and slow usb storage. Over one year later, we still don't have enough devices/boards in Linaro that can do SATA19:59
brandiniso I'm going to start updating openbsd's armish arch to support the pandaboard20:02
brandiniand the deeper I dig the more I wonder what I've gotten myself into20:02
infinitybrandini: Pain.20:03
brandiniSure seems like it20:03
brandinithe current install guide for openbsd doesn't start actually talking about the install until about half way through the document20:03
=== Ursinha-lunch is now known as Ursinha
GrueMasterinfinity: Ouch (from the builders status page):  armel 18 283 jobs (22 hours)20:47
infinityGrueMaster: That't the rebuild test.  And a huge improvement over when it said "12 weeks".20:48
GrueMasterah20:48
=== jkridner___ is now known as jkridner
GrueMasterinfinity: Has the jasper update been published and accepted?  No sense respinning without it.21:14
infinityGrueMaster: Yes.21:15
GrueMasterok.  I knew we were waiting on ubiquity.  Wanted to make sure jasper was also updated.21:16
infinityYeah, jasper builds in a matter of seconds. ;)21:16
GrueMasterDoesn't necessarily mean it is accepted during a freeze.21:16
infinity(I accpted it)21:16
GrueMasterAh.21:17
infinity13:31 < infinity> janimo: Accepted.21:17
infinity13:31 < janimo> infinity, thanks21:17
GrueMasterI was monitoring #u-release.  Thought it would get an honorable mention there.21:18
GrueMasterBut no matter.21:18
infinityNah, I reviewed it and slipped it under the radar somewhat intentionally.21:19
infinityNot that it's a "secret" (obviously), just didn't feel the need for fuss, since we were waiting on ubiquity. ;)21:19
GrueMasterNo problem.  I just wanted to make sure.  When I'm not keeping everyone on their toes, things slip by (like daily builds).21:20
=== zumbi is now known as Guest21370
=== Jack87 is now known as Jack87|Away
=== rsalveti` is now known as rsalveti
brandiniOk, I've procured my external usb enclosure23:29
brandiniit's shiny and black, but that wasn't part of the instructions :)23:30
infinitybrandini: Still seems important.23:31
brandiniit is23:31
brandiniman, I'm kinda bummed that I'm going to power off my pandaboard half way through this update from 10.10 to 11.0423:31
brandini:(23:31
=== dev_ is now known as brokencodes
brandiniis there something different I need to do when I install the 11.04 preinstalled image to a CF and SSD?23:50
GrueMasterWith that image, you just dd to the SD card same as 10.10 and boot.  After going through the oem-config and getting to a working image (before installing updates), shut down.  Then you can transfer the rootfs to the USB drive using your desktop system.23:53
brandiniok23:55
brandiniI should use 11.04 release or daily?23:55
GrueMasterIf you want to start with Oneiric (11.10) on your USB drive, you can do a netboot install directly to it, but it takes a little bit of working.23:56
brandiniwould I always have to netboot or just for the install?23:58
GrueMasterEssentially, there is a bug in the netboot install that fails to repartition the SD properly for normal booting.  But it is easy to work around.  See bug 806751 for info.23:58
ubot2Launchpad bug 806751 in debian-installer "Boot partition on SD is too small on omap/omap4" [Medium,New] https://launchpad.net/bugs/80675123:58
GrueMasterJust the install.23:58
GrueMasterThis will pull the latest packages.  Once the system is installed, you can just pull updates as normal.23:59

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