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

janimoogra_, you really should change that 30min estimation to 5min in the tarball unpacking message :)12:20
* janimo is installing today's ac100 image12:21
=== hrw is now known as hrw-
ogra_janimo, heh, ok12:22
=== hrw- is now known as hrw
janimogetting into X in the installer is noticably slower than in precise12:23
janimoat one poits it's at console login as if no X is gonna start12:23
ogra_the initrd somewhat takes longer12:23
ogra_ubiquity-dm was always slow though12:23
janimothis was after starting userland on root, not sure it was the initrd12:23
ogra_lightdm is fine12:23
janimoX seemed slow to paint12:24
ogra_well, the time it takes from booting to the fsck messages12:24
ogra_thats significantly longer ...12:24
ogra_and i fear on all arches12:24
janimogetting to fsck took longer a bit, but then another 2 min until X12:25
janimoinstaller enocuntered unrecoverable error :(12:25
* janimo checks logs12:25
janimoI wish there was a way of logging in/starting a shell to debug when this installer crashes12:26
janimo'a desktop session will be run so that you may investigate' but that too crashes12:27
ogra_wow, my install worked fine OOTB here12:30
ogra_which image did you use ? todays ?12:30
janimoogra_, today's yes12:30
ogra_weird12:35
ogra_no installer issues at all here12:35
ogra_the screen doesnt wake up properly after DPMS kicked in though12:36
ogra_(just noticed)12:36
=== awafaa_ is now known as awafaa
ogra_janimo, bug 1026577 ?12:48
ubot2Launchpad bug 1026577 in ubiquity "ubiquity crashed with TypeError in _execute_child(): Can't convert 'list' object to str implicitly" [Critical,Fix released] https://launchpad.net/bugs/102657712:48
ogra_even though i didnt see it here, it is obviously in these images)12:48
ogra_ah, no, ubi-partman12:49
ogra_ignore me12:49
janimoogra_, how hacky/hard would it be to provide a login shell before the install is complete? Ubuntu has a live desktop with ubuntu user where you can look around at will12:58
ogra_pretty hackish and hard12:58
ogra_(and really nothing i want to invest time in)12:59
janimoogra_, what caused the crash last time was trying to use wifi, let's see what happens this time when I skip that12:59
ogra_weird, worked all fine here12:59
janimoogra_, I agree then, if there is time to invest it should be towards unifying with the ubuntu live installer12:59
janimoI kept pushing connect and it did not13:00
ogra_the only issue i currently see is DPMS and plymouth13:00
janimoif I connected from the NM icon in the panel it worked13:00
janimobut then crashed13:00
ogra_weird13:00
ogra_the page doesnt automatically move forward after it connected13:00
janimooh now it went ahead did not even ask about wifi13:00
ogra_but the button changes13:00
marvin24ogra_: that's a tegrafb bug13:00
marvin24switch to X and back may help13:01
ogra_janimo, is that a freshly unpacked tarball or just the failed install rebooted13:01
janimoogra_, failed install rebooted13:01
ogra_if its the failed one, debconf definitely keeps your input13:01
ogra_so thats normal ...13:01
janimook, now it installs13:02
janimostill a bug but maybe it's in the logs somewhere13:02
ogra_marvin24, thx, it does indeed13:02
ogra_yeah13:02
ogra_might be HW though13:02
marvin24the nv guy seems to have given upon the console problems as it seem13:02
marvin24I got no reply from him for a few days13:02
* ogra_ just built an lzma compressed kernel ... curious if that will work13:03
ogra_marvin24, do you know of any source for a README or HOWTO what needs to be switched on in the kernel to make the binary driver work ?13:03
ogra_i suspect our kernel still doesnt have everything needed and would like to find out if its a config prob13:04
marvin24nv added a lot of options, yes13:05
marvin24I guess some tegra_defconfig should be sufficient13:05
ogra_is that documented anywhere ?13:05
ogra_hmm, k13:05
marvin24arch/arm/configs/...13:05
janimoogra_, maybe getting the kernel image from the L4T package and seeing what config it has enabled would help?13:05
ogra_janimo, i would, if i could :)13:05
marvin24is there a new l4t release?13:06
ogra_nvidia downloads are completely shut down since the hack13:06
ogra_marvin24, only R15 final13:06
janimomarvin24, L4T 15 final of a week or so ago13:06
ogra_i think you know about it13:06
janimolilstevie, said the actual download links still work, just the site frontend/logins is stopped13:06
ogra_we already have it in quantal, but x fails13:06
janimoit's just that we don't know the link URLs :)13:06
ogra_janimo, well, doesnt help if i want to lok for a readme13:07
ogra_i know the url13:07
janimoogra_, if there's a kernel image in the URL that may have configs already13:07
ogra_but the README contained doesnt talk about kernels at all13:07
janimowhich we can compare with ours13:07
lilstevieogra_: I have most of the documentation on hand13:07
lilsteviewhat is it about the kernel that you are interested in13:07
ogra_yes, it might be in the softfloat package13:07
lilstevieyeah13:08
lilstevieitttt is13:08
lilsteviebut I also have the documentation package that is just the docs13:08
ogra_lilstevie, on ac100 lightdm gots in a crash loop ... killing lightdm and running startx gets me a desktop but as soon as i click something it crashes13:08
ogra_*goes13:08
lilsteviequantal only?13:08
ogra_yep13:08
ogra_ABI1213:09
marvin24ogra_: so we are left with tegra_android_defconfig13:09
lilsteviehm13:09
ogra_marvin24, hmm, android doesnt use the xerver, do they ?13:09
lilsteviewell as far as the docs say as long as you are using l4t-r15-rc tag it should be fine13:09
marvin24no, but that's the only tegra2 config I found13:09
ogra_is our kernel at that tag ?13:10
lilstevieas of r15 they rolled the DC code to be a common base13:10
marvin24ogra_: no, we are further in the future ;-)13:11
marvin24rel-15r713:12
marvin24(branch)13:12
=== satellit-arm is now known as satellit
marvin24tegra-15r7.1-android-4.013:12
marvin24tag13:12
janimomarvin24, lilstevie actually with the last update we are at origin/l4t/l4t-r1513:13
janimoI rebased on what I learned was very latest and recommended with L4T drivers by nvidia13:14
marvin24janimo: so you stepped back?13:14
janimomarvin24, is that back??13:14
marvin24rel15r7 is 4 weeks old13:14
marvin24l4t/l4t-r15 is 7 weeks old13:14
janimoI hate nvidia tag/branch naming scheme13:14
marvin24http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git13:15
marvin24janimo: yes, this is very confusing13:15
janimomarvin24, so 15r7 is the one that goes with L4T final?13:15
marvin24I think they have different l4t and android branches13:15
lilsteviethey seem to maintain these things in parallel and not talk to eachother13:15
janimoI thought from the most recent discussion with lilstevie that the branch I used was13:15
lilsteviejanimo: technically no13:15
janimooh well13:15
marvin24l4t and android may have different branches, yes13:16
marvin24I used the android one because it seemed to me that it has more fixes13:16
janimoI tried avoiding the android branch for that reason13:16
janimoby that reason being - it goes with L4T13:16
janimono idea what the diffs are13:16
marvin24works fine here ...13:16
janimomarvin24, this branch of yours is newer that what we had last week in ubuntu?13:17
lilstevieI haven't seen the new hdmi stuff in the newer rel-15r7 code from android13:17
marvin24mine is based on tegra-15r7.1-android-4.013:17
marvin24while you seem to have used tegra-l4t-r15-rc13:18
janimoogra_, so ac100 install finished just as usual the first thing it does is crashes and invokes apport13:23
ogra_lol13:30
ogra_well, if you had a ubiquity crash there is a core dump in /var/crash on first start13:30
ogra_apport just picks that up13:30
ogra_WOW !!!!!!13:44
=== ahs3` is now known as ahs3
ogra_building the kernel lzma compressed saves 1MB !13:44
ogra_if that actually works, i could leave plymouth ion the initrd and drop all the ugly diversion hackery13:45
ogra_and it does !13:45
lilstevieogra_: I have been building my kernel lzma'd for a while now for size reasons13:46
ogra_lilstevie, right, it was never clear if the ac100 fastboot can handle that13:46
marvin24kernel decompresses the initrd13:47
ogra_i had mixed results in the past (though testing initrds, not kernels)13:47
lilsteviewell the kernel decompressor code does it13:47
marvin24fastboot only has the 2MB limit13:47
marvin24so you may have ran into this problem13:47
ogra_i had initrds failing with the old kernels when trying out other methods than gzip13:47
ogra_(2.6.29 etc)13:47
marvin24you need to select the decompressor in the kernel config13:48
ogra_for the initrd it just needs to be enabled13:48
marvin24older kernels didn't support so many (only gz and bz2 I think)13:48
ogra_and we always had lzma available as inbitrd compression method13:49
ogra_even in the kernels where iot didnt work13:49
ogra_lilstevie, do you use any special cmdline options on your tablets to work with the r15 driver ?13:50
ogra_vram or something alike13:50
lilstevieno more than usual13:52
ogra_hmm, k13:52
lilsteviehttp://paste.ubuntu.com/110009813:52
ogra_vmalloc=128M video=tegrafb13:52
ogra_do you use these normally ?13:52
lilsteviebut that is what the bootloader passes up13:53
lilstevieyes13:53
lilsteviealmost the entire commandline is from the bootloader13:53
ogra_i assume that doesnt fix the DPMS issues i see here "no_console_suspend=1" ...13:54
lilstevieDPMS issues?13:56
ogra_i need to switch to console after waking up from DPMS to get X back13:56
ogra_els i end up with a black screen13:57
lilstevieoh13:57
lilstevieno I don't have that13:57
lilsteviein fact switching to any tty means I don't come back :/13:58
ogra_ah13:58
ogra_janimo, oh, i get a crash massage as well, seems its plymouthd13:59
lilsteviebut I wake from DPMS fine13:59
janimoogra_, no coming back from suspend either here, can't seem to switch to any VT14:04
ogra_yep14:07
janimoogra_, my initial ubi crash was indeed due to failing to connect NM, which crashed before that14:16
janimoso this is clearly a bug unrelated to ac100 installer14:16
ogra_yeah14:18
janimounfortunately not enough info in the coredump14:19
* ogra_ is more intrested in the plyouth segfaults though14:19
ogra_though it seems that my diversions are so good that i cant properly revert them :(14:20
janimomarvin24, I was just about to tell you to skip moving the framebuffer as it causes the toshiba logo to scroll uglily up15:59
janimobut I see you have a change already there15:59
janimowould be good to skip it even if not using uboot for above aesthetic issue16:00
ogra_uglily eh ?16:00
ogra_:)16:00
janimowell, it does not scroll smoothly enough16:00
ogra_++ btw16:00
janimoeither we fix that or remove the scroll :)16:00
ogra_yeah, it shouldnt move at all16:00
ogra_it didnt in the past16:00
janimoit's a new change in 3.1 kernels only, needed for nvidia devboards apparently, but maybe not at all for us16:01
ogra_yeah16:01
LetoThe2ndhowdy! is there some "official" ubuntu arm kernel git tree? like what goes into the omap4 images?16:23
marvin24janimo: I don't know why they did it16:55
marvin24maybe to see the bootloader output16:55
marvin24I can disable it16:56
marvin24and re-enable when we have u-boot *and* some bl framebuffer addresss16:56
janimomarvin24, probably disabling it completely makes sense for us indeed16:58
=== zyga is now known as zyga-afk
* janimo is wondering how hard it is reflashing the ac100 to have the original layout where it had an SOS partition18:02
janimodebugging kernels would be easier that way18:02
infinityjanimo: Mine still has an SOS partition.  I guess you could clone mine?18:05
janimoinfinity, I even had the full factory dump of the ssd on my disk, but the process itself seemed convoluted18:05
janimoinvolving lots of nvflash calls18:06
infinityEverything involves lots of nvflash calls...18:06
janimoor hadn editing of some files18:06
janimoyes, but this with weired argas thatn usual18:06
janimoof course it may have just been the regular Ncommander fearmongering at work and all is easy-peasy18:06
* janimo just remembers that ad-ridden wiki where the process was confusingly written down18:08
janimoalso ramconsole is great, that prompted me to think of having it available easily on the ac10018:08
janimoinfinity, also I'd probably need the exact model I have for the factory images18:09
janimoinfinity, which is the easiest out of the archive solution for creating arm rootfs from c86? Anything better than deprecated rootstock?18:10
janimobut higher level than debootstrap18:10
janimoI don't seem to see an easy (as in linaro-media-create) tool for saying make an armhf root tarball corresponding to xubuntu-desktop optionally including other packages or kernel packages18:12
infinityjanimo: live-build, though we have no nice wrappers to make it brain-dead.18:12
janimoinfinity, oh does it do cross-builds too?18:13
infinityIt can.  I've not tested it much, but I know Linaro uses it.18:13
janimohmm, I should probably ask them what they use to create the l-m-c tarballs18:13
infinityThen again, you can just untar ubuntu-core, toss in /usr/bin/qemu-arm-static, and tailor it yourself quickly too. :P18:14
janimoyes, the qemu + taylor it yourself bits what I hate18:14
janimo:)18:14
janimoI wonder if I am such a niche person with uncommon needs when I keep complaining about our build tools in general :)18:15
infinityjanimo: Well, what you want can be done with live-build, I just don't find it "easy" to quickly tailor up something non-standard.18:18
infinityjanimo: But, then again, I don't think any tool is easier than "chroot in and make it how you want it".  Scripting that it only worth it if you do the same thing over and over.18:18
infinitys/it only/is only/18:18
janimoinfinity, well not very non-standard mind you, getting a xubuntu-desktop is quite a common use case I'd say18:18
infinityWell, then you also said "optionally including other packages". ;)18:19
infinityBut, anything that isn't a base image set is "custom" in my mind.18:19
janimoinfinity, well what I did today was a chroot indeed, via mk-sbuild just because that seems a nice enough wrapper that handles cross arch without me knowing what the hell is exactly going on behind the scenes18:19
janimothe whole debootstrap --foreign and 2 stages stuff is not something I want to learn about right now18:20
infinityThe only problem with mk-sbuild is that it does a few schroot-specific things to your chroot, plus adding some buildd cruft you don't need.18:20
infinityOtherwise, yeah, that works.18:20
infinity(But you could have started with core, which would save you from the --foreign business)18:20
janimoinfinity, well yes, extra packages is custom but well within what an apt call can do and common enough to warrant a tool. But yes, I am whining18:20
infinityI suppose I just don't see how "chroot foo/ apt-get -y install xubuntu-desktop^" is any harder than trying to convince a tool to do that for you.18:21
janimoas always, I would be content with good docs if tools are lacking, but somehow those too are non-existent, too dense or hard to find18:21
janimoinfinity, the cross-build part is where I am lost as I never did that18:22
janimoand having read of xapt, dpkg-cross and a few other tools that in my mind overlap in functionality I got non-the-wiser18:22
infinityThere's no cross involved in the above.18:23
infinityJust emulation.18:23
infinityWhich is also how live-build and higher level tools work.18:23
janimoinfinity, where does qemu-arm-static get involved?18:23
infinityAnd mk-sbuild, for that matter.18:23
infinityjanimo: You just copy it into the chroot to /usr/bin18:23
janimoyes, I saw ps whosing qemu while running mk-sbuild18:23
janimohmm, and then everything just gets ran by it?18:24
* janimo must try18:24
infinitySo, "untar core chroot/ && cp /usr/bin/qemu-arm-static chroot/usr/bin/ && chroot chroot su -"18:24
infinityjanimo: If you install qemu-user-static on the host, binfmt_misc gets magically configured to throw all your non-native binaries at emulators.18:25
infinityjanimo: So, as long as your current root has the emulator, you win.18:25
janimoyes, it has it, let's see18:25
infinity(since interpreters are found by path, whether it's an emulator, ld.so, /bin/sh, etc)18:25
janimoinfinity, ok, running now in the chroot. I needed to create and chroot into it as sudo since it would not untar /dev nodes otherwise18:28
infinityjanimo: Well, yes.  The above assumed you were root.18:29
=== k1l_ is now known as k1l

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