/srv/irclogs.ubuntu.com/2014/09/10/#ubuntu-arm.txt

infinitymjrosenb: There is no armel in trusty, so those errors are entirely expected.00:13
infinitymjrosenb: If that's an armel machine, there's no sane upgrade path.00:13
mjrosenbinfinity: no, that was done with multiarch00:13
mjrosenbback when multiarch seemed like the one true path.00:13
infinitymjrosenb: If it's an armhf machine with some armel multiarch action going on, you'll probably need to tear out 'dpkg -l *\:armel' before you start.00:13
infinitymjrosenb: multiarch is the one true path, just not for architectures we've dropped. :P00:14
infinity(I use it to great success with amd64/i386/armhf/arm64/ppc64el/powerpc....)00:14
mjrosenbinfinity: well, I just removed the line from the multiarch file00:15
infinityAlso, if that machine's running X, I hope you don't love PowerVR accelerated 3D drivers, cause PVR and TI dropped support for them long ago, and we no longer have binary blobs to ship.00:15
infinitySo, trusty has no binary drivers for Pandas.00:15
mjrosenbdo-release-upgrade complained about: https://gist.github.com/bd8a05405f3e4be74f1800:15
mjrosenbso as long as plymouth being broken doesn't mean I can't boot, I don't care.00:16
mjrosenbinfinity: does X still work with a frame buffer of sorts?00:16
infinityWell, "apt-get -f install" and see what it does, or is grumpy about.00:16
infinitymjrosenb: I believe X still works nominally via an FB, yeah, though unity (which is 3D-only in trusty) will really not.00:16
infinityOther desktops, like xfce, probably work alright.00:17
infinitySadly, our hands were tied on this.  It was either support a 3.5 kernel forever, or drop Panda 3D support.  We opted for the saner route. :/00:17
infinityYay, non-free drivers.00:17
mjrosenbinfinity: hooking a monitor up to the machine is like 90% a last-ditch-effort.00:18
infinityYeah, mine ocasionally gets a monitor hooked up, but only to look at the console.  There's no X.00:18
infinityMy Panda's pretty much a really crappy server.00:18
mjrosenbwell, when I installed ubuntu, X came with it.00:18
mjrosenbmine is a debugging/benchmarking machine.00:18
infinityAhh, yeah, if you used on the desktop images.00:19
infinitySo, you might be happier with a fresh install.00:19
mjrosenbalthough about half the time, I'm actually running inside of a debian chroot that is still softfp.00:19
infinityIf you have a USB hard drive hooked up to it, slapping in a 14.04 d-i image in the SD card and just installing fresh might give you a saner (and leaner) system.00:19
mjrosenbinfinity: if this goes pear shaped, that'll be my first step.00:20
* infinity nods.00:20
* mjrosenb is very tenacious about not re-installing.00:20
infinityYeah, I have a machine that's been upgraded since potato, I know the feeling.00:21
infinitypotato, woody, hoary, (many Ubuntu releases), trusty.00:21
infinityI think.00:21
* mjrosenb is somewhat sure that is from before I started using linux.00:21
mjrosenbinfinity: how did the debian->ubuntu switch go?00:21
infinityWent fine back in the warty/hoary days, since sidegrading was a goal when we were starting fresh.00:22
infinityThese days, I'm not sure I'd attempt it.00:22
mjrosenbat my last job, the sysadmin that set up my machine gave me a 32-bit non-pae install, and 8 gigs of ram.00:22
mjrosenbconvincing debian to do a 32->64 bit transition was /fun/00:23
infinityAlthough, on a simple text-only serverish install, wheezy->precise would probably upgrade fine.00:23
infinityI wouldn't dare try it on a desktop with a bunch of fancy installed, though.00:23
mjrosenbright so, no plymouth -> no fancy boot gui or no plymouth -> no boot?00:24
infinityDepends on the state of the no plymouth.00:24
infinityIf it's half broken, it could lead to no framebuffer consoles.00:24
mjrosenbfile /sbin/plymouthd00:24
mjrosenb/sbin/plymouthd: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x868f0842a830948469aa2a0650a9d8a492703912, stripped00:24
infinityIt *probably* should still boot and give you serial and SSH, however, unless it's really, really broken.00:24
mjrosenbmy first experience with plymouth was sub-par.00:25
infinityDId "apt-get -f install" not shed light on what was broken?00:25
mjrosenbto say the least.00:25
infinityplymouth is somewhat overengineered, IMO, but it does do one thing better than what we had before, which is multiplexing console input at early boot, so you can reliably do things like ask for luks passwords.00:26
infinityWhich is why we use it even on text consoles.00:26
mjrosenbmy first experience with it was on gentoo, since I was setting up an htpc, and i wanted a pretty boot.00:27
mjrosenband it always hung00:28
mjrosenbvery quickly.00:28
infinityYeah, I'm still not convinced it handles the simple job of "pretty boot" any better than the old attempts like usplash or splashy.00:28
infinityBut the input stuff is gold, if you can be bothered to wind through the maze of how the heck it works.00:28
mjrosenbturns out, openrc was attempting to read from its stdin, which it assumed was a tty (because why would it not be a tty)00:29
infinityDerp.00:29
infinityEveryone assumes everything's a TTY still, despite this being 2014.00:29
infinityIt's depressing how often I see that class of bug.00:29
mjrosenband tried to get it to get no blocking by twiddling the terminal bits.00:29
mjrosenbturns out, stdin was being provided by plymouth, so setting it to noblock did *nothing*00:30
mjrosenbthen it read from stdin, and plymouth didn't have anything for it00:30
infinityShockingly. :)00:30
mjrosenb(it read from stdin so the user could interrupt the boot process)00:31
mjrosenbwhich is normally a very useful featur.00:31
infinityOn the other hand, I expect this sort of learning experience from a build-your-own OS like Gentoo or Arch.00:31
infinityI'd be filing bugs like a crazy person if this happened to me on Ubuntu or Fedora.00:31
mjrosenbinfinity: true.  I'm mostly used to it, but that was the first time I ever had to modify init to find out what was failing.00:32
infinityAnd yes, the whole "press any key to interrupt" sort of thing needs to be handled by plymouth in a plymouth world.00:32
infinityWhich is both bad and good, depending on viewpoint.00:32
infinityBad, cause it's added complexity, good, cause you can have it listen literally EVERYWHERE for that key, and serialize input, and deal with it somewhat sanely.00:33
infinity(Well, more important than the listening everywhere is the notifying everywhere, so you get output on text consoles, serial, etc, telling you that a key might need to be pressed)00:34
infinityHandy for things like filesystem check progress (and cancellation), for instance.00:34
infinityBut, yeah.  Despite all the above, I'm not a big plymouth advocate.  I like what it provides, but I desperately want someone to NIH it with something less crap with similar features.00:35
infinitySadly, I suspect that someone will be Lennart, and it will have a taint to it that I don't appreciate.00:35
infinityThe taint likely being that it'll end up in the systemd binary because, hey, why shouldn't your init system have complicated framebuffer and font rendering code?00:36
mjrosenbis plymouth systemd-only yet?01:09
infinity*snort*01:11
mjrosenbinfinity: ok, very different question, do you know if gcc supports TCO on arm?01:18
mjrosenbalso, re: apt-get install -f, it did not shed any light on the issue01:25
mjrosenbhttps://gist.github.com/43ac4b97ba79207e216e01:25
mjrosenbbut I'm pretty ok with that.01:25
infinitymjrosenb: Well, it looks like it fixed it up, so that works.01:47
mjrosenbyup. and it booted to some form of gui.01:48
mjrosenbinfinity: gaaah :-(02:55
mjrosenbperf doesn't work.02:55
mjrosenbwait, what?02:56
mjrosenbwhy is my kernel still 3.2?02:56
mjrosenb3.2.0-1452-omap4 #72-Ubuntu SMP PREEMPT Tue Aug 19 20:46:59 UTC 201402:56
mjrosenbthis *is* a new kernel.02:56
infinitymjrosenb: Oh, cause we didn't forcefully upgrade people from the TI kernel, specifically because of the 3D issue.02:57
infinitymjrosenb: apt-get install linux-generic linux-tools-generic02:57
infinitymjrosenb: SHould get you the non-TI kernel and matching perf.02:57
mjrosenbI'm kind of surprised that a 3.2 kernel still works.02:59
=== Jack87|Away is now known as Jack87
mjrosenbinfinity: so you both display the warning that the upgrade may nuke the video, and don't upgrade the kernel so the video doesn't get nuked?03:02
infinitymjrosenb: There was a warning too?03:12
infinitymjrosenb: In that case, yes!03:12
infinitymjrosenb: It was a while ago since we took these decisions, it's all fuzzy now. :P03:12
mjrosenbinfinity: just covering all of your bases :-p03:13
mjrosenbat least, there was a warning when I tried to do it through the gui.03:13
mjrosenbI didn't check when I ran do-release-upgrade.03:13
infinitymjrosenb: I think the "don't bother upgrading" thing was based on an assumption that the intersection of people who use Pandas and people who care about security updates was probably lower than the intersection of people using them as media devices/etc and people who didn't care about security.03:14
infinitymjrosenb: That, and that people using them as build servers and such were typically nerdy enough to ask/search and get the right answer to get the new kernel.03:14
mjrosenboh, the new kernel is pulling in all sorts of new goodies.03:14
mjrosenbat least a new libc.03:15
infinityNew libc?  *blink*03:15
infinityThat should already have been there. :P03:15
infinitySounds more like your upgrade only half finished.03:15
infinityWhich is likely, given the error you got.03:15
infinityA dist-upgrade might not be a bad plan.03:15
mjrosenbProcessing triggers for libc-bin (2.19-0ubuntu6.3) ...03:15
mjrosenbmaybe.03:15
infinityOh, no.  Triggers != new package.03:16
infinityTriggers are, well, triggers.  That's ldconfig running, in the libc case.03:16
mjrosenbyeah, I saw libc scroll by, and spoke03:17
mjrosenbthen I looked at what it said.03:17
mjrosenbSetting up libunwind8 (1.1-2.2ubuntu3) ...03:17
mjrosenbthat's new though.03:17
infinityunwind would be a new -tools dep.03:17
infinityDon't recall what links it, but probably perf.03:17
infinityCause perf links in half the world.03:17
infinityRather bloated little binary for a kernel tool.03:17
mjrosenbthat being said.03:18
mjrosenbKernel /boot/vmlinuz-3.13.0-35-generic does not match your subarchitecture03:18
mjrosenbomap4, therefore not writing it to flash.03:18
mjrosenbdoes not sound good.03:18
infinityOh, Paolo, way to go.03:20
infinityI bet that's a chicken and egg issue he didn't notice with flash-kernel.03:20
infinityBasically, I assume it's looking for the DTB version of the board name, not the old version, and you don't get that until you boot with a DTB.03:20
infinityA hand-edit of /usr/share/flash-kernel/all.db (or whatever, tab complete a bit) to make the old OMAP4 entry match the new one (ie: make both Machie: types do the same thjings with the generic kernel, etc) should fix it.03:21
infinityThen if it gets overwritten in an upgrade, no big deal, cause you'll have the new Machine ID.03:21
infinityAmazed no one else has tripped on that, or cared enough to report it.03:22
mjrosenbinfinity: if you point me at a bug reporter, I can file it (5 months after 14.04 was released)03:24
infinityhttps://bugs.launchpad.net/ubuntu/+source/flash-kernel/+filebug03:25
mjrosenbinfinity: ... I copied that, then typed in bugzilla.mozilla.org03:27
mjrosenb"type the two words" it is a picture of a house, with 119 on it.03:28
=== chihchun_afk is now known as chihchun
mjrosenbok, really, what is it with recapcha giving me nothing but a single street address?03:29
mjrosenbevidently, I cannot file a bug because I cannot create an account03:30
mjrosenbsince I am not a human.03:30
=== chihchun is now known as chihchun_afk
mjrosenbinfinity: ok, I'm once again stumped.  all.db doesn't exist on the filesystem, and all directories belonging to flash-kernel don't seem to have anything that looks like a database in it03:45
mjrosenb                                if [ `expr "$kfile" : '.*linaro.*-omap$'` -ne 0 ]; then04:13
mjrosenb                                        check_subarch "omap"04:13
mjrosenb                                else04:13
mjrosenb                                        check_subarch "omap4"04:13
mjrosenblooks like it is /explicitly/ checking against omap and omap4.04:13
* mjrosenb wonders where these people infinity said would be coming on line in a bit :-p05:04
mjrosenbugh. looks like I need to recover my pandaboard.05:05
mjrosenbinfinity mentioned that upgrading to 14.04 if ubuntu is installed on a usb disk should be pretty easy05:07
mjrosenbblast, as soon as I get to Starting kernel ...05:40
mjrosenbit drops the serial connection05:41
* mjrosenb guesses he needs to configure the kernel to spew to serial05:41
=== chihchun_afk is now known as chihchun
mjrosenbbaudrate=11520005:56
mjrosenbthat is already in the kernel arguments... that does not bode well.05:56
mjrosenberr, no.05:56
mjrosenbno, bootargs is controlling uboot.05:56
mjrosenbah, I don't know how printenv works.05:59
mjrosenbthete is no bootargs.06:00
mjrosenbthat sounds bad.06:00
=== doko_ is now known as doko
mjrosenbanyone up/home yet?07:41
=== lag- is now known as lag
=== lag is now known as Guest49164
=== Guest49164 is now known as lag
mjrosenbis 14.04 supposed to use uEnv.txt on the pandaboard?10:35
mjrosenbargh, I really wish I knew why this is failing with an unhelpful error message.11:07
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mjrosenbinfinity: you back yet?21:41
mjrosenb(I think you're the only other person I've seen talk in here since I joined.)21:41
infinitymjrosenb: I'm aroundish, but pretty busy.21:59
=== cmagina_ is now known as cmagina

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