/srv/irclogs.ubuntu.com/2012/07/26/#ubuntu-arm.txt

infinitypbuckley: Looking at the specs, there's a fair chance that any work done by people on the tf201 might Just Work on the tf700, but hard to tell without hardware.00:04
infinityThat display sure looks nice, though.00:04
pbuckleycool ill check out whats going on with tf201 and see if i can use any of it as a jumping board00:11
pbuckleyyeh the display is beautiful00:11
pbuckleyloving the hardware.. android isn't cutting it though00:11
=== zyga-afk is now known as zyga
LetoThe2ndogra_: now tried the netboot installer several times an two brand new 16g sd cards. never finished, always failed during the "select and install software" step.11:55
ogra_weird, worked for three people during the past two days11:56
ogra_anything in dmesg or syslog ?11:56
LetoThe2ndogra_: no idea. will try the preinstalled server image now11:57
ogra_(syslog is on tty4 if you do a console install, on serial you need to check the file)11:57
LetoThe2ndogra_: i can look on one of the two cards in a few moment11:57
ogra_there is no preinstalled server image anymore11:57
ogra_its dead11:57
ogra_only a normal daily server11:57
LetoThe2ndogra_: i've got a copy of the 12.04 omap4hf already here.11:58
ogra_(all arm images are now identical to their x86 pendants, desktop -> live, server -> alternate with squashfs, netboot -> well, netboot)11:58
ogra_if you downloaded anything called preinstalled thats several weeks old and 99% positively uninstallable11:59
LetoThe2ndogra_: strange, my ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz here is the only thing that ever worked.11:59
ogra_oh, 12.04 ... sorry11:59
LetoThe2ndok, got one of the cards with failed netboot ready now.12:00
LetoThe2ndthe file in use was boot.img-serial.gz12:01
ogra_and you zcat'ed it as root to the SD12:01
ogra_?12:01
LetoThe2ndsure.12:01
LetoThe2ndogra_: you meant checkout the second partition on the sd card and there /var/log, right?12:03
ogra_looking at http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/  the serial image definitely has a partition12:03
LetoThe2ndi really have no idea whats broken. it never finished the installer successfully.12:04
LetoThe2ndhm, now preinstalled also fails with /dev/mmcblk0p2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.12:04
LetoThe2ndsomething is really going on here.12:05
ogra_booting ...12:05
LetoThe2nd*sigh* now giving today's boot.img_serial.gz one more try.12:06
LetoThe2ndlogged in as root, i do "zcat boot.img-serial.gz > /dev/sdd", then sync12:06
ogra_todays should definitely work12:06
LetoThe2ndi'm starting to believe in bad karma, broken feng shui or black magic.12:07
ogra_heh, probably12:07
ogra_hmm, my install doesnt seem to progress12:08
ogra_and i have a suspicion ...12:08
LetoThe2ndbooted fine, language and locale select fine, network config fine.12:08
ogra_oh, it moved now12:08
ogra_just took a while to do whatever it did12:08
LetoThe2ndarchive setup fine12:08
ogra_"Loading additiona componnents" now12:09
ogra_user setup done12:10
ogra_partitioning done (picked guided for the usb key)12:11
LetoThe2nduser setup done, no home encryption12:13
ogra_same here12:13
ogra_i largely just go with the defaults12:13
LetoThe2ndsame here.12:13
ogra_its installing the base system now12:13
LetoThe2ndguided partitioning, using MMC/SD card #1 (mmcblk0) - 16.1 GB SD SDC12:13
ogra_oh, not sure that will work, good luck :)12:14
ogra_bug 102542012:14
ubot2Launchpad bug 1025420 in ubiquity "AssertionError: Returned to partman/choose_partition with nothing to do" [High,New] https://launchpad.net/bugs/102542012:14
ogra_though thats a quantal desktop install12:14
ogra_but they both use the same backends12:15
ogra_he picked a pre-created partition on a live image though12:15
LetoThe2ndseems like it is stuck doing mkfs.ext4 on mmcblk0p212:23
ogra_give it some time ... big slow media etc12:26
LetoThe2ndtoo much time already.12:27
LetoThe2ndsd led also shows no activity.12:27
ogra_ah12:27
ogra_my LEDs are both solid green here12:27
ogra_i dont think we have the modules in d-i to use them12:27
LetoThe2ndjust to be sure, redownloaded qq's boot.img-serial.gz now and starting over again.12:29
ogra_well, installing to mmc will likely have the same issue there12:29
ogra_and i bet if you check the logs you would see a similar error as in the bug12:29
LetoThe2ndnow its "installing the base system"12:36
ogra_to MMC ?12:37
LetoThe2ndyep12:37
ogra_intresting12:37
LetoThe2ndnope, installing.12:37
ogra_did you keep the existing partition intact ?12:37
LetoThe2ndnope.12:37
ogra_heh12:37
ogra_oh, but you created a vfat in the beginning of the SD i hope12:37
ogra_it wont do that automatically12:38
LetoThe2ndit creates an ext2 in the beginning.12:38
ogra_thats /boot12:38
ogra_doesnt help12:38
ogra_you need a vaft to boot from12:38
LetoThe2ndah yes, now we're getting closer.12:38
ogra_if you dont have that partiton flash-kernel-installer will fall over12:39
ogra_it tries to mount -t vfat i think12:39
lilstevieLetoThe2nd: I have seen the unexpected inconsistency message every second boot on my tf201, no idea whats causing it but I wonder if there is something going on (booting with single and fscking the volume fixes it)12:39
LetoThe2ndso basically the automagic partitioning does not work, and one needs to take care that a vfat partition with, say 64mb or such is in place, right?12:39
ogra_automagic partition only works if you install to USB and leave the SD as "boot floppy/fake NAND"12:40
LetoThe2ndlilstevie: there's more going on here. :(12:40
lilsteviehm :/12:40
ogra_if you want a different setup you need to know what you are doing12:40
LetoThe2ndogra_: ok. will do that next then.12:40
ogra_the automatic creation of /boot is plainly silly12:41
LetoThe2ndhey i'ma tyrant god emperor. i do not have to know what to do. i have minions for that! *SCNR*12:41
ogra_but the partman code is scary .. i need to be in the right mood to get at it :P12:41
LetoThe2ndmassively drunk?12:41
ogra_for three days ... yeah12:42
LetoThe2ndminimum12:43
lilsteviedo you think being drunk is enough?12:44
LetoThe2ndresizing the terminal during serial netboot install is funny, talking ncurses-interface layout wise. :=12:45
ogra_after three days being drunk i dont think anything ;)12:45
ogra_thats the point ;)12:45
lilsteviemight need some form of hallucinogen to help there12:45
ogra_LetoThe2nd, screen or minicom ?12:45
LetoThe2ndlilstevie: please, not engelbert humperdinck records again!12:45
LetoThe2ndogra_: screen12:45
lilstevieLetoThe2nd: lol12:46
LetoThe2ndlilstevie: "having a bad trip"12:47
ogra_lol12:47
=== scottb` is now known as scottb
LetoThe2ndogra_: ok, now i've proceeded through the complete netinstaller and kept the first fat partition intact (use largest contiguous space). still does not boot - where to go hinting in the logs?14:58
ogra_pastebin it somewhere (sudo apt-get install pastebinit;; pastebinit /var/log/installer/syslog  ;))15:00
LetoThe2ndhttp://paste.ubuntu.com/1112040/15:00
ogra_hmm, looks all good15:01
ogra_how does it not boot ?15:02
ogra_what are the symptoms ?15:02
LetoThe2ndpower on -> led2 solid.15:02
ogra_notihing on serial ?15:02
LetoThe2ndexactly that15:02
ogra_thats pretty strange, MLO and u-boot wouldnt have changed15:02
LetoThe2ndcheck the vfat partition?15:02
ogra_yes15:03
LetoThe2ndhttp://paste.ubuntu.com/1112047/15:03
ogra_the installer only updates boot.scr, kernel and initrd15:03
ogra_right, the timestamps agree15:04
ogra_since MLO wasnt changed you should definitely at least see MLO messages on serial15:04
LetoThe2ndnegative.15:04
LetoThe2ndhttp://paste.ubuntu.com/1112052/15:05
ogra_hmm15:06
* ogra_ is a bit clueless what to say15:06
ogra_from a binary POV nothing should have changed for MLO15:07
ogra_its a fat, files dont move around or anything15:07
LetoThe2ndi told ya. bad karma, or broken feng shui.15:08
ogra_boot.img-serial1   *           1       61440       30720    c  W95 FAT32 (LBA)15:09
LetoThe2ndjust retried including starting the terminal over again. led2 solid, nothing else.15:09
ogra_hmm, the data has definitely changed15:09
ogra_i suspect parted rewrites the partition table15:10
ogra_since you created one15:10
LetoThe2ndok, so the guess would be - what?15:11
ogra_oyu should probably pre-create one and select to not format it in the partitioner ... then it shouldnt touch the part. table15:11
ogra_as a workaround15:11
ogra_and the bug would be against partman i guess15:11
LetoThe2ndthe fat partition? it basically *should* not get touched, as i nowhere told the installer to do so.15:11
ogra_no, not the partition, the partition table15:12
LetoThe2ndogra_: so zcat to sd, manually partition in the pc, then start all over?15:12
ogra_compare my fdisk output with yours for the vfat partition15:12
ogra_right15:13
ogra_my guess would be that this works15:13
ogra_seems the rom doesnt get along with the differently computed partition table15:13
ogra_or some such15:13
ogra_the image is originally created by fdisk ... while the installer uses partman15:14
ogra_(which handles CHS differently for example)15:14
LetoThe2ndok, lets see.15:14
LetoThe2ndok, when repartitioning with gparted after zcat'ing boots.15:16
ogra_my install to USB finished properly btw15:21
=== XorA|gone is now known as XorA
LetoThe2ndogra_: seems to boot now.16:06
LetoThe2nd\o/16:06
ogra_LetoThe2nd, awesome !16:53
janimomarvin24, did you commit yesterday's resume problem fix?17:21
janimomarvin24, I just checked your new branch compared to what we have in ubuntu, quite a diff. You seem to have added a lot of commits since Jun 8 when the previous package got branched off17:22
janimodid you add rt2000 driver fixes too besides strictly ac100 stuff? I want to make sure I am not mishandling git log here17:22
janimo:)17:22
marvin24janimo: use the l4t-r15-ac100 branch18:12
marvin24and yes, I updated some drivers we use18:12
marvin24rt2x00 and cleancache18:12
janimomarvin24, ok. thanks, I'll use that18:13
janimotoo bad gitorious is so slow18:13
janimoand sometimes disconnects18:13
marvin24yes, that's the "non-commercial" way ;-)18:15
marvin24janimo: I'm thinking about uboot ...18:16
marvin24what is the prefered way to boot the kernel (where to store, initrd, boot.scr?)18:16
janimopreferred way with uboot?18:17
janimothe cases I know have a separate partition for uboot conffiles and kernel+initrd18:17
marvin24I wonder if we should use the boot partitions for this18:20
janimoif it works I don't see why not.18:20
janimoit can be restored easily18:20
marvin24and what about an efi partition table?18:21
infinityWe usually store the kernel and initrd on the same flash/partition as u-boot.bin, but that's only for historical reasons, because u-boot used to suck so terribly hard at loading from ext* filesystems.18:21
infinityThere's really no reason we should continue that brain damage, IMO.18:21
marvin24I think it still only understands ext218:21
marvin24or ext4 without some features I guess18:22
infinityFor read-only, it's good enough on ext4, afaik.18:22
infinityAs for efi, I don't think u-boot speaks gpt at all yet.18:22
infinityBut that's fine if you load u-boot and the kernel externally, and let the kernel sort out partitions.18:23
marvin24I tried loading the kernel from my ext4 partition, but failed18:23
marvin24it could only see the root fs, but /boot gave garbage18:23
marvin24gpt is supported AFAIK18:23
marvin24chromeos also uses it and likely all new devices also18:24
* marvin24 goes and checks18:24
=== XorA is now known as XorA|gone
marvin24seems it should work as long as the storage is smaller than 2 TB ...18:25
ogra_marvin24, use vfat19:30
marvin24ogra_: never ...19:31
marvin24ext2 is fine I think19:31
marvin24for internal mmc19:31
ogra_vfat is the most stable filesystem in u-boot, as sad as it sounds ...19:31
marvin24even read only ext2 doesn't work?19:31
marvin24zzz19:31
ogra_but ext2 is usually ok too, i have seen it failing on arches where iot was supposed to work though19:32
ogra_(some mervell ones, but they used their own u-boot fork i think)19:32
ogra_*marvell19:32
marvin24yeah, we can use mainline :-)19:46
janimomarvin24, I rebased on your new branch and want to check with you on the config changes introduced as I see it here21:21
janimo+CONFIG_REGMAP=y and REGMAP_I2C=m are new21:21
janimoXVMALLOC ZCACHE and ZRAM got turned off21:21
janimoogra_, what keys to use to boot into recovery on the ac100?21:23
janimoogra_, ah you removed the 30 minutes text from the installer, nice :)22:22
* RoyK smacks his raspberry pi22:23
infinityjanimo: I think he should have taken an average timing of 5 installs, and ammended the message to "this process may take around 13.73 minutes, ish."22:25
janimoit is 5-6 minutes in my tests. Not sure if the USB stick or the internal mmc is the bottleneck22:26
janimobut its not slow at all22:26
infinityYeah, I know.  I just pulled 13.73 out of my ass. :P22:27
janimoI figured. Ithought 5 - as I experienced should be representative for all, but forgot the usb stick/sd card used has an influence22:28
janimoinfinity, I'll do some more work on mono tomorrow and in the weekend, today and yesterday I did not do anything.22:29

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