**** BEGIN LOGGING AT Mon Dec 17 02:59:58 2012 Dec 17 07:55:16 good morning Dec 17 08:24:11 morning. Dec 17 08:24:13 http://pastebin.mozilla.org/2001455 Dec 17 08:24:39 that is from my pandaboard, I just tried to upgrade a fresh install to 12.10, and got a black screen. Dec 17 08:25:23 I also got this in dmesg Dec 17 08:25:24 [ 7.703308] init: Failed to spawn hybrid-gfx main process: unable to execute: No such file or directory Dec 17 08:31:27 ok, I have the sd card plugged into my laptop, and I want to enable the ssh server... is there an easy way to do this? Dec 17 09:01:44 mjrosenb: You're missing libdrm-omap1, looks like. Dec 17 09:02:14 mjrosenb: Also, it's not so much "enabling" the ssh server as installing the package, which you'd need to do either on an ARM machine, or with emulation. Dec 17 09:02:57 qemu-system-arm does not have an omap4 option from what i can tell Dec 17 09:03:11 i'm actually kind of surprised there isn't a pandaboard option Dec 17 09:03:16 I'm not. Dec 17 09:04:00 Emulating a Panda isn't something qemu upstream would care to do, and TI didn't see the value in writing a board-specific emulator (most vendors don't) Dec 17 09:04:08 Anyhow, I didn't mean full system emulation. Dec 17 09:04:39 qemu-user-static would be fine. Dec 17 09:05:57 Mount your SD card to somewhere (we'll say /mnt), apt-get install qemu-user-static && cp /usr/bin/qemu-arm-static /mnt/usr/bin && chroot /mnt su - Dec 17 09:06:10 Presto, you're in your ARM system as a chroot. Dec 17 09:06:30 apt-get install ssh libdrm-omap1 Dec 17 09:07:33 apt-get install pvr-omap4 # if you wanted some non-free 3D action. Dec 17 09:08:01 Which is probably necessary, if you're running Ubuntu/Unity. Dec 17 09:11:46 for whatever reason, ssh seems to already be installed Dec 17 09:11:50 but it isn't starting Dec 17 09:11:57 and it isn't bringing up the network Dec 17 10:10:35 infinity: can you share /var/log/Xorg.0.log from panda with opengles support? Dec 17 10:12:39 mjrosenb: If your network is wireless-only, that could explain it. Dec 17 10:12:55 hrw: My Panda has no X right now. Dec 17 10:14:33 infinity: nope, eth0 is the pandaboard's onboard connection Dec 17 10:15:06 mjrosenb: Oh, curious. Maybe it hates you/ Dec 17 10:16:22 infinity: ok Dec 17 11:25:09 sweet, I can ssh into my pandaboard again Dec 17 12:26:09 ok, I know I did this on my last install; what do I need to run in order to get a non-hf library installed? Dec 17 12:27:07 or better yet, what on earth is it called? Dec 17 12:27:11 i'm searching for multilib Dec 17 12:27:25 but that is giving man irrelevant results Dec 17 12:45:41 mjrosenb: Depends on which non-hf library you need. Dec 17 12:46:16 mjrosenb: If it's just libc6 (and a gcc that can build sf binaries), there are multilib versions. Dec 17 12:46:33 looks like the answer was Dec 17 12:46:35 dpkg --add-architecture armel Dec 17 12:46:52 which is surprisingly hard to find via google Dec 17 12:46:56 mjrosenb: If it's more comprehensive, you want multiarch (dpkg --add-architecture armel && apt-get update && apt-get install libfoo1:armel) Dec 17 12:47:19 That said, I wouldn't rely on armhf/armel multiarch going forward, since we've dropped armel in raring... Dec 17 12:47:35 What are you doing that *needs* soft-float libraries? Dec 17 12:47:39 y'all are making my life really hard, you know that? Dec 17 12:48:08 i'm testing fennec, which is supposed to run on android which is armel. Dec 17 12:48:24 .. unless it's newer Android, then it's not. :P Dec 17 12:49:05 how does that work from a packages' point of view? Dec 17 12:49:09 That said, fennec could be rebuilt... Dec 17 12:49:25 do they need to upload two .apks, one for armel, one for armhf? Dec 17 12:49:45 I have no idea how Android is handling the sf/hf transition. Dec 17 12:50:04 Then again, most apps aren't C binaries, so the point is moot for them. Dec 17 12:50:08 you know what version they made the transition in? Dec 17 12:50:53 It could also be that this is all a bit different with bionic, I have no idea. Dec 17 12:51:04 I just know they were doing the transition (or maybe had done so). Dec 17 12:51:09 Does anyone know if Network Manager regularely scans for a list of available networks in precise? We're having some problems with communication locking up for 2-3 seconds and wondering if this could be related to nm scanning the networks Dec 17 12:51:59 mjrosenb: It's possible they haven't actually made the switch yet for bionic-based systems (ie: Android), though they definitely did for ChromeOS. Dec 17 12:52:02 Confusing world. Dec 17 12:52:24 mjrosenb: Still, for an open-source project like fennec, surely you'd want to build it for Ubuntu to run it on Ubuntu anyway? Dec 17 12:52:42 infinity: we don't build for ubuntu, ubuntu does :-p Dec 17 12:52:43 mjrosenb: Since an Android build wants bionic, which means running shims and other horrors. Dec 17 12:53:07 s/Ubuntu/glibc/? :P Dec 17 12:53:11 bionic? Dec 17 12:53:13 * mjrosenb googles Dec 17 12:53:19 bionic is Android's libc. Dec 17 12:53:25 It's not even remotely compatible with glibc. Dec 17 12:53:43 FUN. Dec 17 12:53:51 There is a project that produces a disturbing translation shim that allows glibc systems to run bionic binaries with an LD_PRELOAD. Dec 17 12:53:54 It's not pleasant. Dec 17 12:54:04 I don't recommend it for a project you actually have the source to. Dec 17 12:54:24 we already have NSPR Dec 17 12:55:17 mjrosenb: Err, NSPR doens't give you portability at runtime, but at build-time. Dec 17 12:55:43 A bionic-using nspr won't do you a lick of good on a glibc system. Dec 17 12:56:11 yeah, but I don't think it has ever been our goal to have a single executable that runs on all arches. Dec 17 12:56:22 (bionic is vaguely BSD-derived, think about how well it wouldn't work to take a binary from FreeBSD and run it on Linux, even if you had the kernel syscalls emulated) Dec 17 12:56:38 No, it shouldn't be your goal to run a binary on multiple arches. I agree. Dec 17 12:56:44 Hence why I'm suggesting you might just want to rebuild it. Dec 17 12:56:58 Cause libc6:armel still won't be bionic, so multiarch isn't going to help you here. Dec 17 12:57:33 http://pastebin.mozilla.org/2001793 Dec 17 12:58:13 ahh. yes, but I like testing in an environment that is as close to what we'll be seeing in a shipping product as possible Dec 17 12:58:23 the js engine doesn't really have to deal with libc that much Dec 17 12:58:34 but it does need to deal with the likes of math.sin math.atan2 Dec 17 12:58:44 The wrapper lies, it's linux-ti-omap4-tools-3.5.0-215 Dec 17 12:58:49 where the armel/armhf distinction comes into play Dec 17 12:59:14 Oh, wait. You're doing this to test for Android? Dec 17 12:59:24 yup. Dec 17 12:59:25 Then you should build an Android chroot. Dec 17 12:59:38 that sounds neat. Dec 17 12:59:42 Testing against glibc won't really tell you anything. Dec 17 12:59:56 as previously stated, I have basically 0 interaction with glibc. Dec 17 13:00:19 but I *am* intrigued by the concept of an android chroot. Dec 17 13:00:24 Well, you must have some, or would wouldn't care about ABI. Dec 17 13:00:41 Since if you were talking to the kernel directly, it's meaningless. Dec 17 13:00:53 Error: sys_perf_event_open() syscall returned with 19 (No such device). /bin/dmesg may provide additional information. Dec 17 13:00:57 :( Dec 17 13:01:14 I didn't say perf would work, just pointed at the package that ships it! Dec 17 13:01:29 (Sorry, I haven't slept in a while, that's about as helpful as I can be right now) Dec 17 13:01:34 as previously stated, there are math functions that are called that I need to be able to call correctly. Dec 17 13:01:41 I should probably nap instead of being flip on IRC. Dec 17 13:01:52 not a problem, I may have to build my own kernel, wouldn't be the first time Dec 17 13:02:08 Well, you'll also want an Android kernel for your test environment, so yeah. Dec 17 13:02:22 Though, Linaro provides Panda Android builds that might be up your alley. Dec 17 13:02:45 well, I like using linux because it has a sane debugging strategy Dec 17 13:03:25 the disturbing shim thing is called libhybris: https://github.com/stskeeps/libhybris Dec 17 13:03:47 currently does libgles and stuff, but should be adabtible for any libraries Dec 17 13:05:21 right now, getting perf to work is a higher priority. Dec 17 13:46:04 was the source for linux-image-3.5.0-215-omap4 provided by linaro? Dec 17 15:16:09 Morning folks sfeole are you around? Dec 17 15:16:34 Jef91: i am Dec 17 15:17:19 sfeole: I was told you are the one to speak to about finding current docs on how the Ubuntu fastboot image is created for flashing to the nexus 7 Dec 17 15:21:09 Jef91: hm, give me a few Dec 17 15:21:39 Sure sfeole - I'll be lurking for the better part of today. Dec 17 17:53:28 huh, was CONFIG_PERF_COUNTERS removed from the kernel? Dec 17 18:47:37 unrelatedly, is there a way to un-brick a chromebook that does not involve re-initializing all of chrome's state? Dec 17 19:57:16 ok, I have built my own kernel, but I am not sure how to get a bootable uimage out of it Dec 17 19:58:04 oh, make uImage, evidently Dec 17 20:03:15 mjrosenb: https://code.launchpad.net/~ubuntu-nexus7/ubuntu-nexus7/build_script Dec 17 20:03:20 look at the abootimg bits Dec 17 20:04:05 line 71 Dec 17 20:06:14 mjrosenb: http://paste.ubuntu.com/1445967/ Dec 17 20:06:51 make uimage sounds much easier Dec 17 20:07:20 mjrosenb: likely, but just givin' ya whats easiest for me :) Dec 17 20:07:34 well, thank you for that Dec 17 20:08:10 hopefully, i'll remember that if i'm ever in a situation where that is more aprpriate than make uImage. Dec 17 20:19:13 tar -xzvf $TARBALL $packaged_path/initrd.img-$kver $packaged_path/vmlinuz-$kver Dec 17 20:19:22 that makes it look like the initrd is a tarball? Dec 17 20:19:28 oh no Dec 17 20:19:40 i am a fool $TARBALL is a tarball. it has two files in it Dec 17 20:20:31 vanhoof: you happen to know anything about perf? Dec 17 20:28:25 did password/user in raring for nexus 7 changed? It says "Login incorrect" when I try ubuntu/ubuntu Dec 17 20:31:14 Tassadar: should boot to oem-config Dec 17 20:31:21 Tassadar: choose your own user/pass Dec 17 20:31:41 yeah, it does not start GUI, it just stays in tty1, so I am trying to find out what is wrong Dec 17 20:32:01 first boot is a bit slow Dec 17 20:32:23 yeah, I know, but not 5-10 minutes slow Dec 17 20:32:25 i sometimes see a few sec delay from tty1 to oem-config on vt7 (i assume) Dec 17 20:32:37 yeah not that slow Dec 17 20:32:43 oem/oem should get you in Dec 17 20:32:49 but it should launch oem-config Dec 17 20:34:32 well, it does not, so I am trying to log in to tty1 to find what went wrong Dec 17 20:34:53 (it might not be [probably is not] ubuntu issue though) Dec 17 20:39:14 well, I guess I'll just chroot into it from recovery and change the password/create my own user Dec 17 20:42:08 ok, different approach, does anyone have perf working on an omap4 running 12.10? Dec 17 20:44:21 oh, yeah, I guess that read-only root is not such a great idea :) Dec 17 20:46:16 relatedly, I followed the directions at http://seabright.co.nz/2011/03/29/building-the-ubuntu-pandaboard-kernel/ -- how do I build an initrd now? Dec 17 20:54:28 Tassadar: how did you flash the device Dec 17 20:55:16 Tassadar: make sure cmdline is tty0 if you came from quantal Dec 17 20:55:19 it's okay now Dec 17 20:55:23 ah ok Dec 17 20:55:33 onboard still does not show up in oem-config for me, though Dec 17 20:55:48 fresh flash? Dec 17 20:55:58 yeah, basically Dec 17 20:55:59 i flashed friday on 8gb model, no issues w/ onboard Dec 17 20:58:00 mjrosenb: played w/ perf on x86 not on arm, but should be in linux-tools binary wise Dec 17 20:58:26 linux-tools-nexus7 iirc Dec 17 21:09:08 all the ext4 partitions on my nexus7 has the same UUID, what the hell Oo Dec 17 21:09:24 vanhoof: http://pastebin.mozilla.org/2002447 Dec 17 21:10:10 mjrosenb: looks like we need Dec 17 21:10:12 Fatal: No CONFIG_PERF_EVENTS=y kernel support configured? Dec 17 21:10:37 mjrosenb: mind opening a bug against lp/ubuntu-nexus7 ? Dec 17 21:12:49 vanhoof: this is on a pandaboard. Dec 17 21:13:21 and; Dec 17 21:13:22 mrosenberg@panda:~$ grep CONFIG_PERF_EVENTS /boot/config-3.5.0-215-omap4 Dec 17 21:13:23 CONFIG_PERF_EVENTS=y Dec 17 21:14:07 so unless /boot/config-`uname -r` is out of sync with the kernel, I should have that. Dec 17 21:14:54 ah i thought you were talking n7 Dec 17 21:15:00 will have to look at omap4 Dec 17 21:15:53 I realize that the perf event system is basically totally hosed on omap4 Dec 17 21:16:15 but I just need the timer-based perf working Dec 17 21:27:54 vanhoof: could you please check which version of onboard is installed on your n7? Dec 17 21:28:22 so nobody uses a pandaboard in here/ Dec 17 21:29:44 lol Dec 17 21:29:51 How do i install the nightlies? Dec 17 21:30:05 i downloaded them in .gz format or whatever and every tool i have to open a .gz shows a .raw file Dec 17 21:30:26 i dunno how to get an .img from them Dec 17 21:43:27 SailorMoon: https://launchpad.net/~ubuntu-nexus7/+archive/ubuntu-nexus7-installer Dec 17 21:43:41 Tassadar: gimme a sec, charging atm Dec 17 21:45:11 it looks like something crashes, because a while after I tap into the textfield, the windows lose the decorations (the title bar) Dec 17 21:47:13 Tassadar: want an older nightly? Dec 17 21:48:11 hmm, yeah, I suppose I could try that Dec 17 21:48:21 i need to let this guy charge up for a bit Dec 17 21:48:58 speaking of which, does the upgrade process know how to upgrade the kernel on a chromebook Dec 17 21:49:15 mjrosenb: doubtful Dec 17 21:49:22 at least I dont think so Dec 17 21:49:25 and if not, I assume that I need to do it myself Dec 17 21:49:28 i could be wrong Dec 17 22:03:27 is there a time of the week when people knowledgable about the pandaboard or chromebook would be online/ Dec 17 22:03:40 mjrosenb: january 2nd? ;) Dec 17 22:03:57 mjrosenb: not sure, no cb experience here myself Dec 17 22:07:12 Tassadar: http://people.canonical.com/~vanhoof/tassadar/UbuntuNexus7.tar.gz Dec 17 22:07:22 Tassadar: from thursday'ish last week Dec 17 22:07:39 thanks Dec 17 22:32:47 nah, does the exact same thing :( Dec 17 22:32:55 :\ Dec 17 22:33:07 i get through just fine Dec 17 22:33:10 * vanhoof wtfs Dec 17 22:33:37 it is probably my fault, I am dual-booting it and probably got something wrong Dec 17 22:36:22 seems kinda weird though, it is doing exactly the same thing as it did when it didn't work for anyone Dec 17 23:01:08 are there any nexus 7 ubuntu forums? Dec 17 23:19:41 checking whether the chosen combination of compiler flags (-march=armv6 -mfpu=vfp -mfloat-abi=hard) works... configure: error: no Dec 17 23:19:54 :-/ Dec 17 23:26:00 mjrosenb: Do I want to know why you're targetting v6? Dec 17 23:28:08 infinity: because i have a raspberry pi. Dec 17 23:28:12 (Though, that combination should work, in theory, it's what Raspbian uses) Dec 17 23:28:25 I'd assume the configure test itself is doing something silly. Dec 17 23:28:49 Like possibly tacking on a -mfpu=neon or something? :P Dec 17 23:29:14 configure:5745:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI Dec 17 23:30:20 mjrosenb: Give it a -marm Dec 17 23:32:02 i already tried that, it produced executables that don't run :/ Dec 17 23:32:07 mjrosenb: Though, if you're cross-compiling from Ubuntu, you may find that you'll also end up compiling in static bits from our toolchain, which are v7/thumb-2, and it will all fail to run on the Pi anyway. Dec 17 23:32:14 mjrosenb: Jinx. :P Dec 17 23:33:12 ugh.. -march=armv6 should mean 'don't do that' Dec 17 23:33:37 "Don't link the static bits that you need to run the binary" is a tall order. Dec 17 23:33:58 libgcc_s, crt*.o, etc. Dec 17 23:34:12 i mean, how does a gcc that can target both x86 and x64 handle that? Dec 17 23:34:13 Well, crt*.o should be pure ARMv5 or so, but you get my point. Dec 17 23:34:31 biarch GCC relies on having two copies of everything. Dec 17 23:34:37 As does our biarch armel/armhf GCC. Dec 17 23:34:46 But ours was never designed to target older CPUs. Dec 17 23:34:53 Just as a biarch Ubuntu x86 GCC can Dec 17 23:34:59 't actually build binaries for i386. Dec 17 23:35:23 Well, probably not. Again, it depends on if any of the static bits use [456]86 instructions. Dec 17 23:35:32 Which, in the ARM case, they do use v7 bits. Dec 17 23:36:04 this is a toolchain acquired from emdebian from well before ubuntu properly supported cross compilation Dec 17 23:36:39 An armhf one though, right? Dec 17 23:36:50 Debian's armhf has always been armv7-a/thumb-2 Dec 17 23:37:24 armel, with -mfloat-abi=hard Dec 17 23:37:27 As has nearly everyone's, to be fair. Raspbian is one of the only strange attempts to do armhf on v6. Dec 17 23:37:48 mjrosenb: Err, what? "armel with -mfloat-abi=hard" *is* armhf. Dec 17 23:38:04 what is the difference/ Dec 17 23:38:12 *difference? Dec 17 23:38:31 Or do you mean this is an ancient compiler that was only armel? If so, you're producing binaries that don't run for other reasons. Dec 17 23:38:58 Either because the static bits aren't armhf or because you're cooking in the wrong path to the PI. Dec 17 23:39:08 What's the failure mode when you try to run the binaries? Dec 17 23:39:10 this compiler has been producing binaries that have worked on armv7el and armv7hf systems for quite some time. Dec 17 23:39:23 sigill Dec 17 23:39:32 looks like it is getting confused about thumb mode. Dec 17 23:39:47 Or that it's compiling in some v7 bits. Dec 17 23:39:51 oh hey Dec 17 23:39:59 i am using the armhf compiler Dec 17 23:40:03 This is a well-known problem among Pi people trying to cross from Ubuntu. Dec 17 23:40:18 sounds reasonable Dec 17 23:40:44 You can manually copy various static bits like libgcc from your Raspbian system to your cross environment. Dec 17 23:41:55 There's also a Raspbian cross toolchain. Dec 17 23:42:02 That targets the right thing by default. Dec 17 23:42:52 yeah, as hacked as this system is, i don't like having programs installed that aren't managed by my package manager Dec 17 23:43:08 i'll have to find some way of making a .deb out of the cross toolchain Dec 17 23:58:15 does anyone here have any input on the Nexus 7 install wiki page ? Dec 18 00:08:19 okay, my cmdline was missing these 3 parameters: "access=m2 quiet splash" Dec 18 00:08:27 I added them, and onboard works like a charm Dec 18 00:08:36 that is...unexpected Oo Dec 18 00:10:48 something still crashes when I hide onboard and show it again, window's decorations disappear and input from onboard no longer gets into textfields Dec 18 01:51:32 sfeole you still around? Dec 18 01:59:12 Jef91: the rootfs.img is derived from live build Dec 18 01:59:16 tar/plain format Dec 18 01:59:28 you can download it, mount it loopback and take a look Dec 18 01:59:53 vanhoof do you know what edits are made to the file system to allow it to be setup properly from the rootfs.tar.gz on the nexus 7? Dec 18 02:00:01 http://www.mattfischer.com/blog/?p=285 Dec 18 02:00:33 its just a quantal or raring build w/ a seed trimming out the fat, nothing fancy Dec 18 02:01:53 So there is nothing extra added to the file system to allow it to boot on the nexus 7? Dec 18 02:02:18 Jef91: checkout ubuntu-defaults-nexus7 package in the ppa Dec 18 02:02:27 anything magic is handled there Dec 18 02:02:41 but those are largely quantal specific, where the image was released at UDS Dec 18 02:02:47 not for daily raring builds Dec 18 02:04:18 Jef91: you've seen the build.sh script, yeah? Dec 18 02:04:42 yea looking at it now Dec 18 02:11:44 where the is ppa for that pacakge again vanhoof? Dec 18 02:12:57 nvm found it **** ENDING LOGGING AT Tue Dec 18 02:59:58 2012